@tryvital/vital-node 3.1.14 → 3.1.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/resources/activity/client/Client.js +2 -2
- package/api/resources/body/client/Client.js +2 -2
- package/api/resources/devices/client/Client.js +1 -1
- package/api/resources/insurance/client/Client.js +2 -2
- package/api/resources/introspect/client/Client.js +2 -2
- package/api/resources/labTests/client/Client.d.ts +0 -13
- package/api/resources/labTests/client/Client.js +25 -137
- package/api/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +1 -2
- package/api/resources/labTests/client/requests/index.d.ts +0 -1
- package/api/resources/link/client/Client.js +14 -14
- package/api/resources/meal/client/Client.js +1 -1
- package/api/resources/profile/client/Client.js +2 -2
- package/api/resources/providers/client/Client.js +1 -1
- package/api/resources/sleep/client/Client.js +4 -4
- package/api/resources/team/client/Client.d.ts +2 -5
- package/api/resources/team/client/Client.js +13 -30
- package/api/resources/team/client/requests/index.d.ts +0 -1
- package/api/resources/testkit/client/Client.js +2 -2
- package/api/resources/testkit/client/requests/RegisterTestkitRequest.d.ts +1 -1
- package/api/resources/user/client/Client.js +12 -12
- package/api/resources/user/client/requests/UserCreateBody.d.ts +0 -8
- package/api/resources/user/client/requests/UserPatchBody.d.ts +0 -8
- package/api/resources/vitals/client/Client.js +50 -50
- package/api/resources/workouts/client/Client.js +3 -3
- package/api/types/AppointmentEventStatus.d.ts +0 -3
- package/api/types/AppointmentProvider.d.ts +0 -3
- package/api/types/AppointmentServiceType.d.ts +0 -3
- package/api/types/AppointmentStatus.d.ts +0 -3
- package/api/types/AppointmentType.d.ts +0 -3
- package/api/types/AttemptStatus.d.ts +0 -3
- package/api/types/AuthType.d.ts +0 -3
- package/api/types/Availability.d.ts +0 -3
- package/api/types/ClientFacingActivity.d.ts +0 -12
- package/api/types/ClientFacingAppointment.d.ts +0 -2
- package/api/types/ClientFacingBloodOxygenTimeseries.d.ts +0 -3
- package/api/types/ClientFacingBloodPressureTimeseries.d.ts +0 -3
- package/api/types/ClientFacingBody.d.ts +0 -2
- package/api/types/ClientFacingBodyFatTimeseries.d.ts +0 -3
- package/api/types/ClientFacingBodyWeightTimeseries.d.ts +0 -3
- package/api/types/ClientFacingCaffeineTimeseries.d.ts +0 -3
- package/api/types/ClientFacingCaloriesActiveTimeseries.d.ts +0 -3
- package/api/types/ClientFacingCaloriesBasalTimeseries.d.ts +0 -3
- package/api/types/ClientFacingCholesterolTimeseries.d.ts +0 -3
- package/api/types/ClientFacingDistanceTimeseries.d.ts +0 -3
- package/api/types/ClientFacingElectrocardiogramVoltageTimeseries.d.ts +2 -4
- package/api/types/ClientFacingFloorsClimbedTimeseries.d.ts +0 -3
- package/api/types/ClientFacingGlucoseTimeseries.d.ts +0 -3
- package/api/types/ClientFacingHeartRate.d.ts +0 -4
- package/api/types/ClientFacingHeartRateTimeseries.d.ts +0 -3
- package/api/types/ClientFacingHrvTimeseries.d.ts +0 -3
- package/api/types/ClientFacingHypnogramTimeseries.d.ts +0 -3
- package/api/types/ClientFacingIgeTimeseries.d.ts +0 -3
- package/api/types/ClientFacingIggTimeseries.d.ts +0 -3
- package/api/types/ClientFacingLabTest.d.ts +7 -0
- package/api/types/ClientFacingMindfulnessMinutesTimeseries.d.ts +0 -3
- package/api/types/ClientFacingOrder.d.ts +1 -9
- package/api/types/ClientFacingProviderDetailed.d.ts +0 -1
- package/api/types/ClientFacingResource.d.ts +0 -3
- package/api/types/ClientFacingRespiratoryRateTimeseries.d.ts +0 -3
- package/api/types/{Beneficiary.d.ts → ClientFacingSampleGroupingKeys.d.ts} +1 -3
- package/api/types/ClientFacingShipment.d.ts +0 -7
- package/api/types/ClientFacingSleep.d.ts +0 -11
- package/api/types/ClientFacingSource.d.ts +0 -1
- package/api/types/ClientFacingStepsTimeseries.d.ts +0 -3
- package/api/types/ClientFacingStream.d.ts +19 -10
- package/api/types/ClientFacingStreamAltitude.d.ts +7 -0
- package/api/types/ClientFacingStreamCadence.d.ts +7 -0
- package/api/types/ClientFacingStreamDistance.d.ts +7 -0
- package/api/types/ClientFacingStreamHeartrate.d.ts +7 -0
- package/api/types/ClientFacingStreamLat.d.ts +7 -0
- package/api/types/ClientFacingStreamLng.d.ts +7 -0
- package/api/types/ClientFacingStreamPower.d.ts +7 -0
- package/api/types/ClientFacingStreamResistance.d.ts +7 -0
- package/api/types/{PostOrderPatientBirthDate.d.ts → ClientFacingStreamVelocitySmooth.d.ts} +4 -1
- package/api/types/ClientFacingStressLevelTimeseries.d.ts +0 -3
- package/api/types/ClientFacingTestkitOrder.d.ts +0 -1
- package/api/types/ClientFacingUser.d.ts +0 -7
- package/api/types/ClientFacingVo2MaxTimeseries.d.ts +0 -3
- package/api/types/ClientFacingWaterTimeseries.d.ts +0 -3
- package/api/types/ClientFacingWorkout.d.ts +1 -18
- package/api/types/ConsentType.d.ts +0 -3
- package/api/types/DelegatedFlowType.d.ts +0 -3
- package/api/types/DemoProviders.d.ts +0 -3
- package/api/types/EmailProviders.d.ts +0 -3
- package/api/types/Fats.d.ts +0 -6
- package/api/types/Gender.d.ts +0 -3
- package/api/types/GroupedBloodOxygenResponse.d.ts +0 -1
- package/api/types/GroupedBloodPressureResponse.d.ts +0 -1
- package/api/types/GroupedBodyFatResponse.d.ts +0 -1
- package/api/types/GroupedBodyWeightResponse.d.ts +0 -1
- package/api/types/GroupedCaffeineResponse.d.ts +0 -1
- package/api/types/GroupedCaloriesActiveResponse.d.ts +0 -1
- package/api/types/GroupedCaloriesBasalResponse.d.ts +0 -1
- package/api/types/GroupedCholesterolResponse.d.ts +0 -1
- package/api/types/GroupedDistanceResponse.d.ts +0 -1
- package/api/types/GroupedElectrocardiogramVoltageResponse.d.ts +0 -1
- package/api/types/GroupedFloorsClimbedResponse.d.ts +0 -1
- package/api/types/GroupedGlucoseResponse.d.ts +0 -1
- package/api/types/GroupedHeartRateResponse.d.ts +0 -1
- package/api/types/GroupedHrvResponse.d.ts +0 -1
- package/api/types/GroupedHypnogramResponse.d.ts +0 -1
- package/api/types/GroupedIgeResponse.d.ts +0 -1
- package/api/types/GroupedIggResponse.d.ts +0 -1
- package/api/types/GroupedMindfulnessMinutesResponse.d.ts +0 -1
- package/api/types/GroupedRespiratoryRateResponse.d.ts +0 -1
- package/api/types/GroupedStepsResponse.d.ts +0 -1
- package/api/types/GroupedStressLevelResponse.d.ts +0 -1
- package/api/types/GroupedVo2MaxResponse.d.ts +0 -1
- package/api/types/GroupedWaterResponse.d.ts +0 -1
- package/api/types/HealthInsuranceCreateRequest.d.ts +0 -7
- package/api/types/HealthInsuranceCreateRequestBackImage.d.ts +1 -9
- package/api/types/HealthInsuranceCreateRequestFrontImage.d.ts +1 -9
- package/api/types/HealthInsuranceCreateRequestPatientSignatureImage.d.ts +1 -9
- package/api/types/HistoricalPullStatus.d.ts +0 -3
- package/api/types/Jpeg.d.ts +1 -0
- package/api/types/LabTestStatus.d.ts +0 -3
- package/api/types/Labs.d.ts +13 -0
- package/api/types/Labs.js +15 -0
- package/api/types/Macros.d.ts +0 -6
- package/api/types/ManualProviders.d.ts +0 -3
- package/api/types/MarkerType.d.ts +0 -3
- package/api/types/Micros.d.ts +3 -6
- package/api/types/OAuthProviders.d.ts +0 -3
- package/api/types/OrderStatus.d.ts +0 -3
- package/api/types/OrderTopLevelStatus.d.ts +0 -3
- package/api/types/PasswordProviders.d.ts +0 -3
- package/api/types/PatientAddressCompatibleInput.d.ts +13 -0
- package/api/types/{PatientAddressCompatible.d.ts → PatientAddressCompatibleOutput.d.ts} +1 -1
- package/api/types/PhysicianCreateRequestSignatureImage.d.ts +1 -9
- package/api/types/Png.d.ts +1 -0
- package/api/types/ProviderLinkResponse.d.ts +1 -1
- package/api/types/Providers.d.ts +0 -3
- package/api/types/QuestionType.d.ts +0 -3
- package/api/types/Region.d.ts +0 -3
- package/api/types/ResponsibleRelationship.d.ts +0 -3
- package/api/types/ResultType.d.ts +0 -3
- package/api/types/SourceAuthType.d.ts +0 -3
- package/api/types/SourceType.d.ts +0 -3
- package/api/types/TimeseriesResource.d.ts +0 -3
- package/api/types/UsAddress.d.ts +0 -1
- package/api/types/index.d.ts +59 -91
- package/api/types/index.js +59 -91
- package/dist/api/resources/activity/client/Client.js +2 -2
- package/dist/api/resources/body/client/Client.js +2 -2
- package/dist/api/resources/devices/client/Client.js +1 -1
- package/dist/api/resources/insurance/client/Client.js +2 -2
- package/dist/api/resources/introspect/client/Client.js +2 -2
- package/dist/api/resources/labTests/client/Client.d.ts +0 -13
- package/dist/api/resources/labTests/client/Client.js +25 -137
- package/dist/api/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +1 -2
- package/dist/api/resources/labTests/client/requests/index.d.ts +0 -1
- package/dist/api/resources/link/client/Client.js +14 -14
- package/dist/api/resources/meal/client/Client.js +1 -1
- package/dist/api/resources/profile/client/Client.js +2 -2
- package/dist/api/resources/providers/client/Client.js +1 -1
- package/dist/api/resources/sleep/client/Client.js +4 -4
- package/dist/api/resources/team/client/Client.d.ts +2 -5
- package/dist/api/resources/team/client/Client.js +13 -30
- package/dist/api/resources/team/client/requests/index.d.ts +0 -1
- package/dist/api/resources/testkit/client/Client.js +2 -2
- package/dist/api/resources/testkit/client/requests/RegisterTestkitRequest.d.ts +1 -1
- package/dist/api/resources/user/client/Client.js +12 -12
- package/dist/api/resources/user/client/requests/UserCreateBody.d.ts +0 -8
- package/dist/api/resources/user/client/requests/UserPatchBody.d.ts +0 -8
- package/dist/api/resources/vitals/client/Client.js +50 -50
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/api/types/AppointmentEventStatus.d.ts +0 -3
- package/dist/api/types/AppointmentProvider.d.ts +0 -3
- package/dist/api/types/AppointmentServiceType.d.ts +0 -3
- package/dist/api/types/AppointmentStatus.d.ts +0 -3
- package/dist/api/types/AppointmentType.d.ts +0 -3
- package/dist/api/types/AttemptStatus.d.ts +0 -3
- package/dist/api/types/AuthType.d.ts +0 -3
- package/dist/api/types/Availability.d.ts +0 -3
- package/dist/api/types/ClientFacingActivity.d.ts +0 -12
- package/dist/api/types/ClientFacingAppointment.d.ts +0 -2
- package/dist/api/types/ClientFacingBloodOxygenTimeseries.d.ts +0 -3
- package/dist/api/types/ClientFacingBloodPressureTimeseries.d.ts +0 -3
- package/dist/api/types/ClientFacingBody.d.ts +0 -2
- package/dist/api/types/ClientFacingBodyFatTimeseries.d.ts +0 -3
- package/dist/api/types/ClientFacingBodyWeightTimeseries.d.ts +0 -3
- package/dist/api/types/ClientFacingCaffeineTimeseries.d.ts +0 -3
- package/dist/api/types/ClientFacingCaloriesActiveTimeseries.d.ts +0 -3
- package/dist/api/types/ClientFacingCaloriesBasalTimeseries.d.ts +0 -3
- package/dist/api/types/ClientFacingCholesterolTimeseries.d.ts +0 -3
- package/dist/api/types/ClientFacingDistanceTimeseries.d.ts +0 -3
- package/dist/api/types/ClientFacingElectrocardiogramVoltageTimeseries.d.ts +2 -4
- package/dist/api/types/ClientFacingFloorsClimbedTimeseries.d.ts +0 -3
- package/dist/api/types/ClientFacingGlucoseTimeseries.d.ts +0 -3
- package/dist/api/types/ClientFacingHeartRate.d.ts +0 -4
- package/dist/api/types/ClientFacingHeartRateTimeseries.d.ts +0 -3
- package/dist/api/types/ClientFacingHrvTimeseries.d.ts +0 -3
- package/dist/api/types/ClientFacingHypnogramTimeseries.d.ts +0 -3
- package/dist/api/types/ClientFacingIgeTimeseries.d.ts +0 -3
- package/dist/api/types/ClientFacingIggTimeseries.d.ts +0 -3
- package/dist/api/types/ClientFacingLabTest.d.ts +7 -0
- package/dist/api/types/ClientFacingMindfulnessMinutesTimeseries.d.ts +0 -3
- package/dist/api/types/ClientFacingOrder.d.ts +1 -9
- package/dist/api/types/ClientFacingProviderDetailed.d.ts +0 -1
- package/dist/api/types/ClientFacingResource.d.ts +0 -3
- package/dist/api/types/ClientFacingRespiratoryRateTimeseries.d.ts +0 -3
- package/{api/types/Low.d.ts → dist/api/types/ClientFacingSampleGroupingKeys.d.ts} +1 -3
- package/dist/api/types/ClientFacingShipment.d.ts +0 -7
- package/dist/api/types/ClientFacingSleep.d.ts +0 -11
- package/dist/api/types/ClientFacingSource.d.ts +0 -1
- package/dist/api/types/ClientFacingStepsTimeseries.d.ts +0 -3
- package/dist/api/types/ClientFacingStream.d.ts +19 -10
- package/dist/api/types/ClientFacingStreamAltitude.d.ts +7 -0
- package/dist/api/types/ClientFacingStreamCadence.d.ts +7 -0
- package/dist/api/types/ClientFacingStreamDistance.d.ts +7 -0
- package/dist/api/types/ClientFacingStreamHeartrate.d.ts +7 -0
- package/dist/api/types/ClientFacingStreamLat.d.ts +7 -0
- package/dist/api/types/ClientFacingStreamLng.d.ts +7 -0
- package/dist/api/types/ClientFacingStreamPower.d.ts +7 -0
- package/dist/api/types/ClientFacingStreamResistance.d.ts +7 -0
- package/dist/api/types/{PostOrderPatientBirthDate.d.ts → ClientFacingStreamVelocitySmooth.d.ts} +4 -1
- package/dist/api/types/ClientFacingStressLevelTimeseries.d.ts +0 -3
- package/dist/api/types/ClientFacingTestkitOrder.d.ts +0 -1
- package/dist/api/types/ClientFacingUser.d.ts +0 -7
- package/dist/api/types/ClientFacingVo2MaxTimeseries.d.ts +0 -3
- package/dist/api/types/ClientFacingWaterTimeseries.d.ts +0 -3
- package/dist/api/types/ClientFacingWorkout.d.ts +1 -18
- package/dist/api/types/ConsentType.d.ts +0 -3
- package/dist/api/types/DelegatedFlowType.d.ts +0 -3
- package/dist/api/types/DemoProviders.d.ts +0 -3
- package/dist/api/types/EmailProviders.d.ts +0 -3
- package/dist/api/types/Fats.d.ts +0 -6
- package/dist/api/types/Gender.d.ts +0 -3
- package/dist/api/types/GroupedBloodOxygenResponse.d.ts +0 -1
- package/dist/api/types/GroupedBloodPressureResponse.d.ts +0 -1
- package/dist/api/types/GroupedBodyFatResponse.d.ts +0 -1
- package/dist/api/types/GroupedBodyWeightResponse.d.ts +0 -1
- package/dist/api/types/GroupedCaffeineResponse.d.ts +0 -1
- package/dist/api/types/GroupedCaloriesActiveResponse.d.ts +0 -1
- package/dist/api/types/GroupedCaloriesBasalResponse.d.ts +0 -1
- package/dist/api/types/GroupedCholesterolResponse.d.ts +0 -1
- package/dist/api/types/GroupedDistanceResponse.d.ts +0 -1
- package/dist/api/types/GroupedElectrocardiogramVoltageResponse.d.ts +0 -1
- package/dist/api/types/GroupedFloorsClimbedResponse.d.ts +0 -1
- package/dist/api/types/GroupedGlucoseResponse.d.ts +0 -1
- package/dist/api/types/GroupedHeartRateResponse.d.ts +0 -1
- package/dist/api/types/GroupedHrvResponse.d.ts +0 -1
- package/dist/api/types/GroupedHypnogramResponse.d.ts +0 -1
- package/dist/api/types/GroupedIgeResponse.d.ts +0 -1
- package/dist/api/types/GroupedIggResponse.d.ts +0 -1
- package/dist/api/types/GroupedMindfulnessMinutesResponse.d.ts +0 -1
- package/dist/api/types/GroupedRespiratoryRateResponse.d.ts +0 -1
- package/dist/api/types/GroupedStepsResponse.d.ts +0 -1
- package/dist/api/types/GroupedStressLevelResponse.d.ts +0 -1
- package/dist/api/types/GroupedVo2MaxResponse.d.ts +0 -1
- package/dist/api/types/GroupedWaterResponse.d.ts +0 -1
- package/dist/api/types/HealthInsuranceCreateRequest.d.ts +0 -7
- package/dist/api/types/HealthInsuranceCreateRequestBackImage.d.ts +1 -9
- package/dist/api/types/HealthInsuranceCreateRequestFrontImage.d.ts +1 -9
- package/dist/api/types/HealthInsuranceCreateRequestPatientSignatureImage.d.ts +1 -9
- package/dist/api/types/HistoricalPullStatus.d.ts +0 -3
- package/dist/api/types/Jpeg.d.ts +1 -0
- package/dist/api/types/LabTestStatus.d.ts +0 -3
- package/dist/api/types/Labs.d.ts +13 -0
- package/dist/api/types/Labs.js +15 -0
- package/dist/api/types/Macros.d.ts +0 -6
- package/dist/api/types/ManualProviders.d.ts +0 -3
- package/dist/api/types/MarkerType.d.ts +0 -3
- package/dist/api/types/Micros.d.ts +3 -6
- package/dist/api/types/OAuthProviders.d.ts +0 -3
- package/dist/api/types/OrderStatus.d.ts +0 -3
- package/dist/api/types/OrderTopLevelStatus.d.ts +0 -3
- package/dist/api/types/PasswordProviders.d.ts +0 -3
- package/dist/api/types/PatientAddressCompatibleInput.d.ts +13 -0
- package/dist/api/types/{PatientAddressCompatible.d.ts → PatientAddressCompatibleOutput.d.ts} +1 -1
- package/dist/api/types/PhysicianCreateRequestSignatureImage.d.ts +1 -9
- package/dist/api/types/Png.d.ts +1 -0
- package/dist/api/types/ProviderLinkResponse.d.ts +1 -1
- package/dist/api/types/Providers.d.ts +0 -3
- package/dist/api/types/QuestionType.d.ts +0 -3
- package/dist/api/types/Region.d.ts +0 -3
- package/dist/api/types/ResponsibleRelationship.d.ts +0 -3
- package/dist/api/types/ResultType.d.ts +0 -3
- package/dist/api/types/SourceAuthType.d.ts +0 -3
- package/dist/api/types/SourceType.d.ts +0 -3
- package/dist/api/types/TimeseriesResource.d.ts +0 -3
- package/dist/api/types/UsAddress.d.ts +0 -1
- package/dist/api/types/index.d.ts +59 -91
- package/dist/api/types/index.js +59 -91
- package/dist/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +2 -2
- package/dist/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.js +2 -2
- package/dist/serialization/resources/labTests/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/labTests/client/requests/index.js +1 -3
- package/dist/serialization/resources/testkit/client/requests/RegisterTestkitRequest.d.ts +2 -2
- package/dist/serialization/resources/testkit/client/requests/RegisterTestkitRequest.js +2 -2
- package/dist/serialization/types/ClientFacingElectrocardiogramVoltageTimeseries.d.ts +1 -1
- package/dist/serialization/types/ClientFacingElectrocardiogramVoltageTimeseries.js +2 -2
- package/dist/serialization/types/ClientFacingOrder.d.ts +2 -2
- package/dist/serialization/types/ClientFacingOrder.js +2 -2
- package/dist/serialization/types/ClientFacingSampleGroupingKeys.d.ts +10 -0
- package/dist/serialization/types/{Low.js → ClientFacingSampleGroupingKeys.js} +2 -4
- package/dist/serialization/types/ClientFacingStream.d.ts +18 -9
- package/dist/serialization/types/ClientFacingStream.js +18 -9
- package/dist/serialization/types/ClientFacingStreamAltitude.d.ts +10 -0
- package/dist/serialization/types/ClientFacingStreamAltitude.js +34 -0
- package/dist/serialization/types/ClientFacingStreamCadence.d.ts +10 -0
- package/dist/serialization/types/ClientFacingStreamCadence.js +34 -0
- package/dist/serialization/types/ClientFacingStreamDistance.d.ts +10 -0
- package/dist/serialization/types/ClientFacingStreamDistance.js +34 -0
- package/dist/serialization/types/ClientFacingStreamHeartrate.d.ts +10 -0
- package/dist/serialization/types/ClientFacingStreamHeartrate.js +34 -0
- package/dist/serialization/types/ClientFacingStreamLat.d.ts +10 -0
- package/dist/serialization/types/{AnswerItem.js → ClientFacingStreamLat.js} +5 -4
- package/dist/serialization/types/ClientFacingStreamLng.d.ts +10 -0
- package/dist/serialization/types/{Beneficiary.js → ClientFacingStreamLng.js} +5 -4
- package/dist/serialization/types/ClientFacingStreamPower.d.ts +10 -0
- package/dist/serialization/types/ClientFacingStreamPower.js +34 -0
- package/dist/serialization/types/ClientFacingStreamResistance.d.ts +10 -0
- package/dist/serialization/types/ClientFacingStreamResistance.js +34 -0
- package/dist/serialization/types/ClientFacingStreamVelocitySmooth.d.ts +10 -0
- package/dist/serialization/types/ClientFacingStreamVelocitySmooth.js +34 -0
- package/dist/serialization/types/ClientFacingWorkout.d.ts +1 -0
- package/dist/serialization/types/ClientFacingWorkout.js +1 -0
- package/dist/serialization/types/HealthInsuranceCreateRequestBackImage.d.ts +1 -7
- package/dist/serialization/types/HealthInsuranceCreateRequestBackImage.js +1 -9
- package/dist/serialization/types/HealthInsuranceCreateRequestFrontImage.d.ts +1 -7
- package/dist/serialization/types/HealthInsuranceCreateRequestFrontImage.js +1 -9
- package/dist/serialization/types/HealthInsuranceCreateRequestPatientSignatureImage.d.ts +1 -7
- package/dist/serialization/types/HealthInsuranceCreateRequestPatientSignatureImage.js +1 -9
- package/dist/serialization/types/Jpeg.d.ts +1 -0
- package/dist/serialization/types/Jpeg.js +1 -0
- package/dist/serialization/types/Labs.d.ts +10 -0
- package/dist/serialization/types/{Priority.js → Labs.js} +9 -6
- package/dist/serialization/types/Micros.d.ts +3 -3
- package/dist/serialization/types/Micros.js +3 -3
- package/dist/serialization/types/PatientAddressCompatibleInput.d.ts +19 -0
- package/dist/serialization/types/{Addres.js → PatientAddressCompatibleInput.js} +7 -6
- package/dist/serialization/types/{PatientAddressCompatible.d.ts → PatientAddressCompatibleOutput.d.ts} +2 -2
- package/dist/serialization/types/{PatientAddressCompatible.js → PatientAddressCompatibleOutput.js} +2 -2
- package/dist/serialization/types/PhysicianCreateRequestSignatureImage.d.ts +1 -7
- package/dist/serialization/types/PhysicianCreateRequestSignatureImage.js +1 -9
- package/dist/serialization/types/Png.d.ts +1 -0
- package/dist/serialization/types/Png.js +1 -0
- package/dist/serialization/types/ProfileInDb.d.ts +1 -1
- package/dist/serialization/types/ProfileInDb.js +1 -1
- package/dist/serialization/types/ProviderLinkResponse.d.ts +1 -1
- package/dist/serialization/types/ProviderLinkResponse.js +1 -1
- package/dist/serialization/types/index.d.ts +59 -91
- package/dist/serialization/types/index.js +59 -91
- package/package.json +1 -1
- package/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +2 -2
- package/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.js +2 -2
- package/serialization/resources/labTests/client/requests/index.d.ts +0 -1
- package/serialization/resources/labTests/client/requests/index.js +1 -3
- package/serialization/resources/testkit/client/requests/RegisterTestkitRequest.d.ts +2 -2
- package/serialization/resources/testkit/client/requests/RegisterTestkitRequest.js +2 -2
- package/serialization/types/ClientFacingElectrocardiogramVoltageTimeseries.d.ts +1 -1
- package/serialization/types/ClientFacingElectrocardiogramVoltageTimeseries.js +2 -2
- package/serialization/types/ClientFacingOrder.d.ts +2 -2
- package/serialization/types/ClientFacingOrder.js +2 -2
- package/serialization/types/ClientFacingSampleGroupingKeys.d.ts +10 -0
- package/{dist/serialization/types/High.js → serialization/types/ClientFacingSampleGroupingKeys.js} +2 -4
- package/serialization/types/ClientFacingStream.d.ts +18 -9
- package/serialization/types/ClientFacingStream.js +18 -9
- package/serialization/types/ClientFacingStreamAltitude.d.ts +10 -0
- package/serialization/types/ClientFacingStreamAltitude.js +34 -0
- package/serialization/types/ClientFacingStreamCadence.d.ts +10 -0
- package/serialization/types/ClientFacingStreamCadence.js +34 -0
- package/serialization/types/ClientFacingStreamDistance.d.ts +10 -0
- package/serialization/types/ClientFacingStreamDistance.js +34 -0
- package/serialization/types/ClientFacingStreamHeartrate.d.ts +10 -0
- package/serialization/types/ClientFacingStreamHeartrate.js +34 -0
- package/serialization/types/ClientFacingStreamLat.d.ts +10 -0
- package/serialization/types/ClientFacingStreamLat.js +34 -0
- package/serialization/types/ClientFacingStreamLng.d.ts +10 -0
- package/serialization/types/ClientFacingStreamLng.js +34 -0
- package/serialization/types/ClientFacingStreamPower.d.ts +10 -0
- package/serialization/types/ClientFacingStreamPower.js +34 -0
- package/serialization/types/ClientFacingStreamResistance.d.ts +10 -0
- package/serialization/types/ClientFacingStreamResistance.js +34 -0
- package/serialization/types/ClientFacingStreamVelocitySmooth.d.ts +10 -0
- package/serialization/types/ClientFacingStreamVelocitySmooth.js +34 -0
- package/serialization/types/ClientFacingWorkout.d.ts +1 -0
- package/serialization/types/ClientFacingWorkout.js +1 -0
- package/serialization/types/HealthInsuranceCreateRequestBackImage.d.ts +1 -7
- package/serialization/types/HealthInsuranceCreateRequestBackImage.js +1 -9
- package/serialization/types/HealthInsuranceCreateRequestFrontImage.d.ts +1 -7
- package/serialization/types/HealthInsuranceCreateRequestFrontImage.js +1 -9
- package/serialization/types/HealthInsuranceCreateRequestPatientSignatureImage.d.ts +1 -7
- package/serialization/types/HealthInsuranceCreateRequestPatientSignatureImage.js +1 -9
- package/serialization/types/Jpeg.d.ts +1 -0
- package/serialization/types/Jpeg.js +1 -0
- package/serialization/types/Labs.d.ts +10 -0
- package/serialization/types/{Priority.js → Labs.js} +9 -6
- package/serialization/types/Micros.d.ts +3 -3
- package/serialization/types/Micros.js +3 -3
- package/serialization/types/PatientAddressCompatibleInput.d.ts +19 -0
- package/serialization/types/{Addres.js → PatientAddressCompatibleInput.js} +7 -6
- package/serialization/types/{PatientAddressCompatible.d.ts → PatientAddressCompatibleOutput.d.ts} +2 -2
- package/serialization/types/{PatientAddressCompatible.js → PatientAddressCompatibleOutput.js} +2 -2
- package/serialization/types/PhysicianCreateRequestSignatureImage.d.ts +1 -7
- package/serialization/types/PhysicianCreateRequestSignatureImage.js +1 -9
- package/serialization/types/Png.d.ts +1 -0
- package/serialization/types/Png.js +1 -0
- package/serialization/types/ProfileInDb.d.ts +1 -1
- package/serialization/types/ProfileInDb.js +1 -1
- package/serialization/types/ProviderLinkResponse.d.ts +1 -1
- package/serialization/types/ProviderLinkResponse.js +1 -1
- package/serialization/types/index.d.ts +59 -91
- package/serialization/types/index.js +59 -91
- package/api/resources/labTests/client/requests/PostOrderFhir.d.ts +0 -9
- package/api/resources/team/client/requests/TeamUpdateSourcePrioritiesRequest.d.ts +0 -12
- package/api/types/Addres.d.ts +0 -12
- package/api/types/AnswerItem.d.ts +0 -6
- package/api/types/CodingItem1.d.ts +0 -7
- package/api/types/High.d.ts +0 -6
- package/api/types/IdentifierItem1.d.ts +0 -7
- package/api/types/InterpretationItem.d.ts +0 -7
- package/api/types/LabResultsFhir.d.ts +0 -9
- package/api/types/Observation.d.ts +0 -16
- package/api/types/ObservationEffectiveDateTime.d.ts +0 -4
- package/api/types/ObservationIssued.d.ts +0 -4
- package/api/types/Patient.d.ts +0 -10
- package/api/types/PatientBirthDate.d.ts +0 -4
- package/api/types/PayorItem.d.ts +0 -6
- package/api/types/Period.d.ts +0 -6
- package/api/types/PostOrderCoverage.d.ts +0 -14
- package/api/types/PostOrderPatient.d.ts +0 -12
- package/api/types/PostOrderPhysician.d.ts +0 -11
- package/api/types/PostOrderQuestionnaireResponse.d.ts +0 -10
- package/api/types/PostOrderServiceRequest.d.ts +0 -13
- package/api/types/PostOrderServiceRequest.js +0 -5
- package/api/types/Priority.d.ts +0 -13
- package/api/types/Priority.js +0 -12
- package/api/types/QualificationItem.d.ts +0 -9
- package/api/types/QualificationItem.js +0 -5
- package/api/types/QuestionaryItem.d.ts +0 -9
- package/api/types/QuestionaryItem.js +0 -5
- package/api/types/ReferenceRangeItem.d.ts +0 -8
- package/api/types/ReferenceRangeItem.js +0 -5
- package/api/types/Relationship.d.ts +0 -7
- package/api/types/Relationship.js +0 -5
- package/api/types/Requester.d.ts +0 -7
- package/api/types/Requester.js +0 -5
- package/api/types/Subject.d.ts +0 -7
- package/api/types/Subject.js +0 -5
- package/api/types/TelecomItem.d.ts +0 -8
- package/api/types/TelecomItem.js +0 -5
- package/api/types/ValueQuantity.d.ts +0 -8
- package/api/types/ValueQuantity.js +0 -5
- package/api/types/ValueRange.d.ts +0 -8
- package/api/types/ValueRange.js +0 -5
- package/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCode.d.ts +0 -7
- package/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCode.js +0 -5
- package/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCodingItem.d.ts +0 -8
- package/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCodingItem.js +0 -5
- package/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItem.d.ts +0 -7
- package/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItem.js +0 -5
- package/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItemResource.d.ts +0 -5
- package/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItemResource.js +0 -5
- package/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirIdentifierItem.d.ts +0 -6
- package/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirIdentifierItem.js +0 -5
- package/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirNameItem.d.ts +0 -6
- package/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirNameItem.js +0 -5
- package/api/types/VitalCoreSchemasRequestSchemasOrdersCode.d.ts +0 -7
- package/api/types/VitalCoreSchemasRequestSchemasOrdersCode.js +0 -5
- package/api/types/VitalCoreSchemasRequestSchemasOrdersCodingItem.d.ts +0 -8
- package/api/types/VitalCoreSchemasRequestSchemasOrdersCodingItem.js +0 -5
- package/api/types/VitalCoreSchemasRequestSchemasOrdersEntryItem.d.ts +0 -7
- package/api/types/VitalCoreSchemasRequestSchemasOrdersEntryItem.js +0 -5
- package/api/types/VitalCoreSchemasRequestSchemasOrdersEntryItemResource.d.ts +0 -5
- package/api/types/VitalCoreSchemasRequestSchemasOrdersEntryItemResource.js +0 -5
- package/api/types/VitalCoreSchemasRequestSchemasOrdersIdentifierItem.d.ts +0 -7
- package/api/types/VitalCoreSchemasRequestSchemasOrdersIdentifierItem.js +0 -5
- package/api/types/VitalCoreSchemasRequestSchemasOrdersNameItem.d.ts +0 -8
- package/api/types/VitalCoreSchemasRequestSchemasOrdersNameItem.js +0 -5
- package/dist/api/resources/labTests/client/requests/PostOrderFhir.d.ts +0 -9
- package/dist/api/resources/labTests/client/requests/PostOrderFhir.js +0 -5
- package/dist/api/resources/team/client/requests/TeamUpdateSourcePrioritiesRequest.d.ts +0 -12
- package/dist/api/resources/team/client/requests/TeamUpdateSourcePrioritiesRequest.js +0 -5
- package/dist/api/types/Addres.d.ts +0 -12
- package/dist/api/types/Addres.js +0 -5
- package/dist/api/types/AnswerItem.d.ts +0 -6
- package/dist/api/types/AnswerItem.js +0 -5
- package/dist/api/types/Beneficiary.d.ts +0 -6
- package/dist/api/types/Beneficiary.js +0 -5
- package/dist/api/types/CodingItem1.d.ts +0 -7
- package/dist/api/types/CodingItem1.js +0 -5
- package/dist/api/types/High.d.ts +0 -6
- package/dist/api/types/High.js +0 -5
- package/dist/api/types/IdentifierItem1.d.ts +0 -7
- package/dist/api/types/IdentifierItem1.js +0 -5
- package/dist/api/types/InterpretationItem.d.ts +0 -7
- package/dist/api/types/InterpretationItem.js +0 -5
- package/dist/api/types/LabResultsFhir.d.ts +0 -9
- package/dist/api/types/LabResultsFhir.js +0 -5
- package/dist/api/types/Low.d.ts +0 -6
- package/dist/api/types/Low.js +0 -5
- package/dist/api/types/Observation.d.ts +0 -16
- package/dist/api/types/Observation.js +0 -5
- package/dist/api/types/ObservationEffectiveDateTime.d.ts +0 -4
- package/dist/api/types/ObservationEffectiveDateTime.js +0 -5
- package/dist/api/types/ObservationIssued.d.ts +0 -4
- package/dist/api/types/ObservationIssued.js +0 -5
- package/dist/api/types/Patient.d.ts +0 -10
- package/dist/api/types/Patient.js +0 -5
- package/dist/api/types/PatientAddressCompatible.js +0 -5
- package/dist/api/types/PatientBirthDate.d.ts +0 -4
- package/dist/api/types/PatientBirthDate.js +0 -5
- package/dist/api/types/PayorItem.d.ts +0 -6
- package/dist/api/types/PayorItem.js +0 -5
- package/dist/api/types/Period.d.ts +0 -6
- package/dist/api/types/Period.js +0 -5
- package/dist/api/types/PostOrderCoverage.d.ts +0 -14
- package/dist/api/types/PostOrderCoverage.js +0 -5
- package/dist/api/types/PostOrderPatient.d.ts +0 -12
- package/dist/api/types/PostOrderPatient.js +0 -5
- package/dist/api/types/PostOrderPatientBirthDate.js +0 -5
- package/dist/api/types/PostOrderPhysician.d.ts +0 -11
- package/dist/api/types/PostOrderPhysician.js +0 -5
- package/dist/api/types/PostOrderQuestionnaireResponse.d.ts +0 -10
- package/dist/api/types/PostOrderQuestionnaireResponse.js +0 -5
- package/dist/api/types/PostOrderServiceRequest.d.ts +0 -13
- package/dist/api/types/PostOrderServiceRequest.js +0 -5
- package/dist/api/types/Priority.d.ts +0 -13
- package/dist/api/types/Priority.js +0 -12
- package/dist/api/types/QualificationItem.d.ts +0 -9
- package/dist/api/types/QualificationItem.js +0 -5
- package/dist/api/types/QuestionaryItem.d.ts +0 -9
- package/dist/api/types/QuestionaryItem.js +0 -5
- package/dist/api/types/ReferenceRangeItem.d.ts +0 -8
- package/dist/api/types/ReferenceRangeItem.js +0 -5
- package/dist/api/types/Relationship.d.ts +0 -7
- package/dist/api/types/Relationship.js +0 -5
- package/dist/api/types/Requester.d.ts +0 -7
- package/dist/api/types/Requester.js +0 -5
- package/dist/api/types/Subject.d.ts +0 -7
- package/dist/api/types/Subject.js +0 -5
- package/dist/api/types/TelecomItem.d.ts +0 -8
- package/dist/api/types/TelecomItem.js +0 -5
- package/dist/api/types/ValueQuantity.d.ts +0 -8
- package/dist/api/types/ValueQuantity.js +0 -5
- package/dist/api/types/ValueRange.d.ts +0 -8
- package/dist/api/types/ValueRange.js +0 -5
- package/dist/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCode.d.ts +0 -7
- package/dist/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCode.js +0 -5
- package/dist/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCodingItem.d.ts +0 -8
- package/dist/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCodingItem.js +0 -5
- package/dist/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItem.d.ts +0 -7
- package/dist/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItem.js +0 -5
- package/dist/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItemResource.d.ts +0 -5
- package/dist/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItemResource.js +0 -5
- package/dist/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirIdentifierItem.d.ts +0 -6
- package/dist/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirIdentifierItem.js +0 -5
- package/dist/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirNameItem.d.ts +0 -6
- package/dist/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirNameItem.js +0 -5
- package/dist/api/types/VitalCoreSchemasRequestSchemasOrdersCode.d.ts +0 -7
- package/dist/api/types/VitalCoreSchemasRequestSchemasOrdersCode.js +0 -5
- package/dist/api/types/VitalCoreSchemasRequestSchemasOrdersCodingItem.d.ts +0 -8
- package/dist/api/types/VitalCoreSchemasRequestSchemasOrdersCodingItem.js +0 -5
- package/dist/api/types/VitalCoreSchemasRequestSchemasOrdersEntryItem.d.ts +0 -7
- package/dist/api/types/VitalCoreSchemasRequestSchemasOrdersEntryItem.js +0 -5
- package/dist/api/types/VitalCoreSchemasRequestSchemasOrdersEntryItemResource.d.ts +0 -5
- package/dist/api/types/VitalCoreSchemasRequestSchemasOrdersEntryItemResource.js +0 -5
- package/dist/api/types/VitalCoreSchemasRequestSchemasOrdersIdentifierItem.d.ts +0 -7
- package/dist/api/types/VitalCoreSchemasRequestSchemasOrdersIdentifierItem.js +0 -5
- package/dist/api/types/VitalCoreSchemasRequestSchemasOrdersNameItem.d.ts +0 -8
- package/dist/api/types/VitalCoreSchemasRequestSchemasOrdersNameItem.js +0 -5
- package/dist/serialization/resources/labTests/client/requests/PostOrderFhir.d.ts +0 -15
- package/dist/serialization/resources/labTests/client/requests/PostOrderFhir.js +0 -36
- package/dist/serialization/types/Addres.d.ts +0 -18
- package/dist/serialization/types/AnswerItem.d.ts +0 -12
- package/dist/serialization/types/Beneficiary.d.ts +0 -12
- package/dist/serialization/types/CodingItem1.d.ts +0 -13
- package/dist/serialization/types/CodingItem1.js +0 -34
- package/dist/serialization/types/High.d.ts +0 -12
- package/dist/serialization/types/IdentifierItem1.d.ts +0 -13
- package/dist/serialization/types/IdentifierItem1.js +0 -34
- package/dist/serialization/types/InterpretationItem.d.ts +0 -13
- package/dist/serialization/types/InterpretationItem.js +0 -34
- package/dist/serialization/types/LabResultsFhir.d.ts +0 -15
- package/dist/serialization/types/LabResultsFhir.js +0 -36
- package/dist/serialization/types/Low.d.ts +0 -12
- package/dist/serialization/types/Observation.d.ts +0 -28
- package/dist/serialization/types/Observation.js +0 -49
- package/dist/serialization/types/ObservationEffectiveDateTime.d.ts +0 -10
- package/dist/serialization/types/ObservationEffectiveDateTime.js +0 -31
- package/dist/serialization/types/ObservationIssued.d.ts +0 -10
- package/dist/serialization/types/ObservationIssued.js +0 -31
- package/dist/serialization/types/Patient.d.ts +0 -18
- package/dist/serialization/types/Patient.js +0 -39
- package/dist/serialization/types/PatientBirthDate.d.ts +0 -10
- package/dist/serialization/types/PatientBirthDate.js +0 -31
- package/dist/serialization/types/PayorItem.d.ts +0 -12
- package/dist/serialization/types/PayorItem.js +0 -33
- package/dist/serialization/types/Period.d.ts +0 -12
- package/dist/serialization/types/Period.js +0 -33
- package/dist/serialization/types/PostOrderCoverage.d.ts +0 -23
- package/dist/serialization/types/PostOrderCoverage.js +0 -44
- package/dist/serialization/types/PostOrderPatient.d.ts +0 -21
- package/dist/serialization/types/PostOrderPatient.js +0 -42
- package/dist/serialization/types/PostOrderPatientBirthDate.d.ts +0 -10
- package/dist/serialization/types/PostOrderPatientBirthDate.js +0 -31
- package/dist/serialization/types/PostOrderPhysician.d.ts +0 -20
- package/dist/serialization/types/PostOrderPhysician.js +0 -41
- package/dist/serialization/types/PostOrderQuestionnaireResponse.d.ts +0 -16
- package/dist/serialization/types/PostOrderQuestionnaireResponse.js +0 -37
- package/dist/serialization/types/PostOrderServiceRequest.d.ts +0 -22
- package/dist/serialization/types/PostOrderServiceRequest.js +0 -43
- package/dist/serialization/types/Priority.d.ts +0 -10
- package/dist/serialization/types/QualificationItem.d.ts +0 -17
- package/dist/serialization/types/QualificationItem.js +0 -38
- package/dist/serialization/types/QuestionaryItem.d.ts +0 -15
- package/dist/serialization/types/QuestionaryItem.js +0 -36
- package/dist/serialization/types/ReferenceRangeItem.d.ts +0 -15
- package/dist/serialization/types/ReferenceRangeItem.js +0 -36
- package/dist/serialization/types/Relationship.d.ts +0 -13
- package/dist/serialization/types/Relationship.js +0 -34
- package/dist/serialization/types/Requester.d.ts +0 -13
- package/dist/serialization/types/Requester.js +0 -34
- package/dist/serialization/types/Subject.d.ts +0 -13
- package/dist/serialization/types/Subject.js +0 -34
- package/dist/serialization/types/TelecomItem.d.ts +0 -14
- package/dist/serialization/types/TelecomItem.js +0 -35
- package/dist/serialization/types/ValueQuantity.d.ts +0 -14
- package/dist/serialization/types/ValueQuantity.js +0 -35
- package/dist/serialization/types/ValueRange.d.ts +0 -14
- package/dist/serialization/types/ValueRange.js +0 -35
- package/dist/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCode.d.ts +0 -13
- package/dist/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCode.js +0 -34
- package/dist/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCodingItem.d.ts +0 -14
- package/dist/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCodingItem.js +0 -35
- package/dist/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItem.d.ts +0 -13
- package/dist/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItem.js +0 -34
- package/dist/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItemResource.d.ts +0 -12
- package/dist/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItemResource.js +0 -33
- package/dist/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirIdentifierItem.d.ts +0 -12
- package/dist/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirIdentifierItem.js +0 -33
- package/dist/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirNameItem.d.ts +0 -12
- package/dist/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirNameItem.js +0 -33
- package/dist/serialization/types/VitalCoreSchemasRequestSchemasOrdersCode.d.ts +0 -13
- package/dist/serialization/types/VitalCoreSchemasRequestSchemasOrdersCode.js +0 -34
- package/dist/serialization/types/VitalCoreSchemasRequestSchemasOrdersCodingItem.d.ts +0 -14
- package/dist/serialization/types/VitalCoreSchemasRequestSchemasOrdersCodingItem.js +0 -35
- package/dist/serialization/types/VitalCoreSchemasRequestSchemasOrdersEntryItem.d.ts +0 -13
- package/dist/serialization/types/VitalCoreSchemasRequestSchemasOrdersEntryItem.js +0 -34
- package/dist/serialization/types/VitalCoreSchemasRequestSchemasOrdersEntryItemResource.d.ts +0 -15
- package/dist/serialization/types/VitalCoreSchemasRequestSchemasOrdersEntryItemResource.js +0 -42
- package/dist/serialization/types/VitalCoreSchemasRequestSchemasOrdersIdentifierItem.d.ts +0 -13
- package/dist/serialization/types/VitalCoreSchemasRequestSchemasOrdersIdentifierItem.js +0 -34
- package/dist/serialization/types/VitalCoreSchemasRequestSchemasOrdersNameItem.d.ts +0 -14
- package/dist/serialization/types/VitalCoreSchemasRequestSchemasOrdersNameItem.js +0 -35
- package/serialization/resources/labTests/client/requests/PostOrderFhir.d.ts +0 -15
- package/serialization/resources/labTests/client/requests/PostOrderFhir.js +0 -36
- package/serialization/types/Addres.d.ts +0 -18
- package/serialization/types/AnswerItem.d.ts +0 -12
- package/serialization/types/AnswerItem.js +0 -33
- package/serialization/types/Beneficiary.d.ts +0 -12
- package/serialization/types/Beneficiary.js +0 -33
- package/serialization/types/CodingItem1.d.ts +0 -13
- package/serialization/types/CodingItem1.js +0 -34
- package/serialization/types/High.d.ts +0 -12
- package/serialization/types/High.js +0 -33
- package/serialization/types/IdentifierItem1.d.ts +0 -13
- package/serialization/types/IdentifierItem1.js +0 -34
- package/serialization/types/InterpretationItem.d.ts +0 -13
- package/serialization/types/InterpretationItem.js +0 -34
- package/serialization/types/LabResultsFhir.d.ts +0 -15
- package/serialization/types/LabResultsFhir.js +0 -36
- package/serialization/types/Low.d.ts +0 -12
- package/serialization/types/Low.js +0 -33
- package/serialization/types/Observation.d.ts +0 -28
- package/serialization/types/Observation.js +0 -49
- package/serialization/types/ObservationEffectiveDateTime.d.ts +0 -10
- package/serialization/types/ObservationEffectiveDateTime.js +0 -31
- package/serialization/types/ObservationIssued.d.ts +0 -10
- package/serialization/types/ObservationIssued.js +0 -31
- package/serialization/types/Patient.d.ts +0 -18
- package/serialization/types/Patient.js +0 -39
- package/serialization/types/PatientBirthDate.d.ts +0 -10
- package/serialization/types/PatientBirthDate.js +0 -31
- package/serialization/types/PayorItem.d.ts +0 -12
- package/serialization/types/PayorItem.js +0 -33
- package/serialization/types/Period.d.ts +0 -12
- package/serialization/types/Period.js +0 -33
- package/serialization/types/PostOrderCoverage.d.ts +0 -23
- package/serialization/types/PostOrderCoverage.js +0 -44
- package/serialization/types/PostOrderPatient.d.ts +0 -21
- package/serialization/types/PostOrderPatient.js +0 -42
- package/serialization/types/PostOrderPatientBirthDate.d.ts +0 -10
- package/serialization/types/PostOrderPatientBirthDate.js +0 -31
- package/serialization/types/PostOrderPhysician.d.ts +0 -20
- package/serialization/types/PostOrderPhysician.js +0 -41
- package/serialization/types/PostOrderQuestionnaireResponse.d.ts +0 -16
- package/serialization/types/PostOrderQuestionnaireResponse.js +0 -37
- package/serialization/types/PostOrderServiceRequest.d.ts +0 -22
- package/serialization/types/PostOrderServiceRequest.js +0 -43
- package/serialization/types/Priority.d.ts +0 -10
- package/serialization/types/QualificationItem.d.ts +0 -17
- package/serialization/types/QualificationItem.js +0 -38
- package/serialization/types/QuestionaryItem.d.ts +0 -15
- package/serialization/types/QuestionaryItem.js +0 -36
- package/serialization/types/ReferenceRangeItem.d.ts +0 -15
- package/serialization/types/ReferenceRangeItem.js +0 -36
- package/serialization/types/Relationship.d.ts +0 -13
- package/serialization/types/Relationship.js +0 -34
- package/serialization/types/Requester.d.ts +0 -13
- package/serialization/types/Requester.js +0 -34
- package/serialization/types/Subject.d.ts +0 -13
- package/serialization/types/Subject.js +0 -34
- package/serialization/types/TelecomItem.d.ts +0 -14
- package/serialization/types/TelecomItem.js +0 -35
- package/serialization/types/ValueQuantity.d.ts +0 -14
- package/serialization/types/ValueQuantity.js +0 -35
- package/serialization/types/ValueRange.d.ts +0 -14
- package/serialization/types/ValueRange.js +0 -35
- package/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCode.d.ts +0 -13
- package/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCode.js +0 -34
- package/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCodingItem.d.ts +0 -14
- package/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCodingItem.js +0 -35
- package/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItem.d.ts +0 -13
- package/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItem.js +0 -34
- package/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItemResource.d.ts +0 -12
- package/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItemResource.js +0 -33
- package/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirIdentifierItem.d.ts +0 -12
- package/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirIdentifierItem.js +0 -33
- package/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirNameItem.d.ts +0 -12
- package/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirNameItem.js +0 -33
- package/serialization/types/VitalCoreSchemasRequestSchemasOrdersCode.d.ts +0 -13
- package/serialization/types/VitalCoreSchemasRequestSchemasOrdersCode.js +0 -34
- package/serialization/types/VitalCoreSchemasRequestSchemasOrdersCodingItem.d.ts +0 -14
- package/serialization/types/VitalCoreSchemasRequestSchemasOrdersCodingItem.js +0 -35
- package/serialization/types/VitalCoreSchemasRequestSchemasOrdersEntryItem.d.ts +0 -13
- package/serialization/types/VitalCoreSchemasRequestSchemasOrdersEntryItem.js +0 -34
- package/serialization/types/VitalCoreSchemasRequestSchemasOrdersEntryItemResource.d.ts +0 -15
- package/serialization/types/VitalCoreSchemasRequestSchemasOrdersEntryItemResource.js +0 -42
- package/serialization/types/VitalCoreSchemasRequestSchemasOrdersIdentifierItem.d.ts +0 -13
- package/serialization/types/VitalCoreSchemasRequestSchemasOrdersIdentifierItem.js +0 -34
- package/serialization/types/VitalCoreSchemasRequestSchemasOrdersNameItem.d.ts +0 -14
- package/serialization/types/VitalCoreSchemasRequestSchemasOrdersNameItem.js +0 -35
- /package/api/{resources/labTests/client/requests/PostOrderFhir.js → types/ClientFacingSampleGroupingKeys.js} +0 -0
- /package/api/{resources/team/client/requests/TeamUpdateSourcePrioritiesRequest.js → types/ClientFacingStreamAltitude.js} +0 -0
- /package/api/types/{Addres.js → ClientFacingStreamCadence.js} +0 -0
- /package/api/types/{AnswerItem.js → ClientFacingStreamDistance.js} +0 -0
- /package/api/types/{Beneficiary.js → ClientFacingStreamHeartrate.js} +0 -0
- /package/api/types/{CodingItem1.js → ClientFacingStreamLat.js} +0 -0
- /package/api/types/{High.js → ClientFacingStreamLng.js} +0 -0
- /package/api/types/{IdentifierItem1.js → ClientFacingStreamPower.js} +0 -0
- /package/api/types/{InterpretationItem.js → ClientFacingStreamResistance.js} +0 -0
- /package/api/types/{LabResultsFhir.js → ClientFacingStreamVelocitySmooth.js} +0 -0
- /package/api/types/{Low.js → PatientAddressCompatibleInput.js} +0 -0
- /package/api/types/{Observation.js → PatientAddressCompatibleOutput.js} +0 -0
- /package/{api/types/ObservationEffectiveDateTime.js → dist/api/types/ClientFacingSampleGroupingKeys.js} +0 -0
- /package/{api/types/ObservationIssued.js → dist/api/types/ClientFacingStreamAltitude.js} +0 -0
- /package/{api/types/Patient.js → dist/api/types/ClientFacingStreamCadence.js} +0 -0
- /package/{api/types/PatientAddressCompatible.js → dist/api/types/ClientFacingStreamDistance.js} +0 -0
- /package/{api/types/PatientBirthDate.js → dist/api/types/ClientFacingStreamHeartrate.js} +0 -0
- /package/{api/types/PayorItem.js → dist/api/types/ClientFacingStreamLat.js} +0 -0
- /package/{api/types/Period.js → dist/api/types/ClientFacingStreamLng.js} +0 -0
- /package/{api/types/PostOrderCoverage.js → dist/api/types/ClientFacingStreamPower.js} +0 -0
- /package/{api/types/PostOrderPatient.js → dist/api/types/ClientFacingStreamResistance.js} +0 -0
- /package/{api/types/PostOrderPatientBirthDate.js → dist/api/types/ClientFacingStreamVelocitySmooth.js} +0 -0
- /package/{api/types/PostOrderPhysician.js → dist/api/types/PatientAddressCompatibleInput.js} +0 -0
- /package/{api/types/PostOrderQuestionnaireResponse.js → dist/api/types/PatientAddressCompatibleOutput.js} +0 -0
@@ -73,7 +73,7 @@ class Activity {
|
|
73
73
|
const _response = yield core.fetcher({
|
74
74
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/activity/${userId}`),
|
75
75
|
method: "GET",
|
76
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
76
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
77
77
|
contentType: "application/json",
|
78
78
|
queryParameters: _queryParams,
|
79
79
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -142,7 +142,7 @@ class Activity {
|
|
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/activity/${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.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
146
146
|
contentType: "application/json",
|
147
147
|
queryParameters: _queryParams,
|
148
148
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -73,7 +73,7 @@ class Body {
|
|
73
73
|
const _response = yield core.fetcher({
|
74
74
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/body/${userId}`),
|
75
75
|
method: "GET",
|
76
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
76
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
77
77
|
contentType: "application/json",
|
78
78
|
queryParameters: _queryParams,
|
79
79
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -142,7 +142,7 @@ class Body {
|
|
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/body/${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.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
146
146
|
contentType: "application/json",
|
147
147
|
queryParameters: _queryParams,
|
148
148
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -67,7 +67,7 @@ class Devices {
|
|
67
67
|
const _response = yield core.fetcher({
|
68
68
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/devices/${userId}/raw`),
|
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.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
71
71
|
contentType: "application/json",
|
72
72
|
queryParameters: _queryParams,
|
73
73
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -63,7 +63,7 @@ class Insurance {
|
|
63
63
|
const _response = yield core.fetcher({
|
64
64
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/insurance/search/payor"),
|
65
65
|
method: "POST",
|
66
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
66
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
67
67
|
contentType: "application/json",
|
68
68
|
body: yield serializers.PayorSearchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
69
69
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -125,7 +125,7 @@ class Insurance {
|
|
125
125
|
const _response = yield core.fetcher({
|
126
126
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/insurance/search/diagnosis"),
|
127
127
|
method: "GET",
|
128
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
128
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
129
129
|
contentType: "application/json",
|
130
130
|
queryParameters: _queryParams,
|
131
131
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -75,7 +75,7 @@ class Introspect {
|
|
75
75
|
const _response = yield core.fetcher({
|
76
76
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/introspect/resources"),
|
77
77
|
method: "GET",
|
78
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
78
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
79
79
|
contentType: "application/json",
|
80
80
|
queryParameters: _queryParams,
|
81
81
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -146,7 +146,7 @@ class Introspect {
|
|
146
146
|
const _response = yield core.fetcher({
|
147
147
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/introspect/historical_pull"),
|
148
148
|
method: "GET",
|
149
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
149
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
150
150
|
contentType: "application/json",
|
151
151
|
queryParameters: _queryParams,
|
152
152
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -189,14 +189,6 @@ export declare class LabTests {
|
|
189
189
|
* await vital.labTests.getResultRaw("order_id")
|
190
190
|
*/
|
191
191
|
getResultRaw(orderId: string, requestOptions?: LabTests.RequestOptions): Promise<Vital.LabResultsRaw>;
|
192
|
-
/**
|
193
|
-
* Return both metadata and raw json test data
|
194
|
-
* @throws {@link Vital.UnprocessableEntityError}
|
195
|
-
*
|
196
|
-
* @example
|
197
|
-
* await vital.labTests.getResultRawFhir("order_id")
|
198
|
-
*/
|
199
|
-
getResultRawFhir(orderId: string, requestOptions?: LabTests.RequestOptions): Promise<Vital.LabResultsFhir>;
|
200
192
|
/**
|
201
193
|
* This endpoint returns the printed labels for the order.
|
202
194
|
* @throws {@link Vital.UnprocessableEntityError}
|
@@ -212,11 +204,6 @@ export declare class LabTests {
|
|
212
204
|
* @throws {@link Vital.UnprocessableEntityError}
|
213
205
|
*/
|
214
206
|
getOrder(orderId: string, requestOptions?: LabTests.RequestOptions): Promise<Vital.ClientFacingOrder>;
|
215
|
-
/**
|
216
|
-
* POST create new order
|
217
|
-
* @throws {@link Vital.UnprocessableEntityError}
|
218
|
-
*/
|
219
|
-
createOrderFhir(request: Vital.PostOrderFhir, requestOptions?: LabTests.RequestOptions): Promise<Vital.PostOrderResponse>;
|
220
207
|
/**
|
221
208
|
* POST create new order
|
222
209
|
* @throws {@link Vital.UnprocessableEntityError}
|
@@ -61,7 +61,7 @@ class LabTests {
|
|
61
61
|
const _response = yield core.fetcher({
|
62
62
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/lab_tests"),
|
63
63
|
method: "GET",
|
64
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
64
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
65
65
|
contentType: "application/json",
|
66
66
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
67
67
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
@@ -114,7 +114,7 @@ class LabTests {
|
|
114
114
|
const _response = yield core.fetcher({
|
115
115
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/lab_tests"),
|
116
116
|
method: "POST",
|
117
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
117
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
118
118
|
contentType: "application/json",
|
119
119
|
body: yield serializers.CreateLabTestRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
120
120
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -191,7 +191,7 @@ class LabTests {
|
|
191
191
|
const _response = yield core.fetcher({
|
192
192
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/lab_tests/markers"),
|
193
193
|
method: "GET",
|
194
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
194
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
195
195
|
contentType: "application/json",
|
196
196
|
queryParameters: _queryParams,
|
197
197
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -256,7 +256,7 @@ class LabTests {
|
|
256
256
|
const _response = yield core.fetcher({
|
257
257
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/lab_tests/${labTestId}/markers`),
|
258
258
|
method: "GET",
|
259
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
259
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
260
260
|
contentType: "application/json",
|
261
261
|
queryParameters: _queryParams,
|
262
262
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -314,7 +314,7 @@ class LabTests {
|
|
314
314
|
const _response = yield core.fetcher({
|
315
315
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/lab_tests/${labId}/markers/${providerId}`),
|
316
316
|
method: "GET",
|
317
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
317
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
318
318
|
contentType: "application/json",
|
319
319
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
320
320
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
@@ -370,7 +370,7 @@ class LabTests {
|
|
370
370
|
const _response = yield core.fetcher({
|
371
371
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/lab_tests/labs"),
|
372
372
|
method: "GET",
|
373
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
373
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
374
374
|
contentType: "application/json",
|
375
375
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
376
376
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
@@ -417,7 +417,7 @@ class LabTests {
|
|
417
417
|
const _response = yield core.fetcher({
|
418
418
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/lab_tests/${labTestId}`),
|
419
419
|
method: "GET",
|
420
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
420
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
421
421
|
contentType: "application/json",
|
422
422
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
423
423
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
@@ -480,7 +480,7 @@ class LabTests {
|
|
480
480
|
const _response = yield core.fetcher({
|
481
481
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/order/phlebotomy/appointment/availability"),
|
482
482
|
method: "POST",
|
483
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
483
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
484
484
|
contentType: "application/json",
|
485
485
|
body: yield serializers.UsAddress.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
486
486
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -540,7 +540,7 @@ class LabTests {
|
|
540
540
|
const _response = yield core.fetcher({
|
541
541
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}/phlebotomy/appointment/book`),
|
542
542
|
method: "POST",
|
543
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
543
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
544
544
|
contentType: "application/json",
|
545
545
|
body: yield serializers.AppointmentBookingRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
546
546
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -606,7 +606,7 @@ class LabTests {
|
|
606
606
|
const _response = yield core.fetcher({
|
607
607
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}/phlebotomy/appointment/request`),
|
608
608
|
method: "POST",
|
609
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
609
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
610
610
|
contentType: "application/json",
|
611
611
|
body: yield serializers.RequestAppointmentRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
612
612
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -666,7 +666,7 @@ class LabTests {
|
|
666
666
|
const _response = yield core.fetcher({
|
667
667
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}/phlebotomy/appointment/reschedule`),
|
668
668
|
method: "PATCH",
|
669
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
669
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
670
670
|
contentType: "application/json",
|
671
671
|
body: yield serializers.AppointmentRescheduleRequest.jsonOrThrow(request, {
|
672
672
|
unrecognizedObjectKeys: "strip",
|
@@ -728,7 +728,7 @@ class LabTests {
|
|
728
728
|
const _response = yield core.fetcher({
|
729
729
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}/phlebotomy/appointment/cancel`),
|
730
730
|
method: "PATCH",
|
731
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
731
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
732
732
|
contentType: "application/json",
|
733
733
|
body: yield serializers.AppointmentCancelRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
734
734
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -785,7 +785,7 @@ class LabTests {
|
|
785
785
|
const _response = yield core.fetcher({
|
786
786
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/order/phlebotomy/appointment/cancellation-reasons"),
|
787
787
|
method: "GET",
|
788
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
788
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
789
789
|
contentType: "application/json",
|
790
790
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
791
791
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
@@ -832,7 +832,7 @@ class LabTests {
|
|
832
832
|
const _response = yield core.fetcher({
|
833
833
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}/phlebotomy/appointment`),
|
834
834
|
method: "GET",
|
835
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
835
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
836
836
|
contentType: "application/json",
|
837
837
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
838
838
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
@@ -898,7 +898,7 @@ class LabTests {
|
|
898
898
|
const _response = yield core.fetcher({
|
899
899
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/order/area/info"),
|
900
900
|
method: "GET",
|
901
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
901
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
902
902
|
contentType: "application/json",
|
903
903
|
queryParameters: _queryParams,
|
904
904
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -953,7 +953,7 @@ class LabTests {
|
|
953
953
|
const _response = yield core.fetcher({
|
954
954
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}/result/pdf`),
|
955
955
|
method: "GET",
|
956
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
956
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
957
957
|
contentType: "application/json",
|
958
958
|
responseType: "streaming",
|
959
959
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1007,7 +1007,7 @@ class LabTests {
|
|
1007
1007
|
const _response = yield core.fetcher({
|
1008
1008
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}/result/metadata`),
|
1009
1009
|
method: "GET",
|
1010
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1010
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1011
1011
|
contentType: "application/json",
|
1012
1012
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
1013
1013
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
@@ -1064,7 +1064,7 @@ class LabTests {
|
|
1064
1064
|
const _response = yield core.fetcher({
|
1065
1065
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}/result`),
|
1066
1066
|
method: "GET",
|
1067
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1067
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1068
1068
|
contentType: "application/json",
|
1069
1069
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
1070
1070
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
@@ -1108,63 +1108,6 @@ class LabTests {
|
|
1108
1108
|
}
|
1109
1109
|
});
|
1110
1110
|
}
|
1111
|
-
/**
|
1112
|
-
* Return both metadata and raw json test data
|
1113
|
-
* @throws {@link Vital.UnprocessableEntityError}
|
1114
|
-
*
|
1115
|
-
* @example
|
1116
|
-
* await vital.labTests.getResultRawFhir("order_id")
|
1117
|
-
*/
|
1118
|
-
getResultRawFhir(orderId, requestOptions) {
|
1119
|
-
var _a;
|
1120
|
-
return __awaiter(this, void 0, void 0, function* () {
|
1121
|
-
const _response = yield core.fetcher({
|
1122
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}/result/fhir`),
|
1123
|
-
method: "GET",
|
1124
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1125
|
-
contentType: "application/json",
|
1126
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
1127
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
1128
|
-
});
|
1129
|
-
if (_response.ok) {
|
1130
|
-
return yield serializers.LabResultsFhir.parseOrThrow(_response.body, {
|
1131
|
-
unrecognizedObjectKeys: "passthrough",
|
1132
|
-
allowUnrecognizedUnionMembers: true,
|
1133
|
-
allowUnrecognizedEnumValues: true,
|
1134
|
-
breadcrumbsPrefix: ["response"],
|
1135
|
-
});
|
1136
|
-
}
|
1137
|
-
if (_response.error.reason === "status-code") {
|
1138
|
-
switch (_response.error.statusCode) {
|
1139
|
-
case 422:
|
1140
|
-
throw new Vital.UnprocessableEntityError(yield serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
1141
|
-
unrecognizedObjectKeys: "passthrough",
|
1142
|
-
allowUnrecognizedUnionMembers: true,
|
1143
|
-
allowUnrecognizedEnumValues: true,
|
1144
|
-
breadcrumbsPrefix: ["response"],
|
1145
|
-
}));
|
1146
|
-
default:
|
1147
|
-
throw new errors.VitalError({
|
1148
|
-
statusCode: _response.error.statusCode,
|
1149
|
-
body: _response.error.body,
|
1150
|
-
});
|
1151
|
-
}
|
1152
|
-
}
|
1153
|
-
switch (_response.error.reason) {
|
1154
|
-
case "non-json":
|
1155
|
-
throw new errors.VitalError({
|
1156
|
-
statusCode: _response.error.statusCode,
|
1157
|
-
body: _response.error.rawBody,
|
1158
|
-
});
|
1159
|
-
case "timeout":
|
1160
|
-
throw new errors.VitalTimeoutError();
|
1161
|
-
case "unknown":
|
1162
|
-
throw new errors.VitalError({
|
1163
|
-
message: _response.error.errorMessage,
|
1164
|
-
});
|
1165
|
-
}
|
1166
|
-
});
|
1167
|
-
}
|
1168
1111
|
/**
|
1169
1112
|
* This endpoint returns the printed labels for the order.
|
1170
1113
|
* @throws {@link Vital.UnprocessableEntityError}
|
@@ -1181,7 +1124,7 @@ class LabTests {
|
|
1181
1124
|
const _response = yield core.fetcher({
|
1182
1125
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}/labels/pdf`),
|
1183
1126
|
method: "GET",
|
1184
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1127
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1185
1128
|
contentType: "application/json",
|
1186
1129
|
queryParameters: _queryParams,
|
1187
1130
|
responseType: "streaming",
|
@@ -1232,7 +1175,7 @@ class LabTests {
|
|
1232
1175
|
const _response = yield core.fetcher({
|
1233
1176
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}/requisition/pdf`),
|
1234
1177
|
method: "GET",
|
1235
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1178
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1236
1179
|
contentType: "application/json",
|
1237
1180
|
responseType: "streaming",
|
1238
1181
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1282,7 +1225,7 @@ class LabTests {
|
|
1282
1225
|
const _response = yield core.fetcher({
|
1283
1226
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}`),
|
1284
1227
|
method: "GET",
|
1285
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1228
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1286
1229
|
contentType: "application/json",
|
1287
1230
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
1288
1231
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
@@ -1326,61 +1269,6 @@ class LabTests {
|
|
1326
1269
|
}
|
1327
1270
|
});
|
1328
1271
|
}
|
1329
|
-
/**
|
1330
|
-
* POST create new order
|
1331
|
-
* @throws {@link Vital.UnprocessableEntityError}
|
1332
|
-
*/
|
1333
|
-
createOrderFhir(request, requestOptions) {
|
1334
|
-
var _a;
|
1335
|
-
return __awaiter(this, void 0, void 0, function* () {
|
1336
|
-
const _response = yield core.fetcher({
|
1337
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/order/fhir"),
|
1338
|
-
method: "POST",
|
1339
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1340
|
-
contentType: "application/json",
|
1341
|
-
body: yield serializers.PostOrderFhir.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
1342
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
1343
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
1344
|
-
});
|
1345
|
-
if (_response.ok) {
|
1346
|
-
return yield serializers.PostOrderResponse.parseOrThrow(_response.body, {
|
1347
|
-
unrecognizedObjectKeys: "passthrough",
|
1348
|
-
allowUnrecognizedUnionMembers: true,
|
1349
|
-
allowUnrecognizedEnumValues: true,
|
1350
|
-
breadcrumbsPrefix: ["response"],
|
1351
|
-
});
|
1352
|
-
}
|
1353
|
-
if (_response.error.reason === "status-code") {
|
1354
|
-
switch (_response.error.statusCode) {
|
1355
|
-
case 422:
|
1356
|
-
throw new Vital.UnprocessableEntityError(yield serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
1357
|
-
unrecognizedObjectKeys: "passthrough",
|
1358
|
-
allowUnrecognizedUnionMembers: true,
|
1359
|
-
allowUnrecognizedEnumValues: true,
|
1360
|
-
breadcrumbsPrefix: ["response"],
|
1361
|
-
}));
|
1362
|
-
default:
|
1363
|
-
throw new errors.VitalError({
|
1364
|
-
statusCode: _response.error.statusCode,
|
1365
|
-
body: _response.error.body,
|
1366
|
-
});
|
1367
|
-
}
|
1368
|
-
}
|
1369
|
-
switch (_response.error.reason) {
|
1370
|
-
case "non-json":
|
1371
|
-
throw new errors.VitalError({
|
1372
|
-
statusCode: _response.error.statusCode,
|
1373
|
-
body: _response.error.rawBody,
|
1374
|
-
});
|
1375
|
-
case "timeout":
|
1376
|
-
throw new errors.VitalTimeoutError();
|
1377
|
-
case "unknown":
|
1378
|
-
throw new errors.VitalError({
|
1379
|
-
message: _response.error.errorMessage,
|
1380
|
-
});
|
1381
|
-
}
|
1382
|
-
});
|
1383
|
-
}
|
1384
1272
|
/**
|
1385
1273
|
* POST create new order
|
1386
1274
|
* @throws {@link Vital.UnprocessableEntityError}
|
@@ -1391,7 +1279,7 @@ class LabTests {
|
|
1391
1279
|
const _response = yield core.fetcher({
|
1392
1280
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/order"),
|
1393
1281
|
method: "POST",
|
1394
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1282
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1395
1283
|
contentType: "application/json",
|
1396
1284
|
body: yield serializers.CreateOrderRequestCompatible.jsonOrThrow(request, {
|
1397
1285
|
unrecognizedObjectKeys: "strip",
|
@@ -1448,7 +1336,7 @@ class LabTests {
|
|
1448
1336
|
const _response = yield core.fetcher({
|
1449
1337
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}/cancel`),
|
1450
1338
|
method: "POST",
|
1451
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1339
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1452
1340
|
contentType: "application/json",
|
1453
1341
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
1454
1342
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
@@ -1513,7 +1401,7 @@ class LabTests {
|
|
1513
1401
|
const _response = yield core.fetcher({
|
1514
1402
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}/test`),
|
1515
1403
|
method: "POST",
|
1516
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1404
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1517
1405
|
contentType: "application/json",
|
1518
1406
|
queryParameters: _queryParams,
|
1519
1407
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1594,7 +1482,7 @@ class LabTests {
|
|
1594
1482
|
const _response = yield core.fetcher({
|
1595
1483
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/orders"),
|
1596
1484
|
method: "GET",
|
1597
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1485
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1598
1486
|
contentType: "application/json",
|
1599
1487
|
queryParameters: _queryParams,
|
1600
1488
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -10,9 +10,8 @@ export interface CreateOrderRequestCompatible {
|
|
10
10
|
/** Defines whether order is priority or not. For some labs, this refers to a STAT order. */
|
11
11
|
priority?: boolean;
|
12
12
|
consents?: Vital.Consent[];
|
13
|
-
/** Schedule an Order to be processed in a future date. */
|
14
13
|
activateBy?: string;
|
15
14
|
aoeAnswers?: Vital.AoEAnswer[];
|
16
15
|
patientDetails: Vital.PatientDetails;
|
17
|
-
patientAddress: Vital.
|
16
|
+
patientAddress: Vital.PatientAddressCompatibleInput;
|
18
17
|
}
|
@@ -7,7 +7,6 @@ export { AppointmentRescheduleRequest } from "./AppointmentRescheduleRequest";
|
|
7
7
|
export { AppointmentCancelRequest } from "./AppointmentCancelRequest";
|
8
8
|
export { LabTestsGetAreaInfoRequest } from "./LabTestsGetAreaInfoRequest";
|
9
9
|
export { LabTestsGetLabelsPdfRequest } from "./LabTestsGetLabelsPdfRequest";
|
10
|
-
export { PostOrderFhir } from "./PostOrderFhir";
|
11
10
|
export { CreateOrderRequestCompatible } from "./CreateOrderRequestCompatible";
|
12
11
|
export { LabTestsSimulateOrderProcessRequest } from "./LabTestsSimulateOrderProcessRequest";
|
13
12
|
export { LabTestsGetOrdersRequest } from "./LabTestsGetOrdersRequest";
|