@tryvital/vital-node 3.1.2 → 3.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.d.ts +1 -0
- package/api/errors/BadRequestError.d.ts +1 -2
- package/api/resources/activity/client/Client.d.ts +4 -0
- package/api/resources/activity/client/Client.js +8 -12
- package/api/resources/body/client/Client.d.ts +4 -0
- package/api/resources/body/client/Client.js +8 -12
- package/api/resources/devices/client/Client.d.ts +5 -1
- package/api/resources/devices/client/Client.js +8 -7
- package/api/resources/insurance/client/Client.d.ts +4 -0
- package/api/resources/insurance/client/Client.js +8 -12
- package/api/resources/introspect/client/Client.d.ts +4 -0
- package/api/resources/introspect/client/Client.js +8 -12
- package/api/resources/labTests/client/Client.d.ts +7 -3
- package/api/resources/labTests/client/Client.js +33 -147
- package/api/resources/link/client/Client.d.ts +11 -14
- package/api/resources/link/client/Client.js +30 -111
- package/api/resources/link/client/requests/EmailAuthLink.d.ts +0 -1
- package/api/resources/link/client/requests/EmailProviderAuthLink.d.ts +0 -1
- package/api/resources/link/client/requests/IndividualProviderData.d.ts +0 -1
- package/api/resources/link/client/requests/PasswordAuthLink.d.ts +0 -2
- package/api/resources/link/client/requests/index.d.ts +0 -3
- package/api/resources/meal/client/Client.d.ts +4 -0
- package/api/resources/meal/client/Client.js +7 -6
- package/api/resources/profile/client/Client.d.ts +4 -0
- package/api/resources/profile/client/Client.js +8 -12
- package/api/resources/providers/client/Client.d.ts +4 -0
- package/api/resources/providers/client/Client.js +7 -6
- package/api/resources/sleep/client/Client.d.ts +4 -0
- package/api/resources/sleep/client/Client.js +10 -24
- package/api/resources/team/client/Client.d.ts +8 -4
- package/api/resources/team/client/Client.js +17 -48
- package/api/resources/team/client/requests/index.d.ts +0 -1
- package/api/resources/testkit/client/Client.d.ts +4 -0
- package/api/resources/testkit/client/Client.js +8 -12
- package/api/resources/testkit/client/requests/RegisterTestkitRequest.d.ts +1 -0
- package/api/resources/user/client/Client.d.ts +6 -1
- package/api/resources/user/client/Client.js +23 -79
- package/api/resources/user/client/requests/UserCreateBody.d.ts +4 -0
- package/api/resources/user/client/requests/UserPatchBody.d.ts +4 -0
- package/api/resources/vitals/client/Client.d.ts +4 -0
- package/api/resources/vitals/client/Client.js +56 -300
- package/api/resources/workouts/client/Client.d.ts +4 -0
- package/api/resources/workouts/client/Client.js +9 -18
- package/api/types/Availability.d.ts +11 -0
- package/api/types/Availability.js +10 -0
- package/api/types/ClientFacingProviderWithStatus.d.ts +2 -0
- package/api/types/ClientFacingTeam.d.ts +7 -1
- package/api/types/ClientFacingUser.d.ts +4 -0
- package/api/types/ClientUserIdConflict.d.ts +9 -0
- package/api/types/ConnectionStatus.d.ts +4 -0
- package/api/types/ConnectionStatusState.d.ts +8 -0
- package/api/types/ConnectionStatusState.js +10 -0
- package/api/types/LibreConfig.d.ts +1 -0
- package/api/types/OrderStatus.d.ts +2 -1
- package/api/types/OrderStatus.js +1 -0
- package/api/types/ProviderLinkResponse.d.ts +3 -0
- package/api/types/ProviderLinkResponseState.d.ts +8 -0
- package/api/types/ProviderLinkResponseState.js +10 -0
- package/api/types/Region.d.ts +2 -1
- package/api/types/Region.js +1 -0
- package/api/types/ResourceAvailability.d.ts +8 -0
- package/api/types/ScopeRequirementsGrants.d.ts +8 -0
- package/api/types/ScopeRequirementsStr.d.ts +7 -0
- package/api/types/TeamConfig.d.ts +1 -0
- package/api/types/index.d.ts +7 -0
- package/api/types/index.js +7 -0
- package/core/fetcher/Fetcher.d.ts +1 -1
- package/core/fetcher/Fetcher.js +32 -18
- package/core/index.d.ts +1 -0
- package/core/index.js +1 -0
- package/core/runtime/index.d.ts +1 -0
- package/core/runtime/index.js +5 -0
- package/core/runtime/runtime.d.ts +8 -0
- package/core/runtime/runtime.js +82 -0
- package/core/schemas/builders/object/object.js +11 -15
- package/dist/Client.d.ts +1 -0
- package/dist/api/errors/BadRequestError.d.ts +1 -2
- package/dist/api/resources/activity/client/Client.d.ts +4 -0
- package/dist/api/resources/activity/client/Client.js +8 -12
- package/dist/api/resources/body/client/Client.d.ts +4 -0
- package/dist/api/resources/body/client/Client.js +8 -12
- package/dist/api/resources/devices/client/Client.d.ts +5 -1
- package/dist/api/resources/devices/client/Client.js +8 -7
- package/dist/api/resources/insurance/client/Client.d.ts +4 -0
- package/dist/api/resources/insurance/client/Client.js +8 -12
- package/dist/api/resources/introspect/client/Client.d.ts +4 -0
- package/dist/api/resources/introspect/client/Client.js +8 -12
- package/dist/api/resources/labTests/client/Client.d.ts +7 -3
- package/dist/api/resources/labTests/client/Client.js +33 -147
- package/dist/api/resources/link/client/Client.d.ts +11 -14
- package/dist/api/resources/link/client/Client.js +30 -111
- package/dist/api/resources/link/client/requests/EmailAuthLink.d.ts +0 -1
- package/dist/api/resources/link/client/requests/EmailProviderAuthLink.d.ts +0 -1
- package/dist/api/resources/link/client/requests/IndividualProviderData.d.ts +0 -1
- package/dist/api/resources/link/client/requests/PasswordAuthLink.d.ts +0 -2
- package/dist/api/resources/link/client/requests/index.d.ts +0 -3
- package/dist/api/resources/meal/client/Client.d.ts +4 -0
- package/dist/api/resources/meal/client/Client.js +7 -6
- package/dist/api/resources/profile/client/Client.d.ts +4 -0
- package/dist/api/resources/profile/client/Client.js +8 -12
- package/dist/api/resources/providers/client/Client.d.ts +4 -0
- package/dist/api/resources/providers/client/Client.js +7 -6
- package/dist/api/resources/sleep/client/Client.d.ts +4 -0
- package/dist/api/resources/sleep/client/Client.js +10 -24
- package/dist/api/resources/team/client/Client.d.ts +8 -4
- package/dist/api/resources/team/client/Client.js +17 -48
- package/dist/api/resources/team/client/requests/index.d.ts +0 -1
- package/dist/api/resources/testkit/client/Client.d.ts +4 -0
- package/dist/api/resources/testkit/client/Client.js +8 -12
- package/dist/api/resources/testkit/client/requests/RegisterTestkitRequest.d.ts +1 -0
- package/dist/api/resources/user/client/Client.d.ts +6 -1
- package/dist/api/resources/user/client/Client.js +23 -79
- package/dist/api/resources/user/client/requests/UserCreateBody.d.ts +4 -0
- package/dist/api/resources/user/client/requests/UserPatchBody.d.ts +4 -0
- package/dist/api/resources/vitals/client/Client.d.ts +4 -0
- package/dist/api/resources/vitals/client/Client.js +56 -300
- package/dist/api/resources/workouts/client/Client.d.ts +4 -0
- package/dist/api/resources/workouts/client/Client.js +9 -18
- package/dist/api/types/Availability.d.ts +11 -0
- package/dist/api/types/Availability.js +10 -0
- package/dist/api/types/ClientFacingProviderWithStatus.d.ts +2 -0
- package/dist/api/types/ClientFacingTeam.d.ts +7 -1
- package/dist/api/types/ClientFacingUser.d.ts +4 -0
- package/dist/api/types/ClientUserIdConflict.d.ts +9 -0
- package/dist/api/types/ConnectionStatus.d.ts +4 -0
- package/dist/api/types/ConnectionStatusState.d.ts +8 -0
- package/dist/api/types/ConnectionStatusState.js +10 -0
- package/dist/api/types/LibreConfig.d.ts +1 -0
- package/dist/api/types/OrderStatus.d.ts +2 -1
- package/dist/api/types/OrderStatus.js +1 -0
- package/dist/api/types/ProviderLinkResponse.d.ts +3 -0
- package/dist/api/types/ProviderLinkResponseState.d.ts +8 -0
- package/dist/api/types/ProviderLinkResponseState.js +10 -0
- package/dist/api/types/Region.d.ts +2 -1
- package/dist/api/types/Region.js +1 -0
- package/dist/api/types/ResourceAvailability.d.ts +8 -0
- package/dist/api/types/ScopeRequirementsGrants.d.ts +8 -0
- package/dist/api/types/ScopeRequirementsStr.d.ts +7 -0
- package/dist/api/types/TeamConfig.d.ts +1 -0
- package/dist/api/types/index.d.ts +7 -0
- package/dist/api/types/index.js +7 -0
- package/dist/core/fetcher/Fetcher.d.ts +1 -1
- package/dist/core/fetcher/Fetcher.js +32 -18
- package/dist/core/index.d.ts +1 -0
- package/dist/core/index.js +1 -0
- package/dist/core/runtime/index.d.ts +1 -0
- package/dist/core/runtime/index.js +5 -0
- package/dist/core/runtime/runtime.d.ts +8 -0
- package/dist/core/runtime/runtime.js +82 -0
- package/dist/core/schemas/builders/object/object.js +11 -15
- package/dist/serialization/resources/insurance/client/searchDiagnosis.d.ts +2 -1
- package/dist/serialization/resources/insurance/client/searchDiagnosis.js +2 -10
- package/dist/serialization/resources/insurance/client/searchPayorInfo.d.ts +2 -1
- package/dist/serialization/resources/insurance/client/searchPayorInfo.js +2 -10
- package/dist/serialization/resources/labTests/client/get.d.ts +2 -1
- package/dist/serialization/resources/labTests/client/get.js +2 -10
- package/dist/serialization/resources/labTests/client/getLabs.d.ts +2 -1
- package/dist/serialization/resources/labTests/client/getLabs.js +2 -10
- package/dist/serialization/resources/labTests/client/getPhlebotomyAppointmentCancellationReason.d.ts +2 -1
- package/dist/serialization/resources/labTests/client/getPhlebotomyAppointmentCancellationReason.js +2 -10
- package/dist/serialization/resources/labTests/client/requests/CreateLabTestRequest.d.ts +4 -2
- package/dist/serialization/resources/labTests/client/requests/CreateLabTestRequest.js +4 -11
- package/dist/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +10 -5
- package/dist/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.js +10 -18
- package/dist/serialization/resources/labTests/client/requests/RequestAppointmentRequest.d.ts +4 -2
- package/dist/serialization/resources/labTests/client/requests/RequestAppointmentRequest.js +4 -11
- package/dist/serialization/resources/link/client/getAllProviders.d.ts +2 -1
- package/dist/serialization/resources/link/client/getAllProviders.js +2 -10
- package/dist/serialization/resources/link/client/requests/BeginLinkTokenRequest.d.ts +2 -1
- package/dist/serialization/resources/link/client/requests/BeginLinkTokenRequest.js +2 -10
- package/dist/serialization/resources/link/client/requests/DemoConnectionCreationPayload.d.ts +2 -1
- package/dist/serialization/resources/link/client/requests/DemoConnectionCreationPayload.js +2 -10
- package/dist/serialization/resources/link/client/requests/EmailAuthLink.d.ts +7 -4
- package/dist/serialization/resources/link/client/requests/EmailAuthLink.js +6 -12
- package/dist/serialization/resources/link/client/requests/EmailProviderAuthLink.d.ts +5 -3
- package/dist/serialization/resources/link/client/requests/EmailProviderAuthLink.js +4 -11
- package/dist/serialization/resources/link/client/requests/IndividualProviderData.d.ts +1 -1
- package/dist/serialization/resources/link/client/requests/LinkTokenExchange.d.ts +3 -2
- package/dist/serialization/resources/link/client/requests/LinkTokenExchange.js +3 -13
- package/dist/serialization/resources/link/client/requests/PasswordAuthLink.d.ts +5 -3
- package/dist/serialization/resources/link/client/requests/PasswordAuthLink.js +4 -11
- package/dist/serialization/resources/providers/client/getAll.d.ts +2 -1
- package/dist/serialization/resources/providers/client/getAll.js +2 -10
- package/dist/serialization/resources/team/client/getPhysicians.d.ts +2 -1
- package/dist/serialization/resources/team/client/getPhysicians.js +2 -10
- package/dist/serialization/resources/team/client/getUserById.d.ts +2 -1
- package/dist/serialization/resources/team/client/getUserById.js +2 -10
- package/dist/serialization/resources/testkit/client/requests/CreateRegistrableTestkitOrderRequest.d.ts +2 -1
- package/dist/serialization/resources/testkit/client/requests/CreateRegistrableTestkitOrderRequest.js +2 -10
- package/dist/serialization/resources/testkit/client/requests/RegisterTestkitRequest.d.ts +10 -4
- package/dist/serialization/resources/testkit/client/requests/RegisterTestkitRequest.js +10 -17
- package/dist/serialization/resources/user/client/getConnectedProviders.d.ts +2 -1
- package/dist/serialization/resources/user/client/getConnectedProviders.js +2 -10
- package/dist/serialization/resources/user/client/requests/UserCreateBody.d.ts +2 -0
- package/dist/serialization/resources/user/client/requests/UserCreateBody.js +2 -0
- package/dist/serialization/resources/user/client/requests/UserPatchBody.d.ts +2 -0
- package/dist/serialization/resources/user/client/requests/UserPatchBody.js +2 -0
- package/dist/serialization/resources/vitals/client/bloodOxygen.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/bloodOxygen.js +2 -10
- package/dist/serialization/resources/vitals/client/bloodPressure.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/bloodPressure.js +2 -10
- package/dist/serialization/resources/vitals/client/bodyFat.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/bodyFat.js +2 -10
- package/dist/serialization/resources/vitals/client/bodyWeight.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/bodyWeight.js +2 -10
- package/dist/serialization/resources/vitals/client/caffeine.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/caffeine.js +2 -10
- package/dist/serialization/resources/vitals/client/caloriesActive.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/caloriesActive.js +2 -10
- package/dist/serialization/resources/vitals/client/caloriesBasal.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/caloriesBasal.js +2 -10
- package/dist/serialization/resources/vitals/client/cholesterol.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/cholesterol.js +2 -10
- package/dist/serialization/resources/vitals/client/cholesterolHdl.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/cholesterolHdl.js +2 -10
- package/dist/serialization/resources/vitals/client/cholesterolLdl.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/cholesterolLdl.js +2 -10
- package/dist/serialization/resources/vitals/client/cholesterolTotal.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/cholesterolTotal.js +2 -10
- package/dist/serialization/resources/vitals/client/cholesterolTriglycerides.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/cholesterolTriglycerides.js +2 -10
- package/dist/serialization/resources/vitals/client/distance.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/distance.js +2 -10
- package/dist/serialization/resources/vitals/client/electrocardiogramVoltage.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/electrocardiogramVoltage.js +2 -10
- package/dist/serialization/resources/vitals/client/floorsClimbed.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/floorsClimbed.js +2 -10
- package/dist/serialization/resources/vitals/client/glucose.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/glucose.js +2 -10
- package/dist/serialization/resources/vitals/client/heartrate.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/heartrate.js +2 -10
- package/dist/serialization/resources/vitals/client/hrv.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/hrv.js +2 -10
- package/dist/serialization/resources/vitals/client/hypnogram.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/hypnogram.js +2 -10
- package/dist/serialization/resources/vitals/client/ige.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/ige.js +2 -10
- package/dist/serialization/resources/vitals/client/igg.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/igg.js +2 -10
- package/dist/serialization/resources/vitals/client/mindfulnessMinutes.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/mindfulnessMinutes.js +2 -10
- package/dist/serialization/resources/vitals/client/respiratoryRate.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/respiratoryRate.js +2 -10
- package/dist/serialization/resources/vitals/client/steps.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/steps.js +2 -10
- package/dist/serialization/resources/vitals/client/stressLevel.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/stressLevel.js +2 -10
- package/dist/serialization/resources/vitals/client/vo2Max.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/vo2Max.js +2 -10
- package/dist/serialization/resources/vitals/client/water.d.ts +2 -1
- package/dist/serialization/resources/vitals/client/water.js +2 -10
- package/dist/serialization/types/ActivityV2InDb.d.ts +2 -1
- package/dist/serialization/types/ActivityV2InDb.js +2 -10
- package/dist/serialization/types/AppointmentAvailabilitySlots.d.ts +2 -1
- package/dist/serialization/types/AppointmentAvailabilitySlots.js +2 -10
- package/dist/serialization/types/AreaInfo.d.ts +2 -1
- package/dist/serialization/types/AreaInfo.js +2 -10
- package/dist/serialization/types/Availability.d.ts +10 -0
- package/dist/serialization/types/Availability.js +31 -0
- package/dist/serialization/types/BiomarkerResult.d.ts +2 -1
- package/dist/serialization/types/BiomarkerResult.js +2 -10
- package/dist/serialization/types/BodyV2InDb.d.ts +2 -1
- package/dist/serialization/types/BodyV2InDb.js +2 -10
- package/dist/serialization/types/ClientActivityResponse.d.ts +2 -1
- package/dist/serialization/types/ClientActivityResponse.js +2 -10
- package/dist/serialization/types/ClientBodyResponse.d.ts +2 -1
- package/dist/serialization/types/ClientBodyResponse.js +2 -10
- package/dist/serialization/types/ClientFacingActivity.d.ts +4 -2
- package/dist/serialization/types/ClientFacingActivity.js +4 -11
- package/dist/serialization/types/ClientFacingAppointment.d.ts +14 -7
- package/dist/serialization/types/ClientFacingAppointment.js +14 -16
- package/dist/serialization/types/ClientFacingAppointmentEvent.d.ts +2 -1
- package/dist/serialization/types/ClientFacingAppointmentEvent.js +2 -10
- package/dist/serialization/types/ClientFacingAtHomePhlebotomyOrderDetails.d.ts +2 -1
- package/dist/serialization/types/ClientFacingAtHomePhlebotomyOrderDetails.js +2 -10
- package/dist/serialization/types/ClientFacingBody.d.ts +2 -1
- package/dist/serialization/types/ClientFacingBody.js +2 -10
- package/dist/serialization/types/ClientFacingFood.d.ts +6 -3
- package/dist/serialization/types/ClientFacingFood.js +6 -12
- package/dist/serialization/types/ClientFacingLab.d.ts +4 -2
- package/dist/serialization/types/ClientFacingLab.js +4 -11
- package/dist/serialization/types/ClientFacingLabTest.d.ts +10 -5
- package/dist/serialization/types/ClientFacingLabTest.js +10 -16
- package/dist/serialization/types/ClientFacingMarker.d.ts +2 -1
- package/dist/serialization/types/ClientFacingMarker.js +2 -10
- package/dist/serialization/types/ClientFacingMarkerComplete.d.ts +4 -2
- package/dist/serialization/types/ClientFacingMarkerComplete.js +4 -11
- package/dist/serialization/types/ClientFacingMealResponse.d.ts +2 -1
- package/dist/serialization/types/ClientFacingMealResponse.js +2 -10
- package/dist/serialization/types/ClientFacingOrder.d.ts +16 -8
- package/dist/serialization/types/ClientFacingOrder.js +16 -17
- package/dist/serialization/types/ClientFacingOrderDetails.d.ts +6 -3
- package/dist/serialization/types/ClientFacingOrderDetails.js +6 -12
- package/dist/serialization/types/ClientFacingOrderEvent.d.ts +2 -1
- package/dist/serialization/types/ClientFacingOrderEvent.js +2 -10
- package/dist/serialization/types/ClientFacingPayorSearchResponse.d.ts +2 -1
- package/dist/serialization/types/ClientFacingPayorSearchResponse.js +2 -10
- package/dist/serialization/types/ClientFacingProfile.d.ts +2 -1
- package/dist/serialization/types/ClientFacingProfile.js +2 -10
- package/dist/serialization/types/ClientFacingProviderDetailed.d.ts +4 -2
- package/dist/serialization/types/ClientFacingProviderDetailed.js +4 -13
- package/dist/serialization/types/ClientFacingProviderWithStatus.d.ts +2 -0
- package/dist/serialization/types/ClientFacingProviderWithStatus.js +2 -0
- package/dist/serialization/types/ClientFacingResult.d.ts +2 -1
- package/dist/serialization/types/ClientFacingResult.js +2 -10
- package/dist/serialization/types/ClientFacingSleep.d.ts +4 -2
- package/dist/serialization/types/ClientFacingSleep.js +4 -11
- package/dist/serialization/types/ClientFacingSleepStream.d.ts +8 -4
- package/dist/serialization/types/ClientFacingSleepStream.js +8 -21
- package/dist/serialization/types/ClientFacingTeam.d.ts +7 -4
- package/dist/serialization/types/ClientFacingTeam.js +7 -15
- package/dist/serialization/types/ClientFacingTestKitOrderDetails.d.ts +2 -1
- package/dist/serialization/types/ClientFacingTestKitOrderDetails.js +2 -10
- package/dist/serialization/types/ClientFacingTestkitOrder.d.ts +2 -1
- package/dist/serialization/types/ClientFacingTestkitOrder.js +2 -10
- package/dist/serialization/types/ClientFacingUser.d.ts +8 -3
- package/dist/serialization/types/ClientFacingUser.js +8 -12
- package/dist/serialization/types/ClientFacingWalkInOrderDetails.d.ts +2 -1
- package/dist/serialization/types/ClientFacingWalkInOrderDetails.js +2 -10
- package/dist/serialization/types/ClientFacingWorkout.d.ts +4 -2
- package/dist/serialization/types/ClientFacingWorkout.js +4 -11
- package/dist/serialization/types/ClientSleepResponse.d.ts +2 -1
- package/dist/serialization/types/ClientSleepResponse.js +2 -10
- package/dist/serialization/types/ClientUserIdConflict.d.ts +15 -0
- package/dist/serialization/types/ClientUserIdConflict.js +36 -0
- package/dist/serialization/types/ClientWorkoutResponse.d.ts +2 -1
- package/dist/serialization/types/ClientWorkoutResponse.js +2 -10
- package/dist/serialization/types/ConnectedSourceClientFacing.d.ts +3 -2
- package/dist/serialization/types/ConnectedSourceClientFacing.js +3 -11
- package/dist/serialization/types/ConnectionStatus.d.ts +4 -0
- package/dist/serialization/types/ConnectionStatus.js +4 -0
- package/dist/serialization/types/ConnectionStatusState.d.ts +10 -0
- package/dist/serialization/types/ConnectionStatusState.js +31 -0
- package/dist/serialization/types/Consent.d.ts +2 -1
- package/dist/serialization/types/Consent.js +2 -10
- package/dist/serialization/types/DaySlots.d.ts +2 -1
- package/dist/serialization/types/DaySlots.js +2 -10
- package/dist/serialization/types/DeviceV2InDb.d.ts +2 -1
- package/dist/serialization/types/DeviceV2InDb.js +2 -10
- package/dist/serialization/types/EventDestinationPreferences.d.ts +4 -2
- package/dist/serialization/types/EventDestinationPreferences.js +4 -11
- package/dist/serialization/types/GetMarkersResponse.d.ts +2 -1
- package/dist/serialization/types/GetMarkersResponse.js +2 -10
- package/dist/serialization/types/GetOrdersResponse.d.ts +2 -1
- package/dist/serialization/types/GetOrdersResponse.js +2 -10
- package/dist/serialization/types/GroupedBloodOxygen.d.ts +4 -2
- package/dist/serialization/types/GroupedBloodOxygen.js +4 -11
- package/dist/serialization/types/GroupedBloodOxygenResponse.d.ts +2 -1
- package/dist/serialization/types/GroupedBloodOxygenResponse.js +2 -10
- package/dist/serialization/types/GroupedBloodPressure.d.ts +4 -2
- package/dist/serialization/types/GroupedBloodPressure.js +4 -11
- package/dist/serialization/types/GroupedBloodPressureResponse.d.ts +2 -1
- package/dist/serialization/types/GroupedBloodPressureResponse.js +2 -10
- package/dist/serialization/types/GroupedBodyFat.d.ts +4 -2
- package/dist/serialization/types/GroupedBodyFat.js +4 -11
- package/dist/serialization/types/GroupedBodyFatResponse.d.ts +2 -1
- package/dist/serialization/types/GroupedBodyFatResponse.js +2 -10
- package/dist/serialization/types/GroupedBodyWeight.d.ts +4 -2
- package/dist/serialization/types/GroupedBodyWeight.js +4 -11
- package/dist/serialization/types/GroupedBodyWeightResponse.d.ts +2 -1
- package/dist/serialization/types/GroupedBodyWeightResponse.js +2 -10
- package/dist/serialization/types/GroupedCaffeine.d.ts +4 -2
- package/dist/serialization/types/GroupedCaffeine.js +4 -11
- package/dist/serialization/types/GroupedCaffeineResponse.d.ts +2 -1
- package/dist/serialization/types/GroupedCaffeineResponse.js +2 -10
- package/dist/serialization/types/GroupedCaloriesActive.d.ts +4 -2
- package/dist/serialization/types/GroupedCaloriesActive.js +4 -11
- package/dist/serialization/types/GroupedCaloriesActiveResponse.d.ts +2 -1
- package/dist/serialization/types/GroupedCaloriesActiveResponse.js +2 -10
- package/dist/serialization/types/GroupedCaloriesBasal.d.ts +4 -2
- package/dist/serialization/types/GroupedCaloriesBasal.js +4 -11
- package/dist/serialization/types/GroupedCaloriesBasalResponse.d.ts +2 -1
- package/dist/serialization/types/GroupedCaloriesBasalResponse.js +2 -10
- package/dist/serialization/types/GroupedCholesterol.d.ts +4 -2
- package/dist/serialization/types/GroupedCholesterol.js +4 -11
- package/dist/serialization/types/GroupedCholesterolResponse.d.ts +2 -1
- package/dist/serialization/types/GroupedCholesterolResponse.js +2 -10
- package/dist/serialization/types/GroupedDistance.d.ts +4 -2
- package/dist/serialization/types/GroupedDistance.js +4 -11
- package/dist/serialization/types/GroupedDistanceResponse.d.ts +2 -1
- package/dist/serialization/types/GroupedDistanceResponse.js +2 -10
- package/dist/serialization/types/GroupedElectrocardiogramVoltage.d.ts +4 -2
- package/dist/serialization/types/GroupedElectrocardiogramVoltage.js +4 -11
- package/dist/serialization/types/GroupedElectrocardiogramVoltageResponse.d.ts +2 -1
- package/dist/serialization/types/GroupedElectrocardiogramVoltageResponse.js +2 -10
- package/dist/serialization/types/GroupedFloorsClimbed.d.ts +4 -2
- package/dist/serialization/types/GroupedFloorsClimbed.js +4 -11
- package/dist/serialization/types/GroupedFloorsClimbedResponse.d.ts +2 -1
- package/dist/serialization/types/GroupedFloorsClimbedResponse.js +2 -10
- package/dist/serialization/types/GroupedGlucose.d.ts +4 -2
- package/dist/serialization/types/GroupedGlucose.js +4 -11
- package/dist/serialization/types/GroupedGlucoseResponse.d.ts +2 -1
- package/dist/serialization/types/GroupedGlucoseResponse.js +2 -10
- package/dist/serialization/types/GroupedHeartRate.d.ts +4 -2
- package/dist/serialization/types/GroupedHeartRate.js +4 -11
- package/dist/serialization/types/GroupedHeartRateResponse.d.ts +2 -1
- package/dist/serialization/types/GroupedHeartRateResponse.js +2 -10
- package/dist/serialization/types/GroupedHrv.d.ts +4 -2
- package/dist/serialization/types/GroupedHrv.js +4 -11
- package/dist/serialization/types/GroupedHrvResponse.d.ts +2 -1
- package/dist/serialization/types/GroupedHrvResponse.js +2 -10
- package/dist/serialization/types/GroupedHypnogram.d.ts +4 -2
- package/dist/serialization/types/GroupedHypnogram.js +4 -11
- package/dist/serialization/types/GroupedHypnogramResponse.d.ts +2 -1
- package/dist/serialization/types/GroupedHypnogramResponse.js +2 -10
- package/dist/serialization/types/GroupedIge.d.ts +4 -2
- package/dist/serialization/types/GroupedIge.js +4 -11
- package/dist/serialization/types/GroupedIgeResponse.d.ts +2 -1
- package/dist/serialization/types/GroupedIgeResponse.js +2 -10
- package/dist/serialization/types/GroupedIgg.d.ts +4 -2
- package/dist/serialization/types/GroupedIgg.js +4 -11
- package/dist/serialization/types/GroupedIggResponse.d.ts +2 -1
- package/dist/serialization/types/GroupedIggResponse.js +2 -10
- package/dist/serialization/types/GroupedMindfulnessMinutes.d.ts +4 -2
- package/dist/serialization/types/GroupedMindfulnessMinutes.js +4 -11
- package/dist/serialization/types/GroupedMindfulnessMinutesResponse.d.ts +2 -1
- package/dist/serialization/types/GroupedMindfulnessMinutesResponse.js +2 -10
- package/dist/serialization/types/GroupedRespiratoryRate.d.ts +4 -2
- package/dist/serialization/types/GroupedRespiratoryRate.js +4 -11
- package/dist/serialization/types/GroupedRespiratoryRateResponse.d.ts +2 -1
- package/dist/serialization/types/GroupedRespiratoryRateResponse.js +2 -10
- package/dist/serialization/types/GroupedSteps.d.ts +4 -2
- package/dist/serialization/types/GroupedSteps.js +4 -11
- package/dist/serialization/types/GroupedStepsResponse.d.ts +2 -1
- package/dist/serialization/types/GroupedStepsResponse.js +2 -10
- package/dist/serialization/types/GroupedStressLevel.d.ts +4 -2
- package/dist/serialization/types/GroupedStressLevel.js +4 -11
- package/dist/serialization/types/GroupedStressLevelResponse.d.ts +2 -1
- package/dist/serialization/types/GroupedStressLevelResponse.js +2 -10
- package/dist/serialization/types/GroupedVo2Max.d.ts +4 -2
- package/dist/serialization/types/GroupedVo2Max.js +4 -11
- package/dist/serialization/types/GroupedVo2MaxResponse.d.ts +2 -1
- package/dist/serialization/types/GroupedVo2MaxResponse.js +2 -10
- package/dist/serialization/types/GroupedWater.d.ts +4 -2
- package/dist/serialization/types/GroupedWater.js +4 -11
- package/dist/serialization/types/GroupedWaterResponse.d.ts +2 -1
- package/dist/serialization/types/GroupedWaterResponse.js +2 -10
- package/dist/serialization/types/HealthInsuranceCreateRequest.d.ts +10 -5
- package/dist/serialization/types/HealthInsuranceCreateRequest.js +10 -16
- package/dist/serialization/types/HealthInsuranceCreateRequestBackImage.d.ts +4 -2
- package/dist/serialization/types/HealthInsuranceCreateRequestBackImage.js +4 -11
- package/dist/serialization/types/HealthInsuranceCreateRequestFrontImage.d.ts +4 -2
- package/dist/serialization/types/HealthInsuranceCreateRequestFrontImage.js +4 -11
- package/dist/serialization/types/HealthInsuranceCreateRequestPatientSignatureImage.d.ts +4 -2
- package/dist/serialization/types/HealthInsuranceCreateRequestPatientSignatureImage.js +4 -11
- package/dist/serialization/types/HttpValidationError.d.ts +2 -1
- package/dist/serialization/types/HttpValidationError.js +2 -12
- package/dist/serialization/types/LabResultsRaw.d.ts +4 -2
- package/dist/serialization/types/LabResultsRaw.js +4 -11
- package/dist/serialization/types/LabResultsRawResults.d.ts +2 -1
- package/dist/serialization/types/LabResultsRawResults.js +2 -10
- package/dist/serialization/types/LastAttempt.d.ts +2 -1
- package/dist/serialization/types/LastAttempt.js +2 -10
- package/dist/serialization/types/LibreConfig.d.ts +1 -0
- package/dist/serialization/types/LibreConfig.js +1 -0
- package/dist/serialization/types/Macros.d.ts +2 -1
- package/dist/serialization/types/Macros.js +2 -10
- package/dist/serialization/types/MealInDbBaseClientFacingSource.d.ts +10 -5
- package/dist/serialization/types/MealInDbBaseClientFacingSource.js +10 -16
- package/dist/serialization/types/MetricsResult.d.ts +2 -1
- package/dist/serialization/types/MetricsResult.js +2 -12
- package/dist/serialization/types/OrderStatus.d.ts +1 -1
- package/dist/serialization/types/OrderStatus.js +1 -0
- package/dist/serialization/types/PaginatedUsersResponse.d.ts +2 -1
- package/dist/serialization/types/PaginatedUsersResponse.js +2 -10
- package/dist/serialization/types/PatientDetails.d.ts +2 -1
- package/dist/serialization/types/PatientDetails.js +2 -10
- package/dist/serialization/types/PersonDetails.d.ts +2 -1
- package/dist/serialization/types/PersonDetails.js +2 -10
- package/dist/serialization/types/PhlebotomyAreaInfo.d.ts +2 -1
- package/dist/serialization/types/PhlebotomyAreaInfo.js +2 -10
- package/dist/serialization/types/PhlebotomyProviderInfo.d.ts +4 -2
- package/dist/serialization/types/PhlebotomyProviderInfo.js +4 -11
- package/dist/serialization/types/PhysicianCreateRequest.d.ts +2 -1
- package/dist/serialization/types/PhysicianCreateRequest.js +2 -10
- package/dist/serialization/types/PhysicianCreateRequestSignatureImage.d.ts +4 -2
- package/dist/serialization/types/PhysicianCreateRequestSignatureImage.js +4 -11
- package/dist/serialization/types/PostOrderResponse.d.ts +2 -1
- package/dist/serialization/types/PostOrderResponse.js +2 -10
- package/dist/serialization/types/ProfileInDb.d.ts +2 -1
- package/dist/serialization/types/ProfileInDb.js +2 -10
- package/dist/serialization/types/ProviderLinkResponse.d.ts +6 -1
- package/dist/serialization/types/ProviderLinkResponse.js +6 -10
- package/dist/serialization/types/ProviderLinkResponseState.d.ts +10 -0
- package/dist/serialization/types/ProviderLinkResponseState.js +31 -0
- package/dist/serialization/types/RawActivity.d.ts +2 -1
- package/dist/serialization/types/RawActivity.js +2 -10
- package/dist/serialization/types/RawBody.d.ts +2 -1
- package/dist/serialization/types/RawBody.js +2 -10
- package/dist/serialization/types/RawDevices.d.ts +2 -1
- package/dist/serialization/types/RawDevices.js +2 -10
- package/dist/serialization/types/RawProfile.d.ts +2 -1
- package/dist/serialization/types/RawProfile.js +2 -10
- package/dist/serialization/types/RawSleep.d.ts +2 -1
- package/dist/serialization/types/RawSleep.js +2 -10
- package/dist/serialization/types/RawWorkout.d.ts +2 -1
- package/dist/serialization/types/RawWorkout.js +2 -10
- package/dist/serialization/types/Region.d.ts +1 -1
- package/dist/serialization/types/Region.js +1 -0
- package/dist/serialization/types/ResourceAvailability.d.ts +15 -0
- package/dist/serialization/types/ResourceAvailability.js +36 -0
- package/dist/serialization/types/ScopeRequirementsGrants.d.ts +14 -0
- package/dist/serialization/types/ScopeRequirementsGrants.js +35 -0
- package/dist/serialization/types/ScopeRequirementsStr.d.ts +13 -0
- package/dist/serialization/types/ScopeRequirementsStr.js +34 -0
- package/dist/serialization/types/SingleHistoricalPullStatistics.d.ts +2 -1
- package/dist/serialization/types/SingleHistoricalPullStatistics.js +2 -10
- package/dist/serialization/types/SingleProviderHistoricalPullResponse.d.ts +4 -2
- package/dist/serialization/types/SingleProviderHistoricalPullResponse.js +4 -11
- package/dist/serialization/types/SingleResourceStatistics.d.ts +2 -1
- package/dist/serialization/types/SingleResourceStatistics.js +2 -10
- package/dist/serialization/types/SingleUserHistoricalPullResponse.d.ts +2 -1
- package/dist/serialization/types/SingleUserHistoricalPullResponse.js +2 -10
- package/dist/serialization/types/SingleUserResourceResponse.d.ts +2 -1
- package/dist/serialization/types/SingleUserResourceResponse.js +2 -10
- package/dist/serialization/types/SleepV2InDb.d.ts +2 -1
- package/dist/serialization/types/SleepV2InDb.js +2 -10
- package/dist/serialization/types/Source.d.ts +4 -2
- package/dist/serialization/types/Source.js +4 -11
- package/dist/serialization/types/SourceLink.d.ts +2 -1
- package/dist/serialization/types/SourceLink.js +2 -10
- package/dist/serialization/types/TeamConfig.d.ts +5 -2
- package/dist/serialization/types/TeamConfig.js +5 -11
- package/dist/serialization/types/UserHistoricalPullsResponse.d.ts +2 -1
- package/dist/serialization/types/UserHistoricalPullsResponse.js +2 -10
- package/dist/serialization/types/UserResourcesResponse.d.ts +2 -1
- package/dist/serialization/types/UserResourcesResponse.js +2 -10
- package/dist/serialization/types/ValidationError.d.ts +2 -1
- package/dist/serialization/types/ValidationError.js +2 -10
- package/dist/serialization/types/WorkoutV2InDb.d.ts +4 -2
- package/dist/serialization/types/WorkoutV2InDb.js +4 -11
- package/dist/serialization/types/index.d.ts +7 -0
- package/dist/serialization/types/index.js +7 -0
- package/jest.config.js +5 -0
- package/package.json +6 -2
- package/serialization/resources/insurance/client/searchDiagnosis.d.ts +2 -1
- package/serialization/resources/insurance/client/searchDiagnosis.js +2 -10
- package/serialization/resources/insurance/client/searchPayorInfo.d.ts +2 -1
- package/serialization/resources/insurance/client/searchPayorInfo.js +2 -10
- package/serialization/resources/labTests/client/get.d.ts +2 -1
- package/serialization/resources/labTests/client/get.js +2 -10
- package/serialization/resources/labTests/client/getLabs.d.ts +2 -1
- package/serialization/resources/labTests/client/getLabs.js +2 -10
- package/serialization/resources/labTests/client/getPhlebotomyAppointmentCancellationReason.d.ts +2 -1
- package/serialization/resources/labTests/client/getPhlebotomyAppointmentCancellationReason.js +2 -10
- package/serialization/resources/labTests/client/requests/CreateLabTestRequest.d.ts +4 -2
- package/serialization/resources/labTests/client/requests/CreateLabTestRequest.js +4 -11
- package/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +10 -5
- package/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.js +10 -18
- package/serialization/resources/labTests/client/requests/RequestAppointmentRequest.d.ts +4 -2
- package/serialization/resources/labTests/client/requests/RequestAppointmentRequest.js +4 -11
- package/serialization/resources/link/client/getAllProviders.d.ts +2 -1
- package/serialization/resources/link/client/getAllProviders.js +2 -10
- package/serialization/resources/link/client/requests/BeginLinkTokenRequest.d.ts +2 -1
- package/serialization/resources/link/client/requests/BeginLinkTokenRequest.js +2 -10
- package/serialization/resources/link/client/requests/DemoConnectionCreationPayload.d.ts +2 -1
- package/serialization/resources/link/client/requests/DemoConnectionCreationPayload.js +2 -10
- package/serialization/resources/link/client/requests/EmailAuthLink.d.ts +7 -4
- package/serialization/resources/link/client/requests/EmailAuthLink.js +6 -12
- package/serialization/resources/link/client/requests/EmailProviderAuthLink.d.ts +5 -3
- package/serialization/resources/link/client/requests/EmailProviderAuthLink.js +4 -11
- package/serialization/resources/link/client/requests/IndividualProviderData.d.ts +1 -1
- package/serialization/resources/link/client/requests/LinkTokenExchange.d.ts +3 -2
- package/serialization/resources/link/client/requests/LinkTokenExchange.js +3 -13
- package/serialization/resources/link/client/requests/PasswordAuthLink.d.ts +5 -3
- package/serialization/resources/link/client/requests/PasswordAuthLink.js +4 -11
- package/serialization/resources/providers/client/getAll.d.ts +2 -1
- package/serialization/resources/providers/client/getAll.js +2 -10
- package/serialization/resources/team/client/getPhysicians.d.ts +2 -1
- package/serialization/resources/team/client/getPhysicians.js +2 -10
- package/serialization/resources/team/client/getUserById.d.ts +2 -1
- package/serialization/resources/team/client/getUserById.js +2 -10
- package/serialization/resources/testkit/client/requests/CreateRegistrableTestkitOrderRequest.d.ts +2 -1
- package/serialization/resources/testkit/client/requests/CreateRegistrableTestkitOrderRequest.js +2 -10
- package/serialization/resources/testkit/client/requests/RegisterTestkitRequest.d.ts +10 -4
- package/serialization/resources/testkit/client/requests/RegisterTestkitRequest.js +10 -17
- package/serialization/resources/user/client/getConnectedProviders.d.ts +2 -1
- package/serialization/resources/user/client/getConnectedProviders.js +2 -10
- package/serialization/resources/user/client/requests/UserCreateBody.d.ts +2 -0
- package/serialization/resources/user/client/requests/UserCreateBody.js +2 -0
- package/serialization/resources/user/client/requests/UserPatchBody.d.ts +2 -0
- package/serialization/resources/user/client/requests/UserPatchBody.js +2 -0
- package/serialization/resources/vitals/client/bloodOxygen.d.ts +2 -1
- package/serialization/resources/vitals/client/bloodOxygen.js +2 -10
- package/serialization/resources/vitals/client/bloodPressure.d.ts +2 -1
- package/serialization/resources/vitals/client/bloodPressure.js +2 -10
- package/serialization/resources/vitals/client/bodyFat.d.ts +2 -1
- package/serialization/resources/vitals/client/bodyFat.js +2 -10
- package/serialization/resources/vitals/client/bodyWeight.d.ts +2 -1
- package/serialization/resources/vitals/client/bodyWeight.js +2 -10
- package/serialization/resources/vitals/client/caffeine.d.ts +2 -1
- package/serialization/resources/vitals/client/caffeine.js +2 -10
- package/serialization/resources/vitals/client/caloriesActive.d.ts +2 -1
- package/serialization/resources/vitals/client/caloriesActive.js +2 -10
- package/serialization/resources/vitals/client/caloriesBasal.d.ts +2 -1
- package/serialization/resources/vitals/client/caloriesBasal.js +2 -10
- package/serialization/resources/vitals/client/cholesterol.d.ts +2 -1
- package/serialization/resources/vitals/client/cholesterol.js +2 -10
- package/serialization/resources/vitals/client/cholesterolHdl.d.ts +2 -1
- package/serialization/resources/vitals/client/cholesterolHdl.js +2 -10
- package/serialization/resources/vitals/client/cholesterolLdl.d.ts +2 -1
- package/serialization/resources/vitals/client/cholesterolLdl.js +2 -10
- package/serialization/resources/vitals/client/cholesterolTotal.d.ts +2 -1
- package/serialization/resources/vitals/client/cholesterolTotal.js +2 -10
- package/serialization/resources/vitals/client/cholesterolTriglycerides.d.ts +2 -1
- package/serialization/resources/vitals/client/cholesterolTriglycerides.js +2 -10
- package/serialization/resources/vitals/client/distance.d.ts +2 -1
- package/serialization/resources/vitals/client/distance.js +2 -10
- package/serialization/resources/vitals/client/electrocardiogramVoltage.d.ts +2 -1
- package/serialization/resources/vitals/client/electrocardiogramVoltage.js +2 -10
- package/serialization/resources/vitals/client/floorsClimbed.d.ts +2 -1
- package/serialization/resources/vitals/client/floorsClimbed.js +2 -10
- package/serialization/resources/vitals/client/glucose.d.ts +2 -1
- package/serialization/resources/vitals/client/glucose.js +2 -10
- package/serialization/resources/vitals/client/heartrate.d.ts +2 -1
- package/serialization/resources/vitals/client/heartrate.js +2 -10
- package/serialization/resources/vitals/client/hrv.d.ts +2 -1
- package/serialization/resources/vitals/client/hrv.js +2 -10
- package/serialization/resources/vitals/client/hypnogram.d.ts +2 -1
- package/serialization/resources/vitals/client/hypnogram.js +2 -10
- package/serialization/resources/vitals/client/ige.d.ts +2 -1
- package/serialization/resources/vitals/client/ige.js +2 -10
- package/serialization/resources/vitals/client/igg.d.ts +2 -1
- package/serialization/resources/vitals/client/igg.js +2 -10
- package/serialization/resources/vitals/client/mindfulnessMinutes.d.ts +2 -1
- package/serialization/resources/vitals/client/mindfulnessMinutes.js +2 -10
- package/serialization/resources/vitals/client/respiratoryRate.d.ts +2 -1
- package/serialization/resources/vitals/client/respiratoryRate.js +2 -10
- package/serialization/resources/vitals/client/steps.d.ts +2 -1
- package/serialization/resources/vitals/client/steps.js +2 -10
- package/serialization/resources/vitals/client/stressLevel.d.ts +2 -1
- package/serialization/resources/vitals/client/stressLevel.js +2 -10
- package/serialization/resources/vitals/client/vo2Max.d.ts +2 -1
- package/serialization/resources/vitals/client/vo2Max.js +2 -10
- package/serialization/resources/vitals/client/water.d.ts +2 -1
- package/serialization/resources/vitals/client/water.js +2 -10
- package/serialization/types/ActivityV2InDb.d.ts +2 -1
- package/serialization/types/ActivityV2InDb.js +2 -10
- package/serialization/types/AppointmentAvailabilitySlots.d.ts +2 -1
- package/serialization/types/AppointmentAvailabilitySlots.js +2 -10
- package/serialization/types/AreaInfo.d.ts +2 -1
- package/serialization/types/AreaInfo.js +2 -10
- package/serialization/types/Availability.d.ts +10 -0
- package/serialization/types/Availability.js +31 -0
- package/serialization/types/BiomarkerResult.d.ts +2 -1
- package/serialization/types/BiomarkerResult.js +2 -10
- package/serialization/types/BodyV2InDb.d.ts +2 -1
- package/serialization/types/BodyV2InDb.js +2 -10
- package/serialization/types/ClientActivityResponse.d.ts +2 -1
- package/serialization/types/ClientActivityResponse.js +2 -10
- package/serialization/types/ClientBodyResponse.d.ts +2 -1
- package/serialization/types/ClientBodyResponse.js +2 -10
- package/serialization/types/ClientFacingActivity.d.ts +4 -2
- package/serialization/types/ClientFacingActivity.js +4 -11
- package/serialization/types/ClientFacingAppointment.d.ts +14 -7
- package/serialization/types/ClientFacingAppointment.js +14 -16
- package/serialization/types/ClientFacingAppointmentEvent.d.ts +2 -1
- package/serialization/types/ClientFacingAppointmentEvent.js +2 -10
- package/serialization/types/ClientFacingAtHomePhlebotomyOrderDetails.d.ts +2 -1
- package/serialization/types/ClientFacingAtHomePhlebotomyOrderDetails.js +2 -10
- package/serialization/types/ClientFacingBody.d.ts +2 -1
- package/serialization/types/ClientFacingBody.js +2 -10
- package/serialization/types/ClientFacingFood.d.ts +6 -3
- package/serialization/types/ClientFacingFood.js +6 -12
- package/serialization/types/ClientFacingLab.d.ts +4 -2
- package/serialization/types/ClientFacingLab.js +4 -11
- package/serialization/types/ClientFacingLabTest.d.ts +10 -5
- package/serialization/types/ClientFacingLabTest.js +10 -16
- package/serialization/types/ClientFacingMarker.d.ts +2 -1
- package/serialization/types/ClientFacingMarker.js +2 -10
- package/serialization/types/ClientFacingMarkerComplete.d.ts +4 -2
- package/serialization/types/ClientFacingMarkerComplete.js +4 -11
- package/serialization/types/ClientFacingMealResponse.d.ts +2 -1
- package/serialization/types/ClientFacingMealResponse.js +2 -10
- package/serialization/types/ClientFacingOrder.d.ts +16 -8
- package/serialization/types/ClientFacingOrder.js +16 -17
- package/serialization/types/ClientFacingOrderDetails.d.ts +6 -3
- package/serialization/types/ClientFacingOrderDetails.js +6 -12
- package/serialization/types/ClientFacingOrderEvent.d.ts +2 -1
- package/serialization/types/ClientFacingOrderEvent.js +2 -10
- package/serialization/types/ClientFacingPayorSearchResponse.d.ts +2 -1
- package/serialization/types/ClientFacingPayorSearchResponse.js +2 -10
- package/serialization/types/ClientFacingProfile.d.ts +2 -1
- package/serialization/types/ClientFacingProfile.js +2 -10
- package/serialization/types/ClientFacingProviderDetailed.d.ts +4 -2
- package/serialization/types/ClientFacingProviderDetailed.js +4 -13
- package/serialization/types/ClientFacingProviderWithStatus.d.ts +2 -0
- package/serialization/types/ClientFacingProviderWithStatus.js +2 -0
- package/serialization/types/ClientFacingResult.d.ts +2 -1
- package/serialization/types/ClientFacingResult.js +2 -10
- package/serialization/types/ClientFacingSleep.d.ts +4 -2
- package/serialization/types/ClientFacingSleep.js +4 -11
- package/serialization/types/ClientFacingSleepStream.d.ts +8 -4
- package/serialization/types/ClientFacingSleepStream.js +8 -21
- package/serialization/types/ClientFacingTeam.d.ts +7 -4
- package/serialization/types/ClientFacingTeam.js +7 -15
- package/serialization/types/ClientFacingTestKitOrderDetails.d.ts +2 -1
- package/serialization/types/ClientFacingTestKitOrderDetails.js +2 -10
- package/serialization/types/ClientFacingTestkitOrder.d.ts +2 -1
- package/serialization/types/ClientFacingTestkitOrder.js +2 -10
- package/serialization/types/ClientFacingUser.d.ts +8 -3
- package/serialization/types/ClientFacingUser.js +8 -12
- package/serialization/types/ClientFacingWalkInOrderDetails.d.ts +2 -1
- package/serialization/types/ClientFacingWalkInOrderDetails.js +2 -10
- package/serialization/types/ClientFacingWorkout.d.ts +4 -2
- package/serialization/types/ClientFacingWorkout.js +4 -11
- package/serialization/types/ClientSleepResponse.d.ts +2 -1
- package/serialization/types/ClientSleepResponse.js +2 -10
- package/serialization/types/ClientUserIdConflict.d.ts +15 -0
- package/serialization/types/ClientUserIdConflict.js +36 -0
- package/serialization/types/ClientWorkoutResponse.d.ts +2 -1
- package/serialization/types/ClientWorkoutResponse.js +2 -10
- package/serialization/types/ConnectedSourceClientFacing.d.ts +3 -2
- package/serialization/types/ConnectedSourceClientFacing.js +3 -11
- package/serialization/types/ConnectionStatus.d.ts +4 -0
- package/serialization/types/ConnectionStatus.js +4 -0
- package/serialization/types/ConnectionStatusState.d.ts +10 -0
- package/serialization/types/ConnectionStatusState.js +31 -0
- package/serialization/types/Consent.d.ts +2 -1
- package/serialization/types/Consent.js +2 -10
- package/serialization/types/DaySlots.d.ts +2 -1
- package/serialization/types/DaySlots.js +2 -10
- package/serialization/types/DeviceV2InDb.d.ts +2 -1
- package/serialization/types/DeviceV2InDb.js +2 -10
- package/serialization/types/EventDestinationPreferences.d.ts +4 -2
- package/serialization/types/EventDestinationPreferences.js +4 -11
- package/serialization/types/GetMarkersResponse.d.ts +2 -1
- package/serialization/types/GetMarkersResponse.js +2 -10
- package/serialization/types/GetOrdersResponse.d.ts +2 -1
- package/serialization/types/GetOrdersResponse.js +2 -10
- package/serialization/types/GroupedBloodOxygen.d.ts +4 -2
- package/serialization/types/GroupedBloodOxygen.js +4 -11
- package/serialization/types/GroupedBloodOxygenResponse.d.ts +2 -1
- package/serialization/types/GroupedBloodOxygenResponse.js +2 -10
- package/serialization/types/GroupedBloodPressure.d.ts +4 -2
- package/serialization/types/GroupedBloodPressure.js +4 -11
- package/serialization/types/GroupedBloodPressureResponse.d.ts +2 -1
- package/serialization/types/GroupedBloodPressureResponse.js +2 -10
- package/serialization/types/GroupedBodyFat.d.ts +4 -2
- package/serialization/types/GroupedBodyFat.js +4 -11
- package/serialization/types/GroupedBodyFatResponse.d.ts +2 -1
- package/serialization/types/GroupedBodyFatResponse.js +2 -10
- package/serialization/types/GroupedBodyWeight.d.ts +4 -2
- package/serialization/types/GroupedBodyWeight.js +4 -11
- package/serialization/types/GroupedBodyWeightResponse.d.ts +2 -1
- package/serialization/types/GroupedBodyWeightResponse.js +2 -10
- package/serialization/types/GroupedCaffeine.d.ts +4 -2
- package/serialization/types/GroupedCaffeine.js +4 -11
- package/serialization/types/GroupedCaffeineResponse.d.ts +2 -1
- package/serialization/types/GroupedCaffeineResponse.js +2 -10
- package/serialization/types/GroupedCaloriesActive.d.ts +4 -2
- package/serialization/types/GroupedCaloriesActive.js +4 -11
- package/serialization/types/GroupedCaloriesActiveResponse.d.ts +2 -1
- package/serialization/types/GroupedCaloriesActiveResponse.js +2 -10
- package/serialization/types/GroupedCaloriesBasal.d.ts +4 -2
- package/serialization/types/GroupedCaloriesBasal.js +4 -11
- package/serialization/types/GroupedCaloriesBasalResponse.d.ts +2 -1
- package/serialization/types/GroupedCaloriesBasalResponse.js +2 -10
- package/serialization/types/GroupedCholesterol.d.ts +4 -2
- package/serialization/types/GroupedCholesterol.js +4 -11
- package/serialization/types/GroupedCholesterolResponse.d.ts +2 -1
- package/serialization/types/GroupedCholesterolResponse.js +2 -10
- package/serialization/types/GroupedDistance.d.ts +4 -2
- package/serialization/types/GroupedDistance.js +4 -11
- package/serialization/types/GroupedDistanceResponse.d.ts +2 -1
- package/serialization/types/GroupedDistanceResponse.js +2 -10
- package/serialization/types/GroupedElectrocardiogramVoltage.d.ts +4 -2
- package/serialization/types/GroupedElectrocardiogramVoltage.js +4 -11
- package/serialization/types/GroupedElectrocardiogramVoltageResponse.d.ts +2 -1
- package/serialization/types/GroupedElectrocardiogramVoltageResponse.js +2 -10
- package/serialization/types/GroupedFloorsClimbed.d.ts +4 -2
- package/serialization/types/GroupedFloorsClimbed.js +4 -11
- package/serialization/types/GroupedFloorsClimbedResponse.d.ts +2 -1
- package/serialization/types/GroupedFloorsClimbedResponse.js +2 -10
- package/serialization/types/GroupedGlucose.d.ts +4 -2
- package/serialization/types/GroupedGlucose.js +4 -11
- package/serialization/types/GroupedGlucoseResponse.d.ts +2 -1
- package/serialization/types/GroupedGlucoseResponse.js +2 -10
- package/serialization/types/GroupedHeartRate.d.ts +4 -2
- package/serialization/types/GroupedHeartRate.js +4 -11
- package/serialization/types/GroupedHeartRateResponse.d.ts +2 -1
- package/serialization/types/GroupedHeartRateResponse.js +2 -10
- package/serialization/types/GroupedHrv.d.ts +4 -2
- package/serialization/types/GroupedHrv.js +4 -11
- package/serialization/types/GroupedHrvResponse.d.ts +2 -1
- package/serialization/types/GroupedHrvResponse.js +2 -10
- package/serialization/types/GroupedHypnogram.d.ts +4 -2
- package/serialization/types/GroupedHypnogram.js +4 -11
- package/serialization/types/GroupedHypnogramResponse.d.ts +2 -1
- package/serialization/types/GroupedHypnogramResponse.js +2 -10
- package/serialization/types/GroupedIge.d.ts +4 -2
- package/serialization/types/GroupedIge.js +4 -11
- package/serialization/types/GroupedIgeResponse.d.ts +2 -1
- package/serialization/types/GroupedIgeResponse.js +2 -10
- package/serialization/types/GroupedIgg.d.ts +4 -2
- package/serialization/types/GroupedIgg.js +4 -11
- package/serialization/types/GroupedIggResponse.d.ts +2 -1
- package/serialization/types/GroupedIggResponse.js +2 -10
- package/serialization/types/GroupedMindfulnessMinutes.d.ts +4 -2
- package/serialization/types/GroupedMindfulnessMinutes.js +4 -11
- package/serialization/types/GroupedMindfulnessMinutesResponse.d.ts +2 -1
- package/serialization/types/GroupedMindfulnessMinutesResponse.js +2 -10
- package/serialization/types/GroupedRespiratoryRate.d.ts +4 -2
- package/serialization/types/GroupedRespiratoryRate.js +4 -11
- package/serialization/types/GroupedRespiratoryRateResponse.d.ts +2 -1
- package/serialization/types/GroupedRespiratoryRateResponse.js +2 -10
- package/serialization/types/GroupedSteps.d.ts +4 -2
- package/serialization/types/GroupedSteps.js +4 -11
- package/serialization/types/GroupedStepsResponse.d.ts +2 -1
- package/serialization/types/GroupedStepsResponse.js +2 -10
- package/serialization/types/GroupedStressLevel.d.ts +4 -2
- package/serialization/types/GroupedStressLevel.js +4 -11
- package/serialization/types/GroupedStressLevelResponse.d.ts +2 -1
- package/serialization/types/GroupedStressLevelResponse.js +2 -10
- package/serialization/types/GroupedVo2Max.d.ts +4 -2
- package/serialization/types/GroupedVo2Max.js +4 -11
- package/serialization/types/GroupedVo2MaxResponse.d.ts +2 -1
- package/serialization/types/GroupedVo2MaxResponse.js +2 -10
- package/serialization/types/GroupedWater.d.ts +4 -2
- package/serialization/types/GroupedWater.js +4 -11
- package/serialization/types/GroupedWaterResponse.d.ts +2 -1
- package/serialization/types/GroupedWaterResponse.js +2 -10
- package/serialization/types/HealthInsuranceCreateRequest.d.ts +10 -5
- package/serialization/types/HealthInsuranceCreateRequest.js +10 -16
- package/serialization/types/HealthInsuranceCreateRequestBackImage.d.ts +4 -2
- package/serialization/types/HealthInsuranceCreateRequestBackImage.js +4 -11
- package/serialization/types/HealthInsuranceCreateRequestFrontImage.d.ts +4 -2
- package/serialization/types/HealthInsuranceCreateRequestFrontImage.js +4 -11
- package/serialization/types/HealthInsuranceCreateRequestPatientSignatureImage.d.ts +4 -2
- package/serialization/types/HealthInsuranceCreateRequestPatientSignatureImage.js +4 -11
- package/serialization/types/HttpValidationError.d.ts +2 -1
- package/serialization/types/HttpValidationError.js +2 -12
- package/serialization/types/LabResultsRaw.d.ts +4 -2
- package/serialization/types/LabResultsRaw.js +4 -11
- package/serialization/types/LabResultsRawResults.d.ts +2 -1
- package/serialization/types/LabResultsRawResults.js +2 -10
- package/serialization/types/LastAttempt.d.ts +2 -1
- package/serialization/types/LastAttempt.js +2 -10
- package/serialization/types/LibreConfig.d.ts +1 -0
- package/serialization/types/LibreConfig.js +1 -0
- package/serialization/types/Macros.d.ts +2 -1
- package/serialization/types/Macros.js +2 -10
- package/serialization/types/MealInDbBaseClientFacingSource.d.ts +10 -5
- package/serialization/types/MealInDbBaseClientFacingSource.js +10 -16
- package/serialization/types/MetricsResult.d.ts +2 -1
- package/serialization/types/MetricsResult.js +2 -12
- package/serialization/types/OrderStatus.d.ts +1 -1
- package/serialization/types/OrderStatus.js +1 -0
- package/serialization/types/PaginatedUsersResponse.d.ts +2 -1
- package/serialization/types/PaginatedUsersResponse.js +2 -10
- package/serialization/types/PatientDetails.d.ts +2 -1
- package/serialization/types/PatientDetails.js +2 -10
- package/serialization/types/PersonDetails.d.ts +2 -1
- package/serialization/types/PersonDetails.js +2 -10
- package/serialization/types/PhlebotomyAreaInfo.d.ts +2 -1
- package/serialization/types/PhlebotomyAreaInfo.js +2 -10
- package/serialization/types/PhlebotomyProviderInfo.d.ts +4 -2
- package/serialization/types/PhlebotomyProviderInfo.js +4 -11
- package/serialization/types/PhysicianCreateRequest.d.ts +2 -1
- package/serialization/types/PhysicianCreateRequest.js +2 -10
- package/serialization/types/PhysicianCreateRequestSignatureImage.d.ts +4 -2
- package/serialization/types/PhysicianCreateRequestSignatureImage.js +4 -11
- package/serialization/types/PostOrderResponse.d.ts +2 -1
- package/serialization/types/PostOrderResponse.js +2 -10
- package/serialization/types/ProfileInDb.d.ts +2 -1
- package/serialization/types/ProfileInDb.js +2 -10
- package/serialization/types/ProviderLinkResponse.d.ts +6 -1
- package/serialization/types/ProviderLinkResponse.js +6 -10
- package/serialization/types/ProviderLinkResponseState.d.ts +10 -0
- package/serialization/types/ProviderLinkResponseState.js +31 -0
- package/serialization/types/RawActivity.d.ts +2 -1
- package/serialization/types/RawActivity.js +2 -10
- package/serialization/types/RawBody.d.ts +2 -1
- package/serialization/types/RawBody.js +2 -10
- package/serialization/types/RawDevices.d.ts +2 -1
- package/serialization/types/RawDevices.js +2 -10
- package/serialization/types/RawProfile.d.ts +2 -1
- package/serialization/types/RawProfile.js +2 -10
- package/serialization/types/RawSleep.d.ts +2 -1
- package/serialization/types/RawSleep.js +2 -10
- package/serialization/types/RawWorkout.d.ts +2 -1
- package/serialization/types/RawWorkout.js +2 -10
- package/serialization/types/Region.d.ts +1 -1
- package/serialization/types/Region.js +1 -0
- package/serialization/types/ResourceAvailability.d.ts +15 -0
- package/serialization/types/ResourceAvailability.js +36 -0
- package/serialization/types/ScopeRequirementsGrants.d.ts +14 -0
- package/serialization/types/ScopeRequirementsGrants.js +35 -0
- package/serialization/types/ScopeRequirementsStr.d.ts +13 -0
- package/serialization/types/ScopeRequirementsStr.js +34 -0
- package/serialization/types/SingleHistoricalPullStatistics.d.ts +2 -1
- package/serialization/types/SingleHistoricalPullStatistics.js +2 -10
- package/serialization/types/SingleProviderHistoricalPullResponse.d.ts +4 -2
- package/serialization/types/SingleProviderHistoricalPullResponse.js +4 -11
- package/serialization/types/SingleResourceStatistics.d.ts +2 -1
- package/serialization/types/SingleResourceStatistics.js +2 -10
- package/serialization/types/SingleUserHistoricalPullResponse.d.ts +2 -1
- package/serialization/types/SingleUserHistoricalPullResponse.js +2 -10
- package/serialization/types/SingleUserResourceResponse.d.ts +2 -1
- package/serialization/types/SingleUserResourceResponse.js +2 -10
- package/serialization/types/SleepV2InDb.d.ts +2 -1
- package/serialization/types/SleepV2InDb.js +2 -10
- package/serialization/types/Source.d.ts +4 -2
- package/serialization/types/Source.js +4 -11
- package/serialization/types/SourceLink.d.ts +2 -1
- package/serialization/types/SourceLink.js +2 -10
- package/serialization/types/TeamConfig.d.ts +5 -2
- package/serialization/types/TeamConfig.js +5 -11
- package/serialization/types/UserHistoricalPullsResponse.d.ts +2 -1
- package/serialization/types/UserHistoricalPullsResponse.js +2 -10
- package/serialization/types/UserResourcesResponse.d.ts +2 -1
- package/serialization/types/UserResourcesResponse.js +2 -10
- package/serialization/types/ValidationError.d.ts +2 -1
- package/serialization/types/ValidationError.js +2 -10
- package/serialization/types/WorkoutV2InDb.d.ts +4 -2
- package/serialization/types/WorkoutV2InDb.js +4 -11
- package/serialization/types/index.d.ts +7 -0
- package/serialization/types/index.js +7 -0
- package/tests/client.test.ts +11 -0
- package/api/resources/link/client/requests/LinkGenerateOauthLinkRequest.d.ts +0 -6
- package/api/resources/link/client/requests/LinkGetAllProvidersRequest.d.ts +0 -10
- package/api/resources/link/client/requests/LinkTokenStateRequest.d.ts +0 -10
- package/api/resources/team/client/requests/TeamGetLinkConfigRequest.d.ts +0 -10
- package/dist/api/resources/link/client/requests/LinkGenerateOauthLinkRequest.d.ts +0 -6
- package/dist/api/resources/link/client/requests/LinkGetAllProvidersRequest.d.ts +0 -10
- package/dist/api/resources/link/client/requests/LinkTokenStateRequest.d.ts +0 -10
- package/dist/api/resources/team/client/requests/TeamGetLinkConfigRequest.d.ts +0 -10
- /package/api/{resources/link/client/requests/LinkGenerateOauthLinkRequest.js → types/ClientUserIdConflict.js} +0 -0
- /package/api/{resources/link/client/requests/LinkGetAllProvidersRequest.js → types/ResourceAvailability.js} +0 -0
- /package/api/{resources/link/client/requests/LinkTokenStateRequest.js → types/ScopeRequirementsGrants.js} +0 -0
- /package/api/{resources/team/client/requests/TeamGetLinkConfigRequest.js → types/ScopeRequirementsStr.js} +0 -0
- /package/dist/api/{resources/link/client/requests/LinkGenerateOauthLinkRequest.js → types/ClientUserIdConflict.js} +0 -0
- /package/dist/api/{resources/link/client/requests/LinkGetAllProvidersRequest.js → types/ResourceAvailability.js} +0 -0
- /package/dist/api/{resources/link/client/requests/LinkTokenStateRequest.js → types/ScopeRequirementsGrants.js} +0 -0
- /package/dist/api/{resources/team/client/requests/TeamGetLinkConfigRequest.js → types/ScopeRequirementsStr.js} +0 -0
@@ -25,18 +25,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
25
25
|
__setModuleDefault(result, mod);
|
26
26
|
return result;
|
27
27
|
};
|
28
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
29
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
30
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
31
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
32
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
33
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
34
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
35
|
-
});
|
36
|
-
};
|
37
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
38
29
|
exports.SleepV2InDb = void 0;
|
39
30
|
const core = __importStar(require("../../core"));
|
31
|
+
const ClientFacingProvider_1 = require("./ClientFacingProvider");
|
40
32
|
exports.SleepV2InDb = core.serialization.object({
|
41
33
|
timestamp: core.serialization.date(),
|
42
34
|
data: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
|
@@ -45,6 +37,6 @@ exports.SleepV2InDb = core.serialization.object({
|
|
45
37
|
sourceId: core.serialization.property("source_id", core.serialization.number()),
|
46
38
|
priorityId: core.serialization.property("priority_id", core.serialization.number().optional()),
|
47
39
|
id: core.serialization.string(),
|
48
|
-
source:
|
40
|
+
source: ClientFacingProvider_1.ClientFacingProvider,
|
49
41
|
priority: core.serialization.number().optional(),
|
50
42
|
});
|
@@ -4,6 +4,8 @@
|
|
4
4
|
import * as serializers from "..";
|
5
5
|
import * as Vital from "../../api";
|
6
6
|
import * as core from "../../core";
|
7
|
+
import { SourceAuthType } from "./SourceAuthType";
|
8
|
+
import { SourceType } from "./SourceType";
|
7
9
|
export declare const Source: core.serialization.ObjectSchema<serializers.Source.Raw, Vital.Source>;
|
8
10
|
export declare namespace Source {
|
9
11
|
interface Raw {
|
@@ -13,8 +15,8 @@ export declare namespace Source {
|
|
13
15
|
logo: string;
|
14
16
|
group?: string | null;
|
15
17
|
oauth_url?: string | null;
|
16
|
-
auth_type?:
|
17
|
-
source_type?:
|
18
|
+
auth_type?: SourceAuthType.Raw | null;
|
19
|
+
source_type?: SourceType.Raw | null;
|
18
20
|
is_active?: boolean | null;
|
19
21
|
backfill_num_days?: number | null;
|
20
22
|
id: number;
|
@@ -25,18 +25,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
25
25
|
__setModuleDefault(result, mod);
|
26
26
|
return result;
|
27
27
|
};
|
28
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
29
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
30
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
31
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
32
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
33
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
34
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
35
|
-
});
|
36
|
-
};
|
37
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
38
29
|
exports.Source = void 0;
|
39
30
|
const core = __importStar(require("../../core"));
|
31
|
+
const SourceAuthType_1 = require("./SourceAuthType");
|
32
|
+
const SourceType_1 = require("./SourceType");
|
40
33
|
exports.Source = core.serialization.object({
|
41
34
|
name: core.serialization.string(),
|
42
35
|
slug: core.serialization.string(),
|
@@ -44,8 +37,8 @@ exports.Source = core.serialization.object({
|
|
44
37
|
logo: core.serialization.string(),
|
45
38
|
group: core.serialization.string().optional(),
|
46
39
|
oauthUrl: core.serialization.property("oauth_url", core.serialization.string().optional()),
|
47
|
-
authType: core.serialization.property("auth_type",
|
48
|
-
sourceType: core.serialization.property("source_type",
|
40
|
+
authType: core.serialization.property("auth_type", SourceAuthType_1.SourceAuthType.optional()),
|
41
|
+
sourceType: core.serialization.property("source_type", SourceType_1.SourceType.optional()),
|
49
42
|
isActive: core.serialization.property("is_active", core.serialization.boolean().optional()),
|
50
43
|
backfillNumDays: core.serialization.property("backfill_num_days", core.serialization.number().optional()),
|
51
44
|
id: core.serialization.number(),
|
@@ -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 { SourceAuthType } from "./SourceAuthType";
|
7
8
|
export declare const SourceLink: core.serialization.ObjectSchema<serializers.SourceLink.Raw, Vital.SourceLink>;
|
8
9
|
export declare namespace SourceLink {
|
9
10
|
interface Raw {
|
@@ -13,7 +14,7 @@ export declare namespace SourceLink {
|
|
13
14
|
description: string;
|
14
15
|
logo: string;
|
15
16
|
oauth_url?: string | null;
|
16
|
-
auth_type?:
|
17
|
+
auth_type?: SourceAuthType.Raw | null;
|
17
18
|
form_components?: Record<string, unknown> | null;
|
18
19
|
}
|
19
20
|
}
|
@@ -25,18 +25,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
25
25
|
__setModuleDefault(result, mod);
|
26
26
|
return result;
|
27
27
|
};
|
28
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
29
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
30
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
31
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
32
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
33
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
34
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
35
|
-
});
|
36
|
-
};
|
37
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
38
29
|
exports.SourceLink = void 0;
|
39
30
|
const core = __importStar(require("../../core"));
|
31
|
+
const SourceAuthType_1 = require("./SourceAuthType");
|
40
32
|
exports.SourceLink = core.serialization.object({
|
41
33
|
id: core.serialization.number(),
|
42
34
|
name: core.serialization.string(),
|
@@ -44,6 +36,6 @@ exports.SourceLink = core.serialization.object({
|
|
44
36
|
description: core.serialization.string(),
|
45
37
|
logo: core.serialization.string(),
|
46
38
|
oauthUrl: core.serialization.property("oauth_url", core.serialization.string().optional()),
|
47
|
-
authType: core.serialization.property("auth_type",
|
39
|
+
authType: core.serialization.property("auth_type", SourceAuthType_1.SourceAuthType.optional()),
|
48
40
|
formComponents: core.serialization.property("form_components", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
49
41
|
});
|
@@ -4,14 +4,17 @@
|
|
4
4
|
import * as serializers from "..";
|
5
5
|
import * as Vital from "../../api";
|
6
6
|
import * as core from "../../core";
|
7
|
+
import { LibreConfig } from "./LibreConfig";
|
8
|
+
import { EventDestinationPreferences } from "./EventDestinationPreferences";
|
7
9
|
export declare const TeamConfig: core.serialization.ObjectSchema<serializers.TeamConfig.Raw, Vital.TeamConfig>;
|
8
10
|
export declare namespace TeamConfig {
|
9
11
|
interface Raw {
|
10
|
-
libreview:
|
12
|
+
libreview: LibreConfig.Raw;
|
11
13
|
texts_enabled?: boolean | null;
|
12
14
|
push_historical_data?: boolean | null;
|
13
15
|
provider_raw_data?: boolean | null;
|
14
|
-
|
16
|
+
reject_duplicate_connection?: boolean | null;
|
17
|
+
eds_preferences?: EventDestinationPreferences.Raw | null;
|
15
18
|
event_type_prefixes?: string[] | null;
|
16
19
|
}
|
17
20
|
}
|
@@ -25,23 +25,17 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
25
25
|
__setModuleDefault(result, mod);
|
26
26
|
return result;
|
27
27
|
};
|
28
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
29
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
30
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
31
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
32
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
33
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
34
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
35
|
-
});
|
36
|
-
};
|
37
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
38
29
|
exports.TeamConfig = void 0;
|
39
30
|
const core = __importStar(require("../../core"));
|
31
|
+
const LibreConfig_1 = require("./LibreConfig");
|
32
|
+
const EventDestinationPreferences_1 = require("./EventDestinationPreferences");
|
40
33
|
exports.TeamConfig = core.serialization.object({
|
41
|
-
libreview:
|
34
|
+
libreview: LibreConfig_1.LibreConfig,
|
42
35
|
textsEnabled: core.serialization.property("texts_enabled", core.serialization.boolean().optional()),
|
43
36
|
pushHistoricalData: core.serialization.property("push_historical_data", core.serialization.boolean().optional()),
|
44
37
|
providerRawData: core.serialization.property("provider_raw_data", core.serialization.boolean().optional()),
|
45
|
-
|
38
|
+
rejectDuplicateConnection: core.serialization.property("reject_duplicate_connection", core.serialization.boolean().optional()),
|
39
|
+
edsPreferences: core.serialization.property("eds_preferences", EventDestinationPreferences_1.EventDestinationPreferences.optional()),
|
46
40
|
eventTypePrefixes: core.serialization.property("event_type_prefixes", core.serialization.list(core.serialization.string()).optional()),
|
47
41
|
});
|
@@ -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 { SingleUserHistoricalPullResponse } from "./SingleUserHistoricalPullResponse";
|
7
8
|
export declare const UserHistoricalPullsResponse: core.serialization.ObjectSchema<serializers.UserHistoricalPullsResponse.Raw, Vital.UserHistoricalPullsResponse>;
|
8
9
|
export declare namespace UserHistoricalPullsResponse {
|
9
10
|
interface Raw {
|
10
|
-
data:
|
11
|
+
data: SingleUserHistoricalPullResponse.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.UserHistoricalPullsResponse = void 0;
|
39
30
|
const core = __importStar(require("../../core"));
|
31
|
+
const SingleUserHistoricalPullResponse_1 = require("./SingleUserHistoricalPullResponse");
|
40
32
|
exports.UserHistoricalPullsResponse = core.serialization.object({
|
41
|
-
data: core.serialization.list(
|
33
|
+
data: core.serialization.list(SingleUserHistoricalPullResponse_1.SingleUserHistoricalPullResponse),
|
42
34
|
next: core.serialization.string().optional(),
|
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 { SingleUserResourceResponse } from "./SingleUserResourceResponse";
|
7
8
|
export declare const UserResourcesResponse: core.serialization.ObjectSchema<serializers.UserResourcesResponse.Raw, Vital.UserResourcesResponse>;
|
8
9
|
export declare namespace UserResourcesResponse {
|
9
10
|
interface Raw {
|
10
|
-
data:
|
11
|
+
data: SingleUserResourceResponse.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.UserResourcesResponse = void 0;
|
39
30
|
const core = __importStar(require("../../core"));
|
31
|
+
const SingleUserResourceResponse_1 = require("./SingleUserResourceResponse");
|
40
32
|
exports.UserResourcesResponse = core.serialization.object({
|
41
|
-
data: core.serialization.list(
|
33
|
+
data: core.serialization.list(SingleUserResourceResponse_1.SingleUserResourceResponse),
|
42
34
|
next: core.serialization.string().optional(),
|
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 { ValidationErrorLocItem } from "./ValidationErrorLocItem";
|
7
8
|
export declare const ValidationError: core.serialization.ObjectSchema<serializers.ValidationError.Raw, Vital.ValidationError>;
|
8
9
|
export declare namespace ValidationError {
|
9
10
|
interface Raw {
|
10
|
-
loc:
|
11
|
+
loc: ValidationErrorLocItem.Raw[];
|
11
12
|
msg: string;
|
12
13
|
type: string;
|
13
14
|
}
|
@@ -25,20 +25,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
25
25
|
__setModuleDefault(result, mod);
|
26
26
|
return result;
|
27
27
|
};
|
28
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
29
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
30
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
31
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
32
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
33
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
34
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
35
|
-
});
|
36
|
-
};
|
37
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
38
29
|
exports.ValidationError = void 0;
|
39
30
|
const core = __importStar(require("../../core"));
|
31
|
+
const ValidationErrorLocItem_1 = require("./ValidationErrorLocItem");
|
40
32
|
exports.ValidationError = core.serialization.object({
|
41
|
-
loc: core.serialization.list(
|
33
|
+
loc: core.serialization.list(ValidationErrorLocItem_1.ValidationErrorLocItem),
|
42
34
|
msg: core.serialization.string(),
|
43
35
|
type: core.serialization.string(),
|
44
36
|
});
|
@@ -4,6 +4,8 @@
|
|
4
4
|
import * as serializers from "..";
|
5
5
|
import * as Vital from "../../api";
|
6
6
|
import * as core from "../../core";
|
7
|
+
import { ClientFacingProvider } from "./ClientFacingProvider";
|
8
|
+
import { ClientFacingSport } from "./ClientFacingSport";
|
7
9
|
export declare const WorkoutV2InDb: core.serialization.ObjectSchema<serializers.WorkoutV2InDb.Raw, Vital.WorkoutV2InDb>;
|
8
10
|
export declare namespace WorkoutV2InDb {
|
9
11
|
interface Raw {
|
@@ -15,7 +17,7 @@ export declare namespace WorkoutV2InDb {
|
|
15
17
|
priority_id?: number | null;
|
16
18
|
id: string;
|
17
19
|
sport_id: number;
|
18
|
-
source:
|
19
|
-
sport:
|
20
|
+
source: ClientFacingProvider.Raw;
|
21
|
+
sport: ClientFacingSport.Raw;
|
20
22
|
}
|
21
23
|
}
|
@@ -25,18 +25,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
25
25
|
__setModuleDefault(result, mod);
|
26
26
|
return result;
|
27
27
|
};
|
28
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
29
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
30
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
31
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
32
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
33
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
34
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
35
|
-
});
|
36
|
-
};
|
37
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
38
29
|
exports.WorkoutV2InDb = void 0;
|
39
30
|
const core = __importStar(require("../../core"));
|
31
|
+
const ClientFacingProvider_1 = require("./ClientFacingProvider");
|
32
|
+
const ClientFacingSport_1 = require("./ClientFacingSport");
|
40
33
|
exports.WorkoutV2InDb = core.serialization.object({
|
41
34
|
timestamp: core.serialization.date(),
|
42
35
|
data: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
|
@@ -46,6 +39,6 @@ exports.WorkoutV2InDb = core.serialization.object({
|
|
46
39
|
priorityId: core.serialization.property("priority_id", core.serialization.number().optional()),
|
47
40
|
id: core.serialization.string(),
|
48
41
|
sportId: core.serialization.property("sport_id", core.serialization.number()),
|
49
|
-
source:
|
50
|
-
sport:
|
42
|
+
source: ClientFacingProvider_1.ClientFacingProvider,
|
43
|
+
sport: ClientFacingSport_1.ClientFacingSport,
|
51
44
|
});
|
@@ -9,6 +9,7 @@ export * from "./AppointmentType";
|
|
9
9
|
export * from "./AreaInfo";
|
10
10
|
export * from "./AttemptStatus";
|
11
11
|
export * from "./AuthType";
|
12
|
+
export * from "./Availability";
|
12
13
|
export * from "./BiomarkerResult";
|
13
14
|
export * from "./BodyV2InDb";
|
14
15
|
export * from "./ClientActivityResponse";
|
@@ -80,8 +81,10 @@ export * from "./ClientFacingWalkInTestOrder";
|
|
80
81
|
export * from "./ClientFacingWaterTimeseries";
|
81
82
|
export * from "./ClientFacingWorkout";
|
82
83
|
export * from "./ClientSleepResponse";
|
84
|
+
export * from "./ClientUserIdConflict";
|
83
85
|
export * from "./ClientWorkoutResponse";
|
84
86
|
export * from "./ConnectedSourceClientFacing";
|
87
|
+
export * from "./ConnectionStatusState";
|
85
88
|
export * from "./ConnectionStatus";
|
86
89
|
export * from "./Consent";
|
87
90
|
export * from "./ConsentType";
|
@@ -186,6 +189,7 @@ export * from "./PhysicianCreateRequestBase";
|
|
186
189
|
export * from "./Png";
|
187
190
|
export * from "./PostOrderResponse";
|
188
191
|
export * from "./ProfileInDb";
|
192
|
+
export * from "./ProviderLinkResponseState";
|
189
193
|
export * from "./ProviderLinkResponse";
|
190
194
|
export * from "./Providers";
|
191
195
|
export * from "./RawActivity";
|
@@ -195,8 +199,11 @@ export * from "./RawProfile";
|
|
195
199
|
export * from "./RawSleep";
|
196
200
|
export * from "./RawWorkout";
|
197
201
|
export * from "./Region";
|
202
|
+
export * from "./ResourceAvailability";
|
198
203
|
export * from "./ResponsibleRelationship";
|
199
204
|
export * from "./ResultType";
|
205
|
+
export * from "./ScopeRequirementsGrants";
|
206
|
+
export * from "./ScopeRequirementsStr";
|
200
207
|
export * from "./ShippingAddress";
|
201
208
|
export * from "./SingleHistoricalPullStatistics";
|
202
209
|
export * from "./SingleProviderHistoricalPullResponse";
|
@@ -25,6 +25,7 @@ __exportStar(require("./AppointmentType"), exports);
|
|
25
25
|
__exportStar(require("./AreaInfo"), exports);
|
26
26
|
__exportStar(require("./AttemptStatus"), exports);
|
27
27
|
__exportStar(require("./AuthType"), exports);
|
28
|
+
__exportStar(require("./Availability"), exports);
|
28
29
|
__exportStar(require("./BiomarkerResult"), exports);
|
29
30
|
__exportStar(require("./BodyV2InDb"), exports);
|
30
31
|
__exportStar(require("./ClientActivityResponse"), exports);
|
@@ -96,8 +97,10 @@ __exportStar(require("./ClientFacingWalkInTestOrder"), exports);
|
|
96
97
|
__exportStar(require("./ClientFacingWaterTimeseries"), exports);
|
97
98
|
__exportStar(require("./ClientFacingWorkout"), exports);
|
98
99
|
__exportStar(require("./ClientSleepResponse"), exports);
|
100
|
+
__exportStar(require("./ClientUserIdConflict"), exports);
|
99
101
|
__exportStar(require("./ClientWorkoutResponse"), exports);
|
100
102
|
__exportStar(require("./ConnectedSourceClientFacing"), exports);
|
103
|
+
__exportStar(require("./ConnectionStatusState"), exports);
|
101
104
|
__exportStar(require("./ConnectionStatus"), exports);
|
102
105
|
__exportStar(require("./Consent"), exports);
|
103
106
|
__exportStar(require("./ConsentType"), exports);
|
@@ -202,6 +205,7 @@ __exportStar(require("./PhysicianCreateRequestBase"), exports);
|
|
202
205
|
__exportStar(require("./Png"), exports);
|
203
206
|
__exportStar(require("./PostOrderResponse"), exports);
|
204
207
|
__exportStar(require("./ProfileInDb"), exports);
|
208
|
+
__exportStar(require("./ProviderLinkResponseState"), exports);
|
205
209
|
__exportStar(require("./ProviderLinkResponse"), exports);
|
206
210
|
__exportStar(require("./Providers"), exports);
|
207
211
|
__exportStar(require("./RawActivity"), exports);
|
@@ -211,8 +215,11 @@ __exportStar(require("./RawProfile"), exports);
|
|
211
215
|
__exportStar(require("./RawSleep"), exports);
|
212
216
|
__exportStar(require("./RawWorkout"), exports);
|
213
217
|
__exportStar(require("./Region"), exports);
|
218
|
+
__exportStar(require("./ResourceAvailability"), exports);
|
214
219
|
__exportStar(require("./ResponsibleRelationship"), exports);
|
215
220
|
__exportStar(require("./ResultType"), exports);
|
221
|
+
__exportStar(require("./ScopeRequirementsGrants"), exports);
|
222
|
+
__exportStar(require("./ScopeRequirementsStr"), exports);
|
216
223
|
__exportStar(require("./ShippingAddress"), exports);
|
217
224
|
__exportStar(require("./SingleHistoricalPullStatistics"), exports);
|
218
225
|
__exportStar(require("./SingleProviderHistoricalPullResponse"), exports);
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|