@tryvital/vital-node 3.1.3 → 3.1.5
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/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 +9 -8
- package/api/resources/link/client/Client.js +28 -105
- 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/user/client/Client.d.ts +5 -1
- package/api/resources/user/client/Client.js +19 -73
- 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/ConnectionStatus.d.ts +4 -0
- package/api/types/ConnectionStatusState.d.ts +8 -0
- package/api/types/ConnectionStatusState.js +10 -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/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 +6 -0
- package/api/types/index.js +6 -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/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 +9 -8
- package/dist/api/resources/link/client/Client.js +28 -105
- 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/user/client/Client.d.ts +5 -1
- package/dist/api/resources/user/client/Client.js +19 -73
- 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/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/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/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 +6 -0
- package/dist/api/types/index.js +6 -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 -5
- package/dist/serialization/resources/testkit/client/requests/RegisterTestkitRequest.js +10 -18
- 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/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 +6 -3
- package/dist/serialization/types/ClientFacingUser.js +6 -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/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/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/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/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 +6 -0
- package/dist/serialization/types/index.js +6 -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 -5
- package/serialization/resources/testkit/client/requests/RegisterTestkitRequest.js +10 -18
- package/serialization/resources/user/client/getConnectedProviders.d.ts +2 -1
- package/serialization/resources/user/client/getConnectedProviders.js +2 -10
- 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 +6 -3
- package/serialization/types/ClientFacingUser.js +6 -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/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/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/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/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 +6 -0
- package/serialization/types/index.js +6 -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/link/client/requests/LinkTokenStateRequest.js +0 -5
- package/dist/api/resources/team/client/requests/TeamGetLinkConfigRequest.d.ts +0 -10
- package/dist/api/resources/team/client/requests/TeamGetLinkConfigRequest.js +0 -5
- /package/api/{resources/link/client/requests/LinkGenerateOauthLinkRequest.js → types/ResourceAvailability.js} +0 -0
- /package/api/{resources/link/client/requests/LinkGetAllProvidersRequest.js → types/ScopeRequirementsGrants.js} +0 -0
- /package/api/{resources/link/client/requests/LinkTokenStateRequest.js → types/ScopeRequirementsStr.js} +0 -0
- /package/{api/resources/team/client/requests/TeamGetLinkConfigRequest.js → dist/api/types/ResourceAvailability.js} +0 -0
- /package/dist/api/{resources/link/client/requests/LinkGenerateOauthLinkRequest.js → types/ScopeRequirementsGrants.js} +0 -0
- /package/dist/api/{resources/link/client/requests/LinkGetAllProvidersRequest.js → types/ScopeRequirementsStr.js} +0 -0
@@ -4,10 +4,11 @@
|
|
4
4
|
import * as serializers from "..";
|
5
5
|
import * as Vital from "../../api";
|
6
6
|
import * as core from "../../core";
|
7
|
+
import { GroupedVo2Max } from "./GroupedVo2Max";
|
7
8
|
export declare const GroupedVo2MaxResponse: core.serialization.ObjectSchema<serializers.GroupedVo2MaxResponse.Raw, Vital.GroupedVo2MaxResponse>;
|
8
9
|
export declare namespace GroupedVo2MaxResponse {
|
9
10
|
interface Raw {
|
10
|
-
groups: Record<string,
|
11
|
+
groups: Record<string, GroupedVo2Max.Raw[]>;
|
11
12
|
next?: string | null;
|
12
13
|
}
|
13
14
|
}
|
@@ -25,19 +25,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
25
25
|
__setModuleDefault(result, mod);
|
26
26
|
return result;
|
27
27
|
};
|
28
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
29
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
30
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
31
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
32
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
33
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
34
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
35
|
-
});
|
36
|
-
};
|
37
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
38
29
|
exports.GroupedVo2MaxResponse = void 0;
|
39
30
|
const core = __importStar(require("../../core"));
|
31
|
+
const GroupedVo2Max_1 = require("./GroupedVo2Max");
|
40
32
|
exports.GroupedVo2MaxResponse = core.serialization.object({
|
41
|
-
groups: core.serialization.record(core.serialization.string(), core.serialization.list(
|
33
|
+
groups: core.serialization.record(core.serialization.string(), core.serialization.list(GroupedVo2Max_1.GroupedVo2Max)),
|
42
34
|
next: core.serialization.string().optional(),
|
43
35
|
});
|
@@ -4,10 +4,12 @@
|
|
4
4
|
import * as serializers from "..";
|
5
5
|
import * as Vital from "../../api";
|
6
6
|
import * as core from "../../core";
|
7
|
+
import { ClientFacingSource } from "./ClientFacingSource";
|
8
|
+
import { ClientFacingWaterTimeseries } from "./ClientFacingWaterTimeseries";
|
7
9
|
export declare const GroupedWater: core.serialization.ObjectSchema<serializers.GroupedWater.Raw, Vital.GroupedWater>;
|
8
10
|
export declare namespace GroupedWater {
|
9
11
|
interface Raw {
|
10
|
-
source:
|
11
|
-
data:
|
12
|
+
source: ClientFacingSource.Raw;
|
13
|
+
data: ClientFacingWaterTimeseries.Raw[];
|
12
14
|
}
|
13
15
|
}
|
@@ -25,19 +25,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
25
25
|
__setModuleDefault(result, mod);
|
26
26
|
return result;
|
27
27
|
};
|
28
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
29
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
30
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
31
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
32
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
33
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
34
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
35
|
-
});
|
36
|
-
};
|
37
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
38
29
|
exports.GroupedWater = void 0;
|
39
30
|
const core = __importStar(require("../../core"));
|
31
|
+
const ClientFacingSource_1 = require("./ClientFacingSource");
|
32
|
+
const ClientFacingWaterTimeseries_1 = require("./ClientFacingWaterTimeseries");
|
40
33
|
exports.GroupedWater = core.serialization.object({
|
41
|
-
source:
|
42
|
-
data: core.serialization.list(
|
34
|
+
source: ClientFacingSource_1.ClientFacingSource,
|
35
|
+
data: core.serialization.list(ClientFacingWaterTimeseries_1.ClientFacingWaterTimeseries),
|
43
36
|
});
|
@@ -4,10 +4,11 @@
|
|
4
4
|
import * as serializers from "..";
|
5
5
|
import * as Vital from "../../api";
|
6
6
|
import * as core from "../../core";
|
7
|
+
import { GroupedWater } from "./GroupedWater";
|
7
8
|
export declare const GroupedWaterResponse: core.serialization.ObjectSchema<serializers.GroupedWaterResponse.Raw, Vital.GroupedWaterResponse>;
|
8
9
|
export declare namespace GroupedWaterResponse {
|
9
10
|
interface Raw {
|
10
|
-
groups: Record<string,
|
11
|
+
groups: Record<string, GroupedWater.Raw[]>;
|
11
12
|
next?: string | null;
|
12
13
|
}
|
13
14
|
}
|
@@ -25,19 +25,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
25
25
|
__setModuleDefault(result, mod);
|
26
26
|
return result;
|
27
27
|
};
|
28
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
29
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
30
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
31
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
32
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
33
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
34
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
35
|
-
});
|
36
|
-
};
|
37
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
38
29
|
exports.GroupedWaterResponse = void 0;
|
39
30
|
const core = __importStar(require("../../core"));
|
31
|
+
const GroupedWater_1 = require("./GroupedWater");
|
40
32
|
exports.GroupedWaterResponse = core.serialization.object({
|
41
|
-
groups: core.serialization.record(core.serialization.string(), core.serialization.list(
|
33
|
+
groups: core.serialization.record(core.serialization.string(), core.serialization.list(GroupedWater_1.GroupedWater)),
|
42
34
|
next: core.serialization.string().optional(),
|
43
35
|
});
|
@@ -4,18 +4,23 @@
|
|
4
4
|
import * as serializers from "..";
|
5
5
|
import * as Vital from "../../api";
|
6
6
|
import * as core from "../../core";
|
7
|
+
import { HealthInsuranceCreateRequestFrontImage } from "./HealthInsuranceCreateRequestFrontImage";
|
8
|
+
import { HealthInsuranceCreateRequestBackImage } from "./HealthInsuranceCreateRequestBackImage";
|
9
|
+
import { HealthInsuranceCreateRequestPatientSignatureImage } from "./HealthInsuranceCreateRequestPatientSignatureImage";
|
10
|
+
import { ResponsibleRelationship } from "./ResponsibleRelationship";
|
11
|
+
import { PersonDetails } from "./PersonDetails";
|
7
12
|
export declare const HealthInsuranceCreateRequest: core.serialization.ObjectSchema<serializers.HealthInsuranceCreateRequest.Raw, Vital.HealthInsuranceCreateRequest>;
|
8
13
|
export declare namespace HealthInsuranceCreateRequest {
|
9
14
|
interface Raw {
|
10
|
-
front_image?:
|
11
|
-
back_image?:
|
12
|
-
patient_signature_image?:
|
15
|
+
front_image?: HealthInsuranceCreateRequestFrontImage.Raw | null;
|
16
|
+
back_image?: HealthInsuranceCreateRequestBackImage.Raw | null;
|
17
|
+
patient_signature_image?: HealthInsuranceCreateRequestPatientSignatureImage.Raw | null;
|
13
18
|
subjective?: string | null;
|
14
19
|
assessment_plan?: string | null;
|
15
20
|
payor_code?: string | null;
|
16
21
|
insurance_id?: string | null;
|
17
|
-
responsible_relationship?:
|
18
|
-
responsible_details?:
|
22
|
+
responsible_relationship?: ResponsibleRelationship.Raw | null;
|
23
|
+
responsible_details?: PersonDetails.Raw | null;
|
19
24
|
diagnosis_codes?: string[] | null;
|
20
25
|
}
|
21
26
|
}
|
@@ -25,29 +25,23 @@ 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.HealthInsuranceCreateRequest = void 0;
|
39
30
|
const core = __importStar(require("../../core"));
|
31
|
+
const HealthInsuranceCreateRequestFrontImage_1 = require("./HealthInsuranceCreateRequestFrontImage");
|
32
|
+
const HealthInsuranceCreateRequestBackImage_1 = require("./HealthInsuranceCreateRequestBackImage");
|
33
|
+
const HealthInsuranceCreateRequestPatientSignatureImage_1 = require("./HealthInsuranceCreateRequestPatientSignatureImage");
|
34
|
+
const ResponsibleRelationship_1 = require("./ResponsibleRelationship");
|
35
|
+
const PersonDetails_1 = require("./PersonDetails");
|
40
36
|
exports.HealthInsuranceCreateRequest = core.serialization.object({
|
41
|
-
frontImage: core.serialization.property("front_image",
|
42
|
-
backImage: core.serialization.property("back_image",
|
43
|
-
patientSignatureImage: core.serialization.property("patient_signature_image",
|
44
|
-
.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).HealthInsuranceCreateRequestPatientSignatureImage; }))
|
45
|
-
.optional()),
|
37
|
+
frontImage: core.serialization.property("front_image", HealthInsuranceCreateRequestFrontImage_1.HealthInsuranceCreateRequestFrontImage.optional()),
|
38
|
+
backImage: core.serialization.property("back_image", HealthInsuranceCreateRequestBackImage_1.HealthInsuranceCreateRequestBackImage.optional()),
|
39
|
+
patientSignatureImage: core.serialization.property("patient_signature_image", HealthInsuranceCreateRequestPatientSignatureImage_1.HealthInsuranceCreateRequestPatientSignatureImage.optional()),
|
46
40
|
subjective: core.serialization.string().optional(),
|
47
41
|
assessmentPlan: core.serialization.property("assessment_plan", core.serialization.string().optional()),
|
48
42
|
payorCode: core.serialization.property("payor_code", core.serialization.string().optional()),
|
49
43
|
insuranceId: core.serialization.property("insurance_id", core.serialization.string().optional()),
|
50
|
-
responsibleRelationship: core.serialization.property("responsible_relationship",
|
51
|
-
responsibleDetails: core.serialization.property("responsible_details",
|
44
|
+
responsibleRelationship: core.serialization.property("responsible_relationship", ResponsibleRelationship_1.ResponsibleRelationship.optional()),
|
45
|
+
responsibleDetails: core.serialization.property("responsible_details", PersonDetails_1.PersonDetails.optional()),
|
52
46
|
diagnosisCodes: core.serialization.property("diagnosis_codes", core.serialization.list(core.serialization.string()).optional()),
|
53
47
|
});
|
@@ -4,13 +4,15 @@
|
|
4
4
|
import * as serializers from "..";
|
5
5
|
import * as Vital from "../../api";
|
6
6
|
import * as core from "../../core";
|
7
|
+
import { Jpeg } from "./Jpeg";
|
8
|
+
import { Png } from "./Png";
|
7
9
|
export declare const HealthInsuranceCreateRequestBackImage: core.serialization.Schema<serializers.HealthInsuranceCreateRequestBackImage.Raw, Vital.HealthInsuranceCreateRequestBackImage>;
|
8
10
|
export declare namespace HealthInsuranceCreateRequestBackImage {
|
9
11
|
type Raw = HealthInsuranceCreateRequestBackImage.ImageJpeg | HealthInsuranceCreateRequestBackImage.ImagePng;
|
10
|
-
interface ImageJpeg extends
|
12
|
+
interface ImageJpeg extends Jpeg.Raw {
|
11
13
|
content_type: "image/jpeg";
|
12
14
|
}
|
13
|
-
interface ImagePng extends
|
15
|
+
interface ImagePng extends Png.Raw {
|
14
16
|
content_type: "image/png";
|
15
17
|
}
|
16
18
|
}
|
@@ -25,22 +25,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
25
25
|
__setModuleDefault(result, mod);
|
26
26
|
return result;
|
27
27
|
};
|
28
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
29
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
30
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
31
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
32
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
33
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
34
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
35
|
-
});
|
36
|
-
};
|
37
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
38
29
|
exports.HealthInsuranceCreateRequestBackImage = void 0;
|
39
30
|
const core = __importStar(require("../../core"));
|
31
|
+
const Jpeg_1 = require("./Jpeg");
|
32
|
+
const Png_1 = require("./Png");
|
40
33
|
exports.HealthInsuranceCreateRequestBackImage = core.serialization
|
41
34
|
.union(core.serialization.discriminant("contentType", "content_type"), {
|
42
|
-
"image/jpeg":
|
43
|
-
"image/png":
|
35
|
+
"image/jpeg": Jpeg_1.Jpeg,
|
36
|
+
"image/png": Png_1.Png,
|
44
37
|
})
|
45
38
|
.transform({
|
46
39
|
transform: (value) => value,
|
@@ -4,13 +4,15 @@
|
|
4
4
|
import * as serializers from "..";
|
5
5
|
import * as Vital from "../../api";
|
6
6
|
import * as core from "../../core";
|
7
|
+
import { Jpeg } from "./Jpeg";
|
8
|
+
import { Png } from "./Png";
|
7
9
|
export declare const HealthInsuranceCreateRequestFrontImage: core.serialization.Schema<serializers.HealthInsuranceCreateRequestFrontImage.Raw, Vital.HealthInsuranceCreateRequestFrontImage>;
|
8
10
|
export declare namespace HealthInsuranceCreateRequestFrontImage {
|
9
11
|
type Raw = HealthInsuranceCreateRequestFrontImage.ImageJpeg | HealthInsuranceCreateRequestFrontImage.ImagePng;
|
10
|
-
interface ImageJpeg extends
|
12
|
+
interface ImageJpeg extends Jpeg.Raw {
|
11
13
|
content_type: "image/jpeg";
|
12
14
|
}
|
13
|
-
interface ImagePng extends
|
15
|
+
interface ImagePng extends Png.Raw {
|
14
16
|
content_type: "image/png";
|
15
17
|
}
|
16
18
|
}
|
@@ -25,22 +25,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
25
25
|
__setModuleDefault(result, mod);
|
26
26
|
return result;
|
27
27
|
};
|
28
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
29
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
30
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
31
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
32
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
33
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
34
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
35
|
-
});
|
36
|
-
};
|
37
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
38
29
|
exports.HealthInsuranceCreateRequestFrontImage = void 0;
|
39
30
|
const core = __importStar(require("../../core"));
|
31
|
+
const Jpeg_1 = require("./Jpeg");
|
32
|
+
const Png_1 = require("./Png");
|
40
33
|
exports.HealthInsuranceCreateRequestFrontImage = core.serialization
|
41
34
|
.union(core.serialization.discriminant("contentType", "content_type"), {
|
42
|
-
"image/jpeg":
|
43
|
-
"image/png":
|
35
|
+
"image/jpeg": Jpeg_1.Jpeg,
|
36
|
+
"image/png": Png_1.Png,
|
44
37
|
})
|
45
38
|
.transform({
|
46
39
|
transform: (value) => value,
|
@@ -4,13 +4,15 @@
|
|
4
4
|
import * as serializers from "..";
|
5
5
|
import * as Vital from "../../api";
|
6
6
|
import * as core from "../../core";
|
7
|
+
import { Jpeg } from "./Jpeg";
|
8
|
+
import { Png } from "./Png";
|
7
9
|
export declare const HealthInsuranceCreateRequestPatientSignatureImage: core.serialization.Schema<serializers.HealthInsuranceCreateRequestPatientSignatureImage.Raw, Vital.HealthInsuranceCreateRequestPatientSignatureImage>;
|
8
10
|
export declare namespace HealthInsuranceCreateRequestPatientSignatureImage {
|
9
11
|
type Raw = HealthInsuranceCreateRequestPatientSignatureImage.ImageJpeg | HealthInsuranceCreateRequestPatientSignatureImage.ImagePng;
|
10
|
-
interface ImageJpeg extends
|
12
|
+
interface ImageJpeg extends Jpeg.Raw {
|
11
13
|
content_type: "image/jpeg";
|
12
14
|
}
|
13
|
-
interface ImagePng extends
|
15
|
+
interface ImagePng extends Png.Raw {
|
14
16
|
content_type: "image/png";
|
15
17
|
}
|
16
18
|
}
|
@@ -25,22 +25,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
25
25
|
__setModuleDefault(result, mod);
|
26
26
|
return result;
|
27
27
|
};
|
28
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
29
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
30
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
31
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
32
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
33
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
34
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
35
|
-
});
|
36
|
-
};
|
37
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
38
29
|
exports.HealthInsuranceCreateRequestPatientSignatureImage = void 0;
|
39
30
|
const core = __importStar(require("../../core"));
|
31
|
+
const Jpeg_1 = require("./Jpeg");
|
32
|
+
const Png_1 = require("./Png");
|
40
33
|
exports.HealthInsuranceCreateRequestPatientSignatureImage = core.serialization
|
41
34
|
.union(core.serialization.discriminant("contentType", "content_type"), {
|
42
|
-
"image/jpeg":
|
43
|
-
"image/png":
|
35
|
+
"image/jpeg": Jpeg_1.Jpeg,
|
36
|
+
"image/png": Png_1.Png,
|
44
37
|
})
|
45
38
|
.transform({
|
46
39
|
transform: (value) => value,
|
@@ -4,9 +4,10 @@
|
|
4
4
|
import * as serializers from "..";
|
5
5
|
import * as Vital from "../../api";
|
6
6
|
import * as core from "../../core";
|
7
|
+
import { ValidationError } from "./ValidationError";
|
7
8
|
export declare const HttpValidationError: core.serialization.ObjectSchema<serializers.HttpValidationError.Raw, Vital.HttpValidationError>;
|
8
9
|
export declare namespace HttpValidationError {
|
9
10
|
interface Raw {
|
10
|
-
detail?:
|
11
|
+
detail?: ValidationError.Raw[] | null;
|
11
12
|
}
|
12
13
|
}
|
@@ -25,20 +25,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
25
25
|
__setModuleDefault(result, mod);
|
26
26
|
return result;
|
27
27
|
};
|
28
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
29
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
30
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
31
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
32
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
33
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
34
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
35
|
-
});
|
36
|
-
};
|
37
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
38
29
|
exports.HttpValidationError = void 0;
|
39
30
|
const core = __importStar(require("../../core"));
|
31
|
+
const ValidationError_1 = require("./ValidationError");
|
40
32
|
exports.HttpValidationError = core.serialization.object({
|
41
|
-
detail: core.serialization
|
42
|
-
.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ValidationError; })))
|
43
|
-
.optional(),
|
33
|
+
detail: core.serialization.list(ValidationError_1.ValidationError).optional(),
|
44
34
|
});
|
@@ -4,10 +4,12 @@
|
|
4
4
|
import * as serializers from "..";
|
5
5
|
import * as Vital from "../../api";
|
6
6
|
import * as core from "../../core";
|
7
|
+
import { LabResultsMetadata } from "./LabResultsMetadata";
|
8
|
+
import { LabResultsRawResults } from "./LabResultsRawResults";
|
7
9
|
export declare const LabResultsRaw: core.serialization.ObjectSchema<serializers.LabResultsRaw.Raw, Vital.LabResultsRaw>;
|
8
10
|
export declare namespace LabResultsRaw {
|
9
11
|
interface Raw {
|
10
|
-
metadata:
|
11
|
-
results:
|
12
|
+
metadata: LabResultsMetadata.Raw;
|
13
|
+
results: LabResultsRawResults.Raw;
|
12
14
|
}
|
13
15
|
}
|
@@ -25,19 +25,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
25
25
|
__setModuleDefault(result, mod);
|
26
26
|
return result;
|
27
27
|
};
|
28
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
29
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
30
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
31
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
32
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
33
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
34
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
35
|
-
});
|
36
|
-
};
|
37
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
38
29
|
exports.LabResultsRaw = void 0;
|
39
30
|
const core = __importStar(require("../../core"));
|
31
|
+
const LabResultsMetadata_1 = require("./LabResultsMetadata");
|
32
|
+
const LabResultsRawResults_1 = require("./LabResultsRawResults");
|
40
33
|
exports.LabResultsRaw = core.serialization.object({
|
41
|
-
metadata:
|
42
|
-
results:
|
34
|
+
metadata: LabResultsMetadata_1.LabResultsMetadata,
|
35
|
+
results: LabResultsRawResults_1.LabResultsRawResults,
|
43
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 { BiomarkerResult } from "./BiomarkerResult";
|
7
8
|
export declare const LabResultsRawResults: core.serialization.Schema<serializers.LabResultsRawResults.Raw, Vital.LabResultsRawResults>;
|
8
9
|
export declare namespace LabResultsRawResults {
|
9
|
-
type Raw =
|
10
|
+
type Raw = BiomarkerResult.Raw[] | Record<string, unknown>;
|
10
11
|
}
|
@@ -25,19 +25,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
25
25
|
__setModuleDefault(result, mod);
|
26
26
|
return result;
|
27
27
|
};
|
28
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
29
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
30
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
31
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
32
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
33
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
34
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
35
|
-
});
|
36
|
-
};
|
37
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
38
29
|
exports.LabResultsRawResults = void 0;
|
39
30
|
const core = __importStar(require("../../core"));
|
31
|
+
const BiomarkerResult_1 = require("./BiomarkerResult");
|
40
32
|
exports.LabResultsRawResults = core.serialization.undiscriminatedUnion([
|
41
|
-
core.serialization.list(
|
33
|
+
core.serialization.list(BiomarkerResult_1.BiomarkerResult),
|
42
34
|
core.serialization.record(core.serialization.string(), core.serialization.unknown()),
|
43
35
|
]);
|
@@ -4,10 +4,11 @@
|
|
4
4
|
import * as serializers from "..";
|
5
5
|
import * as Vital from "../../api";
|
6
6
|
import * as core from "../../core";
|
7
|
+
import { AttemptStatus } from "./AttemptStatus";
|
7
8
|
export declare const LastAttempt: core.serialization.ObjectSchema<serializers.LastAttempt.Raw, Vital.LastAttempt>;
|
8
9
|
export declare namespace LastAttempt {
|
9
10
|
interface Raw {
|
10
11
|
timestamp: string;
|
11
|
-
status:
|
12
|
+
status: AttemptStatus.Raw;
|
12
13
|
}
|
13
14
|
}
|
@@ -25,19 +25,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
25
25
|
__setModuleDefault(result, mod);
|
26
26
|
return result;
|
27
27
|
};
|
28
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
29
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
30
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
31
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
32
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
33
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
34
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
35
|
-
});
|
36
|
-
};
|
37
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
38
29
|
exports.LastAttempt = void 0;
|
39
30
|
const core = __importStar(require("../../core"));
|
31
|
+
const AttemptStatus_1 = require("./AttemptStatus");
|
40
32
|
exports.LastAttempt = core.serialization.object({
|
41
33
|
timestamp: core.serialization.date(),
|
42
|
-
status:
|
34
|
+
status: AttemptStatus_1.AttemptStatus,
|
43
35
|
});
|
@@ -4,12 +4,13 @@
|
|
4
4
|
import * as serializers from "..";
|
5
5
|
import * as Vital from "../../api";
|
6
6
|
import * as core from "../../core";
|
7
|
+
import { Fats } from "./Fats";
|
7
8
|
export declare const Macros: core.serialization.ObjectSchema<serializers.Macros.Raw, Vital.Macros>;
|
8
9
|
export declare namespace Macros {
|
9
10
|
interface Raw {
|
10
11
|
carbs?: number | null;
|
11
12
|
protein?: number | null;
|
12
|
-
fats?:
|
13
|
+
fats?: Fats.Raw | null;
|
13
14
|
alcohol?: number | null;
|
14
15
|
water?: number | null;
|
15
16
|
fibre?: number | null;
|
@@ -25,22 +25,14 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
25
25
|
__setModuleDefault(result, mod);
|
26
26
|
return result;
|
27
27
|
};
|
28
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
29
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
30
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
31
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
32
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
33
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
34
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
35
|
-
});
|
36
|
-
};
|
37
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
38
29
|
exports.Macros = void 0;
|
39
30
|
const core = __importStar(require("../../core"));
|
31
|
+
const Fats_1 = require("./Fats");
|
40
32
|
exports.Macros = core.serialization.object({
|
41
33
|
carbs: core.serialization.number().optional(),
|
42
34
|
protein: core.serialization.number().optional(),
|
43
|
-
fats:
|
35
|
+
fats: Fats_1.Fats.optional(),
|
44
36
|
alcohol: core.serialization.number().optional(),
|
45
37
|
water: core.serialization.number().optional(),
|
46
38
|
fibre: core.serialization.number().optional(),
|
@@ -4,6 +4,11 @@
|
|
4
4
|
import * as serializers from "..";
|
5
5
|
import * as Vital from "../../api";
|
6
6
|
import * as core from "../../core";
|
7
|
+
import { Energy } from "./Energy";
|
8
|
+
import { Macros } from "./Macros";
|
9
|
+
import { Micros } from "./Micros";
|
10
|
+
import { ClientFacingFood } from "./ClientFacingFood";
|
11
|
+
import { ClientFacingSource } from "./ClientFacingSource";
|
7
12
|
export declare const MealInDbBaseClientFacingSource: core.serialization.ObjectSchema<serializers.MealInDbBaseClientFacingSource.Raw, Vital.MealInDbBaseClientFacingSource>;
|
8
13
|
export declare namespace MealInDbBaseClientFacingSource {
|
9
14
|
interface Raw {
|
@@ -14,11 +19,11 @@ export declare namespace MealInDbBaseClientFacingSource {
|
|
14
19
|
provider_id: string;
|
15
20
|
timestamp: string;
|
16
21
|
name: string;
|
17
|
-
energy?:
|
18
|
-
macros?:
|
19
|
-
micros?:
|
20
|
-
data?: Record<string,
|
21
|
-
source:
|
22
|
+
energy?: Energy.Raw | null;
|
23
|
+
macros?: Macros.Raw | null;
|
24
|
+
micros?: Micros.Raw | null;
|
25
|
+
data?: Record<string, ClientFacingFood.Raw> | null;
|
26
|
+
source: ClientFacingSource.Raw;
|
22
27
|
created_at: string;
|
23
28
|
updated_at: string;
|
24
29
|
}
|
@@ -25,18 +25,14 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
25
25
|
__setModuleDefault(result, mod);
|
26
26
|
return result;
|
27
27
|
};
|
28
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
29
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
30
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
31
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
32
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
33
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
34
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
35
|
-
});
|
36
|
-
};
|
37
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
38
29
|
exports.MealInDbBaseClientFacingSource = void 0;
|
39
30
|
const core = __importStar(require("../../core"));
|
31
|
+
const Energy_1 = require("./Energy");
|
32
|
+
const Macros_1 = require("./Macros");
|
33
|
+
const Micros_1 = require("./Micros");
|
34
|
+
const ClientFacingFood_1 = require("./ClientFacingFood");
|
35
|
+
const ClientFacingSource_1 = require("./ClientFacingSource");
|
40
36
|
exports.MealInDbBaseClientFacingSource = core.serialization.object({
|
41
37
|
id: core.serialization.string(),
|
42
38
|
userId: core.serialization.property("user_id", core.serialization.string()),
|
@@ -45,13 +41,11 @@ exports.MealInDbBaseClientFacingSource = core.serialization.object({
|
|
45
41
|
providerId: core.serialization.property("provider_id", core.serialization.string()),
|
46
42
|
timestamp: core.serialization.date(),
|
47
43
|
name: core.serialization.string(),
|
48
|
-
energy:
|
49
|
-
macros:
|
50
|
-
micros:
|
51
|
-
data: core.serialization
|
52
|
-
|
53
|
-
.optional(),
|
54
|
-
source: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ClientFacingSource; })),
|
44
|
+
energy: Energy_1.Energy.optional(),
|
45
|
+
macros: Macros_1.Macros.optional(),
|
46
|
+
micros: Micros_1.Micros.optional(),
|
47
|
+
data: core.serialization.record(core.serialization.string(), ClientFacingFood_1.ClientFacingFood).optional(),
|
48
|
+
source: ClientFacingSource_1.ClientFacingSource,
|
55
49
|
createdAt: core.serialization.property("created_at", core.serialization.date()),
|
56
50
|
updatedAt: core.serialization.property("updated_at", core.serialization.date()),
|
57
51
|
});
|
@@ -4,6 +4,7 @@
|
|
4
4
|
import * as serializers from "..";
|
5
5
|
import * as Vital from "../../api";
|
6
6
|
import * as core from "../../core";
|
7
|
+
import { TimeseriesMetricPoint } from "./TimeseriesMetricPoint";
|
7
8
|
export declare const MetricsResult: core.serialization.ObjectSchema<serializers.MetricsResult.Raw, Vital.MetricsResult>;
|
8
9
|
export declare namespace MetricsResult {
|
9
10
|
interface Raw {
|
@@ -11,7 +12,7 @@ export declare namespace MetricsResult {
|
|
11
12
|
number_of_connected_sources?: number | null;
|
12
13
|
number_of_users?: number | null;
|
13
14
|
number_of_errored_connected_sources?: number | null;
|
14
|
-
number_of_connected_sources_by_week?:
|
15
|
+
number_of_connected_sources_by_week?: TimeseriesMetricPoint.Raw[] | null;
|
15
16
|
number_of_ordered_tests?: number | null;
|
16
17
|
}
|
17
18
|
}
|