@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
@@ -80,7 +80,7 @@ class Link {
|
|
80
80
|
const _response = yield core.fetcher({
|
81
81
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/link/token"),
|
82
82
|
method: "POST",
|
83
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
83
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
84
84
|
contentType: "application/json",
|
85
85
|
body: yield serializers.LinkTokenExchange.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
86
86
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -139,7 +139,7 @@ class Link {
|
|
139
139
|
const _response = yield core.fetcher({
|
140
140
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/link/token/isValid"),
|
141
141
|
method: "POST",
|
142
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
142
|
+
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())),
|
143
143
|
contentType: "application/json",
|
144
144
|
body: yield serializers.LinkTokenBase.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
145
145
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -205,7 +205,7 @@ class Link {
|
|
205
205
|
const _response = yield core.fetcher({
|
206
206
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/link/code/create"),
|
207
207
|
method: "POST",
|
208
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
208
|
+
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())),
|
209
209
|
contentType: "application/json",
|
210
210
|
queryParameters: _queryParams,
|
211
211
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -267,7 +267,7 @@ class Link {
|
|
267
267
|
const _response = yield core.fetcher({
|
268
268
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/link/start"),
|
269
269
|
method: "POST",
|
270
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
270
|
+
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())),
|
271
271
|
contentType: "application/json",
|
272
272
|
body: yield serializers.BeginLinkTokenRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
273
273
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -327,7 +327,7 @@ class Link {
|
|
327
327
|
const _response = yield core.fetcher({
|
328
328
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/link/state"),
|
329
329
|
method: "GET",
|
330
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
330
|
+
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, "x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined }, (yield this._getCustomAuthorizationHeaders())),
|
331
331
|
contentType: "application/json",
|
332
332
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
333
333
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
@@ -389,7 +389,7 @@ class Link {
|
|
389
389
|
const _response = yield core.fetcher({
|
390
390
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/link/auth/email"),
|
391
391
|
method: "POST",
|
392
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
392
|
+
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, "x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined }, (yield this._getCustomAuthorizationHeaders())),
|
393
393
|
contentType: "application/json",
|
394
394
|
body: yield serializers.EmailAuthLink.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }),
|
395
395
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -453,7 +453,7 @@ class Link {
|
|
453
453
|
const _response = yield core.fetcher({
|
454
454
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/link/auth"),
|
455
455
|
method: "POST",
|
456
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
456
|
+
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, "x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined }, (yield this._getCustomAuthorizationHeaders())),
|
457
457
|
contentType: "application/json",
|
458
458
|
body: yield serializers.PasswordAuthLink.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }),
|
459
459
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -512,7 +512,7 @@ class Link {
|
|
512
512
|
const _response = yield core.fetcher({
|
513
513
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/link/provider/oauth/${yield serializers.OAuthProviders.jsonOrThrow(oauthProvider)}`),
|
514
514
|
method: "GET",
|
515
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
515
|
+
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, "x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined }, (yield this._getCustomAuthorizationHeaders())),
|
516
516
|
contentType: "application/json",
|
517
517
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
518
518
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
@@ -573,7 +573,7 @@ class Link {
|
|
573
573
|
const _response = yield core.fetcher({
|
574
574
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/link/provider/password/${yield serializers.PasswordProviders.jsonOrThrow(provider)}`),
|
575
575
|
method: "POST",
|
576
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
576
|
+
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, "x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined }, (yield this._getCustomAuthorizationHeaders())),
|
577
577
|
contentType: "application/json",
|
578
578
|
body: yield serializers.IndividualProviderData.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }),
|
579
579
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -634,7 +634,7 @@ class Link {
|
|
634
634
|
const _response = yield core.fetcher({
|
635
635
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/link/provider/password/${yield serializers.PasswordProviders.jsonOrThrow(provider)}/complete_mfa`),
|
636
636
|
method: "POST",
|
637
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
637
|
+
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, "x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined }, (yield this._getCustomAuthorizationHeaders())),
|
638
638
|
contentType: "application/json",
|
639
639
|
body: yield serializers.CompletePasswordProviderMfaBody.jsonOrThrow(_body, {
|
640
640
|
unrecognizedObjectKeys: "strip",
|
@@ -697,7 +697,7 @@ class Link {
|
|
697
697
|
const _response = yield core.fetcher({
|
698
698
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/link/provider/email/${yield serializers.EmailProviders.jsonOrThrow(provider)}`),
|
699
699
|
method: "POST",
|
700
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
700
|
+
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, "x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined }, (yield this._getCustomAuthorizationHeaders())),
|
701
701
|
contentType: "application/json",
|
702
702
|
body: yield serializers.EmailProviderAuthLink.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }),
|
703
703
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -756,7 +756,7 @@ class Link {
|
|
756
756
|
const _response = yield core.fetcher({
|
757
757
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/link/providers"),
|
758
758
|
method: "GET",
|
759
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
759
|
+
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, "x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined }, (yield this._getCustomAuthorizationHeaders())),
|
760
760
|
contentType: "application/json",
|
761
761
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
762
762
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
@@ -814,7 +814,7 @@ class Link {
|
|
814
814
|
const _response = yield core.fetcher({
|
815
815
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/link/provider/manual/${yield serializers.ManualProviders.jsonOrThrow(provider)}`),
|
816
816
|
method: "POST",
|
817
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
817
|
+
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())),
|
818
818
|
contentType: "application/json",
|
819
819
|
body: yield serializers.ManualConnectionData.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
820
820
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -875,7 +875,7 @@ class Link {
|
|
875
875
|
const _response = yield core.fetcher({
|
876
876
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/link/connect/demo"),
|
877
877
|
method: "POST",
|
878
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
878
|
+
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())),
|
879
879
|
contentType: "application/json",
|
880
880
|
body: yield serializers.DemoConnectionCreationPayload.jsonOrThrow(request, {
|
881
881
|
unrecognizedObjectKeys: "strip",
|
@@ -73,7 +73,7 @@ class Meal {
|
|
73
73
|
const _response = yield core.fetcher({
|
74
74
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/meal/${userId}`),
|
75
75
|
method: "GET",
|
76
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
76
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.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,
|
@@ -67,7 +67,7 @@ class Profile {
|
|
67
67
|
const _response = yield core.fetcher({
|
68
68
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/profile/${userId}`),
|
69
69
|
method: "GET",
|
70
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
70
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.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,
|
@@ -130,7 +130,7 @@ class Profile {
|
|
130
130
|
const _response = yield core.fetcher({
|
131
131
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/profile/${userId}/raw`),
|
132
132
|
method: "GET",
|
133
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
133
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
134
134
|
contentType: "application/json",
|
135
135
|
queryParameters: _queryParams,
|
136
136
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -67,7 +67,7 @@ class Providers {
|
|
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/providers"),
|
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,
|
@@ -73,7 +73,7 @@ class Sleep {
|
|
73
73
|
const _response = yield core.fetcher({
|
74
74
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/sleep/${userId}`),
|
75
75
|
method: "GET",
|
76
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
76
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.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 Sleep {
|
|
142
142
|
const _response = yield core.fetcher({
|
143
143
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/sleep/${userId}/stream`),
|
144
144
|
method: "GET",
|
145
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
145
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.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,
|
@@ -211,7 +211,7 @@ class Sleep {
|
|
211
211
|
const _response = yield core.fetcher({
|
212
212
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/sleep/${userId}/raw`),
|
213
213
|
method: "GET",
|
214
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
214
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
215
215
|
contentType: "application/json",
|
216
216
|
queryParameters: _queryParams,
|
217
217
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -269,7 +269,7 @@ class Sleep {
|
|
269
269
|
const _response = yield core.fetcher({
|
270
270
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/sleep/${sleepId}/stream`),
|
271
271
|
method: "GET",
|
272
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
272
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
273
273
|
contentType: "application/json",
|
274
274
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
275
275
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
@@ -52,14 +52,11 @@ export declare class Team {
|
|
52
52
|
getSourcePriorities(request?: Vital.TeamGetSourcePrioritiesRequest, requestOptions?: Team.RequestOptions): Promise<Record<string, unknown>[]>;
|
53
53
|
/**
|
54
54
|
* Patch source priorities.
|
55
|
-
* @throws {@link Vital.UnprocessableEntityError}
|
56
55
|
*
|
57
56
|
* @example
|
58
|
-
* await vital.team.updateSourcePriorities(
|
59
|
-
* teamId: "team_id"
|
60
|
-
* })
|
57
|
+
* await vital.team.updateSourcePriorities()
|
61
58
|
*/
|
62
|
-
updateSourcePriorities(
|
59
|
+
updateSourcePriorities(requestOptions?: Team.RequestOptions): Promise<Record<string, unknown>[]>;
|
63
60
|
/**
|
64
61
|
* @throws {@link Vital.UnprocessableEntityError}
|
65
62
|
*
|
@@ -63,7 +63,7 @@ class Team {
|
|
63
63
|
const _response = yield core.fetcher({
|
64
64
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/team/link/config"),
|
65
65
|
method: "GET",
|
66
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
66
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined }, (yield this._getCustomAuthorizationHeaders())),
|
67
67
|
contentType: "application/json",
|
68
68
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
69
69
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
@@ -120,7 +120,7 @@ class Team {
|
|
120
120
|
const _response = yield core.fetcher({
|
121
121
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/team/${teamId}`),
|
122
122
|
method: "GET",
|
123
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
123
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
124
124
|
contentType: "application/json",
|
125
125
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
126
126
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
@@ -182,7 +182,7 @@ class Team {
|
|
182
182
|
const _response = yield core.fetcher({
|
183
183
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/team/users/search"),
|
184
184
|
method: "GET",
|
185
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
185
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
186
186
|
contentType: "application/json",
|
187
187
|
queryParameters: _queryParams,
|
188
188
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -233,7 +233,7 @@ class Team {
|
|
233
233
|
const _response = yield core.fetcher({
|
234
234
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/team/svix/url"),
|
235
235
|
method: "GET",
|
236
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
236
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
237
237
|
contentType: "application/json",
|
238
238
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
239
239
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
@@ -285,7 +285,7 @@ class Team {
|
|
285
285
|
const _response = yield core.fetcher({
|
286
286
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/team/source/priorities"),
|
287
287
|
method: "GET",
|
288
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
288
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
289
289
|
contentType: "application/json",
|
290
290
|
queryParameters: _queryParams,
|
291
291
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -332,25 +332,18 @@ class Team {
|
|
332
332
|
}
|
333
333
|
/**
|
334
334
|
* Patch source priorities.
|
335
|
-
* @throws {@link Vital.UnprocessableEntityError}
|
336
335
|
*
|
337
336
|
* @example
|
338
|
-
* await vital.team.updateSourcePriorities(
|
339
|
-
* teamId: "team_id"
|
340
|
-
* })
|
337
|
+
* await vital.team.updateSourcePriorities()
|
341
338
|
*/
|
342
|
-
updateSourcePriorities(
|
339
|
+
updateSourcePriorities(requestOptions) {
|
343
340
|
var _a;
|
344
341
|
return __awaiter(this, void 0, void 0, function* () {
|
345
|
-
const { teamId } = request;
|
346
|
-
const _queryParams = {};
|
347
|
-
_queryParams["team_id"] = teamId;
|
348
342
|
const _response = yield core.fetcher({
|
349
343
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/team/source/priorities"),
|
350
344
|
method: "PATCH",
|
351
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
345
|
+
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())),
|
352
346
|
contentType: "application/json",
|
353
|
-
queryParameters: _queryParams,
|
354
347
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
355
348
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
356
349
|
});
|
@@ -363,20 +356,10 @@ class Team {
|
|
363
356
|
});
|
364
357
|
}
|
365
358
|
if (_response.error.reason === "status-code") {
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
allowUnrecognizedUnionMembers: true,
|
371
|
-
allowUnrecognizedEnumValues: true,
|
372
|
-
breadcrumbsPrefix: ["response"],
|
373
|
-
}));
|
374
|
-
default:
|
375
|
-
throw new errors.VitalError({
|
376
|
-
statusCode: _response.error.statusCode,
|
377
|
-
body: _response.error.body,
|
378
|
-
});
|
379
|
-
}
|
359
|
+
throw new errors.VitalError({
|
360
|
+
statusCode: _response.error.statusCode,
|
361
|
+
body: _response.error.body,
|
362
|
+
});
|
380
363
|
}
|
381
364
|
switch (_response.error.reason) {
|
382
365
|
case "non-json":
|
@@ -405,7 +388,7 @@ class Team {
|
|
405
388
|
const _response = yield core.fetcher({
|
406
389
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/team/${teamId}/physicians`),
|
407
390
|
method: "GET",
|
408
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
391
|
+
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())),
|
409
392
|
contentType: "application/json",
|
410
393
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
411
394
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
@@ -1,4 +1,3 @@
|
|
1
1
|
export { TeamGetLinkConfigRequest } from "./TeamGetLinkConfigRequest";
|
2
2
|
export { TeamGetUserByIdRequest } from "./TeamGetUserByIdRequest";
|
3
3
|
export { TeamGetSourcePrioritiesRequest } from "./TeamGetSourcePrioritiesRequest";
|
4
|
-
export { TeamUpdateSourcePrioritiesRequest } from "./TeamUpdateSourcePrioritiesRequest";
|
@@ -58,7 +58,7 @@ class Testkit {
|
|
58
58
|
const _response = yield core.fetcher({
|
59
59
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/order/testkit/register"),
|
60
60
|
method: "POST",
|
61
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
61
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
62
62
|
contentType: "application/json",
|
63
63
|
body: yield serializers.RegisterTestkitRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
64
64
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -113,7 +113,7 @@ class Testkit {
|
|
113
113
|
const _response = yield core.fetcher({
|
114
114
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/order/testkit"),
|
115
115
|
method: "POST",
|
116
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
116
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
117
117
|
contentType: "application/json",
|
118
118
|
body: yield serializers.CreateRegistrableTestkitOrderRequest.jsonOrThrow(request, {
|
119
119
|
unrecognizedObjectKeys: "strip",
|
@@ -6,7 +6,7 @@ export interface RegisterTestkitRequest {
|
|
6
6
|
userId: string;
|
7
7
|
sampleId: string;
|
8
8
|
patientDetails: Vital.PatientDetails;
|
9
|
-
patientAddress: Vital.
|
9
|
+
patientAddress: Vital.PatientAddressCompatibleInput;
|
10
10
|
physician?: Vital.PhysicianCreateRequestBase;
|
11
11
|
healthInsurance?: Vital.HealthInsuranceCreateRequest;
|
12
12
|
consents?: Vital.Consent[];
|
@@ -70,7 +70,7 @@ class User {
|
|
70
70
|
const _response = yield core.fetcher({
|
71
71
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/user"),
|
72
72
|
method: "GET",
|
73
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
73
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
74
74
|
contentType: "application/json",
|
75
75
|
queryParameters: _queryParams,
|
76
76
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -131,7 +131,7 @@ class User {
|
|
131
131
|
const _response = yield core.fetcher({
|
132
132
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/user"),
|
133
133
|
method: "POST",
|
134
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
134
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
135
135
|
contentType: "application/json",
|
136
136
|
body: yield serializers.UserCreateBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
137
137
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -190,7 +190,7 @@ class User {
|
|
190
190
|
const _response = yield core.fetcher({
|
191
191
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/user/metrics"),
|
192
192
|
method: "GET",
|
193
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
193
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
194
194
|
contentType: "application/json",
|
195
195
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
196
196
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
@@ -236,7 +236,7 @@ class User {
|
|
236
236
|
const _response = yield core.fetcher({
|
237
237
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/user/${userId}/sign_in_token`),
|
238
238
|
method: "POST",
|
239
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
239
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
240
240
|
contentType: "application/json",
|
241
241
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
242
242
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
@@ -293,7 +293,7 @@ class User {
|
|
293
293
|
const _response = yield core.fetcher({
|
294
294
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/user/providers/${userId}`),
|
295
295
|
method: "GET",
|
296
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
296
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
297
297
|
contentType: "application/json",
|
298
298
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
299
299
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
@@ -350,7 +350,7 @@ class User {
|
|
350
350
|
const _response = yield core.fetcher({
|
351
351
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/user/${userId}`),
|
352
352
|
method: "GET",
|
353
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
353
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
354
354
|
contentType: "application/json",
|
355
355
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
356
356
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
@@ -406,7 +406,7 @@ class User {
|
|
406
406
|
const _response = yield core.fetcher({
|
407
407
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/user/${userId}`),
|
408
408
|
method: "DELETE",
|
409
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
409
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
410
410
|
contentType: "application/json",
|
411
411
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
412
412
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
@@ -462,7 +462,7 @@ class User {
|
|
462
462
|
const _response = yield core.fetcher({
|
463
463
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/user/${userId}`),
|
464
464
|
method: "PATCH",
|
465
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
465
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
466
466
|
contentType: "application/json",
|
467
467
|
body: yield serializers.UserPatchBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
468
468
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -515,7 +515,7 @@ class User {
|
|
515
515
|
const _response = yield core.fetcher({
|
516
516
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/user/resolve/${clientUserId}`),
|
517
517
|
method: "GET",
|
518
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
518
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
519
519
|
contentType: "application/json",
|
520
520
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
521
521
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
@@ -571,7 +571,7 @@ class User {
|
|
571
571
|
const _response = yield core.fetcher({
|
572
572
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/user/${userId}/${yield serializers.Providers.jsonOrThrow(provider)}`),
|
573
573
|
method: "DELETE",
|
574
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
574
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
575
575
|
contentType: "application/json",
|
576
576
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
577
577
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
@@ -635,7 +635,7 @@ class User {
|
|
635
635
|
const _response = yield core.fetcher({
|
636
636
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/user/undo_delete"),
|
637
637
|
method: "POST",
|
638
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
638
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
639
639
|
contentType: "application/json",
|
640
640
|
queryParameters: _queryParams,
|
641
641
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -699,7 +699,7 @@ class User {
|
|
699
699
|
const _response = yield core.fetcher({
|
700
700
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/user/refresh/${userId}`),
|
701
701
|
method: "POST",
|
702
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
702
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
703
703
|
contentType: "application/json",
|
704
704
|
queryParameters: _queryParams,
|
705
705
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -10,16 +10,8 @@
|
|
10
10
|
export interface UserCreateBody {
|
11
11
|
/** A unique ID representing the end user. Typically this will be a user ID from your application. Personally identifiable information, such as an email address or phone number, should not be used in the client_user_id. */
|
12
12
|
clientUserId: string;
|
13
|
-
/**
|
14
|
-
* Fallback time zone of the user, in the form of a valid IANA tzdatabase identifier (e.g., `Europe/London` or `America/Los_Angeles`).
|
15
|
-
* Used when pulling data from sources that are completely time zone agnostic (e.g., all time is relative to UTC clock, without any time zone attributions on data points).
|
16
|
-
*
|
17
|
-
*/
|
18
13
|
fallbackTimeZone?: string;
|
19
|
-
/** Fallback date of birth of the user, in YYYY-mm-dd format. Used for calculating max heartrate for providers that don not provide users' age. */
|
20
14
|
fallbackBirthDate?: string;
|
21
|
-
/** Starting bound for user data ingestion. Data older than this date will not be ingested. */
|
22
15
|
ingestionStart?: string;
|
23
|
-
/** Ending bound for user data ingestion. Data from this date or later will not be ingested and the connection will be deregistered. */
|
24
16
|
ingestionEnd?: string;
|
25
17
|
}
|
@@ -6,16 +6,8 @@
|
|
6
6
|
* {}
|
7
7
|
*/
|
8
8
|
export interface UserPatchBody {
|
9
|
-
/**
|
10
|
-
* Fallback time zone of the user, in the form of a valid IANA tzdatabase identifier (e.g., `Europe/London` or `America/Los_Angeles`).
|
11
|
-
* Used when pulling data from sources that are completely time zone agnostic (e.g., all time is relative to UTC clock, without any time zone attributions on data points).
|
12
|
-
*
|
13
|
-
*/
|
14
9
|
fallbackTimeZone?: string;
|
15
|
-
/** Fallback date of birth of the user, in YYYY-mm-dd format. Used for calculating max heartrate for providers that don not provide users' age. */
|
16
10
|
fallbackBirthDate?: string;
|
17
|
-
/** Starting bound for user data ingestion. Data older than this date will not be ingested. */
|
18
11
|
ingestionStart?: string;
|
19
|
-
/** Ending bound for user data ingestion. Data from this date or later will not be ingested and the connection will be deregistered. */
|
20
12
|
ingestionEnd?: string;
|
21
13
|
}
|