@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,23 +25,13 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
25
25
|
__setModuleDefault(result, mod);
|
26
26
|
return result;
|
27
27
|
};
|
28
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
29
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
30
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
31
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
32
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
33
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
34
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
35
|
-
});
|
36
|
-
};
|
37
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
38
29
|
exports.LinkTokenExchange = void 0;
|
39
30
|
const core = __importStar(require("../../../../../core"));
|
31
|
+
const Providers_1 = require("../../../../types/Providers");
|
40
32
|
exports.LinkTokenExchange = core.serialization.object({
|
41
33
|
userId: core.serialization.property("user_id", core.serialization.string()),
|
42
|
-
provider:
|
34
|
+
provider: Providers_1.Providers.optional(),
|
43
35
|
redirectUrl: core.serialization.property("redirect_url", core.serialization.string().optional()),
|
44
|
-
filterOnProviders: core.serialization.property("filter_on_providers", core.serialization
|
45
|
-
.list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../..")))).Providers; })))
|
46
|
-
.optional()),
|
36
|
+
filterOnProviders: core.serialization.property("filter_on_providers", core.serialization.list(Providers_1.Providers).optional()),
|
47
37
|
});
|
@@ -4,12 +4,14 @@
|
|
4
4
|
import * as serializers from "../../../..";
|
5
5
|
import * as Vital from "../../../../../api";
|
6
6
|
import * as core from "../../../../../core";
|
7
|
-
|
7
|
+
import { Providers } from "../../../../types/Providers";
|
8
|
+
import { AuthType } from "../../../../types/AuthType";
|
9
|
+
export declare const PasswordAuthLink: core.serialization.Schema<serializers.PasswordAuthLink.Raw, Vital.PasswordAuthLink>;
|
8
10
|
export declare namespace PasswordAuthLink {
|
9
11
|
interface Raw {
|
10
12
|
username: string;
|
11
13
|
password: string;
|
12
|
-
provider:
|
13
|
-
auth_type:
|
14
|
+
provider: Providers.Raw;
|
15
|
+
auth_type: AuthType.Raw;
|
14
16
|
}
|
15
17
|
}
|
@@ -25,21 +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.PasswordAuthLink = void 0;
|
39
30
|
const core = __importStar(require("../../../../../core"));
|
31
|
+
const Providers_1 = require("../../../../types/Providers");
|
32
|
+
const AuthType_1 = require("../../../../types/AuthType");
|
40
33
|
exports.PasswordAuthLink = core.serialization.object({
|
41
34
|
username: core.serialization.string(),
|
42
35
|
password: core.serialization.string(),
|
43
|
-
provider:
|
44
|
-
authType: core.serialization.property("auth_type",
|
36
|
+
provider: Providers_1.Providers,
|
37
|
+
authType: core.serialization.property("auth_type", AuthType_1.AuthType),
|
45
38
|
});
|
@@ -4,7 +4,8 @@
|
|
4
4
|
import * as serializers from "../../..";
|
5
5
|
import * as Vital from "../../../../api";
|
6
6
|
import * as core from "../../../../core";
|
7
|
+
import { ClientFacingProviderDetailed } from "../../../types/ClientFacingProviderDetailed";
|
7
8
|
export declare const Response: core.serialization.Schema<serializers.providers.getAll.Response.Raw, Vital.ClientFacingProviderDetailed[]>;
|
8
9
|
export declare namespace Response {
|
9
|
-
type Raw =
|
10
|
+
type Raw = ClientFacingProviderDetailed.Raw[];
|
10
11
|
}
|
@@ -25,16 +25,8 @@ 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.Response = void 0;
|
39
30
|
const core = __importStar(require("../../../../core"));
|
40
|
-
|
31
|
+
const ClientFacingProviderDetailed_1 = require("../../../types/ClientFacingProviderDetailed");
|
32
|
+
exports.Response = core.serialization.list(ClientFacingProviderDetailed_1.ClientFacingProviderDetailed);
|
@@ -4,7 +4,8 @@
|
|
4
4
|
import * as serializers from "../../..";
|
5
5
|
import * as Vital from "../../../../api";
|
6
6
|
import * as core from "../../../../core";
|
7
|
+
import { ClientFacingPhysician } from "../../../types/ClientFacingPhysician";
|
7
8
|
export declare const Response: core.serialization.Schema<serializers.team.getPhysicians.Response.Raw, Vital.ClientFacingPhysician[]>;
|
8
9
|
export declare namespace Response {
|
9
|
-
type Raw =
|
10
|
+
type Raw = ClientFacingPhysician.Raw[];
|
10
11
|
}
|
@@ -25,16 +25,8 @@ 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.Response = void 0;
|
39
30
|
const core = __importStar(require("../../../../core"));
|
40
|
-
|
31
|
+
const ClientFacingPhysician_1 = require("../../../types/ClientFacingPhysician");
|
32
|
+
exports.Response = core.serialization.list(ClientFacingPhysician_1.ClientFacingPhysician);
|
@@ -4,7 +4,8 @@
|
|
4
4
|
import * as serializers from "../../..";
|
5
5
|
import * as Vital from "../../../../api";
|
6
6
|
import * as core from "../../../../core";
|
7
|
+
import { ClientFacingUser } from "../../../types/ClientFacingUser";
|
7
8
|
export declare const Response: core.serialization.Schema<serializers.team.getUserById.Response.Raw, Vital.ClientFacingUser[]>;
|
8
9
|
export declare namespace Response {
|
9
|
-
type Raw =
|
10
|
+
type Raw = ClientFacingUser.Raw[];
|
10
11
|
}
|
@@ -25,16 +25,8 @@ 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.Response = void 0;
|
39
30
|
const core = __importStar(require("../../../../core"));
|
40
|
-
|
31
|
+
const ClientFacingUser_1 = require("../../../types/ClientFacingUser");
|
32
|
+
exports.Response = core.serialization.list(ClientFacingUser_1.ClientFacingUser);
|
@@ -4,11 +4,12 @@
|
|
4
4
|
import * as serializers from "../../../..";
|
5
5
|
import * as Vital from "../../../../../api";
|
6
6
|
import * as core from "../../../../../core";
|
7
|
+
import { ShippingAddress } from "../../../../types/ShippingAddress";
|
7
8
|
export declare const CreateRegistrableTestkitOrderRequest: core.serialization.Schema<serializers.CreateRegistrableTestkitOrderRequest.Raw, Vital.CreateRegistrableTestkitOrderRequest>;
|
8
9
|
export declare namespace CreateRegistrableTestkitOrderRequest {
|
9
10
|
interface Raw {
|
10
11
|
user_id: string;
|
11
12
|
lab_test_id: string;
|
12
|
-
shipping_details:
|
13
|
+
shipping_details: ShippingAddress.Raw;
|
13
14
|
}
|
14
15
|
}
|
package/dist/serialization/resources/testkit/client/requests/CreateRegistrableTestkitOrderRequest.js
CHANGED
@@ -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.CreateRegistrableTestkitOrderRequest = void 0;
|
39
30
|
const core = __importStar(require("../../../../../core"));
|
31
|
+
const ShippingAddress_1 = require("../../../../types/ShippingAddress");
|
40
32
|
exports.CreateRegistrableTestkitOrderRequest = core.serialization.object({
|
41
33
|
userId: core.serialization.property("user_id", core.serialization.string()),
|
42
34
|
labTestId: core.serialization.property("lab_test_id", core.serialization.string()),
|
43
|
-
shippingDetails: core.serialization.property("shipping_details",
|
35
|
+
shippingDetails: core.serialization.property("shipping_details", ShippingAddress_1.ShippingAddress),
|
44
36
|
});
|
@@ -4,14 +4,20 @@
|
|
4
4
|
import * as serializers from "../../../..";
|
5
5
|
import * as Vital from "../../../../../api";
|
6
6
|
import * as core from "../../../../../core";
|
7
|
+
import { PatientDetails } from "../../../../types/PatientDetails";
|
8
|
+
import { PatientAddressCompatible } from "../../../../types/PatientAddressCompatible";
|
9
|
+
import { PhysicianCreateRequestBase } from "../../../../types/PhysicianCreateRequestBase";
|
10
|
+
import { HealthInsuranceCreateRequest } from "../../../../types/HealthInsuranceCreateRequest";
|
11
|
+
import { Consent } from "../../../../types/Consent";
|
7
12
|
export declare const RegisterTestkitRequest: core.serialization.Schema<serializers.RegisterTestkitRequest.Raw, Vital.RegisterTestkitRequest>;
|
8
13
|
export declare namespace RegisterTestkitRequest {
|
9
14
|
interface Raw {
|
10
15
|
user_id: string;
|
11
16
|
sample_id: string;
|
12
|
-
patient_details:
|
13
|
-
patient_address:
|
14
|
-
physician?:
|
15
|
-
|
17
|
+
patient_details: PatientDetails.Raw;
|
18
|
+
patient_address: PatientAddressCompatible.Raw;
|
19
|
+
physician?: PhysicianCreateRequestBase.Raw | null;
|
20
|
+
health_insurance?: HealthInsuranceCreateRequest.Raw | null;
|
21
|
+
consents?: Consent.Raw[] | null;
|
16
22
|
}
|
17
23
|
}
|
@@ -25,27 +25,20 @@ 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.RegisterTestkitRequest = void 0;
|
39
30
|
const core = __importStar(require("../../../../../core"));
|
31
|
+
const PatientDetails_1 = require("../../../../types/PatientDetails");
|
32
|
+
const PatientAddressCompatible_1 = require("../../../../types/PatientAddressCompatible");
|
33
|
+
const PhysicianCreateRequestBase_1 = require("../../../../types/PhysicianCreateRequestBase");
|
34
|
+
const HealthInsuranceCreateRequest_1 = require("../../../../types/HealthInsuranceCreateRequest");
|
35
|
+
const Consent_1 = require("../../../../types/Consent");
|
40
36
|
exports.RegisterTestkitRequest = core.serialization.object({
|
41
37
|
userId: core.serialization.property("user_id", core.serialization.string()),
|
42
38
|
sampleId: core.serialization.property("sample_id", core.serialization.string()),
|
43
|
-
patientDetails: core.serialization.property("patient_details",
|
44
|
-
patientAddress: core.serialization.property("patient_address",
|
45
|
-
physician:
|
46
|
-
|
47
|
-
|
48
|
-
consents: core.serialization
|
49
|
-
.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../..")))).Consent; })))
|
50
|
-
.optional(),
|
39
|
+
patientDetails: core.serialization.property("patient_details", PatientDetails_1.PatientDetails),
|
40
|
+
patientAddress: core.serialization.property("patient_address", PatientAddressCompatible_1.PatientAddressCompatible),
|
41
|
+
physician: PhysicianCreateRequestBase_1.PhysicianCreateRequestBase.optional(),
|
42
|
+
healthInsurance: core.serialization.property("health_insurance", HealthInsuranceCreateRequest_1.HealthInsuranceCreateRequest.optional()),
|
43
|
+
consents: core.serialization.list(Consent_1.Consent).optional(),
|
51
44
|
});
|
@@ -4,7 +4,8 @@
|
|
4
4
|
import * as serializers from "../../..";
|
5
5
|
import * as Vital from "../../../../api";
|
6
6
|
import * as core from "../../../../core";
|
7
|
+
import { ClientFacingProviderWithStatus } from "../../../types/ClientFacingProviderWithStatus";
|
7
8
|
export declare const Response: core.serialization.Schema<serializers.user.getConnectedProviders.Response.Raw, Record<string, Vital.ClientFacingProviderWithStatus[]>>;
|
8
9
|
export declare namespace Response {
|
9
|
-
type Raw = Record<string,
|
10
|
+
type Raw = Record<string, ClientFacingProviderWithStatus.Raw[]>;
|
10
11
|
}
|
@@ -25,16 +25,8 @@ 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.Response = void 0;
|
39
30
|
const core = __importStar(require("../../../../core"));
|
40
|
-
|
31
|
+
const ClientFacingProviderWithStatus_1 = require("../../../types/ClientFacingProviderWithStatus");
|
32
|
+
exports.Response = core.serialization.record(core.serialization.string(), core.serialization.list(ClientFacingProviderWithStatus_1.ClientFacingProviderWithStatus));
|
@@ -32,4 +32,6 @@ exports.UserCreateBody = core.serialization.object({
|
|
32
32
|
clientUserId: core.serialization.property("client_user_id", core.serialization.string()),
|
33
33
|
fallbackTimeZone: core.serialization.property("fallback_time_zone", core.serialization.string().optional()),
|
34
34
|
fallbackBirthDate: core.serialization.property("fallback_birth_date", core.serialization.string().optional()),
|
35
|
+
ingestionStart: core.serialization.property("ingestion_start", core.serialization.string().optional()),
|
36
|
+
ingestionEnd: core.serialization.property("ingestion_end", core.serialization.string().optional()),
|
35
37
|
});
|
@@ -31,4 +31,6 @@ const core = __importStar(require("../../../../../core"));
|
|
31
31
|
exports.UserPatchBody = core.serialization.object({
|
32
32
|
fallbackTimeZone: core.serialization.property("fallback_time_zone", core.serialization.string().optional()),
|
33
33
|
fallbackBirthDate: core.serialization.property("fallback_birth_date", core.serialization.string().optional()),
|
34
|
+
ingestionStart: core.serialization.property("ingestion_start", core.serialization.string().optional()),
|
35
|
+
ingestionEnd: core.serialization.property("ingestion_end", core.serialization.string().optional()),
|
34
36
|
});
|
@@ -4,7 +4,8 @@
|
|
4
4
|
import * as serializers from "../../..";
|
5
5
|
import * as Vital from "../../../../api";
|
6
6
|
import * as core from "../../../../core";
|
7
|
+
import { ClientFacingBloodOxygenTimeseries } from "../../../types/ClientFacingBloodOxygenTimeseries";
|
7
8
|
export declare const Response: core.serialization.Schema<serializers.vitals.bloodOxygen.Response.Raw, Vital.ClientFacingBloodOxygenTimeseries[]>;
|
8
9
|
export declare namespace Response {
|
9
|
-
type Raw =
|
10
|
+
type Raw = ClientFacingBloodOxygenTimeseries.Raw[];
|
10
11
|
}
|
@@ -25,16 +25,8 @@ 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.Response = void 0;
|
39
30
|
const core = __importStar(require("../../../../core"));
|
40
|
-
|
31
|
+
const ClientFacingBloodOxygenTimeseries_1 = require("../../../types/ClientFacingBloodOxygenTimeseries");
|
32
|
+
exports.Response = core.serialization.list(ClientFacingBloodOxygenTimeseries_1.ClientFacingBloodOxygenTimeseries);
|
@@ -4,7 +4,8 @@
|
|
4
4
|
import * as serializers from "../../..";
|
5
5
|
import * as Vital from "../../../../api";
|
6
6
|
import * as core from "../../../../core";
|
7
|
+
import { ClientFacingBloodPressureTimeseries } from "../../../types/ClientFacingBloodPressureTimeseries";
|
7
8
|
export declare const Response: core.serialization.Schema<serializers.vitals.bloodPressure.Response.Raw, Vital.ClientFacingBloodPressureTimeseries[]>;
|
8
9
|
export declare namespace Response {
|
9
|
-
type Raw =
|
10
|
+
type Raw = ClientFacingBloodPressureTimeseries.Raw[];
|
10
11
|
}
|
@@ -25,16 +25,8 @@ 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.Response = void 0;
|
39
30
|
const core = __importStar(require("../../../../core"));
|
40
|
-
|
31
|
+
const ClientFacingBloodPressureTimeseries_1 = require("../../../types/ClientFacingBloodPressureTimeseries");
|
32
|
+
exports.Response = core.serialization.list(ClientFacingBloodPressureTimeseries_1.ClientFacingBloodPressureTimeseries);
|
@@ -4,7 +4,8 @@
|
|
4
4
|
import * as serializers from "../../..";
|
5
5
|
import * as Vital from "../../../../api";
|
6
6
|
import * as core from "../../../../core";
|
7
|
+
import { ClientFacingBodyFatTimeseries } from "../../../types/ClientFacingBodyFatTimeseries";
|
7
8
|
export declare const Response: core.serialization.Schema<serializers.vitals.bodyFat.Response.Raw, Vital.ClientFacingBodyFatTimeseries[]>;
|
8
9
|
export declare namespace Response {
|
9
|
-
type Raw =
|
10
|
+
type Raw = ClientFacingBodyFatTimeseries.Raw[];
|
10
11
|
}
|
@@ -25,16 +25,8 @@ 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.Response = void 0;
|
39
30
|
const core = __importStar(require("../../../../core"));
|
40
|
-
|
31
|
+
const ClientFacingBodyFatTimeseries_1 = require("../../../types/ClientFacingBodyFatTimeseries");
|
32
|
+
exports.Response = core.serialization.list(ClientFacingBodyFatTimeseries_1.ClientFacingBodyFatTimeseries);
|
@@ -4,7 +4,8 @@
|
|
4
4
|
import * as serializers from "../../..";
|
5
5
|
import * as Vital from "../../../../api";
|
6
6
|
import * as core from "../../../../core";
|
7
|
+
import { ClientFacingBodyWeightTimeseries } from "../../../types/ClientFacingBodyWeightTimeseries";
|
7
8
|
export declare const Response: core.serialization.Schema<serializers.vitals.bodyWeight.Response.Raw, Vital.ClientFacingBodyWeightTimeseries[]>;
|
8
9
|
export declare namespace Response {
|
9
|
-
type Raw =
|
10
|
+
type Raw = ClientFacingBodyWeightTimeseries.Raw[];
|
10
11
|
}
|
@@ -25,16 +25,8 @@ 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.Response = void 0;
|
39
30
|
const core = __importStar(require("../../../../core"));
|
40
|
-
|
31
|
+
const ClientFacingBodyWeightTimeseries_1 = require("../../../types/ClientFacingBodyWeightTimeseries");
|
32
|
+
exports.Response = core.serialization.list(ClientFacingBodyWeightTimeseries_1.ClientFacingBodyWeightTimeseries);
|
@@ -4,7 +4,8 @@
|
|
4
4
|
import * as serializers from "../../..";
|
5
5
|
import * as Vital from "../../../../api";
|
6
6
|
import * as core from "../../../../core";
|
7
|
+
import { ClientFacingCaffeineTimeseries } from "../../../types/ClientFacingCaffeineTimeseries";
|
7
8
|
export declare const Response: core.serialization.Schema<serializers.vitals.caffeine.Response.Raw, Vital.ClientFacingCaffeineTimeseries[]>;
|
8
9
|
export declare namespace Response {
|
9
|
-
type Raw =
|
10
|
+
type Raw = ClientFacingCaffeineTimeseries.Raw[];
|
10
11
|
}
|
@@ -25,16 +25,8 @@ 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.Response = void 0;
|
39
30
|
const core = __importStar(require("../../../../core"));
|
40
|
-
|
31
|
+
const ClientFacingCaffeineTimeseries_1 = require("../../../types/ClientFacingCaffeineTimeseries");
|
32
|
+
exports.Response = core.serialization.list(ClientFacingCaffeineTimeseries_1.ClientFacingCaffeineTimeseries);
|
@@ -4,7 +4,8 @@
|
|
4
4
|
import * as serializers from "../../..";
|
5
5
|
import * as Vital from "../../../../api";
|
6
6
|
import * as core from "../../../../core";
|
7
|
+
import { ClientFacingCaloriesActiveTimeseries } from "../../../types/ClientFacingCaloriesActiveTimeseries";
|
7
8
|
export declare const Response: core.serialization.Schema<serializers.vitals.caloriesActive.Response.Raw, Vital.ClientFacingCaloriesActiveTimeseries[]>;
|
8
9
|
export declare namespace Response {
|
9
|
-
type Raw =
|
10
|
+
type Raw = ClientFacingCaloriesActiveTimeseries.Raw[];
|
10
11
|
}
|
@@ -25,16 +25,8 @@ 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.Response = void 0;
|
39
30
|
const core = __importStar(require("../../../../core"));
|
40
|
-
|
31
|
+
const ClientFacingCaloriesActiveTimeseries_1 = require("../../../types/ClientFacingCaloriesActiveTimeseries");
|
32
|
+
exports.Response = core.serialization.list(ClientFacingCaloriesActiveTimeseries_1.ClientFacingCaloriesActiveTimeseries);
|
@@ -4,7 +4,8 @@
|
|
4
4
|
import * as serializers from "../../..";
|
5
5
|
import * as Vital from "../../../../api";
|
6
6
|
import * as core from "../../../../core";
|
7
|
+
import { ClientFacingCaloriesBasalTimeseries } from "../../../types/ClientFacingCaloriesBasalTimeseries";
|
7
8
|
export declare const Response: core.serialization.Schema<serializers.vitals.caloriesBasal.Response.Raw, Vital.ClientFacingCaloriesBasalTimeseries[]>;
|
8
9
|
export declare namespace Response {
|
9
|
-
type Raw =
|
10
|
+
type Raw = ClientFacingCaloriesBasalTimeseries.Raw[];
|
10
11
|
}
|
@@ -25,16 +25,8 @@ 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.Response = void 0;
|
39
30
|
const core = __importStar(require("../../../../core"));
|
40
|
-
|
31
|
+
const ClientFacingCaloriesBasalTimeseries_1 = require("../../../types/ClientFacingCaloriesBasalTimeseries");
|
32
|
+
exports.Response = core.serialization.list(ClientFacingCaloriesBasalTimeseries_1.ClientFacingCaloriesBasalTimeseries);
|
@@ -4,7 +4,8 @@
|
|
4
4
|
import * as serializers from "../../..";
|
5
5
|
import * as Vital from "../../../../api";
|
6
6
|
import * as core from "../../../../core";
|
7
|
+
import { ClientFacingCholesterolTimeseries } from "../../../types/ClientFacingCholesterolTimeseries";
|
7
8
|
export declare const Response: core.serialization.Schema<serializers.vitals.cholesterol.Response.Raw, Vital.ClientFacingCholesterolTimeseries[]>;
|
8
9
|
export declare namespace Response {
|
9
|
-
type Raw =
|
10
|
+
type Raw = ClientFacingCholesterolTimeseries.Raw[];
|
10
11
|
}
|
@@ -25,16 +25,8 @@ 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.Response = void 0;
|
39
30
|
const core = __importStar(require("../../../../core"));
|
40
|
-
|
31
|
+
const ClientFacingCholesterolTimeseries_1 = require("../../../types/ClientFacingCholesterolTimeseries");
|
32
|
+
exports.Response = core.serialization.list(ClientFacingCholesterolTimeseries_1.ClientFacingCholesterolTimeseries);
|
@@ -4,7 +4,8 @@
|
|
4
4
|
import * as serializers from "../../..";
|
5
5
|
import * as Vital from "../../../../api";
|
6
6
|
import * as core from "../../../../core";
|
7
|
+
import { ClientFacingCholesterolTimeseries } from "../../../types/ClientFacingCholesterolTimeseries";
|
7
8
|
export declare const Response: core.serialization.Schema<serializers.vitals.cholesterolHdl.Response.Raw, Vital.ClientFacingCholesterolTimeseries[]>;
|
8
9
|
export declare namespace Response {
|
9
|
-
type Raw =
|
10
|
+
type Raw = ClientFacingCholesterolTimeseries.Raw[];
|
10
11
|
}
|