@tryvital/vital-node 3.1.56 → 3.1.58
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/index.d.ts +1 -1
- package/api/index.js +1 -1
- package/api/resources/activity/client/Client.js +2 -2
- package/api/resources/body/client/Client.js +2 -2
- package/api/resources/devices/client/Client.js +1 -1
- package/api/resources/index.d.ts +2 -1
- package/api/resources/index.js +3 -2
- package/api/resources/insurance/client/Client.js +2 -2
- package/api/resources/introspect/client/Client.js +2 -2
- package/api/resources/labTests/client/Client.js +43 -28
- package/api/resources/labTests/client/requests/LabTestsGetOrdersRequest.d.ts +15 -0
- package/api/resources/labTests/index.d.ts +1 -0
- package/api/resources/labTests/index.js +1 -0
- package/api/resources/labTests/types/LabTestsGetOrdersRequestOrderDirection.d.ts +8 -0
- package/api/resources/labTests/types/LabTestsGetOrdersRequestOrderDirection.js +10 -0
- package/api/resources/labTests/types/LabTestsGetOrdersRequestOrderKey.d.ts +9 -0
- package/api/resources/labTests/types/LabTestsGetOrdersRequestOrderKey.js +11 -0
- package/api/resources/labTests/types/index.d.ts +2 -0
- package/api/resources/labTests/types/index.js +18 -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.d.ts +36 -0
- package/api/resources/vitals/client/Client.js +348 -52
- package/api/resources/vitals/client/requests/VitalsCarbohydratesGroupedRequest.d.ts +31 -0
- package/api/resources/vitals/client/requests/VitalsCarbohydratesGroupedRequest.js +5 -0
- package/api/resources/vitals/client/requests/VitalsInsulinInjectionGroupedRequest.d.ts +31 -0
- package/api/resources/vitals/client/requests/VitalsInsulinInjectionGroupedRequest.js +5 -0
- package/api/resources/vitals/client/requests/VitalsNoteGroupedRequest.d.ts +31 -0
- package/api/resources/vitals/client/requests/VitalsNoteGroupedRequest.js +5 -0
- package/api/resources/vitals/client/requests/VitalsWorkoutDurationGroupedRequest.d.ts +31 -0
- package/api/resources/vitals/client/requests/VitalsWorkoutDurationGroupedRequest.js +5 -0
- package/api/resources/vitals/client/requests/index.d.ts +4 -0
- package/api/resources/workouts/client/Client.js +3 -3
- package/api/types/ClientFacingCarbohydratesSample.d.ts +18 -0
- package/api/types/ClientFacingCarbohydratesSample.js +5 -0
- package/api/types/ClientFacingGroupedTimeseriesResponseClientFacingCarbohydratesSample.d.ts +10 -0
- package/api/types/ClientFacingGroupedTimeseriesResponseClientFacingCarbohydratesSample.js +5 -0
- package/api/types/ClientFacingGroupedTimeseriesResponseClientFacingInsulinInjectionSample.d.ts +10 -0
- package/api/types/ClientFacingGroupedTimeseriesResponseClientFacingInsulinInjectionSample.js +5 -0
- package/api/types/ClientFacingGroupedTimeseriesResponseClientFacingNoteSample.d.ts +10 -0
- package/api/types/ClientFacingGroupedTimeseriesResponseClientFacingNoteSample.js +5 -0
- package/api/types/ClientFacingGroupedTimeseriesResponseClientFacingWorkoutDurationSample.d.ts +10 -0
- package/api/types/ClientFacingGroupedTimeseriesResponseClientFacingWorkoutDurationSample.js +5 -0
- package/api/types/ClientFacingInsulinInjectionSample.d.ts +19 -0
- package/api/types/ClientFacingInsulinInjectionSample.js +5 -0
- package/api/types/ClientFacingInsulinInjectionSampleType.d.ts +11 -0
- package/api/types/ClientFacingInsulinInjectionSampleType.js +10 -0
- package/api/types/ClientFacingNoteSample.d.ts +20 -0
- package/api/types/ClientFacingNoteSample.js +5 -0
- package/api/types/ClientFacingNoteSampleTagsItem.d.ts +10 -0
- package/api/types/ClientFacingNoteSampleTagsItem.js +12 -0
- package/api/types/ClientFacingTimeseriesGroupClientFacingCarbohydratesSample.d.ts +8 -0
- package/api/types/ClientFacingTimeseriesGroupClientFacingCarbohydratesSample.js +5 -0
- package/api/types/ClientFacingTimeseriesGroupClientFacingInsulinInjectionSample.d.ts +8 -0
- package/api/types/ClientFacingTimeseriesGroupClientFacingInsulinInjectionSample.js +5 -0
- package/api/types/ClientFacingTimeseriesGroupClientFacingNoteSample.d.ts +8 -0
- package/api/types/ClientFacingTimeseriesGroupClientFacingNoteSample.js +5 -0
- package/api/types/ClientFacingTimeseriesGroupClientFacingWorkoutDurationSample.d.ts +8 -0
- package/api/types/ClientFacingTimeseriesGroupClientFacingWorkoutDurationSample.js +5 -0
- package/api/types/ClientFacingWorkoutDurationSample.d.ts +19 -0
- package/api/types/ClientFacingWorkoutDurationSample.js +5 -0
- package/api/types/ClientFacingWorkoutDurationSampleIntensity.d.ts +9 -0
- package/api/types/ClientFacingWorkoutDurationSampleIntensity.js +11 -0
- package/api/types/index.d.ts +15 -0
- package/api/types/index.js +15 -0
- package/dist/api/index.d.ts +1 -1
- package/dist/api/index.js +1 -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/index.d.ts +2 -1
- package/dist/api/resources/index.js +3 -2
- package/dist/api/resources/insurance/client/Client.js +2 -2
- package/dist/api/resources/introspect/client/Client.js +2 -2
- package/dist/api/resources/labTests/client/Client.js +43 -28
- package/dist/api/resources/labTests/client/requests/LabTestsGetOrdersRequest.d.ts +15 -0
- package/dist/api/resources/labTests/index.d.ts +1 -0
- package/dist/api/resources/labTests/index.js +1 -0
- package/dist/api/resources/labTests/types/LabTestsGetOrdersRequestOrderDirection.d.ts +8 -0
- package/dist/api/resources/labTests/types/LabTestsGetOrdersRequestOrderDirection.js +10 -0
- package/dist/api/resources/labTests/types/LabTestsGetOrdersRequestOrderKey.d.ts +9 -0
- package/dist/api/resources/labTests/types/LabTestsGetOrdersRequestOrderKey.js +11 -0
- package/dist/api/resources/labTests/types/index.d.ts +2 -0
- package/dist/api/resources/labTests/types/index.js +18 -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.d.ts +36 -0
- package/dist/api/resources/vitals/client/Client.js +348 -52
- package/dist/api/resources/vitals/client/requests/VitalsCarbohydratesGroupedRequest.d.ts +31 -0
- package/dist/api/resources/vitals/client/requests/VitalsCarbohydratesGroupedRequest.js +5 -0
- package/dist/api/resources/vitals/client/requests/VitalsInsulinInjectionGroupedRequest.d.ts +31 -0
- package/dist/api/resources/vitals/client/requests/VitalsInsulinInjectionGroupedRequest.js +5 -0
- package/dist/api/resources/vitals/client/requests/VitalsNoteGroupedRequest.d.ts +31 -0
- package/dist/api/resources/vitals/client/requests/VitalsNoteGroupedRequest.js +5 -0
- package/dist/api/resources/vitals/client/requests/VitalsWorkoutDurationGroupedRequest.d.ts +31 -0
- package/dist/api/resources/vitals/client/requests/VitalsWorkoutDurationGroupedRequest.js +5 -0
- package/dist/api/resources/vitals/client/requests/index.d.ts +4 -0
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/api/types/ClientFacingCarbohydratesSample.d.ts +18 -0
- package/dist/api/types/ClientFacingCarbohydratesSample.js +5 -0
- package/dist/api/types/ClientFacingGroupedTimeseriesResponseClientFacingCarbohydratesSample.d.ts +10 -0
- package/dist/api/types/ClientFacingGroupedTimeseriesResponseClientFacingCarbohydratesSample.js +5 -0
- package/dist/api/types/ClientFacingGroupedTimeseriesResponseClientFacingInsulinInjectionSample.d.ts +10 -0
- package/dist/api/types/ClientFacingGroupedTimeseriesResponseClientFacingInsulinInjectionSample.js +5 -0
- package/dist/api/types/ClientFacingGroupedTimeseriesResponseClientFacingNoteSample.d.ts +10 -0
- package/dist/api/types/ClientFacingGroupedTimeseriesResponseClientFacingNoteSample.js +5 -0
- package/dist/api/types/ClientFacingGroupedTimeseriesResponseClientFacingWorkoutDurationSample.d.ts +10 -0
- package/dist/api/types/ClientFacingGroupedTimeseriesResponseClientFacingWorkoutDurationSample.js +5 -0
- package/dist/api/types/ClientFacingInsulinInjectionSample.d.ts +19 -0
- package/dist/api/types/ClientFacingInsulinInjectionSample.js +5 -0
- package/dist/api/types/ClientFacingInsulinInjectionSampleType.d.ts +11 -0
- package/dist/api/types/ClientFacingInsulinInjectionSampleType.js +10 -0
- package/dist/api/types/ClientFacingNoteSample.d.ts +20 -0
- package/dist/api/types/ClientFacingNoteSample.js +5 -0
- package/dist/api/types/ClientFacingNoteSampleTagsItem.d.ts +10 -0
- package/dist/api/types/ClientFacingNoteSampleTagsItem.js +12 -0
- package/dist/api/types/ClientFacingTimeseriesGroupClientFacingCarbohydratesSample.d.ts +8 -0
- package/dist/api/types/ClientFacingTimeseriesGroupClientFacingCarbohydratesSample.js +5 -0
- package/dist/api/types/ClientFacingTimeseriesGroupClientFacingInsulinInjectionSample.d.ts +8 -0
- package/dist/api/types/ClientFacingTimeseriesGroupClientFacingInsulinInjectionSample.js +5 -0
- package/dist/api/types/ClientFacingTimeseriesGroupClientFacingNoteSample.d.ts +8 -0
- package/dist/api/types/ClientFacingTimeseriesGroupClientFacingNoteSample.js +5 -0
- package/dist/api/types/ClientFacingTimeseriesGroupClientFacingWorkoutDurationSample.d.ts +8 -0
- package/dist/api/types/ClientFacingTimeseriesGroupClientFacingWorkoutDurationSample.js +5 -0
- package/dist/api/types/ClientFacingWorkoutDurationSample.d.ts +19 -0
- package/dist/api/types/ClientFacingWorkoutDurationSample.js +5 -0
- package/dist/api/types/ClientFacingWorkoutDurationSampleIntensity.d.ts +9 -0
- package/dist/api/types/ClientFacingWorkoutDurationSampleIntensity.js +11 -0
- package/dist/api/types/index.d.ts +15 -0
- package/dist/api/types/index.js +15 -0
- package/dist/serialization/index.d.ts +1 -1
- package/dist/serialization/index.js +1 -1
- package/dist/serialization/resources/index.d.ts +2 -1
- package/dist/serialization/resources/index.js +3 -2
- package/dist/serialization/resources/labTests/index.d.ts +1 -0
- package/dist/serialization/resources/labTests/index.js +1 -0
- package/dist/serialization/resources/labTests/types/LabTestsGetOrdersRequestOrderDirection.d.ts +10 -0
- package/dist/serialization/resources/labTests/types/LabTestsGetOrdersRequestOrderDirection.js +31 -0
- package/dist/serialization/resources/labTests/types/LabTestsGetOrdersRequestOrderKey.d.ts +10 -0
- package/dist/serialization/resources/labTests/types/LabTestsGetOrdersRequestOrderKey.js +31 -0
- package/dist/serialization/resources/labTests/types/index.d.ts +2 -0
- package/dist/serialization/resources/labTests/types/index.js +18 -0
- package/dist/serialization/types/ClientFacingCarbohydratesSample.d.ts +19 -0
- package/dist/serialization/types/ClientFacingCarbohydratesSample.js +40 -0
- package/dist/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingCarbohydratesSample.d.ts +15 -0
- package/dist/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingCarbohydratesSample.js +36 -0
- package/dist/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingInsulinInjectionSample.d.ts +15 -0
- package/dist/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingInsulinInjectionSample.js +36 -0
- package/dist/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingNoteSample.d.ts +15 -0
- package/dist/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingNoteSample.js +36 -0
- package/dist/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingWorkoutDurationSample.d.ts +15 -0
- package/dist/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingWorkoutDurationSample.js +36 -0
- package/dist/serialization/types/ClientFacingInsulinInjectionSample.d.ts +20 -0
- package/dist/serialization/types/ClientFacingInsulinInjectionSample.js +41 -0
- package/dist/serialization/types/ClientFacingInsulinInjectionSampleType.d.ts +10 -0
- package/dist/serialization/types/ClientFacingInsulinInjectionSampleType.js +31 -0
- package/dist/serialization/types/ClientFacingNoteSample.d.ts +21 -0
- package/dist/serialization/types/ClientFacingNoteSample.js +42 -0
- package/dist/serialization/types/ClientFacingNoteSampleTagsItem.d.ts +10 -0
- package/dist/serialization/types/ClientFacingNoteSampleTagsItem.js +31 -0
- package/dist/serialization/types/ClientFacingTimeseriesGroupClientFacingCarbohydratesSample.d.ts +15 -0
- package/dist/serialization/types/ClientFacingTimeseriesGroupClientFacingCarbohydratesSample.js +36 -0
- package/dist/serialization/types/ClientFacingTimeseriesGroupClientFacingInsulinInjectionSample.d.ts +15 -0
- package/dist/serialization/types/ClientFacingTimeseriesGroupClientFacingInsulinInjectionSample.js +36 -0
- package/dist/serialization/types/ClientFacingTimeseriesGroupClientFacingNoteSample.d.ts +15 -0
- package/dist/serialization/types/ClientFacingTimeseriesGroupClientFacingNoteSample.js +36 -0
- package/dist/serialization/types/ClientFacingTimeseriesGroupClientFacingWorkoutDurationSample.d.ts +15 -0
- package/dist/serialization/types/ClientFacingTimeseriesGroupClientFacingWorkoutDurationSample.js +36 -0
- package/dist/serialization/types/ClientFacingWorkoutDurationSample.d.ts +21 -0
- package/dist/serialization/types/ClientFacingWorkoutDurationSample.js +42 -0
- package/dist/serialization/types/ClientFacingWorkoutDurationSampleIntensity.d.ts +10 -0
- package/dist/serialization/types/ClientFacingWorkoutDurationSampleIntensity.js +31 -0
- package/dist/serialization/types/index.d.ts +15 -0
- package/dist/serialization/types/index.js +15 -0
- package/package.json +1 -1
- package/serialization/index.d.ts +1 -1
- package/serialization/index.js +1 -1
- package/serialization/resources/index.d.ts +2 -1
- package/serialization/resources/index.js +3 -2
- package/serialization/resources/labTests/index.d.ts +1 -0
- package/serialization/resources/labTests/index.js +1 -0
- package/serialization/resources/labTests/types/LabTestsGetOrdersRequestOrderDirection.d.ts +10 -0
- package/serialization/resources/labTests/types/LabTestsGetOrdersRequestOrderDirection.js +31 -0
- package/serialization/resources/labTests/types/LabTestsGetOrdersRequestOrderKey.d.ts +10 -0
- package/serialization/resources/labTests/types/LabTestsGetOrdersRequestOrderKey.js +31 -0
- package/serialization/resources/labTests/types/index.d.ts +2 -0
- package/serialization/resources/labTests/types/index.js +18 -0
- package/serialization/types/ClientFacingCarbohydratesSample.d.ts +19 -0
- package/serialization/types/ClientFacingCarbohydratesSample.js +40 -0
- package/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingCarbohydratesSample.d.ts +15 -0
- package/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingCarbohydratesSample.js +36 -0
- package/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingInsulinInjectionSample.d.ts +15 -0
- package/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingInsulinInjectionSample.js +36 -0
- package/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingNoteSample.d.ts +15 -0
- package/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingNoteSample.js +36 -0
- package/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingWorkoutDurationSample.d.ts +15 -0
- package/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingWorkoutDurationSample.js +36 -0
- package/serialization/types/ClientFacingInsulinInjectionSample.d.ts +20 -0
- package/serialization/types/ClientFacingInsulinInjectionSample.js +41 -0
- package/serialization/types/ClientFacingInsulinInjectionSampleType.d.ts +10 -0
- package/serialization/types/ClientFacingInsulinInjectionSampleType.js +31 -0
- package/serialization/types/ClientFacingNoteSample.d.ts +21 -0
- package/serialization/types/ClientFacingNoteSample.js +42 -0
- package/serialization/types/ClientFacingNoteSampleTagsItem.d.ts +10 -0
- package/serialization/types/ClientFacingNoteSampleTagsItem.js +31 -0
- package/serialization/types/ClientFacingTimeseriesGroupClientFacingCarbohydratesSample.d.ts +15 -0
- package/serialization/types/ClientFacingTimeseriesGroupClientFacingCarbohydratesSample.js +36 -0
- package/serialization/types/ClientFacingTimeseriesGroupClientFacingInsulinInjectionSample.d.ts +15 -0
- package/serialization/types/ClientFacingTimeseriesGroupClientFacingInsulinInjectionSample.js +36 -0
- package/serialization/types/ClientFacingTimeseriesGroupClientFacingNoteSample.d.ts +15 -0
- package/serialization/types/ClientFacingTimeseriesGroupClientFacingNoteSample.js +36 -0
- package/serialization/types/ClientFacingTimeseriesGroupClientFacingWorkoutDurationSample.d.ts +15 -0
- package/serialization/types/ClientFacingTimeseriesGroupClientFacingWorkoutDurationSample.js +36 -0
- package/serialization/types/ClientFacingWorkoutDurationSample.d.ts +21 -0
- package/serialization/types/ClientFacingWorkoutDurationSample.js +42 -0
- package/serialization/types/ClientFacingWorkoutDurationSampleIntensity.d.ts +10 -0
- package/serialization/types/ClientFacingWorkoutDurationSampleIntensity.js +31 -0
- package/serialization/types/index.d.ts +15 -0
- package/serialization/types/index.js +15 -0
package/api/index.d.ts
CHANGED
package/api/index.js
CHANGED
@@ -14,6 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./resources"), exports);
|
17
18
|
__exportStar(require("./types"), exports);
|
18
19
|
__exportStar(require("./errors"), exports);
|
19
|
-
__exportStar(require("./resources"), exports);
|
@@ -73,7 +73,7 @@ class Activity {
|
|
73
73
|
const _response = yield core.fetcher({
|
74
74
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/activity/${userId}`),
|
75
75
|
method: "GET",
|
76
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
76
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.58", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
77
77
|
contentType: "application/json",
|
78
78
|
queryParameters: _queryParams,
|
79
79
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -142,7 +142,7 @@ class Activity {
|
|
142
142
|
const _response = yield core.fetcher({
|
143
143
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/activity/${userId}/raw`),
|
144
144
|
method: "GET",
|
145
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
145
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.58", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
146
146
|
contentType: "application/json",
|
147
147
|
queryParameters: _queryParams,
|
148
148
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -73,7 +73,7 @@ class Body {
|
|
73
73
|
const _response = yield core.fetcher({
|
74
74
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/body/${userId}`),
|
75
75
|
method: "GET",
|
76
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
76
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.58", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
77
77
|
contentType: "application/json",
|
78
78
|
queryParameters: _queryParams,
|
79
79
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -142,7 +142,7 @@ class Body {
|
|
142
142
|
const _response = yield core.fetcher({
|
143
143
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/body/${userId}/raw`),
|
144
144
|
method: "GET",
|
145
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
145
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.58", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
146
146
|
contentType: "application/json",
|
147
147
|
queryParameters: _queryParams,
|
148
148
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -67,7 +67,7 @@ class Devices {
|
|
67
67
|
const _response = yield core.fetcher({
|
68
68
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/devices/${userId}/raw`),
|
69
69
|
method: "GET",
|
70
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
70
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.58", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
71
71
|
contentType: "application/json",
|
72
72
|
queryParameters: _queryParams,
|
73
73
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
package/api/resources/index.d.ts
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
export * as labTests from "./labTests";
|
2
|
+
export * from "./labTests/types";
|
1
3
|
export * as link from "./link";
|
2
4
|
export * as profile from "./profile";
|
3
5
|
export * as devices from "./devices";
|
@@ -12,7 +14,6 @@ export * as user from "./user";
|
|
12
14
|
export * as team from "./team";
|
13
15
|
export * as providers from "./providers";
|
14
16
|
export * as introspect from "./introspect";
|
15
|
-
export * as labTests from "./labTests";
|
16
17
|
export * as testkit from "./testkit";
|
17
18
|
export * as insurance from "./insurance";
|
18
19
|
export * from "./link/client/requests";
|
package/api/resources/index.js
CHANGED
@@ -26,7 +26,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
26
26
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
27
27
|
};
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
-
exports.insurance = exports.testkit = exports.
|
29
|
+
exports.insurance = exports.testkit = exports.introspect = exports.providers = exports.team = exports.user = exports.vitals = exports.menstrualCycle = exports.meal = exports.body = exports.sleep = exports.workouts = exports.activity = exports.devices = exports.profile = exports.link = exports.labTests = void 0;
|
30
|
+
exports.labTests = __importStar(require("./labTests"));
|
31
|
+
__exportStar(require("./labTests/types"), exports);
|
30
32
|
exports.link = __importStar(require("./link"));
|
31
33
|
exports.profile = __importStar(require("./profile"));
|
32
34
|
exports.devices = __importStar(require("./devices"));
|
@@ -41,7 +43,6 @@ exports.user = __importStar(require("./user"));
|
|
41
43
|
exports.team = __importStar(require("./team"));
|
42
44
|
exports.providers = __importStar(require("./providers"));
|
43
45
|
exports.introspect = __importStar(require("./introspect"));
|
44
|
-
exports.labTests = __importStar(require("./labTests"));
|
45
46
|
exports.testkit = __importStar(require("./testkit"));
|
46
47
|
exports.insurance = __importStar(require("./insurance"));
|
47
48
|
__exportStar(require("./link/client/requests"), exports);
|
@@ -63,7 +63,7 @@ class Insurance {
|
|
63
63
|
const _response = yield core.fetcher({
|
64
64
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/insurance/search/payor"),
|
65
65
|
method: "POST",
|
66
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
66
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.58", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
67
67
|
contentType: "application/json",
|
68
68
|
body: yield serializers.PayorSearchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
69
69
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -125,7 +125,7 @@ class Insurance {
|
|
125
125
|
const _response = yield core.fetcher({
|
126
126
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/insurance/search/diagnosis"),
|
127
127
|
method: "GET",
|
128
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
128
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.58", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
129
129
|
contentType: "application/json",
|
130
130
|
queryParameters: _queryParams,
|
131
131
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -78,7 +78,7 @@ class Introspect {
|
|
78
78
|
const _response = yield core.fetcher({
|
79
79
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/introspect/resources"),
|
80
80
|
method: "GET",
|
81
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
81
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.58", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
82
82
|
contentType: "application/json",
|
83
83
|
queryParameters: _queryParams,
|
84
84
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -152,7 +152,7 @@ class Introspect {
|
|
152
152
|
const _response = yield core.fetcher({
|
153
153
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/introspect/historical_pull"),
|
154
154
|
method: "GET",
|
155
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
155
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.58", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
156
156
|
contentType: "application/json",
|
157
157
|
queryParameters: _queryParams,
|
158
158
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -61,7 +61,7 @@ class LabTests {
|
|
61
61
|
const _response = yield core.fetcher({
|
62
62
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/lab_tests"),
|
63
63
|
method: "GET",
|
64
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
64
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.58", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
65
65
|
contentType: "application/json",
|
66
66
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
67
67
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
@@ -111,7 +111,7 @@ class LabTests {
|
|
111
111
|
const _response = yield core.fetcher({
|
112
112
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/lab_tests"),
|
113
113
|
method: "POST",
|
114
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
114
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.58", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
115
115
|
contentType: "application/json",
|
116
116
|
body: yield serializers.CreateLabTestRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
117
117
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -188,7 +188,7 @@ class LabTests {
|
|
188
188
|
const _response = yield core.fetcher({
|
189
189
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/lab_tests/markers"),
|
190
190
|
method: "GET",
|
191
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
191
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.58", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
192
192
|
contentType: "application/json",
|
193
193
|
queryParameters: _queryParams,
|
194
194
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -253,7 +253,7 @@ class LabTests {
|
|
253
253
|
const _response = yield core.fetcher({
|
254
254
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/lab_tests/${labTestId}/markers`),
|
255
255
|
method: "GET",
|
256
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
256
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.58", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
257
257
|
contentType: "application/json",
|
258
258
|
queryParameters: _queryParams,
|
259
259
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -311,7 +311,7 @@ class LabTests {
|
|
311
311
|
const _response = yield core.fetcher({
|
312
312
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/lab_tests/${labId}/markers/${providerId}`),
|
313
313
|
method: "GET",
|
314
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
314
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.58", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
315
315
|
contentType: "application/json",
|
316
316
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
317
317
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
@@ -367,7 +367,7 @@ class LabTests {
|
|
367
367
|
const _response = yield core.fetcher({
|
368
368
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/lab_tests/labs"),
|
369
369
|
method: "GET",
|
370
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
370
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.58", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
371
371
|
contentType: "application/json",
|
372
372
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
373
373
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
@@ -414,7 +414,7 @@ class LabTests {
|
|
414
414
|
const _response = yield core.fetcher({
|
415
415
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/lab_tests/${labTestId}`),
|
416
416
|
method: "GET",
|
417
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
417
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.58", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
418
418
|
contentType: "application/json",
|
419
419
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
420
420
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
@@ -477,7 +477,7 @@ class LabTests {
|
|
477
477
|
const _response = yield core.fetcher({
|
478
478
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/order/phlebotomy/appointment/availability"),
|
479
479
|
method: "POST",
|
480
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
480
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.58", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
481
481
|
contentType: "application/json",
|
482
482
|
body: yield serializers.UsAddress.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
483
483
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -537,7 +537,7 @@ class LabTests {
|
|
537
537
|
const _response = yield core.fetcher({
|
538
538
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}/phlebotomy/appointment/book`),
|
539
539
|
method: "POST",
|
540
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
540
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.58", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
541
541
|
contentType: "application/json",
|
542
542
|
body: yield serializers.AppointmentBookingRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
543
543
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -603,7 +603,7 @@ class LabTests {
|
|
603
603
|
const _response = yield core.fetcher({
|
604
604
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}/phlebotomy/appointment/request`),
|
605
605
|
method: "POST",
|
606
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
606
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.58", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
607
607
|
contentType: "application/json",
|
608
608
|
body: yield serializers.RequestAppointmentRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
609
609
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -663,7 +663,7 @@ class LabTests {
|
|
663
663
|
const _response = yield core.fetcher({
|
664
664
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}/phlebotomy/appointment/reschedule`),
|
665
665
|
method: "PATCH",
|
666
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
666
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.58", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
667
667
|
contentType: "application/json",
|
668
668
|
body: yield serializers.AppointmentRescheduleRequest.jsonOrThrow(request, {
|
669
669
|
unrecognizedObjectKeys: "strip",
|
@@ -725,7 +725,7 @@ class LabTests {
|
|
725
725
|
const _response = yield core.fetcher({
|
726
726
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}/phlebotomy/appointment/cancel`),
|
727
727
|
method: "PATCH",
|
728
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
728
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.58", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
729
729
|
contentType: "application/json",
|
730
730
|
body: yield serializers.AppointmentCancelRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
731
731
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -782,7 +782,7 @@ class LabTests {
|
|
782
782
|
const _response = yield core.fetcher({
|
783
783
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/order/phlebotomy/appointment/cancellation-reasons"),
|
784
784
|
method: "GET",
|
785
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
785
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.58", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
786
786
|
contentType: "application/json",
|
787
787
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
788
788
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
@@ -829,7 +829,7 @@ class LabTests {
|
|
829
829
|
const _response = yield core.fetcher({
|
830
830
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}/phlebotomy/appointment`),
|
831
831
|
method: "GET",
|
832
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
832
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.58", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
833
833
|
contentType: "application/json",
|
834
834
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
835
835
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
@@ -902,7 +902,7 @@ class LabTests {
|
|
902
902
|
const _response = yield core.fetcher({
|
903
903
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/order/area/info"),
|
904
904
|
method: "GET",
|
905
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
905
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.58", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
906
906
|
contentType: "application/json",
|
907
907
|
queryParameters: _queryParams,
|
908
908
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -969,7 +969,7 @@ class LabTests {
|
|
969
969
|
const _response = yield core.fetcher({
|
970
970
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/order/psc/info"),
|
971
971
|
method: "GET",
|
972
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
972
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.58", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
973
973
|
contentType: "application/json",
|
974
974
|
queryParameters: _queryParams,
|
975
975
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1031,7 +1031,7 @@ class LabTests {
|
|
1031
1031
|
const _response = yield core.fetcher({
|
1032
1032
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}/psc/info`),
|
1033
1033
|
method: "GET",
|
1034
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1034
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.58", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1035
1035
|
contentType: "application/json",
|
1036
1036
|
queryParameters: _queryParams,
|
1037
1037
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1086,7 +1086,7 @@ class LabTests {
|
|
1086
1086
|
const _response = yield core.fetcher({
|
1087
1087
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}/result/pdf`),
|
1088
1088
|
method: "GET",
|
1089
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1089
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.58", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1090
1090
|
contentType: "application/json",
|
1091
1091
|
responseType: "streaming",
|
1092
1092
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1140,7 +1140,7 @@ class LabTests {
|
|
1140
1140
|
const _response = yield core.fetcher({
|
1141
1141
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}/result/metadata`),
|
1142
1142
|
method: "GET",
|
1143
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1143
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.58", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1144
1144
|
contentType: "application/json",
|
1145
1145
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
1146
1146
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
@@ -1197,7 +1197,7 @@ class LabTests {
|
|
1197
1197
|
const _response = yield core.fetcher({
|
1198
1198
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}/result`),
|
1199
1199
|
method: "GET",
|
1200
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1200
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.58", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1201
1201
|
contentType: "application/json",
|
1202
1202
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
1203
1203
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
@@ -1257,7 +1257,7 @@ class LabTests {
|
|
1257
1257
|
const _response = yield core.fetcher({
|
1258
1258
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}/labels/pdf`),
|
1259
1259
|
method: "GET",
|
1260
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1260
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.58", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1261
1261
|
contentType: "application/json",
|
1262
1262
|
queryParameters: _queryParams,
|
1263
1263
|
responseType: "streaming",
|
@@ -1308,7 +1308,7 @@ class LabTests {
|
|
1308
1308
|
const _response = yield core.fetcher({
|
1309
1309
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}/requisition/pdf`),
|
1310
1310
|
method: "GET",
|
1311
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1311
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.58", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1312
1312
|
contentType: "application/json",
|
1313
1313
|
responseType: "streaming",
|
1314
1314
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1358,7 +1358,7 @@ class LabTests {
|
|
1358
1358
|
const _response = yield core.fetcher({
|
1359
1359
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}`),
|
1360
1360
|
method: "GET",
|
1361
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1361
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.58", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1362
1362
|
contentType: "application/json",
|
1363
1363
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
1364
1364
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
@@ -1412,7 +1412,7 @@ class LabTests {
|
|
1412
1412
|
const _response = yield core.fetcher({
|
1413
1413
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/order"),
|
1414
1414
|
method: "POST",
|
1415
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1415
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.58", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1416
1416
|
contentType: "application/json",
|
1417
1417
|
body: yield serializers.CreateOrderRequestCompatible.jsonOrThrow(request, {
|
1418
1418
|
unrecognizedObjectKeys: "strip",
|
@@ -1469,7 +1469,7 @@ class LabTests {
|
|
1469
1469
|
const _response = yield core.fetcher({
|
1470
1470
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}/cancel`),
|
1471
1471
|
method: "POST",
|
1472
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1472
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.58", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1473
1473
|
contentType: "application/json",
|
1474
1474
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
1475
1475
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
@@ -1534,7 +1534,7 @@ class LabTests {
|
|
1534
1534
|
const _response = yield core.fetcher({
|
1535
1535
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}/test`),
|
1536
1536
|
method: "POST",
|
1537
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1537
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.58", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1538
1538
|
contentType: "application/json",
|
1539
1539
|
queryParameters: _queryParams,
|
1540
1540
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1584,14 +1584,29 @@ class LabTests {
|
|
1584
1584
|
getOrders(request = {}, requestOptions) {
|
1585
1585
|
var _a;
|
1586
1586
|
return __awaiter(this, void 0, void 0, function* () {
|
1587
|
-
const { startDate, endDate, userId, patientName, shippingRecipientName, orderIds, page, size } = request;
|
1587
|
+
const { searchInput, startDate, endDate, updatedStartDate, updatedEndDate, orderKey, orderDirection, userId, patientName, shippingRecipientName, orderIds, page, size, } = request;
|
1588
1588
|
const _queryParams = {};
|
1589
|
+
if (searchInput != null) {
|
1590
|
+
_queryParams["search_input"] = searchInput;
|
1591
|
+
}
|
1589
1592
|
if (startDate != null) {
|
1590
1593
|
_queryParams["start_date"] = startDate.toISOString();
|
1591
1594
|
}
|
1592
1595
|
if (endDate != null) {
|
1593
1596
|
_queryParams["end_date"] = endDate.toISOString();
|
1594
1597
|
}
|
1598
|
+
if (updatedStartDate != null) {
|
1599
|
+
_queryParams["updated_start_date"] = updatedStartDate.toISOString();
|
1600
|
+
}
|
1601
|
+
if (updatedEndDate != null) {
|
1602
|
+
_queryParams["updated_end_date"] = updatedEndDate.toISOString();
|
1603
|
+
}
|
1604
|
+
if (orderKey != null) {
|
1605
|
+
_queryParams["order_key"] = orderKey;
|
1606
|
+
}
|
1607
|
+
if (orderDirection != null) {
|
1608
|
+
_queryParams["order_direction"] = orderDirection;
|
1609
|
+
}
|
1595
1610
|
if (userId != null) {
|
1596
1611
|
_queryParams["user_id"] = userId;
|
1597
1612
|
}
|
@@ -1618,7 +1633,7 @@ class LabTests {
|
|
1618
1633
|
const _response = yield core.fetcher({
|
1619
1634
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/orders"),
|
1620
1635
|
method: "GET",
|
1621
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1636
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.58", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1622
1637
|
contentType: "application/json",
|
1623
1638
|
queryParameters: _queryParams,
|
1624
1639
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1,11 +1,16 @@
|
|
1
1
|
/**
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
3
3
|
*/
|
4
|
+
import * as Vital from "../../../..";
|
4
5
|
/**
|
5
6
|
* @example
|
6
7
|
* {}
|
7
8
|
*/
|
8
9
|
export interface LabTestsGetOrdersRequest {
|
10
|
+
/**
|
11
|
+
* Search by order id, user id, patient name, shipping dob, or shipping recipient name.
|
12
|
+
*/
|
13
|
+
searchInput?: string;
|
9
14
|
/**
|
10
15
|
* Date from in YYYY-MM-DD or ISO formatted date time. If a date is provided without a time, the time will be set to 00:00:00
|
11
16
|
*/
|
@@ -14,6 +19,16 @@ export interface LabTestsGetOrdersRequest {
|
|
14
19
|
* Date to YYYY-MM-DD or ISO formatted date time. If a date is provided without a time, the time will be set to 23:59:59
|
15
20
|
*/
|
16
21
|
endDate?: Date;
|
22
|
+
/**
|
23
|
+
* Date from in YYYY-MM-DD or ISO formatted date time. If a date is provided without a time, the time will be set to 00:00:00
|
24
|
+
*/
|
25
|
+
updatedStartDate?: Date;
|
26
|
+
/**
|
27
|
+
* Date to YYYY-MM-DD or ISO formatted date time. If a date is provided without a time, the time will be set to 00:00:00
|
28
|
+
*/
|
29
|
+
updatedEndDate?: Date;
|
30
|
+
orderKey?: Vital.LabTestsGetOrdersRequestOrderKey;
|
31
|
+
orderDirection?: Vital.LabTestsGetOrdersRequestOrderDirection;
|
17
32
|
/**
|
18
33
|
* Filter by user ID.
|
19
34
|
*/
|
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./types"), exports);
|
17
18
|
__exportStar(require("./client"), exports);
|
@@ -0,0 +1,8 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
export declare type LabTestsGetOrdersRequestOrderDirection = "asc" | "desc";
|
5
|
+
export declare const LabTestsGetOrdersRequestOrderDirection: {
|
6
|
+
readonly Asc: "asc";
|
7
|
+
readonly Desc: "desc";
|
8
|
+
};
|
@@ -0,0 +1,10 @@
|
|
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.LabTestsGetOrdersRequestOrderDirection = void 0;
|
7
|
+
exports.LabTestsGetOrdersRequestOrderDirection = {
|
8
|
+
Asc: "asc",
|
9
|
+
Desc: "desc",
|
10
|
+
};
|
@@ -0,0 +1,9 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
export declare type LabTestsGetOrdersRequestOrderKey = "created_at" | "patient_name" | "last_status";
|
5
|
+
export declare const LabTestsGetOrdersRequestOrderKey: {
|
6
|
+
readonly CreatedAt: "created_at";
|
7
|
+
readonly PatientName: "patient_name";
|
8
|
+
readonly LastStatus: "last_status";
|
9
|
+
};
|
@@ -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.LabTestsGetOrdersRequestOrderKey = void 0;
|
7
|
+
exports.LabTestsGetOrdersRequestOrderKey = {
|
8
|
+
CreatedAt: "created_at",
|
9
|
+
PatientName: "patient_name",
|
10
|
+
LastStatus: "last_status",
|
11
|
+
};
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./LabTestsGetOrdersRequestOrderKey"), exports);
|
18
|
+
__exportStar(require("./LabTestsGetOrdersRequestOrderDirection"), exports);
|