@tryvital/vital-node 3.1.230 → 3.1.232
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 +2 -2
- package/api/resources/body/client/Client.js +2 -2
- package/api/resources/devices/client/Client.js +1 -1
- package/api/resources/electrocardiogram/client/Client.js +1 -1
- package/api/resources/insurance/client/Client.js +3 -3
- package/api/resources/introspect/client/Client.js +2 -2
- package/api/resources/labTests/client/Client.js +37 -37
- package/api/resources/link/client/Client.d.ts +10 -0
- package/api/resources/link/client/Client.js +86 -19
- package/api/resources/link/client/requests/BulkImportConnectionsBody.d.ts +9 -0
- package/api/resources/link/client/requests/BulkTriggerHistoricalPullBody.d.ts +9 -0
- package/api/resources/link/client/requests/LinkListBulkOpsRequest.d.ts +10 -0
- package/api/resources/link/client/requests/LinkListBulkOpsRequest.js +5 -0
- package/api/resources/link/client/requests/index.d.ts +1 -0
- package/api/resources/meal/client/Client.js +1 -1
- package/api/resources/menstrualCycle/client/Client.js +1 -1
- package/api/resources/order/client/Client.js +1 -1
- package/api/resources/profile/client/Client.js +2 -2
- package/api/resources/providers/client/Client.js +1 -1
- package/api/resources/sleep/client/Client.js +4 -4
- package/api/resources/sleepCycle/client/Client.js +1 -1
- package/api/resources/team/client/Client.js +7 -7
- package/api/resources/testkit/client/Client.js +2 -2
- package/api/resources/user/client/Client.js +16 -16
- package/api/resources/user/client/requests/UserInfoCreateRequest.d.ts +5 -0
- package/api/resources/vitals/client/Client.js +75 -75
- package/api/resources/workouts/client/Client.js +3 -3
- package/api/types/BulkOp.d.ts +13 -0
- package/api/types/BulkOp.js +5 -0
- package/api/types/BulkOpStatus.d.ts +10 -0
- package/api/types/BulkOpStatus.js +12 -0
- package/api/types/BulkOpType.d.ts +8 -0
- package/api/types/BulkOpType.js +10 -0
- package/api/types/BulkOpsResponse.d.ts +8 -0
- package/api/types/BulkOpsResponse.js +5 -0
- package/api/types/ClientFacingPatientDetailsCompatible.d.ts +11 -0
- package/api/types/Ethnicity.d.ts +10 -0
- package/api/types/Ethnicity.js +12 -0
- package/api/types/GenderIdentity.d.ts +12 -0
- package/api/types/GenderIdentity.js +14 -0
- package/api/types/GuarantorDetails.d.ts +2 -0
- package/api/types/PatientDetailsWithValidation.d.ts +10 -0
- package/api/types/Race.d.ts +12 -0
- package/api/types/Race.js +14 -0
- package/api/types/SexualOrientation.d.ts +11 -0
- package/api/types/SexualOrientation.js +13 -0
- package/api/types/UserInfo.d.ts +5 -0
- package/api/types/index.d.ts +8 -0
- package/api/types/index.js +8 -0
- package/dist/api/resources/activity/client/Client.js +2 -2
- package/dist/api/resources/aggregate/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/electrocardiogram/client/Client.js +1 -1
- package/dist/api/resources/insurance/client/Client.js +3 -3
- package/dist/api/resources/introspect/client/Client.js +2 -2
- package/dist/api/resources/labTests/client/Client.js +37 -37
- package/dist/api/resources/link/client/Client.d.ts +10 -0
- package/dist/api/resources/link/client/Client.js +86 -19
- package/dist/api/resources/link/client/requests/BulkImportConnectionsBody.d.ts +9 -0
- package/dist/api/resources/link/client/requests/BulkTriggerHistoricalPullBody.d.ts +9 -0
- package/dist/api/resources/link/client/requests/LinkListBulkOpsRequest.d.ts +10 -0
- package/dist/api/resources/link/client/requests/LinkListBulkOpsRequest.js +5 -0
- package/dist/api/resources/link/client/requests/index.d.ts +1 -0
- package/dist/api/resources/meal/client/Client.js +1 -1
- package/dist/api/resources/menstrualCycle/client/Client.js +1 -1
- package/dist/api/resources/order/client/Client.js +1 -1
- package/dist/api/resources/profile/client/Client.js +2 -2
- package/dist/api/resources/providers/client/Client.js +1 -1
- package/dist/api/resources/sleep/client/Client.js +4 -4
- package/dist/api/resources/sleepCycle/client/Client.js +1 -1
- package/dist/api/resources/team/client/Client.js +7 -7
- package/dist/api/resources/testkit/client/Client.js +2 -2
- package/dist/api/resources/user/client/Client.js +16 -16
- package/dist/api/resources/user/client/requests/UserInfoCreateRequest.d.ts +5 -0
- package/dist/api/resources/vitals/client/Client.js +75 -75
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/api/types/BulkOp.d.ts +13 -0
- package/dist/api/types/BulkOp.js +5 -0
- package/dist/api/types/BulkOpStatus.d.ts +10 -0
- package/dist/api/types/BulkOpStatus.js +12 -0
- package/dist/api/types/BulkOpType.d.ts +8 -0
- package/dist/api/types/BulkOpType.js +10 -0
- package/dist/api/types/BulkOpsResponse.d.ts +8 -0
- package/dist/api/types/BulkOpsResponse.js +5 -0
- package/dist/api/types/ClientFacingPatientDetailsCompatible.d.ts +11 -0
- package/dist/api/types/Ethnicity.d.ts +10 -0
- package/dist/api/types/Ethnicity.js +12 -0
- package/dist/api/types/GenderIdentity.d.ts +12 -0
- package/dist/api/types/GenderIdentity.js +14 -0
- package/dist/api/types/GuarantorDetails.d.ts +2 -0
- package/dist/api/types/PatientDetailsWithValidation.d.ts +10 -0
- package/dist/api/types/Race.d.ts +12 -0
- package/dist/api/types/Race.js +14 -0
- package/dist/api/types/SexualOrientation.d.ts +11 -0
- package/dist/api/types/SexualOrientation.js +13 -0
- package/dist/api/types/UserInfo.d.ts +5 -0
- package/dist/api/types/index.d.ts +8 -0
- package/dist/api/types/index.js +8 -0
- package/dist/serialization/resources/link/client/requests/BulkImportConnectionsBody.d.ts +1 -0
- package/dist/serialization/resources/link/client/requests/BulkImportConnectionsBody.js +1 -0
- package/dist/serialization/resources/link/client/requests/BulkTriggerHistoricalPullBody.d.ts +1 -0
- package/dist/serialization/resources/link/client/requests/BulkTriggerHistoricalPullBody.js +1 -0
- package/dist/serialization/resources/user/client/requests/UserInfoCreateRequest.d.ts +10 -0
- package/dist/serialization/resources/user/client/requests/UserInfoCreateRequest.js +10 -0
- package/dist/serialization/types/BulkOp.d.ts +21 -0
- package/dist/serialization/types/BulkOp.js +42 -0
- package/dist/serialization/types/BulkOpStatus.d.ts +10 -0
- package/dist/serialization/types/BulkOpStatus.js +31 -0
- package/dist/serialization/types/BulkOpType.d.ts +10 -0
- package/dist/serialization/types/BulkOpType.js +31 -0
- package/dist/serialization/types/BulkOpsResponse.d.ts +14 -0
- package/dist/serialization/types/BulkOpsResponse.js +35 -0
- package/dist/serialization/types/ClientFacingPatientDetailsCompatible.d.ts +10 -0
- package/dist/serialization/types/ClientFacingPatientDetailsCompatible.js +10 -0
- package/dist/serialization/types/Ethnicity.d.ts +10 -0
- package/dist/serialization/types/Ethnicity.js +31 -0
- package/dist/serialization/types/GenderIdentity.d.ts +10 -0
- package/dist/serialization/types/GenderIdentity.js +38 -0
- package/dist/serialization/types/GuarantorDetails.d.ts +2 -0
- package/dist/serialization/types/GuarantorDetails.js +2 -0
- package/dist/serialization/types/PatientDetailsWithValidation.d.ts +10 -0
- package/dist/serialization/types/PatientDetailsWithValidation.js +10 -0
- package/dist/serialization/types/Race.d.ts +10 -0
- package/dist/serialization/types/Race.js +38 -0
- package/dist/serialization/types/SexualOrientation.d.ts +10 -0
- package/dist/serialization/types/SexualOrientation.js +37 -0
- package/dist/serialization/types/UserInfo.d.ts +10 -0
- package/dist/serialization/types/UserInfo.js +10 -0
- package/dist/serialization/types/index.d.ts +8 -0
- package/dist/serialization/types/index.js +8 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +48 -0
- package/serialization/resources/link/client/requests/BulkImportConnectionsBody.d.ts +1 -0
- package/serialization/resources/link/client/requests/BulkImportConnectionsBody.js +1 -0
- package/serialization/resources/link/client/requests/BulkTriggerHistoricalPullBody.d.ts +1 -0
- package/serialization/resources/link/client/requests/BulkTriggerHistoricalPullBody.js +1 -0
- package/serialization/resources/user/client/requests/UserInfoCreateRequest.d.ts +10 -0
- package/serialization/resources/user/client/requests/UserInfoCreateRequest.js +10 -0
- package/serialization/types/BulkOp.d.ts +21 -0
- package/serialization/types/BulkOp.js +42 -0
- package/serialization/types/BulkOpStatus.d.ts +10 -0
- package/serialization/types/BulkOpStatus.js +31 -0
- package/serialization/types/BulkOpType.d.ts +10 -0
- package/serialization/types/BulkOpType.js +31 -0
- package/serialization/types/BulkOpsResponse.d.ts +14 -0
- package/serialization/types/BulkOpsResponse.js +35 -0
- package/serialization/types/ClientFacingPatientDetailsCompatible.d.ts +10 -0
- package/serialization/types/ClientFacingPatientDetailsCompatible.js +10 -0
- package/serialization/types/Ethnicity.d.ts +10 -0
- package/serialization/types/Ethnicity.js +31 -0
- package/serialization/types/GenderIdentity.d.ts +10 -0
- package/serialization/types/GenderIdentity.js +38 -0
- package/serialization/types/GuarantorDetails.d.ts +2 -0
- package/serialization/types/GuarantorDetails.js +2 -0
- package/serialization/types/PatientDetailsWithValidation.d.ts +10 -0
- package/serialization/types/PatientDetailsWithValidation.js +10 -0
- package/serialization/types/Race.d.ts +10 -0
- package/serialization/types/Race.js +38 -0
- package/serialization/types/SexualOrientation.d.ts +10 -0
- package/serialization/types/SexualOrientation.js +37 -0
- package/serialization/types/UserInfo.d.ts +10 -0
- package/serialization/types/UserInfo.js +10 -0
- package/serialization/types/index.d.ts +8 -0
- package/serialization/types/index.js +8 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
@@ -105,7 +105,7 @@ class LabTests {
|
|
105
105
|
const _response = yield core.fetcher({
|
106
106
|
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"),
|
107
107
|
method: "GET",
|
108
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
108
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.232", "User-Agent": "@tryvital/vital-node/3.1.232", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
109
109
|
contentType: "application/json",
|
110
110
|
queryParameters: _queryParams,
|
111
111
|
requestType: "json",
|
@@ -171,7 +171,7 @@ class LabTests {
|
|
171
171
|
const _response = yield core.fetcher({
|
172
172
|
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"),
|
173
173
|
method: "POST",
|
174
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
174
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.232", "User-Agent": "@tryvital/vital-node/3.1.232", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
175
175
|
contentType: "application/json",
|
176
176
|
requestType: "json",
|
177
177
|
body: serializers.CreateLabTestRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
@@ -235,7 +235,7 @@ class LabTests {
|
|
235
235
|
const _response = yield core.fetcher({
|
236
236
|
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/${encodeURIComponent(labTestId)}`),
|
237
237
|
method: "GET",
|
238
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
238
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.232", "User-Agent": "@tryvital/vital-node/3.1.232", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
239
239
|
contentType: "application/json",
|
240
240
|
requestType: "json",
|
241
241
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -297,7 +297,7 @@ class LabTests {
|
|
297
297
|
const _response = yield core.fetcher({
|
298
298
|
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/${encodeURIComponent(labTestId)}`),
|
299
299
|
method: "PATCH",
|
300
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
300
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.232", "User-Agent": "@tryvital/vital-node/3.1.232", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
301
301
|
contentType: "application/json",
|
302
302
|
requestType: "json",
|
303
303
|
body: serializers.UpdateLabTestRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
@@ -383,7 +383,7 @@ class LabTests {
|
|
383
383
|
const _response = yield core.fetcher({
|
384
384
|
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"),
|
385
385
|
method: "GET",
|
386
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
386
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.232", "User-Agent": "@tryvital/vital-node/3.1.232", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
387
387
|
contentType: "application/json",
|
388
388
|
queryParameters: _queryParams,
|
389
389
|
requestType: "json",
|
@@ -455,7 +455,7 @@ class LabTests {
|
|
455
455
|
const _response = yield core.fetcher({
|
456
456
|
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/list_order_set_markers"),
|
457
457
|
method: "POST",
|
458
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
458
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.232", "User-Agent": "@tryvital/vital-node/3.1.232", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
459
459
|
contentType: "application/json",
|
460
460
|
queryParameters: _queryParams,
|
461
461
|
requestType: "json",
|
@@ -527,7 +527,7 @@ class LabTests {
|
|
527
527
|
const _response = yield core.fetcher({
|
528
528
|
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/${encodeURIComponent(labTestId)}/markers`),
|
529
529
|
method: "GET",
|
530
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
530
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.232", "User-Agent": "@tryvital/vital-node/3.1.232", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
531
531
|
contentType: "application/json",
|
532
532
|
queryParameters: _queryParams,
|
533
533
|
requestType: "json",
|
@@ -592,7 +592,7 @@ class LabTests {
|
|
592
592
|
const _response = yield core.fetcher({
|
593
593
|
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/${encodeURIComponent(labId)}/markers/${encodeURIComponent(providerId)}`),
|
594
594
|
method: "GET",
|
595
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
595
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.232", "User-Agent": "@tryvital/vital-node/3.1.232", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
596
596
|
contentType: "application/json",
|
597
597
|
requestType: "json",
|
598
598
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -652,7 +652,7 @@ class LabTests {
|
|
652
652
|
const _response = yield core.fetcher({
|
653
653
|
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"),
|
654
654
|
method: "GET",
|
655
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
655
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.232", "User-Agent": "@tryvital/vital-node/3.1.232", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
656
656
|
contentType: "application/json",
|
657
657
|
requestType: "json",
|
658
658
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -750,7 +750,7 @@ class LabTests {
|
|
750
750
|
const _response = yield core.fetcher({
|
751
751
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/lab_test"),
|
752
752
|
method: "GET",
|
753
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
753
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.232", "User-Agent": "@tryvital/vital-node/3.1.232", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
754
754
|
contentType: "application/json",
|
755
755
|
queryParameters: _queryParams,
|
756
756
|
requestType: "json",
|
@@ -827,7 +827,7 @@ class LabTests {
|
|
827
827
|
const _response = yield core.fetcher({
|
828
828
|
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"),
|
829
829
|
method: "POST",
|
830
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
830
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.232", "User-Agent": "@tryvital/vital-node/3.1.232", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
831
831
|
contentType: "application/json",
|
832
832
|
queryParameters: _queryParams,
|
833
833
|
requestType: "json",
|
@@ -895,7 +895,7 @@ class LabTests {
|
|
895
895
|
const _response = yield core.fetcher({
|
896
896
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${encodeURIComponent(orderId)}/phlebotomy/appointment/book`),
|
897
897
|
method: "POST",
|
898
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
898
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.232", "User-Agent": "@tryvital/vital-node/3.1.232", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
899
899
|
contentType: "application/json",
|
900
900
|
requestType: "json",
|
901
901
|
body: serializers.AppointmentBookingRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
@@ -968,7 +968,7 @@ class LabTests {
|
|
968
968
|
const _response = yield core.fetcher({
|
969
969
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${encodeURIComponent(orderId)}/phlebotomy/appointment/request`),
|
970
970
|
method: "POST",
|
971
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
971
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.232", "User-Agent": "@tryvital/vital-node/3.1.232", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
972
972
|
contentType: "application/json",
|
973
973
|
requestType: "json",
|
974
974
|
body: serializers.RequestAppointmentRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
@@ -1035,7 +1035,7 @@ class LabTests {
|
|
1035
1035
|
const _response = yield core.fetcher({
|
1036
1036
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${encodeURIComponent(orderId)}/phlebotomy/appointment/reschedule`),
|
1037
1037
|
method: "PATCH",
|
1038
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1038
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.232", "User-Agent": "@tryvital/vital-node/3.1.232", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1039
1039
|
contentType: "application/json",
|
1040
1040
|
requestType: "json",
|
1041
1041
|
body: serializers.AppointmentRescheduleRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
@@ -1102,7 +1102,7 @@ class LabTests {
|
|
1102
1102
|
const _response = yield core.fetcher({
|
1103
1103
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${encodeURIComponent(orderId)}/phlebotomy/appointment/cancel`),
|
1104
1104
|
method: "PATCH",
|
1105
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1105
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.232", "User-Agent": "@tryvital/vital-node/3.1.232", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1106
1106
|
contentType: "application/json",
|
1107
1107
|
requestType: "json",
|
1108
1108
|
body: serializers.ApiApiV1EndpointsVitalApiLabTestingOrdersHelpersAppointmentCancelRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
@@ -1163,7 +1163,7 @@ class LabTests {
|
|
1163
1163
|
const _response = yield core.fetcher({
|
1164
1164
|
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"),
|
1165
1165
|
method: "GET",
|
1166
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1166
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.232", "User-Agent": "@tryvital/vital-node/3.1.232", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1167
1167
|
contentType: "application/json",
|
1168
1168
|
requestType: "json",
|
1169
1169
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1216,7 +1216,7 @@ class LabTests {
|
|
1216
1216
|
const _response = yield core.fetcher({
|
1217
1217
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${encodeURIComponent(orderId)}/phlebotomy/appointment`),
|
1218
1218
|
method: "GET",
|
1219
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1219
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.232", "User-Agent": "@tryvital/vital-node/3.1.232", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1220
1220
|
contentType: "application/json",
|
1221
1221
|
requestType: "json",
|
1222
1222
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1294,7 +1294,7 @@ class LabTests {
|
|
1294
1294
|
const _response = yield core.fetcher({
|
1295
1295
|
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"),
|
1296
1296
|
method: "GET",
|
1297
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1297
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.232", "User-Agent": "@tryvital/vital-node/3.1.232", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1298
1298
|
contentType: "application/json",
|
1299
1299
|
queryParameters: _queryParams,
|
1300
1300
|
requestType: "json",
|
@@ -1366,7 +1366,7 @@ class LabTests {
|
|
1366
1366
|
const _response = yield core.fetcher({
|
1367
1367
|
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"),
|
1368
1368
|
method: "GET",
|
1369
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1369
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.232", "User-Agent": "@tryvital/vital-node/3.1.232", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1370
1370
|
contentType: "application/json",
|
1371
1371
|
queryParameters: _queryParams,
|
1372
1372
|
requestType: "json",
|
@@ -1434,7 +1434,7 @@ class LabTests {
|
|
1434
1434
|
const _response = yield core.fetcher({
|
1435
1435
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${encodeURIComponent(orderId)}/psc/info`),
|
1436
1436
|
method: "GET",
|
1437
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1437
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.232", "User-Agent": "@tryvital/vital-node/3.1.232", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1438
1438
|
contentType: "application/json",
|
1439
1439
|
queryParameters: _queryParams,
|
1440
1440
|
requestType: "json",
|
@@ -1491,7 +1491,7 @@ class LabTests {
|
|
1491
1491
|
const _response = yield core.fetcher({
|
1492
1492
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${encodeURIComponent(orderId)}/result/pdf`),
|
1493
1493
|
method: "GET",
|
1494
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1494
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.232", "User-Agent": "@tryvital/vital-node/3.1.232", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1495
1495
|
contentType: "application/json",
|
1496
1496
|
requestType: "json",
|
1497
1497
|
responseType: "streaming",
|
@@ -1551,7 +1551,7 @@ class LabTests {
|
|
1551
1551
|
const _response = yield core.fetcher({
|
1552
1552
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${encodeURIComponent(orderId)}/result/metadata`),
|
1553
1553
|
method: "GET",
|
1554
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1554
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.232", "User-Agent": "@tryvital/vital-node/3.1.232", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1555
1555
|
contentType: "application/json",
|
1556
1556
|
requestType: "json",
|
1557
1557
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1614,7 +1614,7 @@ class LabTests {
|
|
1614
1614
|
const _response = yield core.fetcher({
|
1615
1615
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${encodeURIComponent(orderId)}/result`),
|
1616
1616
|
method: "GET",
|
1617
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1617
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.232", "User-Agent": "@tryvital/vital-node/3.1.232", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1618
1618
|
contentType: "application/json",
|
1619
1619
|
requestType: "json",
|
1620
1620
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1676,7 +1676,7 @@ class LabTests {
|
|
1676
1676
|
const _response = yield core.fetcher({
|
1677
1677
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${encodeURIComponent(orderId)}/labels/pdf`),
|
1678
1678
|
method: "GET",
|
1679
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1679
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.232", "User-Agent": "@tryvital/vital-node/3.1.232", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1680
1680
|
contentType: "application/json",
|
1681
1681
|
queryParameters: _queryParams,
|
1682
1682
|
requestType: "json",
|
@@ -1756,7 +1756,7 @@ class LabTests {
|
|
1756
1756
|
const _response = yield core.fetcher({
|
1757
1757
|
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/appointment/availability"),
|
1758
1758
|
method: "POST",
|
1759
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1759
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.232", "User-Agent": "@tryvital/vital-node/3.1.232", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1760
1760
|
contentType: "application/json",
|
1761
1761
|
queryParameters: _queryParams,
|
1762
1762
|
requestType: "json",
|
@@ -1821,7 +1821,7 @@ class LabTests {
|
|
1821
1821
|
const _response = yield core.fetcher({
|
1822
1822
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${encodeURIComponent(orderId)}/psc/appointment/book`),
|
1823
1823
|
method: "POST",
|
1824
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1824
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.232", "User-Agent": "@tryvital/vital-node/3.1.232", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1825
1825
|
contentType: "application/json",
|
1826
1826
|
requestType: "json",
|
1827
1827
|
body: serializers.AppointmentBookingRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
@@ -1886,7 +1886,7 @@ class LabTests {
|
|
1886
1886
|
const _response = yield core.fetcher({
|
1887
1887
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${encodeURIComponent(orderId)}/psc/appointment/reschedule`),
|
1888
1888
|
method: "PATCH",
|
1889
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1889
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.232", "User-Agent": "@tryvital/vital-node/3.1.232", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1890
1890
|
contentType: "application/json",
|
1891
1891
|
requestType: "json",
|
1892
1892
|
body: serializers.AppointmentRescheduleRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
@@ -1951,7 +1951,7 @@ class LabTests {
|
|
1951
1951
|
const _response = yield core.fetcher({
|
1952
1952
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${encodeURIComponent(orderId)}/psc/appointment/cancel`),
|
1953
1953
|
method: "PATCH",
|
1954
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1954
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.232", "User-Agent": "@tryvital/vital-node/3.1.232", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1955
1955
|
contentType: "application/json",
|
1956
1956
|
requestType: "json",
|
1957
1957
|
body: serializers.VitalCoreClientsLabTestGetlabsSchemaAppointmentCancelRequest.jsonOrThrow(request, {
|
@@ -2012,7 +2012,7 @@ class LabTests {
|
|
2012
2012
|
const _response = yield core.fetcher({
|
2013
2013
|
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/appointment/cancellation-reasons"),
|
2014
2014
|
method: "GET",
|
2015
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2015
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.232", "User-Agent": "@tryvital/vital-node/3.1.232", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2016
2016
|
contentType: "application/json",
|
2017
2017
|
requestType: "json",
|
2018
2018
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -2065,7 +2065,7 @@ class LabTests {
|
|
2065
2065
|
const _response = yield core.fetcher({
|
2066
2066
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${encodeURIComponent(orderId)}/psc/appointment`),
|
2067
2067
|
method: "GET",
|
2068
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2068
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.232", "User-Agent": "@tryvital/vital-node/3.1.232", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2069
2069
|
contentType: "application/json",
|
2070
2070
|
requestType: "json",
|
2071
2071
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -2121,7 +2121,7 @@ class LabTests {
|
|
2121
2121
|
const _response = yield core.fetcher({
|
2122
2122
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${encodeURIComponent(orderId)}/requisition/pdf`),
|
2123
2123
|
method: "GET",
|
2124
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2124
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.232", "User-Agent": "@tryvital/vital-node/3.1.232", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2125
2125
|
contentType: "application/json",
|
2126
2126
|
requestType: "json",
|
2127
2127
|
responseType: "streaming",
|
@@ -2180,7 +2180,7 @@ class LabTests {
|
|
2180
2180
|
const _response = yield core.fetcher({
|
2181
2181
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${encodeURIComponent(orderId)}`),
|
2182
2182
|
method: "GET",
|
2183
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2183
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.232", "User-Agent": "@tryvital/vital-node/3.1.232", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2184
2184
|
contentType: "application/json",
|
2185
2185
|
requestType: "json",
|
2186
2186
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -2260,7 +2260,7 @@ class LabTests {
|
|
2260
2260
|
const _response = yield core.fetcher({
|
2261
2261
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/order"),
|
2262
2262
|
method: "POST",
|
2263
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2263
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.232", "User-Agent": "@tryvital/vital-node/3.1.232", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2264
2264
|
contentType: "application/json",
|
2265
2265
|
requestType: "json",
|
2266
2266
|
body: serializers.CreateOrderRequestCompatible.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
@@ -2344,7 +2344,7 @@ class LabTests {
|
|
2344
2344
|
const _response = yield core.fetcher({
|
2345
2345
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/order/import"),
|
2346
2346
|
method: "POST",
|
2347
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2347
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.232", "User-Agent": "@tryvital/vital-node/3.1.232", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2348
2348
|
contentType: "application/json",
|
2349
2349
|
requestType: "json",
|
2350
2350
|
body: serializers.ImportOrderBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
@@ -2408,7 +2408,7 @@ class LabTests {
|
|
2408
2408
|
const _response = yield core.fetcher({
|
2409
2409
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${encodeURIComponent(orderId)}/cancel`),
|
2410
2410
|
method: "POST",
|
2411
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2411
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.232", "User-Agent": "@tryvital/vital-node/3.1.232", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2412
2412
|
contentType: "application/json",
|
2413
2413
|
requestType: "json",
|
2414
2414
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -2480,7 +2480,7 @@ class LabTests {
|
|
2480
2480
|
const _response = yield core.fetcher({
|
2481
2481
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${encodeURIComponent(orderId)}/test`),
|
2482
2482
|
method: "POST",
|
2483
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2483
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.232", "User-Agent": "@tryvital/vital-node/3.1.232", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2484
2484
|
contentType: "application/json",
|
2485
2485
|
queryParameters: _queryParams,
|
2486
2486
|
requestType: "json",
|
@@ -2585,7 +2585,7 @@ class LabTests {
|
|
2585
2585
|
const _response = yield core.fetcher({
|
2586
2586
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/orders"),
|
2587
2587
|
method: "GET",
|
2588
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2588
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.232", "User-Agent": "@tryvital/vital-node/3.1.232", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2589
2589
|
contentType: "application/json",
|
2590
2590
|
queryParameters: _queryParams,
|
2591
2591
|
requestType: "json",
|
@@ -21,6 +21,16 @@ export declare namespace Link {
|
|
21
21
|
export declare class Link {
|
22
22
|
protected readonly _options: Link.Options;
|
23
23
|
constructor(_options?: Link.Options);
|
24
|
+
/**
|
25
|
+
* @param {Vital.LinkListBulkOpsRequest} request
|
26
|
+
* @param {Link.RequestOptions} requestOptions - Request-specific configuration.
|
27
|
+
*
|
28
|
+
* @throws {@link Vital.UnprocessableEntityError}
|
29
|
+
*
|
30
|
+
* @example
|
31
|
+
* await client.link.listBulkOps()
|
32
|
+
*/
|
33
|
+
listBulkOps(request?: Vital.LinkListBulkOpsRequest, requestOptions?: Link.RequestOptions): Promise<Vital.BulkOpsResponse>;
|
24
34
|
/**
|
25
35
|
* @param {Vital.BulkImportConnectionsBody} request
|
26
36
|
* @param {Link.RequestOptions} requestOptions - Request-specific configuration.
|