@tryvital/vital-node 3.1.231 → 3.1.235
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/resources/activity/client/Client.js +2 -2
- package/api/resources/aggregate/client/Client.js +2 -2
- package/api/resources/body/client/Client.js +2 -2
- package/api/resources/devices/client/Client.js +1 -1
- package/api/resources/electrocardiogram/client/Client.js +1 -1
- package/api/resources/insurance/client/Client.js +3 -3
- package/api/resources/introspect/client/Client.js +2 -2
- package/api/resources/labTests/client/Client.d.ts +10 -0
- package/api/resources/labTests/client/Client.js +141 -37
- package/api/resources/link/client/Client.js +19 -19
- package/api/resources/link/client/requests/BulkImportConnectionsBody.d.ts +9 -0
- package/api/resources/link/client/requests/BulkTriggerHistoricalPullBody.d.ts +9 -0
- package/api/resources/link/client/requests/LinkTokenExchange.d.ts +23 -0
- package/api/resources/meal/client/Client.js +1 -1
- package/api/resources/menstrualCycle/client/Client.js +1 -1
- package/api/resources/order/client/Client.js +1 -1
- package/api/resources/profile/client/Client.js +2 -2
- package/api/resources/providers/client/Client.js +1 -1
- package/api/resources/sleep/client/Client.js +4 -4
- package/api/resources/sleepCycle/client/Client.js +1 -1
- package/api/resources/team/client/Client.js +7 -7
- package/api/resources/testkit/client/Client.js +2 -2
- package/api/resources/user/client/Client.js +16 -16
- package/api/resources/user/client/requests/UserInfoCreateRequest.d.ts +5 -0
- package/api/resources/vitals/client/Client.js +75 -75
- package/api/resources/workouts/client/Client.js +3 -3
- package/api/types/ActivityColumnExpr.d.ts +1 -0
- package/api/types/ActivityColumnExprActivity.d.ts +3 -0
- package/api/types/AggregateExpr.d.ts +1 -0
- package/api/types/AggregateExprFunc.d.ts +3 -0
- package/api/types/AllowedRadius.d.ts +3 -0
- package/api/types/AppointmentEventStatus.d.ts +3 -0
- package/api/types/AppointmentProvider.d.ts +3 -0
- package/api/types/AppointmentPscLabs.d.ts +3 -0
- package/api/types/AppointmentServiceType.d.ts +3 -0
- package/api/types/AppointmentStatus.d.ts +3 -0
- package/api/types/AppointmentType.d.ts +3 -0
- package/api/types/AttemptStatus.d.ts +3 -0
- package/api/types/AuthType.d.ts +3 -0
- package/api/types/Availability.d.ts +3 -0
- package/api/types/Billing.d.ts +3 -0
- package/api/types/BiomarkerResult.d.ts +2 -0
- package/api/types/BodyColumnExpr.d.ts +1 -0
- package/api/types/BodyColumnExprBody.d.ts +3 -0
- package/api/types/BulkOp.d.ts +2 -0
- package/api/types/BulkOpStatus.d.ts +3 -0
- package/api/types/BulkOpType.d.ts +3 -0
- package/api/types/CervicalMucusEntry.d.ts +1 -0
- package/api/types/CervicalMucusEntryQuality.d.ts +3 -0
- package/api/types/ClientFacingConnectionErrorDetails.d.ts +1 -0
- package/api/types/ClientFacingConnectionErrorDetailsErrorType.d.ts +3 -0
- package/api/types/ClientFacingElectrocardiogram.d.ts +1 -0
- package/api/types/ClientFacingElectrocardiogramSourceType.d.ts +3 -0
- package/api/types/ClientFacingHeartRateAlertSample.d.ts +1 -0
- package/api/types/ClientFacingHeartRateAlertSampleType.d.ts +3 -0
- package/api/types/ClientFacingInsulinInjectionSample.d.ts +1 -1
- package/api/types/ClientFacingInsulinInjectionSampleType.d.ts +1 -1
- package/api/types/ClientFacingLabs.d.ts +3 -0
- package/api/types/ClientFacingMenstrualCycle.d.ts +1 -0
- package/api/types/ClientFacingMenstrualCycleSourceType.d.ts +3 -0
- package/api/types/ClientFacingPatientDetailsCompatible.d.ts +11 -0
- package/api/types/ClientFacingResource.d.ts +3 -0
- package/api/types/ClientFacingSleepCycle.d.ts +1 -0
- package/api/types/ClientFacingSleepCycleSourceType.d.ts +3 -0
- package/api/types/ClientFacingStandHourSample.d.ts +1 -0
- package/api/types/ClientFacingStandHourSampleType.d.ts +3 -0
- package/api/types/ClinicalInformation.d.ts +9 -0
- package/api/types/ClinicalInformation.js +5 -0
- package/api/types/ConsentType.d.ts +3 -0
- package/api/types/ContraceptiveEntry.d.ts +1 -0
- package/api/types/ContraceptiveEntryType.d.ts +3 -0
- package/api/types/DelegatedFlowType.d.ts +3 -0
- package/api/types/DemoProviders.d.ts +3 -0
- package/api/types/DetectedDeviationEntry.d.ts +1 -0
- package/api/types/DetectedDeviationEntryDeviation.d.ts +3 -0
- package/api/types/EmailProviders.d.ts +3 -0
- package/api/types/Ethnicity.d.ts +13 -0
- package/api/types/Ethnicity.js +12 -0
- package/api/types/EventDestinationPreferences.d.ts +1 -0
- package/api/types/EventDestinationPreferencesPreferred.d.ts +3 -0
- package/api/types/FailureType.d.ts +3 -0
- package/api/types/Gender.d.ts +3 -0
- package/api/types/GenderIdentity.d.ts +15 -0
- package/api/types/GenderIdentity.js +14 -0
- package/api/types/GuarantorDetails.d.ts +2 -0
- package/api/types/HistoricalPullStatus.d.ts +3 -0
- package/api/types/HomePregnancyTestEntry.d.ts +1 -0
- package/api/types/HomePregnancyTestEntryTestResult.d.ts +3 -0
- package/api/types/HomeProgesteroneTestEntry.d.ts +1 -0
- package/api/types/HomeProgesteroneTestEntryTestResult.d.ts +3 -0
- package/api/types/IndexColumnExpr.d.ts +1 -0
- package/api/types/IndexColumnExprIndex.d.ts +3 -0
- package/api/types/LabResultsRaw.d.ts +1 -0
- package/api/types/LabTestCollectionMethod.d.ts +1 -1
- package/api/types/LabTestGenerationMethodFilter.d.ts +3 -0
- package/api/types/LabTestSampleType.d.ts +1 -1
- package/api/types/LabTestStatus.d.ts +3 -0
- package/api/types/Labs.d.ts +3 -0
- package/api/types/ManualProviders.d.ts +3 -0
- package/api/types/MarkerType.d.ts +3 -0
- package/api/types/MenstrualFlowEntry.d.ts +1 -0
- package/api/types/MenstrualFlowEntryFlow.d.ts +3 -0
- package/api/types/Minerals.d.ts +3 -0
- package/api/types/OAuthProviders.d.ts +3 -0
- package/api/types/OrderStatus.d.ts +3 -0
- package/api/types/OrderTopLevelStatus.d.ts +3 -0
- package/api/types/OvulationTestEntry.d.ts +1 -0
- package/api/types/OvulationTestEntryTestResult.d.ts +3 -0
- package/api/types/PasswordProviders.d.ts +3 -0
- package/api/types/PatientDetailsWithValidation.d.ts +10 -0
- package/api/types/PayorCodeExternalProvider.d.ts +3 -0
- package/api/types/PerformingLaboratory.d.ts +10 -0
- package/api/types/PerformingLaboratory.js +5 -0
- package/api/types/Period.d.ts +1 -0
- package/api/types/PeriodUnit.d.ts +3 -0
- package/api/types/ProviderConnectionError.d.ts +3 -1
- package/api/types/ProviderConnectionErrorErrorType.d.ts +16 -0
- package/api/types/ProviderConnectionErrorErrorType.js +15 -0
- package/api/types/ProviderLinkResponse.d.ts +1 -0
- package/api/types/ProviderLinkResponseState.d.ts +3 -0
- package/api/types/ProviderMfaRequest.d.ts +1 -0
- package/api/types/ProviderMfaRequestMethod.d.ts +3 -0
- package/api/types/Providers.d.ts +3 -0
- package/api/types/QuestionType.d.ts +3 -0
- package/api/types/Race.d.ts +15 -0
- package/api/types/Race.js +14 -0
- package/api/types/Region.d.ts +3 -0
- package/api/types/ResponsibleRelationship.d.ts +3 -0
- package/api/types/ResultType.d.ts +3 -0
- package/api/types/SampleData.d.ts +13 -0
- package/api/types/SampleData.js +5 -0
- package/api/types/SampleDataDateCollected.d.ts +5 -0
- package/api/types/SampleDataDateCollected.js +5 -0
- package/api/types/SampleDataDateReceived.d.ts +5 -0
- package/api/types/SampleDataDateReceived.js +5 -0
- package/api/types/SampleDataDateReported.d.ts +5 -0
- package/api/types/SampleDataDateReported.js +5 -0
- package/api/types/SexualOrientation.d.ts +14 -0
- package/api/types/SexualOrientation.js +13 -0
- package/api/types/SleepColumnExpr.d.ts +1 -0
- package/api/types/SleepColumnExprSleep.d.ts +3 -0
- package/api/types/SleepSummaryState.d.ts +3 -0
- package/api/types/SleepType.d.ts +3 -0
- package/api/types/SourceAuthType.d.ts +3 -0
- package/api/types/SourceType.d.ts +3 -0
- package/api/types/TimeseriesResource.d.ts +3 -0
- package/api/types/TraceElements.d.ts +3 -0
- package/api/types/UserInfo.d.ts +5 -0
- package/api/types/UtcTimestampWithTimezoneOffset.d.ts +7 -0
- package/api/types/UtcTimestampWithTimezoneOffset.js +5 -0
- package/api/types/VitalSleepStage.d.ts +3 -0
- package/api/types/Vitamins.d.ts +3 -0
- package/api/types/WorkoutColumnExpr.d.ts +1 -0
- package/api/types/WorkoutColumnExprWorkout.d.ts +3 -0
- package/api/types/index.d.ts +12 -0
- package/api/types/index.js +12 -0
- package/dist/api/resources/activity/client/Client.js +2 -2
- package/dist/api/resources/aggregate/client/Client.js +2 -2
- package/dist/api/resources/body/client/Client.js +2 -2
- package/dist/api/resources/devices/client/Client.js +1 -1
- package/dist/api/resources/electrocardiogram/client/Client.js +1 -1
- package/dist/api/resources/insurance/client/Client.js +3 -3
- package/dist/api/resources/introspect/client/Client.js +2 -2
- package/dist/api/resources/labTests/client/Client.d.ts +10 -0
- package/dist/api/resources/labTests/client/Client.js +141 -37
- package/dist/api/resources/link/client/Client.js +19 -19
- package/dist/api/resources/link/client/requests/BulkImportConnectionsBody.d.ts +9 -0
- package/dist/api/resources/link/client/requests/BulkTriggerHistoricalPullBody.d.ts +9 -0
- package/dist/api/resources/link/client/requests/LinkTokenExchange.d.ts +23 -0
- package/dist/api/resources/meal/client/Client.js +1 -1
- package/dist/api/resources/menstrualCycle/client/Client.js +1 -1
- package/dist/api/resources/order/client/Client.js +1 -1
- package/dist/api/resources/profile/client/Client.js +2 -2
- package/dist/api/resources/providers/client/Client.js +1 -1
- package/dist/api/resources/sleep/client/Client.js +4 -4
- package/dist/api/resources/sleepCycle/client/Client.js +1 -1
- package/dist/api/resources/team/client/Client.js +7 -7
- package/dist/api/resources/testkit/client/Client.js +2 -2
- package/dist/api/resources/user/client/Client.js +16 -16
- package/dist/api/resources/user/client/requests/UserInfoCreateRequest.d.ts +5 -0
- package/dist/api/resources/vitals/client/Client.js +75 -75
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/api/types/ActivityColumnExpr.d.ts +1 -0
- package/dist/api/types/ActivityColumnExprActivity.d.ts +3 -0
- package/dist/api/types/AggregateExpr.d.ts +1 -0
- package/dist/api/types/AggregateExprFunc.d.ts +3 -0
- package/dist/api/types/AllowedRadius.d.ts +3 -0
- package/dist/api/types/AppointmentEventStatus.d.ts +3 -0
- package/dist/api/types/AppointmentProvider.d.ts +3 -0
- package/dist/api/types/AppointmentPscLabs.d.ts +3 -0
- package/dist/api/types/AppointmentServiceType.d.ts +3 -0
- package/dist/api/types/AppointmentStatus.d.ts +3 -0
- package/dist/api/types/AppointmentType.d.ts +3 -0
- package/dist/api/types/AttemptStatus.d.ts +3 -0
- package/dist/api/types/AuthType.d.ts +3 -0
- package/dist/api/types/Availability.d.ts +3 -0
- package/dist/api/types/Billing.d.ts +3 -0
- package/dist/api/types/BiomarkerResult.d.ts +2 -0
- package/dist/api/types/BodyColumnExpr.d.ts +1 -0
- package/dist/api/types/BodyColumnExprBody.d.ts +3 -0
- package/dist/api/types/BulkOp.d.ts +2 -0
- package/dist/api/types/BulkOpStatus.d.ts +3 -0
- package/dist/api/types/BulkOpType.d.ts +3 -0
- package/dist/api/types/CervicalMucusEntry.d.ts +1 -0
- package/dist/api/types/CervicalMucusEntryQuality.d.ts +3 -0
- package/dist/api/types/ClientFacingConnectionErrorDetails.d.ts +1 -0
- package/dist/api/types/ClientFacingConnectionErrorDetailsErrorType.d.ts +3 -0
- package/dist/api/types/ClientFacingElectrocardiogram.d.ts +1 -0
- package/dist/api/types/ClientFacingElectrocardiogramSourceType.d.ts +3 -0
- package/dist/api/types/ClientFacingHeartRateAlertSample.d.ts +1 -0
- package/dist/api/types/ClientFacingHeartRateAlertSampleType.d.ts +3 -0
- package/dist/api/types/ClientFacingInsulinInjectionSample.d.ts +1 -1
- package/dist/api/types/ClientFacingInsulinInjectionSampleType.d.ts +1 -1
- package/dist/api/types/ClientFacingLabs.d.ts +3 -0
- package/dist/api/types/ClientFacingMenstrualCycle.d.ts +1 -0
- package/dist/api/types/ClientFacingMenstrualCycleSourceType.d.ts +3 -0
- package/dist/api/types/ClientFacingPatientDetailsCompatible.d.ts +11 -0
- package/dist/api/types/ClientFacingResource.d.ts +3 -0
- package/dist/api/types/ClientFacingSleepCycle.d.ts +1 -0
- package/dist/api/types/ClientFacingSleepCycleSourceType.d.ts +3 -0
- package/dist/api/types/ClientFacingStandHourSample.d.ts +1 -0
- package/dist/api/types/ClientFacingStandHourSampleType.d.ts +3 -0
- package/dist/api/types/ClinicalInformation.d.ts +9 -0
- package/dist/api/types/ClinicalInformation.js +5 -0
- package/dist/api/types/ConsentType.d.ts +3 -0
- package/dist/api/types/ContraceptiveEntry.d.ts +1 -0
- package/dist/api/types/ContraceptiveEntryType.d.ts +3 -0
- package/dist/api/types/DelegatedFlowType.d.ts +3 -0
- package/dist/api/types/DemoProviders.d.ts +3 -0
- package/dist/api/types/DetectedDeviationEntry.d.ts +1 -0
- package/dist/api/types/DetectedDeviationEntryDeviation.d.ts +3 -0
- package/dist/api/types/EmailProviders.d.ts +3 -0
- package/dist/api/types/Ethnicity.d.ts +13 -0
- package/dist/api/types/Ethnicity.js +12 -0
- package/dist/api/types/EventDestinationPreferences.d.ts +1 -0
- package/dist/api/types/EventDestinationPreferencesPreferred.d.ts +3 -0
- package/dist/api/types/FailureType.d.ts +3 -0
- package/dist/api/types/Gender.d.ts +3 -0
- package/dist/api/types/GenderIdentity.d.ts +15 -0
- package/dist/api/types/GenderIdentity.js +14 -0
- package/dist/api/types/GuarantorDetails.d.ts +2 -0
- package/dist/api/types/HistoricalPullStatus.d.ts +3 -0
- package/dist/api/types/HomePregnancyTestEntry.d.ts +1 -0
- package/dist/api/types/HomePregnancyTestEntryTestResult.d.ts +3 -0
- package/dist/api/types/HomeProgesteroneTestEntry.d.ts +1 -0
- package/dist/api/types/HomeProgesteroneTestEntryTestResult.d.ts +3 -0
- package/dist/api/types/IndexColumnExpr.d.ts +1 -0
- package/dist/api/types/IndexColumnExprIndex.d.ts +3 -0
- package/dist/api/types/LabResultsRaw.d.ts +1 -0
- package/dist/api/types/LabTestCollectionMethod.d.ts +1 -1
- package/dist/api/types/LabTestGenerationMethodFilter.d.ts +3 -0
- package/dist/api/types/LabTestSampleType.d.ts +1 -1
- package/dist/api/types/LabTestStatus.d.ts +3 -0
- package/dist/api/types/Labs.d.ts +3 -0
- package/dist/api/types/ManualProviders.d.ts +3 -0
- package/dist/api/types/MarkerType.d.ts +3 -0
- package/dist/api/types/MenstrualFlowEntry.d.ts +1 -0
- package/dist/api/types/MenstrualFlowEntryFlow.d.ts +3 -0
- package/dist/api/types/Minerals.d.ts +3 -0
- package/dist/api/types/OAuthProviders.d.ts +3 -0
- package/dist/api/types/OrderStatus.d.ts +3 -0
- package/dist/api/types/OrderTopLevelStatus.d.ts +3 -0
- package/dist/api/types/OvulationTestEntry.d.ts +1 -0
- package/dist/api/types/OvulationTestEntryTestResult.d.ts +3 -0
- package/dist/api/types/PasswordProviders.d.ts +3 -0
- package/dist/api/types/PatientDetailsWithValidation.d.ts +10 -0
- package/dist/api/types/PayorCodeExternalProvider.d.ts +3 -0
- package/dist/api/types/PerformingLaboratory.d.ts +10 -0
- package/dist/api/types/PerformingLaboratory.js +5 -0
- package/dist/api/types/Period.d.ts +1 -0
- package/dist/api/types/PeriodUnit.d.ts +3 -0
- package/dist/api/types/ProviderConnectionError.d.ts +3 -1
- package/dist/api/types/ProviderConnectionErrorErrorType.d.ts +16 -0
- package/dist/api/types/ProviderConnectionErrorErrorType.js +15 -0
- package/dist/api/types/ProviderLinkResponse.d.ts +1 -0
- package/dist/api/types/ProviderLinkResponseState.d.ts +3 -0
- package/dist/api/types/ProviderMfaRequest.d.ts +1 -0
- package/dist/api/types/ProviderMfaRequestMethod.d.ts +3 -0
- package/dist/api/types/Providers.d.ts +3 -0
- package/dist/api/types/QuestionType.d.ts +3 -0
- package/dist/api/types/Race.d.ts +15 -0
- package/dist/api/types/Race.js +14 -0
- package/dist/api/types/Region.d.ts +3 -0
- package/dist/api/types/ResponsibleRelationship.d.ts +3 -0
- package/dist/api/types/ResultType.d.ts +3 -0
- package/dist/api/types/SampleData.d.ts +13 -0
- package/dist/api/types/SampleData.js +5 -0
- package/dist/api/types/SampleDataDateCollected.d.ts +5 -0
- package/dist/api/types/SampleDataDateCollected.js +5 -0
- package/dist/api/types/SampleDataDateReceived.d.ts +5 -0
- package/dist/api/types/SampleDataDateReceived.js +5 -0
- package/dist/api/types/SampleDataDateReported.d.ts +5 -0
- package/dist/api/types/SampleDataDateReported.js +5 -0
- package/dist/api/types/SexualOrientation.d.ts +14 -0
- package/dist/api/types/SexualOrientation.js +13 -0
- package/dist/api/types/SleepColumnExpr.d.ts +1 -0
- package/dist/api/types/SleepColumnExprSleep.d.ts +3 -0
- package/dist/api/types/SleepSummaryState.d.ts +3 -0
- package/dist/api/types/SleepType.d.ts +3 -0
- package/dist/api/types/SourceAuthType.d.ts +3 -0
- package/dist/api/types/SourceType.d.ts +3 -0
- package/dist/api/types/TimeseriesResource.d.ts +3 -0
- package/dist/api/types/TraceElements.d.ts +3 -0
- package/dist/api/types/UserInfo.d.ts +5 -0
- package/dist/api/types/UtcTimestampWithTimezoneOffset.d.ts +7 -0
- package/dist/api/types/UtcTimestampWithTimezoneOffset.js +5 -0
- package/dist/api/types/VitalSleepStage.d.ts +3 -0
- package/dist/api/types/Vitamins.d.ts +3 -0
- package/dist/api/types/WorkoutColumnExpr.d.ts +1 -0
- package/dist/api/types/WorkoutColumnExprWorkout.d.ts +3 -0
- package/dist/api/types/index.d.ts +12 -0
- package/dist/api/types/index.js +12 -0
- package/dist/serialization/resources/link/client/requests/BulkImportConnectionsBody.d.ts +1 -0
- package/dist/serialization/resources/link/client/requests/BulkImportConnectionsBody.js +1 -0
- package/dist/serialization/resources/link/client/requests/BulkTriggerHistoricalPullBody.d.ts +1 -0
- package/dist/serialization/resources/link/client/requests/BulkTriggerHistoricalPullBody.js +1 -0
- package/dist/serialization/resources/user/client/requests/UserInfoCreateRequest.d.ts +10 -0
- package/dist/serialization/resources/user/client/requests/UserInfoCreateRequest.js +10 -0
- package/dist/serialization/types/BiomarkerResult.d.ts +2 -0
- package/dist/serialization/types/BiomarkerResult.js +2 -0
- package/dist/serialization/types/ClientFacingPatientDetailsCompatible.d.ts +10 -0
- package/dist/serialization/types/ClientFacingPatientDetailsCompatible.js +10 -0
- package/dist/serialization/types/ClinicalInformation.d.ts +15 -0
- package/dist/serialization/types/ClinicalInformation.js +36 -0
- package/dist/serialization/types/Ethnicity.d.ts +10 -0
- package/dist/serialization/types/Ethnicity.js +31 -0
- package/dist/serialization/types/GenderIdentity.d.ts +10 -0
- package/dist/serialization/types/GenderIdentity.js +38 -0
- package/dist/serialization/types/GuarantorDetails.d.ts +2 -0
- package/dist/serialization/types/GuarantorDetails.js +2 -0
- package/dist/serialization/types/LabResultsRaw.d.ts +2 -0
- package/dist/serialization/types/LabResultsRaw.js +2 -0
- package/dist/serialization/types/PatientDetailsWithValidation.d.ts +10 -0
- package/dist/serialization/types/PatientDetailsWithValidation.js +10 -0
- package/dist/serialization/types/PerformingLaboratory.d.ts +16 -0
- package/dist/serialization/types/PerformingLaboratory.js +37 -0
- package/dist/serialization/types/ProviderConnectionError.d.ts +2 -1
- package/dist/serialization/types/ProviderConnectionError.js +2 -1
- package/dist/serialization/types/ProviderConnectionErrorErrorType.d.ts +10 -0
- package/dist/serialization/types/ProviderConnectionErrorErrorType.js +39 -0
- package/dist/serialization/types/Race.d.ts +10 -0
- package/dist/serialization/types/Race.js +38 -0
- package/dist/serialization/types/SampleData.d.ts +23 -0
- package/dist/serialization/types/SampleData.js +44 -0
- package/dist/serialization/types/SampleDataDateCollected.d.ts +11 -0
- package/dist/serialization/types/SampleDataDateCollected.js +32 -0
- package/dist/serialization/types/SampleDataDateReceived.d.ts +11 -0
- package/dist/serialization/types/SampleDataDateReceived.js +32 -0
- package/dist/serialization/types/SampleDataDateReported.d.ts +11 -0
- package/dist/serialization/types/SampleDataDateReported.js +32 -0
- package/dist/serialization/types/SexualOrientation.d.ts +10 -0
- package/dist/serialization/types/SexualOrientation.js +37 -0
- package/dist/serialization/types/UserInfo.d.ts +10 -0
- package/dist/serialization/types/UserInfo.js +10 -0
- package/dist/serialization/types/UtcTimestampWithTimezoneOffset.d.ts +13 -0
- package/dist/serialization/types/UtcTimestampWithTimezoneOffset.js +34 -0
- package/dist/serialization/types/index.d.ts +12 -0
- package/dist/serialization/types/index.js +12 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/serialization/resources/link/client/requests/BulkImportConnectionsBody.d.ts +1 -0
- package/serialization/resources/link/client/requests/BulkImportConnectionsBody.js +1 -0
- package/serialization/resources/link/client/requests/BulkTriggerHistoricalPullBody.d.ts +1 -0
- package/serialization/resources/link/client/requests/BulkTriggerHistoricalPullBody.js +1 -0
- package/serialization/resources/user/client/requests/UserInfoCreateRequest.d.ts +10 -0
- package/serialization/resources/user/client/requests/UserInfoCreateRequest.js +10 -0
- package/serialization/types/BiomarkerResult.d.ts +2 -0
- package/serialization/types/BiomarkerResult.js +2 -0
- package/serialization/types/ClientFacingPatientDetailsCompatible.d.ts +10 -0
- package/serialization/types/ClientFacingPatientDetailsCompatible.js +10 -0
- package/serialization/types/ClinicalInformation.d.ts +15 -0
- package/serialization/types/ClinicalInformation.js +36 -0
- package/serialization/types/Ethnicity.d.ts +10 -0
- package/serialization/types/Ethnicity.js +31 -0
- package/serialization/types/GenderIdentity.d.ts +10 -0
- package/serialization/types/GenderIdentity.js +38 -0
- package/serialization/types/GuarantorDetails.d.ts +2 -0
- package/serialization/types/GuarantorDetails.js +2 -0
- package/serialization/types/LabResultsRaw.d.ts +2 -0
- package/serialization/types/LabResultsRaw.js +2 -0
- package/serialization/types/PatientDetailsWithValidation.d.ts +10 -0
- package/serialization/types/PatientDetailsWithValidation.js +10 -0
- package/serialization/types/PerformingLaboratory.d.ts +16 -0
- package/serialization/types/PerformingLaboratory.js +37 -0
- package/serialization/types/ProviderConnectionError.d.ts +2 -1
- package/serialization/types/ProviderConnectionError.js +2 -1
- package/serialization/types/ProviderConnectionErrorErrorType.d.ts +10 -0
- package/serialization/types/ProviderConnectionErrorErrorType.js +39 -0
- package/serialization/types/Race.d.ts +10 -0
- package/serialization/types/Race.js +38 -0
- package/serialization/types/SampleData.d.ts +23 -0
- package/serialization/types/SampleData.js +44 -0
- package/serialization/types/SampleDataDateCollected.d.ts +11 -0
- package/serialization/types/SampleDataDateCollected.js +32 -0
- package/serialization/types/SampleDataDateReceived.d.ts +11 -0
- package/serialization/types/SampleDataDateReceived.js +32 -0
- package/serialization/types/SampleDataDateReported.d.ts +11 -0
- package/serialization/types/SampleDataDateReported.js +32 -0
- package/serialization/types/SexualOrientation.d.ts +10 -0
- package/serialization/types/SexualOrientation.js +37 -0
- package/serialization/types/UserInfo.d.ts +10 -0
- package/serialization/types/UserInfo.js +10 -0
- package/serialization/types/UtcTimestampWithTimezoneOffset.d.ts +13 -0
- package/serialization/types/UtcTimestampWithTimezoneOffset.js +34 -0
- package/serialization/types/index.d.ts +12 -0
- package/serialization/types/index.js +12 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
@@ -80,7 +80,7 @@ class Link {
|
|
80
80
|
const _response = yield core.fetcher({
|
81
81
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/link/bulk_op"),
|
82
82
|
method: "GET",
|
83
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
83
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
84
84
|
contentType: "application/json",
|
85
85
|
queryParameters: _queryParams,
|
86
86
|
requestType: "json",
|
@@ -151,7 +151,7 @@ class Link {
|
|
151
151
|
const _response = yield core.fetcher({
|
152
152
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/link/bulk_import"),
|
153
153
|
method: "POST",
|
154
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
154
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
155
155
|
contentType: "application/json",
|
156
156
|
requestType: "json",
|
157
157
|
body: serializers.BulkImportConnectionsBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
@@ -216,7 +216,7 @@ class Link {
|
|
216
216
|
const _response = yield core.fetcher({
|
217
217
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/link/bulk_trigger_historical_pull"),
|
218
218
|
method: "POST",
|
219
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
219
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
220
220
|
contentType: "application/json",
|
221
221
|
requestType: "json",
|
222
222
|
body: serializers.BulkTriggerHistoricalPullBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
@@ -275,7 +275,7 @@ class Link {
|
|
275
275
|
const _response = yield core.fetcher({
|
276
276
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/link/bulk_export"),
|
277
277
|
method: "POST",
|
278
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
278
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
279
279
|
contentType: "application/json",
|
280
280
|
requestType: "json",
|
281
281
|
body: serializers.BulkExportConnectionsBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
@@ -340,7 +340,7 @@ class Link {
|
|
340
340
|
const _response = yield core.fetcher({
|
341
341
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/link/bulk_pause"),
|
342
342
|
method: "POST",
|
343
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
343
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
344
344
|
contentType: "application/json",
|
345
345
|
requestType: "json",
|
346
346
|
body: serializers.BulkPauseConnectionsBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
@@ -406,7 +406,7 @@ class Link {
|
|
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/link/token"),
|
408
408
|
method: "POST",
|
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.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
410
410
|
contentType: "application/json",
|
411
411
|
requestType: "json",
|
412
412
|
body: serializers.LinkTokenExchange.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
@@ -470,7 +470,7 @@ class Link {
|
|
470
470
|
const _response = yield core.fetcher({
|
471
471
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/link/token/isValid"),
|
472
472
|
method: "POST",
|
473
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
473
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
474
474
|
contentType: "application/json",
|
475
475
|
requestType: "json",
|
476
476
|
body: serializers.LinkTokenValidationRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
@@ -542,7 +542,7 @@ class Link {
|
|
542
542
|
const _response = yield core.fetcher({
|
543
543
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/link/code/create"),
|
544
544
|
method: "POST",
|
545
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
545
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
546
546
|
contentType: "application/json",
|
547
547
|
queryParameters: _queryParams,
|
548
548
|
requestType: "json",
|
@@ -610,7 +610,7 @@ class Link {
|
|
610
610
|
const _response = yield core.fetcher({
|
611
611
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/link/start"),
|
612
612
|
method: "POST",
|
613
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
613
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
614
614
|
contentType: "application/json",
|
615
615
|
requestType: "json",
|
616
616
|
body: serializers.BeginLinkTokenRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
@@ -676,7 +676,7 @@ class Link {
|
|
676
676
|
const _response = yield core.fetcher({
|
677
677
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/link/state"),
|
678
678
|
method: "GET",
|
679
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
679
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined }, (yield this._getCustomAuthorizationHeaders())),
|
680
680
|
contentType: "application/json",
|
681
681
|
requestType: "json",
|
682
682
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -744,7 +744,7 @@ class Link {
|
|
744
744
|
const _response = yield core.fetcher({
|
745
745
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/link/auth/email"),
|
746
746
|
method: "POST",
|
747
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
747
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined }, (yield this._getCustomAuthorizationHeaders())),
|
748
748
|
contentType: "application/json",
|
749
749
|
requestType: "json",
|
750
750
|
body: serializers.EmailAuthLink.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }),
|
@@ -809,7 +809,7 @@ class Link {
|
|
809
809
|
const _response = yield core.fetcher({
|
810
810
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/link/auth"),
|
811
811
|
method: "POST",
|
812
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
812
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined }, (yield this._getCustomAuthorizationHeaders())),
|
813
813
|
contentType: "application/json",
|
814
814
|
requestType: "json",
|
815
815
|
body: serializers.PasswordAuthLink.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }),
|
@@ -870,7 +870,7 @@ class Link {
|
|
870
870
|
const _response = yield core.fetcher({
|
871
871
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/link/provider/oauth/${encodeURIComponent(serializers.OAuthProviders.jsonOrThrow(oauthProvider))}`),
|
872
872
|
method: "GET",
|
873
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
873
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined }, (yield this._getCustomAuthorizationHeaders())),
|
874
874
|
contentType: "application/json",
|
875
875
|
requestType: "json",
|
876
876
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -938,7 +938,7 @@ class Link {
|
|
938
938
|
const _response = yield core.fetcher({
|
939
939
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/link/provider/password/${encodeURIComponent(serializers.PasswordProviders.jsonOrThrow(provider))}`),
|
940
940
|
method: "POST",
|
941
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
941
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined }, (yield this._getCustomAuthorizationHeaders())),
|
942
942
|
contentType: "application/json",
|
943
943
|
requestType: "json",
|
944
944
|
body: serializers.IndividualProviderData.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }),
|
@@ -1006,7 +1006,7 @@ class Link {
|
|
1006
1006
|
const _response = yield core.fetcher({
|
1007
1007
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/link/provider/password/${encodeURIComponent(serializers.PasswordProviders.jsonOrThrow(provider))}/complete_mfa`),
|
1008
1008
|
method: "POST",
|
1009
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1009
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined }, (yield this._getCustomAuthorizationHeaders())),
|
1010
1010
|
contentType: "application/json",
|
1011
1011
|
requestType: "json",
|
1012
1012
|
body: serializers.CompletePasswordProviderMfaBody.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }),
|
@@ -1074,7 +1074,7 @@ class Link {
|
|
1074
1074
|
const _response = yield core.fetcher({
|
1075
1075
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/link/provider/email/${encodeURIComponent(serializers.EmailProviders.jsonOrThrow(provider))}`),
|
1076
1076
|
method: "POST",
|
1077
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1077
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined }, (yield this._getCustomAuthorizationHeaders())),
|
1078
1078
|
contentType: "application/json",
|
1079
1079
|
requestType: "json",
|
1080
1080
|
body: serializers.EmailProviderAuthLink.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }),
|
@@ -1134,7 +1134,7 @@ class Link {
|
|
1134
1134
|
const _response = yield core.fetcher({
|
1135
1135
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/link/providers"),
|
1136
1136
|
method: "GET",
|
1137
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1137
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined }, (yield this._getCustomAuthorizationHeaders())),
|
1138
1138
|
contentType: "application/json",
|
1139
1139
|
requestType: "json",
|
1140
1140
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1198,7 +1198,7 @@ class Link {
|
|
1198
1198
|
const _response = yield core.fetcher({
|
1199
1199
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/link/provider/manual/${encodeURIComponent(serializers.ManualProviders.jsonOrThrow(provider))}`),
|
1200
1200
|
method: "POST",
|
1201
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1201
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1202
1202
|
contentType: "application/json",
|
1203
1203
|
requestType: "json",
|
1204
1204
|
body: serializers.ManualConnectionData.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
@@ -1265,7 +1265,7 @@ class Link {
|
|
1265
1265
|
const _response = yield core.fetcher({
|
1266
1266
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/link/connect/demo"),
|
1267
1267
|
method: "POST",
|
1268
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1268
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1269
1269
|
contentType: "application/json",
|
1270
1270
|
requestType: "json",
|
1271
1271
|
body: serializers.DemoConnectionCreationPayload.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
@@ -18,4 +18,13 @@ import * as Vital from "../../../../index";
|
|
18
18
|
export interface BulkImportConnectionsBody {
|
19
19
|
provider: Vital.OAuthProviders;
|
20
20
|
connections: Vital.ConnectionRecipe[];
|
21
|
+
/**
|
22
|
+
* Whether or not the endpoint should wait for the Bulk Op to complete before responding.
|
23
|
+
*
|
24
|
+
* When `wait_for_completion` is enabled, the endpoint may respond 200 OK if the Bulk Op takes less than 20 seconds to complete.
|
25
|
+
*
|
26
|
+
* Otherwise, the endpoint always responds with 202 Created once the submitted data have been enqueued successfully. You can use
|
27
|
+
* the [List Bulk Ops](https://docs.tryvital.io/api-reference/link/list-bulk-ops) endpoint to inspect the progress of the Bulk Op.
|
28
|
+
*/
|
29
|
+
waitForCompletion?: boolean;
|
21
30
|
}
|
@@ -12,4 +12,13 @@ import * as Vital from "../../../../index";
|
|
12
12
|
export interface BulkTriggerHistoricalPullBody {
|
13
13
|
userIds: string[];
|
14
14
|
provider: Vital.OAuthProviders;
|
15
|
+
/**
|
16
|
+
* Whether or not the endpoint should wait for the Bulk Op to complete before responding.
|
17
|
+
*
|
18
|
+
* When `wait_for_completion` is enabled, the endpoint may respond 200 OK if the Bulk Op takes less than 20 seconds to complete.
|
19
|
+
*
|
20
|
+
* Otherwise, the endpoint always responds with 202 Created once the submitted data have been enqueued successfully. You can use
|
21
|
+
* the [List Bulk Ops](https://docs.tryvital.io/api-reference/link/list-bulk-ops) endpoint to inspect the progress of the Bulk Op.
|
22
|
+
*/
|
23
|
+
waitForCompletion?: boolean;
|
15
24
|
}
|
@@ -13,7 +13,30 @@ export interface LinkTokenExchange {
|
|
13
13
|
userId: string;
|
14
14
|
provider?: Vital.Providers;
|
15
15
|
redirectUrl?: string;
|
16
|
+
/**
|
17
|
+
* An allowlist of providers dictating what Vital Link Widget should show to the end user.
|
18
|
+
* If unspecified, all linkable providers are shown.
|
19
|
+
*
|
20
|
+
* This has no effect on programmatic Vital Link API usage.
|
21
|
+
*/
|
16
22
|
filterOnProviders?: Vital.Providers[];
|
23
|
+
/**
|
24
|
+
* By default, Vital Link Widget input forms for password and email providers have in-built error handling.
|
25
|
+
*
|
26
|
+
* Specifying `on_error=redirect` disables this Vital Link Widget UI behaviour — it would
|
27
|
+
* instead redirect to your `redirect_url`, with Link Error parameters injected.
|
28
|
+
*
|
29
|
+
* This has no effect on OAuth providers — they always redirect to your `redirect_url`. This also has
|
30
|
+
* no effect on programmatic Vital Link API usage.
|
31
|
+
*/
|
17
32
|
onError?: "redirect";
|
33
|
+
/**
|
34
|
+
* By default, Vital Link Widget closes the window or tab when the user taps the Close button.
|
35
|
+
*
|
36
|
+
* Specifying `on_close=redirect` would change the Close button behaviour to redirect to your `redirect_url`
|
37
|
+
* with the `user_cancelled` error specified.
|
38
|
+
*
|
39
|
+
* This has no effect on programmatic Vital Link API usage.
|
40
|
+
*/
|
18
41
|
onClose?: "redirect";
|
19
42
|
}
|
@@ -78,7 +78,7 @@ class Meal {
|
|
78
78
|
const _response = yield core.fetcher({
|
79
79
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/meal/${encodeURIComponent(userId)}`),
|
80
80
|
method: "GET",
|
81
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
81
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
82
82
|
contentType: "application/json",
|
83
83
|
queryParameters: _queryParams,
|
84
84
|
requestType: "json",
|
@@ -76,7 +76,7 @@ class MenstrualCycle {
|
|
76
76
|
const _response = yield core.fetcher({
|
77
77
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/menstrual_cycle/${encodeURIComponent(userId)}`),
|
78
78
|
method: "GET",
|
79
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
79
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
80
80
|
contentType: "application/json",
|
81
81
|
queryParameters: _queryParams,
|
82
82
|
requestType: "json",
|
@@ -66,7 +66,7 @@ class Order {
|
|
66
66
|
const _response = yield core.fetcher({
|
67
67
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/order/resend_events"),
|
68
68
|
method: "POST",
|
69
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
69
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
70
70
|
contentType: "application/json",
|
71
71
|
requestType: "json",
|
72
72
|
body: serializers.ResendWebhookBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
@@ -72,7 +72,7 @@ class Profile {
|
|
72
72
|
const _response = yield core.fetcher({
|
73
73
|
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/${encodeURIComponent(userId)}`),
|
74
74
|
method: "GET",
|
75
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
75
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
76
76
|
contentType: "application/json",
|
77
77
|
queryParameters: _queryParams,
|
78
78
|
requestType: "json",
|
@@ -142,7 +142,7 @@ class Profile {
|
|
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/profile/${encodeURIComponent(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.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
146
146
|
contentType: "application/json",
|
147
147
|
queryParameters: _queryParams,
|
148
148
|
requestType: "json",
|
@@ -71,7 +71,7 @@ class Providers {
|
|
71
71
|
const _response = yield core.fetcher({
|
72
72
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/providers"),
|
73
73
|
method: "GET",
|
74
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
74
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
75
75
|
contentType: "application/json",
|
76
76
|
queryParameters: _queryParams,
|
77
77
|
requestType: "json",
|
@@ -78,7 +78,7 @@ class Sleep {
|
|
78
78
|
const _response = yield core.fetcher({
|
79
79
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/sleep/${encodeURIComponent(userId)}`),
|
80
80
|
method: "GET",
|
81
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
81
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
82
82
|
contentType: "application/json",
|
83
83
|
queryParameters: _queryParams,
|
84
84
|
requestType: "json",
|
@@ -154,7 +154,7 @@ class Sleep {
|
|
154
154
|
const _response = yield core.fetcher({
|
155
155
|
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/${encodeURIComponent(userId)}/stream`),
|
156
156
|
method: "GET",
|
157
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
157
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
158
158
|
contentType: "application/json",
|
159
159
|
queryParameters: _queryParams,
|
160
160
|
requestType: "json",
|
@@ -230,7 +230,7 @@ class Sleep {
|
|
230
230
|
const _response = yield core.fetcher({
|
231
231
|
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/${encodeURIComponent(userId)}/raw`),
|
232
232
|
method: "GET",
|
233
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
233
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
234
234
|
contentType: "application/json",
|
235
235
|
queryParameters: _queryParams,
|
236
236
|
requestType: "json",
|
@@ -294,7 +294,7 @@ class Sleep {
|
|
294
294
|
const _response = yield core.fetcher({
|
295
295
|
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/${encodeURIComponent(sleepId)}/stream`),
|
296
296
|
method: "GET",
|
297
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
297
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
298
298
|
contentType: "application/json",
|
299
299
|
requestType: "json",
|
300
300
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -78,7 +78,7 @@ class SleepCycle {
|
|
78
78
|
const _response = yield core.fetcher({
|
79
79
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/sleep_cycle/${encodeURIComponent(userId)}`),
|
80
80
|
method: "GET",
|
81
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
81
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
82
82
|
contentType: "application/json",
|
83
83
|
queryParameters: _queryParams,
|
84
84
|
requestType: "json",
|
@@ -67,7 +67,7 @@ class Team {
|
|
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/team/link/config"),
|
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.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined }, (yield this._getCustomAuthorizationHeaders())),
|
71
71
|
contentType: "application/json",
|
72
72
|
requestType: "json",
|
73
73
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -130,7 +130,7 @@ class Team {
|
|
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/team/${encodeURIComponent(teamId)}`),
|
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.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
134
134
|
contentType: "application/json",
|
135
135
|
requestType: "json",
|
136
136
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -198,7 +198,7 @@ class Team {
|
|
198
198
|
const _response = yield core.fetcher({
|
199
199
|
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"),
|
200
200
|
method: "GET",
|
201
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
201
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
202
202
|
contentType: "application/json",
|
203
203
|
queryParameters: _queryParams,
|
204
204
|
requestType: "json",
|
@@ -257,7 +257,7 @@ class Team {
|
|
257
257
|
const _response = yield core.fetcher({
|
258
258
|
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"),
|
259
259
|
method: "GET",
|
260
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
260
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
261
261
|
contentType: "application/json",
|
262
262
|
requestType: "json",
|
263
263
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -315,7 +315,7 @@ class Team {
|
|
315
315
|
const _response = yield core.fetcher({
|
316
316
|
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"),
|
317
317
|
method: "GET",
|
318
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
318
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
319
319
|
contentType: "application/json",
|
320
320
|
queryParameters: _queryParams,
|
321
321
|
requestType: "json",
|
@@ -376,7 +376,7 @@ class Team {
|
|
376
376
|
const _response = yield core.fetcher({
|
377
377
|
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"),
|
378
378
|
method: "PATCH",
|
379
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
379
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
380
380
|
contentType: "application/json",
|
381
381
|
requestType: "json",
|
382
382
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -427,7 +427,7 @@ class Team {
|
|
427
427
|
const _response = yield core.fetcher({
|
428
428
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/team/${encodeURIComponent(teamId)}/physicians`),
|
429
429
|
method: "GET",
|
430
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
430
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
431
431
|
contentType: "application/json",
|
432
432
|
requestType: "json",
|
433
433
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -81,7 +81,7 @@ class Testkit {
|
|
81
81
|
const _response = yield core.fetcher({
|
82
82
|
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"),
|
83
83
|
method: "POST",
|
84
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
84
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
85
85
|
contentType: "application/json",
|
86
86
|
requestType: "json",
|
87
87
|
body: serializers.RegisterTestkitRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
@@ -157,7 +157,7 @@ class Testkit {
|
|
157
157
|
const _response = yield core.fetcher({
|
158
158
|
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"),
|
159
159
|
method: "POST",
|
160
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
160
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.235", "User-Agent": "@tryvital/vital-node/3.1.235", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
161
161
|
contentType: "application/json",
|
162
162
|
requestType: "json",
|
163
163
|
body: serializers.CreateRegistrableTestkitOrderRequest.jsonOrThrow(request, {
|