@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
@@ -25,19 +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.LabResultsRawResults = void 0;
|
39
30
|
const core = __importStar(require("../../core"));
|
31
|
+
const BiomarkerResult_1 = require("./BiomarkerResult");
|
40
32
|
exports.LabResultsRawResults = core.serialization.undiscriminatedUnion([
|
41
|
-
core.serialization.list(
|
33
|
+
core.serialization.list(BiomarkerResult_1.BiomarkerResult),
|
42
34
|
core.serialization.record(core.serialization.string(), core.serialization.unknown()),
|
43
35
|
]);
|
@@ -4,10 +4,11 @@
|
|
4
4
|
import * as serializers from "..";
|
5
5
|
import * as Vital from "../../api";
|
6
6
|
import * as core from "../../core";
|
7
|
+
import { AttemptStatus } from "./AttemptStatus";
|
7
8
|
export declare const LastAttempt: core.serialization.ObjectSchema<serializers.LastAttempt.Raw, Vital.LastAttempt>;
|
8
9
|
export declare namespace LastAttempt {
|
9
10
|
interface Raw {
|
10
11
|
timestamp: string;
|
11
|
-
status:
|
12
|
+
status: AttemptStatus.Raw;
|
12
13
|
}
|
13
14
|
}
|
@@ -25,19 +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.LastAttempt = void 0;
|
39
30
|
const core = __importStar(require("../../core"));
|
31
|
+
const AttemptStatus_1 = require("./AttemptStatus");
|
40
32
|
exports.LastAttempt = core.serialization.object({
|
41
33
|
timestamp: core.serialization.date(),
|
42
|
-
status:
|
34
|
+
status: AttemptStatus_1.AttemptStatus,
|
43
35
|
});
|
@@ -30,4 +30,5 @@ exports.LibreConfig = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
31
31
|
exports.LibreConfig = core.serialization.object({
|
32
32
|
practiceId: core.serialization.property("practice_id", core.serialization.record(core.serialization.string(), core.serialization.unknown())),
|
33
|
+
stripTz: core.serialization.property("strip_tz", core.serialization.boolean().optional()),
|
33
34
|
});
|
@@ -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 { Fats } from "./Fats";
|
7
8
|
export declare const Macros: core.serialization.ObjectSchema<serializers.Macros.Raw, Vital.Macros>;
|
8
9
|
export declare namespace Macros {
|
9
10
|
interface Raw {
|
10
11
|
carbs?: number | null;
|
11
12
|
protein?: number | null;
|
12
|
-
fats?:
|
13
|
+
fats?: Fats.Raw | null;
|
13
14
|
alcohol?: number | null;
|
14
15
|
water?: number | null;
|
15
16
|
fibre?: number | null;
|
@@ -25,22 +25,14 @@ 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.Macros = void 0;
|
39
30
|
const core = __importStar(require("../../core"));
|
31
|
+
const Fats_1 = require("./Fats");
|
40
32
|
exports.Macros = core.serialization.object({
|
41
33
|
carbs: core.serialization.number().optional(),
|
42
34
|
protein: core.serialization.number().optional(),
|
43
|
-
fats:
|
35
|
+
fats: Fats_1.Fats.optional(),
|
44
36
|
alcohol: core.serialization.number().optional(),
|
45
37
|
water: core.serialization.number().optional(),
|
46
38
|
fibre: core.serialization.number().optional(),
|
@@ -4,6 +4,11 @@
|
|
4
4
|
import * as serializers from "..";
|
5
5
|
import * as Vital from "../../api";
|
6
6
|
import * as core from "../../core";
|
7
|
+
import { Energy } from "./Energy";
|
8
|
+
import { Macros } from "./Macros";
|
9
|
+
import { Micros } from "./Micros";
|
10
|
+
import { ClientFacingFood } from "./ClientFacingFood";
|
11
|
+
import { ClientFacingSource } from "./ClientFacingSource";
|
7
12
|
export declare const MealInDbBaseClientFacingSource: core.serialization.ObjectSchema<serializers.MealInDbBaseClientFacingSource.Raw, Vital.MealInDbBaseClientFacingSource>;
|
8
13
|
export declare namespace MealInDbBaseClientFacingSource {
|
9
14
|
interface Raw {
|
@@ -14,11 +19,11 @@ export declare namespace MealInDbBaseClientFacingSource {
|
|
14
19
|
provider_id: string;
|
15
20
|
timestamp: string;
|
16
21
|
name: string;
|
17
|
-
energy?:
|
18
|
-
macros?:
|
19
|
-
micros?:
|
20
|
-
data?: Record<string,
|
21
|
-
source:
|
22
|
+
energy?: Energy.Raw | null;
|
23
|
+
macros?: Macros.Raw | null;
|
24
|
+
micros?: Micros.Raw | null;
|
25
|
+
data?: Record<string, ClientFacingFood.Raw> | null;
|
26
|
+
source: ClientFacingSource.Raw;
|
22
27
|
created_at: string;
|
23
28
|
updated_at: string;
|
24
29
|
}
|
@@ -25,18 +25,14 @@ 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.MealInDbBaseClientFacingSource = void 0;
|
39
30
|
const core = __importStar(require("../../core"));
|
31
|
+
const Energy_1 = require("./Energy");
|
32
|
+
const Macros_1 = require("./Macros");
|
33
|
+
const Micros_1 = require("./Micros");
|
34
|
+
const ClientFacingFood_1 = require("./ClientFacingFood");
|
35
|
+
const ClientFacingSource_1 = require("./ClientFacingSource");
|
40
36
|
exports.MealInDbBaseClientFacingSource = core.serialization.object({
|
41
37
|
id: core.serialization.string(),
|
42
38
|
userId: core.serialization.property("user_id", core.serialization.string()),
|
@@ -45,13 +41,11 @@ exports.MealInDbBaseClientFacingSource = core.serialization.object({
|
|
45
41
|
providerId: core.serialization.property("provider_id", core.serialization.string()),
|
46
42
|
timestamp: core.serialization.date(),
|
47
43
|
name: core.serialization.string(),
|
48
|
-
energy:
|
49
|
-
macros:
|
50
|
-
micros:
|
51
|
-
data: core.serialization
|
52
|
-
|
53
|
-
.optional(),
|
54
|
-
source: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ClientFacingSource; })),
|
44
|
+
energy: Energy_1.Energy.optional(),
|
45
|
+
macros: Macros_1.Macros.optional(),
|
46
|
+
micros: Micros_1.Micros.optional(),
|
47
|
+
data: core.serialization.record(core.serialization.string(), ClientFacingFood_1.ClientFacingFood).optional(),
|
48
|
+
source: ClientFacingSource_1.ClientFacingSource,
|
55
49
|
createdAt: core.serialization.property("created_at", core.serialization.date()),
|
56
50
|
updatedAt: core.serialization.property("updated_at", core.serialization.date()),
|
57
51
|
});
|
@@ -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 { TimeseriesMetricPoint } from "./TimeseriesMetricPoint";
|
7
8
|
export declare const MetricsResult: core.serialization.ObjectSchema<serializers.MetricsResult.Raw, Vital.MetricsResult>;
|
8
9
|
export declare namespace MetricsResult {
|
9
10
|
interface Raw {
|
@@ -11,7 +12,7 @@ export declare namespace MetricsResult {
|
|
11
12
|
number_of_connected_sources?: number | null;
|
12
13
|
number_of_users?: number | null;
|
13
14
|
number_of_errored_connected_sources?: number | null;
|
14
|
-
number_of_connected_sources_by_week?:
|
15
|
+
number_of_connected_sources_by_week?: TimeseriesMetricPoint.Raw[] | null;
|
15
16
|
number_of_ordered_tests?: number | null;
|
16
17
|
}
|
17
18
|
}
|
@@ -25,25 +25,15 @@ 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.MetricsResult = void 0;
|
39
30
|
const core = __importStar(require("../../core"));
|
31
|
+
const TimeseriesMetricPoint_1 = require("./TimeseriesMetricPoint");
|
40
32
|
exports.MetricsResult = core.serialization.object({
|
41
33
|
teamId: core.serialization.property("team_id", core.serialization.string()),
|
42
34
|
numberOfConnectedSources: core.serialization.property("number_of_connected_sources", core.serialization.number().optional()),
|
43
35
|
numberOfUsers: core.serialization.property("number_of_users", core.serialization.number().optional()),
|
44
36
|
numberOfErroredConnectedSources: core.serialization.property("number_of_errored_connected_sources", core.serialization.number().optional()),
|
45
|
-
numberOfConnectedSourcesByWeek: core.serialization.property("number_of_connected_sources_by_week", core.serialization
|
46
|
-
.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).TimeseriesMetricPoint; })))
|
47
|
-
.optional()),
|
37
|
+
numberOfConnectedSourcesByWeek: core.serialization.property("number_of_connected_sources_by_week", core.serialization.list(TimeseriesMetricPoint_1.TimeseriesMetricPoint).optional()),
|
48
38
|
numberOfOrderedTests: core.serialization.property("number_of_ordered_tests", core.serialization.number().optional()),
|
49
39
|
});
|
@@ -6,5 +6,5 @@ import * as Vital from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
7
7
|
export declare const OrderStatus: core.serialization.Schema<serializers.OrderStatus.Raw, Vital.OrderStatus>;
|
8
8
|
export declare namespace OrderStatus {
|
9
|
-
type Raw = "received.walk_in_test.ordered" | "received.walk_in_test.requisition_created" | "completed.walk_in_test.completed" | "sample_with_lab.walk_in_test.partial_results" | "failed.walk_in_test.sample_error" | "cancelled.walk_in_test.cancelled" | "received.at_home_phlebotomy.ordered" | "received.at_home_phlebotomy.requisition_created" | "collecting_sample.at_home_phlebotomy.appointment_pending" | "collecting_sample.at_home_phlebotomy.appointment_scheduled" | "collecting_sample.at_home_phlebotomy.draw_completed" | "collecting_sample.at_home_phlebotomy.appointment_cancelled" | "completed.at_home_phlebotomy.completed" | "sample_with_lab.at_home_phlebotomy.partial_results" | "cancelled.at_home_phlebotomy.cancelled" | "received.testkit.ordered" | "received.testkit.awaiting_registration" | "received.testkit.requisition_created" | "received.testkit.registered" | "collecting_sample.testkit.transit_customer" | "collecting_sample.testkit.out_for_delivery" | "collecting_sample.testkit.with_customer" | "collecting_sample.testkit.transit_lab" | "sample_with_lab.testkit.delivered_to_lab" | "completed.testkit.completed" | "failed.testkit.failure_to_deliver_to_customer" | "failed.testkit.failure_to_deliver_to_lab" | "failed.testkit.sample_error" | "failed.testkit.lost" | "cancelled.testkit.cancelled" | "cancelled.testkit.do_not_process";
|
9
|
+
type Raw = "received.walk_in_test.ordered" | "received.walk_in_test.requisition_created" | "completed.walk_in_test.completed" | "sample_with_lab.walk_in_test.partial_results" | "failed.walk_in_test.sample_error" | "cancelled.walk_in_test.cancelled" | "received.at_home_phlebotomy.ordered" | "received.at_home_phlebotomy.requisition_created" | "collecting_sample.at_home_phlebotomy.appointment_pending" | "collecting_sample.at_home_phlebotomy.appointment_scheduled" | "collecting_sample.at_home_phlebotomy.draw_completed" | "collecting_sample.at_home_phlebotomy.appointment_cancelled" | "completed.at_home_phlebotomy.completed" | "sample_with_lab.at_home_phlebotomy.partial_results" | "cancelled.at_home_phlebotomy.cancelled" | "failed.at_home_phlebotomy.sample_error" | "received.testkit.ordered" | "received.testkit.awaiting_registration" | "received.testkit.requisition_created" | "received.testkit.registered" | "collecting_sample.testkit.transit_customer" | "collecting_sample.testkit.out_for_delivery" | "collecting_sample.testkit.with_customer" | "collecting_sample.testkit.transit_lab" | "sample_with_lab.testkit.delivered_to_lab" | "completed.testkit.completed" | "failed.testkit.failure_to_deliver_to_customer" | "failed.testkit.failure_to_deliver_to_lab" | "failed.testkit.sample_error" | "failed.testkit.lost" | "cancelled.testkit.cancelled" | "cancelled.testkit.do_not_process";
|
10
10
|
}
|
@@ -44,6 +44,7 @@ exports.OrderStatus = core.serialization.enum_([
|
|
44
44
|
"completed.at_home_phlebotomy.completed",
|
45
45
|
"sample_with_lab.at_home_phlebotomy.partial_results",
|
46
46
|
"cancelled.at_home_phlebotomy.cancelled",
|
47
|
+
"failed.at_home_phlebotomy.sample_error",
|
47
48
|
"received.testkit.ordered",
|
48
49
|
"received.testkit.awaiting_registration",
|
49
50
|
"received.testkit.requisition_created",
|
@@ -4,10 +4,11 @@
|
|
4
4
|
import * as serializers from "..";
|
5
5
|
import * as Vital from "../../api";
|
6
6
|
import * as core from "../../core";
|
7
|
+
import { ClientFacingUser } from "./ClientFacingUser";
|
7
8
|
export declare const PaginatedUsersResponse: core.serialization.ObjectSchema<serializers.PaginatedUsersResponse.Raw, Vital.PaginatedUsersResponse>;
|
8
9
|
export declare namespace PaginatedUsersResponse {
|
9
10
|
interface Raw {
|
10
|
-
users:
|
11
|
+
users: ClientFacingUser.Raw[];
|
11
12
|
total: number;
|
12
13
|
offset: number;
|
13
14
|
limit: number;
|
@@ -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.PaginatedUsersResponse = void 0;
|
39
30
|
const core = __importStar(require("../../core"));
|
31
|
+
const ClientFacingUser_1 = require("./ClientFacingUser");
|
40
32
|
exports.PaginatedUsersResponse = core.serialization.object({
|
41
|
-
users: core.serialization.list(
|
33
|
+
users: core.serialization.list(ClientFacingUser_1.ClientFacingUser),
|
42
34
|
total: core.serialization.number(),
|
43
35
|
offset: core.serialization.number(),
|
44
36
|
limit: core.serialization.number(),
|
@@ -4,13 +4,14 @@
|
|
4
4
|
import * as serializers from "..";
|
5
5
|
import * as Vital from "../../api";
|
6
6
|
import * as core from "../../core";
|
7
|
+
import { Gender } from "./Gender";
|
7
8
|
export declare const PatientDetails: core.serialization.ObjectSchema<serializers.PatientDetails.Raw, Vital.PatientDetails>;
|
8
9
|
export declare namespace PatientDetails {
|
9
10
|
interface Raw {
|
10
11
|
first_name: string;
|
11
12
|
last_name: string;
|
12
13
|
dob: string;
|
13
|
-
gender:
|
14
|
+
gender: Gender.Raw;
|
14
15
|
phone_number: string;
|
15
16
|
email: string;
|
16
17
|
}
|
@@ -25,23 +25,15 @@ 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.PatientDetails = void 0;
|
39
30
|
const core = __importStar(require("../../core"));
|
31
|
+
const Gender_1 = require("./Gender");
|
40
32
|
exports.PatientDetails = core.serialization.object({
|
41
33
|
firstName: core.serialization.property("first_name", core.serialization.string()),
|
42
34
|
lastName: core.serialization.property("last_name", core.serialization.string()),
|
43
35
|
dob: core.serialization.date(),
|
44
|
-
gender:
|
36
|
+
gender: Gender_1.Gender,
|
45
37
|
phoneNumber: core.serialization.property("phone_number", core.serialization.string()),
|
46
38
|
email: core.serialization.string(),
|
47
39
|
});
|
@@ -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 { Address } from "./Address";
|
7
8
|
export declare const PersonDetails: core.serialization.ObjectSchema<serializers.PersonDetails.Raw, Vital.PersonDetails>;
|
8
9
|
export declare namespace PersonDetails {
|
9
10
|
interface Raw {
|
10
11
|
first_name: string;
|
11
12
|
last_name: string;
|
12
|
-
address:
|
13
|
+
address: Address.Raw;
|
13
14
|
phone_number: string;
|
14
15
|
phone_type?: string | null;
|
15
16
|
}
|
@@ -25,22 +25,14 @@ 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.PersonDetails = void 0;
|
39
30
|
const core = __importStar(require("../../core"));
|
31
|
+
const Address_1 = require("./Address");
|
40
32
|
exports.PersonDetails = core.serialization.object({
|
41
33
|
firstName: core.serialization.property("first_name", core.serialization.string()),
|
42
34
|
lastName: core.serialization.property("last_name", core.serialization.string()),
|
43
|
-
address:
|
35
|
+
address: Address_1.Address,
|
44
36
|
phoneNumber: core.serialization.property("phone_number", core.serialization.string()),
|
45
37
|
phoneType: core.serialization.property("phone_type", core.serialization.string().optional()),
|
46
38
|
});
|
@@ -4,10 +4,11 @@
|
|
4
4
|
import * as serializers from "..";
|
5
5
|
import * as Vital from "../../api";
|
6
6
|
import * as core from "../../core";
|
7
|
+
import { PhlebotomyProviderInfo } from "./PhlebotomyProviderInfo";
|
7
8
|
export declare const PhlebotomyAreaInfo: core.serialization.ObjectSchema<serializers.PhlebotomyAreaInfo.Raw, Vital.PhlebotomyAreaInfo>;
|
8
9
|
export declare namespace PhlebotomyAreaInfo {
|
9
10
|
interface Raw {
|
10
11
|
is_served: boolean;
|
11
|
-
providers:
|
12
|
+
providers: PhlebotomyProviderInfo.Raw[];
|
12
13
|
}
|
13
14
|
}
|
@@ -25,19 +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.PhlebotomyAreaInfo = void 0;
|
39
30
|
const core = __importStar(require("../../core"));
|
31
|
+
const PhlebotomyProviderInfo_1 = require("./PhlebotomyProviderInfo");
|
40
32
|
exports.PhlebotomyAreaInfo = core.serialization.object({
|
41
33
|
isServed: core.serialization.property("is_served", core.serialization.boolean()),
|
42
|
-
providers: core.serialization.list(
|
34
|
+
providers: core.serialization.list(PhlebotomyProviderInfo_1.PhlebotomyProviderInfo),
|
43
35
|
});
|
@@ -4,10 +4,12 @@
|
|
4
4
|
import * as serializers from "..";
|
5
5
|
import * as Vital from "../../api";
|
6
6
|
import * as core from "../../core";
|
7
|
+
import { AppointmentProvider } from "./AppointmentProvider";
|
8
|
+
import { AppointmentServiceType } from "./AppointmentServiceType";
|
7
9
|
export declare const PhlebotomyProviderInfo: core.serialization.ObjectSchema<serializers.PhlebotomyProviderInfo.Raw, Vital.PhlebotomyProviderInfo>;
|
8
10
|
export declare namespace PhlebotomyProviderInfo {
|
9
11
|
interface Raw {
|
10
|
-
name:
|
11
|
-
service_types:
|
12
|
+
name: AppointmentProvider.Raw;
|
13
|
+
service_types: AppointmentServiceType.Raw[];
|
12
14
|
}
|
13
15
|
}
|
@@ -25,19 +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.PhlebotomyProviderInfo = void 0;
|
39
30
|
const core = __importStar(require("../../core"));
|
31
|
+
const AppointmentProvider_1 = require("./AppointmentProvider");
|
32
|
+
const AppointmentServiceType_1 = require("./AppointmentServiceType");
|
40
33
|
exports.PhlebotomyProviderInfo = core.serialization.object({
|
41
|
-
name:
|
42
|
-
serviceTypes: core.serialization.property("service_types", core.serialization.list(
|
34
|
+
name: AppointmentProvider_1.AppointmentProvider,
|
35
|
+
serviceTypes: core.serialization.property("service_types", core.serialization.list(AppointmentServiceType_1.AppointmentServiceType)),
|
43
36
|
});
|
@@ -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 { PhysicianCreateRequestSignatureImage } from "./PhysicianCreateRequestSignatureImage";
|
7
8
|
export declare const PhysicianCreateRequest: core.serialization.ObjectSchema<serializers.PhysicianCreateRequest.Raw, Vital.PhysicianCreateRequest>;
|
8
9
|
export declare namespace PhysicianCreateRequest {
|
9
10
|
interface Raw {
|
@@ -12,6 +13,6 @@ export declare namespace PhysicianCreateRequest {
|
|
12
13
|
email?: string | null;
|
13
14
|
npi: string;
|
14
15
|
licensed_states?: string[] | null;
|
15
|
-
signature_image?:
|
16
|
+
signature_image?: PhysicianCreateRequestSignatureImage.Raw | null;
|
16
17
|
}
|
17
18
|
}
|
@@ -25,23 +25,15 @@ 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.PhysicianCreateRequest = void 0;
|
39
30
|
const core = __importStar(require("../../core"));
|
31
|
+
const PhysicianCreateRequestSignatureImage_1 = require("./PhysicianCreateRequestSignatureImage");
|
40
32
|
exports.PhysicianCreateRequest = core.serialization.object({
|
41
33
|
firstName: core.serialization.property("first_name", core.serialization.string()),
|
42
34
|
lastName: core.serialization.property("last_name", core.serialization.string()),
|
43
35
|
email: core.serialization.string().optional(),
|
44
36
|
npi: core.serialization.string(),
|
45
37
|
licensedStates: core.serialization.property("licensed_states", core.serialization.list(core.serialization.string()).optional()),
|
46
|
-
signatureImage: core.serialization.property("signature_image",
|
38
|
+
signatureImage: core.serialization.property("signature_image", PhysicianCreateRequestSignatureImage_1.PhysicianCreateRequestSignatureImage.optional()),
|
47
39
|
});
|
@@ -4,13 +4,15 @@
|
|
4
4
|
import * as serializers from "..";
|
5
5
|
import * as Vital from "../../api";
|
6
6
|
import * as core from "../../core";
|
7
|
+
import { Jpeg } from "./Jpeg";
|
8
|
+
import { Png } from "./Png";
|
7
9
|
export declare const PhysicianCreateRequestSignatureImage: core.serialization.Schema<serializers.PhysicianCreateRequestSignatureImage.Raw, Vital.PhysicianCreateRequestSignatureImage>;
|
8
10
|
export declare namespace PhysicianCreateRequestSignatureImage {
|
9
11
|
type Raw = PhysicianCreateRequestSignatureImage.ImageJpeg | PhysicianCreateRequestSignatureImage.ImagePng;
|
10
|
-
interface ImageJpeg extends
|
12
|
+
interface ImageJpeg extends Jpeg.Raw {
|
11
13
|
content_type: "image/jpeg";
|
12
14
|
}
|
13
|
-
interface ImagePng extends
|
15
|
+
interface ImagePng extends Png.Raw {
|
14
16
|
content_type: "image/png";
|
15
17
|
}
|
16
18
|
}
|
@@ -25,22 +25,15 @@ 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.PhysicianCreateRequestSignatureImage = void 0;
|
39
30
|
const core = __importStar(require("../../core"));
|
31
|
+
const Jpeg_1 = require("./Jpeg");
|
32
|
+
const Png_1 = require("./Png");
|
40
33
|
exports.PhysicianCreateRequestSignatureImage = core.serialization
|
41
34
|
.union(core.serialization.discriminant("contentType", "content_type"), {
|
42
|
-
"image/jpeg":
|
43
|
-
"image/png":
|
35
|
+
"image/jpeg": Jpeg_1.Jpeg,
|
36
|
+
"image/png": Png_1.Png,
|
44
37
|
})
|
45
38
|
.transform({
|
46
39
|
transform: (value) => value,
|
@@ -4,10 +4,11 @@
|
|
4
4
|
import * as serializers from "..";
|
5
5
|
import * as Vital from "../../api";
|
6
6
|
import * as core from "../../core";
|
7
|
+
import { ClientFacingOrder } from "./ClientFacingOrder";
|
7
8
|
export declare const PostOrderResponse: core.serialization.ObjectSchema<serializers.PostOrderResponse.Raw, Vital.PostOrderResponse>;
|
8
9
|
export declare namespace PostOrderResponse {
|
9
10
|
interface Raw {
|
10
|
-
order:
|
11
|
+
order: ClientFacingOrder.Raw;
|
11
12
|
status: string;
|
12
13
|
message: string;
|
13
14
|
}
|
@@ -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.PostOrderResponse = void 0;
|
39
30
|
const core = __importStar(require("../../core"));
|
31
|
+
const ClientFacingOrder_1 = require("./ClientFacingOrder");
|
40
32
|
exports.PostOrderResponse = core.serialization.object({
|
41
|
-
order:
|
33
|
+
order: ClientFacingOrder_1.ClientFacingOrder,
|
42
34
|
status: core.serialization.string(),
|
43
35
|
message: core.serialization.string(),
|
44
36
|
});
|
@@ -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 { ClientFacingProvider } from "./ClientFacingProvider";
|
7
8
|
export declare const ProfileInDb: core.serialization.ObjectSchema<serializers.ProfileInDb.Raw, Vital.ProfileInDb>;
|
8
9
|
export declare namespace ProfileInDb {
|
9
10
|
interface Raw {
|
@@ -12,7 +13,7 @@ export declare namespace ProfileInDb {
|
|
12
13
|
source_id: number;
|
13
14
|
priority_id?: number | null;
|
14
15
|
id: string;
|
15
|
-
source:
|
16
|
+
source: ClientFacingProvider.Raw;
|
16
17
|
updated_at?: string | null;
|
17
18
|
}
|
18
19
|
}
|