@tryvital/vital-node 3.1.53 → 3.1.54
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,11 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
+
exports.ClientFacingLabs = void 0;
|
7
|
+
exports.ClientFacingLabs = {
|
8
|
+
Quest: "quest",
|
9
|
+
Labcorp: "labcorp",
|
10
|
+
Bioreference: "bioreference",
|
11
|
+
};
|
@@ -7,6 +7,8 @@ export interface ClientFacingPayorSearchResponse {
|
|
7
7
|
code: string;
|
8
8
|
/** Insurance name returned for the insurance information. */
|
9
9
|
name: string;
|
10
|
+
/** Insurance name aliases returned for the insurance information. */
|
11
|
+
aliases: string[];
|
10
12
|
/** Insurance business address returned for the insurance information. */
|
11
13
|
orgAddress: Vital.Address;
|
12
14
|
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/**
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
3
3
|
*/
|
4
|
-
export declare type ClientFacingResource = "profile" | "activity" | "sleep" | "body" | "workouts" | "workout_stream" | "connection" | "order" | "result" | "appointment" | "glucose" | "heartrate" | "hrv" | "hypnogram" | "ige" | "igg" | "blood_oxygen" | "blood_pressure" | "cholesterol" | "device" | "weight" | "fat" | "body_temperature" | "body_temperature_delta" | "meal" | "water" | "caffeine" | "mindfulness_minutes" | "steps" | "calories_active" | "distance" | "floors_climbed" | "respiratory_rate" | "vo2_max" | "calories_basal" | "stress_level" | "menstrual_cycle" | "electrocardiogram_voltage" | "sleep_stream";
|
4
|
+
export declare type ClientFacingResource = "profile" | "activity" | "sleep" | "body" | "workouts" | "workout_stream" | "connection" | "order" | "result" | "appointment" | "glucose" | "heartrate" | "hrv" | "hypnogram" | "ige" | "igg" | "blood_oxygen" | "blood_pressure" | "cholesterol" | "device" | "weight" | "fat" | "body_temperature" | "body_temperature_delta" | "meal" | "water" | "caffeine" | "mindfulness_minutes" | "steps" | "calories_active" | "distance" | "floors_climbed" | "respiratory_rate" | "vo2_max" | "calories_basal" | "stress_level" | "menstrual_cycle" | "electrocardiogram_voltage" | "workout_duration" | "insulin_injection" | "carbohydrates" | "note" | "sleep_stream";
|
5
5
|
export declare const ClientFacingResource: {
|
6
6
|
readonly Profile: "profile";
|
7
7
|
readonly Activity: "activity";
|
@@ -41,5 +41,9 @@ export declare const ClientFacingResource: {
|
|
41
41
|
readonly StressLevel: "stress_level";
|
42
42
|
readonly MenstrualCycle: "menstrual_cycle";
|
43
43
|
readonly ElectrocardiogramVoltage: "electrocardiogram_voltage";
|
44
|
+
readonly WorkoutDuration: "workout_duration";
|
45
|
+
readonly InsulinInjection: "insulin_injection";
|
46
|
+
readonly Carbohydrates: "carbohydrates";
|
47
|
+
readonly Note: "note";
|
44
48
|
readonly SleepStream: "sleep_stream";
|
45
49
|
};
|
@@ -43,5 +43,9 @@ exports.ClientFacingResource = {
|
|
43
43
|
StressLevel: "stress_level",
|
44
44
|
MenstrualCycle: "menstrual_cycle",
|
45
45
|
ElectrocardiogramVoltage: "electrocardiogram_voltage",
|
46
|
+
WorkoutDuration: "workout_duration",
|
47
|
+
InsulinInjection: "insulin_injection",
|
48
|
+
Carbohydrates: "carbohydrates",
|
49
|
+
Note: "note",
|
46
50
|
SleepStream: "sleep_stream",
|
47
51
|
};
|
@@ -14,6 +14,6 @@ export interface HealthInsuranceCreateRequest {
|
|
14
14
|
payorCode?: string;
|
15
15
|
insuranceId?: string;
|
16
16
|
responsibleRelationship?: Vital.ResponsibleRelationship;
|
17
|
-
responsibleDetails?: Vital.
|
17
|
+
responsibleDetails?: Vital.VitalCoreSchemasDbSchemasLabTestHealthInsurancePersonDetails;
|
18
18
|
diagnosisCodes?: string[];
|
19
19
|
}
|
@@ -2,6 +2,8 @@
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
3
3
|
*/
|
4
4
|
export interface LinkTokenExchangeResponse {
|
5
|
-
/** Link token
|
5
|
+
/** A short-lived Vital Link token for your Custom Link Widget to communicate with the Vital API. */
|
6
6
|
linkToken: string;
|
7
|
+
/** The web browser link to launch the default Vital Link experience. If you requested the token for one specific provider, the link would redirect directly to the provider authentication flow. Otherwise, the user would be presented with a list of providers based on your team and token configurations. */
|
8
|
+
linkWebUrl: string;
|
7
9
|
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as Vital from "..";
|
5
|
+
export interface PersonDetailsOutput {
|
6
|
+
firstName: string;
|
7
|
+
lastName: string;
|
8
|
+
gender: Vital.Gender;
|
9
|
+
address: Vital.Address;
|
10
|
+
dob: string;
|
11
|
+
email: string;
|
12
|
+
phoneNumber: string;
|
13
|
+
}
|
@@ -1,9 +1,9 @@
|
|
1
1
|
/**
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
3
3
|
*/
|
4
|
-
export declare type ResponsibleRelationship = "Self" | "Spouse" | "Other
|
4
|
+
export declare type ResponsibleRelationship = "Self" | "Spouse" | "Other";
|
5
5
|
export declare const ResponsibleRelationship: {
|
6
6
|
readonly Self: "Self";
|
7
7
|
readonly Spouse: "Spouse";
|
8
|
-
readonly
|
8
|
+
readonly Other: "Other";
|
9
9
|
};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/**
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
3
3
|
*/
|
4
|
-
export declare type TimeseriesResource = "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";
|
4
|
+
export declare type TimeseriesResource = "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";
|
5
5
|
export declare const TimeseriesResource: {
|
6
6
|
readonly CaloriesActive: "calories_active";
|
7
7
|
readonly CaloriesBasal: "calories_basal";
|
@@ -32,4 +32,8 @@ export declare const TimeseriesResource: {
|
|
32
32
|
readonly Water: "water";
|
33
33
|
readonly Caffeine: "caffeine";
|
34
34
|
readonly MindfulnessMinutes: "mindfulness_minutes";
|
35
|
+
readonly WorkoutDuration: "workout_duration";
|
36
|
+
readonly InsulinInjection: "insulin_injection";
|
37
|
+
readonly Carbohydrates: "carbohydrates";
|
38
|
+
readonly Note: "note";
|
35
39
|
};
|
@@ -0,0 +1,13 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as Vital from "..";
|
5
|
+
export interface UserInfo {
|
6
|
+
firstName: string;
|
7
|
+
lastName: string;
|
8
|
+
email: string;
|
9
|
+
phoneNumber: string;
|
10
|
+
gender: string;
|
11
|
+
dob: string;
|
12
|
+
address: Vital.Address;
|
13
|
+
}
|
@@ -2,7 +2,7 @@
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
3
3
|
*/
|
4
4
|
import * as Vital from "..";
|
5
|
-
export interface
|
5
|
+
export interface VitalCoreSchemasDbSchemasLabTestHealthInsurancePersonDetails {
|
6
6
|
firstName: string;
|
7
7
|
lastName: string;
|
8
8
|
address: Vital.Address;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as Vital from "..";
|
5
|
+
export interface VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails {
|
6
|
+
firstName: string;
|
7
|
+
lastName: string;
|
8
|
+
gender: Vital.Gender;
|
9
|
+
address: Vital.Address;
|
10
|
+
dob: string;
|
11
|
+
email: string;
|
12
|
+
phoneNumber: string;
|
13
|
+
}
|
@@ -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";
|
package/dist/api/types/index.js
CHANGED
@@ -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);
|
@@ -30,5 +30,4 @@ exports.PayorSearchRequest = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../core"));
|
31
31
|
exports.PayorSearchRequest = core.serialization.object({
|
32
32
|
insuranceName: core.serialization.property("insurance_name", core.serialization.string()),
|
33
|
-
insuranceState: core.serialization.property("insurance_state", core.serialization.string().optional()),
|
34
33
|
});
|
package/dist/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts
CHANGED
@@ -6,6 +6,7 @@ import * as Vital from "../../../../../api";
|
|
6
6
|
import * as core from "../../../../../core";
|
7
7
|
import { PhysicianCreateRequest } from "../../../../types/PhysicianCreateRequest";
|
8
8
|
import { HealthInsuranceCreateRequest } from "../../../../types/HealthInsuranceCreateRequest";
|
9
|
+
import { Billing } from "../../../../types/Billing";
|
9
10
|
import { Consent } from "../../../../types/Consent";
|
10
11
|
import { AoEAnswer } from "../../../../types/AoEAnswer";
|
11
12
|
import { PatientDetails } from "../../../../types/PatientDetails";
|
@@ -18,6 +19,8 @@ export declare namespace CreateOrderRequestCompatible {
|
|
18
19
|
physician?: PhysicianCreateRequest.Raw | null;
|
19
20
|
health_insurance?: HealthInsuranceCreateRequest.Raw | null;
|
20
21
|
priority?: boolean | null;
|
22
|
+
billing_type?: Billing.Raw | null;
|
23
|
+
icd_codes?: string[] | null;
|
21
24
|
consents?: Consent.Raw[] | null;
|
22
25
|
activate_by?: string | null;
|
23
26
|
aoe_answers?: AoEAnswer.Raw[] | null;
|
package/dist/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.js
CHANGED
@@ -30,6 +30,7 @@ exports.CreateOrderRequestCompatible = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../core"));
|
31
31
|
const PhysicianCreateRequest_1 = require("../../../../types/PhysicianCreateRequest");
|
32
32
|
const HealthInsuranceCreateRequest_1 = require("../../../../types/HealthInsuranceCreateRequest");
|
33
|
+
const Billing_1 = require("../../../../types/Billing");
|
33
34
|
const Consent_1 = require("../../../../types/Consent");
|
34
35
|
const AoEAnswer_1 = require("../../../../types/AoEAnswer");
|
35
36
|
const PatientDetails_1 = require("../../../../types/PatientDetails");
|
@@ -40,6 +41,8 @@ exports.CreateOrderRequestCompatible = core.serialization.object({
|
|
40
41
|
physician: PhysicianCreateRequest_1.PhysicianCreateRequest.optional(),
|
41
42
|
healthInsurance: core.serialization.property("health_insurance", HealthInsuranceCreateRequest_1.HealthInsuranceCreateRequest.optional()),
|
42
43
|
priority: core.serialization.boolean().optional(),
|
44
|
+
billingType: core.serialization.property("billing_type", Billing_1.Billing.optional()),
|
45
|
+
icdCodes: core.serialization.property("icd_codes", core.serialization.list(core.serialization.string()).optional()),
|
43
46
|
consents: core.serialization.list(Consent_1.Consent).optional(),
|
44
47
|
activateBy: core.serialization.property("activate_by", core.serialization.string().optional()),
|
45
48
|
aoeAnswers: core.serialization.property("aoe_answers", core.serialization.list(AoEAnswer_1.AoEAnswer).optional()),
|
@@ -0,0 +1,19 @@
|
|
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 { ResponsibleRelationship } from "../../../../types/ResponsibleRelationship";
|
8
|
+
import { VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails } from "../../../../types/VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails";
|
9
|
+
export declare const CreateInsuranceRequest: core.serialization.Schema<serializers.CreateInsuranceRequest.Raw, Vital.CreateInsuranceRequest>;
|
10
|
+
export declare namespace CreateInsuranceRequest {
|
11
|
+
interface Raw {
|
12
|
+
payor_code: string;
|
13
|
+
member_id: string;
|
14
|
+
group_id?: string | null;
|
15
|
+
relationship: ResponsibleRelationship.Raw;
|
16
|
+
insured: VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails.Raw;
|
17
|
+
guarantor?: VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails.Raw | null;
|
18
|
+
}
|
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.CreateInsuranceRequest = void 0;
|
30
|
+
const core = __importStar(require("../../../../../core"));
|
31
|
+
const ResponsibleRelationship_1 = require("../../../../types/ResponsibleRelationship");
|
32
|
+
const VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails_1 = require("../../../../types/VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails");
|
33
|
+
exports.CreateInsuranceRequest = core.serialization.object({
|
34
|
+
payorCode: core.serialization.property("payor_code", core.serialization.string()),
|
35
|
+
memberId: core.serialization.property("member_id", core.serialization.string()),
|
36
|
+
groupId: core.serialization.property("group_id", core.serialization.string().optional()),
|
37
|
+
relationship: ResponsibleRelationship_1.ResponsibleRelationship,
|
38
|
+
insured: VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails_1.VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails,
|
39
|
+
guarantor: VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails_1.VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails.optional(),
|
40
|
+
});
|
@@ -0,0 +1,19 @@
|
|
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 "../../../../types/Address";
|
8
|
+
export declare const UserInfoCreateRequest: core.serialization.Schema<serializers.UserInfoCreateRequest.Raw, Vital.UserInfoCreateRequest>;
|
9
|
+
export declare namespace UserInfoCreateRequest {
|
10
|
+
interface Raw {
|
11
|
+
first_name: string;
|
12
|
+
last_name: string;
|
13
|
+
email: string;
|
14
|
+
phone_number: string;
|
15
|
+
gender: string;
|
16
|
+
dob: string;
|
17
|
+
address: Address.Raw;
|
18
|
+
}
|
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.UserInfoCreateRequest = void 0;
|
30
|
+
const core = __importStar(require("../../../../../core"));
|
31
|
+
const Address_1 = require("../../../../types/Address");
|
32
|
+
exports.UserInfoCreateRequest = 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
|
+
});
|
@@ -1,7 +1,11 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.UserPatchBody = exports.UserCreateBody = void 0;
|
3
|
+
exports.UserInfoCreateRequest = exports.CreateInsuranceRequest = exports.UserPatchBody = exports.UserCreateBody = void 0;
|
4
4
|
var UserCreateBody_1 = require("./UserCreateBody");
|
5
5
|
Object.defineProperty(exports, "UserCreateBody", { enumerable: true, get: function () { return UserCreateBody_1.UserCreateBody; } });
|
6
6
|
var UserPatchBody_1 = require("./UserPatchBody");
|
7
7
|
Object.defineProperty(exports, "UserPatchBody", { enumerable: true, get: function () { return UserPatchBody_1.UserPatchBody; } });
|
8
|
+
var CreateInsuranceRequest_1 = require("./CreateInsuranceRequest");
|
9
|
+
Object.defineProperty(exports, "CreateInsuranceRequest", { enumerable: true, get: function () { return CreateInsuranceRequest_1.CreateInsuranceRequest; } });
|
10
|
+
var UserInfoCreateRequest_1 = require("./UserInfoCreateRequest");
|
11
|
+
Object.defineProperty(exports, "UserInfoCreateRequest", { enumerable: true, get: function () { return UserInfoCreateRequest_1.UserInfoCreateRequest; } });
|
@@ -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 Billing: core.serialization.Schema<serializers.Billing.Raw, Vital.Billing>;
|
8
|
+
export declare namespace Billing {
|
9
|
+
type Raw = "client_bill" | "commercial_insurance" | "patient_bill_passthrough";
|
10
|
+
}
|
@@ -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.Billing = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.Billing = core.serialization.enum_([
|
32
|
+
"client_bill",
|
33
|
+
"commercial_insurance",
|
34
|
+
"patient_bill_passthrough",
|
35
|
+
]);
|
@@ -0,0 +1,21 @@
|
|
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 { ResponsibleRelationship } from "./ResponsibleRelationship";
|
8
|
+
import { PersonDetailsOutput } from "./PersonDetailsOutput";
|
9
|
+
import { CompanyDetails } from "./CompanyDetails";
|
10
|
+
export declare const ClientFacingInsurance: core.serialization.ObjectSchema<serializers.ClientFacingInsurance.Raw, Vital.ClientFacingInsurance>;
|
11
|
+
export declare namespace ClientFacingInsurance {
|
12
|
+
interface Raw {
|
13
|
+
member_id: string;
|
14
|
+
payor_code: string;
|
15
|
+
relationship: ResponsibleRelationship.Raw;
|
16
|
+
insured: PersonDetailsOutput.Raw;
|
17
|
+
company: CompanyDetails.Raw;
|
18
|
+
group_id?: string | null;
|
19
|
+
guarantor?: PersonDetailsOutput.Raw | null;
|
20
|
+
}
|
21
|
+
}
|