@tryvital/vital-node 3.1.12 → 3.1.14
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/body/client/Client.js +2 -2
- package/api/resources/devices/client/Client.js +1 -1
- package/api/resources/index.d.ts +1 -0
- package/api/resources/index.js +1 -0
- package/api/resources/insurance/client/Client.js +2 -2
- package/api/resources/introspect/client/Client.js +2 -2
- package/api/resources/labTests/client/Client.d.ts +18 -0
- package/api/resources/labTests/client/Client.js +193 -24
- package/api/resources/labTests/client/requests/LabTestsGetLabelsPdfRequest.d.ts +13 -0
- package/api/resources/labTests/client/requests/LabTestsGetLabelsPdfRequest.js +5 -0
- package/api/resources/labTests/client/requests/PostOrderFhir.d.ts +9 -0
- package/api/resources/labTests/client/requests/PostOrderFhir.js +5 -0
- package/api/resources/labTests/client/requests/index.d.ts +2 -0
- package/api/resources/link/client/Client.js +14 -14
- package/api/resources/meal/client/Client.js +1 -1
- package/api/resources/profile/client/Client.js +2 -2
- package/api/resources/providers/client/Client.d.ts +2 -1
- package/api/resources/providers/client/Client.js +24 -6
- package/api/resources/providers/client/index.d.ts +1 -1
- package/api/resources/providers/client/index.js +15 -0
- package/api/resources/providers/client/requests/ProvidersGetAllRequest.d.ts +10 -0
- package/api/resources/providers/client/requests/ProvidersGetAllRequest.js +5 -0
- package/api/resources/providers/client/requests/index.d.ts +1 -0
- package/api/resources/providers/client/requests/index.js +2 -0
- package/api/resources/sleep/client/Client.js +4 -4
- package/api/resources/team/client/Client.js +7 -7
- package/api/resources/testkit/client/Client.js +2 -2
- package/api/resources/user/client/Client.js +12 -12
- package/api/resources/vitals/client/Client.js +50 -50
- package/api/resources/workouts/client/Client.js +3 -3
- package/api/types/Addres.d.ts +12 -0
- package/api/types/Addres.js +5 -0
- package/api/types/AnswerItem.d.ts +6 -0
- package/api/types/AnswerItem.js +5 -0
- package/api/types/Beneficiary.d.ts +6 -0
- package/api/types/Beneficiary.js +5 -0
- package/api/types/CodingItem1.d.ts +7 -0
- package/api/types/CodingItem1.js +5 -0
- package/api/types/High.d.ts +6 -0
- package/api/types/High.js +5 -0
- package/api/types/HistoricalPullStatus.d.ts +2 -1
- package/api/types/HistoricalPullStatus.js +1 -0
- package/api/types/HistoricalPullTimeline.d.ts +8 -0
- package/api/types/HistoricalPullTimeline.js +5 -0
- package/api/types/IdentifierItem1.d.ts +7 -0
- package/api/types/IdentifierItem1.js +5 -0
- package/api/types/InterpretationItem.d.ts +7 -0
- package/api/types/InterpretationItem.js +5 -0
- package/api/types/LabResultsFhir.d.ts +9 -0
- package/api/types/LabResultsFhir.js +5 -0
- package/api/types/Low.d.ts +6 -0
- package/api/types/Low.js +5 -0
- package/api/types/Observation.d.ts +16 -0
- package/api/types/Observation.js +5 -0
- package/api/types/ObservationEffectiveDateTime.d.ts +4 -0
- package/api/types/ObservationEffectiveDateTime.js +5 -0
- package/api/types/ObservationIssued.d.ts +4 -0
- package/api/types/ObservationIssued.js +5 -0
- package/api/types/Patient.d.ts +10 -0
- package/api/types/Patient.js +5 -0
- package/api/types/PatientBirthDate.d.ts +4 -0
- package/api/types/PatientBirthDate.js +5 -0
- package/api/types/PayorItem.d.ts +6 -0
- package/api/types/PayorItem.js +5 -0
- package/api/types/Period.d.ts +6 -0
- package/api/types/Period.js +5 -0
- package/api/types/PostOrderCoverage.d.ts +14 -0
- package/api/types/PostOrderCoverage.js +5 -0
- package/api/types/PostOrderPatient.d.ts +12 -0
- package/api/types/PostOrderPatient.js +5 -0
- package/api/types/PostOrderPatientBirthDate.d.ts +4 -0
- package/api/types/PostOrderPatientBirthDate.js +5 -0
- package/api/types/PostOrderPhysician.d.ts +11 -0
- package/api/types/PostOrderPhysician.js +5 -0
- package/api/types/PostOrderQuestionnaireResponse.d.ts +10 -0
- package/api/types/PostOrderQuestionnaireResponse.js +5 -0
- package/api/types/PostOrderServiceRequest.d.ts +13 -0
- package/api/types/PostOrderServiceRequest.js +5 -0
- package/api/types/Priority.d.ts +13 -0
- package/api/types/Priority.js +12 -0
- package/api/types/QualificationItem.d.ts +9 -0
- package/api/types/QualificationItem.js +5 -0
- package/api/types/QuestionaryItem.d.ts +9 -0
- package/api/types/QuestionaryItem.js +5 -0
- package/api/types/ReferenceRangeItem.d.ts +8 -0
- package/api/types/ReferenceRangeItem.js +5 -0
- package/api/types/Relationship.d.ts +7 -0
- package/api/types/Relationship.js +5 -0
- package/api/types/Requester.d.ts +7 -0
- package/api/types/Requester.js +5 -0
- package/api/types/SingleHistoricalPullStatistics.d.ts +1 -0
- package/api/types/Subject.d.ts +7 -0
- package/api/types/Subject.js +5 -0
- package/api/types/TelecomItem.d.ts +8 -0
- package/api/types/TelecomItem.js +5 -0
- package/api/types/ValueQuantity.d.ts +8 -0
- package/api/types/ValueQuantity.js +5 -0
- package/api/types/ValueRange.d.ts +8 -0
- package/api/types/ValueRange.js +5 -0
- package/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCode.d.ts +7 -0
- package/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCode.js +5 -0
- package/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCodingItem.d.ts +8 -0
- package/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCodingItem.js +5 -0
- package/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItem.d.ts +7 -0
- package/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItem.js +5 -0
- package/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItemResource.d.ts +5 -0
- package/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItemResource.js +5 -0
- package/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirIdentifierItem.d.ts +6 -0
- package/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirIdentifierItem.js +5 -0
- package/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirNameItem.d.ts +6 -0
- package/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirNameItem.js +5 -0
- package/api/types/VitalCoreSchemasRequestSchemasOrdersCode.d.ts +7 -0
- package/api/types/VitalCoreSchemasRequestSchemasOrdersCode.js +5 -0
- package/api/types/VitalCoreSchemasRequestSchemasOrdersCodingItem.d.ts +8 -0
- package/api/types/VitalCoreSchemasRequestSchemasOrdersCodingItem.js +5 -0
- package/api/types/VitalCoreSchemasRequestSchemasOrdersEntryItem.d.ts +7 -0
- package/api/types/VitalCoreSchemasRequestSchemasOrdersEntryItem.js +5 -0
- package/api/types/VitalCoreSchemasRequestSchemasOrdersEntryItemResource.d.ts +5 -0
- package/api/types/VitalCoreSchemasRequestSchemasOrdersEntryItemResource.js +5 -0
- package/api/types/VitalCoreSchemasRequestSchemasOrdersIdentifierItem.d.ts +7 -0
- package/api/types/VitalCoreSchemasRequestSchemasOrdersIdentifierItem.js +5 -0
- package/api/types/VitalCoreSchemasRequestSchemasOrdersNameItem.d.ts +8 -0
- package/api/types/VitalCoreSchemasRequestSchemasOrdersNameItem.js +5 -0
- package/api/types/index.d.ts +45 -0
- package/api/types/index.js +45 -0
- package/dist/api/resources/activity/client/Client.js +2 -2
- package/dist/api/resources/body/client/Client.js +2 -2
- package/dist/api/resources/devices/client/Client.js +1 -1
- package/dist/api/resources/index.d.ts +1 -0
- package/dist/api/resources/index.js +1 -0
- package/dist/api/resources/insurance/client/Client.js +2 -2
- package/dist/api/resources/introspect/client/Client.js +2 -2
- package/dist/api/resources/labTests/client/Client.d.ts +18 -0
- package/dist/api/resources/labTests/client/Client.js +193 -24
- package/dist/api/resources/labTests/client/requests/LabTestsGetLabelsPdfRequest.d.ts +13 -0
- package/dist/api/resources/labTests/client/requests/LabTestsGetLabelsPdfRequest.js +5 -0
- package/dist/api/resources/labTests/client/requests/PostOrderFhir.d.ts +9 -0
- package/dist/api/resources/labTests/client/requests/PostOrderFhir.js +5 -0
- package/dist/api/resources/labTests/client/requests/index.d.ts +2 -0
- package/dist/api/resources/link/client/Client.js +14 -14
- package/dist/api/resources/meal/client/Client.js +1 -1
- package/dist/api/resources/profile/client/Client.js +2 -2
- package/dist/api/resources/providers/client/Client.d.ts +2 -1
- package/dist/api/resources/providers/client/Client.js +24 -6
- package/dist/api/resources/providers/client/index.d.ts +1 -1
- package/dist/api/resources/providers/client/index.js +15 -0
- package/dist/api/resources/providers/client/requests/ProvidersGetAllRequest.d.ts +10 -0
- package/dist/api/resources/providers/client/requests/ProvidersGetAllRequest.js +5 -0
- package/dist/api/resources/providers/client/requests/index.d.ts +1 -0
- package/dist/api/resources/providers/client/requests/index.js +2 -0
- package/dist/api/resources/sleep/client/Client.js +4 -4
- package/dist/api/resources/team/client/Client.js +7 -7
- package/dist/api/resources/testkit/client/Client.js +2 -2
- package/dist/api/resources/user/client/Client.js +12 -12
- package/dist/api/resources/vitals/client/Client.js +50 -50
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/api/types/Addres.d.ts +12 -0
- package/dist/api/types/Addres.js +5 -0
- package/dist/api/types/AnswerItem.d.ts +6 -0
- package/dist/api/types/AnswerItem.js +5 -0
- package/dist/api/types/Beneficiary.d.ts +6 -0
- package/dist/api/types/Beneficiary.js +5 -0
- package/dist/api/types/CodingItem1.d.ts +7 -0
- package/dist/api/types/CodingItem1.js +5 -0
- package/dist/api/types/High.d.ts +6 -0
- package/dist/api/types/High.js +5 -0
- package/dist/api/types/HistoricalPullStatus.d.ts +2 -1
- package/dist/api/types/HistoricalPullStatus.js +1 -0
- package/dist/api/types/HistoricalPullTimeline.d.ts +8 -0
- package/dist/api/types/HistoricalPullTimeline.js +5 -0
- package/dist/api/types/IdentifierItem1.d.ts +7 -0
- package/dist/api/types/IdentifierItem1.js +5 -0
- package/dist/api/types/InterpretationItem.d.ts +7 -0
- package/dist/api/types/InterpretationItem.js +5 -0
- package/dist/api/types/LabResultsFhir.d.ts +9 -0
- package/dist/api/types/LabResultsFhir.js +5 -0
- package/dist/api/types/Low.d.ts +6 -0
- package/dist/api/types/Low.js +5 -0
- package/dist/api/types/Observation.d.ts +16 -0
- package/dist/api/types/Observation.js +5 -0
- package/dist/api/types/ObservationEffectiveDateTime.d.ts +4 -0
- package/dist/api/types/ObservationEffectiveDateTime.js +5 -0
- package/dist/api/types/ObservationIssued.d.ts +4 -0
- package/dist/api/types/ObservationIssued.js +5 -0
- package/dist/api/types/Patient.d.ts +10 -0
- package/dist/api/types/Patient.js +5 -0
- package/dist/api/types/PatientBirthDate.d.ts +4 -0
- package/dist/api/types/PatientBirthDate.js +5 -0
- package/dist/api/types/PayorItem.d.ts +6 -0
- package/dist/api/types/PayorItem.js +5 -0
- package/dist/api/types/Period.d.ts +6 -0
- package/dist/api/types/Period.js +5 -0
- package/dist/api/types/PostOrderCoverage.d.ts +14 -0
- package/dist/api/types/PostOrderCoverage.js +5 -0
- package/dist/api/types/PostOrderPatient.d.ts +12 -0
- package/dist/api/types/PostOrderPatient.js +5 -0
- package/dist/api/types/PostOrderPatientBirthDate.d.ts +4 -0
- package/dist/api/types/PostOrderPatientBirthDate.js +5 -0
- package/dist/api/types/PostOrderPhysician.d.ts +11 -0
- package/dist/api/types/PostOrderPhysician.js +5 -0
- package/dist/api/types/PostOrderQuestionnaireResponse.d.ts +10 -0
- package/dist/api/types/PostOrderQuestionnaireResponse.js +5 -0
- package/dist/api/types/PostOrderServiceRequest.d.ts +13 -0
- package/dist/api/types/PostOrderServiceRequest.js +5 -0
- package/dist/api/types/Priority.d.ts +13 -0
- package/dist/api/types/Priority.js +12 -0
- package/dist/api/types/QualificationItem.d.ts +9 -0
- package/dist/api/types/QualificationItem.js +5 -0
- package/dist/api/types/QuestionaryItem.d.ts +9 -0
- package/dist/api/types/QuestionaryItem.js +5 -0
- package/dist/api/types/ReferenceRangeItem.d.ts +8 -0
- package/dist/api/types/ReferenceRangeItem.js +5 -0
- package/dist/api/types/Relationship.d.ts +7 -0
- package/dist/api/types/Relationship.js +5 -0
- package/dist/api/types/Requester.d.ts +7 -0
- package/dist/api/types/Requester.js +5 -0
- package/dist/api/types/SingleHistoricalPullStatistics.d.ts +1 -0
- package/dist/api/types/Subject.d.ts +7 -0
- package/dist/api/types/Subject.js +5 -0
- package/dist/api/types/TelecomItem.d.ts +8 -0
- package/dist/api/types/TelecomItem.js +5 -0
- package/dist/api/types/ValueQuantity.d.ts +8 -0
- package/dist/api/types/ValueQuantity.js +5 -0
- package/dist/api/types/ValueRange.d.ts +8 -0
- package/dist/api/types/ValueRange.js +5 -0
- package/dist/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCode.d.ts +7 -0
- package/dist/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCode.js +5 -0
- package/dist/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCodingItem.d.ts +8 -0
- package/dist/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCodingItem.js +5 -0
- package/dist/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItem.d.ts +7 -0
- package/dist/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItem.js +5 -0
- package/dist/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItemResource.d.ts +5 -0
- package/dist/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItemResource.js +5 -0
- package/dist/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirIdentifierItem.d.ts +6 -0
- package/dist/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirIdentifierItem.js +5 -0
- package/dist/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirNameItem.d.ts +6 -0
- package/dist/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirNameItem.js +5 -0
- package/dist/api/types/VitalCoreSchemasRequestSchemasOrdersCode.d.ts +7 -0
- package/dist/api/types/VitalCoreSchemasRequestSchemasOrdersCode.js +5 -0
- package/dist/api/types/VitalCoreSchemasRequestSchemasOrdersCodingItem.d.ts +8 -0
- package/dist/api/types/VitalCoreSchemasRequestSchemasOrdersCodingItem.js +5 -0
- package/dist/api/types/VitalCoreSchemasRequestSchemasOrdersEntryItem.d.ts +7 -0
- package/dist/api/types/VitalCoreSchemasRequestSchemasOrdersEntryItem.js +5 -0
- package/dist/api/types/VitalCoreSchemasRequestSchemasOrdersEntryItemResource.d.ts +5 -0
- package/dist/api/types/VitalCoreSchemasRequestSchemasOrdersEntryItemResource.js +5 -0
- package/dist/api/types/VitalCoreSchemasRequestSchemasOrdersIdentifierItem.d.ts +7 -0
- package/dist/api/types/VitalCoreSchemasRequestSchemasOrdersIdentifierItem.js +5 -0
- package/dist/api/types/VitalCoreSchemasRequestSchemasOrdersNameItem.d.ts +8 -0
- package/dist/api/types/VitalCoreSchemasRequestSchemasOrdersNameItem.js +5 -0
- package/dist/api/types/index.d.ts +45 -0
- package/dist/api/types/index.js +45 -0
- package/dist/serialization/resources/labTests/client/requests/PostOrderFhir.d.ts +15 -0
- package/dist/serialization/resources/labTests/client/requests/PostOrderFhir.js +36 -0
- package/dist/serialization/resources/labTests/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/labTests/client/requests/index.js +3 -1
- package/dist/serialization/types/Addres.d.ts +18 -0
- package/dist/serialization/types/Addres.js +39 -0
- package/dist/serialization/types/AnswerItem.d.ts +12 -0
- package/dist/serialization/types/AnswerItem.js +33 -0
- package/dist/serialization/types/Beneficiary.d.ts +12 -0
- package/dist/serialization/types/Beneficiary.js +33 -0
- package/dist/serialization/types/CodingItem1.d.ts +13 -0
- package/dist/serialization/types/CodingItem1.js +34 -0
- package/dist/serialization/types/High.d.ts +12 -0
- package/dist/serialization/types/High.js +33 -0
- package/dist/serialization/types/HistoricalPullStatus.d.ts +1 -1
- package/dist/serialization/types/HistoricalPullStatus.js +1 -1
- package/dist/serialization/types/HistoricalPullTimeline.d.ts +14 -0
- package/dist/serialization/types/HistoricalPullTimeline.js +35 -0
- package/dist/serialization/types/IdentifierItem1.d.ts +13 -0
- package/dist/serialization/types/IdentifierItem1.js +34 -0
- package/dist/serialization/types/InterpretationItem.d.ts +13 -0
- package/dist/serialization/types/InterpretationItem.js +34 -0
- package/dist/serialization/types/LabResultsFhir.d.ts +15 -0
- package/dist/serialization/types/LabResultsFhir.js +36 -0
- package/dist/serialization/types/Low.d.ts +12 -0
- package/dist/serialization/types/Low.js +33 -0
- package/dist/serialization/types/Observation.d.ts +28 -0
- package/dist/serialization/types/Observation.js +49 -0
- package/dist/serialization/types/ObservationEffectiveDateTime.d.ts +10 -0
- package/dist/serialization/types/ObservationEffectiveDateTime.js +31 -0
- package/dist/serialization/types/ObservationIssued.d.ts +10 -0
- package/dist/serialization/types/ObservationIssued.js +31 -0
- package/dist/serialization/types/Patient.d.ts +18 -0
- package/dist/serialization/types/Patient.js +39 -0
- package/dist/serialization/types/PatientBirthDate.d.ts +10 -0
- package/dist/serialization/types/PatientBirthDate.js +31 -0
- package/dist/serialization/types/PayorItem.d.ts +12 -0
- package/dist/serialization/types/PayorItem.js +33 -0
- package/dist/serialization/types/Period.d.ts +12 -0
- package/dist/serialization/types/Period.js +33 -0
- package/dist/serialization/types/PostOrderCoverage.d.ts +23 -0
- package/dist/serialization/types/PostOrderCoverage.js +44 -0
- package/dist/serialization/types/PostOrderPatient.d.ts +21 -0
- package/dist/serialization/types/PostOrderPatient.js +42 -0
- package/dist/serialization/types/PostOrderPatientBirthDate.d.ts +10 -0
- package/dist/serialization/types/PostOrderPatientBirthDate.js +31 -0
- package/dist/serialization/types/PostOrderPhysician.d.ts +20 -0
- package/dist/serialization/types/PostOrderPhysician.js +41 -0
- package/dist/serialization/types/PostOrderQuestionnaireResponse.d.ts +16 -0
- package/dist/serialization/types/PostOrderQuestionnaireResponse.js +37 -0
- package/dist/serialization/types/PostOrderServiceRequest.d.ts +22 -0
- package/dist/serialization/types/PostOrderServiceRequest.js +43 -0
- package/dist/serialization/types/Priority.d.ts +10 -0
- package/dist/serialization/types/Priority.js +36 -0
- package/dist/serialization/types/QualificationItem.d.ts +17 -0
- package/dist/serialization/types/QualificationItem.js +38 -0
- package/dist/serialization/types/QuestionaryItem.d.ts +15 -0
- package/dist/serialization/types/QuestionaryItem.js +36 -0
- package/dist/serialization/types/ReferenceRangeItem.d.ts +15 -0
- package/dist/serialization/types/ReferenceRangeItem.js +36 -0
- package/dist/serialization/types/Relationship.d.ts +13 -0
- package/dist/serialization/types/Relationship.js +34 -0
- package/dist/serialization/types/Requester.d.ts +13 -0
- package/dist/serialization/types/Requester.js +34 -0
- package/dist/serialization/types/SingleHistoricalPullStatistics.d.ts +2 -0
- package/dist/serialization/types/SingleHistoricalPullStatistics.js +2 -0
- package/dist/serialization/types/Subject.d.ts +13 -0
- package/dist/serialization/types/Subject.js +34 -0
- package/dist/serialization/types/TelecomItem.d.ts +14 -0
- package/dist/serialization/types/TelecomItem.js +35 -0
- package/dist/serialization/types/ValueQuantity.d.ts +14 -0
- package/dist/serialization/types/ValueQuantity.js +35 -0
- package/dist/serialization/types/ValueRange.d.ts +14 -0
- package/dist/serialization/types/ValueRange.js +35 -0
- package/dist/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCode.d.ts +13 -0
- package/dist/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCode.js +34 -0
- package/dist/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCodingItem.d.ts +14 -0
- package/dist/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCodingItem.js +35 -0
- package/dist/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItem.d.ts +13 -0
- package/dist/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItem.js +34 -0
- package/dist/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItemResource.d.ts +12 -0
- package/dist/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItemResource.js +33 -0
- package/dist/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirIdentifierItem.d.ts +12 -0
- package/dist/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirIdentifierItem.js +33 -0
- package/dist/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirNameItem.d.ts +12 -0
- package/dist/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirNameItem.js +33 -0
- package/dist/serialization/types/VitalCoreSchemasRequestSchemasOrdersCode.d.ts +13 -0
- package/dist/serialization/types/VitalCoreSchemasRequestSchemasOrdersCode.js +34 -0
- package/dist/serialization/types/VitalCoreSchemasRequestSchemasOrdersCodingItem.d.ts +14 -0
- package/dist/serialization/types/VitalCoreSchemasRequestSchemasOrdersCodingItem.js +35 -0
- package/dist/serialization/types/VitalCoreSchemasRequestSchemasOrdersEntryItem.d.ts +13 -0
- package/dist/serialization/types/VitalCoreSchemasRequestSchemasOrdersEntryItem.js +34 -0
- package/dist/serialization/types/VitalCoreSchemasRequestSchemasOrdersEntryItemResource.d.ts +15 -0
- package/dist/serialization/types/VitalCoreSchemasRequestSchemasOrdersEntryItemResource.js +42 -0
- package/dist/serialization/types/VitalCoreSchemasRequestSchemasOrdersIdentifierItem.d.ts +13 -0
- package/dist/serialization/types/VitalCoreSchemasRequestSchemasOrdersIdentifierItem.js +34 -0
- package/dist/serialization/types/VitalCoreSchemasRequestSchemasOrdersNameItem.d.ts +14 -0
- package/dist/serialization/types/VitalCoreSchemasRequestSchemasOrdersNameItem.js +35 -0
- package/dist/serialization/types/index.d.ts +45 -0
- package/dist/serialization/types/index.js +45 -0
- package/package.json +1 -1
- package/serialization/resources/labTests/client/requests/PostOrderFhir.d.ts +15 -0
- package/serialization/resources/labTests/client/requests/PostOrderFhir.js +36 -0
- package/serialization/resources/labTests/client/requests/index.d.ts +1 -0
- package/serialization/resources/labTests/client/requests/index.js +3 -1
- package/serialization/types/Addres.d.ts +18 -0
- package/serialization/types/Addres.js +39 -0
- package/serialization/types/AnswerItem.d.ts +12 -0
- package/serialization/types/AnswerItem.js +33 -0
- package/serialization/types/Beneficiary.d.ts +12 -0
- package/serialization/types/Beneficiary.js +33 -0
- package/serialization/types/CodingItem1.d.ts +13 -0
- package/serialization/types/CodingItem1.js +34 -0
- package/serialization/types/High.d.ts +12 -0
- package/serialization/types/High.js +33 -0
- package/serialization/types/HistoricalPullStatus.d.ts +1 -1
- package/serialization/types/HistoricalPullStatus.js +1 -1
- package/serialization/types/HistoricalPullTimeline.d.ts +14 -0
- package/serialization/types/HistoricalPullTimeline.js +35 -0
- package/serialization/types/IdentifierItem1.d.ts +13 -0
- package/serialization/types/IdentifierItem1.js +34 -0
- package/serialization/types/InterpretationItem.d.ts +13 -0
- package/serialization/types/InterpretationItem.js +34 -0
- package/serialization/types/LabResultsFhir.d.ts +15 -0
- package/serialization/types/LabResultsFhir.js +36 -0
- package/serialization/types/Low.d.ts +12 -0
- package/serialization/types/Low.js +33 -0
- package/serialization/types/Observation.d.ts +28 -0
- package/serialization/types/Observation.js +49 -0
- package/serialization/types/ObservationEffectiveDateTime.d.ts +10 -0
- package/serialization/types/ObservationEffectiveDateTime.js +31 -0
- package/serialization/types/ObservationIssued.d.ts +10 -0
- package/serialization/types/ObservationIssued.js +31 -0
- package/serialization/types/Patient.d.ts +18 -0
- package/serialization/types/Patient.js +39 -0
- package/serialization/types/PatientBirthDate.d.ts +10 -0
- package/serialization/types/PatientBirthDate.js +31 -0
- package/serialization/types/PayorItem.d.ts +12 -0
- package/serialization/types/PayorItem.js +33 -0
- package/serialization/types/Period.d.ts +12 -0
- package/serialization/types/Period.js +33 -0
- package/serialization/types/PostOrderCoverage.d.ts +23 -0
- package/serialization/types/PostOrderCoverage.js +44 -0
- package/serialization/types/PostOrderPatient.d.ts +21 -0
- package/serialization/types/PostOrderPatient.js +42 -0
- package/serialization/types/PostOrderPatientBirthDate.d.ts +10 -0
- package/serialization/types/PostOrderPatientBirthDate.js +31 -0
- package/serialization/types/PostOrderPhysician.d.ts +20 -0
- package/serialization/types/PostOrderPhysician.js +41 -0
- package/serialization/types/PostOrderQuestionnaireResponse.d.ts +16 -0
- package/serialization/types/PostOrderQuestionnaireResponse.js +37 -0
- package/serialization/types/PostOrderServiceRequest.d.ts +22 -0
- package/serialization/types/PostOrderServiceRequest.js +43 -0
- package/serialization/types/Priority.d.ts +10 -0
- package/serialization/types/Priority.js +36 -0
- package/serialization/types/QualificationItem.d.ts +17 -0
- package/serialization/types/QualificationItem.js +38 -0
- package/serialization/types/QuestionaryItem.d.ts +15 -0
- package/serialization/types/QuestionaryItem.js +36 -0
- package/serialization/types/ReferenceRangeItem.d.ts +15 -0
- package/serialization/types/ReferenceRangeItem.js +36 -0
- package/serialization/types/Relationship.d.ts +13 -0
- package/serialization/types/Relationship.js +34 -0
- package/serialization/types/Requester.d.ts +13 -0
- package/serialization/types/Requester.js +34 -0
- package/serialization/types/SingleHistoricalPullStatistics.d.ts +2 -0
- package/serialization/types/SingleHistoricalPullStatistics.js +2 -0
- package/serialization/types/Subject.d.ts +13 -0
- package/serialization/types/Subject.js +34 -0
- package/serialization/types/TelecomItem.d.ts +14 -0
- package/serialization/types/TelecomItem.js +35 -0
- package/serialization/types/ValueQuantity.d.ts +14 -0
- package/serialization/types/ValueQuantity.js +35 -0
- package/serialization/types/ValueRange.d.ts +14 -0
- package/serialization/types/ValueRange.js +35 -0
- package/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCode.d.ts +13 -0
- package/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCode.js +34 -0
- package/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCodingItem.d.ts +14 -0
- package/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCodingItem.js +35 -0
- package/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItem.d.ts +13 -0
- package/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItem.js +34 -0
- package/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItemResource.d.ts +12 -0
- package/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItemResource.js +33 -0
- package/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirIdentifierItem.d.ts +12 -0
- package/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirIdentifierItem.js +33 -0
- package/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirNameItem.d.ts +12 -0
- package/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirNameItem.js +33 -0
- package/serialization/types/VitalCoreSchemasRequestSchemasOrdersCode.d.ts +13 -0
- package/serialization/types/VitalCoreSchemasRequestSchemasOrdersCode.js +34 -0
- package/serialization/types/VitalCoreSchemasRequestSchemasOrdersCodingItem.d.ts +14 -0
- package/serialization/types/VitalCoreSchemasRequestSchemasOrdersCodingItem.js +35 -0
- package/serialization/types/VitalCoreSchemasRequestSchemasOrdersEntryItem.d.ts +13 -0
- package/serialization/types/VitalCoreSchemasRequestSchemasOrdersEntryItem.js +34 -0
- package/serialization/types/VitalCoreSchemasRequestSchemasOrdersEntryItemResource.d.ts +15 -0
- package/serialization/types/VitalCoreSchemasRequestSchemasOrdersEntryItemResource.js +42 -0
- package/serialization/types/VitalCoreSchemasRequestSchemasOrdersIdentifierItem.d.ts +13 -0
- package/serialization/types/VitalCoreSchemasRequestSchemasOrdersIdentifierItem.js +34 -0
- package/serialization/types/VitalCoreSchemasRequestSchemasOrdersNameItem.d.ts +14 -0
- package/serialization/types/VitalCoreSchemasRequestSchemasOrdersNameItem.js +35 -0
- package/serialization/types/index.d.ts +45 -0
- package/serialization/types/index.js +45 -0
@@ -75,7 +75,7 @@ class Vitals {
|
|
75
75
|
const _response = yield core.fetcher({
|
76
76
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/vo2_max/grouped`),
|
77
77
|
method: "GET",
|
78
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
78
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
79
79
|
contentType: "application/json",
|
80
80
|
queryParameters: _queryParams,
|
81
81
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -146,7 +146,7 @@ class Vitals {
|
|
146
146
|
const _response = yield core.fetcher({
|
147
147
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/stress_level/grouped`),
|
148
148
|
method: "GET",
|
149
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
149
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
150
150
|
contentType: "application/json",
|
151
151
|
queryParameters: _queryParams,
|
152
152
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -217,7 +217,7 @@ class Vitals {
|
|
217
217
|
const _response = yield core.fetcher({
|
218
218
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/mindfulness_minutes/grouped`),
|
219
219
|
method: "GET",
|
220
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
220
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
221
221
|
contentType: "application/json",
|
222
222
|
queryParameters: _queryParams,
|
223
223
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -288,7 +288,7 @@ class Vitals {
|
|
288
288
|
const _response = yield core.fetcher({
|
289
289
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/caffeine/grouped`),
|
290
290
|
method: "GET",
|
291
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
291
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
292
292
|
contentType: "application/json",
|
293
293
|
queryParameters: _queryParams,
|
294
294
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -359,7 +359,7 @@ class Vitals {
|
|
359
359
|
const _response = yield core.fetcher({
|
360
360
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/water/grouped`),
|
361
361
|
method: "GET",
|
362
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
362
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
363
363
|
contentType: "application/json",
|
364
364
|
queryParameters: _queryParams,
|
365
365
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -430,7 +430,7 @@ class Vitals {
|
|
430
430
|
const _response = yield core.fetcher({
|
431
431
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/steps/grouped`),
|
432
432
|
method: "GET",
|
433
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
433
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
434
434
|
contentType: "application/json",
|
435
435
|
queryParameters: _queryParams,
|
436
436
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -501,7 +501,7 @@ class Vitals {
|
|
501
501
|
const _response = yield core.fetcher({
|
502
502
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/floors_climbed/grouped`),
|
503
503
|
method: "GET",
|
504
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
504
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
505
505
|
contentType: "application/json",
|
506
506
|
queryParameters: _queryParams,
|
507
507
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -572,7 +572,7 @@ class Vitals {
|
|
572
572
|
const _response = yield core.fetcher({
|
573
573
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/distance/grouped`),
|
574
574
|
method: "GET",
|
575
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
575
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
576
576
|
contentType: "application/json",
|
577
577
|
queryParameters: _queryParams,
|
578
578
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -643,7 +643,7 @@ class Vitals {
|
|
643
643
|
const _response = yield core.fetcher({
|
644
644
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/calories_basal/grouped`),
|
645
645
|
method: "GET",
|
646
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
646
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
647
647
|
contentType: "application/json",
|
648
648
|
queryParameters: _queryParams,
|
649
649
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -714,7 +714,7 @@ class Vitals {
|
|
714
714
|
const _response = yield core.fetcher({
|
715
715
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/calories_active/grouped`),
|
716
716
|
method: "GET",
|
717
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
717
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
718
718
|
contentType: "application/json",
|
719
719
|
queryParameters: _queryParams,
|
720
720
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -785,7 +785,7 @@ class Vitals {
|
|
785
785
|
const _response = yield core.fetcher({
|
786
786
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/respiratory_rate/grouped`),
|
787
787
|
method: "GET",
|
788
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
788
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
789
789
|
contentType: "application/json",
|
790
790
|
queryParameters: _queryParams,
|
791
791
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -856,7 +856,7 @@ class Vitals {
|
|
856
856
|
const _response = yield core.fetcher({
|
857
857
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/ige/grouped`),
|
858
858
|
method: "GET",
|
859
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
859
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
860
860
|
contentType: "application/json",
|
861
861
|
queryParameters: _queryParams,
|
862
862
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -927,7 +927,7 @@ class Vitals {
|
|
927
927
|
const _response = yield core.fetcher({
|
928
928
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/igg/grouped`),
|
929
929
|
method: "GET",
|
930
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
930
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
931
931
|
contentType: "application/json",
|
932
932
|
queryParameters: _queryParams,
|
933
933
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -998,7 +998,7 @@ class Vitals {
|
|
998
998
|
const _response = yield core.fetcher({
|
999
999
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/hypnogram/grouped`),
|
1000
1000
|
method: "GET",
|
1001
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1001
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1002
1002
|
contentType: "application/json",
|
1003
1003
|
queryParameters: _queryParams,
|
1004
1004
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1069,7 +1069,7 @@ class Vitals {
|
|
1069
1069
|
const _response = yield core.fetcher({
|
1070
1070
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/hrv/grouped`),
|
1071
1071
|
method: "GET",
|
1072
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1072
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1073
1073
|
contentType: "application/json",
|
1074
1074
|
queryParameters: _queryParams,
|
1075
1075
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1140,7 +1140,7 @@ class Vitals {
|
|
1140
1140
|
const _response = yield core.fetcher({
|
1141
1141
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/heartrate/grouped`),
|
1142
1142
|
method: "GET",
|
1143
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1143
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1144
1144
|
contentType: "application/json",
|
1145
1145
|
queryParameters: _queryParams,
|
1146
1146
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1211,7 +1211,7 @@ class Vitals {
|
|
1211
1211
|
const _response = yield core.fetcher({
|
1212
1212
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/glucose/grouped`),
|
1213
1213
|
method: "GET",
|
1214
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1214
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1215
1215
|
contentType: "application/json",
|
1216
1216
|
queryParameters: _queryParams,
|
1217
1217
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1282,7 +1282,7 @@ class Vitals {
|
|
1282
1282
|
const _response = yield core.fetcher({
|
1283
1283
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/cholesterol/grouped`),
|
1284
1284
|
method: "GET",
|
1285
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1285
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1286
1286
|
contentType: "application/json",
|
1287
1287
|
queryParameters: _queryParams,
|
1288
1288
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1353,7 +1353,7 @@ class Vitals {
|
|
1353
1353
|
const _response = yield core.fetcher({
|
1354
1354
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/body_weight/grouped`),
|
1355
1355
|
method: "GET",
|
1356
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1356
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1357
1357
|
contentType: "application/json",
|
1358
1358
|
queryParameters: _queryParams,
|
1359
1359
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1424,7 +1424,7 @@ class Vitals {
|
|
1424
1424
|
const _response = yield core.fetcher({
|
1425
1425
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/body_fat/grouped`),
|
1426
1426
|
method: "GET",
|
1427
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1427
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1428
1428
|
contentType: "application/json",
|
1429
1429
|
queryParameters: _queryParams,
|
1430
1430
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1495,7 +1495,7 @@ class Vitals {
|
|
1495
1495
|
const _response = yield core.fetcher({
|
1496
1496
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/blood_oxygen/grouped`),
|
1497
1497
|
method: "GET",
|
1498
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1498
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1499
1499
|
contentType: "application/json",
|
1500
1500
|
queryParameters: _queryParams,
|
1501
1501
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1566,7 +1566,7 @@ class Vitals {
|
|
1566
1566
|
const _response = yield core.fetcher({
|
1567
1567
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/electrocardiogram_voltage/grouped`),
|
1568
1568
|
method: "GET",
|
1569
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1569
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1570
1570
|
contentType: "application/json",
|
1571
1571
|
queryParameters: _queryParams,
|
1572
1572
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1637,7 +1637,7 @@ class Vitals {
|
|
1637
1637
|
const _response = yield core.fetcher({
|
1638
1638
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/blood_pressure/grouped`),
|
1639
1639
|
method: "GET",
|
1640
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1640
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1641
1641
|
contentType: "application/json",
|
1642
1642
|
queryParameters: _queryParams,
|
1643
1643
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1705,7 +1705,7 @@ class Vitals {
|
|
1705
1705
|
const _response = yield core.fetcher({
|
1706
1706
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/vo2_max`),
|
1707
1707
|
method: "GET",
|
1708
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1708
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1709
1709
|
contentType: "application/json",
|
1710
1710
|
queryParameters: _queryParams,
|
1711
1711
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1773,7 +1773,7 @@ class Vitals {
|
|
1773
1773
|
const _response = yield core.fetcher({
|
1774
1774
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/stress_level`),
|
1775
1775
|
method: "GET",
|
1776
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1776
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1777
1777
|
contentType: "application/json",
|
1778
1778
|
queryParameters: _queryParams,
|
1779
1779
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1841,7 +1841,7 @@ class Vitals {
|
|
1841
1841
|
const _response = yield core.fetcher({
|
1842
1842
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/mindfulness_minutes`),
|
1843
1843
|
method: "GET",
|
1844
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1844
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1845
1845
|
contentType: "application/json",
|
1846
1846
|
queryParameters: _queryParams,
|
1847
1847
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1909,7 +1909,7 @@ class Vitals {
|
|
1909
1909
|
const _response = yield core.fetcher({
|
1910
1910
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/caffeine`),
|
1911
1911
|
method: "GET",
|
1912
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1912
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1913
1913
|
contentType: "application/json",
|
1914
1914
|
queryParameters: _queryParams,
|
1915
1915
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1977,7 +1977,7 @@ class Vitals {
|
|
1977
1977
|
const _response = yield core.fetcher({
|
1978
1978
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/water`),
|
1979
1979
|
method: "GET",
|
1980
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1980
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1981
1981
|
contentType: "application/json",
|
1982
1982
|
queryParameters: _queryParams,
|
1983
1983
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -2045,7 +2045,7 @@ class Vitals {
|
|
2045
2045
|
const _response = yield core.fetcher({
|
2046
2046
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/steps`),
|
2047
2047
|
method: "GET",
|
2048
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2048
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2049
2049
|
contentType: "application/json",
|
2050
2050
|
queryParameters: _queryParams,
|
2051
2051
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -2113,7 +2113,7 @@ class Vitals {
|
|
2113
2113
|
const _response = yield core.fetcher({
|
2114
2114
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/floors_climbed`),
|
2115
2115
|
method: "GET",
|
2116
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2116
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2117
2117
|
contentType: "application/json",
|
2118
2118
|
queryParameters: _queryParams,
|
2119
2119
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -2181,7 +2181,7 @@ class Vitals {
|
|
2181
2181
|
const _response = yield core.fetcher({
|
2182
2182
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/distance`),
|
2183
2183
|
method: "GET",
|
2184
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2184
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2185
2185
|
contentType: "application/json",
|
2186
2186
|
queryParameters: _queryParams,
|
2187
2187
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -2249,7 +2249,7 @@ class Vitals {
|
|
2249
2249
|
const _response = yield core.fetcher({
|
2250
2250
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/calories_basal`),
|
2251
2251
|
method: "GET",
|
2252
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2252
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2253
2253
|
contentType: "application/json",
|
2254
2254
|
queryParameters: _queryParams,
|
2255
2255
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -2317,7 +2317,7 @@ class Vitals {
|
|
2317
2317
|
const _response = yield core.fetcher({
|
2318
2318
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/calories_active`),
|
2319
2319
|
method: "GET",
|
2320
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2320
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2321
2321
|
contentType: "application/json",
|
2322
2322
|
queryParameters: _queryParams,
|
2323
2323
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -2385,7 +2385,7 @@ class Vitals {
|
|
2385
2385
|
const _response = yield core.fetcher({
|
2386
2386
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/respiratory_rate`),
|
2387
2387
|
method: "GET",
|
2388
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2388
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2389
2389
|
contentType: "application/json",
|
2390
2390
|
queryParameters: _queryParams,
|
2391
2391
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -2453,7 +2453,7 @@ class Vitals {
|
|
2453
2453
|
const _response = yield core.fetcher({
|
2454
2454
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/ige`),
|
2455
2455
|
method: "GET",
|
2456
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2456
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2457
2457
|
contentType: "application/json",
|
2458
2458
|
queryParameters: _queryParams,
|
2459
2459
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -2521,7 +2521,7 @@ class Vitals {
|
|
2521
2521
|
const _response = yield core.fetcher({
|
2522
2522
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/igg`),
|
2523
2523
|
method: "GET",
|
2524
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2524
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2525
2525
|
contentType: "application/json",
|
2526
2526
|
queryParameters: _queryParams,
|
2527
2527
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -2589,7 +2589,7 @@ class Vitals {
|
|
2589
2589
|
const _response = yield core.fetcher({
|
2590
2590
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/hypnogram`),
|
2591
2591
|
method: "GET",
|
2592
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2592
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2593
2593
|
contentType: "application/json",
|
2594
2594
|
queryParameters: _queryParams,
|
2595
2595
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -2657,7 +2657,7 @@ class Vitals {
|
|
2657
2657
|
const _response = yield core.fetcher({
|
2658
2658
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/hrv`),
|
2659
2659
|
method: "GET",
|
2660
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2660
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2661
2661
|
contentType: "application/json",
|
2662
2662
|
queryParameters: _queryParams,
|
2663
2663
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -2725,7 +2725,7 @@ class Vitals {
|
|
2725
2725
|
const _response = yield core.fetcher({
|
2726
2726
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/heartrate`),
|
2727
2727
|
method: "GET",
|
2728
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2728
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2729
2729
|
contentType: "application/json",
|
2730
2730
|
queryParameters: _queryParams,
|
2731
2731
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -2793,7 +2793,7 @@ class Vitals {
|
|
2793
2793
|
const _response = yield core.fetcher({
|
2794
2794
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/glucose`),
|
2795
2795
|
method: "GET",
|
2796
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2796
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2797
2797
|
contentType: "application/json",
|
2798
2798
|
queryParameters: _queryParams,
|
2799
2799
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -2861,7 +2861,7 @@ class Vitals {
|
|
2861
2861
|
const _response = yield core.fetcher({
|
2862
2862
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/cholesterol/triglycerides`),
|
2863
2863
|
method: "GET",
|
2864
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2864
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2865
2865
|
contentType: "application/json",
|
2866
2866
|
queryParameters: _queryParams,
|
2867
2867
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -2929,7 +2929,7 @@ class Vitals {
|
|
2929
2929
|
const _response = yield core.fetcher({
|
2930
2930
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/cholesterol/total`),
|
2931
2931
|
method: "GET",
|
2932
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2932
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2933
2933
|
contentType: "application/json",
|
2934
2934
|
queryParameters: _queryParams,
|
2935
2935
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -2997,7 +2997,7 @@ class Vitals {
|
|
2997
2997
|
const _response = yield core.fetcher({
|
2998
2998
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/cholesterol/ldl`),
|
2999
2999
|
method: "GET",
|
3000
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3000
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3001
3001
|
contentType: "application/json",
|
3002
3002
|
queryParameters: _queryParams,
|
3003
3003
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -3065,7 +3065,7 @@ class Vitals {
|
|
3065
3065
|
const _response = yield core.fetcher({
|
3066
3066
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/cholesterol/hdl`),
|
3067
3067
|
method: "GET",
|
3068
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3068
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3069
3069
|
contentType: "application/json",
|
3070
3070
|
queryParameters: _queryParams,
|
3071
3071
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -3133,7 +3133,7 @@ class Vitals {
|
|
3133
3133
|
const _response = yield core.fetcher({
|
3134
3134
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/cholesterol`),
|
3135
3135
|
method: "GET",
|
3136
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3136
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3137
3137
|
contentType: "application/json",
|
3138
3138
|
queryParameters: _queryParams,
|
3139
3139
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -3201,7 +3201,7 @@ class Vitals {
|
|
3201
3201
|
const _response = yield core.fetcher({
|
3202
3202
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/body_weight`),
|
3203
3203
|
method: "GET",
|
3204
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3204
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3205
3205
|
contentType: "application/json",
|
3206
3206
|
queryParameters: _queryParams,
|
3207
3207
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -3269,7 +3269,7 @@ class Vitals {
|
|
3269
3269
|
const _response = yield core.fetcher({
|
3270
3270
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/body_fat`),
|
3271
3271
|
method: "GET",
|
3272
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3272
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3273
3273
|
contentType: "application/json",
|
3274
3274
|
queryParameters: _queryParams,
|
3275
3275
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -3337,7 +3337,7 @@ class Vitals {
|
|
3337
3337
|
const _response = yield core.fetcher({
|
3338
3338
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/blood_oxygen`),
|
3339
3339
|
method: "GET",
|
3340
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3340
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3341
3341
|
contentType: "application/json",
|
3342
3342
|
queryParameters: _queryParams,
|
3343
3343
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -3405,7 +3405,7 @@ class Vitals {
|
|
3405
3405
|
const _response = yield core.fetcher({
|
3406
3406
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/electrocardiogram_voltage`),
|
3407
3407
|
method: "GET",
|
3408
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3408
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3409
3409
|
contentType: "application/json",
|
3410
3410
|
queryParameters: _queryParams,
|
3411
3411
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -3473,7 +3473,7 @@ class Vitals {
|
|
3473
3473
|
const _response = yield core.fetcher({
|
3474
3474
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${userId}/blood_pressure`),
|
3475
3475
|
method: "GET",
|
3476
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3476
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3477
3477
|
contentType: "application/json",
|
3478
3478
|
queryParameters: _queryParams,
|
3479
3479
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -73,7 +73,7 @@ class Workouts {
|
|
73
73
|
const _response = yield core.fetcher({
|
74
74
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/workouts/${userId}`),
|
75
75
|
method: "GET",
|
76
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
76
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
77
77
|
contentType: "application/json",
|
78
78
|
queryParameters: _queryParams,
|
79
79
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -142,7 +142,7 @@ class Workouts {
|
|
142
142
|
const _response = yield core.fetcher({
|
143
143
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/workouts/${userId}/raw`),
|
144
144
|
method: "GET",
|
145
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
145
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
146
146
|
contentType: "application/json",
|
147
147
|
queryParameters: _queryParams,
|
148
148
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -199,7 +199,7 @@ class Workouts {
|
|
199
199
|
const _response = yield core.fetcher({
|
200
200
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/workouts/${workoutId}/stream`),
|
201
201
|
method: "GET",
|
202
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
202
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
203
203
|
contentType: "application/json",
|
204
204
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
205
205
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|