@tryvital/vital-node 3.1.392 → 3.1.394
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.d.ts +12 -12
- package/Client.js +18 -18
- package/api/resources/activity/client/Client.js +2 -2
- package/api/resources/aggregate/client/Client.js +3 -3
- package/api/resources/body/client/Client.js +2 -2
- package/api/resources/devices/client/Client.js +1 -1
- package/api/resources/electrocardiogram/client/Client.js +1 -1
- package/api/resources/index.d.ts +9 -9
- package/api/resources/index.js +10 -10
- package/api/resources/insurance/client/Client.js +3 -3
- package/api/resources/introspect/client/Client.js +2 -2
- package/api/resources/labTests/client/Client.d.ts +122 -122
- package/api/resources/labTests/client/Client.js +788 -788
- package/api/resources/labTests/client/requests/index.d.ts +7 -7
- package/api/resources/labTests/types/index.d.ts +2 -2
- package/api/resources/labTests/types/index.js +2 -2
- package/api/resources/link/client/Client.js +19 -19
- package/api/resources/meal/client/Client.js +1 -1
- package/api/resources/menstrualCycle/client/Client.js +1 -1
- package/api/resources/order/client/Client.js +1 -1
- package/api/resources/payor/client/Client.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 +3 -3
- 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 +18 -18
- package/api/resources/vitals/client/Client.js +78 -78
- package/api/resources/workouts/client/Client.js +3 -3
- package/api/types/ClientFacingDeviceSourceType.d.ts +2 -1
- package/api/types/ClientFacingDeviceSourceType.js +1 -0
- package/api/types/ClientFacingElectrocardiogramSourceType.d.ts +2 -1
- package/api/types/ClientFacingElectrocardiogramSourceType.js +1 -0
- package/api/types/ClientFacingMenstrualCycleSourceType.d.ts +2 -1
- package/api/types/ClientFacingMenstrualCycleSourceType.js +1 -0
- package/api/types/ClientFacingSleepCycleSourceType.d.ts +2 -1
- package/api/types/ClientFacingSleepCycleSourceType.js +1 -0
- package/dist/Client.d.ts +12 -12
- package/dist/Client.js +18 -18
- package/dist/api/resources/activity/client/Client.js +2 -2
- package/dist/api/resources/aggregate/client/Client.js +3 -3
- package/dist/api/resources/body/client/Client.js +2 -2
- package/dist/api/resources/devices/client/Client.js +1 -1
- package/dist/api/resources/electrocardiogram/client/Client.js +1 -1
- package/dist/api/resources/index.d.ts +9 -9
- package/dist/api/resources/index.js +10 -10
- package/dist/api/resources/insurance/client/Client.js +3 -3
- package/dist/api/resources/introspect/client/Client.js +2 -2
- package/dist/api/resources/labTests/client/Client.d.ts +122 -122
- package/dist/api/resources/labTests/client/Client.js +788 -788
- package/dist/api/resources/labTests/client/requests/index.d.ts +7 -7
- package/dist/api/resources/labTests/types/index.d.ts +2 -2
- package/dist/api/resources/labTests/types/index.js +2 -2
- package/dist/api/resources/link/client/Client.js +19 -19
- package/dist/api/resources/meal/client/Client.js +1 -1
- package/dist/api/resources/menstrualCycle/client/Client.js +1 -1
- package/dist/api/resources/order/client/Client.js +1 -1
- package/dist/api/resources/payor/client/Client.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 +3 -3
- 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 +18 -18
- package/dist/api/resources/vitals/client/Client.js +78 -78
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/api/types/ClientFacingDeviceSourceType.d.ts +2 -1
- package/dist/api/types/ClientFacingDeviceSourceType.js +1 -0
- package/dist/api/types/ClientFacingElectrocardiogramSourceType.d.ts +2 -1
- package/dist/api/types/ClientFacingElectrocardiogramSourceType.js +1 -0
- package/dist/api/types/ClientFacingMenstrualCycleSourceType.d.ts +2 -1
- package/dist/api/types/ClientFacingMenstrualCycleSourceType.js +1 -0
- package/dist/api/types/ClientFacingSleepCycleSourceType.d.ts +2 -1
- package/dist/api/types/ClientFacingSleepCycleSourceType.js +1 -0
- package/dist/serialization/resources/index.d.ts +4 -4
- package/dist/serialization/resources/index.js +5 -5
- package/dist/serialization/resources/labTests/client/index.d.ts +2 -2
- package/dist/serialization/resources/labTests/client/index.js +3 -3
- package/dist/serialization/resources/labTests/client/requests/index.d.ts +2 -2
- package/dist/serialization/resources/labTests/client/requests/index.js +5 -5
- package/dist/serialization/resources/labTests/types/index.d.ts +2 -2
- package/dist/serialization/resources/labTests/types/index.js +2 -2
- package/dist/serialization/types/ClientFacingDeviceSourceType.d.ts +1 -1
- package/dist/serialization/types/ClientFacingDeviceSourceType.js +1 -0
- package/dist/serialization/types/ClientFacingElectrocardiogramSourceType.d.ts +1 -1
- package/dist/serialization/types/ClientFacingElectrocardiogramSourceType.js +1 -0
- package/dist/serialization/types/ClientFacingMenstrualCycleSourceType.d.ts +1 -1
- package/dist/serialization/types/ClientFacingMenstrualCycleSourceType.js +1 -0
- package/dist/serialization/types/ClientFacingSleepCycleSourceType.d.ts +1 -1
- package/dist/serialization/types/ClientFacingSleepCycleSourceType.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +1577 -1577
- package/serialization/resources/index.d.ts +4 -4
- package/serialization/resources/index.js +5 -5
- package/serialization/resources/labTests/client/index.d.ts +2 -2
- package/serialization/resources/labTests/client/index.js +3 -3
- package/serialization/resources/labTests/client/requests/index.d.ts +2 -2
- package/serialization/resources/labTests/client/requests/index.js +5 -5
- package/serialization/resources/labTests/types/index.d.ts +2 -2
- package/serialization/resources/labTests/types/index.js +2 -2
- package/serialization/types/ClientFacingDeviceSourceType.d.ts +1 -1
- package/serialization/types/ClientFacingDeviceSourceType.js +1 -0
- package/serialization/types/ClientFacingElectrocardiogramSourceType.d.ts +1 -1
- package/serialization/types/ClientFacingElectrocardiogramSourceType.js +1 -0
- package/serialization/types/ClientFacingMenstrualCycleSourceType.d.ts +1 -1
- package/serialization/types/ClientFacingMenstrualCycleSourceType.js +1 -0
- package/serialization/types/ClientFacingSleepCycleSourceType.d.ts +1 -1
- package/serialization/types/ClientFacingSleepCycleSourceType.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -78,7 +78,7 @@ class Workouts {
|
|
|
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/summary/workouts/${encodeURIComponent(userId)}`),
|
|
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.394", "User-Agent": "@tryvital/vital-node/3.1.394", "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
|
requestType: "json",
|
|
@@ -154,7 +154,7 @@ class Workouts {
|
|
|
154
154
|
const _response = yield core.fetcher({
|
|
155
155
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/workouts/${encodeURIComponent(userId)}/raw`),
|
|
156
156
|
method: "GET",
|
|
157
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
|
157
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.394", "User-Agent": "@tryvital/vital-node/3.1.394", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
158
158
|
contentType: "application/json",
|
|
159
159
|
queryParameters: _queryParams,
|
|
160
160
|
requestType: "json",
|
|
@@ -216,7 +216,7 @@ class Workouts {
|
|
|
216
216
|
const _response = yield core.fetcher({
|
|
217
217
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/workouts/${encodeURIComponent(workoutId)}/stream`),
|
|
218
218
|
method: "GET",
|
|
219
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
|
219
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.394", "User-Agent": "@tryvital/vital-node/3.1.394", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
220
220
|
contentType: "application/json",
|
|
221
221
|
requestType: "json",
|
|
222
222
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* ℹ️ This enum is non-exhaustive.
|
|
6
6
|
*/
|
|
7
|
-
export declare type ClientFacingDeviceSourceType = "unknown" | "phone" | "watch" | "app" | "multiple_sources" | "fingerprick" | "cuff" | "manual_scan" | "automatic" | "scale" | "chest_strap" | "ring" | "lab" | "exercise_machine";
|
|
7
|
+
export declare type ClientFacingDeviceSourceType = "unknown" | "phone" | "watch" | "app" | "multiple_sources" | "fingerprick" | "cuff" | "manual_scan" | "automatic" | "scale" | "chest_strap" | "ring" | "lab" | "exercise_machine" | "earphone";
|
|
8
8
|
export declare const ClientFacingDeviceSourceType: {
|
|
9
9
|
readonly Unknown: "unknown";
|
|
10
10
|
readonly Phone: "phone";
|
|
@@ -20,4 +20,5 @@ export declare const ClientFacingDeviceSourceType: {
|
|
|
20
20
|
readonly Ring: "ring";
|
|
21
21
|
readonly Lab: "lab";
|
|
22
22
|
readonly ExerciseMachine: "exercise_machine";
|
|
23
|
+
readonly Earphone: "earphone";
|
|
23
24
|
};
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* ℹ️ This enum is non-exhaustive.
|
|
6
6
|
*/
|
|
7
|
-
export declare type ClientFacingElectrocardiogramSourceType = "unknown" | "phone" | "watch" | "app" | "multiple_sources" | "fingerprick" | "cuff" | "manual_scan" | "automatic" | "scale" | "chest_strap" | "ring" | "lab" | "exercise_machine";
|
|
7
|
+
export declare type ClientFacingElectrocardiogramSourceType = "unknown" | "phone" | "watch" | "app" | "multiple_sources" | "fingerprick" | "cuff" | "manual_scan" | "automatic" | "scale" | "chest_strap" | "ring" | "lab" | "exercise_machine" | "earphone";
|
|
8
8
|
export declare const ClientFacingElectrocardiogramSourceType: {
|
|
9
9
|
readonly Unknown: "unknown";
|
|
10
10
|
readonly Phone: "phone";
|
|
@@ -20,4 +20,5 @@ export declare const ClientFacingElectrocardiogramSourceType: {
|
|
|
20
20
|
readonly Ring: "ring";
|
|
21
21
|
readonly Lab: "lab";
|
|
22
22
|
readonly ExerciseMachine: "exercise_machine";
|
|
23
|
+
readonly Earphone: "earphone";
|
|
23
24
|
};
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* ℹ️ This enum is non-exhaustive.
|
|
6
6
|
*/
|
|
7
|
-
export declare type ClientFacingMenstrualCycleSourceType = "unknown" | "phone" | "watch" | "app" | "multiple_sources" | "fingerprick" | "cuff" | "manual_scan" | "automatic" | "scale" | "chest_strap" | "ring" | "lab" | "exercise_machine";
|
|
7
|
+
export declare type ClientFacingMenstrualCycleSourceType = "unknown" | "phone" | "watch" | "app" | "multiple_sources" | "fingerprick" | "cuff" | "manual_scan" | "automatic" | "scale" | "chest_strap" | "ring" | "lab" | "exercise_machine" | "earphone";
|
|
8
8
|
export declare const ClientFacingMenstrualCycleSourceType: {
|
|
9
9
|
readonly Unknown: "unknown";
|
|
10
10
|
readonly Phone: "phone";
|
|
@@ -20,4 +20,5 @@ export declare const ClientFacingMenstrualCycleSourceType: {
|
|
|
20
20
|
readonly Ring: "ring";
|
|
21
21
|
readonly Lab: "lab";
|
|
22
22
|
readonly ExerciseMachine: "exercise_machine";
|
|
23
|
+
readonly Earphone: "earphone";
|
|
23
24
|
};
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* ℹ️ This enum is non-exhaustive.
|
|
6
6
|
*/
|
|
7
|
-
export declare type ClientFacingSleepCycleSourceType = "unknown" | "phone" | "watch" | "app" | "multiple_sources" | "fingerprick" | "cuff" | "manual_scan" | "automatic" | "scale" | "chest_strap" | "ring" | "lab" | "exercise_machine";
|
|
7
|
+
export declare type ClientFacingSleepCycleSourceType = "unknown" | "phone" | "watch" | "app" | "multiple_sources" | "fingerprick" | "cuff" | "manual_scan" | "automatic" | "scale" | "chest_strap" | "ring" | "lab" | "exercise_machine" | "earphone";
|
|
8
8
|
export declare const ClientFacingSleepCycleSourceType: {
|
|
9
9
|
readonly Unknown: "unknown";
|
|
10
10
|
readonly Phone: "phone";
|
|
@@ -20,4 +20,5 @@ export declare const ClientFacingSleepCycleSourceType: {
|
|
|
20
20
|
readonly Ring: "ring";
|
|
21
21
|
readonly Lab: "lab";
|
|
22
22
|
readonly ExerciseMachine: "exercise_machine";
|
|
23
|
+
readonly Earphone: "earphone";
|
|
23
24
|
};
|
package/dist/Client.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import * as environments from "./environments";
|
|
5
5
|
import * as core from "./core";
|
|
6
6
|
import { User } from "./api/resources/user/client/Client";
|
|
7
|
-
import {
|
|
7
|
+
import { Team } from "./api/resources/team/client/Client";
|
|
8
8
|
import { Link } from "./api/resources/link/client/Client";
|
|
9
9
|
import { Providers } from "./api/resources/providers/client/Client";
|
|
10
10
|
import { Electrocardiogram } from "./api/resources/electrocardiogram/client/Client";
|
|
@@ -17,11 +17,11 @@ import { Sleep } from "./api/resources/sleep/client/Client";
|
|
|
17
17
|
import { Body } from "./api/resources/body/client/Client";
|
|
18
18
|
import { Meal } from "./api/resources/meal/client/Client";
|
|
19
19
|
import { MenstrualCycle } from "./api/resources/menstrualCycle/client/Client";
|
|
20
|
-
import { Testkit } from "./api/resources/testkit/client/Client";
|
|
21
|
-
import { Order } from "./api/resources/order/client/Client";
|
|
22
20
|
import { Vitals } from "./api/resources/vitals/client/Client";
|
|
23
|
-
import { Team } from "./api/resources/team/client/Client";
|
|
24
21
|
import { Introspect } from "./api/resources/introspect/client/Client";
|
|
22
|
+
import { LabTests } from "./api/resources/labTests/client/Client";
|
|
23
|
+
import { Testkit } from "./api/resources/testkit/client/Client";
|
|
24
|
+
import { Order } from "./api/resources/order/client/Client";
|
|
25
25
|
import { Insurance } from "./api/resources/insurance/client/Client";
|
|
26
26
|
import { Payor } from "./api/resources/payor/client/Client";
|
|
27
27
|
import { Aggregate } from "./api/resources/aggregate/client/Client";
|
|
@@ -44,8 +44,8 @@ export declare class VitalClient {
|
|
|
44
44
|
constructor(_options?: VitalClient.Options);
|
|
45
45
|
protected _user: User | undefined;
|
|
46
46
|
get user(): User;
|
|
47
|
-
protected
|
|
48
|
-
get
|
|
47
|
+
protected _team: Team | undefined;
|
|
48
|
+
get team(): Team;
|
|
49
49
|
protected _link: Link | undefined;
|
|
50
50
|
get link(): Link;
|
|
51
51
|
protected _providers: Providers | undefined;
|
|
@@ -70,16 +70,16 @@ export declare class VitalClient {
|
|
|
70
70
|
get meal(): Meal;
|
|
71
71
|
protected _menstrualCycle: MenstrualCycle | undefined;
|
|
72
72
|
get menstrualCycle(): MenstrualCycle;
|
|
73
|
-
protected _testkit: Testkit | undefined;
|
|
74
|
-
get testkit(): Testkit;
|
|
75
|
-
protected _order: Order | undefined;
|
|
76
|
-
get order(): Order;
|
|
77
73
|
protected _vitals: Vitals | undefined;
|
|
78
74
|
get vitals(): Vitals;
|
|
79
|
-
protected _team: Team | undefined;
|
|
80
|
-
get team(): Team;
|
|
81
75
|
protected _introspect: Introspect | undefined;
|
|
82
76
|
get introspect(): Introspect;
|
|
77
|
+
protected _labTests: LabTests | undefined;
|
|
78
|
+
get labTests(): LabTests;
|
|
79
|
+
protected _testkit: Testkit | undefined;
|
|
80
|
+
get testkit(): Testkit;
|
|
81
|
+
protected _order: Order | undefined;
|
|
82
|
+
get order(): Order;
|
|
83
83
|
protected _insurance: Insurance | undefined;
|
|
84
84
|
get insurance(): Insurance;
|
|
85
85
|
protected _payor: Payor | undefined;
|
package/dist/Client.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.VitalClient = void 0;
|
|
7
7
|
const Client_1 = require("./api/resources/user/client/Client");
|
|
8
|
-
const Client_2 = require("./api/resources/
|
|
8
|
+
const Client_2 = require("./api/resources/team/client/Client");
|
|
9
9
|
const Client_3 = require("./api/resources/link/client/Client");
|
|
10
10
|
const Client_4 = require("./api/resources/providers/client/Client");
|
|
11
11
|
const Client_5 = require("./api/resources/electrocardiogram/client/Client");
|
|
@@ -18,11 +18,11 @@ const Client_11 = require("./api/resources/sleep/client/Client");
|
|
|
18
18
|
const Client_12 = require("./api/resources/body/client/Client");
|
|
19
19
|
const Client_13 = require("./api/resources/meal/client/Client");
|
|
20
20
|
const Client_14 = require("./api/resources/menstrualCycle/client/Client");
|
|
21
|
-
const Client_15 = require("./api/resources/
|
|
22
|
-
const Client_16 = require("./api/resources/
|
|
23
|
-
const Client_17 = require("./api/resources/
|
|
24
|
-
const Client_18 = require("./api/resources/
|
|
25
|
-
const Client_19 = require("./api/resources/
|
|
21
|
+
const Client_15 = require("./api/resources/vitals/client/Client");
|
|
22
|
+
const Client_16 = require("./api/resources/introspect/client/Client");
|
|
23
|
+
const Client_17 = require("./api/resources/labTests/client/Client");
|
|
24
|
+
const Client_18 = require("./api/resources/testkit/client/Client");
|
|
25
|
+
const Client_19 = require("./api/resources/order/client/Client");
|
|
26
26
|
const Client_20 = require("./api/resources/insurance/client/Client");
|
|
27
27
|
const Client_21 = require("./api/resources/payor/client/Client");
|
|
28
28
|
const Client_22 = require("./api/resources/aggregate/client/Client");
|
|
@@ -34,9 +34,9 @@ class VitalClient {
|
|
|
34
34
|
var _a;
|
|
35
35
|
return ((_a = this._user) !== null && _a !== void 0 ? _a : (this._user = new Client_1.User(this._options)));
|
|
36
36
|
}
|
|
37
|
-
get
|
|
37
|
+
get team() {
|
|
38
38
|
var _a;
|
|
39
|
-
return ((_a = this.
|
|
39
|
+
return ((_a = this._team) !== null && _a !== void 0 ? _a : (this._team = new Client_2.Team(this._options)));
|
|
40
40
|
}
|
|
41
41
|
get link() {
|
|
42
42
|
var _a;
|
|
@@ -86,25 +86,25 @@ class VitalClient {
|
|
|
86
86
|
var _a;
|
|
87
87
|
return ((_a = this._menstrualCycle) !== null && _a !== void 0 ? _a : (this._menstrualCycle = new Client_14.MenstrualCycle(this._options)));
|
|
88
88
|
}
|
|
89
|
-
get
|
|
89
|
+
get vitals() {
|
|
90
90
|
var _a;
|
|
91
|
-
return ((_a = this.
|
|
91
|
+
return ((_a = this._vitals) !== null && _a !== void 0 ? _a : (this._vitals = new Client_15.Vitals(this._options)));
|
|
92
92
|
}
|
|
93
|
-
get
|
|
93
|
+
get introspect() {
|
|
94
94
|
var _a;
|
|
95
|
-
return ((_a = this.
|
|
95
|
+
return ((_a = this._introspect) !== null && _a !== void 0 ? _a : (this._introspect = new Client_16.Introspect(this._options)));
|
|
96
96
|
}
|
|
97
|
-
get
|
|
97
|
+
get labTests() {
|
|
98
98
|
var _a;
|
|
99
|
-
return ((_a = this.
|
|
99
|
+
return ((_a = this._labTests) !== null && _a !== void 0 ? _a : (this._labTests = new Client_17.LabTests(this._options)));
|
|
100
100
|
}
|
|
101
|
-
get
|
|
101
|
+
get testkit() {
|
|
102
102
|
var _a;
|
|
103
|
-
return ((_a = this.
|
|
103
|
+
return ((_a = this._testkit) !== null && _a !== void 0 ? _a : (this._testkit = new Client_18.Testkit(this._options)));
|
|
104
104
|
}
|
|
105
|
-
get
|
|
105
|
+
get order() {
|
|
106
106
|
var _a;
|
|
107
|
-
return ((_a = this.
|
|
107
|
+
return ((_a = this._order) !== null && _a !== void 0 ? _a : (this._order = new Client_19.Order(this._options)));
|
|
108
108
|
}
|
|
109
109
|
get insurance() {
|
|
110
110
|
var _a;
|
|
@@ -78,7 +78,7 @@ class Activity {
|
|
|
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/summary/activity/${encodeURIComponent(userId)}`),
|
|
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.394", "User-Agent": "@tryvital/vital-node/3.1.394", "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
|
requestType: "json",
|
|
@@ -154,7 +154,7 @@ class Activity {
|
|
|
154
154
|
const _response = yield core.fetcher({
|
|
155
155
|
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/${encodeURIComponent(userId)}/raw`),
|
|
156
156
|
method: "GET",
|
|
157
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
|
157
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.394", "User-Agent": "@tryvital/vital-node/3.1.394", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
158
158
|
contentType: "application/json",
|
|
159
159
|
queryParameters: _queryParams,
|
|
160
160
|
requestType: "json",
|
|
@@ -81,7 +81,7 @@ class Aggregate {
|
|
|
81
81
|
const _response = yield core.fetcher({
|
|
82
82
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `aggregate/v1/user/${encodeURIComponent(userId)}/query`),
|
|
83
83
|
method: "POST",
|
|
84
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
|
84
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.394", "User-Agent": "@tryvital/vital-node/3.1.394", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, accept: "*/*" }, (yield this._getCustomAuthorizationHeaders())),
|
|
85
85
|
contentType: "application/json",
|
|
86
86
|
requestType: "json",
|
|
87
87
|
body: serializers.QueryBatch.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -144,7 +144,7 @@ class Aggregate {
|
|
|
144
144
|
const _response = yield core.fetcher({
|
|
145
145
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `aggregate/v1/user/${encodeURIComponent(userId)}/continuous_query/${encodeURIComponent(queryIdOrSlug)}/result_table`),
|
|
146
146
|
method: "GET",
|
|
147
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
|
147
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.394", "User-Agent": "@tryvital/vital-node/3.1.394", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, accept: "*/*" }, (yield this._getCustomAuthorizationHeaders())),
|
|
148
148
|
contentType: "application/json",
|
|
149
149
|
requestType: "json",
|
|
150
150
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -215,7 +215,7 @@ class Aggregate {
|
|
|
215
215
|
const _response = yield core.fetcher({
|
|
216
216
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `aggregate/v1/user/${encodeURIComponent(userId)}/continuous_query/${encodeURIComponent(queryIdOrSlug)}/task_history`),
|
|
217
217
|
method: "GET",
|
|
218
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
|
218
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.394", "User-Agent": "@tryvital/vital-node/3.1.394", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
219
219
|
contentType: "application/json",
|
|
220
220
|
queryParameters: _queryParams,
|
|
221
221
|
requestType: "json",
|
|
@@ -78,7 +78,7 @@ class Body {
|
|
|
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/summary/body/${encodeURIComponent(userId)}`),
|
|
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.394", "User-Agent": "@tryvital/vital-node/3.1.394", "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
|
requestType: "json",
|
|
@@ -154,7 +154,7 @@ class Body {
|
|
|
154
154
|
const _response = yield core.fetcher({
|
|
155
155
|
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/${encodeURIComponent(userId)}/raw`),
|
|
156
156
|
method: "GET",
|
|
157
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
|
157
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.394", "User-Agent": "@tryvital/vital-node/3.1.394", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
158
158
|
contentType: "application/json",
|
|
159
159
|
queryParameters: _queryParams,
|
|
160
160
|
requestType: "json",
|
|
@@ -72,7 +72,7 @@ class Devices {
|
|
|
72
72
|
const _response = yield core.fetcher({
|
|
73
73
|
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/${encodeURIComponent(userId)}/raw`),
|
|
74
74
|
method: "GET",
|
|
75
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
|
75
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.394", "User-Agent": "@tryvital/vital-node/3.1.394", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
76
76
|
contentType: "application/json",
|
|
77
77
|
queryParameters: _queryParams,
|
|
78
78
|
requestType: "json",
|
|
@@ -78,7 +78,7 @@ class Electrocardiogram {
|
|
|
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/summary/electrocardiogram/${encodeURIComponent(userId)}`),
|
|
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.394", "User-Agent": "@tryvital/vital-node/3.1.394", "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
|
requestType: "json",
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
export * as labTests from "./labTests";
|
|
2
|
-
export * from "./labTests/types";
|
|
3
1
|
export * as link from "./link";
|
|
4
2
|
export * from "./link/types";
|
|
3
|
+
export * as labTests from "./labTests";
|
|
4
|
+
export * from "./labTests/types";
|
|
5
5
|
export * as aggregate from "./aggregate";
|
|
6
6
|
export * from "./aggregate/types";
|
|
7
7
|
export * as user from "./user";
|
|
8
|
+
export * as team from "./team";
|
|
8
9
|
export * as providers from "./providers";
|
|
9
10
|
export * as electrocardiogram from "./electrocardiogram";
|
|
10
11
|
export * as sleepCycle from "./sleepCycle";
|
|
@@ -16,15 +17,14 @@ export * as sleep from "./sleep";
|
|
|
16
17
|
export * as body from "./body";
|
|
17
18
|
export * as meal from "./meal";
|
|
18
19
|
export * as menstrualCycle from "./menstrualCycle";
|
|
19
|
-
export * as testkit from "./testkit";
|
|
20
|
-
export * as order from "./order";
|
|
21
20
|
export * as vitals from "./vitals";
|
|
22
|
-
export * as team from "./team";
|
|
23
21
|
export * as introspect from "./introspect";
|
|
22
|
+
export * as testkit from "./testkit";
|
|
23
|
+
export * as order from "./order";
|
|
24
24
|
export * as insurance from "./insurance";
|
|
25
25
|
export * as payor from "./payor";
|
|
26
26
|
export * from "./user/client/requests";
|
|
27
|
-
export * from "./
|
|
27
|
+
export * from "./team/client/requests";
|
|
28
28
|
export * from "./link/client/requests";
|
|
29
29
|
export * from "./providers/client/requests";
|
|
30
30
|
export * from "./electrocardiogram/client/requests";
|
|
@@ -37,11 +37,11 @@ export * from "./sleep/client/requests";
|
|
|
37
37
|
export * from "./body/client/requests";
|
|
38
38
|
export * from "./meal/client/requests";
|
|
39
39
|
export * from "./menstrualCycle/client/requests";
|
|
40
|
-
export * from "./testkit/client/requests";
|
|
41
|
-
export * from "./order/client/requests";
|
|
42
40
|
export * from "./vitals/client/requests";
|
|
43
|
-
export * from "./team/client/requests";
|
|
44
41
|
export * from "./introspect/client/requests";
|
|
42
|
+
export * from "./labTests/client/requests";
|
|
43
|
+
export * from "./testkit/client/requests";
|
|
44
|
+
export * from "./order/client/requests";
|
|
45
45
|
export * from "./insurance/client/requests";
|
|
46
46
|
export * from "./payor/client/requests";
|
|
47
47
|
export * from "./aggregate/client/requests";
|
|
@@ -26,14 +26,15 @@ 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.payor = exports.insurance = exports.
|
|
30
|
-
exports.labTests = __importStar(require("./labTests"));
|
|
31
|
-
__exportStar(require("./labTests/types"), exports);
|
|
29
|
+
exports.payor = exports.insurance = exports.order = exports.testkit = exports.introspect = exports.vitals = exports.menstrualCycle = exports.meal = exports.body = exports.sleep = exports.workouts = exports.activity = exports.devices = exports.profile = exports.sleepCycle = exports.electrocardiogram = exports.providers = exports.team = exports.user = exports.aggregate = exports.labTests = exports.link = void 0;
|
|
32
30
|
exports.link = __importStar(require("./link"));
|
|
33
31
|
__exportStar(require("./link/types"), exports);
|
|
32
|
+
exports.labTests = __importStar(require("./labTests"));
|
|
33
|
+
__exportStar(require("./labTests/types"), exports);
|
|
34
34
|
exports.aggregate = __importStar(require("./aggregate"));
|
|
35
35
|
__exportStar(require("./aggregate/types"), exports);
|
|
36
36
|
exports.user = __importStar(require("./user"));
|
|
37
|
+
exports.team = __importStar(require("./team"));
|
|
37
38
|
exports.providers = __importStar(require("./providers"));
|
|
38
39
|
exports.electrocardiogram = __importStar(require("./electrocardiogram"));
|
|
39
40
|
exports.sleepCycle = __importStar(require("./sleepCycle"));
|
|
@@ -45,15 +46,14 @@ exports.sleep = __importStar(require("./sleep"));
|
|
|
45
46
|
exports.body = __importStar(require("./body"));
|
|
46
47
|
exports.meal = __importStar(require("./meal"));
|
|
47
48
|
exports.menstrualCycle = __importStar(require("./menstrualCycle"));
|
|
48
|
-
exports.testkit = __importStar(require("./testkit"));
|
|
49
|
-
exports.order = __importStar(require("./order"));
|
|
50
49
|
exports.vitals = __importStar(require("./vitals"));
|
|
51
|
-
exports.team = __importStar(require("./team"));
|
|
52
50
|
exports.introspect = __importStar(require("./introspect"));
|
|
51
|
+
exports.testkit = __importStar(require("./testkit"));
|
|
52
|
+
exports.order = __importStar(require("./order"));
|
|
53
53
|
exports.insurance = __importStar(require("./insurance"));
|
|
54
54
|
exports.payor = __importStar(require("./payor"));
|
|
55
55
|
__exportStar(require("./user/client/requests"), exports);
|
|
56
|
-
__exportStar(require("./
|
|
56
|
+
__exportStar(require("./team/client/requests"), exports);
|
|
57
57
|
__exportStar(require("./link/client/requests"), exports);
|
|
58
58
|
__exportStar(require("./providers/client/requests"), exports);
|
|
59
59
|
__exportStar(require("./electrocardiogram/client/requests"), exports);
|
|
@@ -66,11 +66,11 @@ __exportStar(require("./sleep/client/requests"), exports);
|
|
|
66
66
|
__exportStar(require("./body/client/requests"), exports);
|
|
67
67
|
__exportStar(require("./meal/client/requests"), exports);
|
|
68
68
|
__exportStar(require("./menstrualCycle/client/requests"), exports);
|
|
69
|
-
__exportStar(require("./testkit/client/requests"), exports);
|
|
70
|
-
__exportStar(require("./order/client/requests"), exports);
|
|
71
69
|
__exportStar(require("./vitals/client/requests"), exports);
|
|
72
|
-
__exportStar(require("./team/client/requests"), exports);
|
|
73
70
|
__exportStar(require("./introspect/client/requests"), exports);
|
|
71
|
+
__exportStar(require("./labTests/client/requests"), exports);
|
|
72
|
+
__exportStar(require("./testkit/client/requests"), exports);
|
|
73
|
+
__exportStar(require("./order/client/requests"), exports);
|
|
74
74
|
__exportStar(require("./insurance/client/requests"), exports);
|
|
75
75
|
__exportStar(require("./payor/client/requests"), exports);
|
|
76
76
|
__exportStar(require("./aggregate/client/requests"), exports);
|
|
@@ -75,7 +75,7 @@ class Insurance {
|
|
|
75
75
|
const _response = yield core.fetcher({
|
|
76
76
|
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"),
|
|
77
77
|
method: "GET",
|
|
78
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
|
78
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.394", "User-Agent": "@tryvital/vital-node/3.1.394", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
79
79
|
contentType: "application/json",
|
|
80
80
|
queryParameters: _queryParams,
|
|
81
81
|
requestType: "json",
|
|
@@ -137,7 +137,7 @@ class Insurance {
|
|
|
137
137
|
const _response = yield core.fetcher({
|
|
138
138
|
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"),
|
|
139
139
|
method: "POST",
|
|
140
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
|
140
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.394", "User-Agent": "@tryvital/vital-node/3.1.394", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
141
141
|
contentType: "application/json",
|
|
142
142
|
requestType: "json",
|
|
143
143
|
body: serializers.PayorSearchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -204,7 +204,7 @@ class Insurance {
|
|
|
204
204
|
const _response = yield core.fetcher({
|
|
205
205
|
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"),
|
|
206
206
|
method: "GET",
|
|
207
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
|
207
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.394", "User-Agent": "@tryvital/vital-node/3.1.394", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
208
208
|
contentType: "application/json",
|
|
209
209
|
queryParameters: _queryParams,
|
|
210
210
|
requestType: "json",
|
|
@@ -81,7 +81,7 @@ class Introspect {
|
|
|
81
81
|
const _response = yield core.fetcher({
|
|
82
82
|
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"),
|
|
83
83
|
method: "GET",
|
|
84
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
|
84
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.394", "User-Agent": "@tryvital/vital-node/3.1.394", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
85
85
|
contentType: "application/json",
|
|
86
86
|
queryParameters: _queryParams,
|
|
87
87
|
requestType: "json",
|
|
@@ -160,7 +160,7 @@ class Introspect {
|
|
|
160
160
|
const _response = yield core.fetcher({
|
|
161
161
|
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"),
|
|
162
162
|
method: "GET",
|
|
163
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
|
163
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.394", "User-Agent": "@tryvital/vital-node/3.1.394", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
164
164
|
contentType: "application/json",
|
|
165
165
|
queryParameters: _queryParams,
|
|
166
166
|
requestType: "json",
|