@tryvital/vital-node 3.1.41 → 3.1.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.d.ts +3 -0
- package/Client.js +21 -16
- package/api/resources/activity/client/Client.js +2 -2
- package/api/resources/body/client/Client.js +2 -2
- package/api/resources/devices/client/Client.js +1 -1
- package/api/resources/index.d.ts +2 -0
- package/api/resources/index.js +3 -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.d.ts +32 -0
- package/api/resources/menstrualCycle/client/Client.js +127 -0
- package/api/resources/menstrualCycle/client/index.d.ts +1 -0
- package/api/resources/menstrualCycle/client/index.js +17 -0
- package/api/resources/menstrualCycle/client/requests/MenstrualCycleGetRequest.d.ts +17 -0
- package/api/resources/menstrualCycle/client/requests/MenstrualCycleGetRequest.js +5 -0
- package/api/resources/menstrualCycle/client/requests/index.d.ts +1 -0
- package/api/resources/menstrualCycle/client/requests/index.js +2 -0
- package/api/resources/menstrualCycle/index.d.ts +1 -0
- package/api/resources/menstrualCycle/index.js +17 -0
- 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 +12 -12
- package/api/resources/vitals/client/Client.js +52 -52
- package/api/resources/workouts/client/Client.js +3 -3
- package/api/types/BasalBodyTemperatureEntry.d.ts +7 -0
- package/api/types/BasalBodyTemperatureEntry.js +5 -0
- package/api/types/CervicalMucusEntry.d.ts +8 -0
- package/api/types/CervicalMucusEntry.js +5 -0
- package/api/types/CervicalMucusEntryQuality.d.ts +11 -0
- package/api/types/CervicalMucusEntryQuality.js +13 -0
- package/api/types/ClientFacingSource.d.ts +3 -3
- package/api/types/ContraceptiveEntry.d.ts +8 -0
- package/api/types/ContraceptiveEntry.js +5 -0
- package/api/types/ContraceptiveEntryType.d.ts +13 -0
- package/api/types/ContraceptiveEntryType.js +15 -0
- package/api/types/DetectedDeviationEntry.d.ts +8 -0
- package/api/types/DetectedDeviationEntry.js +5 -0
- package/api/types/DetectedDeviationEntryDeviation.d.ts +10 -0
- package/api/types/DetectedDeviationEntryDeviation.js +12 -0
- package/api/types/HomePregnancyTestEntry.d.ts +8 -0
- package/api/types/HomePregnancyTestEntry.js +5 -0
- package/api/types/HomePregnancyTestEntryTestResult.d.ts +9 -0
- package/api/types/HomePregnancyTestEntryTestResult.js +11 -0
- package/api/types/HomeProgesteroneTestEntry.d.ts +8 -0
- package/api/types/HomeProgesteroneTestEntry.js +5 -0
- package/api/types/HomeProgesteroneTestEntryTestResult.d.ts +9 -0
- package/api/types/HomeProgesteroneTestEntryTestResult.js +11 -0
- package/api/types/IntermenstrualBleedingEntry.d.ts +6 -0
- package/api/types/IntermenstrualBleedingEntry.js +5 -0
- package/api/types/MenstrualCycle.d.ts +21 -0
- package/api/types/MenstrualCycle.js +5 -0
- package/api/types/MenstrualCycleResponse.d.ts +7 -0
- package/api/types/MenstrualCycleResponse.js +5 -0
- package/api/types/MenstrualFlowEntry.d.ts +8 -0
- package/api/types/MenstrualFlowEntry.js +5 -0
- package/api/types/MenstrualFlowEntryFlow.d.ts +11 -0
- package/api/types/MenstrualFlowEntryFlow.js +13 -0
- package/api/types/OvulationTestEntry.d.ts +8 -0
- package/api/types/OvulationTestEntry.js +5 -0
- package/api/types/OvulationTestEntryTestResult.d.ts +10 -0
- package/api/types/OvulationTestEntryTestResult.js +12 -0
- package/api/types/PscInfo.d.ts +1 -1
- package/api/types/SexualActivityEntry.d.ts +7 -0
- package/api/types/SexualActivityEntry.js +5 -0
- package/api/types/index.d.ts +19 -0
- package/api/types/index.js +19 -0
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +21 -16
- package/dist/api/resources/activity/client/Client.js +2 -2
- package/dist/api/resources/body/client/Client.js +2 -2
- package/dist/api/resources/devices/client/Client.js +1 -1
- package/dist/api/resources/index.d.ts +2 -0
- package/dist/api/resources/index.js +3 -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.d.ts +32 -0
- package/dist/api/resources/menstrualCycle/client/Client.js +127 -0
- package/dist/api/resources/menstrualCycle/client/index.d.ts +1 -0
- package/dist/api/resources/menstrualCycle/client/index.js +17 -0
- package/dist/api/resources/menstrualCycle/client/requests/MenstrualCycleGetRequest.d.ts +17 -0
- package/dist/api/resources/menstrualCycle/client/requests/MenstrualCycleGetRequest.js +5 -0
- package/dist/api/resources/menstrualCycle/client/requests/index.d.ts +1 -0
- package/dist/api/resources/menstrualCycle/client/requests/index.js +2 -0
- package/dist/api/resources/menstrualCycle/index.d.ts +1 -0
- package/dist/api/resources/menstrualCycle/index.js +17 -0
- 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 +12 -12
- package/dist/api/resources/vitals/client/Client.js +52 -52
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/api/types/BasalBodyTemperatureEntry.d.ts +7 -0
- package/dist/api/types/BasalBodyTemperatureEntry.js +5 -0
- package/dist/api/types/CervicalMucusEntry.d.ts +8 -0
- package/dist/api/types/CervicalMucusEntry.js +5 -0
- package/dist/api/types/CervicalMucusEntryQuality.d.ts +11 -0
- package/dist/api/types/CervicalMucusEntryQuality.js +13 -0
- package/dist/api/types/ClientFacingSource.d.ts +3 -3
- package/dist/api/types/ContraceptiveEntry.d.ts +8 -0
- package/dist/api/types/ContraceptiveEntry.js +5 -0
- package/dist/api/types/ContraceptiveEntryType.d.ts +13 -0
- package/dist/api/types/ContraceptiveEntryType.js +15 -0
- package/dist/api/types/DetectedDeviationEntry.d.ts +8 -0
- package/dist/api/types/DetectedDeviationEntry.js +5 -0
- package/dist/api/types/DetectedDeviationEntryDeviation.d.ts +10 -0
- package/dist/api/types/DetectedDeviationEntryDeviation.js +12 -0
- package/dist/api/types/HomePregnancyTestEntry.d.ts +8 -0
- package/dist/api/types/HomePregnancyTestEntry.js +5 -0
- package/dist/api/types/HomePregnancyTestEntryTestResult.d.ts +9 -0
- package/dist/api/types/HomePregnancyTestEntryTestResult.js +11 -0
- package/dist/api/types/HomeProgesteroneTestEntry.d.ts +8 -0
- package/dist/api/types/HomeProgesteroneTestEntry.js +5 -0
- package/dist/api/types/HomeProgesteroneTestEntryTestResult.d.ts +9 -0
- package/dist/api/types/HomeProgesteroneTestEntryTestResult.js +11 -0
- package/dist/api/types/IntermenstrualBleedingEntry.d.ts +6 -0
- package/dist/api/types/IntermenstrualBleedingEntry.js +5 -0
- package/dist/api/types/MenstrualCycle.d.ts +21 -0
- package/dist/api/types/MenstrualCycle.js +5 -0
- package/dist/api/types/MenstrualCycleResponse.d.ts +7 -0
- package/dist/api/types/MenstrualCycleResponse.js +5 -0
- package/dist/api/types/MenstrualFlowEntry.d.ts +8 -0
- package/dist/api/types/MenstrualFlowEntry.js +5 -0
- package/dist/api/types/MenstrualFlowEntryFlow.d.ts +11 -0
- package/dist/api/types/MenstrualFlowEntryFlow.js +13 -0
- package/dist/api/types/OvulationTestEntry.d.ts +8 -0
- package/dist/api/types/OvulationTestEntry.js +5 -0
- package/dist/api/types/OvulationTestEntryTestResult.d.ts +10 -0
- package/dist/api/types/OvulationTestEntryTestResult.js +12 -0
- package/dist/api/types/PscInfo.d.ts +1 -1
- package/dist/api/types/SexualActivityEntry.d.ts +7 -0
- package/dist/api/types/SexualActivityEntry.js +5 -0
- package/dist/api/types/index.d.ts +19 -0
- package/dist/api/types/index.js +19 -0
- package/dist/serialization/types/BasalBodyTemperatureEntry.d.ts +13 -0
- package/dist/serialization/types/BasalBodyTemperatureEntry.js +34 -0
- package/dist/serialization/types/CervicalMucusEntry.d.ts +14 -0
- package/dist/serialization/types/CervicalMucusEntry.js +35 -0
- package/dist/serialization/types/CervicalMucusEntryQuality.d.ts +10 -0
- package/dist/serialization/types/CervicalMucusEntryQuality.js +31 -0
- package/dist/serialization/types/ClientFacingSource.d.ts +3 -3
- package/dist/serialization/types/ClientFacingSource.js +3 -3
- package/dist/serialization/types/ContraceptiveEntry.d.ts +14 -0
- package/dist/serialization/types/ContraceptiveEntry.js +35 -0
- package/dist/serialization/types/ContraceptiveEntryType.d.ts +10 -0
- package/dist/serialization/types/ContraceptiveEntryType.js +31 -0
- package/dist/serialization/types/DetectedDeviationEntry.d.ts +14 -0
- package/dist/serialization/types/DetectedDeviationEntry.js +35 -0
- package/dist/serialization/types/DetectedDeviationEntryDeviation.d.ts +10 -0
- package/dist/serialization/types/DetectedDeviationEntryDeviation.js +36 -0
- package/dist/serialization/types/HomePregnancyTestEntry.d.ts +14 -0
- package/dist/serialization/types/HomePregnancyTestEntry.js +35 -0
- package/dist/serialization/types/HomePregnancyTestEntryTestResult.d.ts +10 -0
- package/dist/serialization/types/HomePregnancyTestEntryTestResult.js +31 -0
- package/dist/serialization/types/HomeProgesteroneTestEntry.d.ts +14 -0
- package/dist/serialization/types/HomeProgesteroneTestEntry.js +35 -0
- package/dist/serialization/types/HomeProgesteroneTestEntryTestResult.d.ts +10 -0
- package/dist/serialization/types/HomeProgesteroneTestEntryTestResult.js +31 -0
- package/dist/serialization/types/IntermenstrualBleedingEntry.d.ts +12 -0
- package/dist/serialization/types/IntermenstrualBleedingEntry.js +33 -0
- package/dist/serialization/types/MenstrualCycle.d.ts +37 -0
- package/dist/serialization/types/MenstrualCycle.js +58 -0
- package/dist/serialization/types/MenstrualCycleResponse.d.ts +13 -0
- package/dist/serialization/types/MenstrualCycleResponse.js +34 -0
- package/dist/serialization/types/MenstrualFlowEntry.d.ts +14 -0
- package/dist/serialization/types/MenstrualFlowEntry.js +35 -0
- package/dist/serialization/types/MenstrualFlowEntryFlow.d.ts +10 -0
- package/dist/serialization/types/MenstrualFlowEntryFlow.js +31 -0
- package/dist/serialization/types/OvulationTestEntry.d.ts +14 -0
- package/dist/serialization/types/OvulationTestEntry.js +35 -0
- package/dist/serialization/types/OvulationTestEntryTestResult.d.ts +10 -0
- package/dist/serialization/types/OvulationTestEntryTestResult.js +31 -0
- package/dist/serialization/types/PscInfo.d.ts +1 -1
- package/dist/serialization/types/PscInfo.js +1 -1
- package/dist/serialization/types/SexualActivityEntry.d.ts +13 -0
- package/dist/serialization/types/SexualActivityEntry.js +34 -0
- package/dist/serialization/types/index.d.ts +19 -0
- package/dist/serialization/types/index.js +19 -0
- package/package.json +1 -1
- package/serialization/types/BasalBodyTemperatureEntry.d.ts +13 -0
- package/serialization/types/BasalBodyTemperatureEntry.js +34 -0
- package/serialization/types/CervicalMucusEntry.d.ts +14 -0
- package/serialization/types/CervicalMucusEntry.js +35 -0
- package/serialization/types/CervicalMucusEntryQuality.d.ts +10 -0
- package/serialization/types/CervicalMucusEntryQuality.js +31 -0
- package/serialization/types/ClientFacingSource.d.ts +3 -3
- package/serialization/types/ClientFacingSource.js +3 -3
- package/serialization/types/ContraceptiveEntry.d.ts +14 -0
- package/serialization/types/ContraceptiveEntry.js +35 -0
- package/serialization/types/ContraceptiveEntryType.d.ts +10 -0
- package/serialization/types/ContraceptiveEntryType.js +31 -0
- package/serialization/types/DetectedDeviationEntry.d.ts +14 -0
- package/serialization/types/DetectedDeviationEntry.js +35 -0
- package/serialization/types/DetectedDeviationEntryDeviation.d.ts +10 -0
- package/serialization/types/DetectedDeviationEntryDeviation.js +36 -0
- package/serialization/types/HomePregnancyTestEntry.d.ts +14 -0
- package/serialization/types/HomePregnancyTestEntry.js +35 -0
- package/serialization/types/HomePregnancyTestEntryTestResult.d.ts +10 -0
- package/serialization/types/HomePregnancyTestEntryTestResult.js +31 -0
- package/serialization/types/HomeProgesteroneTestEntry.d.ts +14 -0
- package/serialization/types/HomeProgesteroneTestEntry.js +35 -0
- package/serialization/types/HomeProgesteroneTestEntryTestResult.d.ts +10 -0
- package/serialization/types/HomeProgesteroneTestEntryTestResult.js +31 -0
- package/serialization/types/IntermenstrualBleedingEntry.d.ts +12 -0
- package/serialization/types/IntermenstrualBleedingEntry.js +33 -0
- package/serialization/types/MenstrualCycle.d.ts +37 -0
- package/serialization/types/MenstrualCycle.js +58 -0
- package/serialization/types/MenstrualCycleResponse.d.ts +13 -0
- package/serialization/types/MenstrualCycleResponse.js +34 -0
- package/serialization/types/MenstrualFlowEntry.d.ts +14 -0
- package/serialization/types/MenstrualFlowEntry.js +35 -0
- package/serialization/types/MenstrualFlowEntryFlow.d.ts +10 -0
- package/serialization/types/MenstrualFlowEntryFlow.js +31 -0
- package/serialization/types/OvulationTestEntry.d.ts +14 -0
- package/serialization/types/OvulationTestEntry.js +35 -0
- package/serialization/types/OvulationTestEntryTestResult.d.ts +10 -0
- package/serialization/types/OvulationTestEntryTestResult.js +31 -0
- package/serialization/types/PscInfo.d.ts +1 -1
- package/serialization/types/PscInfo.js +1 -1
- package/serialization/types/SexualActivityEntry.d.ts +13 -0
- package/serialization/types/SexualActivityEntry.js +34 -0
- package/serialization/types/index.d.ts +19 -0
- package/serialization/types/index.js +19 -0
@@ -78,7 +78,7 @@ class Vitals {
|
|
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/timeseries/${userId}/vo2_max/grouped`),
|
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.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
82
82
|
contentType: "application/json",
|
83
83
|
queryParameters: _queryParams,
|
84
84
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -152,7 +152,7 @@ class Vitals {
|
|
152
152
|
const _response = yield core.fetcher({
|
153
153
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/stress_level/grouped`),
|
154
154
|
method: "GET",
|
155
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
155
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
156
156
|
contentType: "application/json",
|
157
157
|
queryParameters: _queryParams,
|
158
158
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -226,7 +226,7 @@ class Vitals {
|
|
226
226
|
const _response = yield core.fetcher({
|
227
227
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/mindfulness_minutes/grouped`),
|
228
228
|
method: "GET",
|
229
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
229
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
230
230
|
contentType: "application/json",
|
231
231
|
queryParameters: _queryParams,
|
232
232
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -300,7 +300,7 @@ class Vitals {
|
|
300
300
|
const _response = yield core.fetcher({
|
301
301
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/caffeine/grouped`),
|
302
302
|
method: "GET",
|
303
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
303
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
304
304
|
contentType: "application/json",
|
305
305
|
queryParameters: _queryParams,
|
306
306
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -374,7 +374,7 @@ class Vitals {
|
|
374
374
|
const _response = yield core.fetcher({
|
375
375
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/water/grouped`),
|
376
376
|
method: "GET",
|
377
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
377
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
378
378
|
contentType: "application/json",
|
379
379
|
queryParameters: _queryParams,
|
380
380
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -448,7 +448,7 @@ class Vitals {
|
|
448
448
|
const _response = yield core.fetcher({
|
449
449
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/steps/grouped`),
|
450
450
|
method: "GET",
|
451
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
451
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
452
452
|
contentType: "application/json",
|
453
453
|
queryParameters: _queryParams,
|
454
454
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -522,7 +522,7 @@ class Vitals {
|
|
522
522
|
const _response = yield core.fetcher({
|
523
523
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/floors_climbed/grouped`),
|
524
524
|
method: "GET",
|
525
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
525
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
526
526
|
contentType: "application/json",
|
527
527
|
queryParameters: _queryParams,
|
528
528
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -596,7 +596,7 @@ class Vitals {
|
|
596
596
|
const _response = yield core.fetcher({
|
597
597
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/distance/grouped`),
|
598
598
|
method: "GET",
|
599
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
599
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
600
600
|
contentType: "application/json",
|
601
601
|
queryParameters: _queryParams,
|
602
602
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -670,7 +670,7 @@ class Vitals {
|
|
670
670
|
const _response = yield core.fetcher({
|
671
671
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/calories_basal/grouped`),
|
672
672
|
method: "GET",
|
673
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
673
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
674
674
|
contentType: "application/json",
|
675
675
|
queryParameters: _queryParams,
|
676
676
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -744,7 +744,7 @@ class Vitals {
|
|
744
744
|
const _response = yield core.fetcher({
|
745
745
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/calories_active/grouped`),
|
746
746
|
method: "GET",
|
747
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
747
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
748
748
|
contentType: "application/json",
|
749
749
|
queryParameters: _queryParams,
|
750
750
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -818,7 +818,7 @@ class Vitals {
|
|
818
818
|
const _response = yield core.fetcher({
|
819
819
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/respiratory_rate/grouped`),
|
820
820
|
method: "GET",
|
821
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
821
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
822
822
|
contentType: "application/json",
|
823
823
|
queryParameters: _queryParams,
|
824
824
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -892,7 +892,7 @@ class Vitals {
|
|
892
892
|
const _response = yield core.fetcher({
|
893
893
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/ige/grouped`),
|
894
894
|
method: "GET",
|
895
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
895
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
896
896
|
contentType: "application/json",
|
897
897
|
queryParameters: _queryParams,
|
898
898
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -966,7 +966,7 @@ class Vitals {
|
|
966
966
|
const _response = yield core.fetcher({
|
967
967
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/igg/grouped`),
|
968
968
|
method: "GET",
|
969
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
969
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
970
970
|
contentType: "application/json",
|
971
971
|
queryParameters: _queryParams,
|
972
972
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1040,7 +1040,7 @@ class Vitals {
|
|
1040
1040
|
const _response = yield core.fetcher({
|
1041
1041
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/hypnogram/grouped`),
|
1042
1042
|
method: "GET",
|
1043
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1043
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1044
1044
|
contentType: "application/json",
|
1045
1045
|
queryParameters: _queryParams,
|
1046
1046
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1114,7 +1114,7 @@ class Vitals {
|
|
1114
1114
|
const _response = yield core.fetcher({
|
1115
1115
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/hrv/grouped`),
|
1116
1116
|
method: "GET",
|
1117
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1117
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1118
1118
|
contentType: "application/json",
|
1119
1119
|
queryParameters: _queryParams,
|
1120
1120
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1188,7 +1188,7 @@ class Vitals {
|
|
1188
1188
|
const _response = yield core.fetcher({
|
1189
1189
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/heartrate/grouped`),
|
1190
1190
|
method: "GET",
|
1191
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1191
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1192
1192
|
contentType: "application/json",
|
1193
1193
|
queryParameters: _queryParams,
|
1194
1194
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1262,7 +1262,7 @@ class Vitals {
|
|
1262
1262
|
const _response = yield core.fetcher({
|
1263
1263
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/glucose/grouped`),
|
1264
1264
|
method: "GET",
|
1265
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1265
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1266
1266
|
contentType: "application/json",
|
1267
1267
|
queryParameters: _queryParams,
|
1268
1268
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1336,7 +1336,7 @@ class Vitals {
|
|
1336
1336
|
const _response = yield core.fetcher({
|
1337
1337
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/cholesterol/grouped`),
|
1338
1338
|
method: "GET",
|
1339
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1339
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1340
1340
|
contentType: "application/json",
|
1341
1341
|
queryParameters: _queryParams,
|
1342
1342
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1410,7 +1410,7 @@ class Vitals {
|
|
1410
1410
|
const _response = yield core.fetcher({
|
1411
1411
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/body_temperature_delta/grouped`),
|
1412
1412
|
method: "GET",
|
1413
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1413
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1414
1414
|
contentType: "application/json",
|
1415
1415
|
queryParameters: _queryParams,
|
1416
1416
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1484,7 +1484,7 @@ class Vitals {
|
|
1484
1484
|
const _response = yield core.fetcher({
|
1485
1485
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/body_temperature/grouped`),
|
1486
1486
|
method: "GET",
|
1487
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1487
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1488
1488
|
contentType: "application/json",
|
1489
1489
|
queryParameters: _queryParams,
|
1490
1490
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1558,7 +1558,7 @@ class Vitals {
|
|
1558
1558
|
const _response = yield core.fetcher({
|
1559
1559
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/body_weight/grouped`),
|
1560
1560
|
method: "GET",
|
1561
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1561
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1562
1562
|
contentType: "application/json",
|
1563
1563
|
queryParameters: _queryParams,
|
1564
1564
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1632,7 +1632,7 @@ class Vitals {
|
|
1632
1632
|
const _response = yield core.fetcher({
|
1633
1633
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/body_fat/grouped`),
|
1634
1634
|
method: "GET",
|
1635
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1635
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1636
1636
|
contentType: "application/json",
|
1637
1637
|
queryParameters: _queryParams,
|
1638
1638
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1706,7 +1706,7 @@ class Vitals {
|
|
1706
1706
|
const _response = yield core.fetcher({
|
1707
1707
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/blood_oxygen/grouped`),
|
1708
1708
|
method: "GET",
|
1709
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1709
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1710
1710
|
contentType: "application/json",
|
1711
1711
|
queryParameters: _queryParams,
|
1712
1712
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1780,7 +1780,7 @@ class Vitals {
|
|
1780
1780
|
const _response = yield core.fetcher({
|
1781
1781
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/electrocardiogram_voltage/grouped`),
|
1782
1782
|
method: "GET",
|
1783
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1783
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1784
1784
|
contentType: "application/json",
|
1785
1785
|
queryParameters: _queryParams,
|
1786
1786
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1854,7 +1854,7 @@ class Vitals {
|
|
1854
1854
|
const _response = yield core.fetcher({
|
1855
1855
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/blood_pressure/grouped`),
|
1856
1856
|
method: "GET",
|
1857
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1857
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1858
1858
|
contentType: "application/json",
|
1859
1859
|
queryParameters: _queryParams,
|
1860
1860
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -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/${userId}/vo2_max`),
|
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.43", "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
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1990,7 +1990,7 @@ class Vitals {
|
|
1990
1990
|
const _response = yield core.fetcher({
|
1991
1991
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/stress_level`),
|
1992
1992
|
method: "GET",
|
1993
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1993
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1994
1994
|
contentType: "application/json",
|
1995
1995
|
queryParameters: _queryParams,
|
1996
1996
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -2058,7 +2058,7 @@ class Vitals {
|
|
2058
2058
|
const _response = yield core.fetcher({
|
2059
2059
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/mindfulness_minutes`),
|
2060
2060
|
method: "GET",
|
2061
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2061
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2062
2062
|
contentType: "application/json",
|
2063
2063
|
queryParameters: _queryParams,
|
2064
2064
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -2126,7 +2126,7 @@ class Vitals {
|
|
2126
2126
|
const _response = yield core.fetcher({
|
2127
2127
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/caffeine`),
|
2128
2128
|
method: "GET",
|
2129
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2129
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2130
2130
|
contentType: "application/json",
|
2131
2131
|
queryParameters: _queryParams,
|
2132
2132
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -2194,7 +2194,7 @@ class Vitals {
|
|
2194
2194
|
const _response = yield core.fetcher({
|
2195
2195
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/water`),
|
2196
2196
|
method: "GET",
|
2197
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2197
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2198
2198
|
contentType: "application/json",
|
2199
2199
|
queryParameters: _queryParams,
|
2200
2200
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -2262,7 +2262,7 @@ class Vitals {
|
|
2262
2262
|
const _response = yield core.fetcher({
|
2263
2263
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/steps`),
|
2264
2264
|
method: "GET",
|
2265
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2265
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2266
2266
|
contentType: "application/json",
|
2267
2267
|
queryParameters: _queryParams,
|
2268
2268
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -2330,7 +2330,7 @@ class Vitals {
|
|
2330
2330
|
const _response = yield core.fetcher({
|
2331
2331
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/floors_climbed`),
|
2332
2332
|
method: "GET",
|
2333
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2333
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2334
2334
|
contentType: "application/json",
|
2335
2335
|
queryParameters: _queryParams,
|
2336
2336
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -2398,7 +2398,7 @@ class Vitals {
|
|
2398
2398
|
const _response = yield core.fetcher({
|
2399
2399
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/distance`),
|
2400
2400
|
method: "GET",
|
2401
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2401
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2402
2402
|
contentType: "application/json",
|
2403
2403
|
queryParameters: _queryParams,
|
2404
2404
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -2466,7 +2466,7 @@ class Vitals {
|
|
2466
2466
|
const _response = yield core.fetcher({
|
2467
2467
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/calories_basal`),
|
2468
2468
|
method: "GET",
|
2469
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2469
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2470
2470
|
contentType: "application/json",
|
2471
2471
|
queryParameters: _queryParams,
|
2472
2472
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -2534,7 +2534,7 @@ class Vitals {
|
|
2534
2534
|
const _response = yield core.fetcher({
|
2535
2535
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/calories_active`),
|
2536
2536
|
method: "GET",
|
2537
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2537
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2538
2538
|
contentType: "application/json",
|
2539
2539
|
queryParameters: _queryParams,
|
2540
2540
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -2602,7 +2602,7 @@ class Vitals {
|
|
2602
2602
|
const _response = yield core.fetcher({
|
2603
2603
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/respiratory_rate`),
|
2604
2604
|
method: "GET",
|
2605
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2605
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2606
2606
|
contentType: "application/json",
|
2607
2607
|
queryParameters: _queryParams,
|
2608
2608
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -2670,7 +2670,7 @@ class Vitals {
|
|
2670
2670
|
const _response = yield core.fetcher({
|
2671
2671
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/ige`),
|
2672
2672
|
method: "GET",
|
2673
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2673
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2674
2674
|
contentType: "application/json",
|
2675
2675
|
queryParameters: _queryParams,
|
2676
2676
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -2738,7 +2738,7 @@ class Vitals {
|
|
2738
2738
|
const _response = yield core.fetcher({
|
2739
2739
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/igg`),
|
2740
2740
|
method: "GET",
|
2741
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2741
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2742
2742
|
contentType: "application/json",
|
2743
2743
|
queryParameters: _queryParams,
|
2744
2744
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -2806,7 +2806,7 @@ class Vitals {
|
|
2806
2806
|
const _response = yield core.fetcher({
|
2807
2807
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/hypnogram`),
|
2808
2808
|
method: "GET",
|
2809
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2809
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2810
2810
|
contentType: "application/json",
|
2811
2811
|
queryParameters: _queryParams,
|
2812
2812
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -2874,7 +2874,7 @@ class Vitals {
|
|
2874
2874
|
const _response = yield core.fetcher({
|
2875
2875
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/hrv`),
|
2876
2876
|
method: "GET",
|
2877
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2877
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2878
2878
|
contentType: "application/json",
|
2879
2879
|
queryParameters: _queryParams,
|
2880
2880
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -2942,7 +2942,7 @@ class Vitals {
|
|
2942
2942
|
const _response = yield core.fetcher({
|
2943
2943
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/heartrate`),
|
2944
2944
|
method: "GET",
|
2945
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2945
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2946
2946
|
contentType: "application/json",
|
2947
2947
|
queryParameters: _queryParams,
|
2948
2948
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -3010,7 +3010,7 @@ class Vitals {
|
|
3010
3010
|
const _response = yield core.fetcher({
|
3011
3011
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/glucose`),
|
3012
3012
|
method: "GET",
|
3013
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3013
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3014
3014
|
contentType: "application/json",
|
3015
3015
|
queryParameters: _queryParams,
|
3016
3016
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -3078,7 +3078,7 @@ class Vitals {
|
|
3078
3078
|
const _response = yield core.fetcher({
|
3079
3079
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/cholesterol/triglycerides`),
|
3080
3080
|
method: "GET",
|
3081
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3081
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3082
3082
|
contentType: "application/json",
|
3083
3083
|
queryParameters: _queryParams,
|
3084
3084
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -3146,7 +3146,7 @@ class Vitals {
|
|
3146
3146
|
const _response = yield core.fetcher({
|
3147
3147
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/cholesterol/total`),
|
3148
3148
|
method: "GET",
|
3149
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3149
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3150
3150
|
contentType: "application/json",
|
3151
3151
|
queryParameters: _queryParams,
|
3152
3152
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -3214,7 +3214,7 @@ class Vitals {
|
|
3214
3214
|
const _response = yield core.fetcher({
|
3215
3215
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/cholesterol/ldl`),
|
3216
3216
|
method: "GET",
|
3217
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3217
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3218
3218
|
contentType: "application/json",
|
3219
3219
|
queryParameters: _queryParams,
|
3220
3220
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -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/${userId}/cholesterol/hdl`),
|
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.43", "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
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -3350,7 +3350,7 @@ class Vitals {
|
|
3350
3350
|
const _response = yield core.fetcher({
|
3351
3351
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/cholesterol`),
|
3352
3352
|
method: "GET",
|
3353
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3353
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3354
3354
|
contentType: "application/json",
|
3355
3355
|
queryParameters: _queryParams,
|
3356
3356
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -3418,7 +3418,7 @@ class Vitals {
|
|
3418
3418
|
const _response = yield core.fetcher({
|
3419
3419
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/body_weight`),
|
3420
3420
|
method: "GET",
|
3421
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3421
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3422
3422
|
contentType: "application/json",
|
3423
3423
|
queryParameters: _queryParams,
|
3424
3424
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -3486,7 +3486,7 @@ class Vitals {
|
|
3486
3486
|
const _response = yield core.fetcher({
|
3487
3487
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/body_fat`),
|
3488
3488
|
method: "GET",
|
3489
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3489
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3490
3490
|
contentType: "application/json",
|
3491
3491
|
queryParameters: _queryParams,
|
3492
3492
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -3554,7 +3554,7 @@ class Vitals {
|
|
3554
3554
|
const _response = yield core.fetcher({
|
3555
3555
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/blood_oxygen`),
|
3556
3556
|
method: "GET",
|
3557
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3557
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3558
3558
|
contentType: "application/json",
|
3559
3559
|
queryParameters: _queryParams,
|
3560
3560
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -3622,7 +3622,7 @@ class Vitals {
|
|
3622
3622
|
const _response = yield core.fetcher({
|
3623
3623
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/electrocardiogram_voltage`),
|
3624
3624
|
method: "GET",
|
3625
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3625
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3626
3626
|
contentType: "application/json",
|
3627
3627
|
queryParameters: _queryParams,
|
3628
3628
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -3690,7 +3690,7 @@ class Vitals {
|
|
3690
3690
|
const _response = yield core.fetcher({
|
3691
3691
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/blood_pressure`),
|
3692
3692
|
method: "GET",
|
3693
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3693
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3694
3694
|
contentType: "application/json",
|
3695
3695
|
queryParameters: _queryParams,
|
3696
3696
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -73,7 +73,7 @@ class Workouts {
|
|
73
73
|
const _response = yield core.fetcher({
|
74
74
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/workouts/${userId}`),
|
75
75
|
method: "GET",
|
76
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
76
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
77
77
|
contentType: "application/json",
|
78
78
|
queryParameters: _queryParams,
|
79
79
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -142,7 +142,7 @@ class Workouts {
|
|
142
142
|
const _response = yield core.fetcher({
|
143
143
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/workouts/${userId}/raw`),
|
144
144
|
method: "GET",
|
145
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
145
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
146
146
|
contentType: "application/json",
|
147
147
|
queryParameters: _queryParams,
|
148
148
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -199,7 +199,7 @@ class Workouts {
|
|
199
199
|
const _response = yield core.fetcher({
|
200
200
|
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/${workoutId}/stream`),
|
201
201
|
method: "GET",
|
202
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
202
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
203
203
|
contentType: "application/json",
|
204
204
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
205
205
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
export declare type CervicalMucusEntryQuality = "dry" | "sticky" | "creamy" | "watery" | "egg_white";
|
5
|
+
export declare const CervicalMucusEntryQuality: {
|
6
|
+
readonly Dry: "dry";
|
7
|
+
readonly Sticky: "sticky";
|
8
|
+
readonly Creamy: "creamy";
|
9
|
+
readonly Watery: "watery";
|
10
|
+
readonly EggWhite: "egg_white";
|
11
|
+
};
|