@tryvital/vital-node 3.1.7 → 3.1.9
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/errors/index.d.ts +1 -1
- package/api/errors/index.js +1 -1
- package/api/resources/activity/client/Client.d.ts +4 -4
- package/api/resources/activity/client/Client.js +6 -6
- package/api/resources/activity/client/requests/ActivityGetRawRequest.d.ts +1 -1
- package/api/resources/activity/client/requests/ActivityGetRequest.d.ts +1 -1
- package/api/resources/body/client/Client.d.ts +4 -4
- package/api/resources/body/client/Client.js +6 -6
- package/api/resources/body/client/requests/BodyGetRawRequest.d.ts +1 -1
- package/api/resources/body/client/requests/BodyGetRequest.d.ts +1 -1
- package/api/resources/devices/client/Client.d.ts +1 -1
- package/api/resources/devices/client/Client.js +2 -2
- package/api/resources/insurance/client/Client.d.ts +6 -1
- package/api/resources/insurance/client/Client.js +8 -3
- package/api/resources/insurance/client/requests/InsuranceSearchDiagnosisRequest.d.ts +1 -1
- package/api/resources/insurance/client/requests/PayorSearchRequest.d.ts +6 -0
- package/api/resources/introspect/client/Client.d.ts +2 -6
- package/api/resources/introspect/client/Client.js +4 -8
- package/api/resources/introspect/client/requests/IntrospectGetUserHistoricalPullsRequest.d.ts +1 -3
- package/api/resources/introspect/client/requests/IntrospectGetUserResourcesRequest.d.ts +1 -3
- package/api/resources/labTests/client/Client.d.ts +70 -1
- package/api/resources/labTests/client/Client.js +122 -33
- package/api/resources/labTests/client/requests/AppointmentBookingRequest.d.ts +6 -0
- package/api/resources/labTests/client/requests/AppointmentCancelRequest.d.ts +6 -0
- package/api/resources/labTests/client/requests/AppointmentRescheduleRequest.d.ts +6 -0
- package/api/resources/labTests/client/requests/CreateLabTestRequest.d.ts +11 -0
- package/api/resources/labTests/client/requests/LabTestsGetAreaInfoRequest.d.ts +6 -0
- package/api/resources/labTests/client/requests/LabTestsSimulateOrderProcessRequest.d.ts +4 -0
- package/api/resources/labTests/client/requests/RequestAppointmentRequest.d.ts +12 -0
- package/api/resources/link/client/Client.d.ts +71 -0
- package/api/resources/link/client/Client.js +138 -14
- package/api/resources/link/client/requests/BeginLinkTokenRequest.d.ts +7 -0
- package/api/resources/link/client/requests/CompletePasswordProviderMfaBody.d.ts +13 -0
- package/api/resources/link/client/requests/CompletePasswordProviderMfaBody.js +5 -0
- package/api/resources/link/client/requests/DemoConnectionCreationPayload.d.ts +7 -0
- package/api/resources/link/client/requests/EmailAuthLink.d.ts +8 -0
- package/api/resources/link/client/requests/EmailProviderAuthLink.d.ts +6 -0
- package/api/resources/link/client/requests/IndividualProviderData.d.ts +9 -1
- package/api/resources/link/client/requests/LinkCodeCreateRequest.d.ts +6 -0
- package/api/resources/link/client/requests/LinkGenerateOauthLinkRequest.d.ts +4 -0
- package/api/resources/link/client/requests/LinkTokenBase.d.ts +6 -0
- package/api/resources/link/client/requests/LinkTokenExchange.d.ts +6 -0
- package/api/resources/link/client/requests/ManualConnectionData.d.ts +6 -0
- package/api/resources/link/client/requests/PasswordAuthLink.d.ts +9 -0
- package/api/resources/link/client/requests/index.d.ts +1 -0
- package/api/resources/meal/client/Client.d.ts +2 -2
- package/api/resources/meal/client/Client.js +3 -3
- package/api/resources/meal/client/requests/MealGetRequest.d.ts +1 -1
- package/api/resources/profile/client/Client.d.ts +6 -0
- package/api/resources/profile/client/Client.js +8 -2
- package/api/resources/profile/client/requests/ProfileGetRawRequest.d.ts +4 -0
- package/api/resources/profile/client/requests/ProfileGetRequest.d.ts +4 -0
- package/api/resources/providers/client/Client.js +1 -1
- package/api/resources/sleep/client/Client.d.ts +7 -7
- package/api/resources/sleep/client/Client.js +11 -11
- package/api/resources/sleep/client/requests/SleepGetRawRequest.d.ts +1 -1
- package/api/resources/sleep/client/requests/SleepGetRequest.d.ts +1 -1
- package/api/resources/sleep/client/requests/SleepGetStreamRequest.d.ts +1 -1
- package/api/resources/team/client/Client.d.ts +5 -2
- package/api/resources/team/client/Client.js +12 -9
- package/api/resources/team/client/requests/TeamUpdateSourcePrioritiesRequest.d.ts +1 -1
- package/api/resources/testkit/client/Client.js +2 -2
- package/api/resources/user/client/Client.d.ts +34 -2
- package/api/resources/user/client/Client.js +46 -14
- package/api/resources/user/client/requests/UserCreateBody.d.ts +7 -1
- package/api/resources/user/client/requests/UserGetAllRequest.d.ts +4 -0
- package/api/resources/user/client/requests/UserPatchBody.d.ts +1 -1
- package/api/resources/user/client/requests/UserRefreshRequest.d.ts +4 -0
- package/api/resources/user/client/requests/UserUndoDeleteRequest.d.ts +4 -0
- package/api/resources/vitals/client/Client.d.ts +100 -100
- package/api/resources/vitals/client/Client.js +150 -150
- package/api/resources/vitals/client/requests/VitalsBloodOxygenGroupedRequest.d.ts +1 -1
- package/api/resources/vitals/client/requests/VitalsBloodOxygenRequest.d.ts +1 -1
- package/api/resources/vitals/client/requests/VitalsBloodPressureGroupedRequest.d.ts +1 -1
- package/api/resources/vitals/client/requests/VitalsBloodPressureRequest.d.ts +1 -1
- package/api/resources/vitals/client/requests/VitalsBodyFatGroupedRequest.d.ts +1 -1
- package/api/resources/vitals/client/requests/VitalsBodyFatRequest.d.ts +1 -1
- package/api/resources/vitals/client/requests/VitalsBodyWeightGroupedRequest.d.ts +1 -1
- package/api/resources/vitals/client/requests/VitalsBodyWeightRequest.d.ts +1 -1
- package/api/resources/vitals/client/requests/VitalsCaffeineGroupedRequest.d.ts +1 -1
- package/api/resources/vitals/client/requests/VitalsCaffeineRequest.d.ts +1 -1
- package/api/resources/vitals/client/requests/VitalsCaloriesActiveGroupedRequest.d.ts +1 -1
- package/api/resources/vitals/client/requests/VitalsCaloriesActiveRequest.d.ts +1 -1
- package/api/resources/vitals/client/requests/VitalsCaloriesBasalGroupedRequest.d.ts +1 -1
- package/api/resources/vitals/client/requests/VitalsCaloriesBasalRequest.d.ts +1 -1
- package/api/resources/vitals/client/requests/VitalsCholesterolGroupedRequest.d.ts +1 -1
- package/api/resources/vitals/client/requests/VitalsCholesterolHdlRequest.d.ts +1 -1
- package/api/resources/vitals/client/requests/VitalsCholesterolLdlRequest.d.ts +1 -1
- package/api/resources/vitals/client/requests/VitalsCholesterolRequest.d.ts +1 -1
- package/api/resources/vitals/client/requests/VitalsCholesterolTotalRequest.d.ts +1 -1
- package/api/resources/vitals/client/requests/VitalsCholesterolTriglyceridesRequest.d.ts +1 -1
- package/api/resources/vitals/client/requests/VitalsDistanceGroupedRequest.d.ts +1 -1
- package/api/resources/vitals/client/requests/VitalsDistanceRequest.d.ts +1 -1
- package/api/resources/vitals/client/requests/VitalsElectrocardiogramVoltageGroupedRequest.d.ts +1 -1
- package/api/resources/vitals/client/requests/VitalsElectrocardiogramVoltageRequest.d.ts +1 -1
- package/api/resources/vitals/client/requests/VitalsFloorsClimbedGroupedRequest.d.ts +1 -1
- package/api/resources/vitals/client/requests/VitalsFloorsClimbedRequest.d.ts +1 -1
- package/api/resources/vitals/client/requests/VitalsGlucoseGroupedRequest.d.ts +1 -1
- package/api/resources/vitals/client/requests/VitalsGlucoseRequest.d.ts +1 -1
- package/api/resources/vitals/client/requests/VitalsHeartrateGroupedRequest.d.ts +1 -1
- package/api/resources/vitals/client/requests/VitalsHeartrateRequest.d.ts +1 -1
- package/api/resources/vitals/client/requests/VitalsHrvGroupedRequest.d.ts +1 -1
- package/api/resources/vitals/client/requests/VitalsHrvRequest.d.ts +1 -1
- package/api/resources/vitals/client/requests/VitalsHypnogramGroupedRequest.d.ts +1 -1
- package/api/resources/vitals/client/requests/VitalsHypnogramRequest.d.ts +1 -1
- package/api/resources/vitals/client/requests/VitalsIgeGroupedRequest.d.ts +1 -1
- package/api/resources/vitals/client/requests/VitalsIgeRequest.d.ts +1 -1
- package/api/resources/vitals/client/requests/VitalsIggGroupedRequest.d.ts +1 -1
- package/api/resources/vitals/client/requests/VitalsIggRequest.d.ts +1 -1
- package/api/resources/vitals/client/requests/VitalsMindfulnessMinutesGroupedRequest.d.ts +1 -1
- package/api/resources/vitals/client/requests/VitalsMindfulnessMinutesRequest.d.ts +1 -1
- package/api/resources/vitals/client/requests/VitalsRespiratoryRateGroupedRequest.d.ts +1 -1
- package/api/resources/vitals/client/requests/VitalsRespiratoryRateRequest.d.ts +1 -1
- package/api/resources/vitals/client/requests/VitalsStepsGroupedRequest.d.ts +1 -1
- package/api/resources/vitals/client/requests/VitalsStepsRequest.d.ts +1 -1
- package/api/resources/vitals/client/requests/VitalsStressLevelGroupedRequest.d.ts +1 -1
- package/api/resources/vitals/client/requests/VitalsStressLevelRequest.d.ts +1 -1
- package/api/resources/vitals/client/requests/VitalsVo2MaxGroupedRequest.d.ts +1 -1
- package/api/resources/vitals/client/requests/VitalsVo2MaxRequest.d.ts +1 -1
- package/api/resources/vitals/client/requests/VitalsWaterGroupedRequest.d.ts +1 -1
- package/api/resources/vitals/client/requests/VitalsWaterRequest.d.ts +1 -1
- package/api/resources/workouts/client/Client.d.ts +5 -5
- package/api/resources/workouts/client/Client.js +8 -8
- package/api/resources/workouts/client/requests/WorkoutsGetRawRequest.d.ts +1 -1
- package/api/resources/workouts/client/requests/WorkoutsGetRequest.d.ts +1 -1
- package/api/types/AppointmentType.d.ts +3 -0
- package/api/types/ClientFacingCaloriesActiveTimeseries.d.ts +1 -0
- package/api/types/ClientFacingCaloriesBasalTimeseries.d.ts +1 -0
- package/api/types/ClientFacingDistanceTimeseries.d.ts +1 -0
- package/api/types/ClientFacingFloorsClimbedTimeseries.d.ts +1 -0
- package/api/types/ClientFacingStepsTimeseries.d.ts +1 -0
- package/api/types/ClientFacingUser.d.ts +1 -1
- package/api/types/ConnectionStatus.d.ts +3 -2
- package/api/types/ConnectionStatusState.d.ts +2 -1
- package/api/types/ConnectionStatusState.js +1 -0
- package/api/types/EmailProviders.d.ts +3 -0
- package/api/types/PasswordProviders.d.ts +2 -1
- package/api/types/PasswordProviders.js +1 -0
- package/api/types/ProfileInDb.d.ts +1 -1
- package/api/types/ProviderLinkResponse.d.ts +5 -3
- package/api/types/ProviderLinkResponseState.d.ts +2 -1
- package/api/types/ProviderLinkResponseState.js +1 -0
- package/api/types/ProviderMfaRequest.d.ts +8 -0
- package/api/types/ProviderMfaRequest.js +5 -0
- package/api/types/ProviderMfaRequestMethod.d.ts +8 -0
- package/api/types/ProviderMfaRequestMethod.js +10 -0
- package/api/types/Providers.d.ts +2 -1
- package/api/types/Providers.js +1 -0
- package/api/types/UserRefreshErrorResponse.d.ts +1 -1
- package/api/types/UserRefreshSuccessResponse.d.ts +1 -1
- package/api/types/index.d.ts +2 -0
- package/api/types/index.js +2 -0
- package/dist/api/errors/index.d.ts +1 -1
- package/dist/api/errors/index.js +1 -1
- package/dist/api/resources/activity/client/Client.d.ts +4 -4
- package/dist/api/resources/activity/client/Client.js +6 -6
- package/dist/api/resources/activity/client/requests/ActivityGetRawRequest.d.ts +1 -1
- package/dist/api/resources/activity/client/requests/ActivityGetRequest.d.ts +1 -1
- package/dist/api/resources/body/client/Client.d.ts +4 -4
- package/dist/api/resources/body/client/Client.js +6 -6
- package/dist/api/resources/body/client/requests/BodyGetRawRequest.d.ts +1 -1
- package/dist/api/resources/body/client/requests/BodyGetRequest.d.ts +1 -1
- package/dist/api/resources/devices/client/Client.d.ts +1 -1
- package/dist/api/resources/devices/client/Client.js +2 -2
- package/dist/api/resources/insurance/client/Client.d.ts +6 -1
- package/dist/api/resources/insurance/client/Client.js +8 -3
- package/dist/api/resources/insurance/client/requests/InsuranceSearchDiagnosisRequest.d.ts +1 -1
- package/dist/api/resources/insurance/client/requests/PayorSearchRequest.d.ts +6 -0
- package/dist/api/resources/introspect/client/Client.d.ts +2 -6
- package/dist/api/resources/introspect/client/Client.js +4 -8
- package/dist/api/resources/introspect/client/requests/IntrospectGetUserHistoricalPullsRequest.d.ts +1 -3
- package/dist/api/resources/introspect/client/requests/IntrospectGetUserResourcesRequest.d.ts +1 -3
- package/dist/api/resources/labTests/client/Client.d.ts +70 -1
- package/dist/api/resources/labTests/client/Client.js +122 -33
- package/dist/api/resources/labTests/client/requests/AppointmentBookingRequest.d.ts +6 -0
- package/dist/api/resources/labTests/client/requests/AppointmentCancelRequest.d.ts +6 -0
- package/dist/api/resources/labTests/client/requests/AppointmentRescheduleRequest.d.ts +6 -0
- package/dist/api/resources/labTests/client/requests/CreateLabTestRequest.d.ts +11 -0
- package/dist/api/resources/labTests/client/requests/LabTestsGetAreaInfoRequest.d.ts +6 -0
- package/dist/api/resources/labTests/client/requests/LabTestsSimulateOrderProcessRequest.d.ts +4 -0
- package/dist/api/resources/labTests/client/requests/RequestAppointmentRequest.d.ts +12 -0
- package/dist/api/resources/link/client/Client.d.ts +71 -0
- package/dist/api/resources/link/client/Client.js +138 -14
- package/dist/api/resources/link/client/requests/BeginLinkTokenRequest.d.ts +7 -0
- package/dist/api/resources/link/client/requests/CompletePasswordProviderMfaBody.d.ts +13 -0
- package/dist/api/resources/link/client/requests/CompletePasswordProviderMfaBody.js +5 -0
- package/dist/api/resources/link/client/requests/DemoConnectionCreationPayload.d.ts +7 -0
- package/dist/api/resources/link/client/requests/EmailAuthLink.d.ts +8 -0
- package/dist/api/resources/link/client/requests/EmailProviderAuthLink.d.ts +6 -0
- package/dist/api/resources/link/client/requests/IndividualProviderData.d.ts +9 -1
- package/dist/api/resources/link/client/requests/LinkCodeCreateRequest.d.ts +6 -0
- package/dist/api/resources/link/client/requests/LinkGenerateOauthLinkRequest.d.ts +4 -0
- package/dist/api/resources/link/client/requests/LinkTokenBase.d.ts +6 -0
- package/dist/api/resources/link/client/requests/LinkTokenExchange.d.ts +6 -0
- package/dist/api/resources/link/client/requests/ManualConnectionData.d.ts +6 -0
- package/dist/api/resources/link/client/requests/PasswordAuthLink.d.ts +9 -0
- package/dist/api/resources/link/client/requests/index.d.ts +1 -0
- package/dist/api/resources/meal/client/Client.d.ts +2 -2
- package/dist/api/resources/meal/client/Client.js +3 -3
- package/dist/api/resources/meal/client/requests/MealGetRequest.d.ts +1 -1
- package/dist/api/resources/profile/client/Client.d.ts +6 -0
- package/dist/api/resources/profile/client/Client.js +8 -2
- package/dist/api/resources/profile/client/requests/ProfileGetRawRequest.d.ts +4 -0
- package/dist/api/resources/profile/client/requests/ProfileGetRequest.d.ts +4 -0
- package/dist/api/resources/providers/client/Client.js +1 -1
- package/dist/api/resources/sleep/client/Client.d.ts +7 -7
- package/dist/api/resources/sleep/client/Client.js +11 -11
- package/dist/api/resources/sleep/client/requests/SleepGetRawRequest.d.ts +1 -1
- package/dist/api/resources/sleep/client/requests/SleepGetRequest.d.ts +1 -1
- package/dist/api/resources/sleep/client/requests/SleepGetStreamRequest.d.ts +1 -1
- package/dist/api/resources/team/client/Client.d.ts +5 -2
- package/dist/api/resources/team/client/Client.js +12 -9
- package/dist/api/resources/team/client/requests/TeamUpdateSourcePrioritiesRequest.d.ts +1 -1
- package/dist/api/resources/testkit/client/Client.js +2 -2
- package/dist/api/resources/user/client/Client.d.ts +34 -2
- package/dist/api/resources/user/client/Client.js +46 -14
- package/dist/api/resources/user/client/requests/UserCreateBody.d.ts +7 -1
- package/dist/api/resources/user/client/requests/UserGetAllRequest.d.ts +4 -0
- package/dist/api/resources/user/client/requests/UserPatchBody.d.ts +1 -1
- package/dist/api/resources/user/client/requests/UserRefreshRequest.d.ts +4 -0
- package/dist/api/resources/user/client/requests/UserUndoDeleteRequest.d.ts +4 -0
- package/dist/api/resources/vitals/client/Client.d.ts +100 -100
- package/dist/api/resources/vitals/client/Client.js +150 -150
- package/dist/api/resources/vitals/client/requests/VitalsBloodOxygenGroupedRequest.d.ts +1 -1
- package/dist/api/resources/vitals/client/requests/VitalsBloodOxygenRequest.d.ts +1 -1
- package/dist/api/resources/vitals/client/requests/VitalsBloodPressureGroupedRequest.d.ts +1 -1
- package/dist/api/resources/vitals/client/requests/VitalsBloodPressureRequest.d.ts +1 -1
- package/dist/api/resources/vitals/client/requests/VitalsBodyFatGroupedRequest.d.ts +1 -1
- package/dist/api/resources/vitals/client/requests/VitalsBodyFatRequest.d.ts +1 -1
- package/dist/api/resources/vitals/client/requests/VitalsBodyWeightGroupedRequest.d.ts +1 -1
- package/dist/api/resources/vitals/client/requests/VitalsBodyWeightRequest.d.ts +1 -1
- package/dist/api/resources/vitals/client/requests/VitalsCaffeineGroupedRequest.d.ts +1 -1
- package/dist/api/resources/vitals/client/requests/VitalsCaffeineRequest.d.ts +1 -1
- package/dist/api/resources/vitals/client/requests/VitalsCaloriesActiveGroupedRequest.d.ts +1 -1
- package/dist/api/resources/vitals/client/requests/VitalsCaloriesActiveRequest.d.ts +1 -1
- package/dist/api/resources/vitals/client/requests/VitalsCaloriesBasalGroupedRequest.d.ts +1 -1
- package/dist/api/resources/vitals/client/requests/VitalsCaloriesBasalRequest.d.ts +1 -1
- package/dist/api/resources/vitals/client/requests/VitalsCholesterolGroupedRequest.d.ts +1 -1
- package/dist/api/resources/vitals/client/requests/VitalsCholesterolHdlRequest.d.ts +1 -1
- package/dist/api/resources/vitals/client/requests/VitalsCholesterolLdlRequest.d.ts +1 -1
- package/dist/api/resources/vitals/client/requests/VitalsCholesterolRequest.d.ts +1 -1
- package/dist/api/resources/vitals/client/requests/VitalsCholesterolTotalRequest.d.ts +1 -1
- package/dist/api/resources/vitals/client/requests/VitalsCholesterolTriglyceridesRequest.d.ts +1 -1
- package/dist/api/resources/vitals/client/requests/VitalsDistanceGroupedRequest.d.ts +1 -1
- package/dist/api/resources/vitals/client/requests/VitalsDistanceRequest.d.ts +1 -1
- package/dist/api/resources/vitals/client/requests/VitalsElectrocardiogramVoltageGroupedRequest.d.ts +1 -1
- package/dist/api/resources/vitals/client/requests/VitalsElectrocardiogramVoltageRequest.d.ts +1 -1
- package/dist/api/resources/vitals/client/requests/VitalsFloorsClimbedGroupedRequest.d.ts +1 -1
- package/dist/api/resources/vitals/client/requests/VitalsFloorsClimbedRequest.d.ts +1 -1
- package/dist/api/resources/vitals/client/requests/VitalsGlucoseGroupedRequest.d.ts +1 -1
- package/dist/api/resources/vitals/client/requests/VitalsGlucoseRequest.d.ts +1 -1
- package/dist/api/resources/vitals/client/requests/VitalsHeartrateGroupedRequest.d.ts +1 -1
- package/dist/api/resources/vitals/client/requests/VitalsHeartrateRequest.d.ts +1 -1
- package/dist/api/resources/vitals/client/requests/VitalsHrvGroupedRequest.d.ts +1 -1
- package/dist/api/resources/vitals/client/requests/VitalsHrvRequest.d.ts +1 -1
- package/dist/api/resources/vitals/client/requests/VitalsHypnogramGroupedRequest.d.ts +1 -1
- package/dist/api/resources/vitals/client/requests/VitalsHypnogramRequest.d.ts +1 -1
- package/dist/api/resources/vitals/client/requests/VitalsIgeGroupedRequest.d.ts +1 -1
- package/dist/api/resources/vitals/client/requests/VitalsIgeRequest.d.ts +1 -1
- package/dist/api/resources/vitals/client/requests/VitalsIggGroupedRequest.d.ts +1 -1
- package/dist/api/resources/vitals/client/requests/VitalsIggRequest.d.ts +1 -1
- package/dist/api/resources/vitals/client/requests/VitalsMindfulnessMinutesGroupedRequest.d.ts +1 -1
- package/dist/api/resources/vitals/client/requests/VitalsMindfulnessMinutesRequest.d.ts +1 -1
- package/dist/api/resources/vitals/client/requests/VitalsRespiratoryRateGroupedRequest.d.ts +1 -1
- package/dist/api/resources/vitals/client/requests/VitalsRespiratoryRateRequest.d.ts +1 -1
- package/dist/api/resources/vitals/client/requests/VitalsStepsGroupedRequest.d.ts +1 -1
- package/dist/api/resources/vitals/client/requests/VitalsStepsRequest.d.ts +1 -1
- package/dist/api/resources/vitals/client/requests/VitalsStressLevelGroupedRequest.d.ts +1 -1
- package/dist/api/resources/vitals/client/requests/VitalsStressLevelRequest.d.ts +1 -1
- package/dist/api/resources/vitals/client/requests/VitalsVo2MaxGroupedRequest.d.ts +1 -1
- package/dist/api/resources/vitals/client/requests/VitalsVo2MaxRequest.d.ts +1 -1
- package/dist/api/resources/vitals/client/requests/VitalsWaterGroupedRequest.d.ts +1 -1
- package/dist/api/resources/vitals/client/requests/VitalsWaterRequest.d.ts +1 -1
- package/dist/api/resources/workouts/client/Client.d.ts +5 -5
- package/dist/api/resources/workouts/client/Client.js +8 -8
- package/dist/api/resources/workouts/client/requests/WorkoutsGetRawRequest.d.ts +1 -1
- package/dist/api/resources/workouts/client/requests/WorkoutsGetRequest.d.ts +1 -1
- package/dist/api/types/AppointmentType.d.ts +3 -0
- package/dist/api/types/ClientFacingCaloriesActiveTimeseries.d.ts +1 -0
- package/dist/api/types/ClientFacingCaloriesBasalTimeseries.d.ts +1 -0
- package/dist/api/types/ClientFacingDistanceTimeseries.d.ts +1 -0
- package/dist/api/types/ClientFacingFloorsClimbedTimeseries.d.ts +1 -0
- package/dist/api/types/ClientFacingStepsTimeseries.d.ts +1 -0
- package/dist/api/types/ClientFacingUser.d.ts +1 -1
- package/dist/api/types/ConnectionStatus.d.ts +3 -2
- package/dist/api/types/ConnectionStatusState.d.ts +2 -1
- package/dist/api/types/ConnectionStatusState.js +1 -0
- package/dist/api/types/EmailProviders.d.ts +3 -0
- package/dist/api/types/PasswordProviders.d.ts +2 -1
- package/dist/api/types/PasswordProviders.js +1 -0
- package/dist/api/types/ProfileInDb.d.ts +1 -1
- package/dist/api/types/ProviderLinkResponse.d.ts +5 -3
- package/dist/api/types/ProviderLinkResponseState.d.ts +2 -1
- package/dist/api/types/ProviderLinkResponseState.js +1 -0
- package/dist/api/types/ProviderMfaRequest.d.ts +8 -0
- package/dist/api/types/ProviderMfaRequest.js +5 -0
- package/dist/api/types/ProviderMfaRequestMethod.d.ts +8 -0
- package/dist/api/types/ProviderMfaRequestMethod.js +10 -0
- package/dist/api/types/Providers.d.ts +2 -1
- package/dist/api/types/Providers.js +1 -0
- package/dist/api/types/UserRefreshErrorResponse.d.ts +1 -1
- package/dist/api/types/UserRefreshSuccessResponse.d.ts +1 -1
- package/dist/api/types/index.d.ts +2 -0
- package/dist/api/types/index.js +2 -0
- package/dist/serialization/resources/link/client/requests/CompletePasswordProviderMfaBody.d.ts +12 -0
- package/dist/serialization/resources/link/client/requests/CompletePasswordProviderMfaBody.js +33 -0
- package/dist/serialization/resources/link/client/requests/IndividualProviderData.d.ts +3 -1
- package/dist/serialization/resources/link/client/requests/IndividualProviderData.js +2 -0
- package/dist/serialization/resources/link/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/link/client/requests/index.js +3 -1
- package/dist/serialization/types/ConnectionStatus.d.ts +4 -2
- package/dist/serialization/types/ConnectionStatus.js +4 -2
- package/dist/serialization/types/ConnectionStatusState.d.ts +1 -1
- package/dist/serialization/types/ConnectionStatusState.js +1 -1
- package/dist/serialization/types/PasswordProviders.d.ts +1 -1
- package/dist/serialization/types/PasswordProviders.js +1 -0
- package/dist/serialization/types/ProfileInDb.d.ts +1 -1
- package/dist/serialization/types/ProfileInDb.js +1 -1
- package/dist/serialization/types/ProviderLinkResponse.d.ts +7 -4
- package/dist/serialization/types/ProviderLinkResponse.js +7 -4
- package/dist/serialization/types/ProviderLinkResponseState.d.ts +1 -1
- package/dist/serialization/types/ProviderLinkResponseState.js +1 -1
- package/dist/serialization/types/ProviderMfaRequest.d.ts +14 -0
- package/dist/serialization/types/ProviderMfaRequest.js +35 -0
- package/dist/serialization/types/ProviderMfaRequestMethod.d.ts +10 -0
- package/dist/serialization/types/ProviderMfaRequestMethod.js +31 -0
- package/dist/serialization/types/Providers.d.ts +1 -1
- package/dist/serialization/types/Providers.js +1 -0
- package/dist/serialization/types/UserRefreshErrorResponse.d.ts +1 -1
- package/dist/serialization/types/UserRefreshErrorResponse.js +1 -1
- package/dist/serialization/types/UserRefreshSuccessResponse.d.ts +1 -1
- package/dist/serialization/types/UserRefreshSuccessResponse.js +1 -1
- package/dist/serialization/types/index.d.ts +2 -0
- package/dist/serialization/types/index.js +2 -0
- package/package.json +1 -1
- package/serialization/resources/link/client/requests/CompletePasswordProviderMfaBody.d.ts +12 -0
- package/serialization/resources/link/client/requests/CompletePasswordProviderMfaBody.js +33 -0
- package/serialization/resources/link/client/requests/IndividualProviderData.d.ts +3 -1
- package/serialization/resources/link/client/requests/IndividualProviderData.js +2 -0
- package/serialization/resources/link/client/requests/index.d.ts +1 -0
- package/serialization/resources/link/client/requests/index.js +3 -1
- package/serialization/types/ConnectionStatus.d.ts +4 -2
- package/serialization/types/ConnectionStatus.js +4 -2
- package/serialization/types/ConnectionStatusState.d.ts +1 -1
- package/serialization/types/ConnectionStatusState.js +1 -1
- package/serialization/types/PasswordProviders.d.ts +1 -1
- package/serialization/types/PasswordProviders.js +1 -0
- package/serialization/types/ProfileInDb.d.ts +1 -1
- package/serialization/types/ProfileInDb.js +1 -1
- package/serialization/types/ProviderLinkResponse.d.ts +7 -4
- package/serialization/types/ProviderLinkResponse.js +7 -4
- package/serialization/types/ProviderLinkResponseState.d.ts +1 -1
- package/serialization/types/ProviderLinkResponseState.js +1 -1
- package/serialization/types/ProviderMfaRequest.d.ts +14 -0
- package/serialization/types/ProviderMfaRequest.js +35 -0
- package/serialization/types/ProviderMfaRequestMethod.d.ts +10 -0
- package/serialization/types/ProviderMfaRequestMethod.js +31 -0
- package/serialization/types/Providers.d.ts +1 -1
- package/serialization/types/Providers.js +1 -0
- package/serialization/types/UserRefreshErrorResponse.d.ts +1 -1
- package/serialization/types/UserRefreshErrorResponse.js +1 -1
- package/serialization/types/UserRefreshSuccessResponse.d.ts +1 -1
- package/serialization/types/UserRefreshSuccessResponse.js +1 -1
- package/serialization/types/index.d.ts +2 -0
- package/serialization/types/index.js +2 -0
@@ -53,8 +53,8 @@ class Vitals {
|
|
53
53
|
* @throws {@link Vital.UnprocessableEntityError}
|
54
54
|
*
|
55
55
|
* @example
|
56
|
-
* await vital.vitals.vo2MaxGrouped("
|
57
|
-
* startDate: "
|
56
|
+
* await vital.vitals.vo2MaxGrouped("user_id", {
|
57
|
+
* startDate: "start_date"
|
58
58
|
* })
|
59
59
|
*/
|
60
60
|
vo2MaxGrouped(userId, request, requestOptions) {
|
@@ -75,7 +75,7 @@ class Vitals {
|
|
75
75
|
const _response = yield core.fetcher({
|
76
76
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/vo2_max/grouped`),
|
77
77
|
method: "GET",
|
78
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
78
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
79
79
|
contentType: "application/json",
|
80
80
|
queryParameters: _queryParams,
|
81
81
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -124,8 +124,8 @@ class Vitals {
|
|
124
124
|
* @throws {@link Vital.UnprocessableEntityError}
|
125
125
|
*
|
126
126
|
* @example
|
127
|
-
* await vital.vitals.stressLevelGrouped("
|
128
|
-
* startDate: "
|
127
|
+
* await vital.vitals.stressLevelGrouped("user_id", {
|
128
|
+
* startDate: "start_date"
|
129
129
|
* })
|
130
130
|
*/
|
131
131
|
stressLevelGrouped(userId, request, requestOptions) {
|
@@ -146,7 +146,7 @@ class Vitals {
|
|
146
146
|
const _response = yield core.fetcher({
|
147
147
|
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`),
|
148
148
|
method: "GET",
|
149
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
149
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
150
150
|
contentType: "application/json",
|
151
151
|
queryParameters: _queryParams,
|
152
152
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -195,8 +195,8 @@ class Vitals {
|
|
195
195
|
* @throws {@link Vital.UnprocessableEntityError}
|
196
196
|
*
|
197
197
|
* @example
|
198
|
-
* await vital.vitals.mindfulnessMinutesGrouped("
|
199
|
-
* startDate: "
|
198
|
+
* await vital.vitals.mindfulnessMinutesGrouped("user_id", {
|
199
|
+
* startDate: "start_date"
|
200
200
|
* })
|
201
201
|
*/
|
202
202
|
mindfulnessMinutesGrouped(userId, request, requestOptions) {
|
@@ -217,7 +217,7 @@ class Vitals {
|
|
217
217
|
const _response = yield core.fetcher({
|
218
218
|
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`),
|
219
219
|
method: "GET",
|
220
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
220
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
221
221
|
contentType: "application/json",
|
222
222
|
queryParameters: _queryParams,
|
223
223
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -266,8 +266,8 @@ class Vitals {
|
|
266
266
|
* @throws {@link Vital.UnprocessableEntityError}
|
267
267
|
*
|
268
268
|
* @example
|
269
|
-
* await vital.vitals.caffeineGrouped("
|
270
|
-
* startDate: "
|
269
|
+
* await vital.vitals.caffeineGrouped("user_id", {
|
270
|
+
* startDate: "start_date"
|
271
271
|
* })
|
272
272
|
*/
|
273
273
|
caffeineGrouped(userId, request, requestOptions) {
|
@@ -288,7 +288,7 @@ class Vitals {
|
|
288
288
|
const _response = yield core.fetcher({
|
289
289
|
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`),
|
290
290
|
method: "GET",
|
291
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
291
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
292
292
|
contentType: "application/json",
|
293
293
|
queryParameters: _queryParams,
|
294
294
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -337,8 +337,8 @@ class Vitals {
|
|
337
337
|
* @throws {@link Vital.UnprocessableEntityError}
|
338
338
|
*
|
339
339
|
* @example
|
340
|
-
* await vital.vitals.waterGrouped("
|
341
|
-
* startDate: "
|
340
|
+
* await vital.vitals.waterGrouped("user_id", {
|
341
|
+
* startDate: "start_date"
|
342
342
|
* })
|
343
343
|
*/
|
344
344
|
waterGrouped(userId, request, requestOptions) {
|
@@ -359,7 +359,7 @@ class Vitals {
|
|
359
359
|
const _response = yield core.fetcher({
|
360
360
|
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`),
|
361
361
|
method: "GET",
|
362
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
362
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
363
363
|
contentType: "application/json",
|
364
364
|
queryParameters: _queryParams,
|
365
365
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -408,8 +408,8 @@ class Vitals {
|
|
408
408
|
* @throws {@link Vital.UnprocessableEntityError}
|
409
409
|
*
|
410
410
|
* @example
|
411
|
-
* await vital.vitals.stepsGrouped("
|
412
|
-
* startDate: "
|
411
|
+
* await vital.vitals.stepsGrouped("user_id", {
|
412
|
+
* startDate: "start_date"
|
413
413
|
* })
|
414
414
|
*/
|
415
415
|
stepsGrouped(userId, request, requestOptions) {
|
@@ -430,7 +430,7 @@ class Vitals {
|
|
430
430
|
const _response = yield core.fetcher({
|
431
431
|
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`),
|
432
432
|
method: "GET",
|
433
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
433
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
434
434
|
contentType: "application/json",
|
435
435
|
queryParameters: _queryParams,
|
436
436
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -479,8 +479,8 @@ class Vitals {
|
|
479
479
|
* @throws {@link Vital.UnprocessableEntityError}
|
480
480
|
*
|
481
481
|
* @example
|
482
|
-
* await vital.vitals.floorsClimbedGrouped("
|
483
|
-
* startDate: "
|
482
|
+
* await vital.vitals.floorsClimbedGrouped("user_id", {
|
483
|
+
* startDate: "start_date"
|
484
484
|
* })
|
485
485
|
*/
|
486
486
|
floorsClimbedGrouped(userId, request, requestOptions) {
|
@@ -501,7 +501,7 @@ class Vitals {
|
|
501
501
|
const _response = yield core.fetcher({
|
502
502
|
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`),
|
503
503
|
method: "GET",
|
504
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
504
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
505
505
|
contentType: "application/json",
|
506
506
|
queryParameters: _queryParams,
|
507
507
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -550,8 +550,8 @@ class Vitals {
|
|
550
550
|
* @throws {@link Vital.UnprocessableEntityError}
|
551
551
|
*
|
552
552
|
* @example
|
553
|
-
* await vital.vitals.distanceGrouped("
|
554
|
-
* startDate: "
|
553
|
+
* await vital.vitals.distanceGrouped("user_id", {
|
554
|
+
* startDate: "start_date"
|
555
555
|
* })
|
556
556
|
*/
|
557
557
|
distanceGrouped(userId, request, requestOptions) {
|
@@ -572,7 +572,7 @@ class Vitals {
|
|
572
572
|
const _response = yield core.fetcher({
|
573
573
|
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`),
|
574
574
|
method: "GET",
|
575
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
575
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
576
576
|
contentType: "application/json",
|
577
577
|
queryParameters: _queryParams,
|
578
578
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -621,8 +621,8 @@ class Vitals {
|
|
621
621
|
* @throws {@link Vital.UnprocessableEntityError}
|
622
622
|
*
|
623
623
|
* @example
|
624
|
-
* await vital.vitals.caloriesBasalGrouped("
|
625
|
-
* startDate: "
|
624
|
+
* await vital.vitals.caloriesBasalGrouped("user_id", {
|
625
|
+
* startDate: "start_date"
|
626
626
|
* })
|
627
627
|
*/
|
628
628
|
caloriesBasalGrouped(userId, request, requestOptions) {
|
@@ -643,7 +643,7 @@ class Vitals {
|
|
643
643
|
const _response = yield core.fetcher({
|
644
644
|
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`),
|
645
645
|
method: "GET",
|
646
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
646
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
647
647
|
contentType: "application/json",
|
648
648
|
queryParameters: _queryParams,
|
649
649
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -692,8 +692,8 @@ class Vitals {
|
|
692
692
|
* @throws {@link Vital.UnprocessableEntityError}
|
693
693
|
*
|
694
694
|
* @example
|
695
|
-
* await vital.vitals.caloriesActiveGrouped("
|
696
|
-
* startDate: "
|
695
|
+
* await vital.vitals.caloriesActiveGrouped("user_id", {
|
696
|
+
* startDate: "start_date"
|
697
697
|
* })
|
698
698
|
*/
|
699
699
|
caloriesActiveGrouped(userId, request, requestOptions) {
|
@@ -714,7 +714,7 @@ class Vitals {
|
|
714
714
|
const _response = yield core.fetcher({
|
715
715
|
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`),
|
716
716
|
method: "GET",
|
717
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
717
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
718
718
|
contentType: "application/json",
|
719
719
|
queryParameters: _queryParams,
|
720
720
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -763,8 +763,8 @@ class Vitals {
|
|
763
763
|
* @throws {@link Vital.UnprocessableEntityError}
|
764
764
|
*
|
765
765
|
* @example
|
766
|
-
* await vital.vitals.respiratoryRateGrouped("
|
767
|
-
* startDate: "
|
766
|
+
* await vital.vitals.respiratoryRateGrouped("user_id", {
|
767
|
+
* startDate: "start_date"
|
768
768
|
* })
|
769
769
|
*/
|
770
770
|
respiratoryRateGrouped(userId, request, requestOptions) {
|
@@ -785,7 +785,7 @@ class Vitals {
|
|
785
785
|
const _response = yield core.fetcher({
|
786
786
|
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`),
|
787
787
|
method: "GET",
|
788
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
788
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
789
789
|
contentType: "application/json",
|
790
790
|
queryParameters: _queryParams,
|
791
791
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -834,8 +834,8 @@ class Vitals {
|
|
834
834
|
* @throws {@link Vital.UnprocessableEntityError}
|
835
835
|
*
|
836
836
|
* @example
|
837
|
-
* await vital.vitals.igeGrouped("
|
838
|
-
* startDate: "
|
837
|
+
* await vital.vitals.igeGrouped("user_id", {
|
838
|
+
* startDate: "start_date"
|
839
839
|
* })
|
840
840
|
*/
|
841
841
|
igeGrouped(userId, request, requestOptions) {
|
@@ -856,7 +856,7 @@ class Vitals {
|
|
856
856
|
const _response = yield core.fetcher({
|
857
857
|
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`),
|
858
858
|
method: "GET",
|
859
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
859
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
860
860
|
contentType: "application/json",
|
861
861
|
queryParameters: _queryParams,
|
862
862
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -905,8 +905,8 @@ class Vitals {
|
|
905
905
|
* @throws {@link Vital.UnprocessableEntityError}
|
906
906
|
*
|
907
907
|
* @example
|
908
|
-
* await vital.vitals.iggGrouped("
|
909
|
-
* startDate: "
|
908
|
+
* await vital.vitals.iggGrouped("user_id", {
|
909
|
+
* startDate: "start_date"
|
910
910
|
* })
|
911
911
|
*/
|
912
912
|
iggGrouped(userId, request, requestOptions) {
|
@@ -927,7 +927,7 @@ class Vitals {
|
|
927
927
|
const _response = yield core.fetcher({
|
928
928
|
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`),
|
929
929
|
method: "GET",
|
930
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
930
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
931
931
|
contentType: "application/json",
|
932
932
|
queryParameters: _queryParams,
|
933
933
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -976,8 +976,8 @@ class Vitals {
|
|
976
976
|
* @throws {@link Vital.UnprocessableEntityError}
|
977
977
|
*
|
978
978
|
* @example
|
979
|
-
* await vital.vitals.hypnogramGrouped("
|
980
|
-
* startDate: "
|
979
|
+
* await vital.vitals.hypnogramGrouped("user_id", {
|
980
|
+
* startDate: "start_date"
|
981
981
|
* })
|
982
982
|
*/
|
983
983
|
hypnogramGrouped(userId, request, requestOptions) {
|
@@ -998,7 +998,7 @@ class Vitals {
|
|
998
998
|
const _response = yield core.fetcher({
|
999
999
|
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`),
|
1000
1000
|
method: "GET",
|
1001
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1001
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1002
1002
|
contentType: "application/json",
|
1003
1003
|
queryParameters: _queryParams,
|
1004
1004
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1047,8 +1047,8 @@ class Vitals {
|
|
1047
1047
|
* @throws {@link Vital.UnprocessableEntityError}
|
1048
1048
|
*
|
1049
1049
|
* @example
|
1050
|
-
* await vital.vitals.hrvGrouped("
|
1051
|
-
* startDate: "
|
1050
|
+
* await vital.vitals.hrvGrouped("user_id", {
|
1051
|
+
* startDate: "start_date"
|
1052
1052
|
* })
|
1053
1053
|
*/
|
1054
1054
|
hrvGrouped(userId, request, requestOptions) {
|
@@ -1069,7 +1069,7 @@ class Vitals {
|
|
1069
1069
|
const _response = yield core.fetcher({
|
1070
1070
|
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`),
|
1071
1071
|
method: "GET",
|
1072
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1072
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1073
1073
|
contentType: "application/json",
|
1074
1074
|
queryParameters: _queryParams,
|
1075
1075
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1118,8 +1118,8 @@ class Vitals {
|
|
1118
1118
|
* @throws {@link Vital.UnprocessableEntityError}
|
1119
1119
|
*
|
1120
1120
|
* @example
|
1121
|
-
* await vital.vitals.heartrateGrouped("
|
1122
|
-
* startDate: "
|
1121
|
+
* await vital.vitals.heartrateGrouped("user_id", {
|
1122
|
+
* startDate: "start_date"
|
1123
1123
|
* })
|
1124
1124
|
*/
|
1125
1125
|
heartrateGrouped(userId, request, requestOptions) {
|
@@ -1140,7 +1140,7 @@ class Vitals {
|
|
1140
1140
|
const _response = yield core.fetcher({
|
1141
1141
|
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`),
|
1142
1142
|
method: "GET",
|
1143
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1143
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1144
1144
|
contentType: "application/json",
|
1145
1145
|
queryParameters: _queryParams,
|
1146
1146
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1189,8 +1189,8 @@ class Vitals {
|
|
1189
1189
|
* @throws {@link Vital.UnprocessableEntityError}
|
1190
1190
|
*
|
1191
1191
|
* @example
|
1192
|
-
* await vital.vitals.glucoseGrouped("
|
1193
|
-
* startDate: "
|
1192
|
+
* await vital.vitals.glucoseGrouped("user_id", {
|
1193
|
+
* startDate: "start_date"
|
1194
1194
|
* })
|
1195
1195
|
*/
|
1196
1196
|
glucoseGrouped(userId, request, requestOptions) {
|
@@ -1211,7 +1211,7 @@ class Vitals {
|
|
1211
1211
|
const _response = yield core.fetcher({
|
1212
1212
|
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`),
|
1213
1213
|
method: "GET",
|
1214
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1214
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1215
1215
|
contentType: "application/json",
|
1216
1216
|
queryParameters: _queryParams,
|
1217
1217
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1260,8 +1260,8 @@ class Vitals {
|
|
1260
1260
|
* @throws {@link Vital.UnprocessableEntityError}
|
1261
1261
|
*
|
1262
1262
|
* @example
|
1263
|
-
* await vital.vitals.cholesterolGrouped("
|
1264
|
-
* startDate: "
|
1263
|
+
* await vital.vitals.cholesterolGrouped("user_id", {
|
1264
|
+
* startDate: "start_date"
|
1265
1265
|
* })
|
1266
1266
|
*/
|
1267
1267
|
cholesterolGrouped(userId, request, requestOptions) {
|
@@ -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/${userId}/cholesterol/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.9", "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
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1331,8 +1331,8 @@ class Vitals {
|
|
1331
1331
|
* @throws {@link Vital.UnprocessableEntityError}
|
1332
1332
|
*
|
1333
1333
|
* @example
|
1334
|
-
* await vital.vitals.bodyWeightGrouped("
|
1335
|
-
* startDate: "
|
1334
|
+
* await vital.vitals.bodyWeightGrouped("user_id", {
|
1335
|
+
* startDate: "start_date"
|
1336
1336
|
* })
|
1337
1337
|
*/
|
1338
1338
|
bodyWeightGrouped(userId, request, requestOptions) {
|
@@ -1353,7 +1353,7 @@ class Vitals {
|
|
1353
1353
|
const _response = yield core.fetcher({
|
1354
1354
|
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`),
|
1355
1355
|
method: "GET",
|
1356
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1356
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1357
1357
|
contentType: "application/json",
|
1358
1358
|
queryParameters: _queryParams,
|
1359
1359
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1402,8 +1402,8 @@ class Vitals {
|
|
1402
1402
|
* @throws {@link Vital.UnprocessableEntityError}
|
1403
1403
|
*
|
1404
1404
|
* @example
|
1405
|
-
* await vital.vitals.bodyFatGrouped("
|
1406
|
-
* startDate: "
|
1405
|
+
* await vital.vitals.bodyFatGrouped("user_id", {
|
1406
|
+
* startDate: "start_date"
|
1407
1407
|
* })
|
1408
1408
|
*/
|
1409
1409
|
bodyFatGrouped(userId, request, requestOptions) {
|
@@ -1424,7 +1424,7 @@ class Vitals {
|
|
1424
1424
|
const _response = yield core.fetcher({
|
1425
1425
|
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`),
|
1426
1426
|
method: "GET",
|
1427
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1427
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1428
1428
|
contentType: "application/json",
|
1429
1429
|
queryParameters: _queryParams,
|
1430
1430
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1473,8 +1473,8 @@ class Vitals {
|
|
1473
1473
|
* @throws {@link Vital.UnprocessableEntityError}
|
1474
1474
|
*
|
1475
1475
|
* @example
|
1476
|
-
* await vital.vitals.bloodOxygenGrouped("
|
1477
|
-
* startDate: "
|
1476
|
+
* await vital.vitals.bloodOxygenGrouped("user_id", {
|
1477
|
+
* startDate: "start_date"
|
1478
1478
|
* })
|
1479
1479
|
*/
|
1480
1480
|
bloodOxygenGrouped(userId, request, requestOptions) {
|
@@ -1495,7 +1495,7 @@ class Vitals {
|
|
1495
1495
|
const _response = yield core.fetcher({
|
1496
1496
|
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`),
|
1497
1497
|
method: "GET",
|
1498
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1498
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1499
1499
|
contentType: "application/json",
|
1500
1500
|
queryParameters: _queryParams,
|
1501
1501
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1544,8 +1544,8 @@ class Vitals {
|
|
1544
1544
|
* @throws {@link Vital.UnprocessableEntityError}
|
1545
1545
|
*
|
1546
1546
|
* @example
|
1547
|
-
* await vital.vitals.electrocardiogramVoltageGrouped("
|
1548
|
-
* startDate: "
|
1547
|
+
* await vital.vitals.electrocardiogramVoltageGrouped("user_id", {
|
1548
|
+
* startDate: "start_date"
|
1549
1549
|
* })
|
1550
1550
|
*/
|
1551
1551
|
electrocardiogramVoltageGrouped(userId, request, requestOptions) {
|
@@ -1566,7 +1566,7 @@ class Vitals {
|
|
1566
1566
|
const _response = yield core.fetcher({
|
1567
1567
|
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`),
|
1568
1568
|
method: "GET",
|
1569
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1569
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1570
1570
|
contentType: "application/json",
|
1571
1571
|
queryParameters: _queryParams,
|
1572
1572
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1615,8 +1615,8 @@ class Vitals {
|
|
1615
1615
|
* @throws {@link Vital.UnprocessableEntityError}
|
1616
1616
|
*
|
1617
1617
|
* @example
|
1618
|
-
* await vital.vitals.bloodPressureGrouped("
|
1619
|
-
* startDate: "
|
1618
|
+
* await vital.vitals.bloodPressureGrouped("user_id", {
|
1619
|
+
* startDate: "start_date"
|
1620
1620
|
* })
|
1621
1621
|
*/
|
1622
1622
|
bloodPressureGrouped(userId, request, requestOptions) {
|
@@ -1637,7 +1637,7 @@ class Vitals {
|
|
1637
1637
|
const _response = yield core.fetcher({
|
1638
1638
|
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`),
|
1639
1639
|
method: "GET",
|
1640
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1640
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1641
1641
|
contentType: "application/json",
|
1642
1642
|
queryParameters: _queryParams,
|
1643
1643
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1686,8 +1686,8 @@ class Vitals {
|
|
1686
1686
|
* @throws {@link Vital.UnprocessableEntityError}
|
1687
1687
|
*
|
1688
1688
|
* @example
|
1689
|
-
* await vital.vitals.vo2Max("
|
1690
|
-
* startDate: "
|
1689
|
+
* await vital.vitals.vo2Max("user_id", {
|
1690
|
+
* startDate: "start_date"
|
1691
1691
|
* })
|
1692
1692
|
*/
|
1693
1693
|
vo2Max(userId, request, requestOptions) {
|
@@ -1705,7 +1705,7 @@ class Vitals {
|
|
1705
1705
|
const _response = yield core.fetcher({
|
1706
1706
|
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`),
|
1707
1707
|
method: "GET",
|
1708
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1708
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1709
1709
|
contentType: "application/json",
|
1710
1710
|
queryParameters: _queryParams,
|
1711
1711
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1754,8 +1754,8 @@ class Vitals {
|
|
1754
1754
|
* @throws {@link Vital.UnprocessableEntityError}
|
1755
1755
|
*
|
1756
1756
|
* @example
|
1757
|
-
* await vital.vitals.stressLevel("
|
1758
|
-
* startDate: "
|
1757
|
+
* await vital.vitals.stressLevel("user_id", {
|
1758
|
+
* startDate: "start_date"
|
1759
1759
|
* })
|
1760
1760
|
*/
|
1761
1761
|
stressLevel(userId, request, requestOptions) {
|
@@ -1773,7 +1773,7 @@ class Vitals {
|
|
1773
1773
|
const _response = yield core.fetcher({
|
1774
1774
|
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`),
|
1775
1775
|
method: "GET",
|
1776
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1776
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1777
1777
|
contentType: "application/json",
|
1778
1778
|
queryParameters: _queryParams,
|
1779
1779
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1822,8 +1822,8 @@ class Vitals {
|
|
1822
1822
|
* @throws {@link Vital.UnprocessableEntityError}
|
1823
1823
|
*
|
1824
1824
|
* @example
|
1825
|
-
* await vital.vitals.mindfulnessMinutes("
|
1826
|
-
* startDate: "
|
1825
|
+
* await vital.vitals.mindfulnessMinutes("user_id", {
|
1826
|
+
* startDate: "start_date"
|
1827
1827
|
* })
|
1828
1828
|
*/
|
1829
1829
|
mindfulnessMinutes(userId, request, requestOptions) {
|
@@ -1841,7 +1841,7 @@ class Vitals {
|
|
1841
1841
|
const _response = yield core.fetcher({
|
1842
1842
|
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`),
|
1843
1843
|
method: "GET",
|
1844
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1844
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1845
1845
|
contentType: "application/json",
|
1846
1846
|
queryParameters: _queryParams,
|
1847
1847
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1890,8 +1890,8 @@ class Vitals {
|
|
1890
1890
|
* @throws {@link Vital.UnprocessableEntityError}
|
1891
1891
|
*
|
1892
1892
|
* @example
|
1893
|
-
* await vital.vitals.caffeine("
|
1894
|
-
* startDate: "
|
1893
|
+
* await vital.vitals.caffeine("user_id", {
|
1894
|
+
* startDate: "start_date"
|
1895
1895
|
* })
|
1896
1896
|
*/
|
1897
1897
|
caffeine(userId, request, requestOptions) {
|
@@ -1909,7 +1909,7 @@ class Vitals {
|
|
1909
1909
|
const _response = yield core.fetcher({
|
1910
1910
|
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`),
|
1911
1911
|
method: "GET",
|
1912
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1912
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1913
1913
|
contentType: "application/json",
|
1914
1914
|
queryParameters: _queryParams,
|
1915
1915
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1958,8 +1958,8 @@ class Vitals {
|
|
1958
1958
|
* @throws {@link Vital.UnprocessableEntityError}
|
1959
1959
|
*
|
1960
1960
|
* @example
|
1961
|
-
* await vital.vitals.water("
|
1962
|
-
* startDate: "
|
1961
|
+
* await vital.vitals.water("user_id", {
|
1962
|
+
* startDate: "start_date"
|
1963
1963
|
* })
|
1964
1964
|
*/
|
1965
1965
|
water(userId, request, requestOptions) {
|
@@ -1977,7 +1977,7 @@ class Vitals {
|
|
1977
1977
|
const _response = yield core.fetcher({
|
1978
1978
|
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`),
|
1979
1979
|
method: "GET",
|
1980
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1980
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1981
1981
|
contentType: "application/json",
|
1982
1982
|
queryParameters: _queryParams,
|
1983
1983
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -2026,8 +2026,8 @@ class Vitals {
|
|
2026
2026
|
* @throws {@link Vital.UnprocessableEntityError}
|
2027
2027
|
*
|
2028
2028
|
* @example
|
2029
|
-
* await vital.vitals.steps("
|
2030
|
-
* startDate: "
|
2029
|
+
* await vital.vitals.steps("user_id", {
|
2030
|
+
* startDate: "start_date"
|
2031
2031
|
* })
|
2032
2032
|
*/
|
2033
2033
|
steps(userId, request, requestOptions) {
|
@@ -2045,7 +2045,7 @@ class Vitals {
|
|
2045
2045
|
const _response = yield core.fetcher({
|
2046
2046
|
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`),
|
2047
2047
|
method: "GET",
|
2048
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2048
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2049
2049
|
contentType: "application/json",
|
2050
2050
|
queryParameters: _queryParams,
|
2051
2051
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -2094,8 +2094,8 @@ class Vitals {
|
|
2094
2094
|
* @throws {@link Vital.UnprocessableEntityError}
|
2095
2095
|
*
|
2096
2096
|
* @example
|
2097
|
-
* await vital.vitals.floorsClimbed("
|
2098
|
-
* startDate: "
|
2097
|
+
* await vital.vitals.floorsClimbed("user_id", {
|
2098
|
+
* startDate: "start_date"
|
2099
2099
|
* })
|
2100
2100
|
*/
|
2101
2101
|
floorsClimbed(userId, request, requestOptions) {
|
@@ -2113,7 +2113,7 @@ class Vitals {
|
|
2113
2113
|
const _response = yield core.fetcher({
|
2114
2114
|
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`),
|
2115
2115
|
method: "GET",
|
2116
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2116
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2117
2117
|
contentType: "application/json",
|
2118
2118
|
queryParameters: _queryParams,
|
2119
2119
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -2162,8 +2162,8 @@ class Vitals {
|
|
2162
2162
|
* @throws {@link Vital.UnprocessableEntityError}
|
2163
2163
|
*
|
2164
2164
|
* @example
|
2165
|
-
* await vital.vitals.distance("
|
2166
|
-
* startDate: "
|
2165
|
+
* await vital.vitals.distance("user_id", {
|
2166
|
+
* startDate: "start_date"
|
2167
2167
|
* })
|
2168
2168
|
*/
|
2169
2169
|
distance(userId, request, requestOptions) {
|
@@ -2181,7 +2181,7 @@ class Vitals {
|
|
2181
2181
|
const _response = yield core.fetcher({
|
2182
2182
|
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`),
|
2183
2183
|
method: "GET",
|
2184
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2184
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2185
2185
|
contentType: "application/json",
|
2186
2186
|
queryParameters: _queryParams,
|
2187
2187
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -2230,8 +2230,8 @@ class Vitals {
|
|
2230
2230
|
* @throws {@link Vital.UnprocessableEntityError}
|
2231
2231
|
*
|
2232
2232
|
* @example
|
2233
|
-
* await vital.vitals.caloriesBasal("
|
2234
|
-
* startDate: "
|
2233
|
+
* await vital.vitals.caloriesBasal("user_id", {
|
2234
|
+
* startDate: "start_date"
|
2235
2235
|
* })
|
2236
2236
|
*/
|
2237
2237
|
caloriesBasal(userId, request, requestOptions) {
|
@@ -2249,7 +2249,7 @@ class Vitals {
|
|
2249
2249
|
const _response = yield core.fetcher({
|
2250
2250
|
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`),
|
2251
2251
|
method: "GET",
|
2252
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2252
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2253
2253
|
contentType: "application/json",
|
2254
2254
|
queryParameters: _queryParams,
|
2255
2255
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -2298,8 +2298,8 @@ class Vitals {
|
|
2298
2298
|
* @throws {@link Vital.UnprocessableEntityError}
|
2299
2299
|
*
|
2300
2300
|
* @example
|
2301
|
-
* await vital.vitals.caloriesActive("
|
2302
|
-
* startDate: "
|
2301
|
+
* await vital.vitals.caloriesActive("user_id", {
|
2302
|
+
* startDate: "start_date"
|
2303
2303
|
* })
|
2304
2304
|
*/
|
2305
2305
|
caloriesActive(userId, request, requestOptions) {
|
@@ -2317,7 +2317,7 @@ class Vitals {
|
|
2317
2317
|
const _response = yield core.fetcher({
|
2318
2318
|
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`),
|
2319
2319
|
method: "GET",
|
2320
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2320
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2321
2321
|
contentType: "application/json",
|
2322
2322
|
queryParameters: _queryParams,
|
2323
2323
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -2366,8 +2366,8 @@ class Vitals {
|
|
2366
2366
|
* @throws {@link Vital.UnprocessableEntityError}
|
2367
2367
|
*
|
2368
2368
|
* @example
|
2369
|
-
* await vital.vitals.respiratoryRate("
|
2370
|
-
* startDate: "
|
2369
|
+
* await vital.vitals.respiratoryRate("user_id", {
|
2370
|
+
* startDate: "start_date"
|
2371
2371
|
* })
|
2372
2372
|
*/
|
2373
2373
|
respiratoryRate(userId, request, requestOptions) {
|
@@ -2385,7 +2385,7 @@ class Vitals {
|
|
2385
2385
|
const _response = yield core.fetcher({
|
2386
2386
|
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`),
|
2387
2387
|
method: "GET",
|
2388
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2388
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2389
2389
|
contentType: "application/json",
|
2390
2390
|
queryParameters: _queryParams,
|
2391
2391
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -2434,8 +2434,8 @@ class Vitals {
|
|
2434
2434
|
* @throws {@link Vital.UnprocessableEntityError}
|
2435
2435
|
*
|
2436
2436
|
* @example
|
2437
|
-
* await vital.vitals.ige("
|
2438
|
-
* startDate: "
|
2437
|
+
* await vital.vitals.ige("user_id", {
|
2438
|
+
* startDate: "start_date"
|
2439
2439
|
* })
|
2440
2440
|
*/
|
2441
2441
|
ige(userId, request, requestOptions) {
|
@@ -2453,7 +2453,7 @@ class Vitals {
|
|
2453
2453
|
const _response = yield core.fetcher({
|
2454
2454
|
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`),
|
2455
2455
|
method: "GET",
|
2456
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2456
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2457
2457
|
contentType: "application/json",
|
2458
2458
|
queryParameters: _queryParams,
|
2459
2459
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -2502,8 +2502,8 @@ class Vitals {
|
|
2502
2502
|
* @throws {@link Vital.UnprocessableEntityError}
|
2503
2503
|
*
|
2504
2504
|
* @example
|
2505
|
-
* await vital.vitals.igg("
|
2506
|
-
* startDate: "
|
2505
|
+
* await vital.vitals.igg("user_id", {
|
2506
|
+
* startDate: "start_date"
|
2507
2507
|
* })
|
2508
2508
|
*/
|
2509
2509
|
igg(userId, request, requestOptions) {
|
@@ -2521,7 +2521,7 @@ class Vitals {
|
|
2521
2521
|
const _response = yield core.fetcher({
|
2522
2522
|
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`),
|
2523
2523
|
method: "GET",
|
2524
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2524
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2525
2525
|
contentType: "application/json",
|
2526
2526
|
queryParameters: _queryParams,
|
2527
2527
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -2570,8 +2570,8 @@ class Vitals {
|
|
2570
2570
|
* @throws {@link Vital.UnprocessableEntityError}
|
2571
2571
|
*
|
2572
2572
|
* @example
|
2573
|
-
* await vital.vitals.hypnogram("
|
2574
|
-
* startDate: "
|
2573
|
+
* await vital.vitals.hypnogram("user_id", {
|
2574
|
+
* startDate: "start_date"
|
2575
2575
|
* })
|
2576
2576
|
*/
|
2577
2577
|
hypnogram(userId, request, requestOptions) {
|
@@ -2589,7 +2589,7 @@ class Vitals {
|
|
2589
2589
|
const _response = yield core.fetcher({
|
2590
2590
|
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`),
|
2591
2591
|
method: "GET",
|
2592
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2592
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2593
2593
|
contentType: "application/json",
|
2594
2594
|
queryParameters: _queryParams,
|
2595
2595
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -2638,8 +2638,8 @@ class Vitals {
|
|
2638
2638
|
* @throws {@link Vital.UnprocessableEntityError}
|
2639
2639
|
*
|
2640
2640
|
* @example
|
2641
|
-
* await vital.vitals.hrv("
|
2642
|
-
* startDate: "
|
2641
|
+
* await vital.vitals.hrv("user_id", {
|
2642
|
+
* startDate: "start_date"
|
2643
2643
|
* })
|
2644
2644
|
*/
|
2645
2645
|
hrv(userId, request, requestOptions) {
|
@@ -2657,7 +2657,7 @@ class Vitals {
|
|
2657
2657
|
const _response = yield core.fetcher({
|
2658
2658
|
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`),
|
2659
2659
|
method: "GET",
|
2660
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2660
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2661
2661
|
contentType: "application/json",
|
2662
2662
|
queryParameters: _queryParams,
|
2663
2663
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -2706,8 +2706,8 @@ class Vitals {
|
|
2706
2706
|
* @throws {@link Vital.UnprocessableEntityError}
|
2707
2707
|
*
|
2708
2708
|
* @example
|
2709
|
-
* await vital.vitals.heartrate("
|
2710
|
-
* startDate: "
|
2709
|
+
* await vital.vitals.heartrate("user_id", {
|
2710
|
+
* startDate: "start_date"
|
2711
2711
|
* })
|
2712
2712
|
*/
|
2713
2713
|
heartrate(userId, request, requestOptions) {
|
@@ -2725,7 +2725,7 @@ class Vitals {
|
|
2725
2725
|
const _response = yield core.fetcher({
|
2726
2726
|
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`),
|
2727
2727
|
method: "GET",
|
2728
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2728
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2729
2729
|
contentType: "application/json",
|
2730
2730
|
queryParameters: _queryParams,
|
2731
2731
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -2774,8 +2774,8 @@ class Vitals {
|
|
2774
2774
|
* @throws {@link Vital.UnprocessableEntityError}
|
2775
2775
|
*
|
2776
2776
|
* @example
|
2777
|
-
* await vital.vitals.glucose("
|
2778
|
-
* startDate: "
|
2777
|
+
* await vital.vitals.glucose("user_id", {
|
2778
|
+
* startDate: "start_date"
|
2779
2779
|
* })
|
2780
2780
|
*/
|
2781
2781
|
glucose(userId, request, requestOptions) {
|
@@ -2793,7 +2793,7 @@ class Vitals {
|
|
2793
2793
|
const _response = yield core.fetcher({
|
2794
2794
|
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`),
|
2795
2795
|
method: "GET",
|
2796
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2796
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2797
2797
|
contentType: "application/json",
|
2798
2798
|
queryParameters: _queryParams,
|
2799
2799
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -2842,8 +2842,8 @@ class Vitals {
|
|
2842
2842
|
* @throws {@link Vital.UnprocessableEntityError}
|
2843
2843
|
*
|
2844
2844
|
* @example
|
2845
|
-
* await vital.vitals.cholesterolTriglycerides("
|
2846
|
-
* startDate: "
|
2845
|
+
* await vital.vitals.cholesterolTriglycerides("user_id", {
|
2846
|
+
* startDate: "start_date"
|
2847
2847
|
* })
|
2848
2848
|
*/
|
2849
2849
|
cholesterolTriglycerides(userId, request, requestOptions) {
|
@@ -2861,7 +2861,7 @@ class Vitals {
|
|
2861
2861
|
const _response = yield core.fetcher({
|
2862
2862
|
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`),
|
2863
2863
|
method: "GET",
|
2864
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2864
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2865
2865
|
contentType: "application/json",
|
2866
2866
|
queryParameters: _queryParams,
|
2867
2867
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -2910,8 +2910,8 @@ class Vitals {
|
|
2910
2910
|
* @throws {@link Vital.UnprocessableEntityError}
|
2911
2911
|
*
|
2912
2912
|
* @example
|
2913
|
-
* await vital.vitals.cholesterolTotal("
|
2914
|
-
* startDate: "
|
2913
|
+
* await vital.vitals.cholesterolTotal("user_id", {
|
2914
|
+
* startDate: "start_date"
|
2915
2915
|
* })
|
2916
2916
|
*/
|
2917
2917
|
cholesterolTotal(userId, request, requestOptions) {
|
@@ -2929,7 +2929,7 @@ class Vitals {
|
|
2929
2929
|
const _response = yield core.fetcher({
|
2930
2930
|
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`),
|
2931
2931
|
method: "GET",
|
2932
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2932
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2933
2933
|
contentType: "application/json",
|
2934
2934
|
queryParameters: _queryParams,
|
2935
2935
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -2978,8 +2978,8 @@ class Vitals {
|
|
2978
2978
|
* @throws {@link Vital.UnprocessableEntityError}
|
2979
2979
|
*
|
2980
2980
|
* @example
|
2981
|
-
* await vital.vitals.cholesterolLdl("
|
2982
|
-
* startDate: "
|
2981
|
+
* await vital.vitals.cholesterolLdl("user_id", {
|
2982
|
+
* startDate: "start_date"
|
2983
2983
|
* })
|
2984
2984
|
*/
|
2985
2985
|
cholesterolLdl(userId, request, requestOptions) {
|
@@ -2997,7 +2997,7 @@ class Vitals {
|
|
2997
2997
|
const _response = yield core.fetcher({
|
2998
2998
|
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`),
|
2999
2999
|
method: "GET",
|
3000
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3000
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3001
3001
|
contentType: "application/json",
|
3002
3002
|
queryParameters: _queryParams,
|
3003
3003
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -3046,8 +3046,8 @@ class Vitals {
|
|
3046
3046
|
* @throws {@link Vital.UnprocessableEntityError}
|
3047
3047
|
*
|
3048
3048
|
* @example
|
3049
|
-
* await vital.vitals.cholesterolHdl("
|
3050
|
-
* startDate: "
|
3049
|
+
* await vital.vitals.cholesterolHdl("user_id", {
|
3050
|
+
* startDate: "start_date"
|
3051
3051
|
* })
|
3052
3052
|
*/
|
3053
3053
|
cholesterolHdl(userId, request, requestOptions) {
|
@@ -3065,7 +3065,7 @@ class Vitals {
|
|
3065
3065
|
const _response = yield core.fetcher({
|
3066
3066
|
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`),
|
3067
3067
|
method: "GET",
|
3068
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3068
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3069
3069
|
contentType: "application/json",
|
3070
3070
|
queryParameters: _queryParams,
|
3071
3071
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -3114,8 +3114,8 @@ class Vitals {
|
|
3114
3114
|
* @throws {@link Vital.UnprocessableEntityError}
|
3115
3115
|
*
|
3116
3116
|
* @example
|
3117
|
-
* await vital.vitals.cholesterol("
|
3118
|
-
* startDate: "
|
3117
|
+
* await vital.vitals.cholesterol("user_id", {
|
3118
|
+
* startDate: "start_date"
|
3119
3119
|
* })
|
3120
3120
|
*/
|
3121
3121
|
cholesterol(userId, request, requestOptions) {
|
@@ -3133,7 +3133,7 @@ class Vitals {
|
|
3133
3133
|
const _response = yield core.fetcher({
|
3134
3134
|
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`),
|
3135
3135
|
method: "GET",
|
3136
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3136
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3137
3137
|
contentType: "application/json",
|
3138
3138
|
queryParameters: _queryParams,
|
3139
3139
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -3182,8 +3182,8 @@ class Vitals {
|
|
3182
3182
|
* @throws {@link Vital.UnprocessableEntityError}
|
3183
3183
|
*
|
3184
3184
|
* @example
|
3185
|
-
* await vital.vitals.bodyWeight("
|
3186
|
-
* startDate: "
|
3185
|
+
* await vital.vitals.bodyWeight("user_id", {
|
3186
|
+
* startDate: "start_date"
|
3187
3187
|
* })
|
3188
3188
|
*/
|
3189
3189
|
bodyWeight(userId, request, requestOptions) {
|
@@ -3201,7 +3201,7 @@ class Vitals {
|
|
3201
3201
|
const _response = yield core.fetcher({
|
3202
3202
|
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`),
|
3203
3203
|
method: "GET",
|
3204
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3204
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3205
3205
|
contentType: "application/json",
|
3206
3206
|
queryParameters: _queryParams,
|
3207
3207
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -3250,8 +3250,8 @@ class Vitals {
|
|
3250
3250
|
* @throws {@link Vital.UnprocessableEntityError}
|
3251
3251
|
*
|
3252
3252
|
* @example
|
3253
|
-
* await vital.vitals.bodyFat("
|
3254
|
-
* startDate: "
|
3253
|
+
* await vital.vitals.bodyFat("user_id", {
|
3254
|
+
* startDate: "start_date"
|
3255
3255
|
* })
|
3256
3256
|
*/
|
3257
3257
|
bodyFat(userId, request, requestOptions) {
|
@@ -3269,7 +3269,7 @@ class Vitals {
|
|
3269
3269
|
const _response = yield core.fetcher({
|
3270
3270
|
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`),
|
3271
3271
|
method: "GET",
|
3272
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3272
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3273
3273
|
contentType: "application/json",
|
3274
3274
|
queryParameters: _queryParams,
|
3275
3275
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -3318,8 +3318,8 @@ class Vitals {
|
|
3318
3318
|
* @throws {@link Vital.UnprocessableEntityError}
|
3319
3319
|
*
|
3320
3320
|
* @example
|
3321
|
-
* await vital.vitals.bloodOxygen("
|
3322
|
-
* startDate: "
|
3321
|
+
* await vital.vitals.bloodOxygen("user_id", {
|
3322
|
+
* startDate: "start_date"
|
3323
3323
|
* })
|
3324
3324
|
*/
|
3325
3325
|
bloodOxygen(userId, request, requestOptions) {
|
@@ -3337,7 +3337,7 @@ class Vitals {
|
|
3337
3337
|
const _response = yield core.fetcher({
|
3338
3338
|
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`),
|
3339
3339
|
method: "GET",
|
3340
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3340
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3341
3341
|
contentType: "application/json",
|
3342
3342
|
queryParameters: _queryParams,
|
3343
3343
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -3386,8 +3386,8 @@ class Vitals {
|
|
3386
3386
|
* @throws {@link Vital.UnprocessableEntityError}
|
3387
3387
|
*
|
3388
3388
|
* @example
|
3389
|
-
* await vital.vitals.electrocardiogramVoltage("
|
3390
|
-
* startDate: "
|
3389
|
+
* await vital.vitals.electrocardiogramVoltage("user_id", {
|
3390
|
+
* startDate: "start_date"
|
3391
3391
|
* })
|
3392
3392
|
*/
|
3393
3393
|
electrocardiogramVoltage(userId, request, requestOptions) {
|
@@ -3405,7 +3405,7 @@ class Vitals {
|
|
3405
3405
|
const _response = yield core.fetcher({
|
3406
3406
|
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`),
|
3407
3407
|
method: "GET",
|
3408
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3408
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3409
3409
|
contentType: "application/json",
|
3410
3410
|
queryParameters: _queryParams,
|
3411
3411
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -3454,8 +3454,8 @@ class Vitals {
|
|
3454
3454
|
* @throws {@link Vital.UnprocessableEntityError}
|
3455
3455
|
*
|
3456
3456
|
* @example
|
3457
|
-
* await vital.vitals.bloodPressure("
|
3458
|
-
* startDate: "
|
3457
|
+
* await vital.vitals.bloodPressure("user_id", {
|
3458
|
+
* startDate: "start_date"
|
3459
3459
|
* })
|
3460
3460
|
*/
|
3461
3461
|
bloodPressure(userId, request, requestOptions) {
|
@@ -3473,7 +3473,7 @@ class Vitals {
|
|
3473
3473
|
const _response = yield core.fetcher({
|
3474
3474
|
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`),
|
3475
3475
|
method: "GET",
|
3476
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3476
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3477
3477
|
contentType: "application/json",
|
3478
3478
|
queryParameters: _queryParams,
|
3479
3479
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|