@tryvital/vital-node 3.1.53 → 3.1.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/resources/activity/client/Client.js +2 -2
- package/api/resources/body/client/Client.js +2 -2
- package/api/resources/devices/client/Client.js +1 -1
- package/api/resources/insurance/client/Client.js +2 -2
- package/api/resources/insurance/client/requests/PayorSearchRequest.d.ts +0 -1
- package/api/resources/introspect/client/Client.js +2 -2
- package/api/resources/labTests/client/Client.js +27 -27
- package/api/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +2 -0
- package/api/resources/labTests/client/requests/LabTestsGetAreaInfoRequest.d.ts +1 -1
- package/api/resources/link/client/Client.js +14 -14
- package/api/resources/meal/client/Client.js +1 -1
- package/api/resources/menstrualCycle/client/Client.js +1 -1
- package/api/resources/profile/client/Client.js +2 -2
- package/api/resources/providers/client/Client.js +1 -1
- package/api/resources/sleep/client/Client.js +4 -4
- package/api/resources/team/client/Client.js +7 -7
- package/api/resources/testkit/client/Client.js +2 -2
- package/api/resources/user/client/Client.d.ts +61 -0
- package/api/resources/user/client/Client.js +271 -12
- package/api/resources/user/client/requests/CreateInsuranceRequest.d.ts +35 -0
- package/api/resources/user/client/requests/UserInfoCreateRequest.d.ts +31 -0
- package/api/resources/user/client/requests/index.d.ts +2 -0
- package/api/resources/vitals/client/Client.js +52 -52
- package/api/resources/workouts/client/Client.js +3 -3
- package/api/types/Billing.d.ts +9 -0
- package/api/types/Billing.js +11 -0
- package/api/types/ClientFacingInsurance.d.ts +13 -0
- package/api/types/ClientFacingInsurance.js +5 -0
- package/api/types/ClientFacingLabs.d.ts +9 -0
- package/api/types/ClientFacingLabs.js +11 -0
- package/api/types/ClientFacingOrder.d.ts +2 -0
- package/api/types/ClientFacingPayorSearchResponse.d.ts +2 -0
- package/api/types/ClientFacingResource.d.ts +5 -1
- package/api/types/ClientFacingResource.js +4 -0
- package/api/types/CompanyDetails.d.ts +8 -0
- package/api/types/CompanyDetails.js +5 -0
- package/api/types/HealthInsuranceCreateRequest.d.ts +1 -1
- package/api/types/LinkTokenExchangeResponse.d.ts +3 -1
- package/api/types/PersonDetailsOutput.d.ts +13 -0
- package/api/types/PersonDetailsOutput.js +5 -0
- package/api/types/PscAreaInfo.d.ts +1 -0
- package/api/types/ResponsibleRelationship.d.ts +2 -2
- package/api/types/ResponsibleRelationship.js +1 -1
- package/api/types/TimeseriesResource.d.ts +5 -1
- package/api/types/TimeseriesResource.js +4 -0
- package/api/types/UserInfo.d.ts +13 -0
- package/api/types/UserInfo.js +5 -0
- package/api/types/{PersonDetails.d.ts → VitalCoreSchemasDbSchemasLabTestHealthInsurancePersonDetails.d.ts} +1 -1
- package/api/types/VitalCoreSchemasDbSchemasLabTestHealthInsurancePersonDetails.js +5 -0
- package/api/types/VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails.d.ts +13 -0
- package/api/types/VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails.js +5 -0
- package/api/types/index.d.ts +8 -1
- package/api/types/index.js +8 -1
- 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/insurance/client/Client.js +2 -2
- package/dist/api/resources/insurance/client/requests/PayorSearchRequest.d.ts +0 -1
- package/dist/api/resources/introspect/client/Client.js +2 -2
- package/dist/api/resources/labTests/client/Client.js +27 -27
- package/dist/api/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +2 -0
- package/dist/api/resources/labTests/client/requests/LabTestsGetAreaInfoRequest.d.ts +1 -1
- package/dist/api/resources/link/client/Client.js +14 -14
- package/dist/api/resources/meal/client/Client.js +1 -1
- package/dist/api/resources/menstrualCycle/client/Client.js +1 -1
- package/dist/api/resources/profile/client/Client.js +2 -2
- package/dist/api/resources/providers/client/Client.js +1 -1
- package/dist/api/resources/sleep/client/Client.js +4 -4
- package/dist/api/resources/team/client/Client.js +7 -7
- package/dist/api/resources/testkit/client/Client.js +2 -2
- package/dist/api/resources/user/client/Client.d.ts +61 -0
- package/dist/api/resources/user/client/Client.js +271 -12
- package/dist/api/resources/user/client/requests/CreateInsuranceRequest.d.ts +35 -0
- package/dist/api/resources/user/client/requests/CreateInsuranceRequest.js +5 -0
- package/dist/api/resources/user/client/requests/UserInfoCreateRequest.d.ts +31 -0
- package/dist/api/resources/user/client/requests/UserInfoCreateRequest.js +5 -0
- package/dist/api/resources/user/client/requests/index.d.ts +2 -0
- package/dist/api/resources/vitals/client/Client.js +52 -52
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/api/types/Billing.d.ts +9 -0
- package/dist/api/types/Billing.js +11 -0
- package/dist/api/types/ClientFacingInsurance.d.ts +13 -0
- package/dist/api/types/ClientFacingInsurance.js +5 -0
- package/dist/api/types/ClientFacingLabs.d.ts +9 -0
- package/dist/api/types/ClientFacingLabs.js +11 -0
- package/dist/api/types/ClientFacingOrder.d.ts +2 -0
- package/dist/api/types/ClientFacingPayorSearchResponse.d.ts +2 -0
- package/dist/api/types/ClientFacingResource.d.ts +5 -1
- package/dist/api/types/ClientFacingResource.js +4 -0
- package/dist/api/types/CompanyDetails.d.ts +8 -0
- package/dist/api/types/CompanyDetails.js +5 -0
- package/dist/api/types/HealthInsuranceCreateRequest.d.ts +1 -1
- package/dist/api/types/LinkTokenExchangeResponse.d.ts +3 -1
- package/dist/api/types/PersonDetailsOutput.d.ts +13 -0
- package/dist/api/types/PersonDetailsOutput.js +5 -0
- package/dist/api/types/PscAreaInfo.d.ts +1 -0
- package/dist/api/types/ResponsibleRelationship.d.ts +2 -2
- package/dist/api/types/ResponsibleRelationship.js +1 -1
- package/dist/api/types/TimeseriesResource.d.ts +5 -1
- package/dist/api/types/TimeseriesResource.js +4 -0
- package/dist/api/types/UserInfo.d.ts +13 -0
- package/dist/api/types/UserInfo.js +5 -0
- package/dist/api/types/{PersonDetails.d.ts → VitalCoreSchemasDbSchemasLabTestHealthInsurancePersonDetails.d.ts} +1 -1
- package/dist/api/types/VitalCoreSchemasDbSchemasLabTestHealthInsurancePersonDetails.js +5 -0
- package/dist/api/types/VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails.d.ts +13 -0
- package/dist/api/types/VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails.js +5 -0
- package/dist/api/types/index.d.ts +8 -1
- package/dist/api/types/index.js +8 -1
- package/dist/serialization/resources/insurance/client/requests/PayorSearchRequest.d.ts +0 -1
- package/dist/serialization/resources/insurance/client/requests/PayorSearchRequest.js +0 -1
- package/dist/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +3 -0
- package/dist/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.js +3 -0
- package/dist/serialization/resources/user/client/requests/CreateInsuranceRequest.d.ts +19 -0
- package/dist/serialization/resources/user/client/requests/CreateInsuranceRequest.js +40 -0
- package/dist/serialization/resources/user/client/requests/UserInfoCreateRequest.d.ts +19 -0
- package/dist/serialization/resources/user/client/requests/UserInfoCreateRequest.js +40 -0
- package/dist/serialization/resources/user/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/user/client/requests/index.js +5 -1
- package/dist/serialization/types/Billing.d.ts +10 -0
- package/dist/serialization/types/Billing.js +35 -0
- package/dist/serialization/types/ClientFacingInsurance.d.ts +21 -0
- package/dist/serialization/types/ClientFacingInsurance.js +42 -0
- package/dist/serialization/types/ClientFacingLabs.d.ts +10 -0
- package/dist/serialization/types/ClientFacingLabs.js +31 -0
- package/dist/serialization/types/ClientFacingOrder.d.ts +3 -0
- package/dist/serialization/types/ClientFacingOrder.js +3 -0
- package/dist/serialization/types/ClientFacingPayorSearchResponse.d.ts +1 -0
- package/dist/serialization/types/ClientFacingPayorSearchResponse.js +1 -0
- package/dist/serialization/types/ClientFacingResource.d.ts +1 -1
- package/dist/serialization/types/ClientFacingResource.js +4 -0
- package/dist/serialization/types/CompanyDetails.d.ts +14 -0
- package/dist/serialization/types/CompanyDetails.js +35 -0
- package/dist/serialization/types/HealthInsuranceCreateRequest.d.ts +2 -2
- package/dist/serialization/types/HealthInsuranceCreateRequest.js +2 -2
- package/dist/serialization/types/LinkTokenExchangeResponse.d.ts +1 -0
- package/dist/serialization/types/LinkTokenExchangeResponse.js +1 -0
- package/dist/serialization/types/PersonDetailsOutput.d.ts +20 -0
- package/dist/serialization/types/PersonDetailsOutput.js +41 -0
- package/dist/serialization/types/PscAreaInfo.d.ts +2 -0
- package/dist/serialization/types/PscAreaInfo.js +2 -0
- package/dist/serialization/types/ResponsibleRelationship.d.ts +1 -1
- package/dist/serialization/types/ResponsibleRelationship.js +1 -1
- package/dist/serialization/types/TimeseriesResource.d.ts +1 -1
- package/dist/serialization/types/TimeseriesResource.js +4 -0
- package/dist/serialization/types/{PersonDetails.d.ts → UserInfo.d.ts} +6 -4
- package/dist/serialization/types/UserInfo.js +40 -0
- package/dist/serialization/types/VitalCoreSchemasDbSchemasLabTestHealthInsurancePersonDetails.d.ts +17 -0
- package/dist/serialization/types/{PersonDetails.js → VitalCoreSchemasDbSchemasLabTestHealthInsurancePersonDetails.js} +2 -2
- package/dist/serialization/types/VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails.d.ts +20 -0
- package/dist/serialization/types/VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails.js +41 -0
- package/dist/serialization/types/index.d.ts +8 -1
- package/dist/serialization/types/index.js +8 -1
- package/package.json +1 -1
- package/serialization/resources/insurance/client/requests/PayorSearchRequest.d.ts +0 -1
- package/serialization/resources/insurance/client/requests/PayorSearchRequest.js +0 -1
- package/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +3 -0
- package/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.js +3 -0
- package/serialization/resources/user/client/requests/CreateInsuranceRequest.d.ts +19 -0
- package/serialization/resources/user/client/requests/CreateInsuranceRequest.js +40 -0
- package/serialization/resources/user/client/requests/UserInfoCreateRequest.d.ts +19 -0
- package/serialization/resources/user/client/requests/UserInfoCreateRequest.js +40 -0
- package/serialization/resources/user/client/requests/index.d.ts +2 -0
- package/serialization/resources/user/client/requests/index.js +5 -1
- package/serialization/types/Billing.d.ts +10 -0
- package/serialization/types/Billing.js +35 -0
- package/serialization/types/ClientFacingInsurance.d.ts +21 -0
- package/serialization/types/ClientFacingInsurance.js +42 -0
- package/serialization/types/ClientFacingLabs.d.ts +10 -0
- package/serialization/types/ClientFacingLabs.js +31 -0
- package/serialization/types/ClientFacingOrder.d.ts +3 -0
- package/serialization/types/ClientFacingOrder.js +3 -0
- package/serialization/types/ClientFacingPayorSearchResponse.d.ts +1 -0
- package/serialization/types/ClientFacingPayorSearchResponse.js +1 -0
- package/serialization/types/ClientFacingResource.d.ts +1 -1
- package/serialization/types/ClientFacingResource.js +4 -0
- package/serialization/types/CompanyDetails.d.ts +14 -0
- package/serialization/types/CompanyDetails.js +35 -0
- package/serialization/types/HealthInsuranceCreateRequest.d.ts +2 -2
- package/serialization/types/HealthInsuranceCreateRequest.js +2 -2
- package/serialization/types/LinkTokenExchangeResponse.d.ts +1 -0
- package/serialization/types/LinkTokenExchangeResponse.js +1 -0
- package/serialization/types/PersonDetailsOutput.d.ts +20 -0
- package/serialization/types/PersonDetailsOutput.js +41 -0
- package/serialization/types/PscAreaInfo.d.ts +2 -0
- package/serialization/types/PscAreaInfo.js +2 -0
- package/serialization/types/ResponsibleRelationship.d.ts +1 -1
- package/serialization/types/ResponsibleRelationship.js +1 -1
- package/serialization/types/TimeseriesResource.d.ts +1 -1
- package/serialization/types/TimeseriesResource.js +4 -0
- package/serialization/types/{PersonDetails.d.ts → UserInfo.d.ts} +6 -4
- package/serialization/types/UserInfo.js +40 -0
- package/serialization/types/VitalCoreSchemasDbSchemasLabTestHealthInsurancePersonDetails.d.ts +17 -0
- package/serialization/types/{PersonDetails.js → VitalCoreSchemasDbSchemasLabTestHealthInsurancePersonDetails.js} +2 -2
- package/serialization/types/VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails.d.ts +20 -0
- package/serialization/types/VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails.js +41 -0
- package/serialization/types/index.d.ts +8 -1
- package/serialization/types/index.js +8 -1
- /package/api/{types/PersonDetails.js → resources/user/client/requests/CreateInsuranceRequest.js} +0 -0
- /package/{dist/api/types/PersonDetails.js → api/resources/user/client/requests/UserInfoCreateRequest.js} +0 -0
@@ -0,0 +1,41 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.PersonDetailsOutput = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const Gender_1 = require("./Gender");
|
32
|
+
const Address_1 = require("./Address");
|
33
|
+
exports.PersonDetailsOutput = core.serialization.object({
|
34
|
+
firstName: core.serialization.property("first_name", core.serialization.string()),
|
35
|
+
lastName: core.serialization.property("last_name", core.serialization.string()),
|
36
|
+
gender: Gender_1.Gender,
|
37
|
+
address: Address_1.Address,
|
38
|
+
dob: core.serialization.string(),
|
39
|
+
email: core.serialization.string(),
|
40
|
+
phoneNumber: core.serialization.property("phone_number", core.serialization.string()),
|
41
|
+
});
|
@@ -5,9 +5,11 @@ import * as serializers from "..";
|
|
5
5
|
import * as Vital from "../../api";
|
6
6
|
import * as core from "../../core";
|
7
7
|
import { PscAreaInfoDetails } from "./PscAreaInfoDetails";
|
8
|
+
import { Billing } from "./Billing";
|
8
9
|
export declare const PscAreaInfo: core.serialization.ObjectSchema<serializers.PscAreaInfo.Raw, Vital.PscAreaInfo>;
|
9
10
|
export declare namespace PscAreaInfo {
|
10
11
|
interface Raw {
|
11
12
|
patient_service_centers: PscAreaInfoDetails.Raw;
|
13
|
+
supported_bill_types: Billing.Raw[];
|
12
14
|
}
|
13
15
|
}
|
@@ -29,6 +29,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.PscAreaInfo = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
31
|
const PscAreaInfoDetails_1 = require("./PscAreaInfoDetails");
|
32
|
+
const Billing_1 = require("./Billing");
|
32
33
|
exports.PscAreaInfo = core.serialization.object({
|
33
34
|
patientServiceCenters: core.serialization.property("patient_service_centers", PscAreaInfoDetails_1.PscAreaInfoDetails),
|
35
|
+
supportedBillTypes: core.serialization.property("supported_bill_types", core.serialization.list(Billing_1.Billing)),
|
34
36
|
});
|
@@ -6,5 +6,5 @@ import * as Vital from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
7
7
|
export declare const ResponsibleRelationship: core.serialization.Schema<serializers.ResponsibleRelationship.Raw, Vital.ResponsibleRelationship>;
|
8
8
|
export declare namespace ResponsibleRelationship {
|
9
|
-
type Raw = "Self" | "Spouse" | "Other
|
9
|
+
type Raw = "Self" | "Spouse" | "Other";
|
10
10
|
}
|
@@ -28,4 +28,4 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
29
|
exports.ResponsibleRelationship = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
|
-
exports.ResponsibleRelationship = core.serialization.enum_(["Self", "Spouse", "Other
|
31
|
+
exports.ResponsibleRelationship = core.serialization.enum_(["Self", "Spouse", "Other"]);
|
@@ -6,5 +6,5 @@ import * as Vital from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
7
7
|
export declare const TimeseriesResource: core.serialization.Schema<serializers.TimeseriesResource.Raw, Vital.TimeseriesResource>;
|
8
8
|
export declare namespace TimeseriesResource {
|
9
|
-
type Raw = "calories_active" | "calories_basal" | "distance" | "blood_oxygen" | "blood_pressure" | "body_fat" | "body_weight" | "body_temperature" | "body_temperature_delta" | "cholesterol" | "cholesterol/ldl" | "cholesterol/hdl" | "cholesterol/total" | "cholesterol/triglycerides" | "electrocardiogram_voltage" | "floors_climbed" | "glucose" | "heartrate" | "hrv" | "hypnogram" | "ige" | "igg" | "respiratory_rate" | "steps" | "stress_level" | "vo2_max" | "water" | "caffeine" | "mindfulness_minutes";
|
9
|
+
type Raw = "calories_active" | "calories_basal" | "distance" | "blood_oxygen" | "blood_pressure" | "body_fat" | "body_weight" | "body_temperature" | "body_temperature_delta" | "cholesterol" | "cholesterol/ldl" | "cholesterol/hdl" | "cholesterol/total" | "cholesterol/triglycerides" | "electrocardiogram_voltage" | "floors_climbed" | "glucose" | "heartrate" | "hrv" | "hypnogram" | "ige" | "igg" | "respiratory_rate" | "steps" | "stress_level" | "vo2_max" | "water" | "caffeine" | "mindfulness_minutes" | "workout_duration" | "insulin_injection" | "carbohydrates" | "note";
|
10
10
|
}
|
@@ -5,13 +5,15 @@ import * as serializers from "..";
|
|
5
5
|
import * as Vital from "../../api";
|
6
6
|
import * as core from "../../core";
|
7
7
|
import { Address } from "./Address";
|
8
|
-
export declare const
|
9
|
-
export declare namespace
|
8
|
+
export declare const UserInfo: core.serialization.ObjectSchema<serializers.UserInfo.Raw, Vital.UserInfo>;
|
9
|
+
export declare namespace UserInfo {
|
10
10
|
interface Raw {
|
11
11
|
first_name: string;
|
12
12
|
last_name: string;
|
13
|
-
|
13
|
+
email: string;
|
14
14
|
phone_number: string;
|
15
|
-
|
15
|
+
gender: string;
|
16
|
+
dob: string;
|
17
|
+
address: Address.Raw;
|
16
18
|
}
|
17
19
|
}
|
@@ -0,0 +1,40 @@
|
|
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.UserInfo = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const Address_1 = require("./Address");
|
32
|
+
exports.UserInfo = core.serialization.object({
|
33
|
+
firstName: core.serialization.property("first_name", core.serialization.string()),
|
34
|
+
lastName: core.serialization.property("last_name", core.serialization.string()),
|
35
|
+
email: core.serialization.string(),
|
36
|
+
phoneNumber: core.serialization.property("phone_number", core.serialization.string()),
|
37
|
+
gender: core.serialization.string(),
|
38
|
+
dob: core.serialization.string(),
|
39
|
+
address: Address_1.Address,
|
40
|
+
});
|
@@ -0,0 +1,17 @@
|
|
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 { Address } from "./Address";
|
8
|
+
export declare const VitalCoreSchemasDbSchemasLabTestHealthInsurancePersonDetails: core.serialization.ObjectSchema<serializers.VitalCoreSchemasDbSchemasLabTestHealthInsurancePersonDetails.Raw, Vital.VitalCoreSchemasDbSchemasLabTestHealthInsurancePersonDetails>;
|
9
|
+
export declare namespace VitalCoreSchemasDbSchemasLabTestHealthInsurancePersonDetails {
|
10
|
+
interface Raw {
|
11
|
+
first_name: string;
|
12
|
+
last_name: string;
|
13
|
+
address: Address.Raw;
|
14
|
+
phone_number: string;
|
15
|
+
phone_type?: string | null;
|
16
|
+
}
|
17
|
+
}
|
@@ -26,10 +26,10 @@ 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.VitalCoreSchemasDbSchemasLabTestHealthInsurancePersonDetails = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
31
|
const Address_1 = require("./Address");
|
32
|
-
exports.
|
32
|
+
exports.VitalCoreSchemasDbSchemasLabTestHealthInsurancePersonDetails = core.serialization.object({
|
33
33
|
firstName: core.serialization.property("first_name", core.serialization.string()),
|
34
34
|
lastName: core.serialization.property("last_name", core.serialization.string()),
|
35
35
|
address: Address_1.Address,
|
@@ -0,0 +1,20 @@
|
|
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 { Gender } from "./Gender";
|
8
|
+
import { Address } from "./Address";
|
9
|
+
export declare const VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails: core.serialization.ObjectSchema<serializers.VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails.Raw, Vital.VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails>;
|
10
|
+
export declare namespace VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails {
|
11
|
+
interface Raw {
|
12
|
+
first_name: string;
|
13
|
+
last_name: string;
|
14
|
+
gender: Gender.Raw;
|
15
|
+
address: Address.Raw;
|
16
|
+
dob: string;
|
17
|
+
email: string;
|
18
|
+
phone_number: string;
|
19
|
+
}
|
20
|
+
}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const Gender_1 = require("./Gender");
|
32
|
+
const Address_1 = require("./Address");
|
33
|
+
exports.VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails = core.serialization.object({
|
34
|
+
firstName: core.serialization.property("first_name", core.serialization.string()),
|
35
|
+
lastName: core.serialization.property("last_name", core.serialization.string()),
|
36
|
+
gender: Gender_1.Gender,
|
37
|
+
address: Address_1.Address,
|
38
|
+
dob: core.serialization.string(),
|
39
|
+
email: core.serialization.string(),
|
40
|
+
phoneNumber: core.serialization.property("phone_number", core.serialization.string()),
|
41
|
+
});
|
@@ -15,6 +15,7 @@ export * from "./AttemptStatus";
|
|
15
15
|
export * from "./AuthType";
|
16
16
|
export * from "./Availability";
|
17
17
|
export * from "./BasalBodyTemperatureEntry";
|
18
|
+
export * from "./Billing";
|
18
19
|
export * from "./BiomarkerResult";
|
19
20
|
export * from "./BodyV2InDb";
|
20
21
|
export * from "./CervicalMucusEntryQuality";
|
@@ -55,9 +56,11 @@ export * from "./ClientFacingHeartRateTimeseries";
|
|
55
56
|
export * from "./ClientFacingHypnogramTimeseries";
|
56
57
|
export * from "./ClientFacingIgeTimeseries";
|
57
58
|
export * from "./ClientFacingIggTimeseries";
|
59
|
+
export * from "./ClientFacingInsurance";
|
58
60
|
export * from "./ClientFacingLab";
|
59
61
|
export * from "./ClientFacingLabLocation";
|
60
62
|
export * from "./ClientFacingLabTest";
|
63
|
+
export * from "./ClientFacingLabs";
|
61
64
|
export * from "./ClientFacingLoinc";
|
62
65
|
export * from "./ClientFacingMarker";
|
63
66
|
export * from "./ClientFacingMarkerComplete";
|
@@ -108,6 +111,7 @@ export * from "./ClientFacingWorkout";
|
|
108
111
|
export * from "./ClientSleepResponse";
|
109
112
|
export * from "./ClientUserIdConflict";
|
110
113
|
export * from "./ClientWorkoutResponse";
|
114
|
+
export * from "./CompanyDetails";
|
111
115
|
export * from "./ConnectedSourceClientFacing";
|
112
116
|
export * from "./ConnectionStatusState";
|
113
117
|
export * from "./ConnectionStatus";
|
@@ -180,7 +184,7 @@ export * from "./PaginatedUsersResponse";
|
|
180
184
|
export * from "./PasswordProviders";
|
181
185
|
export * from "./PatientAddressCompatible";
|
182
186
|
export * from "./PatientDetails";
|
183
|
-
export * from "./
|
187
|
+
export * from "./PersonDetailsOutput";
|
184
188
|
export * from "./PhlebotomyAreaInfo";
|
185
189
|
export * from "./PhlebotomyProviderInfo";
|
186
190
|
export * from "./PhysicianCreateRequestSignatureImage";
|
@@ -226,6 +230,7 @@ export * from "./TimeseriesMetricPoint";
|
|
226
230
|
export * from "./TimeseriesResource";
|
227
231
|
export * from "./UsAddress";
|
228
232
|
export * from "./UserHistoricalPullsResponse";
|
233
|
+
export * from "./UserInfo";
|
229
234
|
export * from "./UserRefreshErrorResponse";
|
230
235
|
export * from "./UserRefreshSuccessResponse";
|
231
236
|
export * from "./UserResourcesResponse";
|
@@ -236,6 +241,8 @@ export * from "./ValidationError";
|
|
236
241
|
export * from "./VitalTokenCreatedResponse";
|
237
242
|
export * from "./WorkoutV2InDb";
|
238
243
|
export * from "./ClientFacingSampleGroupingKeys";
|
244
|
+
export * from "./VitalCoreSchemasDbSchemasLabTestHealthInsurancePersonDetails";
|
245
|
+
export * from "./VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails";
|
239
246
|
export * from "./GroupedVo2MaxResponse";
|
240
247
|
export * from "./GroupedStressLevelResponse";
|
241
248
|
export * from "./GroupedMindfulnessMinutesResponse";
|
@@ -31,6 +31,7 @@ __exportStar(require("./AttemptStatus"), exports);
|
|
31
31
|
__exportStar(require("./AuthType"), exports);
|
32
32
|
__exportStar(require("./Availability"), exports);
|
33
33
|
__exportStar(require("./BasalBodyTemperatureEntry"), exports);
|
34
|
+
__exportStar(require("./Billing"), exports);
|
34
35
|
__exportStar(require("./BiomarkerResult"), exports);
|
35
36
|
__exportStar(require("./BodyV2InDb"), exports);
|
36
37
|
__exportStar(require("./CervicalMucusEntryQuality"), exports);
|
@@ -71,9 +72,11 @@ __exportStar(require("./ClientFacingHeartRateTimeseries"), exports);
|
|
71
72
|
__exportStar(require("./ClientFacingHypnogramTimeseries"), exports);
|
72
73
|
__exportStar(require("./ClientFacingIgeTimeseries"), exports);
|
73
74
|
__exportStar(require("./ClientFacingIggTimeseries"), exports);
|
75
|
+
__exportStar(require("./ClientFacingInsurance"), exports);
|
74
76
|
__exportStar(require("./ClientFacingLab"), exports);
|
75
77
|
__exportStar(require("./ClientFacingLabLocation"), exports);
|
76
78
|
__exportStar(require("./ClientFacingLabTest"), exports);
|
79
|
+
__exportStar(require("./ClientFacingLabs"), exports);
|
77
80
|
__exportStar(require("./ClientFacingLoinc"), exports);
|
78
81
|
__exportStar(require("./ClientFacingMarker"), exports);
|
79
82
|
__exportStar(require("./ClientFacingMarkerComplete"), exports);
|
@@ -124,6 +127,7 @@ __exportStar(require("./ClientFacingWorkout"), exports);
|
|
124
127
|
__exportStar(require("./ClientSleepResponse"), exports);
|
125
128
|
__exportStar(require("./ClientUserIdConflict"), exports);
|
126
129
|
__exportStar(require("./ClientWorkoutResponse"), exports);
|
130
|
+
__exportStar(require("./CompanyDetails"), exports);
|
127
131
|
__exportStar(require("./ConnectedSourceClientFacing"), exports);
|
128
132
|
__exportStar(require("./ConnectionStatusState"), exports);
|
129
133
|
__exportStar(require("./ConnectionStatus"), exports);
|
@@ -196,7 +200,7 @@ __exportStar(require("./PaginatedUsersResponse"), exports);
|
|
196
200
|
__exportStar(require("./PasswordProviders"), exports);
|
197
201
|
__exportStar(require("./PatientAddressCompatible"), exports);
|
198
202
|
__exportStar(require("./PatientDetails"), exports);
|
199
|
-
__exportStar(require("./
|
203
|
+
__exportStar(require("./PersonDetailsOutput"), exports);
|
200
204
|
__exportStar(require("./PhlebotomyAreaInfo"), exports);
|
201
205
|
__exportStar(require("./PhlebotomyProviderInfo"), exports);
|
202
206
|
__exportStar(require("./PhysicianCreateRequestSignatureImage"), exports);
|
@@ -242,6 +246,7 @@ __exportStar(require("./TimeseriesMetricPoint"), exports);
|
|
242
246
|
__exportStar(require("./TimeseriesResource"), exports);
|
243
247
|
__exportStar(require("./UsAddress"), exports);
|
244
248
|
__exportStar(require("./UserHistoricalPullsResponse"), exports);
|
249
|
+
__exportStar(require("./UserInfo"), exports);
|
245
250
|
__exportStar(require("./UserRefreshErrorResponse"), exports);
|
246
251
|
__exportStar(require("./UserRefreshSuccessResponse"), exports);
|
247
252
|
__exportStar(require("./UserResourcesResponse"), exports);
|
@@ -252,6 +257,8 @@ __exportStar(require("./ValidationError"), exports);
|
|
252
257
|
__exportStar(require("./VitalTokenCreatedResponse"), exports);
|
253
258
|
__exportStar(require("./WorkoutV2InDb"), exports);
|
254
259
|
__exportStar(require("./ClientFacingSampleGroupingKeys"), exports);
|
260
|
+
__exportStar(require("./VitalCoreSchemasDbSchemasLabTestHealthInsurancePersonDetails"), exports);
|
261
|
+
__exportStar(require("./VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails"), exports);
|
255
262
|
__exportStar(require("./GroupedVo2MaxResponse"), exports);
|
256
263
|
__exportStar(require("./GroupedStressLevelResponse"), exports);
|
257
264
|
__exportStar(require("./GroupedMindfulnessMinutesResponse"), exports);
|
/package/api/{types/PersonDetails.js → resources/user/client/requests/CreateInsuranceRequest.js}
RENAMED
File without changes
|
File without changes
|