@tryvital/vital-node 3.1.73 → 3.1.75
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/aggregate/client/Client.js +1 -1
- 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/introspect/client/Client.js +2 -2
- package/api/resources/labTests/client/Client.d.ts +8 -6
- package/api/resources/labTests/client/Client.js +41 -33
- package/api/resources/labTests/client/requests/LabTestsGetPhlebotomyAppointmentAvailabilityRequest.d.ts +25 -0
- package/api/resources/labTests/client/requests/LabTestsGetPhlebotomyAppointmentAvailabilityRequest.js +5 -0
- package/api/resources/labTests/client/requests/index.d.ts +1 -0
- 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.js +16 -16
- package/api/resources/vitals/client/Client.js +56 -56
- package/api/resources/workouts/client/Client.js +3 -3
- package/api/types/FailureType.d.ts +16 -0
- package/api/types/FailureType.js +18 -0
- package/api/types/GroupKeyColumnExprGroupKey.d.ts +2 -1
- package/api/types/LabResultsRaw.d.ts +1 -0
- package/api/types/MissingBiomarkerResult.d.ts +13 -0
- package/api/types/MissingBiomarkerResult.js +5 -0
- package/api/types/Select.d.ts +7 -0
- package/api/types/Select.js +9 -0
- package/api/types/index.d.ts +3 -0
- package/api/types/index.js +3 -0
- package/dist/api/resources/activity/client/Client.js +2 -2
- package/dist/api/resources/aggregate/client/Client.js +1 -1
- 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/introspect/client/Client.js +2 -2
- package/dist/api/resources/labTests/client/Client.d.ts +8 -6
- package/dist/api/resources/labTests/client/Client.js +41 -33
- package/dist/api/resources/labTests/client/requests/LabTestsGetPhlebotomyAppointmentAvailabilityRequest.d.ts +25 -0
- package/dist/api/resources/labTests/client/requests/LabTestsGetPhlebotomyAppointmentAvailabilityRequest.js +5 -0
- package/dist/api/resources/labTests/client/requests/index.d.ts +1 -0
- 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.js +16 -16
- package/dist/api/resources/vitals/client/Client.js +56 -56
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/api/types/FailureType.d.ts +16 -0
- package/dist/api/types/FailureType.js +18 -0
- package/dist/api/types/GroupKeyColumnExprGroupKey.d.ts +2 -1
- package/dist/api/types/LabResultsRaw.d.ts +1 -0
- package/dist/api/types/MissingBiomarkerResult.d.ts +13 -0
- package/dist/api/types/MissingBiomarkerResult.js +5 -0
- package/dist/api/types/Select.d.ts +7 -0
- package/dist/api/types/Select.js +9 -0
- package/dist/api/types/index.d.ts +3 -0
- package/dist/api/types/index.js +3 -0
- package/dist/serialization/types/FailureType.d.ts +10 -0
- package/dist/serialization/types/FailureType.js +42 -0
- package/dist/serialization/types/GroupKeyColumnExprGroupKey.d.ts +2 -1
- package/dist/serialization/types/GroupKeyColumnExprGroupKey.js +2 -1
- package/dist/serialization/types/LabResultsRaw.d.ts +2 -0
- package/dist/serialization/types/LabResultsRaw.js +2 -0
- package/dist/serialization/types/MissingBiomarkerResult.d.ts +19 -0
- package/dist/serialization/types/MissingBiomarkerResult.js +40 -0
- package/dist/serialization/types/Select.d.ts +10 -0
- package/dist/serialization/types/Select.js +31 -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 +7 -5
- package/serialization/types/FailureType.d.ts +10 -0
- package/serialization/types/FailureType.js +42 -0
- package/serialization/types/GroupKeyColumnExprGroupKey.d.ts +2 -1
- package/serialization/types/GroupKeyColumnExprGroupKey.js +2 -1
- package/serialization/types/LabResultsRaw.d.ts +2 -0
- package/serialization/types/LabResultsRaw.js +2 -0
- package/serialization/types/MissingBiomarkerResult.d.ts +19 -0
- package/serialization/types/MissingBiomarkerResult.js +40 -0
- package/serialization/types/Select.d.ts +10 -0
- package/serialization/types/Select.js +31 -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
@@ -0,0 +1,16 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
export declare type FailureType = "quantity_not_sufficient_failure" | "collection_process_failure" | "drop_off_failure" | "internal_lab_failure" | "order_entry_failure" | "non_failure" | "unknown_failure" | "patient_condition_failure" | "missing_result_calc_failure" | "missing_demo_aoe_calc_failure";
|
5
|
+
export declare const FailureType: {
|
6
|
+
readonly QuantityNotSufficientFailure: "quantity_not_sufficient_failure";
|
7
|
+
readonly CollectionProcessFailure: "collection_process_failure";
|
8
|
+
readonly DropOffFailure: "drop_off_failure";
|
9
|
+
readonly InternalLabFailure: "internal_lab_failure";
|
10
|
+
readonly OrderEntryFailure: "order_entry_failure";
|
11
|
+
readonly NonFailure: "non_failure";
|
12
|
+
readonly UnknownFailure: "unknown_failure";
|
13
|
+
readonly PatientConditionFailure: "patient_condition_failure";
|
14
|
+
readonly MissingResultCalcFailure: "missing_result_calc_failure";
|
15
|
+
readonly MissingDemoAoeCalcFailure: "missing_demo_aoe_calc_failure";
|
16
|
+
};
|
@@ -0,0 +1,18 @@
|
|
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.FailureType = void 0;
|
7
|
+
exports.FailureType = {
|
8
|
+
QuantityNotSufficientFailure: "quantity_not_sufficient_failure",
|
9
|
+
CollectionProcessFailure: "collection_process_failure",
|
10
|
+
DropOffFailure: "drop_off_failure",
|
11
|
+
InternalLabFailure: "internal_lab_failure",
|
12
|
+
OrderEntryFailure: "order_entry_failure",
|
13
|
+
NonFailure: "non_failure",
|
14
|
+
UnknownFailure: "unknown_failure",
|
15
|
+
PatientConditionFailure: "patient_condition_failure",
|
16
|
+
MissingResultCalcFailure: "missing_result_calc_failure",
|
17
|
+
MissingDemoAoeCalcFailure: "missing_demo_aoe_calc_failure",
|
18
|
+
};
|
@@ -0,0 +1,13 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as Vital from "../index";
|
5
|
+
export interface MissingBiomarkerResult {
|
6
|
+
name: string;
|
7
|
+
slug: string;
|
8
|
+
inferredFailureType: Vital.FailureType;
|
9
|
+
note?: string;
|
10
|
+
loinc?: string;
|
11
|
+
loincSlug?: string;
|
12
|
+
providerId?: string;
|
13
|
+
}
|
@@ -158,6 +158,7 @@ export * from "./Energy";
|
|
158
158
|
export * from "./EventDestinationPreferencesPreferred";
|
159
159
|
export * from "./EventDestinationPreferencesEnabledItem";
|
160
160
|
export * from "./EventDestinationPreferences";
|
161
|
+
export * from "./FailureType";
|
161
162
|
export * from "./FallbackBirthDate";
|
162
163
|
export * from "./FallbackTimeZone";
|
163
164
|
export * from "./Fats";
|
@@ -204,6 +205,7 @@ export * from "./MenstrualFlowEntry";
|
|
204
205
|
export * from "./MetricsResult";
|
205
206
|
export * from "./Micros";
|
206
207
|
export * from "./Minerals";
|
208
|
+
export * from "./MissingBiomarkerResult";
|
207
209
|
export * from "./OAuthProviders";
|
208
210
|
export * from "./OrderSetRequest";
|
209
211
|
export * from "./OrderStatus";
|
@@ -337,3 +339,4 @@ export * from "./GroupedBodyFat";
|
|
337
339
|
export * from "./GroupedBloodOxygen";
|
338
340
|
export * from "./GroupedElectrocardiogramVoltage";
|
339
341
|
export * from "./GroupedBloodPressure";
|
342
|
+
export * from "./Select";
|
package/dist/api/types/index.js
CHANGED
@@ -174,6 +174,7 @@ __exportStar(require("./Energy"), exports);
|
|
174
174
|
__exportStar(require("./EventDestinationPreferencesPreferred"), exports);
|
175
175
|
__exportStar(require("./EventDestinationPreferencesEnabledItem"), exports);
|
176
176
|
__exportStar(require("./EventDestinationPreferences"), exports);
|
177
|
+
__exportStar(require("./FailureType"), exports);
|
177
178
|
__exportStar(require("./FallbackBirthDate"), exports);
|
178
179
|
__exportStar(require("./FallbackTimeZone"), exports);
|
179
180
|
__exportStar(require("./Fats"), exports);
|
@@ -220,6 +221,7 @@ __exportStar(require("./MenstrualFlowEntry"), exports);
|
|
220
221
|
__exportStar(require("./MetricsResult"), exports);
|
221
222
|
__exportStar(require("./Micros"), exports);
|
222
223
|
__exportStar(require("./Minerals"), exports);
|
224
|
+
__exportStar(require("./MissingBiomarkerResult"), exports);
|
223
225
|
__exportStar(require("./OAuthProviders"), exports);
|
224
226
|
__exportStar(require("./OrderSetRequest"), exports);
|
225
227
|
__exportStar(require("./OrderStatus"), exports);
|
@@ -353,3 +355,4 @@ __exportStar(require("./GroupedBodyFat"), exports);
|
|
353
355
|
__exportStar(require("./GroupedBloodOxygen"), exports);
|
354
356
|
__exportStar(require("./GroupedElectrocardiogramVoltage"), exports);
|
355
357
|
__exportStar(require("./GroupedBloodPressure"), exports);
|
358
|
+
__exportStar(require("./Select"), exports);
|
@@ -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 FailureType: core.serialization.Schema<serializers.FailureType.Raw, Vital.FailureType>;
|
8
|
+
export declare namespace FailureType {
|
9
|
+
type Raw = "quantity_not_sufficient_failure" | "collection_process_failure" | "drop_off_failure" | "internal_lab_failure" | "order_entry_failure" | "non_failure" | "unknown_failure" | "patient_condition_failure" | "missing_result_calc_failure" | "missing_demo_aoe_calc_failure";
|
10
|
+
}
|
@@ -0,0 +1,42 @@
|
|
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.FailureType = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.FailureType = core.serialization.enum_([
|
32
|
+
"quantity_not_sufficient_failure",
|
33
|
+
"collection_process_failure",
|
34
|
+
"drop_off_failure",
|
35
|
+
"internal_lab_failure",
|
36
|
+
"order_entry_failure",
|
37
|
+
"non_failure",
|
38
|
+
"unknown_failure",
|
39
|
+
"patient_condition_failure",
|
40
|
+
"missing_result_calc_failure",
|
41
|
+
"missing_demo_aoe_calc_failure",
|
42
|
+
]);
|
@@ -4,7 +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 { Select } from "./Select";
|
7
8
|
export declare const GroupKeyColumnExprGroupKey: core.serialization.Schema<serializers.GroupKeyColumnExprGroupKey.Raw, Vital.GroupKeyColumnExprGroupKey>;
|
8
9
|
export declare namespace GroupKeyColumnExprGroupKey {
|
9
|
-
type Raw = number |
|
10
|
+
type Raw = number | Select.Raw;
|
10
11
|
}
|
@@ -28,4 +28,5 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
29
|
exports.GroupKeyColumnExprGroupKey = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
|
-
|
31
|
+
const Select_1 = require("./Select");
|
32
|
+
exports.GroupKeyColumnExprGroupKey = core.serialization.undiscriminatedUnion([core.serialization.number(), Select_1.Select]);
|
@@ -6,10 +6,12 @@ import * as Vital from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
7
7
|
import { LabResultsMetadata } from "./LabResultsMetadata";
|
8
8
|
import { LabResultsRawResults } from "./LabResultsRawResults";
|
9
|
+
import { MissingBiomarkerResult } from "./MissingBiomarkerResult";
|
9
10
|
export declare const LabResultsRaw: core.serialization.ObjectSchema<serializers.LabResultsRaw.Raw, Vital.LabResultsRaw>;
|
10
11
|
export declare namespace LabResultsRaw {
|
11
12
|
interface Raw {
|
12
13
|
metadata: LabResultsMetadata.Raw;
|
13
14
|
results: LabResultsRawResults.Raw;
|
15
|
+
missing_results?: MissingBiomarkerResult.Raw[] | null;
|
14
16
|
}
|
15
17
|
}
|
@@ -30,7 +30,9 @@ exports.LabResultsRaw = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
31
31
|
const LabResultsMetadata_1 = require("./LabResultsMetadata");
|
32
32
|
const LabResultsRawResults_1 = require("./LabResultsRawResults");
|
33
|
+
const MissingBiomarkerResult_1 = require("./MissingBiomarkerResult");
|
33
34
|
exports.LabResultsRaw = core.serialization.object({
|
34
35
|
metadata: LabResultsMetadata_1.LabResultsMetadata,
|
35
36
|
results: LabResultsRawResults_1.LabResultsRawResults,
|
37
|
+
missingResults: core.serialization.property("missing_results", core.serialization.list(MissingBiomarkerResult_1.MissingBiomarkerResult).optional()),
|
36
38
|
});
|
@@ -0,0 +1,19 @@
|
|
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
|
+
import { FailureType } from "./FailureType";
|
8
|
+
export declare const MissingBiomarkerResult: core.serialization.ObjectSchema<serializers.MissingBiomarkerResult.Raw, Vital.MissingBiomarkerResult>;
|
9
|
+
export declare namespace MissingBiomarkerResult {
|
10
|
+
interface Raw {
|
11
|
+
name: string;
|
12
|
+
slug: string;
|
13
|
+
inferred_failure_type: FailureType.Raw;
|
14
|
+
note?: string | null;
|
15
|
+
loinc?: string | null;
|
16
|
+
loinc_slug?: string | null;
|
17
|
+
provider_id?: string | 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.MissingBiomarkerResult = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const FailureType_1 = require("./FailureType");
|
32
|
+
exports.MissingBiomarkerResult = core.serialization.object({
|
33
|
+
name: core.serialization.string(),
|
34
|
+
slug: core.serialization.string(),
|
35
|
+
inferredFailureType: core.serialization.property("inferred_failure_type", FailureType_1.FailureType),
|
36
|
+
note: core.serialization.string().optional(),
|
37
|
+
loinc: core.serialization.string().optional(),
|
38
|
+
loincSlug: core.serialization.property("loinc_slug", core.serialization.string().optional()),
|
39
|
+
providerId: core.serialization.property("provider_id", core.serialization.string().optional()),
|
40
|
+
});
|
@@ -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 Select: core.serialization.Schema<serializers.Select.Raw, Vital.Select>;
|
8
|
+
export declare namespace Select {
|
9
|
+
type Raw = "*";
|
10
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.Select = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.Select = core.serialization.enum_(["*"]);
|
@@ -158,6 +158,7 @@ export * from "./Energy";
|
|
158
158
|
export * from "./EventDestinationPreferencesPreferred";
|
159
159
|
export * from "./EventDestinationPreferencesEnabledItem";
|
160
160
|
export * from "./EventDestinationPreferences";
|
161
|
+
export * from "./FailureType";
|
161
162
|
export * from "./FallbackBirthDate";
|
162
163
|
export * from "./FallbackTimeZone";
|
163
164
|
export * from "./Fats";
|
@@ -204,6 +205,7 @@ export * from "./MenstrualFlowEntry";
|
|
204
205
|
export * from "./MetricsResult";
|
205
206
|
export * from "./Micros";
|
206
207
|
export * from "./Minerals";
|
208
|
+
export * from "./MissingBiomarkerResult";
|
207
209
|
export * from "./OAuthProviders";
|
208
210
|
export * from "./OrderSetRequest";
|
209
211
|
export * from "./OrderStatus";
|
@@ -337,3 +339,4 @@ export * from "./GroupedBodyFat";
|
|
337
339
|
export * from "./GroupedBloodOxygen";
|
338
340
|
export * from "./GroupedElectrocardiogramVoltage";
|
339
341
|
export * from "./GroupedBloodPressure";
|
342
|
+
export * from "./Select";
|
@@ -174,6 +174,7 @@ __exportStar(require("./Energy"), exports);
|
|
174
174
|
__exportStar(require("./EventDestinationPreferencesPreferred"), exports);
|
175
175
|
__exportStar(require("./EventDestinationPreferencesEnabledItem"), exports);
|
176
176
|
__exportStar(require("./EventDestinationPreferences"), exports);
|
177
|
+
__exportStar(require("./FailureType"), exports);
|
177
178
|
__exportStar(require("./FallbackBirthDate"), exports);
|
178
179
|
__exportStar(require("./FallbackTimeZone"), exports);
|
179
180
|
__exportStar(require("./Fats"), exports);
|
@@ -220,6 +221,7 @@ __exportStar(require("./MenstrualFlowEntry"), exports);
|
|
220
221
|
__exportStar(require("./MetricsResult"), exports);
|
221
222
|
__exportStar(require("./Micros"), exports);
|
222
223
|
__exportStar(require("./Minerals"), exports);
|
224
|
+
__exportStar(require("./MissingBiomarkerResult"), exports);
|
223
225
|
__exportStar(require("./OAuthProviders"), exports);
|
224
226
|
__exportStar(require("./OrderSetRequest"), exports);
|
225
227
|
__exportStar(require("./OrderStatus"), exports);
|
@@ -353,3 +355,4 @@ __exportStar(require("./GroupedBodyFat"), exports);
|
|
353
355
|
__exportStar(require("./GroupedBloodOxygen"), exports);
|
354
356
|
__exportStar(require("./GroupedElectrocardiogramVoltage"), exports);
|
355
357
|
__exportStar(require("./GroupedBloodPressure"), exports);
|
358
|
+
__exportStar(require("./Select"), exports);
|
package/dist/version.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export declare const SDK_VERSION = "3.1.
|
1
|
+
export declare const SDK_VERSION = "3.1.75";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
@@ -7258,10 +7258,12 @@ for the given address and order.
|
|
7258
7258
|
|
7259
7259
|
```typescript
|
7260
7260
|
await client.labTests.getPhlebotomyAppointmentAvailability({
|
7261
|
-
|
7262
|
-
|
7263
|
-
|
7264
|
-
|
7261
|
+
body: {
|
7262
|
+
firstLine: "first_line",
|
7263
|
+
city: "city",
|
7264
|
+
state: "state",
|
7265
|
+
zipCode: "zip_code",
|
7266
|
+
},
|
7265
7267
|
});
|
7266
7268
|
```
|
7267
7269
|
|
@@ -7278,7 +7280,7 @@ await client.labTests.getPhlebotomyAppointmentAvailability({
|
|
7278
7280
|
<dl>
|
7279
7281
|
<dd>
|
7280
7282
|
|
7281
|
-
**request:** `Vital.
|
7283
|
+
**request:** `Vital.LabTestsGetPhlebotomyAppointmentAvailabilityRequest`
|
7282
7284
|
|
7283
7285
|
</dd>
|
7284
7286
|
</dl>
|
@@ -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 FailureType: core.serialization.Schema<serializers.FailureType.Raw, Vital.FailureType>;
|
8
|
+
export declare namespace FailureType {
|
9
|
+
type Raw = "quantity_not_sufficient_failure" | "collection_process_failure" | "drop_off_failure" | "internal_lab_failure" | "order_entry_failure" | "non_failure" | "unknown_failure" | "patient_condition_failure" | "missing_result_calc_failure" | "missing_demo_aoe_calc_failure";
|
10
|
+
}
|
@@ -0,0 +1,42 @@
|
|
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.FailureType = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.FailureType = core.serialization.enum_([
|
32
|
+
"quantity_not_sufficient_failure",
|
33
|
+
"collection_process_failure",
|
34
|
+
"drop_off_failure",
|
35
|
+
"internal_lab_failure",
|
36
|
+
"order_entry_failure",
|
37
|
+
"non_failure",
|
38
|
+
"unknown_failure",
|
39
|
+
"patient_condition_failure",
|
40
|
+
"missing_result_calc_failure",
|
41
|
+
"missing_demo_aoe_calc_failure",
|
42
|
+
]);
|
@@ -4,7 +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 { Select } from "./Select";
|
7
8
|
export declare const GroupKeyColumnExprGroupKey: core.serialization.Schema<serializers.GroupKeyColumnExprGroupKey.Raw, Vital.GroupKeyColumnExprGroupKey>;
|
8
9
|
export declare namespace GroupKeyColumnExprGroupKey {
|
9
|
-
type Raw = number |
|
10
|
+
type Raw = number | Select.Raw;
|
10
11
|
}
|
@@ -28,4 +28,5 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
29
|
exports.GroupKeyColumnExprGroupKey = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
|
-
|
31
|
+
const Select_1 = require("./Select");
|
32
|
+
exports.GroupKeyColumnExprGroupKey = core.serialization.undiscriminatedUnion([core.serialization.number(), Select_1.Select]);
|
@@ -6,10 +6,12 @@ import * as Vital from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
7
7
|
import { LabResultsMetadata } from "./LabResultsMetadata";
|
8
8
|
import { LabResultsRawResults } from "./LabResultsRawResults";
|
9
|
+
import { MissingBiomarkerResult } from "./MissingBiomarkerResult";
|
9
10
|
export declare const LabResultsRaw: core.serialization.ObjectSchema<serializers.LabResultsRaw.Raw, Vital.LabResultsRaw>;
|
10
11
|
export declare namespace LabResultsRaw {
|
11
12
|
interface Raw {
|
12
13
|
metadata: LabResultsMetadata.Raw;
|
13
14
|
results: LabResultsRawResults.Raw;
|
15
|
+
missing_results?: MissingBiomarkerResult.Raw[] | null;
|
14
16
|
}
|
15
17
|
}
|
@@ -30,7 +30,9 @@ exports.LabResultsRaw = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
31
31
|
const LabResultsMetadata_1 = require("./LabResultsMetadata");
|
32
32
|
const LabResultsRawResults_1 = require("./LabResultsRawResults");
|
33
|
+
const MissingBiomarkerResult_1 = require("./MissingBiomarkerResult");
|
33
34
|
exports.LabResultsRaw = core.serialization.object({
|
34
35
|
metadata: LabResultsMetadata_1.LabResultsMetadata,
|
35
36
|
results: LabResultsRawResults_1.LabResultsRawResults,
|
37
|
+
missingResults: core.serialization.property("missing_results", core.serialization.list(MissingBiomarkerResult_1.MissingBiomarkerResult).optional()),
|
36
38
|
});
|
@@ -0,0 +1,19 @@
|
|
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
|
+
import { FailureType } from "./FailureType";
|
8
|
+
export declare const MissingBiomarkerResult: core.serialization.ObjectSchema<serializers.MissingBiomarkerResult.Raw, Vital.MissingBiomarkerResult>;
|
9
|
+
export declare namespace MissingBiomarkerResult {
|
10
|
+
interface Raw {
|
11
|
+
name: string;
|
12
|
+
slug: string;
|
13
|
+
inferred_failure_type: FailureType.Raw;
|
14
|
+
note?: string | null;
|
15
|
+
loinc?: string | null;
|
16
|
+
loinc_slug?: string | null;
|
17
|
+
provider_id?: string | 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.MissingBiomarkerResult = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const FailureType_1 = require("./FailureType");
|
32
|
+
exports.MissingBiomarkerResult = core.serialization.object({
|
33
|
+
name: core.serialization.string(),
|
34
|
+
slug: core.serialization.string(),
|
35
|
+
inferredFailureType: core.serialization.property("inferred_failure_type", FailureType_1.FailureType),
|
36
|
+
note: core.serialization.string().optional(),
|
37
|
+
loinc: core.serialization.string().optional(),
|
38
|
+
loincSlug: core.serialization.property("loinc_slug", core.serialization.string().optional()),
|
39
|
+
providerId: core.serialization.property("provider_id", core.serialization.string().optional()),
|
40
|
+
});
|
@@ -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 Select: core.serialization.Schema<serializers.Select.Raw, Vital.Select>;
|
8
|
+
export declare namespace Select {
|
9
|
+
type Raw = "*";
|
10
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.Select = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.Select = core.serialization.enum_(["*"]);
|