@tryvital/vital-node 3.1.2 → 3.1.4
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/Client.d.ts +1 -0
- package/api/errors/BadRequestError.d.ts +1 -2
- package/api/resources/activity/client/Client.d.ts +4 -0
- package/api/resources/activity/client/Client.js +8 -12
- package/api/resources/body/client/Client.d.ts +4 -0
- package/api/resources/body/client/Client.js +8 -12
- package/api/resources/devices/client/Client.d.ts +5 -1
- package/api/resources/devices/client/Client.js +8 -7
- package/api/resources/insurance/client/Client.d.ts +4 -0
- package/api/resources/insurance/client/Client.js +8 -12
- package/api/resources/introspect/client/Client.d.ts +4 -0
- package/api/resources/introspect/client/Client.js +8 -12
- package/api/resources/labTests/client/Client.d.ts +7 -3
- package/api/resources/labTests/client/Client.js +33 -147
- package/api/resources/link/client/Client.d.ts +11 -14
- package/api/resources/link/client/Client.js +30 -111
- package/api/resources/link/client/requests/EmailAuthLink.d.ts +0 -1
- package/api/resources/link/client/requests/EmailProviderAuthLink.d.ts +0 -1
- package/api/resources/link/client/requests/IndividualProviderData.d.ts +0 -1
- package/api/resources/link/client/requests/PasswordAuthLink.d.ts +0 -2
- package/api/resources/link/client/requests/index.d.ts +0 -3
- package/api/resources/meal/client/Client.d.ts +4 -0
- package/api/resources/meal/client/Client.js +7 -6
- package/api/resources/profile/client/Client.d.ts +4 -0
- package/api/resources/profile/client/Client.js +8 -12
- package/api/resources/providers/client/Client.d.ts +4 -0
- package/api/resources/providers/client/Client.js +7 -6
- package/api/resources/sleep/client/Client.d.ts +4 -0
- package/api/resources/sleep/client/Client.js +10 -24
- package/api/resources/team/client/Client.d.ts +8 -4
- package/api/resources/team/client/Client.js +17 -48
- package/api/resources/team/client/requests/index.d.ts +0 -1
- package/api/resources/testkit/client/Client.d.ts +4 -0
- package/api/resources/testkit/client/Client.js +8 -12
- package/api/resources/testkit/client/requests/RegisterTestkitRequest.d.ts +1 -0
- package/api/resources/user/client/Client.d.ts +6 -1
- package/api/resources/user/client/Client.js +23 -79
- package/api/resources/user/client/requests/UserCreateBody.d.ts +4 -0
- package/api/resources/user/client/requests/UserPatchBody.d.ts +4 -0
- package/api/resources/vitals/client/Client.d.ts +4 -0
- package/api/resources/vitals/client/Client.js +56 -300
- package/api/resources/workouts/client/Client.d.ts +4 -0
- package/api/resources/workouts/client/Client.js +9 -18
- package/api/types/Availability.d.ts +11 -0
- package/api/types/Availability.js +10 -0
- package/api/types/ClientFacingProviderWithStatus.d.ts +2 -0
- package/api/types/ClientFacingTeam.d.ts +7 -1
- package/api/types/ClientFacingUser.d.ts +4 -0
- package/api/types/ClientUserIdConflict.d.ts +9 -0
- package/api/types/ConnectionStatus.d.ts +4 -0
- package/api/types/ConnectionStatusState.d.ts +8 -0
- package/api/types/ConnectionStatusState.js +10 -0
- package/api/types/LibreConfig.d.ts +1 -0
- package/api/types/OrderStatus.d.ts +2 -1
- package/api/types/OrderStatus.js +1 -0
- package/api/types/ProviderLinkResponse.d.ts +3 -0
- package/api/types/ProviderLinkResponseState.d.ts +8 -0
- package/api/types/ProviderLinkResponseState.js +10 -0
- package/api/types/Region.d.ts +2 -1
- package/api/types/Region.js +1 -0
- package/api/types/ResourceAvailability.d.ts +8 -0
- package/api/types/ScopeRequirementsGrants.d.ts +8 -0
- package/api/types/ScopeRequirementsStr.d.ts +7 -0
- package/api/types/TeamConfig.d.ts +1 -0
- package/api/types/index.d.ts +7 -0
- package/api/types/index.js +7 -0
- package/core/fetcher/Fetcher.d.ts +1 -1
- package/core/fetcher/Fetcher.js +32 -18
- package/core/index.d.ts +1 -0
- package/core/index.js +1 -0
- package/core/runtime/index.d.ts +1 -0
- package/core/runtime/index.js +5 -0
- package/core/runtime/runtime.d.ts +8 -0
- package/core/runtime/runtime.js +82 -0
- package/core/schemas/builders/object/object.js +11 -15
- package/dist/Client.d.ts +1 -0
- package/dist/api/errors/BadRequestError.d.ts +1 -2
- package/dist/api/resources/activity/client/Client.d.ts +4 -0
- package/dist/api/resources/activity/client/Client.js +8 -12
- package/dist/api/resources/body/client/Client.d.ts +4 -0
- package/dist/api/resources/body/client/Client.js +8 -12
- package/dist/api/resources/devices/client/Client.d.ts +5 -1
- package/dist/api/resources/devices/client/Client.js +8 -7
- package/dist/api/resources/insurance/client/Client.d.ts +4 -0
- package/dist/api/resources/insurance/client/Client.js +8 -12
- package/dist/api/resources/introspect/client/Client.d.ts +4 -0
- package/dist/api/resources/introspect/client/Client.js +8 -12
- package/dist/api/resources/labTests/client/Client.d.ts +7 -3
- package/dist/api/resources/labTests/client/Client.js +33 -147
- package/dist/api/resources/link/client/Client.d.ts +11 -14
- package/dist/api/resources/link/client/Client.js +30 -111
- package/dist/api/resources/link/client/requests/EmailAuthLink.d.ts +0 -1
- package/dist/api/resources/link/client/requests/EmailProviderAuthLink.d.ts +0 -1
- package/dist/api/resources/link/client/requests/IndividualProviderData.d.ts +0 -1
- package/dist/api/resources/link/client/requests/PasswordAuthLink.d.ts +0 -2
- package/dist/api/resources/link/client/requests/index.d.ts +0 -3
- package/dist/api/resources/meal/client/Client.d.ts +4 -0
- package/dist/api/resources/meal/client/Client.js +7 -6
- package/dist/api/resources/profile/client/Client.d.ts +4 -0
- package/dist/api/resources/profile/client/Client.js +8 -12
- package/dist/api/resources/providers/client/Client.d.ts +4 -0
- package/dist/api/resources/providers/client/Client.js +7 -6
- package/dist/api/resources/sleep/client/Client.d.ts +4 -0
- package/dist/api/resources/sleep/client/Client.js +10 -24
- package/dist/api/resources/team/client/Client.d.ts +8 -4
- package/dist/api/resources/team/client/Client.js +17 -48
- package/dist/api/resources/team/client/requests/index.d.ts +0 -1
- package/dist/api/resources/testkit/client/Client.d.ts +4 -0
- package/dist/api/resources/testkit/client/Client.js +8 -12
- package/dist/api/resources/testkit/client/requests/RegisterTestkitRequest.d.ts +1 -0
- package/dist/api/resources/user/client/Client.d.ts +6 -1
- package/dist/api/resources/user/client/Client.js +23 -79
- package/dist/api/resources/user/client/requests/UserCreateBody.d.ts +4 -0
- package/dist/api/resources/user/client/requests/UserPatchBody.d.ts +4 -0
- package/dist/api/resources/vitals/client/Client.d.ts +4 -0
- package/dist/api/resources/vitals/client/Client.js +56 -300
- package/dist/api/resources/workouts/client/Client.d.ts +4 -0
- package/dist/api/resources/workouts/client/Client.js +9 -18
- package/dist/api/types/Availability.d.ts +11 -0
- package/dist/api/types/Availability.js +10 -0
- package/dist/api/types/ClientFacingProviderWithStatus.d.ts +2 -0
- package/dist/api/types/ClientFacingTeam.d.ts +7 -1
- package/dist/api/types/ClientFacingUser.d.ts +4 -0
- package/dist/api/types/ClientUserIdConflict.d.ts +9 -0
- package/dist/api/types/ConnectionStatus.d.ts +4 -0
- package/dist/api/types/ConnectionStatusState.d.ts +8 -0
- package/dist/api/types/ConnectionStatusState.js +10 -0
- package/dist/api/types/LibreConfig.d.ts +1 -0
- package/dist/api/types/OrderStatus.d.ts +2 -1
- package/dist/api/types/OrderStatus.js +1 -0
- package/dist/api/types/ProviderLinkResponse.d.ts +3 -0
- package/dist/api/types/ProviderLinkResponseState.d.ts +8 -0
- package/dist/api/types/ProviderLinkResponseState.js +10 -0
- package/dist/api/types/Region.d.ts +2 -1
- package/dist/api/types/Region.js +1 -0
- package/dist/api/types/ResourceAvailability.d.ts +8 -0
- package/dist/api/types/ScopeRequirementsGrants.d.ts +8 -0
- package/dist/api/types/ScopeRequirementsStr.d.ts +7 -0
- package/dist/api/types/TeamConfig.d.ts +1 -0
- package/dist/api/types/index.d.ts +7 -0
- package/dist/api/types/index.js +7 -0
- package/dist/core/fetcher/Fetcher.d.ts +1 -1
- package/dist/core/fetcher/Fetcher.js +32 -18
- package/dist/core/index.d.ts +1 -0
- package/dist/core/index.js +1 -0
- package/dist/core/runtime/index.d.ts +1 -0
- package/dist/core/runtime/index.js +5 -0
- package/dist/core/runtime/runtime.d.ts +8 -0
- package/dist/core/runtime/runtime.js +82 -0
- package/dist/core/schemas/builders/object/object.js +11 -15
- package/dist/serialization/resources/insurance/client/searchDiagnosis.d.ts +2 -1
- package/dist/serialization/resources/insurance/client/searchDiagnosis.js +2 -10
- package/dist/serialization/resources/insurance/client/searchPayorInfo.d.ts +2 -1
- package/dist/serialization/resources/insurance/client/searchPayorInfo.js +2 -10
- package/dist/serialization/resources/labTests/client/get.d.ts +2 -1
- package/dist/serialization/resources/labTests/client/get.js +2 -10
- package/dist/serialization/resources/labTests/client/getLabs.d.ts +2 -1
- package/dist/serialization/resources/labTests/client/getLabs.js +2 -10
- package/dist/serialization/resources/labTests/client/getPhlebotomyAppointmentCancellationReason.d.ts +2 -1
- package/dist/serialization/resources/labTests/client/getPhlebotomyAppointmentCancellationReason.js +2 -10
- package/dist/serialization/resources/labTests/client/requests/CreateLabTestRequest.d.ts +4 -2
- package/dist/serialization/resources/labTests/client/requests/CreateLabTestRequest.js +4 -11
- package/dist/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +10 -5
- package/dist/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.js +10 -18
- package/dist/serialization/resources/labTests/client/requests/RequestAppointmentRequest.d.ts +4 -2
- package/dist/serialization/resources/labTests/client/requests/RequestAppointmentRequest.js +4 -11
- package/dist/serialization/resources/link/client/getAllProviders.d.ts +2 -1
- package/dist/serialization/resources/link/client/getAllProviders.js +2 -10
- package/dist/serialization/resources/link/client/requests/BeginLinkTokenRequest.d.ts +2 -1
- package/dist/serialization/resources/link/client/requests/BeginLinkTokenRequest.js +2 -10
- package/dist/serialization/resources/link/client/requests/DemoConnectionCreationPayload.d.ts +2 -1
- package/dist/serialization/resources/link/client/requests/DemoConnectionCreationPayload.js +2 -10
- package/dist/serialization/resources/link/client/requests/EmailAuthLink.d.ts +7 -4
- package/dist/serialization/resources/link/client/requests/EmailAuthLink.js +6 -12
- package/dist/serialization/resources/link/client/requests/EmailProviderAuthLink.d.ts +5 -3
- package/dist/serialization/resources/link/client/requests/EmailProviderAuthLink.js +4 -11
- package/dist/serialization/resources/link/client/requests/IndividualProviderData.d.ts +1 -1
- package/dist/serialization/resources/link/client/requests/LinkTokenExchange.d.ts +3 -2
- package/dist/serialization/resources/link/client/requests/LinkTokenExchange.js +3 -13
- package/dist/serialization/resources/link/client/requests/PasswordAuthLink.d.ts +5 -3
- package/dist/serialization/resources/link/client/requests/PasswordAuthLink.js +4 -11
- package/dist/serialization/resources/providers/client/getAll.d.ts +2 -1
- package/dist/serialization/resources/providers/client/getAll.js +2 -10
- package/dist/serialization/resources/team/client/getPhysicians.d.ts +2 -1
- package/dist/serialization/resources/team/client/getPhysicians.js +2 -10
- package/dist/serialization/resources/team/client/getUserById.d.ts +2 -1
- package/dist/serialization/resources/team/client/getUserById.js +2 -10
- package/dist/serialization/resources/testkit/client/requests/CreateRegistrableTestkitOrderRequest.d.ts +2 -1
- package/dist/serialization/resources/testkit/client/requests/CreateRegistrableTestkitOrderRequest.js +2 -10
- package/dist/serialization/resources/testkit/client/requests/RegisterTestkitRequest.d.ts +10 -4
- package/dist/serialization/resources/testkit/client/requests/RegisterTestkitRequest.js +10 -17
- package/dist/serialization/resources/user/client/getConnectedProviders.d.ts +2 -1
- package/dist/serialization/resources/user/client/getConnectedProviders.js +2 -10
- package/dist/serialization/resources/user/client/requests/UserCreateBody.d.ts +2 -0
- package/dist/serialization/resources/user/client/requests/UserCreateBody.js +2 -0
- package/dist/serialization/resources/user/client/requests/UserPatchBody.d.ts +2 -0
- package/dist/serialization/resources/user/client/requests/UserPatchBody.js +2 -0
- package/dist/serialization/resources/vitals/client/bloodOxygen.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/bloodOxygen.js +2 -10
- package/dist/serialization/resources/vitals/client/bloodPressure.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/bloodPressure.js +2 -10
- package/dist/serialization/resources/vitals/client/bodyFat.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/bodyFat.js +2 -10
- package/dist/serialization/resources/vitals/client/bodyWeight.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/bodyWeight.js +2 -10
- package/dist/serialization/resources/vitals/client/caffeine.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/caffeine.js +2 -10
- package/dist/serialization/resources/vitals/client/caloriesActive.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/caloriesActive.js +2 -10
- package/dist/serialization/resources/vitals/client/caloriesBasal.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/caloriesBasal.js +2 -10
- package/dist/serialization/resources/vitals/client/cholesterol.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/cholesterol.js +2 -10
- package/dist/serialization/resources/vitals/client/cholesterolHdl.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/cholesterolHdl.js +2 -10
- package/dist/serialization/resources/vitals/client/cholesterolLdl.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/cholesterolLdl.js +2 -10
- package/dist/serialization/resources/vitals/client/cholesterolTotal.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/cholesterolTotal.js +2 -10
- package/dist/serialization/resources/vitals/client/cholesterolTriglycerides.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/cholesterolTriglycerides.js +2 -10
- package/dist/serialization/resources/vitals/client/distance.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/distance.js +2 -10
- package/dist/serialization/resources/vitals/client/electrocardiogramVoltage.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/electrocardiogramVoltage.js +2 -10
- package/dist/serialization/resources/vitals/client/floorsClimbed.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/floorsClimbed.js +2 -10
- package/dist/serialization/resources/vitals/client/glucose.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/glucose.js +2 -10
- package/dist/serialization/resources/vitals/client/heartrate.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/heartrate.js +2 -10
- package/dist/serialization/resources/vitals/client/hrv.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/hrv.js +2 -10
- package/dist/serialization/resources/vitals/client/hypnogram.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/hypnogram.js +2 -10
- package/dist/serialization/resources/vitals/client/ige.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/ige.js +2 -10
- package/dist/serialization/resources/vitals/client/igg.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/igg.js +2 -10
- package/dist/serialization/resources/vitals/client/mindfulnessMinutes.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/mindfulnessMinutes.js +2 -10
- package/dist/serialization/resources/vitals/client/respiratoryRate.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/respiratoryRate.js +2 -10
- package/dist/serialization/resources/vitals/client/steps.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/steps.js +2 -10
- package/dist/serialization/resources/vitals/client/stressLevel.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/stressLevel.js +2 -10
- package/dist/serialization/resources/vitals/client/vo2Max.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/vo2Max.js +2 -10
- package/dist/serialization/resources/vitals/client/water.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/water.js +2 -10
- package/dist/serialization/types/ActivityV2InDb.d.ts +2 -1
- package/dist/serialization/types/ActivityV2InDb.js +2 -10
- package/dist/serialization/types/AppointmentAvailabilitySlots.d.ts +2 -1
- package/dist/serialization/types/AppointmentAvailabilitySlots.js +2 -10
- package/dist/serialization/types/AreaInfo.d.ts +2 -1
- package/dist/serialization/types/AreaInfo.js +2 -10
- package/dist/serialization/types/Availability.d.ts +10 -0
- package/dist/serialization/types/Availability.js +31 -0
- package/dist/serialization/types/BiomarkerResult.d.ts +2 -1
- package/dist/serialization/types/BiomarkerResult.js +2 -10
- package/dist/serialization/types/BodyV2InDb.d.ts +2 -1
- package/dist/serialization/types/BodyV2InDb.js +2 -10
- package/dist/serialization/types/ClientActivityResponse.d.ts +2 -1
- package/dist/serialization/types/ClientActivityResponse.js +2 -10
- package/dist/serialization/types/ClientBodyResponse.d.ts +2 -1
- package/dist/serialization/types/ClientBodyResponse.js +2 -10
- package/dist/serialization/types/ClientFacingActivity.d.ts +4 -2
- package/dist/serialization/types/ClientFacingActivity.js +4 -11
- package/dist/serialization/types/ClientFacingAppointment.d.ts +14 -7
- package/dist/serialization/types/ClientFacingAppointment.js +14 -16
- package/dist/serialization/types/ClientFacingAppointmentEvent.d.ts +2 -1
- package/dist/serialization/types/ClientFacingAppointmentEvent.js +2 -10
- package/dist/serialization/types/ClientFacingAtHomePhlebotomyOrderDetails.d.ts +2 -1
- package/dist/serialization/types/ClientFacingAtHomePhlebotomyOrderDetails.js +2 -10
- package/dist/serialization/types/ClientFacingBody.d.ts +2 -1
- package/dist/serialization/types/ClientFacingBody.js +2 -10
- package/dist/serialization/types/ClientFacingFood.d.ts +6 -3
- package/dist/serialization/types/ClientFacingFood.js +6 -12
- package/dist/serialization/types/ClientFacingLab.d.ts +4 -2
- package/dist/serialization/types/ClientFacingLab.js +4 -11
- package/dist/serialization/types/ClientFacingLabTest.d.ts +10 -5
- package/dist/serialization/types/ClientFacingLabTest.js +10 -16
- package/dist/serialization/types/ClientFacingMarker.d.ts +2 -1
- package/dist/serialization/types/ClientFacingMarker.js +2 -10
- package/dist/serialization/types/ClientFacingMarkerComplete.d.ts +4 -2
- package/dist/serialization/types/ClientFacingMarkerComplete.js +4 -11
- package/dist/serialization/types/ClientFacingMealResponse.d.ts +2 -1
- package/dist/serialization/types/ClientFacingMealResponse.js +2 -10
- package/dist/serialization/types/ClientFacingOrder.d.ts +16 -8
- package/dist/serialization/types/ClientFacingOrder.js +16 -17
- package/dist/serialization/types/ClientFacingOrderDetails.d.ts +6 -3
- package/dist/serialization/types/ClientFacingOrderDetails.js +6 -12
- package/dist/serialization/types/ClientFacingOrderEvent.d.ts +2 -1
- package/dist/serialization/types/ClientFacingOrderEvent.js +2 -10
- package/dist/serialization/types/ClientFacingPayorSearchResponse.d.ts +2 -1
- package/dist/serialization/types/ClientFacingPayorSearchResponse.js +2 -10
- package/dist/serialization/types/ClientFacingProfile.d.ts +2 -1
- package/dist/serialization/types/ClientFacingProfile.js +2 -10
- package/dist/serialization/types/ClientFacingProviderDetailed.d.ts +4 -2
- package/dist/serialization/types/ClientFacingProviderDetailed.js +4 -13
- package/dist/serialization/types/ClientFacingProviderWithStatus.d.ts +2 -0
- package/dist/serialization/types/ClientFacingProviderWithStatus.js +2 -0
- package/dist/serialization/types/ClientFacingResult.d.ts +2 -1
- package/dist/serialization/types/ClientFacingResult.js +2 -10
- package/dist/serialization/types/ClientFacingSleep.d.ts +4 -2
- package/dist/serialization/types/ClientFacingSleep.js +4 -11
- package/dist/serialization/types/ClientFacingSleepStream.d.ts +8 -4
- package/dist/serialization/types/ClientFacingSleepStream.js +8 -21
- package/dist/serialization/types/ClientFacingTeam.d.ts +7 -4
- package/dist/serialization/types/ClientFacingTeam.js +7 -15
- package/dist/serialization/types/ClientFacingTestKitOrderDetails.d.ts +2 -1
- package/dist/serialization/types/ClientFacingTestKitOrderDetails.js +2 -10
- package/dist/serialization/types/ClientFacingTestkitOrder.d.ts +2 -1
- package/dist/serialization/types/ClientFacingTestkitOrder.js +2 -10
- package/dist/serialization/types/ClientFacingUser.d.ts +8 -3
- package/dist/serialization/types/ClientFacingUser.js +8 -12
- package/dist/serialization/types/ClientFacingWalkInOrderDetails.d.ts +2 -1
- package/dist/serialization/types/ClientFacingWalkInOrderDetails.js +2 -10
- package/dist/serialization/types/ClientFacingWorkout.d.ts +4 -2
- package/dist/serialization/types/ClientFacingWorkout.js +4 -11
- package/dist/serialization/types/ClientSleepResponse.d.ts +2 -1
- package/dist/serialization/types/ClientSleepResponse.js +2 -10
- package/dist/serialization/types/ClientUserIdConflict.d.ts +15 -0
- package/dist/serialization/types/ClientUserIdConflict.js +36 -0
- package/dist/serialization/types/ClientWorkoutResponse.d.ts +2 -1
- package/dist/serialization/types/ClientWorkoutResponse.js +2 -10
- package/dist/serialization/types/ConnectedSourceClientFacing.d.ts +3 -2
- package/dist/serialization/types/ConnectedSourceClientFacing.js +3 -11
- package/dist/serialization/types/ConnectionStatus.d.ts +4 -0
- package/dist/serialization/types/ConnectionStatus.js +4 -0
- package/dist/serialization/types/ConnectionStatusState.d.ts +10 -0
- package/dist/serialization/types/ConnectionStatusState.js +31 -0
- package/dist/serialization/types/Consent.d.ts +2 -1
- package/dist/serialization/types/Consent.js +2 -10
- package/dist/serialization/types/DaySlots.d.ts +2 -1
- package/dist/serialization/types/DaySlots.js +2 -10
- package/dist/serialization/types/DeviceV2InDb.d.ts +2 -1
- package/dist/serialization/types/DeviceV2InDb.js +2 -10
- package/dist/serialization/types/EventDestinationPreferences.d.ts +4 -2
- package/dist/serialization/types/EventDestinationPreferences.js +4 -11
- package/dist/serialization/types/GetMarkersResponse.d.ts +2 -1
- package/dist/serialization/types/GetMarkersResponse.js +2 -10
- package/dist/serialization/types/GetOrdersResponse.d.ts +2 -1
- package/dist/serialization/types/GetOrdersResponse.js +2 -10
- package/dist/serialization/types/GroupedBloodOxygen.d.ts +4 -2
- package/dist/serialization/types/GroupedBloodOxygen.js +4 -11
- package/dist/serialization/types/GroupedBloodOxygenResponse.d.ts +2 -1
- package/dist/serialization/types/GroupedBloodOxygenResponse.js +2 -10
- package/dist/serialization/types/GroupedBloodPressure.d.ts +4 -2
- package/dist/serialization/types/GroupedBloodPressure.js +4 -11
- package/dist/serialization/types/GroupedBloodPressureResponse.d.ts +2 -1
- package/dist/serialization/types/GroupedBloodPressureResponse.js +2 -10
- package/dist/serialization/types/GroupedBodyFat.d.ts +4 -2
- package/dist/serialization/types/GroupedBodyFat.js +4 -11
- package/dist/serialization/types/GroupedBodyFatResponse.d.ts +2 -1
- package/dist/serialization/types/GroupedBodyFatResponse.js +2 -10
- package/dist/serialization/types/GroupedBodyWeight.d.ts +4 -2
- package/dist/serialization/types/GroupedBodyWeight.js +4 -11
- package/dist/serialization/types/GroupedBodyWeightResponse.d.ts +2 -1
- package/dist/serialization/types/GroupedBodyWeightResponse.js +2 -10
- package/dist/serialization/types/GroupedCaffeine.d.ts +4 -2
- package/dist/serialization/types/GroupedCaffeine.js +4 -11
- package/dist/serialization/types/GroupedCaffeineResponse.d.ts +2 -1
- package/dist/serialization/types/GroupedCaffeineResponse.js +2 -10
- package/dist/serialization/types/GroupedCaloriesActive.d.ts +4 -2
- package/dist/serialization/types/GroupedCaloriesActive.js +4 -11
- package/dist/serialization/types/GroupedCaloriesActiveResponse.d.ts +2 -1
- package/dist/serialization/types/GroupedCaloriesActiveResponse.js +2 -10
- package/dist/serialization/types/GroupedCaloriesBasal.d.ts +4 -2
- package/dist/serialization/types/GroupedCaloriesBasal.js +4 -11
- package/dist/serialization/types/GroupedCaloriesBasalResponse.d.ts +2 -1
- package/dist/serialization/types/GroupedCaloriesBasalResponse.js +2 -10
- package/dist/serialization/types/GroupedCholesterol.d.ts +4 -2
- package/dist/serialization/types/GroupedCholesterol.js +4 -11
- package/dist/serialization/types/GroupedCholesterolResponse.d.ts +2 -1
- package/dist/serialization/types/GroupedCholesterolResponse.js +2 -10
- package/dist/serialization/types/GroupedDistance.d.ts +4 -2
- package/dist/serialization/types/GroupedDistance.js +4 -11
- package/dist/serialization/types/GroupedDistanceResponse.d.ts +2 -1
- package/dist/serialization/types/GroupedDistanceResponse.js +2 -10
- package/dist/serialization/types/GroupedElectrocardiogramVoltage.d.ts +4 -2
- package/dist/serialization/types/GroupedElectrocardiogramVoltage.js +4 -11
- package/dist/serialization/types/GroupedElectrocardiogramVoltageResponse.d.ts +2 -1
- package/dist/serialization/types/GroupedElectrocardiogramVoltageResponse.js +2 -10
- package/dist/serialization/types/GroupedFloorsClimbed.d.ts +4 -2
- package/dist/serialization/types/GroupedFloorsClimbed.js +4 -11
- package/dist/serialization/types/GroupedFloorsClimbedResponse.d.ts +2 -1
- package/dist/serialization/types/GroupedFloorsClimbedResponse.js +2 -10
- package/dist/serialization/types/GroupedGlucose.d.ts +4 -2
- package/dist/serialization/types/GroupedGlucose.js +4 -11
- package/dist/serialization/types/GroupedGlucoseResponse.d.ts +2 -1
- package/dist/serialization/types/GroupedGlucoseResponse.js +2 -10
- package/dist/serialization/types/GroupedHeartRate.d.ts +4 -2
- package/dist/serialization/types/GroupedHeartRate.js +4 -11
- package/dist/serialization/types/GroupedHeartRateResponse.d.ts +2 -1
- package/dist/serialization/types/GroupedHeartRateResponse.js +2 -10
- package/dist/serialization/types/GroupedHrv.d.ts +4 -2
- package/dist/serialization/types/GroupedHrv.js +4 -11
- package/dist/serialization/types/GroupedHrvResponse.d.ts +2 -1
- package/dist/serialization/types/GroupedHrvResponse.js +2 -10
- package/dist/serialization/types/GroupedHypnogram.d.ts +4 -2
- package/dist/serialization/types/GroupedHypnogram.js +4 -11
- package/dist/serialization/types/GroupedHypnogramResponse.d.ts +2 -1
- package/dist/serialization/types/GroupedHypnogramResponse.js +2 -10
- package/dist/serialization/types/GroupedIge.d.ts +4 -2
- package/dist/serialization/types/GroupedIge.js +4 -11
- package/dist/serialization/types/GroupedIgeResponse.d.ts +2 -1
- package/dist/serialization/types/GroupedIgeResponse.js +2 -10
- package/dist/serialization/types/GroupedIgg.d.ts +4 -2
- package/dist/serialization/types/GroupedIgg.js +4 -11
- package/dist/serialization/types/GroupedIggResponse.d.ts +2 -1
- package/dist/serialization/types/GroupedIggResponse.js +2 -10
- package/dist/serialization/types/GroupedMindfulnessMinutes.d.ts +4 -2
- package/dist/serialization/types/GroupedMindfulnessMinutes.js +4 -11
- package/dist/serialization/types/GroupedMindfulnessMinutesResponse.d.ts +2 -1
- package/dist/serialization/types/GroupedMindfulnessMinutesResponse.js +2 -10
- package/dist/serialization/types/GroupedRespiratoryRate.d.ts +4 -2
- package/dist/serialization/types/GroupedRespiratoryRate.js +4 -11
- package/dist/serialization/types/GroupedRespiratoryRateResponse.d.ts +2 -1
- package/dist/serialization/types/GroupedRespiratoryRateResponse.js +2 -10
- package/dist/serialization/types/GroupedSteps.d.ts +4 -2
- package/dist/serialization/types/GroupedSteps.js +4 -11
- package/dist/serialization/types/GroupedStepsResponse.d.ts +2 -1
- package/dist/serialization/types/GroupedStepsResponse.js +2 -10
- package/dist/serialization/types/GroupedStressLevel.d.ts +4 -2
- package/dist/serialization/types/GroupedStressLevel.js +4 -11
- package/dist/serialization/types/GroupedStressLevelResponse.d.ts +2 -1
- package/dist/serialization/types/GroupedStressLevelResponse.js +2 -10
- package/dist/serialization/types/GroupedVo2Max.d.ts +4 -2
- package/dist/serialization/types/GroupedVo2Max.js +4 -11
- package/dist/serialization/types/GroupedVo2MaxResponse.d.ts +2 -1
- package/dist/serialization/types/GroupedVo2MaxResponse.js +2 -10
- package/dist/serialization/types/GroupedWater.d.ts +4 -2
- package/dist/serialization/types/GroupedWater.js +4 -11
- package/dist/serialization/types/GroupedWaterResponse.d.ts +2 -1
- package/dist/serialization/types/GroupedWaterResponse.js +2 -10
- package/dist/serialization/types/HealthInsuranceCreateRequest.d.ts +10 -5
- package/dist/serialization/types/HealthInsuranceCreateRequest.js +10 -16
- package/dist/serialization/types/HealthInsuranceCreateRequestBackImage.d.ts +4 -2
- package/dist/serialization/types/HealthInsuranceCreateRequestBackImage.js +4 -11
- package/dist/serialization/types/HealthInsuranceCreateRequestFrontImage.d.ts +4 -2
- package/dist/serialization/types/HealthInsuranceCreateRequestFrontImage.js +4 -11
- package/dist/serialization/types/HealthInsuranceCreateRequestPatientSignatureImage.d.ts +4 -2
- package/dist/serialization/types/HealthInsuranceCreateRequestPatientSignatureImage.js +4 -11
- package/dist/serialization/types/HttpValidationError.d.ts +2 -1
- package/dist/serialization/types/HttpValidationError.js +2 -12
- package/dist/serialization/types/LabResultsRaw.d.ts +4 -2
- package/dist/serialization/types/LabResultsRaw.js +4 -11
- package/dist/serialization/types/LabResultsRawResults.d.ts +2 -1
- package/dist/serialization/types/LabResultsRawResults.js +2 -10
- package/dist/serialization/types/LastAttempt.d.ts +2 -1
- package/dist/serialization/types/LastAttempt.js +2 -10
- package/dist/serialization/types/LibreConfig.d.ts +1 -0
- package/dist/serialization/types/LibreConfig.js +1 -0
- package/dist/serialization/types/Macros.d.ts +2 -1
- package/dist/serialization/types/Macros.js +2 -10
- package/dist/serialization/types/MealInDbBaseClientFacingSource.d.ts +10 -5
- package/dist/serialization/types/MealInDbBaseClientFacingSource.js +10 -16
- package/dist/serialization/types/MetricsResult.d.ts +2 -1
- package/dist/serialization/types/MetricsResult.js +2 -12
- package/dist/serialization/types/OrderStatus.d.ts +1 -1
- package/dist/serialization/types/OrderStatus.js +1 -0
- package/dist/serialization/types/PaginatedUsersResponse.d.ts +2 -1
- package/dist/serialization/types/PaginatedUsersResponse.js +2 -10
- package/dist/serialization/types/PatientDetails.d.ts +2 -1
- package/dist/serialization/types/PatientDetails.js +2 -10
- package/dist/serialization/types/PersonDetails.d.ts +2 -1
- package/dist/serialization/types/PersonDetails.js +2 -10
- package/dist/serialization/types/PhlebotomyAreaInfo.d.ts +2 -1
- package/dist/serialization/types/PhlebotomyAreaInfo.js +2 -10
- package/dist/serialization/types/PhlebotomyProviderInfo.d.ts +4 -2
- package/dist/serialization/types/PhlebotomyProviderInfo.js +4 -11
- package/dist/serialization/types/PhysicianCreateRequest.d.ts +2 -1
- package/dist/serialization/types/PhysicianCreateRequest.js +2 -10
- package/dist/serialization/types/PhysicianCreateRequestSignatureImage.d.ts +4 -2
- package/dist/serialization/types/PhysicianCreateRequestSignatureImage.js +4 -11
- package/dist/serialization/types/PostOrderResponse.d.ts +2 -1
- package/dist/serialization/types/PostOrderResponse.js +2 -10
- package/dist/serialization/types/ProfileInDb.d.ts +2 -1
- package/dist/serialization/types/ProfileInDb.js +2 -10
- package/dist/serialization/types/ProviderLinkResponse.d.ts +6 -1
- package/dist/serialization/types/ProviderLinkResponse.js +6 -10
- package/dist/serialization/types/ProviderLinkResponseState.d.ts +10 -0
- package/dist/serialization/types/ProviderLinkResponseState.js +31 -0
- package/dist/serialization/types/RawActivity.d.ts +2 -1
- package/dist/serialization/types/RawActivity.js +2 -10
- package/dist/serialization/types/RawBody.d.ts +2 -1
- package/dist/serialization/types/RawBody.js +2 -10
- package/dist/serialization/types/RawDevices.d.ts +2 -1
- package/dist/serialization/types/RawDevices.js +2 -10
- package/dist/serialization/types/RawProfile.d.ts +2 -1
- package/dist/serialization/types/RawProfile.js +2 -10
- package/dist/serialization/types/RawSleep.d.ts +2 -1
- package/dist/serialization/types/RawSleep.js +2 -10
- package/dist/serialization/types/RawWorkout.d.ts +2 -1
- package/dist/serialization/types/RawWorkout.js +2 -10
- package/dist/serialization/types/Region.d.ts +1 -1
- package/dist/serialization/types/Region.js +1 -0
- package/dist/serialization/types/ResourceAvailability.d.ts +15 -0
- package/dist/serialization/types/ResourceAvailability.js +36 -0
- package/dist/serialization/types/ScopeRequirementsGrants.d.ts +14 -0
- package/dist/serialization/types/ScopeRequirementsGrants.js +35 -0
- package/dist/serialization/types/ScopeRequirementsStr.d.ts +13 -0
- package/dist/serialization/types/ScopeRequirementsStr.js +34 -0
- package/dist/serialization/types/SingleHistoricalPullStatistics.d.ts +2 -1
- package/dist/serialization/types/SingleHistoricalPullStatistics.js +2 -10
- package/dist/serialization/types/SingleProviderHistoricalPullResponse.d.ts +4 -2
- package/dist/serialization/types/SingleProviderHistoricalPullResponse.js +4 -11
- package/dist/serialization/types/SingleResourceStatistics.d.ts +2 -1
- package/dist/serialization/types/SingleResourceStatistics.js +2 -10
- package/dist/serialization/types/SingleUserHistoricalPullResponse.d.ts +2 -1
- package/dist/serialization/types/SingleUserHistoricalPullResponse.js +2 -10
- package/dist/serialization/types/SingleUserResourceResponse.d.ts +2 -1
- package/dist/serialization/types/SingleUserResourceResponse.js +2 -10
- package/dist/serialization/types/SleepV2InDb.d.ts +2 -1
- package/dist/serialization/types/SleepV2InDb.js +2 -10
- package/dist/serialization/types/Source.d.ts +4 -2
- package/dist/serialization/types/Source.js +4 -11
- package/dist/serialization/types/SourceLink.d.ts +2 -1
- package/dist/serialization/types/SourceLink.js +2 -10
- package/dist/serialization/types/TeamConfig.d.ts +5 -2
- package/dist/serialization/types/TeamConfig.js +5 -11
- package/dist/serialization/types/UserHistoricalPullsResponse.d.ts +2 -1
- package/dist/serialization/types/UserHistoricalPullsResponse.js +2 -10
- package/dist/serialization/types/UserResourcesResponse.d.ts +2 -1
- package/dist/serialization/types/UserResourcesResponse.js +2 -10
- package/dist/serialization/types/ValidationError.d.ts +2 -1
- package/dist/serialization/types/ValidationError.js +2 -10
- package/dist/serialization/types/WorkoutV2InDb.d.ts +4 -2
- package/dist/serialization/types/WorkoutV2InDb.js +4 -11
- package/dist/serialization/types/index.d.ts +7 -0
- package/dist/serialization/types/index.js +7 -0
- package/jest.config.js +5 -0
- package/package.json +6 -2
- package/serialization/resources/insurance/client/searchDiagnosis.d.ts +2 -1
- package/serialization/resources/insurance/client/searchDiagnosis.js +2 -10
- package/serialization/resources/insurance/client/searchPayorInfo.d.ts +2 -1
- package/serialization/resources/insurance/client/searchPayorInfo.js +2 -10
- package/serialization/resources/labTests/client/get.d.ts +2 -1
- package/serialization/resources/labTests/client/get.js +2 -10
- package/serialization/resources/labTests/client/getLabs.d.ts +2 -1
- package/serialization/resources/labTests/client/getLabs.js +2 -10
- package/serialization/resources/labTests/client/getPhlebotomyAppointmentCancellationReason.d.ts +2 -1
- package/serialization/resources/labTests/client/getPhlebotomyAppointmentCancellationReason.js +2 -10
- package/serialization/resources/labTests/client/requests/CreateLabTestRequest.d.ts +4 -2
- package/serialization/resources/labTests/client/requests/CreateLabTestRequest.js +4 -11
- package/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +10 -5
- package/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.js +10 -18
- package/serialization/resources/labTests/client/requests/RequestAppointmentRequest.d.ts +4 -2
- package/serialization/resources/labTests/client/requests/RequestAppointmentRequest.js +4 -11
- package/serialization/resources/link/client/getAllProviders.d.ts +2 -1
- package/serialization/resources/link/client/getAllProviders.js +2 -10
- package/serialization/resources/link/client/requests/BeginLinkTokenRequest.d.ts +2 -1
- package/serialization/resources/link/client/requests/BeginLinkTokenRequest.js +2 -10
- package/serialization/resources/link/client/requests/DemoConnectionCreationPayload.d.ts +2 -1
- package/serialization/resources/link/client/requests/DemoConnectionCreationPayload.js +2 -10
- package/serialization/resources/link/client/requests/EmailAuthLink.d.ts +7 -4
- package/serialization/resources/link/client/requests/EmailAuthLink.js +6 -12
- package/serialization/resources/link/client/requests/EmailProviderAuthLink.d.ts +5 -3
- package/serialization/resources/link/client/requests/EmailProviderAuthLink.js +4 -11
- package/serialization/resources/link/client/requests/IndividualProviderData.d.ts +1 -1
- package/serialization/resources/link/client/requests/LinkTokenExchange.d.ts +3 -2
- package/serialization/resources/link/client/requests/LinkTokenExchange.js +3 -13
- package/serialization/resources/link/client/requests/PasswordAuthLink.d.ts +5 -3
- package/serialization/resources/link/client/requests/PasswordAuthLink.js +4 -11
- package/serialization/resources/providers/client/getAll.d.ts +2 -1
- package/serialization/resources/providers/client/getAll.js +2 -10
- package/serialization/resources/team/client/getPhysicians.d.ts +2 -1
- package/serialization/resources/team/client/getPhysicians.js +2 -10
- package/serialization/resources/team/client/getUserById.d.ts +2 -1
- package/serialization/resources/team/client/getUserById.js +2 -10
- package/serialization/resources/testkit/client/requests/CreateRegistrableTestkitOrderRequest.d.ts +2 -1
- package/serialization/resources/testkit/client/requests/CreateRegistrableTestkitOrderRequest.js +2 -10
- package/serialization/resources/testkit/client/requests/RegisterTestkitRequest.d.ts +10 -4
- package/serialization/resources/testkit/client/requests/RegisterTestkitRequest.js +10 -17
- package/serialization/resources/user/client/getConnectedProviders.d.ts +2 -1
- package/serialization/resources/user/client/getConnectedProviders.js +2 -10
- package/serialization/resources/user/client/requests/UserCreateBody.d.ts +2 -0
- package/serialization/resources/user/client/requests/UserCreateBody.js +2 -0
- package/serialization/resources/user/client/requests/UserPatchBody.d.ts +2 -0
- package/serialization/resources/user/client/requests/UserPatchBody.js +2 -0
- package/serialization/resources/vitals/client/bloodOxygen.d.ts +2 -1
- package/serialization/resources/vitals/client/bloodOxygen.js +2 -10
- package/serialization/resources/vitals/client/bloodPressure.d.ts +2 -1
- package/serialization/resources/vitals/client/bloodPressure.js +2 -10
- package/serialization/resources/vitals/client/bodyFat.d.ts +2 -1
- package/serialization/resources/vitals/client/bodyFat.js +2 -10
- package/serialization/resources/vitals/client/bodyWeight.d.ts +2 -1
- package/serialization/resources/vitals/client/bodyWeight.js +2 -10
- package/serialization/resources/vitals/client/caffeine.d.ts +2 -1
- package/serialization/resources/vitals/client/caffeine.js +2 -10
- package/serialization/resources/vitals/client/caloriesActive.d.ts +2 -1
- package/serialization/resources/vitals/client/caloriesActive.js +2 -10
- package/serialization/resources/vitals/client/caloriesBasal.d.ts +2 -1
- package/serialization/resources/vitals/client/caloriesBasal.js +2 -10
- package/serialization/resources/vitals/client/cholesterol.d.ts +2 -1
- package/serialization/resources/vitals/client/cholesterol.js +2 -10
- package/serialization/resources/vitals/client/cholesterolHdl.d.ts +2 -1
- package/serialization/resources/vitals/client/cholesterolHdl.js +2 -10
- package/serialization/resources/vitals/client/cholesterolLdl.d.ts +2 -1
- package/serialization/resources/vitals/client/cholesterolLdl.js +2 -10
- package/serialization/resources/vitals/client/cholesterolTotal.d.ts +2 -1
- package/serialization/resources/vitals/client/cholesterolTotal.js +2 -10
- package/serialization/resources/vitals/client/cholesterolTriglycerides.d.ts +2 -1
- package/serialization/resources/vitals/client/cholesterolTriglycerides.js +2 -10
- package/serialization/resources/vitals/client/distance.d.ts +2 -1
- package/serialization/resources/vitals/client/distance.js +2 -10
- package/serialization/resources/vitals/client/electrocardiogramVoltage.d.ts +2 -1
- package/serialization/resources/vitals/client/electrocardiogramVoltage.js +2 -10
- package/serialization/resources/vitals/client/floorsClimbed.d.ts +2 -1
- package/serialization/resources/vitals/client/floorsClimbed.js +2 -10
- package/serialization/resources/vitals/client/glucose.d.ts +2 -1
- package/serialization/resources/vitals/client/glucose.js +2 -10
- package/serialization/resources/vitals/client/heartrate.d.ts +2 -1
- package/serialization/resources/vitals/client/heartrate.js +2 -10
- package/serialization/resources/vitals/client/hrv.d.ts +2 -1
- package/serialization/resources/vitals/client/hrv.js +2 -10
- package/serialization/resources/vitals/client/hypnogram.d.ts +2 -1
- package/serialization/resources/vitals/client/hypnogram.js +2 -10
- package/serialization/resources/vitals/client/ige.d.ts +2 -1
- package/serialization/resources/vitals/client/ige.js +2 -10
- package/serialization/resources/vitals/client/igg.d.ts +2 -1
- package/serialization/resources/vitals/client/igg.js +2 -10
- package/serialization/resources/vitals/client/mindfulnessMinutes.d.ts +2 -1
- package/serialization/resources/vitals/client/mindfulnessMinutes.js +2 -10
- package/serialization/resources/vitals/client/respiratoryRate.d.ts +2 -1
- package/serialization/resources/vitals/client/respiratoryRate.js +2 -10
- package/serialization/resources/vitals/client/steps.d.ts +2 -1
- package/serialization/resources/vitals/client/steps.js +2 -10
- package/serialization/resources/vitals/client/stressLevel.d.ts +2 -1
- package/serialization/resources/vitals/client/stressLevel.js +2 -10
- package/serialization/resources/vitals/client/vo2Max.d.ts +2 -1
- package/serialization/resources/vitals/client/vo2Max.js +2 -10
- package/serialization/resources/vitals/client/water.d.ts +2 -1
- package/serialization/resources/vitals/client/water.js +2 -10
- package/serialization/types/ActivityV2InDb.d.ts +2 -1
- package/serialization/types/ActivityV2InDb.js +2 -10
- package/serialization/types/AppointmentAvailabilitySlots.d.ts +2 -1
- package/serialization/types/AppointmentAvailabilitySlots.js +2 -10
- package/serialization/types/AreaInfo.d.ts +2 -1
- package/serialization/types/AreaInfo.js +2 -10
- package/serialization/types/Availability.d.ts +10 -0
- package/serialization/types/Availability.js +31 -0
- package/serialization/types/BiomarkerResult.d.ts +2 -1
- package/serialization/types/BiomarkerResult.js +2 -10
- package/serialization/types/BodyV2InDb.d.ts +2 -1
- package/serialization/types/BodyV2InDb.js +2 -10
- package/serialization/types/ClientActivityResponse.d.ts +2 -1
- package/serialization/types/ClientActivityResponse.js +2 -10
- package/serialization/types/ClientBodyResponse.d.ts +2 -1
- package/serialization/types/ClientBodyResponse.js +2 -10
- package/serialization/types/ClientFacingActivity.d.ts +4 -2
- package/serialization/types/ClientFacingActivity.js +4 -11
- package/serialization/types/ClientFacingAppointment.d.ts +14 -7
- package/serialization/types/ClientFacingAppointment.js +14 -16
- package/serialization/types/ClientFacingAppointmentEvent.d.ts +2 -1
- package/serialization/types/ClientFacingAppointmentEvent.js +2 -10
- package/serialization/types/ClientFacingAtHomePhlebotomyOrderDetails.d.ts +2 -1
- package/serialization/types/ClientFacingAtHomePhlebotomyOrderDetails.js +2 -10
- package/serialization/types/ClientFacingBody.d.ts +2 -1
- package/serialization/types/ClientFacingBody.js +2 -10
- package/serialization/types/ClientFacingFood.d.ts +6 -3
- package/serialization/types/ClientFacingFood.js +6 -12
- package/serialization/types/ClientFacingLab.d.ts +4 -2
- package/serialization/types/ClientFacingLab.js +4 -11
- package/serialization/types/ClientFacingLabTest.d.ts +10 -5
- package/serialization/types/ClientFacingLabTest.js +10 -16
- package/serialization/types/ClientFacingMarker.d.ts +2 -1
- package/serialization/types/ClientFacingMarker.js +2 -10
- package/serialization/types/ClientFacingMarkerComplete.d.ts +4 -2
- package/serialization/types/ClientFacingMarkerComplete.js +4 -11
- package/serialization/types/ClientFacingMealResponse.d.ts +2 -1
- package/serialization/types/ClientFacingMealResponse.js +2 -10
- package/serialization/types/ClientFacingOrder.d.ts +16 -8
- package/serialization/types/ClientFacingOrder.js +16 -17
- package/serialization/types/ClientFacingOrderDetails.d.ts +6 -3
- package/serialization/types/ClientFacingOrderDetails.js +6 -12
- package/serialization/types/ClientFacingOrderEvent.d.ts +2 -1
- package/serialization/types/ClientFacingOrderEvent.js +2 -10
- package/serialization/types/ClientFacingPayorSearchResponse.d.ts +2 -1
- package/serialization/types/ClientFacingPayorSearchResponse.js +2 -10
- package/serialization/types/ClientFacingProfile.d.ts +2 -1
- package/serialization/types/ClientFacingProfile.js +2 -10
- package/serialization/types/ClientFacingProviderDetailed.d.ts +4 -2
- package/serialization/types/ClientFacingProviderDetailed.js +4 -13
- package/serialization/types/ClientFacingProviderWithStatus.d.ts +2 -0
- package/serialization/types/ClientFacingProviderWithStatus.js +2 -0
- package/serialization/types/ClientFacingResult.d.ts +2 -1
- package/serialization/types/ClientFacingResult.js +2 -10
- package/serialization/types/ClientFacingSleep.d.ts +4 -2
- package/serialization/types/ClientFacingSleep.js +4 -11
- package/serialization/types/ClientFacingSleepStream.d.ts +8 -4
- package/serialization/types/ClientFacingSleepStream.js +8 -21
- package/serialization/types/ClientFacingTeam.d.ts +7 -4
- package/serialization/types/ClientFacingTeam.js +7 -15
- package/serialization/types/ClientFacingTestKitOrderDetails.d.ts +2 -1
- package/serialization/types/ClientFacingTestKitOrderDetails.js +2 -10
- package/serialization/types/ClientFacingTestkitOrder.d.ts +2 -1
- package/serialization/types/ClientFacingTestkitOrder.js +2 -10
- package/serialization/types/ClientFacingUser.d.ts +8 -3
- package/serialization/types/ClientFacingUser.js +8 -12
- package/serialization/types/ClientFacingWalkInOrderDetails.d.ts +2 -1
- package/serialization/types/ClientFacingWalkInOrderDetails.js +2 -10
- package/serialization/types/ClientFacingWorkout.d.ts +4 -2
- package/serialization/types/ClientFacingWorkout.js +4 -11
- package/serialization/types/ClientSleepResponse.d.ts +2 -1
- package/serialization/types/ClientSleepResponse.js +2 -10
- package/serialization/types/ClientUserIdConflict.d.ts +15 -0
- package/serialization/types/ClientUserIdConflict.js +36 -0
- package/serialization/types/ClientWorkoutResponse.d.ts +2 -1
- package/serialization/types/ClientWorkoutResponse.js +2 -10
- package/serialization/types/ConnectedSourceClientFacing.d.ts +3 -2
- package/serialization/types/ConnectedSourceClientFacing.js +3 -11
- package/serialization/types/ConnectionStatus.d.ts +4 -0
- package/serialization/types/ConnectionStatus.js +4 -0
- package/serialization/types/ConnectionStatusState.d.ts +10 -0
- package/serialization/types/ConnectionStatusState.js +31 -0
- package/serialization/types/Consent.d.ts +2 -1
- package/serialization/types/Consent.js +2 -10
- package/serialization/types/DaySlots.d.ts +2 -1
- package/serialization/types/DaySlots.js +2 -10
- package/serialization/types/DeviceV2InDb.d.ts +2 -1
- package/serialization/types/DeviceV2InDb.js +2 -10
- package/serialization/types/EventDestinationPreferences.d.ts +4 -2
- package/serialization/types/EventDestinationPreferences.js +4 -11
- package/serialization/types/GetMarkersResponse.d.ts +2 -1
- package/serialization/types/GetMarkersResponse.js +2 -10
- package/serialization/types/GetOrdersResponse.d.ts +2 -1
- package/serialization/types/GetOrdersResponse.js +2 -10
- package/serialization/types/GroupedBloodOxygen.d.ts +4 -2
- package/serialization/types/GroupedBloodOxygen.js +4 -11
- package/serialization/types/GroupedBloodOxygenResponse.d.ts +2 -1
- package/serialization/types/GroupedBloodOxygenResponse.js +2 -10
- package/serialization/types/GroupedBloodPressure.d.ts +4 -2
- package/serialization/types/GroupedBloodPressure.js +4 -11
- package/serialization/types/GroupedBloodPressureResponse.d.ts +2 -1
- package/serialization/types/GroupedBloodPressureResponse.js +2 -10
- package/serialization/types/GroupedBodyFat.d.ts +4 -2
- package/serialization/types/GroupedBodyFat.js +4 -11
- package/serialization/types/GroupedBodyFatResponse.d.ts +2 -1
- package/serialization/types/GroupedBodyFatResponse.js +2 -10
- package/serialization/types/GroupedBodyWeight.d.ts +4 -2
- package/serialization/types/GroupedBodyWeight.js +4 -11
- package/serialization/types/GroupedBodyWeightResponse.d.ts +2 -1
- package/serialization/types/GroupedBodyWeightResponse.js +2 -10
- package/serialization/types/GroupedCaffeine.d.ts +4 -2
- package/serialization/types/GroupedCaffeine.js +4 -11
- package/serialization/types/GroupedCaffeineResponse.d.ts +2 -1
- package/serialization/types/GroupedCaffeineResponse.js +2 -10
- package/serialization/types/GroupedCaloriesActive.d.ts +4 -2
- package/serialization/types/GroupedCaloriesActive.js +4 -11
- package/serialization/types/GroupedCaloriesActiveResponse.d.ts +2 -1
- package/serialization/types/GroupedCaloriesActiveResponse.js +2 -10
- package/serialization/types/GroupedCaloriesBasal.d.ts +4 -2
- package/serialization/types/GroupedCaloriesBasal.js +4 -11
- package/serialization/types/GroupedCaloriesBasalResponse.d.ts +2 -1
- package/serialization/types/GroupedCaloriesBasalResponse.js +2 -10
- package/serialization/types/GroupedCholesterol.d.ts +4 -2
- package/serialization/types/GroupedCholesterol.js +4 -11
- package/serialization/types/GroupedCholesterolResponse.d.ts +2 -1
- package/serialization/types/GroupedCholesterolResponse.js +2 -10
- package/serialization/types/GroupedDistance.d.ts +4 -2
- package/serialization/types/GroupedDistance.js +4 -11
- package/serialization/types/GroupedDistanceResponse.d.ts +2 -1
- package/serialization/types/GroupedDistanceResponse.js +2 -10
- package/serialization/types/GroupedElectrocardiogramVoltage.d.ts +4 -2
- package/serialization/types/GroupedElectrocardiogramVoltage.js +4 -11
- package/serialization/types/GroupedElectrocardiogramVoltageResponse.d.ts +2 -1
- package/serialization/types/GroupedElectrocardiogramVoltageResponse.js +2 -10
- package/serialization/types/GroupedFloorsClimbed.d.ts +4 -2
- package/serialization/types/GroupedFloorsClimbed.js +4 -11
- package/serialization/types/GroupedFloorsClimbedResponse.d.ts +2 -1
- package/serialization/types/GroupedFloorsClimbedResponse.js +2 -10
- package/serialization/types/GroupedGlucose.d.ts +4 -2
- package/serialization/types/GroupedGlucose.js +4 -11
- package/serialization/types/GroupedGlucoseResponse.d.ts +2 -1
- package/serialization/types/GroupedGlucoseResponse.js +2 -10
- package/serialization/types/GroupedHeartRate.d.ts +4 -2
- package/serialization/types/GroupedHeartRate.js +4 -11
- package/serialization/types/GroupedHeartRateResponse.d.ts +2 -1
- package/serialization/types/GroupedHeartRateResponse.js +2 -10
- package/serialization/types/GroupedHrv.d.ts +4 -2
- package/serialization/types/GroupedHrv.js +4 -11
- package/serialization/types/GroupedHrvResponse.d.ts +2 -1
- package/serialization/types/GroupedHrvResponse.js +2 -10
- package/serialization/types/GroupedHypnogram.d.ts +4 -2
- package/serialization/types/GroupedHypnogram.js +4 -11
- package/serialization/types/GroupedHypnogramResponse.d.ts +2 -1
- package/serialization/types/GroupedHypnogramResponse.js +2 -10
- package/serialization/types/GroupedIge.d.ts +4 -2
- package/serialization/types/GroupedIge.js +4 -11
- package/serialization/types/GroupedIgeResponse.d.ts +2 -1
- package/serialization/types/GroupedIgeResponse.js +2 -10
- package/serialization/types/GroupedIgg.d.ts +4 -2
- package/serialization/types/GroupedIgg.js +4 -11
- package/serialization/types/GroupedIggResponse.d.ts +2 -1
- package/serialization/types/GroupedIggResponse.js +2 -10
- package/serialization/types/GroupedMindfulnessMinutes.d.ts +4 -2
- package/serialization/types/GroupedMindfulnessMinutes.js +4 -11
- package/serialization/types/GroupedMindfulnessMinutesResponse.d.ts +2 -1
- package/serialization/types/GroupedMindfulnessMinutesResponse.js +2 -10
- package/serialization/types/GroupedRespiratoryRate.d.ts +4 -2
- package/serialization/types/GroupedRespiratoryRate.js +4 -11
- package/serialization/types/GroupedRespiratoryRateResponse.d.ts +2 -1
- package/serialization/types/GroupedRespiratoryRateResponse.js +2 -10
- package/serialization/types/GroupedSteps.d.ts +4 -2
- package/serialization/types/GroupedSteps.js +4 -11
- package/serialization/types/GroupedStepsResponse.d.ts +2 -1
- package/serialization/types/GroupedStepsResponse.js +2 -10
- package/serialization/types/GroupedStressLevel.d.ts +4 -2
- package/serialization/types/GroupedStressLevel.js +4 -11
- package/serialization/types/GroupedStressLevelResponse.d.ts +2 -1
- package/serialization/types/GroupedStressLevelResponse.js +2 -10
- package/serialization/types/GroupedVo2Max.d.ts +4 -2
- package/serialization/types/GroupedVo2Max.js +4 -11
- package/serialization/types/GroupedVo2MaxResponse.d.ts +2 -1
- package/serialization/types/GroupedVo2MaxResponse.js +2 -10
- package/serialization/types/GroupedWater.d.ts +4 -2
- package/serialization/types/GroupedWater.js +4 -11
- package/serialization/types/GroupedWaterResponse.d.ts +2 -1
- package/serialization/types/GroupedWaterResponse.js +2 -10
- package/serialization/types/HealthInsuranceCreateRequest.d.ts +10 -5
- package/serialization/types/HealthInsuranceCreateRequest.js +10 -16
- package/serialization/types/HealthInsuranceCreateRequestBackImage.d.ts +4 -2
- package/serialization/types/HealthInsuranceCreateRequestBackImage.js +4 -11
- package/serialization/types/HealthInsuranceCreateRequestFrontImage.d.ts +4 -2
- package/serialization/types/HealthInsuranceCreateRequestFrontImage.js +4 -11
- package/serialization/types/HealthInsuranceCreateRequestPatientSignatureImage.d.ts +4 -2
- package/serialization/types/HealthInsuranceCreateRequestPatientSignatureImage.js +4 -11
- package/serialization/types/HttpValidationError.d.ts +2 -1
- package/serialization/types/HttpValidationError.js +2 -12
- package/serialization/types/LabResultsRaw.d.ts +4 -2
- package/serialization/types/LabResultsRaw.js +4 -11
- package/serialization/types/LabResultsRawResults.d.ts +2 -1
- package/serialization/types/LabResultsRawResults.js +2 -10
- package/serialization/types/LastAttempt.d.ts +2 -1
- package/serialization/types/LastAttempt.js +2 -10
- package/serialization/types/LibreConfig.d.ts +1 -0
- package/serialization/types/LibreConfig.js +1 -0
- package/serialization/types/Macros.d.ts +2 -1
- package/serialization/types/Macros.js +2 -10
- package/serialization/types/MealInDbBaseClientFacingSource.d.ts +10 -5
- package/serialization/types/MealInDbBaseClientFacingSource.js +10 -16
- package/serialization/types/MetricsResult.d.ts +2 -1
- package/serialization/types/MetricsResult.js +2 -12
- package/serialization/types/OrderStatus.d.ts +1 -1
- package/serialization/types/OrderStatus.js +1 -0
- package/serialization/types/PaginatedUsersResponse.d.ts +2 -1
- package/serialization/types/PaginatedUsersResponse.js +2 -10
- package/serialization/types/PatientDetails.d.ts +2 -1
- package/serialization/types/PatientDetails.js +2 -10
- package/serialization/types/PersonDetails.d.ts +2 -1
- package/serialization/types/PersonDetails.js +2 -10
- package/serialization/types/PhlebotomyAreaInfo.d.ts +2 -1
- package/serialization/types/PhlebotomyAreaInfo.js +2 -10
- package/serialization/types/PhlebotomyProviderInfo.d.ts +4 -2
- package/serialization/types/PhlebotomyProviderInfo.js +4 -11
- package/serialization/types/PhysicianCreateRequest.d.ts +2 -1
- package/serialization/types/PhysicianCreateRequest.js +2 -10
- package/serialization/types/PhysicianCreateRequestSignatureImage.d.ts +4 -2
- package/serialization/types/PhysicianCreateRequestSignatureImage.js +4 -11
- package/serialization/types/PostOrderResponse.d.ts +2 -1
- package/serialization/types/PostOrderResponse.js +2 -10
- package/serialization/types/ProfileInDb.d.ts +2 -1
- package/serialization/types/ProfileInDb.js +2 -10
- package/serialization/types/ProviderLinkResponse.d.ts +6 -1
- package/serialization/types/ProviderLinkResponse.js +6 -10
- package/serialization/types/ProviderLinkResponseState.d.ts +10 -0
- package/serialization/types/ProviderLinkResponseState.js +31 -0
- package/serialization/types/RawActivity.d.ts +2 -1
- package/serialization/types/RawActivity.js +2 -10
- package/serialization/types/RawBody.d.ts +2 -1
- package/serialization/types/RawBody.js +2 -10
- package/serialization/types/RawDevices.d.ts +2 -1
- package/serialization/types/RawDevices.js +2 -10
- package/serialization/types/RawProfile.d.ts +2 -1
- package/serialization/types/RawProfile.js +2 -10
- package/serialization/types/RawSleep.d.ts +2 -1
- package/serialization/types/RawSleep.js +2 -10
- package/serialization/types/RawWorkout.d.ts +2 -1
- package/serialization/types/RawWorkout.js +2 -10
- package/serialization/types/Region.d.ts +1 -1
- package/serialization/types/Region.js +1 -0
- package/serialization/types/ResourceAvailability.d.ts +15 -0
- package/serialization/types/ResourceAvailability.js +36 -0
- package/serialization/types/ScopeRequirementsGrants.d.ts +14 -0
- package/serialization/types/ScopeRequirementsGrants.js +35 -0
- package/serialization/types/ScopeRequirementsStr.d.ts +13 -0
- package/serialization/types/ScopeRequirementsStr.js +34 -0
- package/serialization/types/SingleHistoricalPullStatistics.d.ts +2 -1
- package/serialization/types/SingleHistoricalPullStatistics.js +2 -10
- package/serialization/types/SingleProviderHistoricalPullResponse.d.ts +4 -2
- package/serialization/types/SingleProviderHistoricalPullResponse.js +4 -11
- package/serialization/types/SingleResourceStatistics.d.ts +2 -1
- package/serialization/types/SingleResourceStatistics.js +2 -10
- package/serialization/types/SingleUserHistoricalPullResponse.d.ts +2 -1
- package/serialization/types/SingleUserHistoricalPullResponse.js +2 -10
- package/serialization/types/SingleUserResourceResponse.d.ts +2 -1
- package/serialization/types/SingleUserResourceResponse.js +2 -10
- package/serialization/types/SleepV2InDb.d.ts +2 -1
- package/serialization/types/SleepV2InDb.js +2 -10
- package/serialization/types/Source.d.ts +4 -2
- package/serialization/types/Source.js +4 -11
- package/serialization/types/SourceLink.d.ts +2 -1
- package/serialization/types/SourceLink.js +2 -10
- package/serialization/types/TeamConfig.d.ts +5 -2
- package/serialization/types/TeamConfig.js +5 -11
- package/serialization/types/UserHistoricalPullsResponse.d.ts +2 -1
- package/serialization/types/UserHistoricalPullsResponse.js +2 -10
- package/serialization/types/UserResourcesResponse.d.ts +2 -1
- package/serialization/types/UserResourcesResponse.js +2 -10
- package/serialization/types/ValidationError.d.ts +2 -1
- package/serialization/types/ValidationError.js +2 -10
- package/serialization/types/WorkoutV2InDb.d.ts +4 -2
- package/serialization/types/WorkoutV2InDb.js +4 -11
- package/serialization/types/index.d.ts +7 -0
- package/serialization/types/index.js +7 -0
- package/tests/client.test.ts +11 -0
- package/api/resources/link/client/requests/LinkGenerateOauthLinkRequest.d.ts +0 -6
- package/api/resources/link/client/requests/LinkGetAllProvidersRequest.d.ts +0 -10
- package/api/resources/link/client/requests/LinkTokenStateRequest.d.ts +0 -10
- package/api/resources/team/client/requests/TeamGetLinkConfigRequest.d.ts +0 -10
- package/dist/api/resources/link/client/requests/LinkGenerateOauthLinkRequest.d.ts +0 -6
- package/dist/api/resources/link/client/requests/LinkGetAllProvidersRequest.d.ts +0 -10
- package/dist/api/resources/link/client/requests/LinkTokenStateRequest.d.ts +0 -10
- package/dist/api/resources/team/client/requests/TeamGetLinkConfigRequest.d.ts +0 -10
- /package/api/{resources/link/client/requests/LinkGenerateOauthLinkRequest.js → types/ClientUserIdConflict.js} +0 -0
- /package/api/{resources/link/client/requests/LinkGetAllProvidersRequest.js → types/ResourceAvailability.js} +0 -0
- /package/api/{resources/link/client/requests/LinkTokenStateRequest.js → types/ScopeRequirementsGrants.js} +0 -0
- /package/api/{resources/team/client/requests/TeamGetLinkConfigRequest.js → types/ScopeRequirementsStr.js} +0 -0
- /package/dist/api/{resources/link/client/requests/LinkGenerateOauthLinkRequest.js → types/ClientUserIdConflict.js} +0 -0
- /package/dist/api/{resources/link/client/requests/LinkGetAllProvidersRequest.js → types/ResourceAvailability.js} +0 -0
- /package/dist/api/{resources/link/client/requests/LinkTokenStateRequest.js → types/ScopeRequirementsGrants.js} +0 -0
- /package/dist/api/{resources/team/client/requests/TeamGetLinkConfigRequest.js → types/ScopeRequirementsStr.js} +0 -0
@@ -4,6 +4,8 @@
|
|
4
4
|
import * as serializers from "..";
|
5
5
|
import * as Vital from "../../api";
|
6
6
|
import * as core from "../../core";
|
7
|
+
import { LabTestCollectionMethod } from "./LabTestCollectionMethod";
|
8
|
+
import { LabTestSampleType } from "./LabTestSampleType";
|
7
9
|
export declare const ClientFacingLab: core.serialization.ObjectSchema<serializers.ClientFacingLab.Raw, Vital.ClientFacingLab>;
|
8
10
|
export declare namespace ClientFacingLab {
|
9
11
|
interface Raw {
|
@@ -13,7 +15,7 @@ export declare namespace ClientFacingLab {
|
|
13
15
|
first_line_address: string;
|
14
16
|
city: string;
|
15
17
|
zipcode: string;
|
16
|
-
collection_methods:
|
17
|
-
sample_types:
|
18
|
+
collection_methods: LabTestCollectionMethod.Raw[];
|
19
|
+
sample_types: LabTestSampleType.Raw[];
|
18
20
|
}
|
19
21
|
}
|
@@ -25,18 +25,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
25
25
|
__setModuleDefault(result, mod);
|
26
26
|
return result;
|
27
27
|
};
|
28
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
29
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
30
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
31
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
32
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
33
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
34
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
35
|
-
});
|
36
|
-
};
|
37
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
38
29
|
exports.ClientFacingLab = void 0;
|
39
30
|
const core = __importStar(require("../../core"));
|
31
|
+
const LabTestCollectionMethod_1 = require("./LabTestCollectionMethod");
|
32
|
+
const LabTestSampleType_1 = require("./LabTestSampleType");
|
40
33
|
exports.ClientFacingLab = core.serialization.object({
|
41
34
|
id: core.serialization.number(),
|
42
35
|
slug: core.serialization.string(),
|
@@ -44,6 +37,6 @@ exports.ClientFacingLab = core.serialization.object({
|
|
44
37
|
firstLineAddress: core.serialization.property("first_line_address", core.serialization.string()),
|
45
38
|
city: core.serialization.string(),
|
46
39
|
zipcode: core.serialization.string(),
|
47
|
-
collectionMethods: core.serialization.property("collection_methods", core.serialization.list(
|
48
|
-
sampleTypes: core.serialization.property("sample_types", core.serialization.list(
|
40
|
+
collectionMethods: core.serialization.property("collection_methods", core.serialization.list(LabTestCollectionMethod_1.LabTestCollectionMethod)),
|
41
|
+
sampleTypes: core.serialization.property("sample_types", core.serialization.list(LabTestSampleType_1.LabTestSampleType)),
|
49
42
|
});
|
@@ -4,20 +4,25 @@
|
|
4
4
|
import * as serializers from "..";
|
5
5
|
import * as Vital from "../../api";
|
6
6
|
import * as core from "../../core";
|
7
|
+
import { LabTestSampleType } from "./LabTestSampleType";
|
8
|
+
import { LabTestCollectionMethod } from "./LabTestCollectionMethod";
|
9
|
+
import { LabTestStatus } from "./LabTestStatus";
|
10
|
+
import { ClientFacingLab } from "./ClientFacingLab";
|
11
|
+
import { ClientFacingMarker } from "./ClientFacingMarker";
|
7
12
|
export declare const ClientFacingLabTest: core.serialization.ObjectSchema<serializers.ClientFacingLabTest.Raw, Vital.ClientFacingLabTest>;
|
8
13
|
export declare namespace ClientFacingLabTest {
|
9
14
|
interface Raw {
|
10
15
|
id: string;
|
11
16
|
slug: string;
|
12
17
|
name: string;
|
13
|
-
sample_type:
|
14
|
-
method:
|
18
|
+
sample_type: LabTestSampleType.Raw;
|
19
|
+
method: LabTestCollectionMethod.Raw;
|
15
20
|
price: number;
|
16
21
|
is_active: boolean;
|
17
|
-
status:
|
22
|
+
status: LabTestStatus.Raw;
|
18
23
|
fasting?: boolean | null;
|
19
|
-
lab?:
|
20
|
-
markers?:
|
24
|
+
lab?: ClientFacingLab.Raw | null;
|
25
|
+
markers?: ClientFacingMarker.Raw[] | null;
|
21
26
|
is_delegated?: boolean | null;
|
22
27
|
}
|
23
28
|
}
|
@@ -25,31 +25,25 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
25
25
|
__setModuleDefault(result, mod);
|
26
26
|
return result;
|
27
27
|
};
|
28
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
29
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
30
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
31
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
32
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
33
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
34
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
35
|
-
});
|
36
|
-
};
|
37
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
38
29
|
exports.ClientFacingLabTest = void 0;
|
39
30
|
const core = __importStar(require("../../core"));
|
31
|
+
const LabTestSampleType_1 = require("./LabTestSampleType");
|
32
|
+
const LabTestCollectionMethod_1 = require("./LabTestCollectionMethod");
|
33
|
+
const LabTestStatus_1 = require("./LabTestStatus");
|
34
|
+
const ClientFacingLab_1 = require("./ClientFacingLab");
|
35
|
+
const ClientFacingMarker_1 = require("./ClientFacingMarker");
|
40
36
|
exports.ClientFacingLabTest = core.serialization.object({
|
41
37
|
id: core.serialization.string(),
|
42
38
|
slug: core.serialization.string(),
|
43
39
|
name: core.serialization.string(),
|
44
|
-
sampleType: core.serialization.property("sample_type",
|
45
|
-
method:
|
40
|
+
sampleType: core.serialization.property("sample_type", LabTestSampleType_1.LabTestSampleType),
|
41
|
+
method: LabTestCollectionMethod_1.LabTestCollectionMethod,
|
46
42
|
price: core.serialization.number(),
|
47
43
|
isActive: core.serialization.property("is_active", core.serialization.boolean()),
|
48
|
-
status:
|
44
|
+
status: LabTestStatus_1.LabTestStatus,
|
49
45
|
fasting: core.serialization.boolean().optional(),
|
50
|
-
lab:
|
51
|
-
markers: core.serialization
|
52
|
-
.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ClientFacingMarker; })))
|
53
|
-
.optional(),
|
46
|
+
lab: ClientFacingLab_1.ClientFacingLab.optional(),
|
47
|
+
markers: core.serialization.list(ClientFacingMarker_1.ClientFacingMarker).optional(),
|
54
48
|
isDelegated: core.serialization.property("is_delegated", core.serialization.boolean().optional()),
|
55
49
|
});
|
@@ -4,6 +4,7 @@
|
|
4
4
|
import * as serializers from "..";
|
5
5
|
import * as Vital from "../../api";
|
6
6
|
import * as core from "../../core";
|
7
|
+
import { MarkerType } from "./MarkerType";
|
7
8
|
export declare const ClientFacingMarker: core.serialization.ObjectSchema<serializers.ClientFacingMarker.Raw, Vital.ClientFacingMarker>;
|
8
9
|
export declare namespace ClientFacingMarker {
|
9
10
|
interface Raw {
|
@@ -13,7 +14,7 @@ export declare namespace ClientFacingMarker {
|
|
13
14
|
description?: string | null;
|
14
15
|
lab_id?: number | null;
|
15
16
|
provider_id?: string | null;
|
16
|
-
type?:
|
17
|
+
type?: MarkerType.Raw | null;
|
17
18
|
unit?: string | null;
|
18
19
|
price?: string | null;
|
19
20
|
}
|
@@ -25,18 +25,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
25
25
|
__setModuleDefault(result, mod);
|
26
26
|
return result;
|
27
27
|
};
|
28
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
29
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
30
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
31
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
32
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
33
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
34
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
35
|
-
});
|
36
|
-
};
|
37
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
38
29
|
exports.ClientFacingMarker = void 0;
|
39
30
|
const core = __importStar(require("../../core"));
|
31
|
+
const MarkerType_1 = require("./MarkerType");
|
40
32
|
exports.ClientFacingMarker = core.serialization.object({
|
41
33
|
id: core.serialization.number(),
|
42
34
|
name: core.serialization.string(),
|
@@ -44,7 +36,7 @@ exports.ClientFacingMarker = core.serialization.object({
|
|
44
36
|
description: core.serialization.string().optional(),
|
45
37
|
labId: core.serialization.property("lab_id", core.serialization.number().optional()),
|
46
38
|
providerId: core.serialization.property("provider_id", core.serialization.string().optional()),
|
47
|
-
type:
|
39
|
+
type: MarkerType_1.MarkerType.optional(),
|
48
40
|
unit: core.serialization.string().optional(),
|
49
41
|
price: core.serialization.string().optional(),
|
50
42
|
});
|
@@ -4,6 +4,8 @@
|
|
4
4
|
import * as serializers from "..";
|
5
5
|
import * as Vital from "../../api";
|
6
6
|
import * as core from "../../core";
|
7
|
+
import { MarkerType } from "./MarkerType";
|
8
|
+
import { ClientFacingResult } from "./ClientFacingResult";
|
7
9
|
export declare const ClientFacingMarkerComplete: core.serialization.ObjectSchema<serializers.ClientFacingMarkerComplete.Raw, Vital.ClientFacingMarkerComplete>;
|
8
10
|
export declare namespace ClientFacingMarkerComplete {
|
9
11
|
interface Raw {
|
@@ -13,9 +15,9 @@ export declare namespace ClientFacingMarkerComplete {
|
|
13
15
|
description?: string | null;
|
14
16
|
lab_id?: number | null;
|
15
17
|
provider_id?: string | null;
|
16
|
-
type?:
|
18
|
+
type?: MarkerType.Raw | null;
|
17
19
|
unit?: string | null;
|
18
20
|
price?: string | null;
|
19
|
-
expected_results:
|
21
|
+
expected_results: ClientFacingResult.Raw[];
|
20
22
|
}
|
21
23
|
}
|
@@ -25,18 +25,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
25
25
|
__setModuleDefault(result, mod);
|
26
26
|
return result;
|
27
27
|
};
|
28
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
29
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
30
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
31
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
32
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
33
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
34
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
35
|
-
});
|
36
|
-
};
|
37
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
38
29
|
exports.ClientFacingMarkerComplete = void 0;
|
39
30
|
const core = __importStar(require("../../core"));
|
31
|
+
const MarkerType_1 = require("./MarkerType");
|
32
|
+
const ClientFacingResult_1 = require("./ClientFacingResult");
|
40
33
|
exports.ClientFacingMarkerComplete = core.serialization.object({
|
41
34
|
id: core.serialization.number(),
|
42
35
|
name: core.serialization.string(),
|
@@ -44,8 +37,8 @@ exports.ClientFacingMarkerComplete = core.serialization.object({
|
|
44
37
|
description: core.serialization.string().optional(),
|
45
38
|
labId: core.serialization.property("lab_id", core.serialization.number().optional()),
|
46
39
|
providerId: core.serialization.property("provider_id", core.serialization.string().optional()),
|
47
|
-
type:
|
40
|
+
type: MarkerType_1.MarkerType.optional(),
|
48
41
|
unit: core.serialization.string().optional(),
|
49
42
|
price: core.serialization.string().optional(),
|
50
|
-
expectedResults: core.serialization.property("expected_results", core.serialization.list(
|
43
|
+
expectedResults: core.serialization.property("expected_results", core.serialization.list(ClientFacingResult_1.ClientFacingResult)),
|
51
44
|
});
|
@@ -4,9 +4,10 @@
|
|
4
4
|
import * as serializers from "..";
|
5
5
|
import * as Vital from "../../api";
|
6
6
|
import * as core from "../../core";
|
7
|
+
import { MealInDbBaseClientFacingSource } from "./MealInDbBaseClientFacingSource";
|
7
8
|
export declare const ClientFacingMealResponse: core.serialization.ObjectSchema<serializers.ClientFacingMealResponse.Raw, Vital.ClientFacingMealResponse>;
|
8
9
|
export declare namespace ClientFacingMealResponse {
|
9
10
|
interface Raw {
|
10
|
-
meals:
|
11
|
+
meals: MealInDbBaseClientFacingSource.Raw[];
|
11
12
|
}
|
12
13
|
}
|
@@ -25,18 +25,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
25
25
|
__setModuleDefault(result, mod);
|
26
26
|
return result;
|
27
27
|
};
|
28
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
29
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
30
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
31
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
32
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
33
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
34
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
35
|
-
});
|
36
|
-
};
|
37
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
38
29
|
exports.ClientFacingMealResponse = void 0;
|
39
30
|
const core = __importStar(require("../../core"));
|
31
|
+
const MealInDbBaseClientFacingSource_1 = require("./MealInDbBaseClientFacingSource");
|
40
32
|
exports.ClientFacingMealResponse = core.serialization.object({
|
41
|
-
meals: core.serialization.list(
|
33
|
+
meals: core.serialization.list(MealInDbBaseClientFacingSource_1.MealInDbBaseClientFacingSource),
|
42
34
|
});
|
@@ -4,27 +4,35 @@
|
|
4
4
|
import * as serializers from "..";
|
5
5
|
import * as Vital from "../../api";
|
6
6
|
import * as core from "../../core";
|
7
|
+
import { ClientFacingPatientDetailsCompatible } from "./ClientFacingPatientDetailsCompatible";
|
8
|
+
import { PatientAddressCompatible } from "./PatientAddressCompatible";
|
9
|
+
import { ClientFacingLabTest } from "./ClientFacingLabTest";
|
10
|
+
import { ClientFacingOrderDetails } from "./ClientFacingOrderDetails";
|
11
|
+
import { ClientFacingOrderEvent } from "./ClientFacingOrderEvent";
|
12
|
+
import { OrderTopLevelStatus } from "./OrderTopLevelStatus";
|
13
|
+
import { ClientFacingPhysician } from "./ClientFacingPhysician";
|
14
|
+
import { ShippingAddress } from "./ShippingAddress";
|
7
15
|
export declare const ClientFacingOrder: core.serialization.ObjectSchema<serializers.ClientFacingOrder.Raw, Vital.ClientFacingOrder>;
|
8
16
|
export declare namespace ClientFacingOrder {
|
9
17
|
interface Raw {
|
10
18
|
user_id: string;
|
11
19
|
id: string;
|
12
20
|
team_id: string;
|
13
|
-
patient_details?:
|
14
|
-
patient_address?:
|
15
|
-
lab_test:
|
16
|
-
details:
|
21
|
+
patient_details?: ClientFacingPatientDetailsCompatible.Raw | null;
|
22
|
+
patient_address?: PatientAddressCompatible.Raw | null;
|
23
|
+
lab_test: ClientFacingLabTest.Raw;
|
24
|
+
details: ClientFacingOrderDetails.Raw;
|
17
25
|
sample_id?: string | null;
|
18
26
|
notes?: string | null;
|
19
27
|
created_at: string;
|
20
28
|
updated_at: string;
|
21
|
-
events:
|
22
|
-
status?:
|
23
|
-
physician?:
|
29
|
+
events: ClientFacingOrderEvent.Raw[];
|
30
|
+
status?: OrderTopLevelStatus.Raw | null;
|
31
|
+
physician?: ClientFacingPhysician.Raw | null;
|
24
32
|
health_insurance_id?: string | null;
|
25
33
|
requisition_form_url?: string | null;
|
26
34
|
priority?: boolean | null;
|
27
|
-
shipping_details?:
|
35
|
+
shipping_details?: ShippingAddress.Raw | null;
|
28
36
|
activate_by?: string | null;
|
29
37
|
}
|
30
38
|
}
|
@@ -25,36 +25,35 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
25
25
|
__setModuleDefault(result, mod);
|
26
26
|
return result;
|
27
27
|
};
|
28
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
29
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
30
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
31
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
32
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
33
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
34
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
35
|
-
});
|
36
|
-
};
|
37
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
38
29
|
exports.ClientFacingOrder = void 0;
|
39
30
|
const core = __importStar(require("../../core"));
|
31
|
+
const ClientFacingPatientDetailsCompatible_1 = require("./ClientFacingPatientDetailsCompatible");
|
32
|
+
const PatientAddressCompatible_1 = require("./PatientAddressCompatible");
|
33
|
+
const ClientFacingLabTest_1 = require("./ClientFacingLabTest");
|
34
|
+
const ClientFacingOrderDetails_1 = require("./ClientFacingOrderDetails");
|
35
|
+
const ClientFacingOrderEvent_1 = require("./ClientFacingOrderEvent");
|
36
|
+
const OrderTopLevelStatus_1 = require("./OrderTopLevelStatus");
|
37
|
+
const ClientFacingPhysician_1 = require("./ClientFacingPhysician");
|
38
|
+
const ShippingAddress_1 = require("./ShippingAddress");
|
40
39
|
exports.ClientFacingOrder = core.serialization.object({
|
41
40
|
userId: core.serialization.property("user_id", core.serialization.string()),
|
42
41
|
id: core.serialization.string(),
|
43
42
|
teamId: core.serialization.property("team_id", core.serialization.string()),
|
44
|
-
patientDetails: core.serialization.property("patient_details",
|
45
|
-
patientAddress: core.serialization.property("patient_address",
|
46
|
-
labTest: core.serialization.property("lab_test",
|
47
|
-
details:
|
43
|
+
patientDetails: core.serialization.property("patient_details", ClientFacingPatientDetailsCompatible_1.ClientFacingPatientDetailsCompatible.optional()),
|
44
|
+
patientAddress: core.serialization.property("patient_address", PatientAddressCompatible_1.PatientAddressCompatible.optional()),
|
45
|
+
labTest: core.serialization.property("lab_test", ClientFacingLabTest_1.ClientFacingLabTest),
|
46
|
+
details: ClientFacingOrderDetails_1.ClientFacingOrderDetails,
|
48
47
|
sampleId: core.serialization.property("sample_id", core.serialization.string().optional()),
|
49
48
|
notes: core.serialization.string().optional(),
|
50
49
|
createdAt: core.serialization.property("created_at", core.serialization.date()),
|
51
50
|
updatedAt: core.serialization.property("updated_at", core.serialization.date()),
|
52
|
-
events: core.serialization.list(
|
53
|
-
status:
|
54
|
-
physician:
|
51
|
+
events: core.serialization.list(ClientFacingOrderEvent_1.ClientFacingOrderEvent),
|
52
|
+
status: OrderTopLevelStatus_1.OrderTopLevelStatus.optional(),
|
53
|
+
physician: ClientFacingPhysician_1.ClientFacingPhysician.optional(),
|
55
54
|
healthInsuranceId: core.serialization.property("health_insurance_id", core.serialization.string().optional()),
|
56
55
|
requisitionFormUrl: core.serialization.property("requisition_form_url", core.serialization.string().optional()),
|
57
56
|
priority: core.serialization.boolean().optional(),
|
58
|
-
shippingDetails: core.serialization.property("shipping_details",
|
57
|
+
shippingDetails: core.serialization.property("shipping_details", ShippingAddress_1.ShippingAddress.optional()),
|
59
58
|
activateBy: core.serialization.property("activate_by", core.serialization.string().optional()),
|
60
59
|
});
|
@@ -4,16 +4,19 @@
|
|
4
4
|
import * as serializers from "..";
|
5
5
|
import * as Vital from "../../api";
|
6
6
|
import * as core from "../../core";
|
7
|
+
import { ClientFacingWalkInOrderDetails } from "./ClientFacingWalkInOrderDetails";
|
8
|
+
import { ClientFacingTestKitOrderDetails } from "./ClientFacingTestKitOrderDetails";
|
9
|
+
import { ClientFacingAtHomePhlebotomyOrderDetails } from "./ClientFacingAtHomePhlebotomyOrderDetails";
|
7
10
|
export declare const ClientFacingOrderDetails: core.serialization.Schema<serializers.ClientFacingOrderDetails.Raw, Vital.ClientFacingOrderDetails>;
|
8
11
|
export declare namespace ClientFacingOrderDetails {
|
9
12
|
type Raw = ClientFacingOrderDetails.WalkInTest | ClientFacingOrderDetails.Testkit | ClientFacingOrderDetails.AtHomePhlebotomy;
|
10
|
-
interface WalkInTest extends
|
13
|
+
interface WalkInTest extends ClientFacingWalkInOrderDetails.Raw {
|
11
14
|
type: "walk_in_test";
|
12
15
|
}
|
13
|
-
interface Testkit extends
|
16
|
+
interface Testkit extends ClientFacingTestKitOrderDetails.Raw {
|
14
17
|
type: "testkit";
|
15
18
|
}
|
16
|
-
interface AtHomePhlebotomy extends
|
19
|
+
interface AtHomePhlebotomy extends ClientFacingAtHomePhlebotomyOrderDetails.Raw {
|
17
20
|
type: "at_home_phlebotomy";
|
18
21
|
}
|
19
22
|
}
|
@@ -25,23 +25,17 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
25
25
|
__setModuleDefault(result, mod);
|
26
26
|
return result;
|
27
27
|
};
|
28
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
29
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
30
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
31
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
32
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
33
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
34
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
35
|
-
});
|
36
|
-
};
|
37
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
38
29
|
exports.ClientFacingOrderDetails = void 0;
|
39
30
|
const core = __importStar(require("../../core"));
|
31
|
+
const ClientFacingWalkInOrderDetails_1 = require("./ClientFacingWalkInOrderDetails");
|
32
|
+
const ClientFacingTestKitOrderDetails_1 = require("./ClientFacingTestKitOrderDetails");
|
33
|
+
const ClientFacingAtHomePhlebotomyOrderDetails_1 = require("./ClientFacingAtHomePhlebotomyOrderDetails");
|
40
34
|
exports.ClientFacingOrderDetails = core.serialization
|
41
35
|
.union("type", {
|
42
|
-
walk_in_test:
|
43
|
-
testkit:
|
44
|
-
at_home_phlebotomy:
|
36
|
+
walk_in_test: ClientFacingWalkInOrderDetails_1.ClientFacingWalkInOrderDetails,
|
37
|
+
testkit: ClientFacingTestKitOrderDetails_1.ClientFacingTestKitOrderDetails,
|
38
|
+
at_home_phlebotomy: ClientFacingAtHomePhlebotomyOrderDetails_1.ClientFacingAtHomePhlebotomyOrderDetails,
|
45
39
|
})
|
46
40
|
.transform({
|
47
41
|
transform: (value) => value,
|
@@ -4,11 +4,12 @@
|
|
4
4
|
import * as serializers from "..";
|
5
5
|
import * as Vital from "../../api";
|
6
6
|
import * as core from "../../core";
|
7
|
+
import { OrderStatus } from "./OrderStatus";
|
7
8
|
export declare const ClientFacingOrderEvent: core.serialization.ObjectSchema<serializers.ClientFacingOrderEvent.Raw, Vital.ClientFacingOrderEvent>;
|
8
9
|
export declare namespace ClientFacingOrderEvent {
|
9
10
|
interface Raw {
|
10
11
|
id: number;
|
11
12
|
created_at: string;
|
12
|
-
status:
|
13
|
+
status: OrderStatus.Raw;
|
13
14
|
}
|
14
15
|
}
|
@@ -25,20 +25,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
25
25
|
__setModuleDefault(result, mod);
|
26
26
|
return result;
|
27
27
|
};
|
28
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
29
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
30
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
31
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
32
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
33
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
34
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
35
|
-
});
|
36
|
-
};
|
37
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
38
29
|
exports.ClientFacingOrderEvent = void 0;
|
39
30
|
const core = __importStar(require("../../core"));
|
31
|
+
const OrderStatus_1 = require("./OrderStatus");
|
40
32
|
exports.ClientFacingOrderEvent = core.serialization.object({
|
41
33
|
id: core.serialization.number(),
|
42
34
|
createdAt: core.serialization.property("created_at", core.serialization.date()),
|
43
|
-
status:
|
35
|
+
status: OrderStatus_1.OrderStatus,
|
44
36
|
});
|
@@ -4,11 +4,12 @@
|
|
4
4
|
import * as serializers from "..";
|
5
5
|
import * as Vital from "../../api";
|
6
6
|
import * as core from "../../core";
|
7
|
+
import { Address } from "./Address";
|
7
8
|
export declare const ClientFacingPayorSearchResponse: core.serialization.ObjectSchema<serializers.ClientFacingPayorSearchResponse.Raw, Vital.ClientFacingPayorSearchResponse>;
|
8
9
|
export declare namespace ClientFacingPayorSearchResponse {
|
9
10
|
interface Raw {
|
10
11
|
code: string;
|
11
12
|
name: string;
|
12
|
-
org_address:
|
13
|
+
org_address: Address.Raw;
|
13
14
|
}
|
14
15
|
}
|
@@ -25,20 +25,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
25
25
|
__setModuleDefault(result, mod);
|
26
26
|
return result;
|
27
27
|
};
|
28
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
29
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
30
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
31
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
32
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
33
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
34
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
35
|
-
});
|
36
|
-
};
|
37
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
38
29
|
exports.ClientFacingPayorSearchResponse = void 0;
|
39
30
|
const core = __importStar(require("../../core"));
|
31
|
+
const Address_1 = require("./Address");
|
40
32
|
exports.ClientFacingPayorSearchResponse = core.serialization.object({
|
41
33
|
code: core.serialization.string(),
|
42
34
|
name: core.serialization.string(),
|
43
|
-
orgAddress: core.serialization.property("org_address",
|
35
|
+
orgAddress: core.serialization.property("org_address", Address_1.Address),
|
44
36
|
});
|
@@ -4,12 +4,13 @@
|
|
4
4
|
import * as serializers from "..";
|
5
5
|
import * as Vital from "../../api";
|
6
6
|
import * as core from "../../core";
|
7
|
+
import { ClientFacingSource } from "./ClientFacingSource";
|
7
8
|
export declare const ClientFacingProfile: core.serialization.ObjectSchema<serializers.ClientFacingProfile.Raw, Vital.ClientFacingProfile>;
|
8
9
|
export declare namespace ClientFacingProfile {
|
9
10
|
interface Raw {
|
10
11
|
user_id: string;
|
11
12
|
id: string;
|
12
13
|
height?: number | null;
|
13
|
-
source:
|
14
|
+
source: ClientFacingSource.Raw;
|
14
15
|
}
|
15
16
|
}
|
@@ -25,21 +25,13 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
25
25
|
__setModuleDefault(result, mod);
|
26
26
|
return result;
|
27
27
|
};
|
28
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
29
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
30
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
31
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
32
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
33
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
34
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
35
|
-
});
|
36
|
-
};
|
37
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
38
29
|
exports.ClientFacingProfile = void 0;
|
39
30
|
const core = __importStar(require("../../core"));
|
31
|
+
const ClientFacingSource_1 = require("./ClientFacingSource");
|
40
32
|
exports.ClientFacingProfile = core.serialization.object({
|
41
33
|
userId: core.serialization.property("user_id", core.serialization.string()),
|
42
34
|
id: core.serialization.string(),
|
43
35
|
height: core.serialization.number().optional(),
|
44
|
-
source:
|
36
|
+
source: ClientFacingSource_1.ClientFacingSource,
|
45
37
|
});
|
@@ -4,6 +4,8 @@
|
|
4
4
|
import * as serializers from "..";
|
5
5
|
import * as Vital from "../../api";
|
6
6
|
import * as core from "../../core";
|
7
|
+
import { SourceAuthType } from "./SourceAuthType";
|
8
|
+
import { ClientFacingResource } from "./ClientFacingResource";
|
7
9
|
export declare const ClientFacingProviderDetailed: core.serialization.ObjectSchema<serializers.ClientFacingProviderDetailed.Raw, Vital.ClientFacingProviderDetailed>;
|
8
10
|
export declare namespace ClientFacingProviderDetailed {
|
9
11
|
interface Raw {
|
@@ -11,7 +13,7 @@ export declare namespace ClientFacingProviderDetailed {
|
|
11
13
|
slug: string;
|
12
14
|
description: string;
|
13
15
|
logo?: string | null;
|
14
|
-
auth_type?:
|
15
|
-
supported_resources?:
|
16
|
+
auth_type?: SourceAuthType.Raw | null;
|
17
|
+
supported_resources?: ClientFacingResource.Raw[] | null;
|
16
18
|
}
|
17
19
|
}
|
@@ -25,25 +25,16 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
25
25
|
__setModuleDefault(result, mod);
|
26
26
|
return result;
|
27
27
|
};
|
28
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
29
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
30
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
31
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
32
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
33
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
34
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
35
|
-
});
|
36
|
-
};
|
37
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
38
29
|
exports.ClientFacingProviderDetailed = void 0;
|
39
30
|
const core = __importStar(require("../../core"));
|
31
|
+
const SourceAuthType_1 = require("./SourceAuthType");
|
32
|
+
const ClientFacingResource_1 = require("./ClientFacingResource");
|
40
33
|
exports.ClientFacingProviderDetailed = core.serialization.object({
|
41
34
|
name: core.serialization.string(),
|
42
35
|
slug: core.serialization.string(),
|
43
36
|
description: core.serialization.string(),
|
44
37
|
logo: core.serialization.string().optional(),
|
45
|
-
authType: core.serialization.property("auth_type",
|
46
|
-
supportedResources: core.serialization.property("supported_resources", core.serialization
|
47
|
-
.list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ClientFacingResource; })))
|
48
|
-
.optional()),
|
38
|
+
authType: core.serialization.property("auth_type", SourceAuthType_1.SourceAuthType.optional()),
|
39
|
+
supportedResources: core.serialization.property("supported_resources", core.serialization.list(ClientFacingResource_1.ClientFacingResource).optional()),
|
49
40
|
});
|
@@ -4,6 +4,7 @@
|
|
4
4
|
import * as serializers from "..";
|
5
5
|
import * as Vital from "../../api";
|
6
6
|
import * as core from "../../core";
|
7
|
+
import { ResourceAvailability } from "./ResourceAvailability";
|
7
8
|
export declare const ClientFacingProviderWithStatus: core.serialization.ObjectSchema<serializers.ClientFacingProviderWithStatus.Raw, Vital.ClientFacingProviderWithStatus>;
|
8
9
|
export declare namespace ClientFacingProviderWithStatus {
|
9
10
|
interface Raw {
|
@@ -11,5 +12,6 @@ export declare namespace ClientFacingProviderWithStatus {
|
|
11
12
|
slug: string;
|
12
13
|
logo: string;
|
13
14
|
status: string;
|
15
|
+
resource_availability: Record<string, ResourceAvailability.Raw>;
|
14
16
|
}
|
15
17
|
}
|
@@ -28,9 +28,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
29
|
exports.ClientFacingProviderWithStatus = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
|
+
const ResourceAvailability_1 = require("./ResourceAvailability");
|
31
32
|
exports.ClientFacingProviderWithStatus = core.serialization.object({
|
32
33
|
name: core.serialization.string(),
|
33
34
|
slug: core.serialization.string(),
|
34
35
|
logo: core.serialization.string(),
|
35
36
|
status: core.serialization.string(),
|
37
|
+
resourceAvailability: core.serialization.property("resource_availability", core.serialization.record(core.serialization.string(), ResourceAvailability_1.ResourceAvailability)),
|
36
38
|
});
|