@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
@@ -73,7 +73,7 @@ class Meal {
|
|
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/meal/${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,
|
@@ -67,7 +67,7 @@ class Profile {
|
|
67
67
|
const _response = yield core.fetcher({
|
68
68
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/profile/${userId}`),
|
69
69
|
method: "GET",
|
70
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
70
|
+
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())),
|
71
71
|
contentType: "application/json",
|
72
72
|
queryParameters: _queryParams,
|
73
73
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -130,7 +130,7 @@ class Profile {
|
|
130
130
|
const _response = yield core.fetcher({
|
131
131
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/profile/${userId}/raw`),
|
132
132
|
method: "GET",
|
133
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
133
|
+
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())),
|
134
134
|
contentType: "application/json",
|
135
135
|
queryParameters: _queryParams,
|
136
136
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -19,11 +19,12 @@ export declare class Providers {
|
|
19
19
|
constructor(_options: Providers.Options);
|
20
20
|
/**
|
21
21
|
* Get Provider list
|
22
|
+
* @throws {@link Vital.UnprocessableEntityError}
|
22
23
|
*
|
23
24
|
* @example
|
24
25
|
* await vital.providers.getAll()
|
25
26
|
*/
|
26
|
-
getAll(requestOptions?: Providers.RequestOptions): Promise<Vital.ClientFacingProviderDetailed[]>;
|
27
|
+
getAll(request?: Vital.ProvidersGetAllRequest, requestOptions?: Providers.RequestOptions): Promise<Vital.ClientFacingProviderDetailed[]>;
|
27
28
|
protected _getCustomAuthorizationHeaders(): Promise<{
|
28
29
|
"x-vital-api-key": string;
|
29
30
|
}>;
|
@@ -41,6 +41,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
41
41
|
exports.Providers = void 0;
|
42
42
|
const environments = __importStar(require("../../../../environments"));
|
43
43
|
const core = __importStar(require("../../../../core"));
|
44
|
+
const Vital = __importStar(require("../../.."));
|
44
45
|
const url_join_1 = __importDefault(require("url-join"));
|
45
46
|
const serializers = __importStar(require("../../../../serialization"));
|
46
47
|
const errors = __importStar(require("../../../../errors"));
|
@@ -50,18 +51,25 @@ class Providers {
|
|
50
51
|
}
|
51
52
|
/**
|
52
53
|
* Get Provider list
|
54
|
+
* @throws {@link Vital.UnprocessableEntityError}
|
53
55
|
*
|
54
56
|
* @example
|
55
57
|
* await vital.providers.getAll()
|
56
58
|
*/
|
57
|
-
getAll(requestOptions) {
|
59
|
+
getAll(request = {}, requestOptions) {
|
58
60
|
var _a;
|
59
61
|
return __awaiter(this, void 0, void 0, function* () {
|
62
|
+
const { sourceType } = request;
|
63
|
+
const _queryParams = {};
|
64
|
+
if (sourceType != null) {
|
65
|
+
_queryParams["source_type"] = sourceType;
|
66
|
+
}
|
60
67
|
const _response = yield core.fetcher({
|
61
68
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/providers"),
|
62
69
|
method: "GET",
|
63
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
70
|
+
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())),
|
64
71
|
contentType: "application/json",
|
72
|
+
queryParameters: _queryParams,
|
65
73
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
66
74
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
67
75
|
});
|
@@ -74,10 +82,20 @@ class Providers {
|
|
74
82
|
});
|
75
83
|
}
|
76
84
|
if (_response.error.reason === "status-code") {
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
85
|
+
switch (_response.error.statusCode) {
|
86
|
+
case 422:
|
87
|
+
throw new Vital.UnprocessableEntityError(yield serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
88
|
+
unrecognizedObjectKeys: "passthrough",
|
89
|
+
allowUnrecognizedUnionMembers: true,
|
90
|
+
allowUnrecognizedEnumValues: true,
|
91
|
+
breadcrumbsPrefix: ["response"],
|
92
|
+
}));
|
93
|
+
default:
|
94
|
+
throw new errors.VitalError({
|
95
|
+
statusCode: _response.error.statusCode,
|
96
|
+
body: _response.error.body,
|
97
|
+
});
|
98
|
+
}
|
81
99
|
}
|
82
100
|
switch (_response.error.reason) {
|
83
101
|
case "non-json":
|
@@ -1 +1 @@
|
|
1
|
-
export
|
1
|
+
export * from "./requests";
|
@@ -1,2 +1,17 @@
|
|
1
1
|
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
2
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./requests"), exports);
|
@@ -0,0 +1 @@
|
|
1
|
+
export { ProvidersGetAllRequest } from "./ProvidersGetAllRequest";
|
@@ -73,7 +73,7 @@ class Sleep {
|
|
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/sleep/${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 Sleep {
|
|
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/sleep/${userId}/stream`),
|
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,
|
@@ -211,7 +211,7 @@ class Sleep {
|
|
211
211
|
const _response = yield core.fetcher({
|
212
212
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/sleep/${userId}/raw`),
|
213
213
|
method: "GET",
|
214
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
214
|
+
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())),
|
215
215
|
contentType: "application/json",
|
216
216
|
queryParameters: _queryParams,
|
217
217
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -269,7 +269,7 @@ class Sleep {
|
|
269
269
|
const _response = yield core.fetcher({
|
270
270
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/sleep/${sleepId}/stream`),
|
271
271
|
method: "GET",
|
272
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
272
|
+
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())),
|
273
273
|
contentType: "application/json",
|
274
274
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
275
275
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
@@ -63,7 +63,7 @@ class Team {
|
|
63
63
|
const _response = yield core.fetcher({
|
64
64
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/team/link/config"),
|
65
65
|
method: "GET",
|
66
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
66
|
+
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, "x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined }, (yield this._getCustomAuthorizationHeaders())),
|
67
67
|
contentType: "application/json",
|
68
68
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
69
69
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
@@ -120,7 +120,7 @@ class Team {
|
|
120
120
|
const _response = yield core.fetcher({
|
121
121
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/team/${teamId}`),
|
122
122
|
method: "GET",
|
123
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
123
|
+
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())),
|
124
124
|
contentType: "application/json",
|
125
125
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
126
126
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
@@ -182,7 +182,7 @@ class Team {
|
|
182
182
|
const _response = yield core.fetcher({
|
183
183
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/team/users/search"),
|
184
184
|
method: "GET",
|
185
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
185
|
+
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())),
|
186
186
|
contentType: "application/json",
|
187
187
|
queryParameters: _queryParams,
|
188
188
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -233,7 +233,7 @@ class Team {
|
|
233
233
|
const _response = yield core.fetcher({
|
234
234
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/team/svix/url"),
|
235
235
|
method: "GET",
|
236
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
236
|
+
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())),
|
237
237
|
contentType: "application/json",
|
238
238
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
239
239
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
@@ -285,7 +285,7 @@ class Team {
|
|
285
285
|
const _response = yield core.fetcher({
|
286
286
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/team/source/priorities"),
|
287
287
|
method: "GET",
|
288
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
288
|
+
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())),
|
289
289
|
contentType: "application/json",
|
290
290
|
queryParameters: _queryParams,
|
291
291
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -348,7 +348,7 @@ class Team {
|
|
348
348
|
const _response = yield core.fetcher({
|
349
349
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/team/source/priorities"),
|
350
350
|
method: "PATCH",
|
351
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
351
|
+
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())),
|
352
352
|
contentType: "application/json",
|
353
353
|
queryParameters: _queryParams,
|
354
354
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -405,7 +405,7 @@ class Team {
|
|
405
405
|
const _response = yield core.fetcher({
|
406
406
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/team/${teamId}/physicians`),
|
407
407
|
method: "GET",
|
408
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
408
|
+
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())),
|
409
409
|
contentType: "application/json",
|
410
410
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
411
411
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
@@ -58,7 +58,7 @@ class Testkit {
|
|
58
58
|
const _response = yield core.fetcher({
|
59
59
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/order/testkit/register"),
|
60
60
|
method: "POST",
|
61
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
61
|
+
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())),
|
62
62
|
contentType: "application/json",
|
63
63
|
body: yield serializers.RegisterTestkitRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
64
64
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -113,7 +113,7 @@ class Testkit {
|
|
113
113
|
const _response = yield core.fetcher({
|
114
114
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/order/testkit"),
|
115
115
|
method: "POST",
|
116
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
116
|
+
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())),
|
117
117
|
contentType: "application/json",
|
118
118
|
body: yield serializers.CreateRegistrableTestkitOrderRequest.jsonOrThrow(request, {
|
119
119
|
unrecognizedObjectKeys: "strip",
|
@@ -70,7 +70,7 @@ class User {
|
|
70
70
|
const _response = yield core.fetcher({
|
71
71
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/user"),
|
72
72
|
method: "GET",
|
73
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
73
|
+
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())),
|
74
74
|
contentType: "application/json",
|
75
75
|
queryParameters: _queryParams,
|
76
76
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -131,7 +131,7 @@ class User {
|
|
131
131
|
const _response = yield core.fetcher({
|
132
132
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/user"),
|
133
133
|
method: "POST",
|
134
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
134
|
+
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())),
|
135
135
|
contentType: "application/json",
|
136
136
|
body: yield serializers.UserCreateBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
137
137
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -190,7 +190,7 @@ class User {
|
|
190
190
|
const _response = yield core.fetcher({
|
191
191
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/user/metrics"),
|
192
192
|
method: "GET",
|
193
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
193
|
+
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())),
|
194
194
|
contentType: "application/json",
|
195
195
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
196
196
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
@@ -236,7 +236,7 @@ class User {
|
|
236
236
|
const _response = yield core.fetcher({
|
237
237
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/user/${userId}/sign_in_token`),
|
238
238
|
method: "POST",
|
239
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
239
|
+
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())),
|
240
240
|
contentType: "application/json",
|
241
241
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
242
242
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
@@ -293,7 +293,7 @@ class User {
|
|
293
293
|
const _response = yield core.fetcher({
|
294
294
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/user/providers/${userId}`),
|
295
295
|
method: "GET",
|
296
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
296
|
+
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())),
|
297
297
|
contentType: "application/json",
|
298
298
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
299
299
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
@@ -350,7 +350,7 @@ class User {
|
|
350
350
|
const _response = yield core.fetcher({
|
351
351
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/user/${userId}`),
|
352
352
|
method: "GET",
|
353
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
353
|
+
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())),
|
354
354
|
contentType: "application/json",
|
355
355
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
356
356
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
@@ -406,7 +406,7 @@ class User {
|
|
406
406
|
const _response = yield core.fetcher({
|
407
407
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/user/${userId}`),
|
408
408
|
method: "DELETE",
|
409
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
409
|
+
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())),
|
410
410
|
contentType: "application/json",
|
411
411
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
412
412
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
@@ -462,7 +462,7 @@ class User {
|
|
462
462
|
const _response = yield core.fetcher({
|
463
463
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/user/${userId}`),
|
464
464
|
method: "PATCH",
|
465
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
465
|
+
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())),
|
466
466
|
contentType: "application/json",
|
467
467
|
body: yield serializers.UserPatchBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
468
468
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -515,7 +515,7 @@ class User {
|
|
515
515
|
const _response = yield core.fetcher({
|
516
516
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/user/resolve/${clientUserId}`),
|
517
517
|
method: "GET",
|
518
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
518
|
+
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())),
|
519
519
|
contentType: "application/json",
|
520
520
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
521
521
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
@@ -571,7 +571,7 @@ class User {
|
|
571
571
|
const _response = yield core.fetcher({
|
572
572
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/user/${userId}/${yield serializers.Providers.jsonOrThrow(provider)}`),
|
573
573
|
method: "DELETE",
|
574
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
574
|
+
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())),
|
575
575
|
contentType: "application/json",
|
576
576
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
577
577
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
@@ -635,7 +635,7 @@ class User {
|
|
635
635
|
const _response = yield core.fetcher({
|
636
636
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/user/undo_delete"),
|
637
637
|
method: "POST",
|
638
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
638
|
+
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())),
|
639
639
|
contentType: "application/json",
|
640
640
|
queryParameters: _queryParams,
|
641
641
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -699,7 +699,7 @@ class User {
|
|
699
699
|
const _response = yield core.fetcher({
|
700
700
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/user/refresh/${userId}`),
|
701
701
|
method: "POST",
|
702
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
702
|
+
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())),
|
703
703
|
contentType: "application/json",
|
704
704
|
queryParameters: _queryParams,
|
705
705
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|