@tryvital/vital-node 3.1.232 → 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/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/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/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 +3 -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 +3 -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/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 +3 -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 +3 -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/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 +8 -0
- package/api/types/index.js +8 -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/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/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/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 +3 -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 +3 -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/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 +3 -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 +3 -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/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 +8 -0
- package/dist/api/types/index.js +8 -0
- package/dist/serialization/types/BiomarkerResult.d.ts +2 -0
- package/dist/serialization/types/BiomarkerResult.js +2 -0
- package/dist/serialization/types/ClinicalInformation.d.ts +15 -0
- package/dist/serialization/types/ClinicalInformation.js +36 -0
- package/dist/serialization/types/LabResultsRaw.d.ts +2 -0
- package/dist/serialization/types/LabResultsRaw.js +2 -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/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/UtcTimestampWithTimezoneOffset.d.ts +13 -0
- package/dist/serialization/types/UtcTimestampWithTimezoneOffset.js +34 -0
- package/dist/serialization/types/index.d.ts +8 -0
- package/dist/serialization/types/index.js +8 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/serialization/types/BiomarkerResult.d.ts +2 -0
- package/serialization/types/BiomarkerResult.js +2 -0
- package/serialization/types/ClinicalInformation.d.ts +15 -0
- package/serialization/types/ClinicalInformation.js +36 -0
- package/serialization/types/LabResultsRaw.d.ts +2 -0
- package/serialization/types/LabResultsRaw.js +2 -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/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/UtcTimestampWithTimezoneOffset.d.ts +13 -0
- package/serialization/types/UtcTimestampWithTimezoneOffset.js +34 -0
- package/serialization/types/index.d.ts +8 -0
- package/serialization/types/index.js +8 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
@@ -1,6 +1,9 @@
|
|
1
1
|
/**
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
3
3
|
*/
|
4
|
+
/**
|
5
|
+
* ℹ️ This enum is non-exhaustive.
|
6
|
+
*/
|
4
7
|
export declare type Vitamins = "vitamin_a" | "vitamin_b1" | "riboflavin" | "niacin" | "pantothenic_acid" | "vitamin_b6" | "biotin" | "vitamin_b12" | "vitamin_c" | "vitamin_d" | "vitamin_e" | "vitamin_k" | "folic_acid";
|
5
8
|
export declare const Vitamins: {
|
6
9
|
readonly VitaminA: "vitamin_a";
|
@@ -1,6 +1,9 @@
|
|
1
1
|
/**
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
3
3
|
*/
|
4
|
+
/**
|
5
|
+
* ℹ️ This enum is non-exhaustive.
|
6
|
+
*/
|
4
7
|
export declare type WorkoutColumnExprWorkout = "session_start" | "session_end" | "title" | "sport_name" | "sport_slug" | "duration_active_second" | "heart_rate_mean" | "heart_rate_minimum" | "heart_rate_maximum" | "heart_rate_zone_1" | "heart_rate_zone_2" | "heart_rate_zone_3" | "heart_rate_zone_4" | "heart_rate_zone_5" | "heart_rate_zone_6" | "distance_meter" | "calories" | "elevation_gain_meter" | "elevation_maximum_meter" | "elevation_minimum_meter" | "speed_mean" | "speed_maximum" | "power_source" | "power_mean" | "power_maximum" | "power_weighted_mean" | "steps" | "map_polyline" | "map_summary_polyline" | "source_type" | "source_provider" | "source_app_id" | "source_workout_id" | "time_zone";
|
5
8
|
export declare const WorkoutColumnExprWorkout: {
|
6
9
|
readonly SessionStart: "session_start";
|
@@ -177,6 +177,7 @@ export * from "./ClientSleepResponse";
|
|
177
177
|
export * from "./ClientUserIdConflict";
|
178
178
|
export * from "./ClientUserIdConflictResponse";
|
179
179
|
export * from "./ClientWorkoutResponse";
|
180
|
+
export * from "./ClinicalInformation";
|
180
181
|
export * from "./CompanyDetails";
|
181
182
|
export * from "./ConnectedSourceClientFacing";
|
182
183
|
export * from "./ConnectionRecipe";
|
@@ -272,6 +273,7 @@ export * from "./PatientAddressCompatible";
|
|
272
273
|
export * from "./PatientAddressWithValidation";
|
273
274
|
export * from "./PatientDetailsWithValidation";
|
274
275
|
export * from "./PayorCodeExternalProvider";
|
276
|
+
export * from "./PerformingLaboratory";
|
275
277
|
export * from "./PeriodUnit";
|
276
278
|
export * from "./Period";
|
277
279
|
export * from "./PhlebotomyAreaInfo";
|
@@ -284,6 +286,7 @@ export * from "./Png";
|
|
284
286
|
export * from "./PostOrderResponse";
|
285
287
|
export * from "./ProfileInDb";
|
286
288
|
export * from "./ProviderConnectionCreated";
|
289
|
+
export * from "./ProviderConnectionErrorErrorType";
|
287
290
|
export * from "./ProviderConnectionError";
|
288
291
|
export * from "./ProviderLinkResponseState";
|
289
292
|
export * from "./ProviderLinkResponse";
|
@@ -311,6 +314,10 @@ export * from "./ClientFacingResource";
|
|
311
314
|
export * from "./ResourceAvailability";
|
312
315
|
export * from "./ResponsibleRelationship";
|
313
316
|
export * from "./ResultType";
|
317
|
+
export * from "./SampleDataDateCollected";
|
318
|
+
export * from "./SampleDataDateReceived";
|
319
|
+
export * from "./SampleDataDateReported";
|
320
|
+
export * from "./SampleData";
|
314
321
|
export * from "./ScopeRequirementsGrants";
|
315
322
|
export * from "./ScopeRequirementsStr";
|
316
323
|
export * from "./SexualActivityEntry";
|
@@ -338,6 +345,7 @@ export * from "./TimeseriesMetricPoint";
|
|
338
345
|
export * from "./TimeseriesResource";
|
339
346
|
export * from "./TraceElements";
|
340
347
|
export * from "./UsAddress";
|
348
|
+
export * from "./UtcTimestampWithTimezoneOffset";
|
341
349
|
export * from "./UnrecognizedValueMacroExpr";
|
342
350
|
export * from "./UserHistoricalPullsResponse";
|
343
351
|
export * from "./UserInfo";
|
package/dist/api/types/index.js
CHANGED
@@ -193,6 +193,7 @@ __exportStar(require("./ClientSleepResponse"), exports);
|
|
193
193
|
__exportStar(require("./ClientUserIdConflict"), exports);
|
194
194
|
__exportStar(require("./ClientUserIdConflictResponse"), exports);
|
195
195
|
__exportStar(require("./ClientWorkoutResponse"), exports);
|
196
|
+
__exportStar(require("./ClinicalInformation"), exports);
|
196
197
|
__exportStar(require("./CompanyDetails"), exports);
|
197
198
|
__exportStar(require("./ConnectedSourceClientFacing"), exports);
|
198
199
|
__exportStar(require("./ConnectionRecipe"), exports);
|
@@ -288,6 +289,7 @@ __exportStar(require("./PatientAddressCompatible"), exports);
|
|
288
289
|
__exportStar(require("./PatientAddressWithValidation"), exports);
|
289
290
|
__exportStar(require("./PatientDetailsWithValidation"), exports);
|
290
291
|
__exportStar(require("./PayorCodeExternalProvider"), exports);
|
292
|
+
__exportStar(require("./PerformingLaboratory"), exports);
|
291
293
|
__exportStar(require("./PeriodUnit"), exports);
|
292
294
|
__exportStar(require("./Period"), exports);
|
293
295
|
__exportStar(require("./PhlebotomyAreaInfo"), exports);
|
@@ -300,6 +302,7 @@ __exportStar(require("./Png"), exports);
|
|
300
302
|
__exportStar(require("./PostOrderResponse"), exports);
|
301
303
|
__exportStar(require("./ProfileInDb"), exports);
|
302
304
|
__exportStar(require("./ProviderConnectionCreated"), exports);
|
305
|
+
__exportStar(require("./ProviderConnectionErrorErrorType"), exports);
|
303
306
|
__exportStar(require("./ProviderConnectionError"), exports);
|
304
307
|
__exportStar(require("./ProviderLinkResponseState"), exports);
|
305
308
|
__exportStar(require("./ProviderLinkResponse"), exports);
|
@@ -327,6 +330,10 @@ __exportStar(require("./ClientFacingResource"), exports);
|
|
327
330
|
__exportStar(require("./ResourceAvailability"), exports);
|
328
331
|
__exportStar(require("./ResponsibleRelationship"), exports);
|
329
332
|
__exportStar(require("./ResultType"), exports);
|
333
|
+
__exportStar(require("./SampleDataDateCollected"), exports);
|
334
|
+
__exportStar(require("./SampleDataDateReceived"), exports);
|
335
|
+
__exportStar(require("./SampleDataDateReported"), exports);
|
336
|
+
__exportStar(require("./SampleData"), exports);
|
330
337
|
__exportStar(require("./ScopeRequirementsGrants"), exports);
|
331
338
|
__exportStar(require("./ScopeRequirementsStr"), exports);
|
332
339
|
__exportStar(require("./SexualActivityEntry"), exports);
|
@@ -354,6 +361,7 @@ __exportStar(require("./TimeseriesMetricPoint"), exports);
|
|
354
361
|
__exportStar(require("./TimeseriesResource"), exports);
|
355
362
|
__exportStar(require("./TraceElements"), exports);
|
356
363
|
__exportStar(require("./UsAddress"), exports);
|
364
|
+
__exportStar(require("./UtcTimestampWithTimezoneOffset"), exports);
|
357
365
|
__exportStar(require("./UnrecognizedValueMacroExpr"), exports);
|
358
366
|
__exportStar(require("./UserHistoricalPullsResponse"), exports);
|
359
367
|
__exportStar(require("./UserInfo"), exports);
|
@@ -48,4 +48,6 @@ exports.BiomarkerResult = core.serialization.object({
|
|
48
48
|
loincSlug: core.serialization.property("loinc_slug", core.serialization.string().optional()),
|
49
49
|
providerId: core.serialization.property("provider_id", core.serialization.string().optional()),
|
50
50
|
sourceMarkers: core.serialization.property("source_markers", core.serialization.list(ParentBiomarkerData_1.ParentBiomarkerData).optional()),
|
51
|
+
performingLaboratory: core.serialization.property("performing_laboratory", core.serialization.string().optional()),
|
52
|
+
sourceSampleId: core.serialization.property("source_sample_id", core.serialization.string().optional()),
|
51
53
|
});
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../index";
|
5
|
+
import * as Vital from "../../api/index";
|
6
|
+
import * as core from "../../core";
|
7
|
+
export declare const ClinicalInformation: core.serialization.ObjectSchema<serializers.ClinicalInformation.Raw, Vital.ClinicalInformation>;
|
8
|
+
export declare namespace ClinicalInformation {
|
9
|
+
interface Raw {
|
10
|
+
fasting?: boolean | null;
|
11
|
+
notes?: string | null;
|
12
|
+
information?: string | null;
|
13
|
+
total_volume?: string | null;
|
14
|
+
}
|
15
|
+
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.ClinicalInformation = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.ClinicalInformation = core.serialization.object({
|
32
|
+
fasting: core.serialization.boolean().optional(),
|
33
|
+
notes: core.serialization.string().optional(),
|
34
|
+
information: core.serialization.string().optional(),
|
35
|
+
totalVolume: core.serialization.property("total_volume", core.serialization.string().optional()),
|
36
|
+
});
|
@@ -7,11 +7,13 @@ import * as core from "../../core";
|
|
7
7
|
import { LabResultsMetadata } from "./LabResultsMetadata";
|
8
8
|
import { LabResultsRawResults } from "./LabResultsRawResults";
|
9
9
|
import { MissingBiomarkerResult } from "./MissingBiomarkerResult";
|
10
|
+
import { SampleData } from "./SampleData";
|
10
11
|
export declare const LabResultsRaw: core.serialization.ObjectSchema<serializers.LabResultsRaw.Raw, Vital.LabResultsRaw>;
|
11
12
|
export declare namespace LabResultsRaw {
|
12
13
|
interface Raw {
|
13
14
|
metadata: LabResultsMetadata.Raw;
|
14
15
|
results: LabResultsRawResults.Raw;
|
15
16
|
missing_results?: MissingBiomarkerResult.Raw[] | null;
|
17
|
+
sample_information?: Record<string, SampleData.Raw | null | undefined> | null;
|
16
18
|
}
|
17
19
|
}
|
@@ -31,8 +31,10 @@ const core = __importStar(require("../../core"));
|
|
31
31
|
const LabResultsMetadata_1 = require("./LabResultsMetadata");
|
32
32
|
const LabResultsRawResults_1 = require("./LabResultsRawResults");
|
33
33
|
const MissingBiomarkerResult_1 = require("./MissingBiomarkerResult");
|
34
|
+
const SampleData_1 = require("./SampleData");
|
34
35
|
exports.LabResultsRaw = core.serialization.object({
|
35
36
|
metadata: LabResultsMetadata_1.LabResultsMetadata,
|
36
37
|
results: LabResultsRawResults_1.LabResultsRawResults,
|
37
38
|
missingResults: core.serialization.property("missing_results", core.serialization.list(MissingBiomarkerResult_1.MissingBiomarkerResult).optional()),
|
39
|
+
sampleInformation: core.serialization.property("sample_information", core.serialization.record(core.serialization.string(), SampleData_1.SampleData.optional()).optional()),
|
38
40
|
});
|
@@ -0,0 +1,16 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../index";
|
5
|
+
import * as Vital from "../../api/index";
|
6
|
+
import * as core from "../../core";
|
7
|
+
import { Address } from "./Address";
|
8
|
+
export declare const PerformingLaboratory: core.serialization.ObjectSchema<serializers.PerformingLaboratory.Raw, Vital.PerformingLaboratory>;
|
9
|
+
export declare namespace PerformingLaboratory {
|
10
|
+
interface Raw {
|
11
|
+
name: string;
|
12
|
+
phone_number?: string | null;
|
13
|
+
medical_director?: string | null;
|
14
|
+
address?: Address.Raw | null;
|
15
|
+
}
|
16
|
+
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.PerformingLaboratory = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const Address_1 = require("./Address");
|
32
|
+
exports.PerformingLaboratory = core.serialization.object({
|
33
|
+
name: core.serialization.string(),
|
34
|
+
phoneNumber: core.serialization.property("phone_number", core.serialization.string().optional()),
|
35
|
+
medicalDirector: core.serialization.property("medical_director", core.serialization.string().optional()),
|
36
|
+
address: Address_1.Address.optional(),
|
37
|
+
});
|
@@ -4,13 +4,14 @@
|
|
4
4
|
import * as serializers from "../index";
|
5
5
|
import * as Vital from "../../api/index";
|
6
6
|
import * as core from "../../core";
|
7
|
+
import { ProviderConnectionErrorErrorType } from "./ProviderConnectionErrorErrorType";
|
7
8
|
export declare const ProviderConnectionError: core.serialization.ObjectSchema<serializers.ProviderConnectionError.Raw, Vital.ProviderConnectionError>;
|
8
9
|
export declare namespace ProviderConnectionError {
|
9
10
|
interface Raw {
|
10
11
|
provider: string;
|
11
12
|
user_id: string;
|
12
13
|
message: string;
|
13
|
-
error_type:
|
14
|
+
error_type: ProviderConnectionErrorErrorType.Raw;
|
14
15
|
error_details: string;
|
15
16
|
}
|
16
17
|
}
|
@@ -28,10 +28,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
29
|
exports.ProviderConnectionError = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
|
+
const ProviderConnectionErrorErrorType_1 = require("./ProviderConnectionErrorErrorType");
|
31
32
|
exports.ProviderConnectionError = core.serialization.object({
|
32
33
|
provider: core.serialization.string(),
|
33
34
|
userId: core.serialization.property("user_id", core.serialization.string()),
|
34
35
|
message: core.serialization.string(),
|
35
|
-
errorType: core.serialization.property("error_type",
|
36
|
+
errorType: core.serialization.property("error_type", ProviderConnectionErrorErrorType_1.ProviderConnectionErrorErrorType),
|
36
37
|
errorDetails: core.serialization.property("error_details", core.serialization.string()),
|
37
38
|
});
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../index";
|
5
|
+
import * as Vital from "../../api/index";
|
6
|
+
import * as core from "../../core";
|
7
|
+
export declare const ProviderConnectionErrorErrorType: core.serialization.Schema<serializers.ProviderConnectionErrorErrorType.Raw, Vital.ProviderConnectionErrorErrorType>;
|
8
|
+
export declare namespace ProviderConnectionErrorErrorType {
|
9
|
+
type Raw = "token_refresh_failed" | "webhook_registration_failed" | "user_not_found" | "deregistered_per_provider" | "required_scopes_not_granted" | "provider_credential_error" | "unknown";
|
10
|
+
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.ProviderConnectionErrorErrorType = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.ProviderConnectionErrorErrorType = core.serialization.enum_([
|
32
|
+
"token_refresh_failed",
|
33
|
+
"webhook_registration_failed",
|
34
|
+
"user_not_found",
|
35
|
+
"deregistered_per_provider",
|
36
|
+
"required_scopes_not_granted",
|
37
|
+
"provider_credential_error",
|
38
|
+
"unknown",
|
39
|
+
]);
|
@@ -0,0 +1,23 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../index";
|
5
|
+
import * as Vital from "../../api/index";
|
6
|
+
import * as core from "../../core";
|
7
|
+
import { SampleDataDateCollected } from "./SampleDataDateCollected";
|
8
|
+
import { SampleDataDateReceived } from "./SampleDataDateReceived";
|
9
|
+
import { SampleDataDateReported } from "./SampleDataDateReported";
|
10
|
+
import { PerformingLaboratory } from "./PerformingLaboratory";
|
11
|
+
import { ClinicalInformation } from "./ClinicalInformation";
|
12
|
+
export declare const SampleData: core.serialization.ObjectSchema<serializers.SampleData.Raw, Vital.SampleData>;
|
13
|
+
export declare namespace SampleData {
|
14
|
+
interface Raw {
|
15
|
+
sample_id?: string | null;
|
16
|
+
control_number?: string | null;
|
17
|
+
date_collected?: SampleDataDateCollected.Raw | null;
|
18
|
+
date_received?: SampleDataDateReceived.Raw | null;
|
19
|
+
date_reported?: SampleDataDateReported.Raw | null;
|
20
|
+
performing_laboratories?: Record<string, PerformingLaboratory.Raw | null | undefined> | null;
|
21
|
+
clinical_information?: ClinicalInformation.Raw | null;
|
22
|
+
}
|
23
|
+
}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.SampleData = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const SampleDataDateCollected_1 = require("./SampleDataDateCollected");
|
32
|
+
const SampleDataDateReceived_1 = require("./SampleDataDateReceived");
|
33
|
+
const SampleDataDateReported_1 = require("./SampleDataDateReported");
|
34
|
+
const PerformingLaboratory_1 = require("./PerformingLaboratory");
|
35
|
+
const ClinicalInformation_1 = require("./ClinicalInformation");
|
36
|
+
exports.SampleData = core.serialization.object({
|
37
|
+
sampleId: core.serialization.property("sample_id", core.serialization.string().optional()),
|
38
|
+
controlNumber: core.serialization.property("control_number", core.serialization.string().optional()),
|
39
|
+
dateCollected: core.serialization.property("date_collected", SampleDataDateCollected_1.SampleDataDateCollected.optional()),
|
40
|
+
dateReceived: core.serialization.property("date_received", SampleDataDateReceived_1.SampleDataDateReceived.optional()),
|
41
|
+
dateReported: core.serialization.property("date_reported", SampleDataDateReported_1.SampleDataDateReported.optional()),
|
42
|
+
performingLaboratories: core.serialization.property("performing_laboratories", core.serialization.record(core.serialization.string(), PerformingLaboratory_1.PerformingLaboratory.optional()).optional()),
|
43
|
+
clinicalInformation: core.serialization.property("clinical_information", ClinicalInformation_1.ClinicalInformation.optional()),
|
44
|
+
});
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../index";
|
5
|
+
import * as Vital from "../../api/index";
|
6
|
+
import * as core from "../../core";
|
7
|
+
import { UtcTimestampWithTimezoneOffset } from "./UtcTimestampWithTimezoneOffset";
|
8
|
+
export declare const SampleDataDateCollected: core.serialization.Schema<serializers.SampleDataDateCollected.Raw, Vital.SampleDataDateCollected>;
|
9
|
+
export declare namespace SampleDataDateCollected {
|
10
|
+
type Raw = UtcTimestampWithTimezoneOffset.Raw | string;
|
11
|
+
}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.SampleDataDateCollected = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const UtcTimestampWithTimezoneOffset_1 = require("./UtcTimestampWithTimezoneOffset");
|
32
|
+
exports.SampleDataDateCollected = core.serialization.undiscriminatedUnion([UtcTimestampWithTimezoneOffset_1.UtcTimestampWithTimezoneOffset, core.serialization.string()]);
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../index";
|
5
|
+
import * as Vital from "../../api/index";
|
6
|
+
import * as core from "../../core";
|
7
|
+
import { UtcTimestampWithTimezoneOffset } from "./UtcTimestampWithTimezoneOffset";
|
8
|
+
export declare const SampleDataDateReceived: core.serialization.Schema<serializers.SampleDataDateReceived.Raw, Vital.SampleDataDateReceived>;
|
9
|
+
export declare namespace SampleDataDateReceived {
|
10
|
+
type Raw = UtcTimestampWithTimezoneOffset.Raw | string;
|
11
|
+
}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.SampleDataDateReceived = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const UtcTimestampWithTimezoneOffset_1 = require("./UtcTimestampWithTimezoneOffset");
|
32
|
+
exports.SampleDataDateReceived = core.serialization.undiscriminatedUnion([UtcTimestampWithTimezoneOffset_1.UtcTimestampWithTimezoneOffset, core.serialization.string()]);
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../index";
|
5
|
+
import * as Vital from "../../api/index";
|
6
|
+
import * as core from "../../core";
|
7
|
+
import { UtcTimestampWithTimezoneOffset } from "./UtcTimestampWithTimezoneOffset";
|
8
|
+
export declare const SampleDataDateReported: core.serialization.Schema<serializers.SampleDataDateReported.Raw, Vital.SampleDataDateReported>;
|
9
|
+
export declare namespace SampleDataDateReported {
|
10
|
+
type Raw = UtcTimestampWithTimezoneOffset.Raw | string;
|
11
|
+
}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.SampleDataDateReported = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const UtcTimestampWithTimezoneOffset_1 = require("./UtcTimestampWithTimezoneOffset");
|
32
|
+
exports.SampleDataDateReported = core.serialization.undiscriminatedUnion([UtcTimestampWithTimezoneOffset_1.UtcTimestampWithTimezoneOffset, core.serialization.string()]);
|
@@ -0,0 +1,13 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../index";
|
5
|
+
import * as Vital from "../../api/index";
|
6
|
+
import * as core from "../../core";
|
7
|
+
export declare const UtcTimestampWithTimezoneOffset: core.serialization.ObjectSchema<serializers.UtcTimestampWithTimezoneOffset.Raw, Vital.UtcTimestampWithTimezoneOffset>;
|
8
|
+
export declare namespace UtcTimestampWithTimezoneOffset {
|
9
|
+
interface Raw {
|
10
|
+
timestamp: string;
|
11
|
+
timezone_offset: number;
|
12
|
+
}
|
13
|
+
}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.UtcTimestampWithTimezoneOffset = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.UtcTimestampWithTimezoneOffset = core.serialization.object({
|
32
|
+
timestamp: core.serialization.date(),
|
33
|
+
timezoneOffset: core.serialization.property("timezone_offset", core.serialization.number()),
|
34
|
+
});
|