@tryvital/vital-node 3.1.267 → 3.1.269
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 +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/insurance/client/Client.js +3 -3
- package/api/resources/introspect/client/Client.js +2 -2
- package/api/resources/labTests/client/Client.js +40 -40
- 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/profile/client/Client.js +2 -2
- package/api/resources/providers/client/Client.js +1 -1
- package/api/resources/sleep/client/Client.js +4 -4
- package/api/resources/sleepCycle/client/Client.js +1 -1
- package/api/resources/team/client/Client.js +7 -7
- package/api/resources/testkit/client/Client.js +2 -2
- package/api/resources/user/client/Client.js +16 -16
- package/api/resources/vitals/client/Client.js +78 -78
- package/api/resources/workouts/client/Client.js +3 -3
- package/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/insurance/client/Client.js +3 -3
- package/dist/api/resources/introspect/client/Client.js +2 -2
- package/dist/api/resources/labTests/client/Client.js +40 -40
- 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/profile/client/Client.js +2 -2
- package/dist/api/resources/providers/client/Client.js +1 -1
- package/dist/api/resources/sleep/client/Client.js +4 -4
- package/dist/api/resources/sleepCycle/client/Client.js +1 -1
- package/dist/api/resources/team/client/Client.js +7 -7
- package/dist/api/resources/testkit/client/Client.js +2 -2
- package/dist/api/resources/user/client/Client.js +16 -16
- package/dist/api/resources/vitals/client/Client.js +78 -78
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
@@ -82,7 +82,7 @@ class Vitals {
|
|
82
82
|
const _response = yield core.fetcher({
|
83
83
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/workout_swimming_stroke/grouped`),
|
84
84
|
method: "GET",
|
85
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
85
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
86
86
|
contentType: "application/json",
|
87
87
|
queryParameters: _queryParams,
|
88
88
|
requestType: "json",
|
@@ -162,7 +162,7 @@ class Vitals {
|
|
162
162
|
const _response = yield core.fetcher({
|
163
163
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/workout_distance/grouped`),
|
164
164
|
method: "GET",
|
165
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
165
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
166
166
|
contentType: "application/json",
|
167
167
|
queryParameters: _queryParams,
|
168
168
|
requestType: "json",
|
@@ -242,7 +242,7 @@ class Vitals {
|
|
242
242
|
const _response = yield core.fetcher({
|
243
243
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/heart_rate_recovery_one_minute/grouped`),
|
244
244
|
method: "GET",
|
245
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
245
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
246
246
|
contentType: "application/json",
|
247
247
|
queryParameters: _queryParams,
|
248
248
|
requestType: "json",
|
@@ -322,7 +322,7 @@ class Vitals {
|
|
322
322
|
const _response = yield core.fetcher({
|
323
323
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/waist_circumference/grouped`),
|
324
324
|
method: "GET",
|
325
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
325
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
326
326
|
contentType: "application/json",
|
327
327
|
queryParameters: _queryParams,
|
328
328
|
requestType: "json",
|
@@ -402,7 +402,7 @@ class Vitals {
|
|
402
402
|
const _response = yield core.fetcher({
|
403
403
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/lean_body_mass/grouped`),
|
404
404
|
method: "GET",
|
405
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
405
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
406
406
|
contentType: "application/json",
|
407
407
|
queryParameters: _queryParams,
|
408
408
|
requestType: "json",
|
@@ -482,7 +482,7 @@ class Vitals {
|
|
482
482
|
const _response = yield core.fetcher({
|
483
483
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/body_mass_index/grouped`),
|
484
484
|
method: "GET",
|
485
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
485
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
486
486
|
contentType: "application/json",
|
487
487
|
queryParameters: _queryParams,
|
488
488
|
requestType: "json",
|
@@ -562,7 +562,7 @@ class Vitals {
|
|
562
562
|
const _response = yield core.fetcher({
|
563
563
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/basal_body_temperature/grouped`),
|
564
564
|
method: "GET",
|
565
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
565
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
566
566
|
contentType: "application/json",
|
567
567
|
queryParameters: _queryParams,
|
568
568
|
requestType: "json",
|
@@ -642,7 +642,7 @@ class Vitals {
|
|
642
642
|
const _response = yield core.fetcher({
|
643
643
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/handwashing/grouped`),
|
644
644
|
method: "GET",
|
645
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
645
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
646
646
|
contentType: "application/json",
|
647
647
|
queryParameters: _queryParams,
|
648
648
|
requestType: "json",
|
@@ -722,7 +722,7 @@ class Vitals {
|
|
722
722
|
const _response = yield core.fetcher({
|
723
723
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/daylight_exposure/grouped`),
|
724
724
|
method: "GET",
|
725
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
725
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
726
726
|
contentType: "application/json",
|
727
727
|
queryParameters: _queryParams,
|
728
728
|
requestType: "json",
|
@@ -802,7 +802,7 @@ class Vitals {
|
|
802
802
|
const _response = yield core.fetcher({
|
803
803
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/uv_exposure/grouped`),
|
804
804
|
method: "GET",
|
805
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
805
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
806
806
|
contentType: "application/json",
|
807
807
|
queryParameters: _queryParams,
|
808
808
|
requestType: "json",
|
@@ -882,7 +882,7 @@ class Vitals {
|
|
882
882
|
const _response = yield core.fetcher({
|
883
883
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/fall/grouped`),
|
884
884
|
method: "GET",
|
885
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
885
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
886
886
|
contentType: "application/json",
|
887
887
|
queryParameters: _queryParams,
|
888
888
|
requestType: "json",
|
@@ -962,7 +962,7 @@ class Vitals {
|
|
962
962
|
const _response = yield core.fetcher({
|
963
963
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/inhaler_usage/grouped`),
|
964
964
|
method: "GET",
|
965
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
965
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
966
966
|
contentType: "application/json",
|
967
967
|
queryParameters: _queryParams,
|
968
968
|
requestType: "json",
|
@@ -1042,7 +1042,7 @@ class Vitals {
|
|
1042
1042
|
const _response = yield core.fetcher({
|
1043
1043
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/peak_expiratory_flow_rate/grouped`),
|
1044
1044
|
method: "GET",
|
1045
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1045
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1046
1046
|
contentType: "application/json",
|
1047
1047
|
queryParameters: _queryParams,
|
1048
1048
|
requestType: "json",
|
@@ -1122,7 +1122,7 @@ class Vitals {
|
|
1122
1122
|
const _response = yield core.fetcher({
|
1123
1123
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/forced_vital_capacity/grouped`),
|
1124
1124
|
method: "GET",
|
1125
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1125
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1126
1126
|
contentType: "application/json",
|
1127
1127
|
queryParameters: _queryParams,
|
1128
1128
|
requestType: "json",
|
@@ -1202,7 +1202,7 @@ class Vitals {
|
|
1202
1202
|
const _response = yield core.fetcher({
|
1203
1203
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/forced_expiratory_volume_1/grouped`),
|
1204
1204
|
method: "GET",
|
1205
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1205
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1206
1206
|
contentType: "application/json",
|
1207
1207
|
queryParameters: _queryParams,
|
1208
1208
|
requestType: "json",
|
@@ -1282,7 +1282,7 @@ class Vitals {
|
|
1282
1282
|
const _response = yield core.fetcher({
|
1283
1283
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/wheelchair_push/grouped`),
|
1284
1284
|
method: "GET",
|
1285
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1285
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1286
1286
|
contentType: "application/json",
|
1287
1287
|
queryParameters: _queryParams,
|
1288
1288
|
requestType: "json",
|
@@ -1362,7 +1362,7 @@ class Vitals {
|
|
1362
1362
|
const _response = yield core.fetcher({
|
1363
1363
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/sleep_breathing_disturbance/grouped`),
|
1364
1364
|
method: "GET",
|
1365
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1365
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1366
1366
|
contentType: "application/json",
|
1367
1367
|
queryParameters: _queryParams,
|
1368
1368
|
requestType: "json",
|
@@ -1442,7 +1442,7 @@ class Vitals {
|
|
1442
1442
|
const _response = yield core.fetcher({
|
1443
1443
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/sleep_apnea_alert/grouped`),
|
1444
1444
|
method: "GET",
|
1445
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1445
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1446
1446
|
contentType: "application/json",
|
1447
1447
|
queryParameters: _queryParams,
|
1448
1448
|
requestType: "json",
|
@@ -1522,7 +1522,7 @@ class Vitals {
|
|
1522
1522
|
const _response = yield core.fetcher({
|
1523
1523
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/stand_duration/grouped`),
|
1524
1524
|
method: "GET",
|
1525
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1525
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1526
1526
|
contentType: "application/json",
|
1527
1527
|
queryParameters: _queryParams,
|
1528
1528
|
requestType: "json",
|
@@ -1602,7 +1602,7 @@ class Vitals {
|
|
1602
1602
|
const _response = yield core.fetcher({
|
1603
1603
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/stand_hour/grouped`),
|
1604
1604
|
method: "GET",
|
1605
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1605
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1606
1606
|
contentType: "application/json",
|
1607
1607
|
queryParameters: _queryParams,
|
1608
1608
|
requestType: "json",
|
@@ -1682,7 +1682,7 @@ class Vitals {
|
|
1682
1682
|
const _response = yield core.fetcher({
|
1683
1683
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/heart_rate_alert/grouped`),
|
1684
1684
|
method: "GET",
|
1685
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1685
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1686
1686
|
contentType: "application/json",
|
1687
1687
|
queryParameters: _queryParams,
|
1688
1688
|
requestType: "json",
|
@@ -1762,7 +1762,7 @@ class Vitals {
|
|
1762
1762
|
const _response = yield core.fetcher({
|
1763
1763
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/afib_burden/grouped`),
|
1764
1764
|
method: "GET",
|
1765
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1765
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1766
1766
|
contentType: "application/json",
|
1767
1767
|
queryParameters: _queryParams,
|
1768
1768
|
requestType: "json",
|
@@ -1842,7 +1842,7 @@ class Vitals {
|
|
1842
1842
|
const _response = yield core.fetcher({
|
1843
1843
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/workout_duration/grouped`),
|
1844
1844
|
method: "GET",
|
1845
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1845
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1846
1846
|
contentType: "application/json",
|
1847
1847
|
queryParameters: _queryParams,
|
1848
1848
|
requestType: "json",
|
@@ -1922,7 +1922,7 @@ class Vitals {
|
|
1922
1922
|
const _response = yield core.fetcher({
|
1923
1923
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/vo2_max/grouped`),
|
1924
1924
|
method: "GET",
|
1925
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1925
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1926
1926
|
contentType: "application/json",
|
1927
1927
|
queryParameters: _queryParams,
|
1928
1928
|
requestType: "json",
|
@@ -2002,7 +2002,7 @@ class Vitals {
|
|
2002
2002
|
const _response = yield core.fetcher({
|
2003
2003
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/stress_level/grouped`),
|
2004
2004
|
method: "GET",
|
2005
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2005
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2006
2006
|
contentType: "application/json",
|
2007
2007
|
queryParameters: _queryParams,
|
2008
2008
|
requestType: "json",
|
@@ -2082,7 +2082,7 @@ class Vitals {
|
|
2082
2082
|
const _response = yield core.fetcher({
|
2083
2083
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/mindfulness_minutes/grouped`),
|
2084
2084
|
method: "GET",
|
2085
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2085
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2086
2086
|
contentType: "application/json",
|
2087
2087
|
queryParameters: _queryParams,
|
2088
2088
|
requestType: "json",
|
@@ -2162,7 +2162,7 @@ class Vitals {
|
|
2162
2162
|
const _response = yield core.fetcher({
|
2163
2163
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/caffeine/grouped`),
|
2164
2164
|
method: "GET",
|
2165
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2165
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2166
2166
|
contentType: "application/json",
|
2167
2167
|
queryParameters: _queryParams,
|
2168
2168
|
requestType: "json",
|
@@ -2242,7 +2242,7 @@ class Vitals {
|
|
2242
2242
|
const _response = yield core.fetcher({
|
2243
2243
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/water/grouped`),
|
2244
2244
|
method: "GET",
|
2245
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2245
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2246
2246
|
contentType: "application/json",
|
2247
2247
|
queryParameters: _queryParams,
|
2248
2248
|
requestType: "json",
|
@@ -2322,7 +2322,7 @@ class Vitals {
|
|
2322
2322
|
const _response = yield core.fetcher({
|
2323
2323
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/steps/grouped`),
|
2324
2324
|
method: "GET",
|
2325
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2325
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2326
2326
|
contentType: "application/json",
|
2327
2327
|
queryParameters: _queryParams,
|
2328
2328
|
requestType: "json",
|
@@ -2402,7 +2402,7 @@ class Vitals {
|
|
2402
2402
|
const _response = yield core.fetcher({
|
2403
2403
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/floors_climbed/grouped`),
|
2404
2404
|
method: "GET",
|
2405
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2405
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2406
2406
|
contentType: "application/json",
|
2407
2407
|
queryParameters: _queryParams,
|
2408
2408
|
requestType: "json",
|
@@ -2482,7 +2482,7 @@ class Vitals {
|
|
2482
2482
|
const _response = yield core.fetcher({
|
2483
2483
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/distance/grouped`),
|
2484
2484
|
method: "GET",
|
2485
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2485
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2486
2486
|
contentType: "application/json",
|
2487
2487
|
queryParameters: _queryParams,
|
2488
2488
|
requestType: "json",
|
@@ -2562,7 +2562,7 @@ class Vitals {
|
|
2562
2562
|
const _response = yield core.fetcher({
|
2563
2563
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/calories_basal/grouped`),
|
2564
2564
|
method: "GET",
|
2565
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2565
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2566
2566
|
contentType: "application/json",
|
2567
2567
|
queryParameters: _queryParams,
|
2568
2568
|
requestType: "json",
|
@@ -2642,7 +2642,7 @@ class Vitals {
|
|
2642
2642
|
const _response = yield core.fetcher({
|
2643
2643
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/calories_active/grouped`),
|
2644
2644
|
method: "GET",
|
2645
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2645
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2646
2646
|
contentType: "application/json",
|
2647
2647
|
queryParameters: _queryParams,
|
2648
2648
|
requestType: "json",
|
@@ -2722,7 +2722,7 @@ class Vitals {
|
|
2722
2722
|
const _response = yield core.fetcher({
|
2723
2723
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/respiratory_rate/grouped`),
|
2724
2724
|
method: "GET",
|
2725
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2725
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2726
2726
|
contentType: "application/json",
|
2727
2727
|
queryParameters: _queryParams,
|
2728
2728
|
requestType: "json",
|
@@ -2802,7 +2802,7 @@ class Vitals {
|
|
2802
2802
|
const _response = yield core.fetcher({
|
2803
2803
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/note/grouped`),
|
2804
2804
|
method: "GET",
|
2805
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2805
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2806
2806
|
contentType: "application/json",
|
2807
2807
|
queryParameters: _queryParams,
|
2808
2808
|
requestType: "json",
|
@@ -2882,7 +2882,7 @@ class Vitals {
|
|
2882
2882
|
const _response = yield core.fetcher({
|
2883
2883
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/insulin_injection/grouped`),
|
2884
2884
|
method: "GET",
|
2885
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2885
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2886
2886
|
contentType: "application/json",
|
2887
2887
|
queryParameters: _queryParams,
|
2888
2888
|
requestType: "json",
|
@@ -2962,7 +2962,7 @@ class Vitals {
|
|
2962
2962
|
const _response = yield core.fetcher({
|
2963
2963
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/ige/grouped`),
|
2964
2964
|
method: "GET",
|
2965
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2965
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2966
2966
|
contentType: "application/json",
|
2967
2967
|
queryParameters: _queryParams,
|
2968
2968
|
requestType: "json",
|
@@ -3042,7 +3042,7 @@ class Vitals {
|
|
3042
3042
|
const _response = yield core.fetcher({
|
3043
3043
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/igg/grouped`),
|
3044
3044
|
method: "GET",
|
3045
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3045
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3046
3046
|
contentType: "application/json",
|
3047
3047
|
queryParameters: _queryParams,
|
3048
3048
|
requestType: "json",
|
@@ -3122,7 +3122,7 @@ class Vitals {
|
|
3122
3122
|
const _response = yield core.fetcher({
|
3123
3123
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/hypnogram/grouped`),
|
3124
3124
|
method: "GET",
|
3125
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3125
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3126
3126
|
contentType: "application/json",
|
3127
3127
|
queryParameters: _queryParams,
|
3128
3128
|
requestType: "json",
|
@@ -3202,7 +3202,7 @@ class Vitals {
|
|
3202
3202
|
const _response = yield core.fetcher({
|
3203
3203
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/hrv/grouped`),
|
3204
3204
|
method: "GET",
|
3205
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3205
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3206
3206
|
contentType: "application/json",
|
3207
3207
|
queryParameters: _queryParams,
|
3208
3208
|
requestType: "json",
|
@@ -3282,7 +3282,7 @@ class Vitals {
|
|
3282
3282
|
const _response = yield core.fetcher({
|
3283
3283
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/heartrate/grouped`),
|
3284
3284
|
method: "GET",
|
3285
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3285
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3286
3286
|
contentType: "application/json",
|
3287
3287
|
queryParameters: _queryParams,
|
3288
3288
|
requestType: "json",
|
@@ -3362,7 +3362,7 @@ class Vitals {
|
|
3362
3362
|
const _response = yield core.fetcher({
|
3363
3363
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/glucose/grouped`),
|
3364
3364
|
method: "GET",
|
3365
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3365
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3366
3366
|
contentType: "application/json",
|
3367
3367
|
queryParameters: _queryParams,
|
3368
3368
|
requestType: "json",
|
@@ -3442,7 +3442,7 @@ class Vitals {
|
|
3442
3442
|
const _response = yield core.fetcher({
|
3443
3443
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/cholesterol/grouped`),
|
3444
3444
|
method: "GET",
|
3445
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3445
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3446
3446
|
contentType: "application/json",
|
3447
3447
|
queryParameters: _queryParams,
|
3448
3448
|
requestType: "json",
|
@@ -3522,7 +3522,7 @@ class Vitals {
|
|
3522
3522
|
const _response = yield core.fetcher({
|
3523
3523
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/carbohydrates/grouped`),
|
3524
3524
|
method: "GET",
|
3525
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3525
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3526
3526
|
contentType: "application/json",
|
3527
3527
|
queryParameters: _queryParams,
|
3528
3528
|
requestType: "json",
|
@@ -3602,7 +3602,7 @@ class Vitals {
|
|
3602
3602
|
const _response = yield core.fetcher({
|
3603
3603
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/body_temperature_delta/grouped`),
|
3604
3604
|
method: "GET",
|
3605
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3605
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3606
3606
|
contentType: "application/json",
|
3607
3607
|
queryParameters: _queryParams,
|
3608
3608
|
requestType: "json",
|
@@ -3682,7 +3682,7 @@ class Vitals {
|
|
3682
3682
|
const _response = yield core.fetcher({
|
3683
3683
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/body_temperature/grouped`),
|
3684
3684
|
method: "GET",
|
3685
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3685
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3686
3686
|
contentType: "application/json",
|
3687
3687
|
queryParameters: _queryParams,
|
3688
3688
|
requestType: "json",
|
@@ -3762,7 +3762,7 @@ class Vitals {
|
|
3762
3762
|
const _response = yield core.fetcher({
|
3763
3763
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/body_weight/grouped`),
|
3764
3764
|
method: "GET",
|
3765
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3765
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3766
3766
|
contentType: "application/json",
|
3767
3767
|
queryParameters: _queryParams,
|
3768
3768
|
requestType: "json",
|
@@ -3842,7 +3842,7 @@ class Vitals {
|
|
3842
3842
|
const _response = yield core.fetcher({
|
3843
3843
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/body_fat/grouped`),
|
3844
3844
|
method: "GET",
|
3845
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3845
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3846
3846
|
contentType: "application/json",
|
3847
3847
|
queryParameters: _queryParams,
|
3848
3848
|
requestType: "json",
|
@@ -3922,7 +3922,7 @@ class Vitals {
|
|
3922
3922
|
const _response = yield core.fetcher({
|
3923
3923
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/blood_oxygen/grouped`),
|
3924
3924
|
method: "GET",
|
3925
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3925
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3926
3926
|
contentType: "application/json",
|
3927
3927
|
queryParameters: _queryParams,
|
3928
3928
|
requestType: "json",
|
@@ -4002,7 +4002,7 @@ class Vitals {
|
|
4002
4002
|
const _response = yield core.fetcher({
|
4003
4003
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/electrocardiogram_voltage/grouped`),
|
4004
4004
|
method: "GET",
|
4005
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4005
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
4006
4006
|
contentType: "application/json",
|
4007
4007
|
queryParameters: _queryParams,
|
4008
4008
|
requestType: "json",
|
@@ -4082,7 +4082,7 @@ class Vitals {
|
|
4082
4082
|
const _response = yield core.fetcher({
|
4083
4083
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/blood_pressure/grouped`),
|
4084
4084
|
method: "GET",
|
4085
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4085
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
4086
4086
|
contentType: "application/json",
|
4087
4087
|
queryParameters: _queryParams,
|
4088
4088
|
requestType: "json",
|
@@ -4156,7 +4156,7 @@ class Vitals {
|
|
4156
4156
|
const _response = yield core.fetcher({
|
4157
4157
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/vo2_max`),
|
4158
4158
|
method: "GET",
|
4159
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4159
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
4160
4160
|
contentType: "application/json",
|
4161
4161
|
queryParameters: _queryParams,
|
4162
4162
|
requestType: "json",
|
@@ -4230,7 +4230,7 @@ class Vitals {
|
|
4230
4230
|
const _response = yield core.fetcher({
|
4231
4231
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/stress_level`),
|
4232
4232
|
method: "GET",
|
4233
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4233
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
4234
4234
|
contentType: "application/json",
|
4235
4235
|
queryParameters: _queryParams,
|
4236
4236
|
requestType: "json",
|
@@ -4304,7 +4304,7 @@ class Vitals {
|
|
4304
4304
|
const _response = yield core.fetcher({
|
4305
4305
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/mindfulness_minutes`),
|
4306
4306
|
method: "GET",
|
4307
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4307
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
4308
4308
|
contentType: "application/json",
|
4309
4309
|
queryParameters: _queryParams,
|
4310
4310
|
requestType: "json",
|
@@ -4378,7 +4378,7 @@ class Vitals {
|
|
4378
4378
|
const _response = yield core.fetcher({
|
4379
4379
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/caffeine`),
|
4380
4380
|
method: "GET",
|
4381
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4381
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
4382
4382
|
contentType: "application/json",
|
4383
4383
|
queryParameters: _queryParams,
|
4384
4384
|
requestType: "json",
|
@@ -4452,7 +4452,7 @@ class Vitals {
|
|
4452
4452
|
const _response = yield core.fetcher({
|
4453
4453
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/water`),
|
4454
4454
|
method: "GET",
|
4455
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4455
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
4456
4456
|
contentType: "application/json",
|
4457
4457
|
queryParameters: _queryParams,
|
4458
4458
|
requestType: "json",
|
@@ -4526,7 +4526,7 @@ class Vitals {
|
|
4526
4526
|
const _response = yield core.fetcher({
|
4527
4527
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/steps`),
|
4528
4528
|
method: "GET",
|
4529
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4529
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
4530
4530
|
contentType: "application/json",
|
4531
4531
|
queryParameters: _queryParams,
|
4532
4532
|
requestType: "json",
|
@@ -4600,7 +4600,7 @@ class Vitals {
|
|
4600
4600
|
const _response = yield core.fetcher({
|
4601
4601
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/floors_climbed`),
|
4602
4602
|
method: "GET",
|
4603
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4603
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
4604
4604
|
contentType: "application/json",
|
4605
4605
|
queryParameters: _queryParams,
|
4606
4606
|
requestType: "json",
|
@@ -4674,7 +4674,7 @@ class Vitals {
|
|
4674
4674
|
const _response = yield core.fetcher({
|
4675
4675
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/distance`),
|
4676
4676
|
method: "GET",
|
4677
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4677
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
4678
4678
|
contentType: "application/json",
|
4679
4679
|
queryParameters: _queryParams,
|
4680
4680
|
requestType: "json",
|
@@ -4748,7 +4748,7 @@ class Vitals {
|
|
4748
4748
|
const _response = yield core.fetcher({
|
4749
4749
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/calories_basal`),
|
4750
4750
|
method: "GET",
|
4751
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4751
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
4752
4752
|
contentType: "application/json",
|
4753
4753
|
queryParameters: _queryParams,
|
4754
4754
|
requestType: "json",
|
@@ -4822,7 +4822,7 @@ class Vitals {
|
|
4822
4822
|
const _response = yield core.fetcher({
|
4823
4823
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/calories_active`),
|
4824
4824
|
method: "GET",
|
4825
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4825
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
4826
4826
|
contentType: "application/json",
|
4827
4827
|
queryParameters: _queryParams,
|
4828
4828
|
requestType: "json",
|
@@ -4896,7 +4896,7 @@ class Vitals {
|
|
4896
4896
|
const _response = yield core.fetcher({
|
4897
4897
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/respiratory_rate`),
|
4898
4898
|
method: "GET",
|
4899
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4899
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
4900
4900
|
contentType: "application/json",
|
4901
4901
|
queryParameters: _queryParams,
|
4902
4902
|
requestType: "json",
|
@@ -4970,7 +4970,7 @@ class Vitals {
|
|
4970
4970
|
const _response = yield core.fetcher({
|
4971
4971
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/ige`),
|
4972
4972
|
method: "GET",
|
4973
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4973
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
4974
4974
|
contentType: "application/json",
|
4975
4975
|
queryParameters: _queryParams,
|
4976
4976
|
requestType: "json",
|
@@ -5044,7 +5044,7 @@ class Vitals {
|
|
5044
5044
|
const _response = yield core.fetcher({
|
5045
5045
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/igg`),
|
5046
5046
|
method: "GET",
|
5047
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
5047
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
5048
5048
|
contentType: "application/json",
|
5049
5049
|
queryParameters: _queryParams,
|
5050
5050
|
requestType: "json",
|
@@ -5118,7 +5118,7 @@ class Vitals {
|
|
5118
5118
|
const _response = yield core.fetcher({
|
5119
5119
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/hypnogram`),
|
5120
5120
|
method: "GET",
|
5121
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
5121
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
5122
5122
|
contentType: "application/json",
|
5123
5123
|
queryParameters: _queryParams,
|
5124
5124
|
requestType: "json",
|
@@ -5192,7 +5192,7 @@ class Vitals {
|
|
5192
5192
|
const _response = yield core.fetcher({
|
5193
5193
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/hrv`),
|
5194
5194
|
method: "GET",
|
5195
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
5195
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
5196
5196
|
contentType: "application/json",
|
5197
5197
|
queryParameters: _queryParams,
|
5198
5198
|
requestType: "json",
|
@@ -5266,7 +5266,7 @@ class Vitals {
|
|
5266
5266
|
const _response = yield core.fetcher({
|
5267
5267
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/heartrate`),
|
5268
5268
|
method: "GET",
|
5269
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
5269
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
5270
5270
|
contentType: "application/json",
|
5271
5271
|
queryParameters: _queryParams,
|
5272
5272
|
requestType: "json",
|
@@ -5340,7 +5340,7 @@ class Vitals {
|
|
5340
5340
|
const _response = yield core.fetcher({
|
5341
5341
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/glucose`),
|
5342
5342
|
method: "GET",
|
5343
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
5343
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
5344
5344
|
contentType: "application/json",
|
5345
5345
|
queryParameters: _queryParams,
|
5346
5346
|
requestType: "json",
|
@@ -5414,7 +5414,7 @@ class Vitals {
|
|
5414
5414
|
const _response = yield core.fetcher({
|
5415
5415
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/cholesterol/triglycerides`),
|
5416
5416
|
method: "GET",
|
5417
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
5417
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
5418
5418
|
contentType: "application/json",
|
5419
5419
|
queryParameters: _queryParams,
|
5420
5420
|
requestType: "json",
|
@@ -5488,7 +5488,7 @@ class Vitals {
|
|
5488
5488
|
const _response = yield core.fetcher({
|
5489
5489
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/cholesterol/total`),
|
5490
5490
|
method: "GET",
|
5491
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
5491
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
5492
5492
|
contentType: "application/json",
|
5493
5493
|
queryParameters: _queryParams,
|
5494
5494
|
requestType: "json",
|
@@ -5562,7 +5562,7 @@ class Vitals {
|
|
5562
5562
|
const _response = yield core.fetcher({
|
5563
5563
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/cholesterol/ldl`),
|
5564
5564
|
method: "GET",
|
5565
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
5565
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
5566
5566
|
contentType: "application/json",
|
5567
5567
|
queryParameters: _queryParams,
|
5568
5568
|
requestType: "json",
|
@@ -5636,7 +5636,7 @@ class Vitals {
|
|
5636
5636
|
const _response = yield core.fetcher({
|
5637
5637
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/cholesterol/hdl`),
|
5638
5638
|
method: "GET",
|
5639
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
5639
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
5640
5640
|
contentType: "application/json",
|
5641
5641
|
queryParameters: _queryParams,
|
5642
5642
|
requestType: "json",
|
@@ -5710,7 +5710,7 @@ class Vitals {
|
|
5710
5710
|
const _response = yield core.fetcher({
|
5711
5711
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/cholesterol`),
|
5712
5712
|
method: "GET",
|
5713
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
5713
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
5714
5714
|
contentType: "application/json",
|
5715
5715
|
queryParameters: _queryParams,
|
5716
5716
|
requestType: "json",
|
@@ -5784,7 +5784,7 @@ class Vitals {
|
|
5784
5784
|
const _response = yield core.fetcher({
|
5785
5785
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/body_weight`),
|
5786
5786
|
method: "GET",
|
5787
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
5787
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
5788
5788
|
contentType: "application/json",
|
5789
5789
|
queryParameters: _queryParams,
|
5790
5790
|
requestType: "json",
|
@@ -5858,7 +5858,7 @@ class Vitals {
|
|
5858
5858
|
const _response = yield core.fetcher({
|
5859
5859
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/body_fat`),
|
5860
5860
|
method: "GET",
|
5861
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
5861
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
5862
5862
|
contentType: "application/json",
|
5863
5863
|
queryParameters: _queryParams,
|
5864
5864
|
requestType: "json",
|
@@ -5932,7 +5932,7 @@ class Vitals {
|
|
5932
5932
|
const _response = yield core.fetcher({
|
5933
5933
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/blood_oxygen`),
|
5934
5934
|
method: "GET",
|
5935
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
5935
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
5936
5936
|
contentType: "application/json",
|
5937
5937
|
queryParameters: _queryParams,
|
5938
5938
|
requestType: "json",
|
@@ -6006,7 +6006,7 @@ class Vitals {
|
|
6006
6006
|
const _response = yield core.fetcher({
|
6007
6007
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/electrocardiogram_voltage`),
|
6008
6008
|
method: "GET",
|
6009
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
6009
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
6010
6010
|
contentType: "application/json",
|
6011
6011
|
queryParameters: _queryParams,
|
6012
6012
|
requestType: "json",
|
@@ -6080,7 +6080,7 @@ class Vitals {
|
|
6080
6080
|
const _response = yield core.fetcher({
|
6081
6081
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/blood_pressure`),
|
6082
6082
|
method: "GET",
|
6083
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
6083
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.269", "User-Agent": "@tryvital/vital-node/3.1.269", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
6084
6084
|
contentType: "application/json",
|
6085
6085
|
queryParameters: _queryParams,
|
6086
6086
|
requestType: "json",
|