@tryvital/vital-node 3.1.231 → 3.1.235
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/resources/activity/client/Client.js +2 -2
- package/api/resources/aggregate/client/Client.js +2 -2
- package/api/resources/body/client/Client.js +2 -2
- package/api/resources/devices/client/Client.js +1 -1
- package/api/resources/electrocardiogram/client/Client.js +1 -1
- package/api/resources/insurance/client/Client.js +3 -3
- package/api/resources/introspect/client/Client.js +2 -2
- package/api/resources/labTests/client/Client.d.ts +10 -0
- package/api/resources/labTests/client/Client.js +141 -37
- package/api/resources/link/client/Client.js +19 -19
- package/api/resources/link/client/requests/BulkImportConnectionsBody.d.ts +9 -0
- package/api/resources/link/client/requests/BulkTriggerHistoricalPullBody.d.ts +9 -0
- package/api/resources/link/client/requests/LinkTokenExchange.d.ts +23 -0
- package/api/resources/meal/client/Client.js +1 -1
- package/api/resources/menstrualCycle/client/Client.js +1 -1
- package/api/resources/order/client/Client.js +1 -1
- package/api/resources/profile/client/Client.js +2 -2
- package/api/resources/providers/client/Client.js +1 -1
- package/api/resources/sleep/client/Client.js +4 -4
- package/api/resources/sleepCycle/client/Client.js +1 -1
- package/api/resources/team/client/Client.js +7 -7
- package/api/resources/testkit/client/Client.js +2 -2
- package/api/resources/user/client/Client.js +16 -16
- package/api/resources/user/client/requests/UserInfoCreateRequest.d.ts +5 -0
- package/api/resources/vitals/client/Client.js +75 -75
- package/api/resources/workouts/client/Client.js +3 -3
- package/api/types/ActivityColumnExpr.d.ts +1 -0
- package/api/types/ActivityColumnExprActivity.d.ts +3 -0
- package/api/types/AggregateExpr.d.ts +1 -0
- package/api/types/AggregateExprFunc.d.ts +3 -0
- package/api/types/AllowedRadius.d.ts +3 -0
- package/api/types/AppointmentEventStatus.d.ts +3 -0
- package/api/types/AppointmentProvider.d.ts +3 -0
- package/api/types/AppointmentPscLabs.d.ts +3 -0
- package/api/types/AppointmentServiceType.d.ts +3 -0
- package/api/types/AppointmentStatus.d.ts +3 -0
- package/api/types/AppointmentType.d.ts +3 -0
- package/api/types/AttemptStatus.d.ts +3 -0
- package/api/types/AuthType.d.ts +3 -0
- package/api/types/Availability.d.ts +3 -0
- package/api/types/Billing.d.ts +3 -0
- package/api/types/BiomarkerResult.d.ts +2 -0
- package/api/types/BodyColumnExpr.d.ts +1 -0
- package/api/types/BodyColumnExprBody.d.ts +3 -0
- package/api/types/BulkOp.d.ts +2 -0
- package/api/types/BulkOpStatus.d.ts +3 -0
- package/api/types/BulkOpType.d.ts +3 -0
- package/api/types/CervicalMucusEntry.d.ts +1 -0
- package/api/types/CervicalMucusEntryQuality.d.ts +3 -0
- package/api/types/ClientFacingConnectionErrorDetails.d.ts +1 -0
- package/api/types/ClientFacingConnectionErrorDetailsErrorType.d.ts +3 -0
- package/api/types/ClientFacingElectrocardiogram.d.ts +1 -0
- package/api/types/ClientFacingElectrocardiogramSourceType.d.ts +3 -0
- package/api/types/ClientFacingHeartRateAlertSample.d.ts +1 -0
- package/api/types/ClientFacingHeartRateAlertSampleType.d.ts +3 -0
- package/api/types/ClientFacingInsulinInjectionSample.d.ts +1 -1
- package/api/types/ClientFacingInsulinInjectionSampleType.d.ts +1 -1
- package/api/types/ClientFacingLabs.d.ts +3 -0
- package/api/types/ClientFacingMenstrualCycle.d.ts +1 -0
- package/api/types/ClientFacingMenstrualCycleSourceType.d.ts +3 -0
- package/api/types/ClientFacingPatientDetailsCompatible.d.ts +11 -0
- package/api/types/ClientFacingResource.d.ts +3 -0
- package/api/types/ClientFacingSleepCycle.d.ts +1 -0
- package/api/types/ClientFacingSleepCycleSourceType.d.ts +3 -0
- package/api/types/ClientFacingStandHourSample.d.ts +1 -0
- package/api/types/ClientFacingStandHourSampleType.d.ts +3 -0
- package/api/types/ClinicalInformation.d.ts +9 -0
- package/api/types/ClinicalInformation.js +5 -0
- package/api/types/ConsentType.d.ts +3 -0
- package/api/types/ContraceptiveEntry.d.ts +1 -0
- package/api/types/ContraceptiveEntryType.d.ts +3 -0
- package/api/types/DelegatedFlowType.d.ts +3 -0
- package/api/types/DemoProviders.d.ts +3 -0
- package/api/types/DetectedDeviationEntry.d.ts +1 -0
- package/api/types/DetectedDeviationEntryDeviation.d.ts +3 -0
- package/api/types/EmailProviders.d.ts +3 -0
- package/api/types/Ethnicity.d.ts +13 -0
- package/api/types/Ethnicity.js +12 -0
- package/api/types/EventDestinationPreferences.d.ts +1 -0
- package/api/types/EventDestinationPreferencesPreferred.d.ts +3 -0
- package/api/types/FailureType.d.ts +3 -0
- package/api/types/Gender.d.ts +3 -0
- package/api/types/GenderIdentity.d.ts +15 -0
- package/api/types/GenderIdentity.js +14 -0
- package/api/types/GuarantorDetails.d.ts +2 -0
- package/api/types/HistoricalPullStatus.d.ts +3 -0
- package/api/types/HomePregnancyTestEntry.d.ts +1 -0
- package/api/types/HomePregnancyTestEntryTestResult.d.ts +3 -0
- package/api/types/HomeProgesteroneTestEntry.d.ts +1 -0
- package/api/types/HomeProgesteroneTestEntryTestResult.d.ts +3 -0
- package/api/types/IndexColumnExpr.d.ts +1 -0
- package/api/types/IndexColumnExprIndex.d.ts +3 -0
- package/api/types/LabResultsRaw.d.ts +1 -0
- package/api/types/LabTestCollectionMethod.d.ts +1 -1
- package/api/types/LabTestGenerationMethodFilter.d.ts +3 -0
- package/api/types/LabTestSampleType.d.ts +1 -1
- package/api/types/LabTestStatus.d.ts +3 -0
- package/api/types/Labs.d.ts +3 -0
- package/api/types/ManualProviders.d.ts +3 -0
- package/api/types/MarkerType.d.ts +3 -0
- package/api/types/MenstrualFlowEntry.d.ts +1 -0
- package/api/types/MenstrualFlowEntryFlow.d.ts +3 -0
- package/api/types/Minerals.d.ts +3 -0
- package/api/types/OAuthProviders.d.ts +3 -0
- package/api/types/OrderStatus.d.ts +3 -0
- package/api/types/OrderTopLevelStatus.d.ts +3 -0
- package/api/types/OvulationTestEntry.d.ts +1 -0
- package/api/types/OvulationTestEntryTestResult.d.ts +3 -0
- package/api/types/PasswordProviders.d.ts +3 -0
- package/api/types/PatientDetailsWithValidation.d.ts +10 -0
- package/api/types/PayorCodeExternalProvider.d.ts +3 -0
- package/api/types/PerformingLaboratory.d.ts +10 -0
- package/api/types/PerformingLaboratory.js +5 -0
- package/api/types/Period.d.ts +1 -0
- package/api/types/PeriodUnit.d.ts +3 -0
- package/api/types/ProviderConnectionError.d.ts +3 -1
- package/api/types/ProviderConnectionErrorErrorType.d.ts +16 -0
- package/api/types/ProviderConnectionErrorErrorType.js +15 -0
- package/api/types/ProviderLinkResponse.d.ts +1 -0
- package/api/types/ProviderLinkResponseState.d.ts +3 -0
- package/api/types/ProviderMfaRequest.d.ts +1 -0
- package/api/types/ProviderMfaRequestMethod.d.ts +3 -0
- package/api/types/Providers.d.ts +3 -0
- package/api/types/QuestionType.d.ts +3 -0
- package/api/types/Race.d.ts +15 -0
- package/api/types/Race.js +14 -0
- package/api/types/Region.d.ts +3 -0
- package/api/types/ResponsibleRelationship.d.ts +3 -0
- package/api/types/ResultType.d.ts +3 -0
- package/api/types/SampleData.d.ts +13 -0
- package/api/types/SampleData.js +5 -0
- package/api/types/SampleDataDateCollected.d.ts +5 -0
- package/api/types/SampleDataDateCollected.js +5 -0
- package/api/types/SampleDataDateReceived.d.ts +5 -0
- package/api/types/SampleDataDateReceived.js +5 -0
- package/api/types/SampleDataDateReported.d.ts +5 -0
- package/api/types/SampleDataDateReported.js +5 -0
- package/api/types/SexualOrientation.d.ts +14 -0
- package/api/types/SexualOrientation.js +13 -0
- package/api/types/SleepColumnExpr.d.ts +1 -0
- package/api/types/SleepColumnExprSleep.d.ts +3 -0
- package/api/types/SleepSummaryState.d.ts +3 -0
- package/api/types/SleepType.d.ts +3 -0
- package/api/types/SourceAuthType.d.ts +3 -0
- package/api/types/SourceType.d.ts +3 -0
- package/api/types/TimeseriesResource.d.ts +3 -0
- package/api/types/TraceElements.d.ts +3 -0
- package/api/types/UserInfo.d.ts +5 -0
- package/api/types/UtcTimestampWithTimezoneOffset.d.ts +7 -0
- package/api/types/UtcTimestampWithTimezoneOffset.js +5 -0
- package/api/types/VitalSleepStage.d.ts +3 -0
- package/api/types/Vitamins.d.ts +3 -0
- package/api/types/WorkoutColumnExpr.d.ts +1 -0
- package/api/types/WorkoutColumnExprWorkout.d.ts +3 -0
- package/api/types/index.d.ts +12 -0
- package/api/types/index.js +12 -0
- package/dist/api/resources/activity/client/Client.js +2 -2
- package/dist/api/resources/aggregate/client/Client.js +2 -2
- package/dist/api/resources/body/client/Client.js +2 -2
- package/dist/api/resources/devices/client/Client.js +1 -1
- package/dist/api/resources/electrocardiogram/client/Client.js +1 -1
- package/dist/api/resources/insurance/client/Client.js +3 -3
- package/dist/api/resources/introspect/client/Client.js +2 -2
- package/dist/api/resources/labTests/client/Client.d.ts +10 -0
- package/dist/api/resources/labTests/client/Client.js +141 -37
- package/dist/api/resources/link/client/Client.js +19 -19
- package/dist/api/resources/link/client/requests/BulkImportConnectionsBody.d.ts +9 -0
- package/dist/api/resources/link/client/requests/BulkTriggerHistoricalPullBody.d.ts +9 -0
- package/dist/api/resources/link/client/requests/LinkTokenExchange.d.ts +23 -0
- package/dist/api/resources/meal/client/Client.js +1 -1
- package/dist/api/resources/menstrualCycle/client/Client.js +1 -1
- package/dist/api/resources/order/client/Client.js +1 -1
- package/dist/api/resources/profile/client/Client.js +2 -2
- package/dist/api/resources/providers/client/Client.js +1 -1
- package/dist/api/resources/sleep/client/Client.js +4 -4
- package/dist/api/resources/sleepCycle/client/Client.js +1 -1
- package/dist/api/resources/team/client/Client.js +7 -7
- package/dist/api/resources/testkit/client/Client.js +2 -2
- package/dist/api/resources/user/client/Client.js +16 -16
- package/dist/api/resources/user/client/requests/UserInfoCreateRequest.d.ts +5 -0
- package/dist/api/resources/vitals/client/Client.js +75 -75
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/api/types/ActivityColumnExpr.d.ts +1 -0
- package/dist/api/types/ActivityColumnExprActivity.d.ts +3 -0
- package/dist/api/types/AggregateExpr.d.ts +1 -0
- package/dist/api/types/AggregateExprFunc.d.ts +3 -0
- package/dist/api/types/AllowedRadius.d.ts +3 -0
- package/dist/api/types/AppointmentEventStatus.d.ts +3 -0
- package/dist/api/types/AppointmentProvider.d.ts +3 -0
- package/dist/api/types/AppointmentPscLabs.d.ts +3 -0
- package/dist/api/types/AppointmentServiceType.d.ts +3 -0
- package/dist/api/types/AppointmentStatus.d.ts +3 -0
- package/dist/api/types/AppointmentType.d.ts +3 -0
- package/dist/api/types/AttemptStatus.d.ts +3 -0
- package/dist/api/types/AuthType.d.ts +3 -0
- package/dist/api/types/Availability.d.ts +3 -0
- package/dist/api/types/Billing.d.ts +3 -0
- package/dist/api/types/BiomarkerResult.d.ts +2 -0
- package/dist/api/types/BodyColumnExpr.d.ts +1 -0
- package/dist/api/types/BodyColumnExprBody.d.ts +3 -0
- package/dist/api/types/BulkOp.d.ts +2 -0
- package/dist/api/types/BulkOpStatus.d.ts +3 -0
- package/dist/api/types/BulkOpType.d.ts +3 -0
- package/dist/api/types/CervicalMucusEntry.d.ts +1 -0
- package/dist/api/types/CervicalMucusEntryQuality.d.ts +3 -0
- package/dist/api/types/ClientFacingConnectionErrorDetails.d.ts +1 -0
- package/dist/api/types/ClientFacingConnectionErrorDetailsErrorType.d.ts +3 -0
- package/dist/api/types/ClientFacingElectrocardiogram.d.ts +1 -0
- package/dist/api/types/ClientFacingElectrocardiogramSourceType.d.ts +3 -0
- package/dist/api/types/ClientFacingHeartRateAlertSample.d.ts +1 -0
- package/dist/api/types/ClientFacingHeartRateAlertSampleType.d.ts +3 -0
- package/dist/api/types/ClientFacingInsulinInjectionSample.d.ts +1 -1
- package/dist/api/types/ClientFacingInsulinInjectionSampleType.d.ts +1 -1
- package/dist/api/types/ClientFacingLabs.d.ts +3 -0
- package/dist/api/types/ClientFacingMenstrualCycle.d.ts +1 -0
- package/dist/api/types/ClientFacingMenstrualCycleSourceType.d.ts +3 -0
- package/dist/api/types/ClientFacingPatientDetailsCompatible.d.ts +11 -0
- package/dist/api/types/ClientFacingResource.d.ts +3 -0
- package/dist/api/types/ClientFacingSleepCycle.d.ts +1 -0
- package/dist/api/types/ClientFacingSleepCycleSourceType.d.ts +3 -0
- package/dist/api/types/ClientFacingStandHourSample.d.ts +1 -0
- package/dist/api/types/ClientFacingStandHourSampleType.d.ts +3 -0
- package/dist/api/types/ClinicalInformation.d.ts +9 -0
- package/dist/api/types/ClinicalInformation.js +5 -0
- package/dist/api/types/ConsentType.d.ts +3 -0
- package/dist/api/types/ContraceptiveEntry.d.ts +1 -0
- package/dist/api/types/ContraceptiveEntryType.d.ts +3 -0
- package/dist/api/types/DelegatedFlowType.d.ts +3 -0
- package/dist/api/types/DemoProviders.d.ts +3 -0
- package/dist/api/types/DetectedDeviationEntry.d.ts +1 -0
- package/dist/api/types/DetectedDeviationEntryDeviation.d.ts +3 -0
- package/dist/api/types/EmailProviders.d.ts +3 -0
- package/dist/api/types/Ethnicity.d.ts +13 -0
- package/dist/api/types/Ethnicity.js +12 -0
- package/dist/api/types/EventDestinationPreferences.d.ts +1 -0
- package/dist/api/types/EventDestinationPreferencesPreferred.d.ts +3 -0
- package/dist/api/types/FailureType.d.ts +3 -0
- package/dist/api/types/Gender.d.ts +3 -0
- package/dist/api/types/GenderIdentity.d.ts +15 -0
- package/dist/api/types/GenderIdentity.js +14 -0
- package/dist/api/types/GuarantorDetails.d.ts +2 -0
- package/dist/api/types/HistoricalPullStatus.d.ts +3 -0
- package/dist/api/types/HomePregnancyTestEntry.d.ts +1 -0
- package/dist/api/types/HomePregnancyTestEntryTestResult.d.ts +3 -0
- package/dist/api/types/HomeProgesteroneTestEntry.d.ts +1 -0
- package/dist/api/types/HomeProgesteroneTestEntryTestResult.d.ts +3 -0
- package/dist/api/types/IndexColumnExpr.d.ts +1 -0
- package/dist/api/types/IndexColumnExprIndex.d.ts +3 -0
- package/dist/api/types/LabResultsRaw.d.ts +1 -0
- package/dist/api/types/LabTestCollectionMethod.d.ts +1 -1
- package/dist/api/types/LabTestGenerationMethodFilter.d.ts +3 -0
- package/dist/api/types/LabTestSampleType.d.ts +1 -1
- package/dist/api/types/LabTestStatus.d.ts +3 -0
- package/dist/api/types/Labs.d.ts +3 -0
- package/dist/api/types/ManualProviders.d.ts +3 -0
- package/dist/api/types/MarkerType.d.ts +3 -0
- package/dist/api/types/MenstrualFlowEntry.d.ts +1 -0
- package/dist/api/types/MenstrualFlowEntryFlow.d.ts +3 -0
- package/dist/api/types/Minerals.d.ts +3 -0
- package/dist/api/types/OAuthProviders.d.ts +3 -0
- package/dist/api/types/OrderStatus.d.ts +3 -0
- package/dist/api/types/OrderTopLevelStatus.d.ts +3 -0
- package/dist/api/types/OvulationTestEntry.d.ts +1 -0
- package/dist/api/types/OvulationTestEntryTestResult.d.ts +3 -0
- package/dist/api/types/PasswordProviders.d.ts +3 -0
- package/dist/api/types/PatientDetailsWithValidation.d.ts +10 -0
- package/dist/api/types/PayorCodeExternalProvider.d.ts +3 -0
- package/dist/api/types/PerformingLaboratory.d.ts +10 -0
- package/dist/api/types/PerformingLaboratory.js +5 -0
- package/dist/api/types/Period.d.ts +1 -0
- package/dist/api/types/PeriodUnit.d.ts +3 -0
- package/dist/api/types/ProviderConnectionError.d.ts +3 -1
- package/dist/api/types/ProviderConnectionErrorErrorType.d.ts +16 -0
- package/dist/api/types/ProviderConnectionErrorErrorType.js +15 -0
- package/dist/api/types/ProviderLinkResponse.d.ts +1 -0
- package/dist/api/types/ProviderLinkResponseState.d.ts +3 -0
- package/dist/api/types/ProviderMfaRequest.d.ts +1 -0
- package/dist/api/types/ProviderMfaRequestMethod.d.ts +3 -0
- package/dist/api/types/Providers.d.ts +3 -0
- package/dist/api/types/QuestionType.d.ts +3 -0
- package/dist/api/types/Race.d.ts +15 -0
- package/dist/api/types/Race.js +14 -0
- package/dist/api/types/Region.d.ts +3 -0
- package/dist/api/types/ResponsibleRelationship.d.ts +3 -0
- package/dist/api/types/ResultType.d.ts +3 -0
- package/dist/api/types/SampleData.d.ts +13 -0
- package/dist/api/types/SampleData.js +5 -0
- package/dist/api/types/SampleDataDateCollected.d.ts +5 -0
- package/dist/api/types/SampleDataDateCollected.js +5 -0
- package/dist/api/types/SampleDataDateReceived.d.ts +5 -0
- package/dist/api/types/SampleDataDateReceived.js +5 -0
- package/dist/api/types/SampleDataDateReported.d.ts +5 -0
- package/dist/api/types/SampleDataDateReported.js +5 -0
- package/dist/api/types/SexualOrientation.d.ts +14 -0
- package/dist/api/types/SexualOrientation.js +13 -0
- package/dist/api/types/SleepColumnExpr.d.ts +1 -0
- package/dist/api/types/SleepColumnExprSleep.d.ts +3 -0
- package/dist/api/types/SleepSummaryState.d.ts +3 -0
- package/dist/api/types/SleepType.d.ts +3 -0
- package/dist/api/types/SourceAuthType.d.ts +3 -0
- package/dist/api/types/SourceType.d.ts +3 -0
- package/dist/api/types/TimeseriesResource.d.ts +3 -0
- package/dist/api/types/TraceElements.d.ts +3 -0
- package/dist/api/types/UserInfo.d.ts +5 -0
- package/dist/api/types/UtcTimestampWithTimezoneOffset.d.ts +7 -0
- package/dist/api/types/UtcTimestampWithTimezoneOffset.js +5 -0
- package/dist/api/types/VitalSleepStage.d.ts +3 -0
- package/dist/api/types/Vitamins.d.ts +3 -0
- package/dist/api/types/WorkoutColumnExpr.d.ts +1 -0
- package/dist/api/types/WorkoutColumnExprWorkout.d.ts +3 -0
- package/dist/api/types/index.d.ts +12 -0
- package/dist/api/types/index.js +12 -0
- package/dist/serialization/resources/link/client/requests/BulkImportConnectionsBody.d.ts +1 -0
- package/dist/serialization/resources/link/client/requests/BulkImportConnectionsBody.js +1 -0
- package/dist/serialization/resources/link/client/requests/BulkTriggerHistoricalPullBody.d.ts +1 -0
- package/dist/serialization/resources/link/client/requests/BulkTriggerHistoricalPullBody.js +1 -0
- package/dist/serialization/resources/user/client/requests/UserInfoCreateRequest.d.ts +10 -0
- package/dist/serialization/resources/user/client/requests/UserInfoCreateRequest.js +10 -0
- package/dist/serialization/types/BiomarkerResult.d.ts +2 -0
- package/dist/serialization/types/BiomarkerResult.js +2 -0
- package/dist/serialization/types/ClientFacingPatientDetailsCompatible.d.ts +10 -0
- package/dist/serialization/types/ClientFacingPatientDetailsCompatible.js +10 -0
- package/dist/serialization/types/ClinicalInformation.d.ts +15 -0
- package/dist/serialization/types/ClinicalInformation.js +36 -0
- package/dist/serialization/types/Ethnicity.d.ts +10 -0
- package/dist/serialization/types/Ethnicity.js +31 -0
- package/dist/serialization/types/GenderIdentity.d.ts +10 -0
- package/dist/serialization/types/GenderIdentity.js +38 -0
- package/dist/serialization/types/GuarantorDetails.d.ts +2 -0
- package/dist/serialization/types/GuarantorDetails.js +2 -0
- package/dist/serialization/types/LabResultsRaw.d.ts +2 -0
- package/dist/serialization/types/LabResultsRaw.js +2 -0
- package/dist/serialization/types/PatientDetailsWithValidation.d.ts +10 -0
- package/dist/serialization/types/PatientDetailsWithValidation.js +10 -0
- package/dist/serialization/types/PerformingLaboratory.d.ts +16 -0
- package/dist/serialization/types/PerformingLaboratory.js +37 -0
- package/dist/serialization/types/ProviderConnectionError.d.ts +2 -1
- package/dist/serialization/types/ProviderConnectionError.js +2 -1
- package/dist/serialization/types/ProviderConnectionErrorErrorType.d.ts +10 -0
- package/dist/serialization/types/ProviderConnectionErrorErrorType.js +39 -0
- package/dist/serialization/types/Race.d.ts +10 -0
- package/dist/serialization/types/Race.js +38 -0
- package/dist/serialization/types/SampleData.d.ts +23 -0
- package/dist/serialization/types/SampleData.js +44 -0
- package/dist/serialization/types/SampleDataDateCollected.d.ts +11 -0
- package/dist/serialization/types/SampleDataDateCollected.js +32 -0
- package/dist/serialization/types/SampleDataDateReceived.d.ts +11 -0
- package/dist/serialization/types/SampleDataDateReceived.js +32 -0
- package/dist/serialization/types/SampleDataDateReported.d.ts +11 -0
- package/dist/serialization/types/SampleDataDateReported.js +32 -0
- package/dist/serialization/types/SexualOrientation.d.ts +10 -0
- package/dist/serialization/types/SexualOrientation.js +37 -0
- package/dist/serialization/types/UserInfo.d.ts +10 -0
- package/dist/serialization/types/UserInfo.js +10 -0
- package/dist/serialization/types/UtcTimestampWithTimezoneOffset.d.ts +13 -0
- package/dist/serialization/types/UtcTimestampWithTimezoneOffset.js +34 -0
- package/dist/serialization/types/index.d.ts +12 -0
- package/dist/serialization/types/index.js +12 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/serialization/resources/link/client/requests/BulkImportConnectionsBody.d.ts +1 -0
- package/serialization/resources/link/client/requests/BulkImportConnectionsBody.js +1 -0
- package/serialization/resources/link/client/requests/BulkTriggerHistoricalPullBody.d.ts +1 -0
- package/serialization/resources/link/client/requests/BulkTriggerHistoricalPullBody.js +1 -0
- package/serialization/resources/user/client/requests/UserInfoCreateRequest.d.ts +10 -0
- package/serialization/resources/user/client/requests/UserInfoCreateRequest.js +10 -0
- package/serialization/types/BiomarkerResult.d.ts +2 -0
- package/serialization/types/BiomarkerResult.js +2 -0
- package/serialization/types/ClientFacingPatientDetailsCompatible.d.ts +10 -0
- package/serialization/types/ClientFacingPatientDetailsCompatible.js +10 -0
- package/serialization/types/ClinicalInformation.d.ts +15 -0
- package/serialization/types/ClinicalInformation.js +36 -0
- package/serialization/types/Ethnicity.d.ts +10 -0
- package/serialization/types/Ethnicity.js +31 -0
- package/serialization/types/GenderIdentity.d.ts +10 -0
- package/serialization/types/GenderIdentity.js +38 -0
- package/serialization/types/GuarantorDetails.d.ts +2 -0
- package/serialization/types/GuarantorDetails.js +2 -0
- package/serialization/types/LabResultsRaw.d.ts +2 -0
- package/serialization/types/LabResultsRaw.js +2 -0
- package/serialization/types/PatientDetailsWithValidation.d.ts +10 -0
- package/serialization/types/PatientDetailsWithValidation.js +10 -0
- package/serialization/types/PerformingLaboratory.d.ts +16 -0
- package/serialization/types/PerformingLaboratory.js +37 -0
- package/serialization/types/ProviderConnectionError.d.ts +2 -1
- package/serialization/types/ProviderConnectionError.js +2 -1
- package/serialization/types/ProviderConnectionErrorErrorType.d.ts +10 -0
- package/serialization/types/ProviderConnectionErrorErrorType.js +39 -0
- package/serialization/types/Race.d.ts +10 -0
- package/serialization/types/Race.js +38 -0
- package/serialization/types/SampleData.d.ts +23 -0
- package/serialization/types/SampleData.js +44 -0
- package/serialization/types/SampleDataDateCollected.d.ts +11 -0
- package/serialization/types/SampleDataDateCollected.js +32 -0
- package/serialization/types/SampleDataDateReceived.d.ts +11 -0
- package/serialization/types/SampleDataDateReceived.js +32 -0
- package/serialization/types/SampleDataDateReported.d.ts +11 -0
- package/serialization/types/SampleDataDateReported.js +32 -0
- package/serialization/types/SexualOrientation.d.ts +10 -0
- package/serialization/types/SexualOrientation.js +37 -0
- package/serialization/types/UserInfo.d.ts +10 -0
- package/serialization/types/UserInfo.js +10 -0
- package/serialization/types/UtcTimestampWithTimezoneOffset.d.ts +13 -0
- package/serialization/types/UtcTimestampWithTimezoneOffset.js +34 -0
- package/serialization/types/index.d.ts +12 -0
- package/serialization/types/index.js +12 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
@@ -82,7 +82,7 @@ class Vitals {
|
|
82
82
|
const _response = yield core.fetcher({
|
83
83
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/waist_circumference/grouped`),
|
84
84
|
method: "GET",
|
85
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
85
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
86
86
|
contentType: "application/json",
|
87
87
|
queryParameters: _queryParams,
|
88
88
|
requestType: "json",
|
@@ -162,7 +162,7 @@ class Vitals {
|
|
162
162
|
const _response = yield core.fetcher({
|
163
163
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/lean_body_mass/grouped`),
|
164
164
|
method: "GET",
|
165
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
165
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
166
166
|
contentType: "application/json",
|
167
167
|
queryParameters: _queryParams,
|
168
168
|
requestType: "json",
|
@@ -242,7 +242,7 @@ class Vitals {
|
|
242
242
|
const _response = yield core.fetcher({
|
243
243
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/body_mass_index/grouped`),
|
244
244
|
method: "GET",
|
245
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
245
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
246
246
|
contentType: "application/json",
|
247
247
|
queryParameters: _queryParams,
|
248
248
|
requestType: "json",
|
@@ -322,7 +322,7 @@ class Vitals {
|
|
322
322
|
const _response = yield core.fetcher({
|
323
323
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/basal_body_temperature/grouped`),
|
324
324
|
method: "GET",
|
325
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
325
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
326
326
|
contentType: "application/json",
|
327
327
|
queryParameters: _queryParams,
|
328
328
|
requestType: "json",
|
@@ -402,7 +402,7 @@ class Vitals {
|
|
402
402
|
const _response = yield core.fetcher({
|
403
403
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/handwashing/grouped`),
|
404
404
|
method: "GET",
|
405
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
405
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
406
406
|
contentType: "application/json",
|
407
407
|
queryParameters: _queryParams,
|
408
408
|
requestType: "json",
|
@@ -482,7 +482,7 @@ class Vitals {
|
|
482
482
|
const _response = yield core.fetcher({
|
483
483
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/daylight_exposure/grouped`),
|
484
484
|
method: "GET",
|
485
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
485
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
486
486
|
contentType: "application/json",
|
487
487
|
queryParameters: _queryParams,
|
488
488
|
requestType: "json",
|
@@ -562,7 +562,7 @@ class Vitals {
|
|
562
562
|
const _response = yield core.fetcher({
|
563
563
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/uv_exposure/grouped`),
|
564
564
|
method: "GET",
|
565
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
565
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
566
566
|
contentType: "application/json",
|
567
567
|
queryParameters: _queryParams,
|
568
568
|
requestType: "json",
|
@@ -642,7 +642,7 @@ class Vitals {
|
|
642
642
|
const _response = yield core.fetcher({
|
643
643
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/fall/grouped`),
|
644
644
|
method: "GET",
|
645
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
645
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
646
646
|
contentType: "application/json",
|
647
647
|
queryParameters: _queryParams,
|
648
648
|
requestType: "json",
|
@@ -722,7 +722,7 @@ class Vitals {
|
|
722
722
|
const _response = yield core.fetcher({
|
723
723
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/inhaler_usage/grouped`),
|
724
724
|
method: "GET",
|
725
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
725
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
726
726
|
contentType: "application/json",
|
727
727
|
queryParameters: _queryParams,
|
728
728
|
requestType: "json",
|
@@ -802,7 +802,7 @@ class Vitals {
|
|
802
802
|
const _response = yield core.fetcher({
|
803
803
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/peak_expiratory_flow_rate/grouped`),
|
804
804
|
method: "GET",
|
805
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
805
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
806
806
|
contentType: "application/json",
|
807
807
|
queryParameters: _queryParams,
|
808
808
|
requestType: "json",
|
@@ -882,7 +882,7 @@ class Vitals {
|
|
882
882
|
const _response = yield core.fetcher({
|
883
883
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/forced_vital_capacity/grouped`),
|
884
884
|
method: "GET",
|
885
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
885
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
886
886
|
contentType: "application/json",
|
887
887
|
queryParameters: _queryParams,
|
888
888
|
requestType: "json",
|
@@ -962,7 +962,7 @@ class Vitals {
|
|
962
962
|
const _response = yield core.fetcher({
|
963
963
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/forced_expiratory_volume_1/grouped`),
|
964
964
|
method: "GET",
|
965
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
965
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
966
966
|
contentType: "application/json",
|
967
967
|
queryParameters: _queryParams,
|
968
968
|
requestType: "json",
|
@@ -1042,7 +1042,7 @@ class Vitals {
|
|
1042
1042
|
const _response = yield core.fetcher({
|
1043
1043
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/wheelchair_push/grouped`),
|
1044
1044
|
method: "GET",
|
1045
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1045
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1046
1046
|
contentType: "application/json",
|
1047
1047
|
queryParameters: _queryParams,
|
1048
1048
|
requestType: "json",
|
@@ -1122,7 +1122,7 @@ class Vitals {
|
|
1122
1122
|
const _response = yield core.fetcher({
|
1123
1123
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/sleep_breathing_disturbance/grouped`),
|
1124
1124
|
method: "GET",
|
1125
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1125
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1126
1126
|
contentType: "application/json",
|
1127
1127
|
queryParameters: _queryParams,
|
1128
1128
|
requestType: "json",
|
@@ -1202,7 +1202,7 @@ class Vitals {
|
|
1202
1202
|
const _response = yield core.fetcher({
|
1203
1203
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/sleep_apnea_alert/grouped`),
|
1204
1204
|
method: "GET",
|
1205
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1205
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1206
1206
|
contentType: "application/json",
|
1207
1207
|
queryParameters: _queryParams,
|
1208
1208
|
requestType: "json",
|
@@ -1282,7 +1282,7 @@ class Vitals {
|
|
1282
1282
|
const _response = yield core.fetcher({
|
1283
1283
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/stand_duration/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.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1286
1286
|
contentType: "application/json",
|
1287
1287
|
queryParameters: _queryParams,
|
1288
1288
|
requestType: "json",
|
@@ -1362,7 +1362,7 @@ class Vitals {
|
|
1362
1362
|
const _response = yield core.fetcher({
|
1363
1363
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/stand_hour/grouped`),
|
1364
1364
|
method: "GET",
|
1365
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1365
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1366
1366
|
contentType: "application/json",
|
1367
1367
|
queryParameters: _queryParams,
|
1368
1368
|
requestType: "json",
|
@@ -1442,7 +1442,7 @@ class Vitals {
|
|
1442
1442
|
const _response = yield core.fetcher({
|
1443
1443
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/heart_rate_alert/grouped`),
|
1444
1444
|
method: "GET",
|
1445
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1445
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1446
1446
|
contentType: "application/json",
|
1447
1447
|
queryParameters: _queryParams,
|
1448
1448
|
requestType: "json",
|
@@ -1522,7 +1522,7 @@ class Vitals {
|
|
1522
1522
|
const _response = yield core.fetcher({
|
1523
1523
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/afib_burden/grouped`),
|
1524
1524
|
method: "GET",
|
1525
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1525
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1526
1526
|
contentType: "application/json",
|
1527
1527
|
queryParameters: _queryParams,
|
1528
1528
|
requestType: "json",
|
@@ -1602,7 +1602,7 @@ class Vitals {
|
|
1602
1602
|
const _response = yield core.fetcher({
|
1603
1603
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/workout_duration/grouped`),
|
1604
1604
|
method: "GET",
|
1605
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1605
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1606
1606
|
contentType: "application/json",
|
1607
1607
|
queryParameters: _queryParams,
|
1608
1608
|
requestType: "json",
|
@@ -1682,7 +1682,7 @@ class Vitals {
|
|
1682
1682
|
const _response = yield core.fetcher({
|
1683
1683
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/vo2_max/grouped`),
|
1684
1684
|
method: "GET",
|
1685
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1685
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1686
1686
|
contentType: "application/json",
|
1687
1687
|
queryParameters: _queryParams,
|
1688
1688
|
requestType: "json",
|
@@ -1762,7 +1762,7 @@ class Vitals {
|
|
1762
1762
|
const _response = yield core.fetcher({
|
1763
1763
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/stress_level/grouped`),
|
1764
1764
|
method: "GET",
|
1765
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1765
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1766
1766
|
contentType: "application/json",
|
1767
1767
|
queryParameters: _queryParams,
|
1768
1768
|
requestType: "json",
|
@@ -1842,7 +1842,7 @@ class Vitals {
|
|
1842
1842
|
const _response = yield core.fetcher({
|
1843
1843
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/mindfulness_minutes/grouped`),
|
1844
1844
|
method: "GET",
|
1845
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1845
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1846
1846
|
contentType: "application/json",
|
1847
1847
|
queryParameters: _queryParams,
|
1848
1848
|
requestType: "json",
|
@@ -1922,7 +1922,7 @@ class Vitals {
|
|
1922
1922
|
const _response = yield core.fetcher({
|
1923
1923
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/caffeine/grouped`),
|
1924
1924
|
method: "GET",
|
1925
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1925
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1926
1926
|
contentType: "application/json",
|
1927
1927
|
queryParameters: _queryParams,
|
1928
1928
|
requestType: "json",
|
@@ -2002,7 +2002,7 @@ class Vitals {
|
|
2002
2002
|
const _response = yield core.fetcher({
|
2003
2003
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/water/grouped`),
|
2004
2004
|
method: "GET",
|
2005
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2005
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2006
2006
|
contentType: "application/json",
|
2007
2007
|
queryParameters: _queryParams,
|
2008
2008
|
requestType: "json",
|
@@ -2082,7 +2082,7 @@ class Vitals {
|
|
2082
2082
|
const _response = yield core.fetcher({
|
2083
2083
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/steps/grouped`),
|
2084
2084
|
method: "GET",
|
2085
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2085
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2086
2086
|
contentType: "application/json",
|
2087
2087
|
queryParameters: _queryParams,
|
2088
2088
|
requestType: "json",
|
@@ -2162,7 +2162,7 @@ class Vitals {
|
|
2162
2162
|
const _response = yield core.fetcher({
|
2163
2163
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/floors_climbed/grouped`),
|
2164
2164
|
method: "GET",
|
2165
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2165
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2166
2166
|
contentType: "application/json",
|
2167
2167
|
queryParameters: _queryParams,
|
2168
2168
|
requestType: "json",
|
@@ -2242,7 +2242,7 @@ class Vitals {
|
|
2242
2242
|
const _response = yield core.fetcher({
|
2243
2243
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/distance/grouped`),
|
2244
2244
|
method: "GET",
|
2245
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2245
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2246
2246
|
contentType: "application/json",
|
2247
2247
|
queryParameters: _queryParams,
|
2248
2248
|
requestType: "json",
|
@@ -2322,7 +2322,7 @@ class Vitals {
|
|
2322
2322
|
const _response = yield core.fetcher({
|
2323
2323
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/calories_basal/grouped`),
|
2324
2324
|
method: "GET",
|
2325
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2325
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2326
2326
|
contentType: "application/json",
|
2327
2327
|
queryParameters: _queryParams,
|
2328
2328
|
requestType: "json",
|
@@ -2402,7 +2402,7 @@ class Vitals {
|
|
2402
2402
|
const _response = yield core.fetcher({
|
2403
2403
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/calories_active/grouped`),
|
2404
2404
|
method: "GET",
|
2405
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2405
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2406
2406
|
contentType: "application/json",
|
2407
2407
|
queryParameters: _queryParams,
|
2408
2408
|
requestType: "json",
|
@@ -2482,7 +2482,7 @@ class Vitals {
|
|
2482
2482
|
const _response = yield core.fetcher({
|
2483
2483
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/respiratory_rate/grouped`),
|
2484
2484
|
method: "GET",
|
2485
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2485
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2486
2486
|
contentType: "application/json",
|
2487
2487
|
queryParameters: _queryParams,
|
2488
2488
|
requestType: "json",
|
@@ -2562,7 +2562,7 @@ class Vitals {
|
|
2562
2562
|
const _response = yield core.fetcher({
|
2563
2563
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/note/grouped`),
|
2564
2564
|
method: "GET",
|
2565
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2565
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2566
2566
|
contentType: "application/json",
|
2567
2567
|
queryParameters: _queryParams,
|
2568
2568
|
requestType: "json",
|
@@ -2642,7 +2642,7 @@ class Vitals {
|
|
2642
2642
|
const _response = yield core.fetcher({
|
2643
2643
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/insulin_injection/grouped`),
|
2644
2644
|
method: "GET",
|
2645
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2645
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2646
2646
|
contentType: "application/json",
|
2647
2647
|
queryParameters: _queryParams,
|
2648
2648
|
requestType: "json",
|
@@ -2722,7 +2722,7 @@ class Vitals {
|
|
2722
2722
|
const _response = yield core.fetcher({
|
2723
2723
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/ige/grouped`),
|
2724
2724
|
method: "GET",
|
2725
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2725
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2726
2726
|
contentType: "application/json",
|
2727
2727
|
queryParameters: _queryParams,
|
2728
2728
|
requestType: "json",
|
@@ -2802,7 +2802,7 @@ class Vitals {
|
|
2802
2802
|
const _response = yield core.fetcher({
|
2803
2803
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/igg/grouped`),
|
2804
2804
|
method: "GET",
|
2805
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2805
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2806
2806
|
contentType: "application/json",
|
2807
2807
|
queryParameters: _queryParams,
|
2808
2808
|
requestType: "json",
|
@@ -2882,7 +2882,7 @@ class Vitals {
|
|
2882
2882
|
const _response = yield core.fetcher({
|
2883
2883
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/hypnogram/grouped`),
|
2884
2884
|
method: "GET",
|
2885
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2885
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2886
2886
|
contentType: "application/json",
|
2887
2887
|
queryParameters: _queryParams,
|
2888
2888
|
requestType: "json",
|
@@ -2962,7 +2962,7 @@ class Vitals {
|
|
2962
2962
|
const _response = yield core.fetcher({
|
2963
2963
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/hrv/grouped`),
|
2964
2964
|
method: "GET",
|
2965
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2965
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2966
2966
|
contentType: "application/json",
|
2967
2967
|
queryParameters: _queryParams,
|
2968
2968
|
requestType: "json",
|
@@ -3042,7 +3042,7 @@ class Vitals {
|
|
3042
3042
|
const _response = yield core.fetcher({
|
3043
3043
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/heartrate/grouped`),
|
3044
3044
|
method: "GET",
|
3045
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3045
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3046
3046
|
contentType: "application/json",
|
3047
3047
|
queryParameters: _queryParams,
|
3048
3048
|
requestType: "json",
|
@@ -3122,7 +3122,7 @@ class Vitals {
|
|
3122
3122
|
const _response = yield core.fetcher({
|
3123
3123
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/glucose/grouped`),
|
3124
3124
|
method: "GET",
|
3125
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3125
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3126
3126
|
contentType: "application/json",
|
3127
3127
|
queryParameters: _queryParams,
|
3128
3128
|
requestType: "json",
|
@@ -3202,7 +3202,7 @@ class Vitals {
|
|
3202
3202
|
const _response = yield core.fetcher({
|
3203
3203
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/cholesterol/grouped`),
|
3204
3204
|
method: "GET",
|
3205
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3205
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3206
3206
|
contentType: "application/json",
|
3207
3207
|
queryParameters: _queryParams,
|
3208
3208
|
requestType: "json",
|
@@ -3282,7 +3282,7 @@ class Vitals {
|
|
3282
3282
|
const _response = yield core.fetcher({
|
3283
3283
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/carbohydrates/grouped`),
|
3284
3284
|
method: "GET",
|
3285
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3285
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3286
3286
|
contentType: "application/json",
|
3287
3287
|
queryParameters: _queryParams,
|
3288
3288
|
requestType: "json",
|
@@ -3362,7 +3362,7 @@ class Vitals {
|
|
3362
3362
|
const _response = yield core.fetcher({
|
3363
3363
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/body_temperature_delta/grouped`),
|
3364
3364
|
method: "GET",
|
3365
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3365
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3366
3366
|
contentType: "application/json",
|
3367
3367
|
queryParameters: _queryParams,
|
3368
3368
|
requestType: "json",
|
@@ -3442,7 +3442,7 @@ class Vitals {
|
|
3442
3442
|
const _response = yield core.fetcher({
|
3443
3443
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/body_temperature/grouped`),
|
3444
3444
|
method: "GET",
|
3445
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3445
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3446
3446
|
contentType: "application/json",
|
3447
3447
|
queryParameters: _queryParams,
|
3448
3448
|
requestType: "json",
|
@@ -3522,7 +3522,7 @@ class Vitals {
|
|
3522
3522
|
const _response = yield core.fetcher({
|
3523
3523
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/body_weight/grouped`),
|
3524
3524
|
method: "GET",
|
3525
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3525
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3526
3526
|
contentType: "application/json",
|
3527
3527
|
queryParameters: _queryParams,
|
3528
3528
|
requestType: "json",
|
@@ -3602,7 +3602,7 @@ class Vitals {
|
|
3602
3602
|
const _response = yield core.fetcher({
|
3603
3603
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/body_fat/grouped`),
|
3604
3604
|
method: "GET",
|
3605
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3605
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3606
3606
|
contentType: "application/json",
|
3607
3607
|
queryParameters: _queryParams,
|
3608
3608
|
requestType: "json",
|
@@ -3682,7 +3682,7 @@ class Vitals {
|
|
3682
3682
|
const _response = yield core.fetcher({
|
3683
3683
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/blood_oxygen/grouped`),
|
3684
3684
|
method: "GET",
|
3685
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3685
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3686
3686
|
contentType: "application/json",
|
3687
3687
|
queryParameters: _queryParams,
|
3688
3688
|
requestType: "json",
|
@@ -3762,7 +3762,7 @@ class Vitals {
|
|
3762
3762
|
const _response = yield core.fetcher({
|
3763
3763
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/electrocardiogram_voltage/grouped`),
|
3764
3764
|
method: "GET",
|
3765
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3765
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3766
3766
|
contentType: "application/json",
|
3767
3767
|
queryParameters: _queryParams,
|
3768
3768
|
requestType: "json",
|
@@ -3842,7 +3842,7 @@ class Vitals {
|
|
3842
3842
|
const _response = yield core.fetcher({
|
3843
3843
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/blood_pressure/grouped`),
|
3844
3844
|
method: "GET",
|
3845
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3845
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3846
3846
|
contentType: "application/json",
|
3847
3847
|
queryParameters: _queryParams,
|
3848
3848
|
requestType: "json",
|
@@ -3916,7 +3916,7 @@ class Vitals {
|
|
3916
3916
|
const _response = yield core.fetcher({
|
3917
3917
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/vo2_max`),
|
3918
3918
|
method: "GET",
|
3919
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3919
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3920
3920
|
contentType: "application/json",
|
3921
3921
|
queryParameters: _queryParams,
|
3922
3922
|
requestType: "json",
|
@@ -3990,7 +3990,7 @@ class Vitals {
|
|
3990
3990
|
const _response = yield core.fetcher({
|
3991
3991
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/stress_level`),
|
3992
3992
|
method: "GET",
|
3993
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3993
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3994
3994
|
contentType: "application/json",
|
3995
3995
|
queryParameters: _queryParams,
|
3996
3996
|
requestType: "json",
|
@@ -4064,7 +4064,7 @@ class Vitals {
|
|
4064
4064
|
const _response = yield core.fetcher({
|
4065
4065
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/mindfulness_minutes`),
|
4066
4066
|
method: "GET",
|
4067
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4067
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
4068
4068
|
contentType: "application/json",
|
4069
4069
|
queryParameters: _queryParams,
|
4070
4070
|
requestType: "json",
|
@@ -4138,7 +4138,7 @@ class Vitals {
|
|
4138
4138
|
const _response = yield core.fetcher({
|
4139
4139
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/caffeine`),
|
4140
4140
|
method: "GET",
|
4141
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4141
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
4142
4142
|
contentType: "application/json",
|
4143
4143
|
queryParameters: _queryParams,
|
4144
4144
|
requestType: "json",
|
@@ -4212,7 +4212,7 @@ class Vitals {
|
|
4212
4212
|
const _response = yield core.fetcher({
|
4213
4213
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/water`),
|
4214
4214
|
method: "GET",
|
4215
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4215
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
4216
4216
|
contentType: "application/json",
|
4217
4217
|
queryParameters: _queryParams,
|
4218
4218
|
requestType: "json",
|
@@ -4286,7 +4286,7 @@ class Vitals {
|
|
4286
4286
|
const _response = yield core.fetcher({
|
4287
4287
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/steps`),
|
4288
4288
|
method: "GET",
|
4289
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4289
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
4290
4290
|
contentType: "application/json",
|
4291
4291
|
queryParameters: _queryParams,
|
4292
4292
|
requestType: "json",
|
@@ -4360,7 +4360,7 @@ class Vitals {
|
|
4360
4360
|
const _response = yield core.fetcher({
|
4361
4361
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/floors_climbed`),
|
4362
4362
|
method: "GET",
|
4363
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4363
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
4364
4364
|
contentType: "application/json",
|
4365
4365
|
queryParameters: _queryParams,
|
4366
4366
|
requestType: "json",
|
@@ -4434,7 +4434,7 @@ class Vitals {
|
|
4434
4434
|
const _response = yield core.fetcher({
|
4435
4435
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/distance`),
|
4436
4436
|
method: "GET",
|
4437
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4437
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
4438
4438
|
contentType: "application/json",
|
4439
4439
|
queryParameters: _queryParams,
|
4440
4440
|
requestType: "json",
|
@@ -4508,7 +4508,7 @@ class Vitals {
|
|
4508
4508
|
const _response = yield core.fetcher({
|
4509
4509
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/calories_basal`),
|
4510
4510
|
method: "GET",
|
4511
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4511
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
4512
4512
|
contentType: "application/json",
|
4513
4513
|
queryParameters: _queryParams,
|
4514
4514
|
requestType: "json",
|
@@ -4582,7 +4582,7 @@ class Vitals {
|
|
4582
4582
|
const _response = yield core.fetcher({
|
4583
4583
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/calories_active`),
|
4584
4584
|
method: "GET",
|
4585
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4585
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
4586
4586
|
contentType: "application/json",
|
4587
4587
|
queryParameters: _queryParams,
|
4588
4588
|
requestType: "json",
|
@@ -4656,7 +4656,7 @@ class Vitals {
|
|
4656
4656
|
const _response = yield core.fetcher({
|
4657
4657
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/respiratory_rate`),
|
4658
4658
|
method: "GET",
|
4659
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4659
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
4660
4660
|
contentType: "application/json",
|
4661
4661
|
queryParameters: _queryParams,
|
4662
4662
|
requestType: "json",
|
@@ -4730,7 +4730,7 @@ class Vitals {
|
|
4730
4730
|
const _response = yield core.fetcher({
|
4731
4731
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/ige`),
|
4732
4732
|
method: "GET",
|
4733
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4733
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
4734
4734
|
contentType: "application/json",
|
4735
4735
|
queryParameters: _queryParams,
|
4736
4736
|
requestType: "json",
|
@@ -4804,7 +4804,7 @@ class Vitals {
|
|
4804
4804
|
const _response = yield core.fetcher({
|
4805
4805
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/igg`),
|
4806
4806
|
method: "GET",
|
4807
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4807
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
4808
4808
|
contentType: "application/json",
|
4809
4809
|
queryParameters: _queryParams,
|
4810
4810
|
requestType: "json",
|
@@ -4878,7 +4878,7 @@ class Vitals {
|
|
4878
4878
|
const _response = yield core.fetcher({
|
4879
4879
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/hypnogram`),
|
4880
4880
|
method: "GET",
|
4881
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4881
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
4882
4882
|
contentType: "application/json",
|
4883
4883
|
queryParameters: _queryParams,
|
4884
4884
|
requestType: "json",
|
@@ -4952,7 +4952,7 @@ class Vitals {
|
|
4952
4952
|
const _response = yield core.fetcher({
|
4953
4953
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/hrv`),
|
4954
4954
|
method: "GET",
|
4955
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4955
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
4956
4956
|
contentType: "application/json",
|
4957
4957
|
queryParameters: _queryParams,
|
4958
4958
|
requestType: "json",
|
@@ -5026,7 +5026,7 @@ class Vitals {
|
|
5026
5026
|
const _response = yield core.fetcher({
|
5027
5027
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/heartrate`),
|
5028
5028
|
method: "GET",
|
5029
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
5029
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
5030
5030
|
contentType: "application/json",
|
5031
5031
|
queryParameters: _queryParams,
|
5032
5032
|
requestType: "json",
|
@@ -5100,7 +5100,7 @@ class Vitals {
|
|
5100
5100
|
const _response = yield core.fetcher({
|
5101
5101
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/glucose`),
|
5102
5102
|
method: "GET",
|
5103
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
5103
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
5104
5104
|
contentType: "application/json",
|
5105
5105
|
queryParameters: _queryParams,
|
5106
5106
|
requestType: "json",
|
@@ -5174,7 +5174,7 @@ class Vitals {
|
|
5174
5174
|
const _response = yield core.fetcher({
|
5175
5175
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/cholesterol/triglycerides`),
|
5176
5176
|
method: "GET",
|
5177
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
5177
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
5178
5178
|
contentType: "application/json",
|
5179
5179
|
queryParameters: _queryParams,
|
5180
5180
|
requestType: "json",
|
@@ -5248,7 +5248,7 @@ class Vitals {
|
|
5248
5248
|
const _response = yield core.fetcher({
|
5249
5249
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/cholesterol/total`),
|
5250
5250
|
method: "GET",
|
5251
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
5251
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
5252
5252
|
contentType: "application/json",
|
5253
5253
|
queryParameters: _queryParams,
|
5254
5254
|
requestType: "json",
|
@@ -5322,7 +5322,7 @@ class Vitals {
|
|
5322
5322
|
const _response = yield core.fetcher({
|
5323
5323
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/cholesterol/ldl`),
|
5324
5324
|
method: "GET",
|
5325
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
5325
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
5326
5326
|
contentType: "application/json",
|
5327
5327
|
queryParameters: _queryParams,
|
5328
5328
|
requestType: "json",
|
@@ -5396,7 +5396,7 @@ class Vitals {
|
|
5396
5396
|
const _response = yield core.fetcher({
|
5397
5397
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/cholesterol/hdl`),
|
5398
5398
|
method: "GET",
|
5399
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
5399
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
5400
5400
|
contentType: "application/json",
|
5401
5401
|
queryParameters: _queryParams,
|
5402
5402
|
requestType: "json",
|
@@ -5470,7 +5470,7 @@ class Vitals {
|
|
5470
5470
|
const _response = yield core.fetcher({
|
5471
5471
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/cholesterol`),
|
5472
5472
|
method: "GET",
|
5473
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
5473
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
5474
5474
|
contentType: "application/json",
|
5475
5475
|
queryParameters: _queryParams,
|
5476
5476
|
requestType: "json",
|
@@ -5544,7 +5544,7 @@ class Vitals {
|
|
5544
5544
|
const _response = yield core.fetcher({
|
5545
5545
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/body_weight`),
|
5546
5546
|
method: "GET",
|
5547
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
5547
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
5548
5548
|
contentType: "application/json",
|
5549
5549
|
queryParameters: _queryParams,
|
5550
5550
|
requestType: "json",
|
@@ -5618,7 +5618,7 @@ class Vitals {
|
|
5618
5618
|
const _response = yield core.fetcher({
|
5619
5619
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/body_fat`),
|
5620
5620
|
method: "GET",
|
5621
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
5621
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
5622
5622
|
contentType: "application/json",
|
5623
5623
|
queryParameters: _queryParams,
|
5624
5624
|
requestType: "json",
|
@@ -5692,7 +5692,7 @@ class Vitals {
|
|
5692
5692
|
const _response = yield core.fetcher({
|
5693
5693
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/blood_oxygen`),
|
5694
5694
|
method: "GET",
|
5695
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
5695
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
5696
5696
|
contentType: "application/json",
|
5697
5697
|
queryParameters: _queryParams,
|
5698
5698
|
requestType: "json",
|
@@ -5766,7 +5766,7 @@ class Vitals {
|
|
5766
5766
|
const _response = yield core.fetcher({
|
5767
5767
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/electrocardiogram_voltage`),
|
5768
5768
|
method: "GET",
|
5769
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
5769
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
5770
5770
|
contentType: "application/json",
|
5771
5771
|
queryParameters: _queryParams,
|
5772
5772
|
requestType: "json",
|
@@ -5840,7 +5840,7 @@ class Vitals {
|
|
5840
5840
|
const _response = yield core.fetcher({
|
5841
5841
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/blood_pressure`),
|
5842
5842
|
method: "GET",
|
5843
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
5843
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
5844
5844
|
contentType: "application/json",
|
5845
5845
|
queryParameters: _queryParams,
|
5846
5846
|
requestType: "json",
|