@tryvital/vital-node 3.1.302 → 3.1.304
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 +7 -2
- package/api/resources/activity/client/Client.js +2 -2
- package/api/resources/aggregate/client/Client.js +3 -3
- package/api/resources/body/client/Client.js +2 -2
- package/api/resources/devices/client/Client.js +1 -1
- package/api/resources/electrocardiogram/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 +3 -3
- package/api/resources/introspect/client/Client.js +2 -2
- package/api/resources/labTests/client/Client.d.ts +1 -1
- package/api/resources/labTests/client/Client.js +42 -42
- package/api/resources/link/client/Client.js +19 -19
- package/api/resources/link/client/requests/IndividualProviderData.d.ts +1 -0
- package/api/resources/meal/client/Client.js +1 -1
- package/api/resources/menstrualCycle/client/Client.js +1 -1
- package/api/resources/order/client/Client.js +1 -1
- package/api/resources/payor/client/Client.d.ts +46 -0
- package/api/resources/payor/client/Client.js +130 -0
- package/api/resources/payor/client/index.d.ts +1 -0
- package/api/resources/payor/client/index.js +17 -0
- package/api/resources/payor/client/requests/CreatePayorBody.d.ts +23 -0
- package/api/resources/payor/client/requests/CreatePayorBody.js +5 -0
- package/api/resources/payor/client/requests/index.d.ts +1 -0
- package/api/resources/payor/client/requests/index.js +2 -0
- package/api/resources/payor/index.d.ts +1 -0
- package/api/resources/payor/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/sleepCycle/client/Client.js +1 -1
- package/api/resources/team/client/Client.js +7 -7
- package/api/resources/testkit/client/Client.js +2 -2
- package/api/resources/user/client/Client.js +16 -16
- package/api/resources/vitals/client/Client.js +78 -78
- package/api/resources/workouts/client/Client.js +3 -3
- package/api/types/BloodPressureTimeseriesExpr.d.ts +1 -0
- package/api/types/BloodPressureTimeseriesExprField.d.ts +3 -0
- package/api/types/ClientFacingBodyTemperatureDeltaSample.d.ts +1 -1
- package/api/types/ClientFacingBodyTemperatureSample.d.ts +1 -1
- package/api/types/ClientFacingConnectionErrorDetailsErrorType.d.ts +2 -1
- package/api/types/ClientFacingConnectionErrorDetailsErrorType.js +1 -0
- package/api/types/ClientFacingElectrocardiogram.d.ts +2 -0
- package/api/types/ClientFacingPayor.d.ts +14 -0
- package/api/types/ClientFacingPayor.js +5 -0
- package/api/types/ClientFacingProfile.d.ts +2 -0
- package/api/types/ClientFacingSleepBreathingDisturbanceSample.d.ts +1 -0
- package/api/types/ClientFacingSleepCycle.d.ts +1 -0
- package/api/types/ClientFacingWorkoutDurationSample.d.ts +1 -1
- package/api/types/DatePartExpr.d.ts +1 -0
- package/api/types/DatePartExprDatePart.d.ts +3 -0
- package/api/types/DiscreteTimeseriesExpr.d.ts +1 -0
- package/api/types/DiscreteTimeseriesExprField.d.ts +3 -0
- package/api/types/IntervalTimeseriesExpr.d.ts +1 -0
- package/api/types/IntervalTimeseriesExprField.d.ts +3 -0
- package/api/types/NoteTimeseriesExpr.d.ts +1 -0
- package/api/types/NoteTimeseriesExprField.d.ts +3 -0
- package/api/types/ProviderConnectionErrorErrorType.d.ts +2 -1
- package/api/types/ProviderConnectionErrorErrorType.js +1 -0
- package/api/types/ProviderLinkResponse.d.ts +5 -1
- package/api/types/ProviderLinkResponseErrorType.d.ts +18 -0
- package/api/types/ProviderLinkResponseErrorType.js +20 -0
- package/api/types/ProviderMfaRequest.d.ts +2 -1
- package/api/types/ProviderMfaRequestMethod.d.ts +1 -1
- package/api/types/Sex.d.ts +12 -0
- package/api/types/Sex.js +11 -0
- package/api/types/SourceColumnExpr.d.ts +1 -0
- package/api/types/SourceColumnExprSource.d.ts +3 -0
- package/api/types/TemperatureTimeseriesExpr.d.ts +1 -0
- package/api/types/TemperatureTimeseriesExprField.d.ts +3 -0
- package/api/types/WorkoutDurationTimeseriesExpr.d.ts +1 -0
- package/api/types/WorkoutDurationTimeseriesExprField.d.ts +3 -0
- package/api/types/index.d.ts +3 -0
- package/api/types/index.js +3 -0
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +7 -2
- package/dist/api/resources/activity/client/Client.js +2 -2
- package/dist/api/resources/aggregate/client/Client.js +3 -3
- package/dist/api/resources/body/client/Client.js +2 -2
- package/dist/api/resources/devices/client/Client.js +1 -1
- package/dist/api/resources/electrocardiogram/client/Client.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 +3 -3
- package/dist/api/resources/introspect/client/Client.js +2 -2
- package/dist/api/resources/labTests/client/Client.d.ts +1 -1
- package/dist/api/resources/labTests/client/Client.js +42 -42
- package/dist/api/resources/link/client/Client.js +19 -19
- package/dist/api/resources/link/client/requests/IndividualProviderData.d.ts +1 -0
- package/dist/api/resources/meal/client/Client.js +1 -1
- package/dist/api/resources/menstrualCycle/client/Client.js +1 -1
- package/dist/api/resources/order/client/Client.js +1 -1
- package/dist/api/resources/payor/client/Client.d.ts +46 -0
- package/dist/api/resources/payor/client/Client.js +130 -0
- package/dist/api/resources/payor/client/index.d.ts +1 -0
- package/dist/api/resources/payor/client/index.js +17 -0
- package/dist/api/resources/payor/client/requests/CreatePayorBody.d.ts +23 -0
- package/dist/api/resources/payor/client/requests/CreatePayorBody.js +5 -0
- package/dist/api/resources/payor/client/requests/index.d.ts +1 -0
- package/dist/api/resources/payor/client/requests/index.js +2 -0
- package/dist/api/resources/payor/index.d.ts +1 -0
- package/dist/api/resources/payor/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/sleepCycle/client/Client.js +1 -1
- package/dist/api/resources/team/client/Client.js +7 -7
- package/dist/api/resources/testkit/client/Client.js +2 -2
- package/dist/api/resources/user/client/Client.js +16 -16
- package/dist/api/resources/vitals/client/Client.js +78 -78
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/api/types/BloodPressureTimeseriesExpr.d.ts +1 -0
- package/dist/api/types/BloodPressureTimeseriesExprField.d.ts +3 -0
- package/dist/api/types/ClientFacingBodyTemperatureDeltaSample.d.ts +1 -1
- package/dist/api/types/ClientFacingBodyTemperatureSample.d.ts +1 -1
- package/dist/api/types/ClientFacingConnectionErrorDetailsErrorType.d.ts +2 -1
- package/dist/api/types/ClientFacingConnectionErrorDetailsErrorType.js +1 -0
- package/dist/api/types/ClientFacingElectrocardiogram.d.ts +2 -0
- package/dist/api/types/ClientFacingPayor.d.ts +14 -0
- package/dist/api/types/ClientFacingPayor.js +5 -0
- package/dist/api/types/ClientFacingProfile.d.ts +2 -0
- package/dist/api/types/ClientFacingSleepBreathingDisturbanceSample.d.ts +1 -0
- package/dist/api/types/ClientFacingSleepCycle.d.ts +1 -0
- package/dist/api/types/ClientFacingWorkoutDurationSample.d.ts +1 -1
- package/dist/api/types/DatePartExpr.d.ts +1 -0
- package/dist/api/types/DatePartExprDatePart.d.ts +3 -0
- package/dist/api/types/DiscreteTimeseriesExpr.d.ts +1 -0
- package/dist/api/types/DiscreteTimeseriesExprField.d.ts +3 -0
- package/dist/api/types/IntervalTimeseriesExpr.d.ts +1 -0
- package/dist/api/types/IntervalTimeseriesExprField.d.ts +3 -0
- package/dist/api/types/NoteTimeseriesExpr.d.ts +1 -0
- package/dist/api/types/NoteTimeseriesExprField.d.ts +3 -0
- package/dist/api/types/ProviderConnectionErrorErrorType.d.ts +2 -1
- package/dist/api/types/ProviderConnectionErrorErrorType.js +1 -0
- package/dist/api/types/ProviderLinkResponse.d.ts +5 -1
- package/dist/api/types/ProviderLinkResponseErrorType.d.ts +18 -0
- package/dist/api/types/ProviderLinkResponseErrorType.js +20 -0
- package/dist/api/types/ProviderMfaRequest.d.ts +2 -1
- package/dist/api/types/ProviderMfaRequestMethod.d.ts +1 -1
- package/dist/api/types/Sex.d.ts +12 -0
- package/dist/api/types/Sex.js +11 -0
- package/dist/api/types/SourceColumnExpr.d.ts +1 -0
- package/dist/api/types/SourceColumnExprSource.d.ts +3 -0
- package/dist/api/types/TemperatureTimeseriesExpr.d.ts +1 -0
- package/dist/api/types/TemperatureTimeseriesExprField.d.ts +3 -0
- package/dist/api/types/WorkoutDurationTimeseriesExpr.d.ts +1 -0
- package/dist/api/types/WorkoutDurationTimeseriesExprField.d.ts +3 -0
- package/dist/api/types/index.d.ts +3 -0
- package/dist/api/types/index.js +3 -0
- package/dist/serialization/resources/index.d.ts +2 -0
- package/dist/serialization/resources/index.js +3 -1
- package/dist/serialization/resources/payor/client/index.d.ts +1 -0
- package/dist/serialization/resources/payor/client/index.js +17 -0
- package/dist/serialization/resources/payor/client/requests/CreatePayorBody.d.ts +17 -0
- package/dist/serialization/resources/payor/client/requests/CreatePayorBody.js +38 -0
- package/dist/serialization/resources/payor/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/payor/client/requests/index.js +5 -0
- package/dist/serialization/resources/payor/index.d.ts +1 -0
- package/dist/serialization/resources/payor/index.js +17 -0
- package/dist/serialization/types/ClientFacingConnectionErrorDetailsErrorType.d.ts +1 -1
- package/dist/serialization/types/ClientFacingConnectionErrorDetailsErrorType.js +1 -0
- package/dist/serialization/types/ClientFacingPayor.d.ts +16 -0
- package/dist/serialization/types/ClientFacingPayor.js +37 -0
- package/dist/serialization/types/ClientFacingProfile.d.ts +4 -0
- package/dist/serialization/types/ClientFacingProfile.js +4 -0
- package/dist/serialization/types/ClientFacingSleepCycle.d.ts +1 -0
- package/dist/serialization/types/ClientFacingSleepCycle.js +1 -0
- package/dist/serialization/types/ProviderConnectionErrorErrorType.d.ts +1 -1
- package/dist/serialization/types/ProviderConnectionErrorErrorType.js +1 -0
- package/dist/serialization/types/ProviderLinkResponse.d.ts +2 -1
- package/dist/serialization/types/ProviderLinkResponse.js +2 -1
- package/dist/serialization/types/ProviderLinkResponseErrorType.d.ts +10 -0
- package/dist/serialization/types/ProviderLinkResponseErrorType.js +44 -0
- package/dist/serialization/types/Sex.d.ts +10 -0
- package/dist/serialization/types/Sex.js +35 -0
- package/dist/serialization/types/index.d.ts +3 -0
- package/dist/serialization/types/index.js +3 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +59 -0
- package/serialization/resources/index.d.ts +2 -0
- package/serialization/resources/index.js +3 -1
- package/serialization/resources/payor/client/index.d.ts +1 -0
- package/serialization/resources/payor/client/index.js +17 -0
- package/serialization/resources/payor/client/requests/CreatePayorBody.d.ts +17 -0
- package/serialization/resources/payor/client/requests/CreatePayorBody.js +38 -0
- package/serialization/resources/payor/client/requests/index.d.ts +1 -0
- package/serialization/resources/payor/client/requests/index.js +5 -0
- package/serialization/resources/payor/index.d.ts +1 -0
- package/serialization/resources/payor/index.js +17 -0
- package/serialization/types/ClientFacingConnectionErrorDetailsErrorType.d.ts +1 -1
- package/serialization/types/ClientFacingConnectionErrorDetailsErrorType.js +1 -0
- package/serialization/types/ClientFacingPayor.d.ts +16 -0
- package/serialization/types/ClientFacingPayor.js +37 -0
- package/serialization/types/ClientFacingProfile.d.ts +4 -0
- package/serialization/types/ClientFacingProfile.js +4 -0
- package/serialization/types/ClientFacingSleepCycle.d.ts +1 -0
- package/serialization/types/ClientFacingSleepCycle.js +1 -0
- package/serialization/types/ProviderConnectionErrorErrorType.d.ts +1 -1
- package/serialization/types/ProviderConnectionErrorErrorType.js +1 -0
- package/serialization/types/ProviderLinkResponse.d.ts +2 -1
- package/serialization/types/ProviderLinkResponse.js +2 -1
- package/serialization/types/ProviderLinkResponseErrorType.d.ts +10 -0
- package/serialization/types/ProviderLinkResponseErrorType.js +44 -0
- package/serialization/types/Sex.d.ts +10 -0
- package/serialization/types/Sex.js +35 -0
- package/serialization/types/index.d.ts +3 -0
- package/serialization/types/index.js +3 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
@@ -4,6 +4,8 @@
|
|
4
4
|
import * as serializers from "../index";
|
5
5
|
import * as Vital from "../../api/index";
|
6
6
|
import * as core from "../../core";
|
7
|
+
import { Gender } from "./Gender";
|
8
|
+
import { Sex } from "./Sex";
|
7
9
|
import { ClientFacingSource } from "./ClientFacingSource";
|
8
10
|
export declare const ClientFacingProfile: core.serialization.ObjectSchema<serializers.ClientFacingProfile.Raw, Vital.ClientFacingProfile>;
|
9
11
|
export declare namespace ClientFacingProfile {
|
@@ -13,6 +15,8 @@ export declare namespace ClientFacingProfile {
|
|
13
15
|
height?: number | null;
|
14
16
|
birth_date?: string | null;
|
15
17
|
wheelchair_use?: boolean | null;
|
18
|
+
gender?: Gender.Raw | null;
|
19
|
+
sex?: Sex.Raw | null;
|
16
20
|
source: ClientFacingSource.Raw;
|
17
21
|
created_at: string;
|
18
22
|
updated_at: string;
|
@@ -28,6 +28,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
29
|
exports.ClientFacingProfile = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
|
+
const Gender_1 = require("./Gender");
|
32
|
+
const Sex_1 = require("./Sex");
|
31
33
|
const ClientFacingSource_1 = require("./ClientFacingSource");
|
32
34
|
exports.ClientFacingProfile = core.serialization.object({
|
33
35
|
id: core.serialization.string(),
|
@@ -35,6 +37,8 @@ exports.ClientFacingProfile = core.serialization.object({
|
|
35
37
|
height: core.serialization.number().optional(),
|
36
38
|
birthDate: core.serialization.property("birth_date", core.serialization.string().optional()),
|
37
39
|
wheelchairUse: core.serialization.property("wheelchair_use", core.serialization.boolean().optional()),
|
40
|
+
gender: Gender_1.Gender.optional(),
|
41
|
+
sex: Sex_1.Sex.optional(),
|
38
42
|
source: ClientFacingSource_1.ClientFacingSource,
|
39
43
|
createdAt: core.serialization.property("created_at", core.serialization.date()),
|
40
44
|
updatedAt: core.serialization.property("updated_at", core.serialization.date()),
|
@@ -22,6 +22,7 @@ export declare namespace ClientFacingSleepCycle {
|
|
22
22
|
source_provider: ClientFacingSleepCycleSourceProvider.Raw;
|
23
23
|
source_type: ClientFacingSleepCycleSourceType.Raw;
|
24
24
|
source_app_id?: string | null;
|
25
|
+
source_device_id?: string | null;
|
25
26
|
created_at: string;
|
26
27
|
updated_at: string;
|
27
28
|
user_id: string;
|
@@ -44,6 +44,7 @@ exports.ClientFacingSleepCycle = core.serialization.object({
|
|
44
44
|
sourceProvider: core.serialization.property("source_provider", ClientFacingSleepCycleSourceProvider_1.ClientFacingSleepCycleSourceProvider),
|
45
45
|
sourceType: core.serialization.property("source_type", ClientFacingSleepCycleSourceType_1.ClientFacingSleepCycleSourceType),
|
46
46
|
sourceAppId: core.serialization.property("source_app_id", core.serialization.string().optional()),
|
47
|
+
sourceDeviceId: core.serialization.property("source_device_id", core.serialization.string().optional()),
|
47
48
|
createdAt: core.serialization.property("created_at", core.serialization.date()),
|
48
49
|
updatedAt: core.serialization.property("updated_at", core.serialization.date()),
|
49
50
|
userId: core.serialization.property("user_id", core.serialization.string()),
|
@@ -6,5 +6,5 @@ import * as Vital from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
7
7
|
export declare const ProviderConnectionErrorErrorType: core.serialization.Schema<serializers.ProviderConnectionErrorErrorType.Raw, Vital.ProviderConnectionErrorErrorType>;
|
8
8
|
export declare namespace ProviderConnectionErrorErrorType {
|
9
|
-
type Raw = "token_refresh_failed" | "webhook_registration_failed" | "user_not_found" | "deregistered_per_provider" | "required_scopes_not_granted" | "provider_credential_error" | "unknown";
|
9
|
+
type Raw = "token_refresh_failed" | "webhook_registration_failed" | "user_not_found" | "deregistered_per_provider" | "required_scopes_not_granted" | "provider_credential_error" | "provider_password_expired" | "unknown";
|
10
10
|
}
|
@@ -5,6 +5,7 @@ import * as serializers from "../index";
|
|
5
5
|
import * as Vital from "../../api/index";
|
6
6
|
import * as core from "../../core";
|
7
7
|
import { ProviderLinkResponseState } from "./ProviderLinkResponseState";
|
8
|
+
import { ProviderLinkResponseErrorType } from "./ProviderLinkResponseErrorType";
|
8
9
|
import { ProviderMfaRequest } from "./ProviderMfaRequest";
|
9
10
|
import { PasswordProviders } from "./PasswordProviders";
|
10
11
|
export declare const ProviderLinkResponse: core.serialization.ObjectSchema<serializers.ProviderLinkResponse.Raw, Vital.ProviderLinkResponse>;
|
@@ -12,7 +13,7 @@ export declare namespace ProviderLinkResponse {
|
|
12
13
|
interface Raw {
|
13
14
|
state: ProviderLinkResponseState.Raw;
|
14
15
|
redirect_url?: string | null;
|
15
|
-
error_type?:
|
16
|
+
error_type?: ProviderLinkResponseErrorType.Raw | null;
|
16
17
|
error?: string | null;
|
17
18
|
provider_mfa?: ProviderMfaRequest.Raw | null;
|
18
19
|
provider: PasswordProviders.Raw;
|
@@ -29,12 +29,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.ProviderLinkResponse = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
31
|
const ProviderLinkResponseState_1 = require("./ProviderLinkResponseState");
|
32
|
+
const ProviderLinkResponseErrorType_1 = require("./ProviderLinkResponseErrorType");
|
32
33
|
const ProviderMfaRequest_1 = require("./ProviderMfaRequest");
|
33
34
|
const PasswordProviders_1 = require("./PasswordProviders");
|
34
35
|
exports.ProviderLinkResponse = core.serialization.object({
|
35
36
|
state: ProviderLinkResponseState_1.ProviderLinkResponseState,
|
36
37
|
redirectUrl: core.serialization.property("redirect_url", core.serialization.string().optional()),
|
37
|
-
errorType: core.serialization.property("error_type",
|
38
|
+
errorType: core.serialization.property("error_type", ProviderLinkResponseErrorType_1.ProviderLinkResponseErrorType.optional()),
|
38
39
|
error: core.serialization.string().optional(),
|
39
40
|
providerMfa: core.serialization.property("provider_mfa", ProviderMfaRequest_1.ProviderMfaRequest.optional()),
|
40
41
|
provider: PasswordProviders_1.PasswordProviders,
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../index";
|
5
|
+
import * as Vital from "../../api/index";
|
6
|
+
import * as core from "../../core";
|
7
|
+
export declare const ProviderLinkResponseErrorType: core.serialization.Schema<serializers.ProviderLinkResponseErrorType.Raw, Vital.ProviderLinkResponseErrorType>;
|
8
|
+
export declare namespace ProviderLinkResponseErrorType {
|
9
|
+
type Raw = "invalid_token" | "token_expired" | "token_not_validated" | "token_consumed" | "provider_credential_error" | "provider_password_expired" | "provider_api_error" | "unsupported_region" | "duplicate_connection" | "required_scopes_not_granted" | "incorrect_mfa_code" | "user_cancelled";
|
10
|
+
}
|
@@ -0,0 +1,44 @@
|
|
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.ProviderLinkResponseErrorType = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.ProviderLinkResponseErrorType = core.serialization.enum_([
|
32
|
+
"invalid_token",
|
33
|
+
"token_expired",
|
34
|
+
"token_not_validated",
|
35
|
+
"token_consumed",
|
36
|
+
"provider_credential_error",
|
37
|
+
"provider_password_expired",
|
38
|
+
"provider_api_error",
|
39
|
+
"unsupported_region",
|
40
|
+
"duplicate_connection",
|
41
|
+
"required_scopes_not_granted",
|
42
|
+
"incorrect_mfa_code",
|
43
|
+
"user_cancelled",
|
44
|
+
]);
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../index";
|
5
|
+
import * as Vital from "../../api/index";
|
6
|
+
import * as core from "../../core";
|
7
|
+
export declare const Sex: core.serialization.Schema<serializers.Sex.Raw, Vital.Sex>;
|
8
|
+
export declare namespace Sex {
|
9
|
+
type Raw = "female" | "male" | "other";
|
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.Sex = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.Sex = core.serialization.enum_([
|
32
|
+
"female",
|
33
|
+
"male",
|
34
|
+
"other",
|
35
|
+
]);
|
@@ -123,6 +123,7 @@ export * from "./ClientFacingOrderDetails";
|
|
123
123
|
export * from "./ClientFacingOrder";
|
124
124
|
export * from "./ClientFacingOrderEvent";
|
125
125
|
export * from "./ClientFacingPatientDetailsCompatible";
|
126
|
+
export * from "./ClientFacingPayor";
|
126
127
|
export * from "./ClientFacingPayorSearchResponse";
|
127
128
|
export * from "./ClientFacingPayorSearchResponseDeprecated";
|
128
129
|
export * from "./ClientFacingPeakExpiratoryFlowRateSample";
|
@@ -315,6 +316,7 @@ export * from "./ProviderConnectionCreated";
|
|
315
316
|
export * from "./ProviderConnectionErrorErrorType";
|
316
317
|
export * from "./ProviderConnectionError";
|
317
318
|
export * from "./ProviderLinkResponseState";
|
319
|
+
export * from "./ProviderLinkResponseErrorType";
|
318
320
|
export * from "./ProviderLinkResponse";
|
319
321
|
export * from "./ProviderMfaRequestMethod";
|
320
322
|
export * from "./ProviderMfaRequest";
|
@@ -346,6 +348,7 @@ export * from "./SampleDataDateReported";
|
|
346
348
|
export * from "./SampleData";
|
347
349
|
export * from "./ScopeRequirementsGrants";
|
348
350
|
export * from "./ScopeRequirementsStr";
|
351
|
+
export * from "./Sex";
|
349
352
|
export * from "./SexualActivityEntry";
|
350
353
|
export * from "./SexualOrientation";
|
351
354
|
export * from "./ShippingAddress";
|
@@ -139,6 +139,7 @@ __exportStar(require("./ClientFacingOrderDetails"), exports);
|
|
139
139
|
__exportStar(require("./ClientFacingOrder"), exports);
|
140
140
|
__exportStar(require("./ClientFacingOrderEvent"), exports);
|
141
141
|
__exportStar(require("./ClientFacingPatientDetailsCompatible"), exports);
|
142
|
+
__exportStar(require("./ClientFacingPayor"), exports);
|
142
143
|
__exportStar(require("./ClientFacingPayorSearchResponse"), exports);
|
143
144
|
__exportStar(require("./ClientFacingPayorSearchResponseDeprecated"), exports);
|
144
145
|
__exportStar(require("./ClientFacingPeakExpiratoryFlowRateSample"), exports);
|
@@ -331,6 +332,7 @@ __exportStar(require("./ProviderConnectionCreated"), exports);
|
|
331
332
|
__exportStar(require("./ProviderConnectionErrorErrorType"), exports);
|
332
333
|
__exportStar(require("./ProviderConnectionError"), exports);
|
333
334
|
__exportStar(require("./ProviderLinkResponseState"), exports);
|
335
|
+
__exportStar(require("./ProviderLinkResponseErrorType"), exports);
|
334
336
|
__exportStar(require("./ProviderLinkResponse"), exports);
|
335
337
|
__exportStar(require("./ProviderMfaRequestMethod"), exports);
|
336
338
|
__exportStar(require("./ProviderMfaRequest"), exports);
|
@@ -362,6 +364,7 @@ __exportStar(require("./SampleDataDateReported"), exports);
|
|
362
364
|
__exportStar(require("./SampleData"), exports);
|
363
365
|
__exportStar(require("./ScopeRequirementsGrants"), exports);
|
364
366
|
__exportStar(require("./ScopeRequirementsStr"), exports);
|
367
|
+
__exportStar(require("./Sex"), exports);
|
365
368
|
__exportStar(require("./SexualActivityEntry"), exports);
|
366
369
|
__exportStar(require("./SexualOrientation"), exports);
|
367
370
|
__exportStar(require("./ShippingAddress"), exports);
|
package/version.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export declare const SDK_VERSION = "3.1.
|
1
|
+
export declare const SDK_VERSION = "3.1.304";
|
package/version.js
CHANGED