@tryvital/vital-node 3.1.72 → 3.1.73
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.d.ts +13 -8
- package/api/resources/aggregate/client/Client.js +14 -9
- package/api/resources/aggregate/client/requests/Query.d.ts +13 -8
- package/api/resources/body/client/Client.js +2 -2
- package/api/resources/devices/client/Client.js +1 -1
- package/api/resources/insurance/client/Client.js +2 -2
- package/api/resources/introspect/client/Client.js +2 -2
- package/api/resources/labTests/client/Client.js +27 -27
- package/api/resources/link/client/Client.js +14 -14
- package/api/resources/meal/client/Client.js +1 -1
- package/api/resources/menstrualCycle/client/Client.js +1 -1
- package/api/resources/profile/client/Client.js +2 -2
- package/api/resources/providers/client/Client.js +1 -1
- package/api/resources/sleep/client/Client.js +4 -4
- package/api/resources/team/client/Client.js +7 -7
- package/api/resources/testkit/client/Client.js +2 -2
- package/api/resources/user/client/Client.js +16 -16
- package/api/resources/vitals/client/Client.js +56 -56
- package/api/resources/workouts/client/Client.js +3 -3
- package/api/types/{ActivitySelector.d.ts → ActivityColumnExpr.d.ts} +2 -2
- package/{dist/api/types/ActivitySelectorActivity.d.ts → api/types/ActivityColumnExprActivity.d.ts} +2 -2
- package/{dist/api/types/ActivitySelectorActivity.js → api/types/ActivityColumnExprActivity.js} +2 -2
- package/api/types/AggregateExpr.d.ts +8 -0
- package/api/types/AggregateExprArg.d.ts +5 -0
- package/api/types/{ReducerFunction.d.ts → AggregateExprFunc.d.ts} +2 -2
- package/{dist/api/types/ReducerFunction.js → api/types/AggregateExprFunc.js} +2 -2
- package/api/types/DatePartExpr.d.ts +8 -0
- package/api/types/DatePartExprArg.d.ts +5 -0
- package/api/types/DatePartExprDatePart.d.ts +15 -0
- package/{dist/api/types/SwizzlingBinGranularity.js → api/types/DatePartExprDatePart.js} +6 -2
- package/api/types/DateTruncExpr.d.ts +8 -0
- package/api/types/DateTruncExprArg.d.ts +5 -0
- package/api/types/GroupKeyColumnExpr.d.ts +7 -0
- package/api/types/GroupKeyColumnExprGroupKey.d.ts +4 -0
- package/{dist/api/types/Reducer.d.ts → api/types/IndexColumnExpr.d.ts} +2 -2
- package/api/types/IndexColumnExprIndex.d.ts +8 -0
- package/api/types/IndexColumnExprIndex.js +10 -0
- package/api/types/LabTestSampleType.d.ts +2 -1
- package/api/types/LabTestSampleType.js +1 -0
- package/api/types/Labs.d.ts +2 -1
- package/api/types/Labs.js +1 -0
- package/api/types/QueryInstruction.d.ts +2 -4
- package/api/types/{QueryInstructionSelect.d.ts → QueryInstructionGroupByItem.d.ts} +1 -1
- package/api/types/QueryInstructionSelectItem.d.ts +5 -0
- package/api/types/Question.d.ts +1 -0
- package/api/types/{SleepSelector.d.ts → SleepColumnExpr.d.ts} +2 -2
- package/api/types/SleepColumnExpr.js +5 -0
- package/api/types/{SleepSelectorSleep.d.ts → SleepColumnExprSleep.d.ts} +2 -2
- package/{dist/api/types/SleepSelectorSleep.js → api/types/SleepColumnExprSleep.js} +2 -2
- package/api/types/TimeseriesMetricPoint.d.ts +1 -0
- package/api/types/index.d.ts +18 -10
- package/api/types/index.js +18 -10
- package/dist/api/resources/activity/client/Client.js +2 -2
- package/dist/api/resources/aggregate/client/Client.d.ts +13 -8
- package/dist/api/resources/aggregate/client/Client.js +14 -9
- package/dist/api/resources/aggregate/client/requests/Query.d.ts +13 -8
- package/dist/api/resources/body/client/Client.js +2 -2
- package/dist/api/resources/devices/client/Client.js +1 -1
- package/dist/api/resources/insurance/client/Client.js +2 -2
- package/dist/api/resources/introspect/client/Client.js +2 -2
- package/dist/api/resources/labTests/client/Client.js +27 -27
- package/dist/api/resources/link/client/Client.js +14 -14
- package/dist/api/resources/meal/client/Client.js +1 -1
- package/dist/api/resources/menstrualCycle/client/Client.js +1 -1
- package/dist/api/resources/profile/client/Client.js +2 -2
- package/dist/api/resources/providers/client/Client.js +1 -1
- package/dist/api/resources/sleep/client/Client.js +4 -4
- package/dist/api/resources/team/client/Client.js +7 -7
- package/dist/api/resources/testkit/client/Client.js +2 -2
- package/dist/api/resources/user/client/Client.js +16 -16
- package/dist/api/resources/vitals/client/Client.js +56 -56
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/api/types/{ActivitySelector.d.ts → ActivityColumnExpr.d.ts} +2 -2
- package/dist/api/types/ActivityColumnExpr.js +5 -0
- package/{api/types/ActivitySelectorActivity.d.ts → dist/api/types/ActivityColumnExprActivity.d.ts} +2 -2
- package/{api/types/ActivitySelectorActivity.js → dist/api/types/ActivityColumnExprActivity.js} +2 -2
- package/dist/api/types/AggregateExpr.d.ts +8 -0
- package/dist/api/types/AggregateExpr.js +5 -0
- package/dist/api/types/AggregateExprArg.d.ts +5 -0
- package/dist/api/types/AggregateExprArg.js +5 -0
- package/dist/api/types/{ReducerFunction.d.ts → AggregateExprFunc.d.ts} +2 -2
- package/{api/types/ReducerFunction.js → dist/api/types/AggregateExprFunc.js} +2 -2
- package/dist/api/types/DatePartExpr.d.ts +8 -0
- package/dist/api/types/DatePartExpr.js +5 -0
- package/dist/api/types/DatePartExprArg.d.ts +5 -0
- package/dist/api/types/DatePartExprArg.js +5 -0
- package/dist/api/types/DatePartExprDatePart.d.ts +15 -0
- package/{api/types/SwizzlingBinGranularity.js → dist/api/types/DatePartExprDatePart.js} +6 -2
- package/dist/api/types/DateTruncExpr.d.ts +8 -0
- package/dist/api/types/DateTruncExpr.js +5 -0
- package/dist/api/types/DateTruncExprArg.d.ts +5 -0
- package/dist/api/types/DateTruncExprArg.js +5 -0
- package/dist/api/types/GroupKeyColumnExpr.d.ts +7 -0
- package/dist/api/types/GroupKeyColumnExpr.js +5 -0
- package/dist/api/types/GroupKeyColumnExprGroupKey.d.ts +4 -0
- package/dist/api/types/GroupKeyColumnExprGroupKey.js +5 -0
- package/dist/api/types/{SleepSelector.d.ts → IndexColumnExpr.d.ts} +2 -2
- package/dist/api/types/IndexColumnExpr.js +5 -0
- package/dist/api/types/IndexColumnExprIndex.d.ts +8 -0
- package/dist/api/types/IndexColumnExprIndex.js +10 -0
- package/dist/api/types/LabTestSampleType.d.ts +2 -1
- package/dist/api/types/LabTestSampleType.js +1 -0
- package/dist/api/types/Labs.d.ts +2 -1
- package/dist/api/types/Labs.js +1 -0
- package/dist/api/types/QueryInstruction.d.ts +2 -4
- package/{api/types/QueryInstructionPartitionBy.d.ts → dist/api/types/QueryInstructionGroupByItem.d.ts} +1 -1
- package/dist/api/types/QueryInstructionGroupByItem.js +5 -0
- package/dist/api/types/QueryInstructionSelectItem.d.ts +5 -0
- package/dist/api/types/QueryInstructionSelectItem.js +5 -0
- package/dist/api/types/Question.d.ts +1 -0
- package/{api/types/Reducer.d.ts → dist/api/types/SleepColumnExpr.d.ts} +2 -2
- package/dist/api/types/SleepColumnExpr.js +5 -0
- package/dist/api/types/{SleepSelectorSleep.d.ts → SleepColumnExprSleep.d.ts} +2 -2
- package/{api/types/SleepSelectorSleep.js → dist/api/types/SleepColumnExprSleep.js} +2 -2
- package/dist/api/types/TimeseriesMetricPoint.d.ts +1 -0
- package/dist/api/types/index.d.ts +18 -10
- package/dist/api/types/index.js +18 -10
- package/dist/serialization/types/ActivityColumnExpr.d.ts +13 -0
- package/dist/serialization/types/{ActivitySelector.js → ActivityColumnExpr.js} +4 -4
- package/{serialization/types/ActivitySelectorActivity.d.ts → dist/serialization/types/ActivityColumnExprActivity.d.ts} +2 -2
- package/dist/serialization/types/{ActivitySelectorActivity.js → ActivityColumnExprActivity.js} +2 -2
- package/dist/serialization/types/AggregateExpr.d.ts +15 -0
- package/dist/serialization/types/AggregateExpr.js +36 -0
- package/dist/serialization/types/AggregateExprArg.d.ts +14 -0
- package/dist/serialization/types/{QueryInstructionSelect.js → AggregateExprArg.js} +6 -4
- package/{serialization/types/ReducerFunction.d.ts → dist/serialization/types/AggregateExprFunc.d.ts} +2 -2
- package/{serialization/types/ReducerFunction.js → dist/serialization/types/AggregateExprFunc.js} +2 -2
- package/dist/serialization/types/DatePartExpr.d.ts +15 -0
- package/dist/serialization/types/DatePartExpr.js +36 -0
- package/dist/serialization/types/DatePartExprArg.d.ts +12 -0
- package/{serialization/types/QueryInstructionPartitionBy.js → dist/serialization/types/DatePartExprArg.js} +3 -3
- package/dist/serialization/types/DatePartExprDatePart.d.ts +10 -0
- package/dist/serialization/types/DatePartExprDatePart.js +41 -0
- package/dist/serialization/types/DateTruncExpr.d.ts +15 -0
- package/dist/serialization/types/DateTruncExpr.js +36 -0
- package/dist/serialization/types/DateTruncExprArg.d.ts +12 -0
- package/dist/serialization/types/DateTruncExprArg.js +33 -0
- package/dist/serialization/types/GroupKeyColumnExpr.d.ts +13 -0
- package/dist/serialization/types/GroupKeyColumnExpr.js +34 -0
- package/dist/serialization/types/GroupKeyColumnExprGroupKey.d.ts +10 -0
- package/dist/serialization/types/{Reducer.js → GroupKeyColumnExprGroupKey.js} +2 -5
- package/dist/serialization/types/IndexColumnExpr.d.ts +13 -0
- package/dist/serialization/types/{SleepSelector.js → IndexColumnExpr.js} +4 -4
- package/dist/serialization/types/IndexColumnExprIndex.d.ts +10 -0
- package/dist/serialization/types/{SwizzlingBinGranularity.js → IndexColumnExprIndex.js} +2 -2
- package/dist/serialization/types/LabTestSampleType.d.ts +1 -1
- package/dist/serialization/types/LabTestSampleType.js +1 -1
- package/dist/serialization/types/Labs.d.ts +1 -1
- package/dist/serialization/types/Labs.js +1 -0
- package/dist/serialization/types/QueryInstruction.d.ts +4 -8
- package/dist/serialization/types/QueryInstruction.js +4 -8
- package/dist/serialization/types/QueryInstructionGroupByItem.d.ts +12 -0
- package/dist/serialization/types/QueryInstructionGroupByItem.js +33 -0
- package/dist/serialization/types/QueryInstructionSelectItem.d.ts +15 -0
- package/dist/serialization/types/QueryInstructionSelectItem.js +42 -0
- package/dist/serialization/types/Question.d.ts +1 -0
- package/dist/serialization/types/Question.js +1 -0
- package/dist/serialization/types/SleepColumnExpr.d.ts +13 -0
- package/{serialization/types/SleepSelector.js → dist/serialization/types/SleepColumnExpr.js} +4 -4
- package/dist/serialization/types/{SleepSelectorSleep.d.ts → SleepColumnExprSleep.d.ts} +2 -2
- package/{serialization/types/SleepSelectorSleep.js → dist/serialization/types/SleepColumnExprSleep.js} +2 -2
- package/dist/serialization/types/TimeseriesMetricPoint.d.ts +1 -0
- package/dist/serialization/types/TimeseriesMetricPoint.js +1 -0
- package/dist/serialization/types/index.d.ts +18 -10
- package/dist/serialization/types/index.js +18 -10
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +15 -8
- package/serialization/types/ActivityColumnExpr.d.ts +13 -0
- package/serialization/types/{ActivitySelector.js → ActivityColumnExpr.js} +4 -4
- package/{dist/serialization/types/ActivitySelectorActivity.d.ts → serialization/types/ActivityColumnExprActivity.d.ts} +2 -2
- package/serialization/types/{ActivitySelectorActivity.js → ActivityColumnExprActivity.js} +2 -2
- package/serialization/types/AggregateExpr.d.ts +15 -0
- package/serialization/types/AggregateExpr.js +36 -0
- package/serialization/types/AggregateExprArg.d.ts +14 -0
- package/serialization/types/AggregateExprArg.js +35 -0
- package/{dist/serialization/types/ReducerFunction.d.ts → serialization/types/AggregateExprFunc.d.ts} +2 -2
- package/{dist/serialization/types/ReducerFunction.js → serialization/types/AggregateExprFunc.js} +2 -2
- package/serialization/types/DatePartExpr.d.ts +15 -0
- package/serialization/types/DatePartExpr.js +36 -0
- package/serialization/types/DatePartExprArg.d.ts +12 -0
- package/{dist/serialization/types/QueryInstructionPartitionBy.js → serialization/types/DatePartExprArg.js} +3 -3
- package/serialization/types/DatePartExprDatePart.d.ts +10 -0
- package/serialization/types/DatePartExprDatePart.js +41 -0
- package/serialization/types/DateTruncExpr.d.ts +15 -0
- package/serialization/types/DateTruncExpr.js +36 -0
- package/serialization/types/DateTruncExprArg.d.ts +12 -0
- package/serialization/types/DateTruncExprArg.js +33 -0
- package/serialization/types/GroupKeyColumnExpr.d.ts +13 -0
- package/serialization/types/GroupKeyColumnExpr.js +34 -0
- package/serialization/types/GroupKeyColumnExprGroupKey.d.ts +10 -0
- package/serialization/types/{Reducer.js → GroupKeyColumnExprGroupKey.js} +2 -5
- package/serialization/types/IndexColumnExpr.d.ts +13 -0
- package/serialization/types/IndexColumnExpr.js +34 -0
- package/serialization/types/IndexColumnExprIndex.d.ts +10 -0
- package/serialization/types/{SwizzlingBinGranularity.js → IndexColumnExprIndex.js} +2 -2
- package/serialization/types/LabTestSampleType.d.ts +1 -1
- package/serialization/types/LabTestSampleType.js +1 -1
- package/serialization/types/Labs.d.ts +1 -1
- package/serialization/types/Labs.js +1 -0
- package/serialization/types/QueryInstruction.d.ts +4 -8
- package/serialization/types/QueryInstruction.js +4 -8
- package/serialization/types/QueryInstructionGroupByItem.d.ts +12 -0
- package/serialization/types/QueryInstructionGroupByItem.js +33 -0
- package/serialization/types/QueryInstructionSelectItem.d.ts +15 -0
- package/serialization/types/QueryInstructionSelectItem.js +42 -0
- package/serialization/types/Question.d.ts +1 -0
- package/serialization/types/Question.js +1 -0
- package/serialization/types/SleepColumnExpr.d.ts +13 -0
- package/serialization/types/SleepColumnExpr.js +34 -0
- package/serialization/types/{SleepSelectorSleep.d.ts → SleepColumnExprSleep.d.ts} +2 -2
- package/{dist/serialization/types/SleepSelectorSleep.js → serialization/types/SleepColumnExprSleep.js} +2 -2
- package/serialization/types/TimeseriesMetricPoint.d.ts +1 -0
- package/serialization/types/TimeseriesMetricPoint.js +1 -0
- package/serialization/types/index.d.ts +18 -10
- package/serialization/types/index.js +18 -10
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/types/Swizzling.d.ts +0 -36
- package/api/types/SwizzlingBinGranularity.d.ts +0 -11
- package/dist/api/types/QueryInstructionPartitionBy.d.ts +0 -5
- package/dist/api/types/QueryInstructionSelect.d.ts +0 -5
- package/dist/api/types/Swizzling.d.ts +0 -36
- package/dist/api/types/SwizzlingBinGranularity.d.ts +0 -11
- package/dist/serialization/types/ActivitySelector.d.ts +0 -13
- package/dist/serialization/types/QueryInstructionPartitionBy.d.ts +0 -12
- package/dist/serialization/types/QueryInstructionSelect.d.ts +0 -12
- package/dist/serialization/types/Reducer.d.ts +0 -13
- package/dist/serialization/types/SleepSelector.d.ts +0 -13
- package/dist/serialization/types/Swizzling.d.ts +0 -16
- package/dist/serialization/types/Swizzling.js +0 -37
- package/dist/serialization/types/SwizzlingBinGranularity.d.ts +0 -10
- package/serialization/types/ActivitySelector.d.ts +0 -13
- package/serialization/types/QueryInstructionPartitionBy.d.ts +0 -12
- package/serialization/types/QueryInstructionSelect.d.ts +0 -12
- package/serialization/types/QueryInstructionSelect.js +0 -33
- package/serialization/types/Reducer.d.ts +0 -13
- package/serialization/types/SleepSelector.d.ts +0 -13
- package/serialization/types/Swizzling.d.ts +0 -16
- package/serialization/types/Swizzling.js +0 -37
- package/serialization/types/SwizzlingBinGranularity.d.ts +0 -10
- /package/api/types/{ActivitySelector.js → ActivityColumnExpr.js} +0 -0
- /package/api/types/{QueryInstructionPartitionBy.js → AggregateExpr.js} +0 -0
- /package/api/types/{QueryInstructionSelect.js → AggregateExprArg.js} +0 -0
- /package/api/types/{Reducer.js → DatePartExpr.js} +0 -0
- /package/api/types/{SleepSelector.js → DatePartExprArg.js} +0 -0
- /package/api/types/{Swizzling.js → DateTruncExpr.js} +0 -0
- /package/{dist/api/types/ActivitySelector.js → api/types/DateTruncExprArg.js} +0 -0
- /package/{dist/api/types/QueryInstructionPartitionBy.js → api/types/GroupKeyColumnExpr.js} +0 -0
- /package/{dist/api/types/QueryInstructionSelect.js → api/types/GroupKeyColumnExprGroupKey.js} +0 -0
- /package/{dist/api/types/Reducer.js → api/types/IndexColumnExpr.js} +0 -0
- /package/{dist/api/types/SleepSelector.js → api/types/QueryInstructionGroupByItem.js} +0 -0
- /package/{dist/api/types/Swizzling.js → api/types/QueryInstructionSelectItem.js} +0 -0
@@ -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_duration/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.73", "User-Agent": "@tryvital/vital-node/3.1.73", "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)}/vo2_max/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.73", "User-Agent": "@tryvital/vital-node/3.1.73", "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)}/stress_level/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.73", "User-Agent": "@tryvital/vital-node/3.1.73", "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)}/mindfulness_minutes/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.73", "User-Agent": "@tryvital/vital-node/3.1.73", "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)}/caffeine/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.73", "User-Agent": "@tryvital/vital-node/3.1.73", "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)}/water/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.73", "User-Agent": "@tryvital/vital-node/3.1.73", "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)}/steps/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.73", "User-Agent": "@tryvital/vital-node/3.1.73", "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)}/floors_climbed/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.73", "User-Agent": "@tryvital/vital-node/3.1.73", "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)}/distance/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.73", "User-Agent": "@tryvital/vital-node/3.1.73", "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)}/calories_basal/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.73", "User-Agent": "@tryvital/vital-node/3.1.73", "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)}/calories_active/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.73", "User-Agent": "@tryvital/vital-node/3.1.73", "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)}/respiratory_rate/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.73", "User-Agent": "@tryvital/vital-node/3.1.73", "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)}/note/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.73", "User-Agent": "@tryvital/vital-node/3.1.73", "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)}/insulin_injection/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.73", "User-Agent": "@tryvital/vital-node/3.1.73", "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)}/ige/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.73", "User-Agent": "@tryvital/vital-node/3.1.73", "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)}/igg/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.73", "User-Agent": "@tryvital/vital-node/3.1.73", "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)}/hypnogram/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.73", "User-Agent": "@tryvital/vital-node/3.1.73", "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)}/hrv/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.73", "User-Agent": "@tryvital/vital-node/3.1.73", "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)}/heartrate/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.73", "User-Agent": "@tryvital/vital-node/3.1.73", "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)}/glucose/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.73", "User-Agent": "@tryvital/vital-node/3.1.73", "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)}/cholesterol/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.73", "User-Agent": "@tryvital/vital-node/3.1.73", "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)}/carbohydrates/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.73", "User-Agent": "@tryvital/vital-node/3.1.73", "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)}/body_temperature_delta/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.73", "User-Agent": "@tryvital/vital-node/3.1.73", "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)}/body_temperature/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.73", "User-Agent": "@tryvital/vital-node/3.1.73", "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)}/body_weight/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.73", "User-Agent": "@tryvital/vital-node/3.1.73", "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)}/body_fat/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.73", "User-Agent": "@tryvital/vital-node/3.1.73", "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)}/blood_oxygen/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.73", "User-Agent": "@tryvital/vital-node/3.1.73", "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)}/electrocardiogram_voltage/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.73", "User-Agent": "@tryvital/vital-node/3.1.73", "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)}/blood_pressure/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.73", "User-Agent": "@tryvital/vital-node/3.1.73", "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",
|
@@ -2396,7 +2396,7 @@ class Vitals {
|
|
2396
2396
|
const _response = yield core.fetcher({
|
2397
2397
|
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`),
|
2398
2398
|
method: "GET",
|
2399
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2399
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2400
2400
|
contentType: "application/json",
|
2401
2401
|
queryParameters: _queryParams,
|
2402
2402
|
requestType: "json",
|
@@ -2470,7 +2470,7 @@ class Vitals {
|
|
2470
2470
|
const _response = yield core.fetcher({
|
2471
2471
|
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`),
|
2472
2472
|
method: "GET",
|
2473
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2473
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2474
2474
|
contentType: "application/json",
|
2475
2475
|
queryParameters: _queryParams,
|
2476
2476
|
requestType: "json",
|
@@ -2544,7 +2544,7 @@ class Vitals {
|
|
2544
2544
|
const _response = yield core.fetcher({
|
2545
2545
|
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`),
|
2546
2546
|
method: "GET",
|
2547
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2547
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2548
2548
|
contentType: "application/json",
|
2549
2549
|
queryParameters: _queryParams,
|
2550
2550
|
requestType: "json",
|
@@ -2618,7 +2618,7 @@ class Vitals {
|
|
2618
2618
|
const _response = yield core.fetcher({
|
2619
2619
|
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`),
|
2620
2620
|
method: "GET",
|
2621
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2621
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2622
2622
|
contentType: "application/json",
|
2623
2623
|
queryParameters: _queryParams,
|
2624
2624
|
requestType: "json",
|
@@ -2692,7 +2692,7 @@ class Vitals {
|
|
2692
2692
|
const _response = yield core.fetcher({
|
2693
2693
|
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`),
|
2694
2694
|
method: "GET",
|
2695
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2695
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2696
2696
|
contentType: "application/json",
|
2697
2697
|
queryParameters: _queryParams,
|
2698
2698
|
requestType: "json",
|
@@ -2766,7 +2766,7 @@ class Vitals {
|
|
2766
2766
|
const _response = yield core.fetcher({
|
2767
2767
|
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`),
|
2768
2768
|
method: "GET",
|
2769
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2769
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2770
2770
|
contentType: "application/json",
|
2771
2771
|
queryParameters: _queryParams,
|
2772
2772
|
requestType: "json",
|
@@ -2840,7 +2840,7 @@ class Vitals {
|
|
2840
2840
|
const _response = yield core.fetcher({
|
2841
2841
|
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`),
|
2842
2842
|
method: "GET",
|
2843
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2843
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2844
2844
|
contentType: "application/json",
|
2845
2845
|
queryParameters: _queryParams,
|
2846
2846
|
requestType: "json",
|
@@ -2914,7 +2914,7 @@ class Vitals {
|
|
2914
2914
|
const _response = yield core.fetcher({
|
2915
2915
|
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`),
|
2916
2916
|
method: "GET",
|
2917
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2917
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2918
2918
|
contentType: "application/json",
|
2919
2919
|
queryParameters: _queryParams,
|
2920
2920
|
requestType: "json",
|
@@ -2988,7 +2988,7 @@ class Vitals {
|
|
2988
2988
|
const _response = yield core.fetcher({
|
2989
2989
|
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`),
|
2990
2990
|
method: "GET",
|
2991
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2991
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2992
2992
|
contentType: "application/json",
|
2993
2993
|
queryParameters: _queryParams,
|
2994
2994
|
requestType: "json",
|
@@ -3062,7 +3062,7 @@ class Vitals {
|
|
3062
3062
|
const _response = yield core.fetcher({
|
3063
3063
|
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`),
|
3064
3064
|
method: "GET",
|
3065
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3065
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3066
3066
|
contentType: "application/json",
|
3067
3067
|
queryParameters: _queryParams,
|
3068
3068
|
requestType: "json",
|
@@ -3136,7 +3136,7 @@ class Vitals {
|
|
3136
3136
|
const _response = yield core.fetcher({
|
3137
3137
|
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`),
|
3138
3138
|
method: "GET",
|
3139
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3139
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3140
3140
|
contentType: "application/json",
|
3141
3141
|
queryParameters: _queryParams,
|
3142
3142
|
requestType: "json",
|
@@ -3210,7 +3210,7 @@ class Vitals {
|
|
3210
3210
|
const _response = yield core.fetcher({
|
3211
3211
|
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`),
|
3212
3212
|
method: "GET",
|
3213
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3213
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3214
3214
|
contentType: "application/json",
|
3215
3215
|
queryParameters: _queryParams,
|
3216
3216
|
requestType: "json",
|
@@ -3284,7 +3284,7 @@ class Vitals {
|
|
3284
3284
|
const _response = yield core.fetcher({
|
3285
3285
|
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`),
|
3286
3286
|
method: "GET",
|
3287
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3287
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3288
3288
|
contentType: "application/json",
|
3289
3289
|
queryParameters: _queryParams,
|
3290
3290
|
requestType: "json",
|
@@ -3358,7 +3358,7 @@ class Vitals {
|
|
3358
3358
|
const _response = yield core.fetcher({
|
3359
3359
|
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`),
|
3360
3360
|
method: "GET",
|
3361
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3361
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3362
3362
|
contentType: "application/json",
|
3363
3363
|
queryParameters: _queryParams,
|
3364
3364
|
requestType: "json",
|
@@ -3432,7 +3432,7 @@ class Vitals {
|
|
3432
3432
|
const _response = yield core.fetcher({
|
3433
3433
|
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`),
|
3434
3434
|
method: "GET",
|
3435
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3435
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3436
3436
|
contentType: "application/json",
|
3437
3437
|
queryParameters: _queryParams,
|
3438
3438
|
requestType: "json",
|
@@ -3506,7 +3506,7 @@ class Vitals {
|
|
3506
3506
|
const _response = yield core.fetcher({
|
3507
3507
|
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`),
|
3508
3508
|
method: "GET",
|
3509
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3509
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3510
3510
|
contentType: "application/json",
|
3511
3511
|
queryParameters: _queryParams,
|
3512
3512
|
requestType: "json",
|
@@ -3580,7 +3580,7 @@ class Vitals {
|
|
3580
3580
|
const _response = yield core.fetcher({
|
3581
3581
|
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`),
|
3582
3582
|
method: "GET",
|
3583
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3583
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3584
3584
|
contentType: "application/json",
|
3585
3585
|
queryParameters: _queryParams,
|
3586
3586
|
requestType: "json",
|
@@ -3654,7 +3654,7 @@ class Vitals {
|
|
3654
3654
|
const _response = yield core.fetcher({
|
3655
3655
|
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`),
|
3656
3656
|
method: "GET",
|
3657
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3657
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3658
3658
|
contentType: "application/json",
|
3659
3659
|
queryParameters: _queryParams,
|
3660
3660
|
requestType: "json",
|
@@ -3728,7 +3728,7 @@ class Vitals {
|
|
3728
3728
|
const _response = yield core.fetcher({
|
3729
3729
|
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`),
|
3730
3730
|
method: "GET",
|
3731
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3731
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3732
3732
|
contentType: "application/json",
|
3733
3733
|
queryParameters: _queryParams,
|
3734
3734
|
requestType: "json",
|
@@ -3802,7 +3802,7 @@ class Vitals {
|
|
3802
3802
|
const _response = yield core.fetcher({
|
3803
3803
|
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`),
|
3804
3804
|
method: "GET",
|
3805
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3805
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3806
3806
|
contentType: "application/json",
|
3807
3807
|
queryParameters: _queryParams,
|
3808
3808
|
requestType: "json",
|
@@ -3876,7 +3876,7 @@ class Vitals {
|
|
3876
3876
|
const _response = yield core.fetcher({
|
3877
3877
|
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`),
|
3878
3878
|
method: "GET",
|
3879
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3879
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3880
3880
|
contentType: "application/json",
|
3881
3881
|
queryParameters: _queryParams,
|
3882
3882
|
requestType: "json",
|
@@ -3950,7 +3950,7 @@ class Vitals {
|
|
3950
3950
|
const _response = yield core.fetcher({
|
3951
3951
|
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`),
|
3952
3952
|
method: "GET",
|
3953
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3953
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3954
3954
|
contentType: "application/json",
|
3955
3955
|
queryParameters: _queryParams,
|
3956
3956
|
requestType: "json",
|
@@ -4024,7 +4024,7 @@ class Vitals {
|
|
4024
4024
|
const _response = yield core.fetcher({
|
4025
4025
|
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`),
|
4026
4026
|
method: "GET",
|
4027
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4027
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
4028
4028
|
contentType: "application/json",
|
4029
4029
|
queryParameters: _queryParams,
|
4030
4030
|
requestType: "json",
|
@@ -4098,7 +4098,7 @@ class Vitals {
|
|
4098
4098
|
const _response = yield core.fetcher({
|
4099
4099
|
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`),
|
4100
4100
|
method: "GET",
|
4101
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4101
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
4102
4102
|
contentType: "application/json",
|
4103
4103
|
queryParameters: _queryParams,
|
4104
4104
|
requestType: "json",
|
@@ -4172,7 +4172,7 @@ class Vitals {
|
|
4172
4172
|
const _response = yield core.fetcher({
|
4173
4173
|
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`),
|
4174
4174
|
method: "GET",
|
4175
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4175
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
4176
4176
|
contentType: "application/json",
|
4177
4177
|
queryParameters: _queryParams,
|
4178
4178
|
requestType: "json",
|
@@ -4246,7 +4246,7 @@ class Vitals {
|
|
4246
4246
|
const _response = yield core.fetcher({
|
4247
4247
|
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`),
|
4248
4248
|
method: "GET",
|
4249
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4249
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
4250
4250
|
contentType: "application/json",
|
4251
4251
|
queryParameters: _queryParams,
|
4252
4252
|
requestType: "json",
|
@@ -4320,7 +4320,7 @@ class Vitals {
|
|
4320
4320
|
const _response = yield core.fetcher({
|
4321
4321
|
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`),
|
4322
4322
|
method: "GET",
|
4323
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4323
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
4324
4324
|
contentType: "application/json",
|
4325
4325
|
queryParameters: _queryParams,
|
4326
4326
|
requestType: "json",
|
@@ -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.73", "User-Agent": "@tryvital/vital-node/3.1.73", "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.73", "User-Agent": "@tryvital/vital-node/3.1.73", "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.73", "User-Agent": "@tryvital/vital-node/3.1.73", "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,
|