@tryvital/vital-node 3.1.69 → 3.1.70
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 +9 -2
- package/Client.js +6 -1
- package/api/errors/BadRequestError.d.ts +1 -1
- package/api/errors/BadRequestError.js +1 -1
- package/api/errors/UnprocessableEntityError.d.ts +2 -2
- package/api/errors/UnprocessableEntityError.js +1 -1
- package/api/resources/activity/client/Client.d.ts +20 -6
- package/api/resources/activity/client/Client.js +28 -14
- package/api/resources/activity/client/requests/index.d.ts +2 -2
- package/api/resources/aggregate/client/Client.d.ts +57 -0
- package/api/resources/aggregate/client/Client.js +136 -0
- package/api/resources/aggregate/client/index.d.ts +1 -0
- package/api/resources/aggregate/client/index.js +17 -0
- package/api/resources/aggregate/client/requests/Query.d.ts +32 -0
- package/api/resources/aggregate/client/requests/Query.js +5 -0
- package/api/resources/aggregate/client/requests/index.d.ts +1 -0
- package/api/resources/aggregate/client/requests/index.js +2 -0
- package/api/resources/aggregate/index.d.ts +2 -0
- package/api/resources/aggregate/index.js +18 -0
- package/api/resources/aggregate/types/QueryTimeframe.d.ts +5 -0
- package/api/resources/aggregate/types/QueryTimeframe.js +5 -0
- package/api/resources/aggregate/types/index.d.ts +1 -0
- package/api/resources/aggregate/types/index.js +17 -0
- package/api/resources/body/client/Client.d.ts +20 -6
- package/api/resources/body/client/Client.js +28 -14
- package/api/resources/body/client/requests/index.d.ts +2 -2
- package/api/resources/devices/client/Client.d.ts +14 -5
- package/api/resources/devices/client/Client.js +16 -9
- package/api/resources/devices/client/requests/index.d.ts +1 -1
- package/api/resources/index.d.ts +3 -0
- package/api/resources/index.js +4 -1
- package/api/resources/insurance/client/Client.d.ts +16 -6
- package/api/resources/insurance/client/Client.js +23 -13
- package/api/resources/insurance/client/requests/index.d.ts +2 -2
- package/api/resources/introspect/client/Client.d.ts +16 -6
- package/api/resources/introspect/client/Client.js +22 -12
- package/api/resources/introspect/client/requests/IntrospectGetUserHistoricalPullsRequest.d.ts +1 -1
- package/api/resources/introspect/client/requests/IntrospectGetUserResourcesRequest.d.ts +1 -1
- package/api/resources/introspect/client/requests/index.d.ts +2 -2
- package/api/resources/labTests/client/Client.d.ts +149 -25
- package/api/resources/labTests/client/Client.js +301 -128
- package/api/resources/labTests/client/requests/CreateLabTestRequest.d.ts +1 -1
- package/api/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +26 -2
- package/api/resources/labTests/client/requests/LabTestsGetAreaInfoRequest.d.ts +1 -1
- package/api/resources/labTests/client/requests/LabTestsGetLabelsPdfRequest.d.ts +7 -0
- package/api/resources/labTests/client/requests/LabTestsGetMarkersRequest.d.ts +1 -0
- package/api/resources/labTests/client/requests/LabTestsGetOrderPscInfoRequest.d.ts +1 -1
- package/api/resources/labTests/client/requests/LabTestsGetOrdersRequest.d.ts +1 -1
- package/api/resources/labTests/client/requests/LabTestsGetPscInfoRequest.d.ts +1 -1
- package/api/resources/labTests/client/requests/LabTestsSimulateOrderProcessRequest.d.ts +1 -1
- package/api/resources/labTests/client/requests/RequestAppointmentRequest.d.ts +1 -1
- package/api/resources/labTests/client/requests/index.d.ts +14 -14
- package/api/resources/link/client/Client.d.ts +81 -18
- package/api/resources/link/client/Client.js +162 -79
- package/api/resources/link/client/requests/BeginLinkTokenRequest.d.ts +1 -1
- package/api/resources/link/client/requests/DemoConnectionCreationPayload.d.ts +1 -1
- package/api/resources/link/client/requests/EmailAuthLink.d.ts +1 -1
- package/api/resources/link/client/requests/EmailProviderAuthLink.d.ts +1 -1
- package/api/resources/link/client/requests/IndividualProviderData.d.ts +1 -1
- package/api/resources/link/client/requests/LinkTokenExchange.d.ts +1 -1
- package/api/resources/link/client/requests/PasswordAuthLink.d.ts +1 -1
- package/api/resources/link/client/requests/index.d.ts +14 -14
- package/api/resources/meal/client/Client.d.ts +14 -5
- package/api/resources/meal/client/Client.js +16 -9
- package/api/resources/meal/client/requests/index.d.ts +1 -1
- package/api/resources/menstrualCycle/client/Client.d.ts +13 -5
- package/api/resources/menstrualCycle/client/Client.js +15 -9
- package/api/resources/menstrualCycle/client/requests/index.d.ts +1 -1
- package/api/resources/profile/client/Client.d.ts +20 -6
- package/api/resources/profile/client/Client.js +28 -14
- package/api/resources/profile/client/requests/index.d.ts +2 -2
- package/api/resources/providers/client/Client.d.ts +13 -5
- package/api/resources/providers/client/Client.js +14 -8
- package/api/resources/providers/client/requests/index.d.ts +1 -1
- package/api/resources/sleep/client/Client.d.ts +31 -8
- package/api/resources/sleep/client/Client.js +51 -24
- package/api/resources/sleep/client/requests/index.d.ts +3 -3
- package/api/resources/team/client/Client.d.ts +41 -10
- package/api/resources/team/client/Client.js +72 -31
- package/api/resources/team/client/requests/index.d.ts +3 -3
- package/api/resources/testkit/client/Client.d.ts +51 -4
- package/api/resources/testkit/client/Client.js +59 -12
- package/api/resources/testkit/client/requests/CreateRegistrableTestkitOrderRequest.d.ts +17 -1
- package/api/resources/testkit/client/requests/RegisterTestkitRequest.d.ts +23 -1
- package/api/resources/testkit/client/requests/index.d.ts +2 -2
- package/api/resources/user/client/Client.d.ts +82 -20
- package/api/resources/user/client/Client.js +172 -82
- package/api/resources/user/client/requests/CreateInsuranceRequest.d.ts +1 -1
- package/api/resources/user/client/requests/UserCreateBody.d.ts +8 -0
- package/api/resources/user/client/requests/UserInfoCreateRequest.d.ts +1 -1
- package/api/resources/user/client/requests/UserPatchBody.d.ts +8 -0
- package/api/resources/user/client/requests/index.d.ts +7 -7
- package/api/resources/vitals/client/Client.d.ts +288 -60
- package/api/resources/vitals/client/Client.js +620 -284
- package/api/resources/vitals/client/requests/index.d.ts +56 -56
- package/api/resources/workouts/client/Client.d.ts +24 -7
- package/api/resources/workouts/client/Client.js +38 -19
- package/api/resources/workouts/client/requests/index.d.ts +2 -2
- package/api/types/ActivitySelector.d.ts +7 -0
- package/api/types/ActivitySelector.js +5 -0
- package/api/types/ActivitySelectorActivity.d.ts +24 -0
- package/api/types/ActivitySelectorActivity.js +26 -0
- package/api/types/ActivityV2InDb.d.ts +1 -1
- package/api/types/AddOnOrder.d.ts +7 -0
- package/api/types/AddOnOrder.js +5 -0
- package/api/types/AoE.d.ts +1 -1
- package/api/types/AppointmentAvailabilitySlots.d.ts +1 -1
- package/api/types/AreaInfo.d.ts +1 -1
- package/api/types/BiomarkerResult.d.ts +3 -2
- package/api/types/BodyV2InDb.d.ts +1 -1
- package/api/types/CervicalMucusEntry.d.ts +1 -1
- package/api/types/ClientActivityResponse.d.ts +1 -1
- package/api/types/ClientBodyResponse.d.ts +1 -1
- package/api/types/ClientFacingActivity.d.ts +14 -2
- package/api/types/ClientFacingApiKey.d.ts +2 -2
- package/api/types/ClientFacingAppointment.d.ts +5 -3
- package/api/types/ClientFacingAppointmentEvent.d.ts +2 -2
- package/api/types/ClientFacingAtHomePhlebotomyOrder.d.ts +2 -2
- package/api/types/ClientFacingAtHomePhlebotomyOrderDetails.d.ts +1 -1
- package/api/types/ClientFacingBloodOxygenTimeseries.d.ts +4 -1
- package/api/types/ClientFacingBloodPressureTimeseries.d.ts +4 -1
- package/api/types/ClientFacingBody.d.ts +4 -2
- package/api/types/ClientFacingBodyFatTimeseries.d.ts +4 -1
- package/api/types/ClientFacingBodyTemperatureDeltaSample.d.ts +8 -4
- package/api/types/ClientFacingBodyTemperatureSample.d.ts +8 -4
- package/api/types/ClientFacingBodyWeightTimeseries.d.ts +4 -1
- package/api/types/ClientFacingCaffeineTimeseries.d.ts +6 -3
- package/api/types/ClientFacingCaloriesActiveTimeseries.d.ts +6 -3
- package/api/types/ClientFacingCaloriesBasalTimeseries.d.ts +4 -1
- package/api/types/ClientFacingCarbohydratesSample.d.ts +6 -3
- package/api/types/ClientFacingCholesterolTimeseries.d.ts +4 -1
- package/api/types/ClientFacingDistanceTimeseries.d.ts +6 -3
- package/api/types/ClientFacingElectrocardiogramVoltageTimeseries.d.ts +2 -0
- package/api/types/ClientFacingFloorsClimbedTimeseries.d.ts +4 -1
- package/api/types/ClientFacingFood.d.ts +1 -1
- package/api/types/ClientFacingGlucoseTimeseries.d.ts +4 -1
- package/api/types/ClientFacingGroupedTimeseriesResponseClientFacingBodyTemperatureDeltaSample.d.ts +3 -1
- package/api/types/ClientFacingGroupedTimeseriesResponseClientFacingBodyTemperatureSample.d.ts +3 -1
- package/api/types/ClientFacingGroupedTimeseriesResponseClientFacingCarbohydratesSample.d.ts +3 -1
- package/api/types/ClientFacingGroupedTimeseriesResponseClientFacingInsulinInjectionSample.d.ts +3 -1
- package/api/types/ClientFacingGroupedTimeseriesResponseClientFacingNoteSample.d.ts +3 -1
- package/api/types/ClientFacingGroupedTimeseriesResponseClientFacingWorkoutDurationSample.d.ts +3 -1
- package/api/types/ClientFacingHeartRate.d.ts +4 -0
- package/api/types/ClientFacingHeartRateTimeseries.d.ts +4 -1
- package/api/types/ClientFacingHrvTimeseries.d.ts +4 -1
- package/api/types/ClientFacingHypnogramTimeseries.d.ts +6 -3
- package/api/types/ClientFacingIgeTimeseries.d.ts +4 -1
- package/api/types/ClientFacingIggTimeseries.d.ts +4 -1
- package/api/types/ClientFacingInsulinInjectionSample.d.ts +6 -4
- package/api/types/ClientFacingInsurance.d.ts +1 -1
- package/api/types/ClientFacingLab.d.ts +1 -1
- package/api/types/ClientFacingLabLocation.d.ts +1 -1
- package/api/types/ClientFacingLabTest.d.ts +5 -1
- package/api/types/ClientFacingMarker.d.ts +2 -1
- package/api/types/ClientFacingMarkerComplete.d.ts +2 -1
- package/api/types/ClientFacingMealResponse.d.ts +1 -1
- package/api/types/ClientFacingMindfulnessMinutesTimeseries.d.ts +6 -3
- package/api/types/ClientFacingNoteSample.d.ts +8 -4
- package/api/types/ClientFacingOrder.d.ts +11 -3
- package/api/types/ClientFacingOrderDetails.d.ts +1 -1
- package/api/types/ClientFacingOrderEvent.d.ts +2 -2
- package/api/types/ClientFacingPatientDetailsCompatible.d.ts +1 -1
- package/api/types/ClientFacingPayorSearchResponse.d.ts +1 -1
- package/api/types/ClientFacingProfile.d.ts +1 -1
- package/api/types/ClientFacingProviderDetailed.d.ts +2 -1
- package/api/types/ClientFacingProviderWithStatus.d.ts +1 -1
- package/api/types/ClientFacingRespiratoryRateTimeseries.d.ts +4 -1
- package/api/types/ClientFacingResult.d.ts +1 -1
- package/api/types/ClientFacingShipment.d.ts +7 -0
- package/api/types/ClientFacingSleep.d.ts +16 -4
- package/api/types/ClientFacingSleepStream.d.ts +1 -1
- package/api/types/ClientFacingSource.d.ts +1 -0
- package/api/types/ClientFacingStepsTimeseries.d.ts +6 -3
- package/api/types/ClientFacingStream.d.ts +2 -1
- package/api/types/ClientFacingStressLevelTimeseries.d.ts +4 -1
- package/api/types/ClientFacingTeam.d.ts +1 -1
- package/api/types/ClientFacingTestKitOrderDetails.d.ts +1 -1
- package/api/types/ClientFacingTestkitOrder.d.ts +4 -3
- package/api/types/ClientFacingTimeseriesGroupClientFacingBodyTemperatureDeltaSample.d.ts +1 -1
- package/api/types/ClientFacingTimeseriesGroupClientFacingBodyTemperatureSample.d.ts +1 -1
- package/api/types/ClientFacingTimeseriesGroupClientFacingCarbohydratesSample.d.ts +1 -1
- package/api/types/ClientFacingTimeseriesGroupClientFacingInsulinInjectionSample.d.ts +1 -1
- package/api/types/ClientFacingTimeseriesGroupClientFacingNoteSample.d.ts +1 -1
- package/api/types/ClientFacingTimeseriesGroupClientFacingWorkoutDurationSample.d.ts +1 -1
- package/api/types/ClientFacingUser.d.ts +9 -2
- package/api/types/ClientFacingVo2MaxTimeseries.d.ts +6 -3
- package/api/types/ClientFacingWalkInOrderDetails.d.ts +1 -1
- package/api/types/ClientFacingWalkInTestOrder.d.ts +2 -2
- package/api/types/ClientFacingWaterTimeseries.d.ts +4 -1
- package/api/types/ClientFacingWorkout.d.ts +22 -3
- package/api/types/ClientFacingWorkoutDurationSample.d.ts +8 -4
- package/api/types/ClientSleepResponse.d.ts +1 -1
- package/api/types/ClientWorkoutResponse.d.ts +1 -1
- package/api/types/CompanyDetails.d.ts +1 -1
- package/api/types/ConnectedSourceClientFacing.d.ts +2 -2
- package/api/types/ConnectionStatus.d.ts +1 -1
- package/api/types/Consent.d.ts +1 -1
- package/api/types/ContraceptiveEntry.d.ts +1 -1
- package/api/types/DaySlots.d.ts +1 -1
- package/api/types/DetectedDeviationEntry.d.ts +1 -1
- package/api/types/DeviceV2InDb.d.ts +1 -1
- package/api/types/EventDestinationPreferences.d.ts +1 -1
- package/api/types/FallbackBirthDate.d.ts +1 -1
- package/api/types/FallbackTimeZone.d.ts +1 -1
- package/api/types/Fats.d.ts +6 -0
- package/api/types/GetMarkersResponse.d.ts +1 -1
- package/api/types/GetOrdersResponse.d.ts +1 -1
- package/api/types/GroupedBloodOxygen.d.ts +1 -1
- package/api/types/GroupedBloodOxygenResponse.d.ts +3 -1
- package/api/types/GroupedBloodPressure.d.ts +1 -1
- package/api/types/GroupedBloodPressureResponse.d.ts +3 -1
- package/api/types/GroupedBodyFat.d.ts +1 -1
- package/api/types/GroupedBodyFatResponse.d.ts +3 -1
- package/api/types/GroupedBodyWeight.d.ts +1 -1
- package/api/types/GroupedBodyWeightResponse.d.ts +3 -1
- package/api/types/GroupedCaffeine.d.ts +1 -1
- package/api/types/GroupedCaffeineResponse.d.ts +3 -1
- package/api/types/GroupedCaloriesActive.d.ts +1 -1
- package/api/types/GroupedCaloriesActiveResponse.d.ts +3 -1
- package/api/types/GroupedCaloriesBasal.d.ts +1 -1
- package/api/types/GroupedCaloriesBasalResponse.d.ts +3 -1
- package/api/types/GroupedCholesterol.d.ts +1 -1
- package/api/types/GroupedCholesterolResponse.d.ts +3 -1
- package/api/types/GroupedDistance.d.ts +1 -1
- package/api/types/GroupedDistanceResponse.d.ts +3 -1
- package/api/types/GroupedElectrocardiogramVoltage.d.ts +1 -1
- package/api/types/GroupedElectrocardiogramVoltageResponse.d.ts +3 -1
- package/api/types/GroupedFloorsClimbed.d.ts +1 -1
- package/api/types/GroupedFloorsClimbedResponse.d.ts +3 -1
- package/api/types/GroupedGlucose.d.ts +1 -1
- package/api/types/GroupedGlucoseResponse.d.ts +3 -1
- package/api/types/GroupedHeartRate.d.ts +1 -1
- package/api/types/GroupedHeartRateResponse.d.ts +3 -1
- package/api/types/GroupedHrv.d.ts +1 -1
- package/api/types/GroupedHrvResponse.d.ts +3 -1
- package/api/types/GroupedHypnogram.d.ts +1 -1
- package/api/types/GroupedHypnogramResponse.d.ts +3 -1
- package/api/types/GroupedIge.d.ts +1 -1
- package/api/types/GroupedIgeResponse.d.ts +3 -1
- package/api/types/GroupedIgg.d.ts +1 -1
- package/api/types/GroupedIggResponse.d.ts +3 -1
- package/api/types/GroupedMindfulnessMinutes.d.ts +1 -1
- package/api/types/GroupedMindfulnessMinutesResponse.d.ts +3 -1
- package/api/types/GroupedRespiratoryRate.d.ts +1 -1
- package/api/types/GroupedRespiratoryRateResponse.d.ts +3 -1
- package/api/types/GroupedSteps.d.ts +1 -1
- package/api/types/GroupedStepsResponse.d.ts +3 -1
- package/api/types/GroupedStressLevel.d.ts +1 -1
- package/api/types/GroupedStressLevelResponse.d.ts +3 -1
- package/api/types/GroupedVo2Max.d.ts +1 -1
- package/api/types/GroupedVo2MaxResponse.d.ts +3 -1
- package/api/types/GroupedWater.d.ts +1 -1
- package/api/types/GroupedWaterResponse.d.ts +3 -1
- package/api/types/HealthInsuranceCreateRequest.d.ts +8 -1
- package/api/types/HealthInsuranceCreateRequestBackImage.d.ts +1 -1
- package/api/types/HealthInsuranceCreateRequestFrontImage.d.ts +1 -1
- package/api/types/HealthInsuranceCreateRequestPatientSignatureImage.d.ts +1 -1
- package/api/types/HistoricalPullTimeline.d.ts +3 -3
- package/api/types/HomePregnancyTestEntry.d.ts +1 -1
- package/api/types/HomeProgesteroneTestEntry.d.ts +1 -1
- package/api/types/HttpValidationError.d.ts +1 -1
- package/api/types/LabResultsRaw.d.ts +1 -1
- package/api/types/LabResultsRawResults.d.ts +1 -1
- package/api/types/LastAttempt.d.ts +2 -2
- package/api/types/Macros.d.ts +9 -1
- package/api/types/MealInDbBaseClientFacingSource.d.ts +5 -4
- package/api/types/MenstrualCycle.d.ts +1 -1
- package/api/types/MenstrualCycleResponse.d.ts +1 -1
- package/api/types/MenstrualFlowEntry.d.ts +1 -1
- package/api/types/MetricsResult.d.ts +1 -1
- package/api/types/Micros.d.ts +3 -0
- package/api/types/Minerals.d.ts +44 -0
- package/api/types/Minerals.js +46 -0
- package/api/types/OrderSetRequest.d.ts +8 -0
- package/api/types/OrderSetRequest.js +5 -0
- package/api/types/OvulationTestEntry.d.ts +1 -1
- package/api/types/PaginatedUsersResponse.d.ts +1 -1
- package/api/types/PatientDetails.d.ts +1 -1
- package/api/types/Period.d.ts +8 -0
- package/api/types/Period.js +5 -0
- package/api/types/PeriodUnit.d.ts +12 -0
- package/api/types/PeriodUnit.js +14 -0
- package/api/types/PersonDetailsOutput.d.ts +1 -1
- package/api/types/PhlebotomyAreaInfo.d.ts +1 -1
- package/api/types/PhlebotomyProviderInfo.d.ts +1 -1
- package/api/types/PhysicianCreateRequest.d.ts +1 -1
- package/api/types/PhysicianCreateRequestSignatureImage.d.ts +1 -1
- package/api/types/Placeholder.d.ts +6 -0
- package/api/types/Placeholder.js +5 -0
- package/api/types/PostOrderResponse.d.ts +1 -1
- package/api/types/ProfileInDb.d.ts +1 -1
- package/api/types/ProviderLinkResponse.d.ts +1 -1
- package/api/types/ProviderMfaRequest.d.ts +1 -1
- package/api/types/Providers.d.ts +2 -1
- package/api/types/Providers.js +1 -0
- package/api/types/PscAreaInfo.d.ts +1 -1
- package/api/types/PscInfo.d.ts +1 -1
- package/api/types/QueryConfig.d.ts +8 -0
- package/api/types/QueryConfig.js +5 -0
- package/api/types/QueryConfigProviderPriorityOverridesItem.d.ts +5 -0
- package/api/types/QueryConfigProviderPriorityOverridesItem.js +5 -0
- package/api/types/QueryConfigWeekStartsOn.d.ts +8 -0
- package/api/types/QueryConfigWeekStartsOn.js +10 -0
- package/api/types/QueryInstruction.d.ts +11 -0
- package/api/types/QueryInstruction.js +5 -0
- package/api/types/QueryInstructionPartitionBy.d.ts +5 -0
- package/api/types/QueryInstructionPartitionBy.js +5 -0
- package/api/types/QueryInstructionSelect.d.ts +5 -0
- package/api/types/QueryInstructionSelect.js +5 -0
- package/api/types/Question.d.ts +1 -1
- package/api/types/RawActivity.d.ts +1 -1
- package/api/types/RawBody.d.ts +1 -1
- package/api/types/RawDevices.d.ts +1 -1
- package/api/types/RawProfile.d.ts +1 -1
- package/api/types/RawSleep.d.ts +1 -1
- package/api/types/RawWorkout.d.ts +1 -1
- package/api/types/Reducer.d.ts +7 -0
- package/api/types/Reducer.js +5 -0
- package/api/types/ReducerFunction.d.ts +15 -0
- package/api/types/ReducerFunction.js +17 -0
- package/api/types/RelativeTimeframe.d.ts +9 -0
- package/api/types/RelativeTimeframe.js +5 -0
- package/api/types/ResourceAvailability.d.ts +1 -1
- package/api/types/ScopeRequirementsGrants.d.ts +1 -1
- package/api/types/SingleHistoricalPullStatistics.d.ts +3 -3
- package/api/types/SingleProviderHistoricalPullResponse.d.ts +1 -1
- package/api/types/SingleResourceStatistics.d.ts +3 -3
- package/api/types/SingleUserHistoricalPullResponse.d.ts +1 -1
- package/api/types/SingleUserResourceResponse.d.ts +1 -1
- package/api/types/SleepSelector.d.ts +7 -0
- package/api/types/SleepSelector.js +5 -0
- package/api/types/SleepSelectorSleep.d.ts +30 -0
- package/api/types/SleepSelectorSleep.js +32 -0
- package/api/types/SleepV2InDb.d.ts +1 -1
- package/api/types/Source.d.ts +1 -1
- package/api/types/SourceLink.d.ts +1 -1
- package/api/types/Swizzling.d.ts +36 -0
- package/api/types/Swizzling.js +5 -0
- package/api/types/SwizzlingBinGranularity.d.ts +11 -0
- package/api/types/SwizzlingBinGranularity.js +13 -0
- package/api/types/TeamConfig.d.ts +1 -1
- package/api/types/TimeSlot.d.ts +3 -3
- package/api/types/TimeseriesMetricPoint.d.ts +1 -1
- package/api/types/TraceElements.d.ts +12 -0
- package/api/types/TraceElements.js +14 -0
- package/api/types/UsAddress.d.ts +1 -0
- package/api/types/UserHistoricalPullsResponse.d.ts +2 -1
- package/api/types/UserInfo.d.ts +1 -1
- package/api/types/UserResourcesResponse.d.ts +2 -1
- package/api/types/ValidationError.d.ts +1 -1
- package/api/types/VitalCoreSchemasDbSchemasLabTestHealthInsurancePersonDetails.d.ts +1 -1
- package/api/types/VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails.d.ts +1 -1
- package/api/types/Vitamins.d.ts +19 -0
- package/api/types/Vitamins.js +21 -0
- package/api/types/WorkoutV2InDb.d.ts +1 -1
- package/api/types/index.d.ts +23 -0
- package/api/types/index.js +23 -0
- package/core/fetcher/Fetcher.d.ts +5 -1
- package/core/fetcher/Fetcher.js +29 -94
- package/core/fetcher/createRequestUrl.d.ts +1 -0
- package/core/fetcher/createRequestUrl.js +13 -0
- package/core/fetcher/getFetchFn.d.ts +4 -0
- package/core/fetcher/getFetchFn.js +59 -0
- package/core/fetcher/getRequestBody.d.ts +7 -0
- package/core/fetcher/getRequestBody.js +23 -0
- package/core/fetcher/getResponseBody.d.ts +1 -0
- package/core/fetcher/getResponseBody.js +52 -0
- package/core/fetcher/makeRequest.d.ts +1 -0
- package/core/fetcher/makeRequest.js +42 -0
- package/core/fetcher/requestWithRetries.d.ts +1 -0
- package/core/fetcher/requestWithRetries.js +32 -0
- package/core/fetcher/signals.d.ts +12 -0
- package/core/fetcher/signals.js +37 -0
- package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +30 -0
- package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +247 -0
- package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +22 -0
- package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +124 -0
- package/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +31 -0
- package/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +229 -0
- package/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +18 -0
- package/core/fetcher/stream-wrappers/chooseStreamWrapper.js +50 -0
- package/core/runtime/runtime.d.ts +2 -1
- package/core/runtime/runtime.js +12 -1
- package/core/schemas/Schema.d.ts +7 -4
- package/core/schemas/builders/lazy/lazy.d.ts +2 -2
- package/core/schemas/builders/lazy/lazy.js +8 -19
- package/core/schemas/builders/lazy/lazyObject.js +1 -10
- package/core/schemas/builders/list/list.js +31 -44
- package/core/schemas/builders/object/object.js +90 -111
- package/core/schemas/builders/object/types.d.ts +2 -2
- package/core/schemas/builders/object-like/getObjectLikeUtils.js +3 -12
- package/core/schemas/builders/record/record.js +49 -60
- package/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +2 -2
- package/core/schemas/builders/schema-utils/getSchemaUtils.js +18 -21
- package/core/schemas/builders/set/set.js +6 -15
- package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +21 -32
- package/core/schemas/builders/union/union.js +51 -62
- package/core/schemas/utils/maybeSkipValidation.js +3 -12
- package/dist/Client.d.ts +9 -2
- package/dist/Client.js +6 -1
- package/dist/api/errors/BadRequestError.d.ts +1 -1
- package/dist/api/errors/BadRequestError.js +1 -1
- package/dist/api/errors/UnprocessableEntityError.d.ts +2 -2
- package/dist/api/errors/UnprocessableEntityError.js +1 -1
- package/dist/api/resources/activity/client/Client.d.ts +20 -6
- package/dist/api/resources/activity/client/Client.js +28 -14
- package/dist/api/resources/activity/client/requests/index.d.ts +2 -2
- package/dist/api/resources/aggregate/client/Client.d.ts +57 -0
- package/dist/api/resources/aggregate/client/Client.js +136 -0
- package/dist/api/resources/aggregate/client/index.d.ts +1 -0
- package/dist/api/resources/aggregate/client/index.js +17 -0
- package/dist/api/resources/aggregate/client/requests/Query.d.ts +32 -0
- package/dist/api/resources/aggregate/client/requests/Query.js +5 -0
- package/dist/api/resources/aggregate/client/requests/index.d.ts +1 -0
- package/dist/api/resources/aggregate/client/requests/index.js +2 -0
- package/dist/api/resources/aggregate/index.d.ts +2 -0
- package/dist/api/resources/aggregate/index.js +18 -0
- package/dist/api/resources/aggregate/types/QueryTimeframe.d.ts +5 -0
- package/dist/api/resources/aggregate/types/QueryTimeframe.js +5 -0
- package/dist/api/resources/aggregate/types/index.d.ts +1 -0
- package/dist/api/resources/aggregate/types/index.js +17 -0
- package/dist/api/resources/body/client/Client.d.ts +20 -6
- package/dist/api/resources/body/client/Client.js +28 -14
- package/dist/api/resources/body/client/requests/index.d.ts +2 -2
- package/dist/api/resources/devices/client/Client.d.ts +14 -5
- package/dist/api/resources/devices/client/Client.js +16 -9
- package/dist/api/resources/devices/client/requests/index.d.ts +1 -1
- package/dist/api/resources/index.d.ts +3 -0
- package/dist/api/resources/index.js +4 -1
- package/dist/api/resources/insurance/client/Client.d.ts +16 -6
- package/dist/api/resources/insurance/client/Client.js +23 -13
- package/dist/api/resources/insurance/client/requests/index.d.ts +2 -2
- package/dist/api/resources/introspect/client/Client.d.ts +16 -6
- package/dist/api/resources/introspect/client/Client.js +22 -12
- package/dist/api/resources/introspect/client/requests/IntrospectGetUserHistoricalPullsRequest.d.ts +1 -1
- package/dist/api/resources/introspect/client/requests/IntrospectGetUserResourcesRequest.d.ts +1 -1
- package/dist/api/resources/introspect/client/requests/index.d.ts +2 -2
- package/dist/api/resources/labTests/client/Client.d.ts +149 -25
- package/dist/api/resources/labTests/client/Client.js +301 -128
- package/dist/api/resources/labTests/client/requests/CreateLabTestRequest.d.ts +1 -1
- package/dist/api/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +26 -2
- package/dist/api/resources/labTests/client/requests/LabTestsGetAreaInfoRequest.d.ts +1 -1
- package/dist/api/resources/labTests/client/requests/LabTestsGetLabelsPdfRequest.d.ts +7 -0
- package/dist/api/resources/labTests/client/requests/LabTestsGetMarkersRequest.d.ts +1 -0
- package/dist/api/resources/labTests/client/requests/LabTestsGetOrderPscInfoRequest.d.ts +1 -1
- package/dist/api/resources/labTests/client/requests/LabTestsGetOrdersRequest.d.ts +1 -1
- package/dist/api/resources/labTests/client/requests/LabTestsGetPscInfoRequest.d.ts +1 -1
- package/dist/api/resources/labTests/client/requests/LabTestsSimulateOrderProcessRequest.d.ts +1 -1
- package/dist/api/resources/labTests/client/requests/RequestAppointmentRequest.d.ts +1 -1
- package/dist/api/resources/labTests/client/requests/index.d.ts +14 -14
- package/dist/api/resources/link/client/Client.d.ts +81 -18
- package/dist/api/resources/link/client/Client.js +162 -79
- package/dist/api/resources/link/client/requests/BeginLinkTokenRequest.d.ts +1 -1
- package/dist/api/resources/link/client/requests/DemoConnectionCreationPayload.d.ts +1 -1
- package/dist/api/resources/link/client/requests/EmailAuthLink.d.ts +1 -1
- package/dist/api/resources/link/client/requests/EmailProviderAuthLink.d.ts +1 -1
- package/dist/api/resources/link/client/requests/IndividualProviderData.d.ts +1 -1
- package/dist/api/resources/link/client/requests/LinkTokenExchange.d.ts +1 -1
- package/dist/api/resources/link/client/requests/PasswordAuthLink.d.ts +1 -1
- package/dist/api/resources/link/client/requests/index.d.ts +14 -14
- package/dist/api/resources/meal/client/Client.d.ts +14 -5
- package/dist/api/resources/meal/client/Client.js +16 -9
- package/dist/api/resources/meal/client/requests/index.d.ts +1 -1
- package/dist/api/resources/menstrualCycle/client/Client.d.ts +13 -5
- package/dist/api/resources/menstrualCycle/client/Client.js +15 -9
- package/dist/api/resources/menstrualCycle/client/requests/index.d.ts +1 -1
- package/dist/api/resources/profile/client/Client.d.ts +20 -6
- package/dist/api/resources/profile/client/Client.js +28 -14
- package/dist/api/resources/profile/client/requests/index.d.ts +2 -2
- package/dist/api/resources/providers/client/Client.d.ts +13 -5
- package/dist/api/resources/providers/client/Client.js +14 -8
- package/dist/api/resources/providers/client/requests/index.d.ts +1 -1
- package/dist/api/resources/sleep/client/Client.d.ts +31 -8
- package/dist/api/resources/sleep/client/Client.js +51 -24
- package/dist/api/resources/sleep/client/requests/index.d.ts +3 -3
- package/dist/api/resources/team/client/Client.d.ts +41 -10
- package/dist/api/resources/team/client/Client.js +72 -31
- package/dist/api/resources/team/client/requests/index.d.ts +3 -3
- package/dist/api/resources/testkit/client/Client.d.ts +51 -4
- package/dist/api/resources/testkit/client/Client.js +59 -12
- package/dist/api/resources/testkit/client/requests/CreateRegistrableTestkitOrderRequest.d.ts +17 -1
- package/dist/api/resources/testkit/client/requests/RegisterTestkitRequest.d.ts +23 -1
- package/dist/api/resources/testkit/client/requests/index.d.ts +2 -2
- package/dist/api/resources/user/client/Client.d.ts +82 -20
- package/dist/api/resources/user/client/Client.js +172 -82
- package/dist/api/resources/user/client/requests/CreateInsuranceRequest.d.ts +1 -1
- package/dist/api/resources/user/client/requests/UserCreateBody.d.ts +8 -0
- package/dist/api/resources/user/client/requests/UserInfoCreateRequest.d.ts +1 -1
- package/dist/api/resources/user/client/requests/UserPatchBody.d.ts +8 -0
- package/dist/api/resources/user/client/requests/index.d.ts +7 -7
- package/dist/api/resources/vitals/client/Client.d.ts +288 -60
- package/dist/api/resources/vitals/client/Client.js +620 -284
- package/dist/api/resources/vitals/client/requests/index.d.ts +56 -56
- package/dist/api/resources/workouts/client/Client.d.ts +24 -7
- package/dist/api/resources/workouts/client/Client.js +38 -19
- package/dist/api/resources/workouts/client/requests/index.d.ts +2 -2
- package/dist/api/types/ActivitySelector.d.ts +7 -0
- package/dist/api/types/ActivitySelector.js +5 -0
- package/dist/api/types/ActivitySelectorActivity.d.ts +24 -0
- package/dist/api/types/ActivitySelectorActivity.js +26 -0
- package/dist/api/types/ActivityV2InDb.d.ts +1 -1
- package/dist/api/types/AddOnOrder.d.ts +7 -0
- package/dist/api/types/AddOnOrder.js +5 -0
- package/dist/api/types/AoE.d.ts +1 -1
- package/dist/api/types/AppointmentAvailabilitySlots.d.ts +1 -1
- package/dist/api/types/AreaInfo.d.ts +1 -1
- package/dist/api/types/BiomarkerResult.d.ts +3 -2
- package/dist/api/types/BodyV2InDb.d.ts +1 -1
- package/dist/api/types/CervicalMucusEntry.d.ts +1 -1
- package/dist/api/types/ClientActivityResponse.d.ts +1 -1
- package/dist/api/types/ClientBodyResponse.d.ts +1 -1
- package/dist/api/types/ClientFacingActivity.d.ts +14 -2
- package/dist/api/types/ClientFacingApiKey.d.ts +2 -2
- package/dist/api/types/ClientFacingAppointment.d.ts +5 -3
- package/dist/api/types/ClientFacingAppointmentEvent.d.ts +2 -2
- package/dist/api/types/ClientFacingAtHomePhlebotomyOrder.d.ts +2 -2
- package/dist/api/types/ClientFacingAtHomePhlebotomyOrderDetails.d.ts +1 -1
- package/dist/api/types/ClientFacingBloodOxygenTimeseries.d.ts +4 -1
- package/dist/api/types/ClientFacingBloodPressureTimeseries.d.ts +4 -1
- package/dist/api/types/ClientFacingBody.d.ts +4 -2
- package/dist/api/types/ClientFacingBodyFatTimeseries.d.ts +4 -1
- package/dist/api/types/ClientFacingBodyTemperatureDeltaSample.d.ts +8 -4
- package/dist/api/types/ClientFacingBodyTemperatureSample.d.ts +8 -4
- package/dist/api/types/ClientFacingBodyWeightTimeseries.d.ts +4 -1
- package/dist/api/types/ClientFacingCaffeineTimeseries.d.ts +6 -3
- package/dist/api/types/ClientFacingCaloriesActiveTimeseries.d.ts +6 -3
- package/dist/api/types/ClientFacingCaloriesBasalTimeseries.d.ts +4 -1
- package/dist/api/types/ClientFacingCarbohydratesSample.d.ts +6 -3
- package/dist/api/types/ClientFacingCholesterolTimeseries.d.ts +4 -1
- package/dist/api/types/ClientFacingDistanceTimeseries.d.ts +6 -3
- package/dist/api/types/ClientFacingElectrocardiogramVoltageTimeseries.d.ts +2 -0
- package/dist/api/types/ClientFacingFloorsClimbedTimeseries.d.ts +4 -1
- package/dist/api/types/ClientFacingFood.d.ts +1 -1
- package/dist/api/types/ClientFacingGlucoseTimeseries.d.ts +4 -1
- package/dist/api/types/ClientFacingGroupedTimeseriesResponseClientFacingBodyTemperatureDeltaSample.d.ts +3 -1
- package/dist/api/types/ClientFacingGroupedTimeseriesResponseClientFacingBodyTemperatureSample.d.ts +3 -1
- package/dist/api/types/ClientFacingGroupedTimeseriesResponseClientFacingCarbohydratesSample.d.ts +3 -1
- package/dist/api/types/ClientFacingGroupedTimeseriesResponseClientFacingInsulinInjectionSample.d.ts +3 -1
- package/dist/api/types/ClientFacingGroupedTimeseriesResponseClientFacingNoteSample.d.ts +3 -1
- package/dist/api/types/ClientFacingGroupedTimeseriesResponseClientFacingWorkoutDurationSample.d.ts +3 -1
- package/dist/api/types/ClientFacingHeartRate.d.ts +4 -0
- package/dist/api/types/ClientFacingHeartRateTimeseries.d.ts +4 -1
- package/dist/api/types/ClientFacingHrvTimeseries.d.ts +4 -1
- package/dist/api/types/ClientFacingHypnogramTimeseries.d.ts +6 -3
- package/dist/api/types/ClientFacingIgeTimeseries.d.ts +4 -1
- package/dist/api/types/ClientFacingIggTimeseries.d.ts +4 -1
- package/dist/api/types/ClientFacingInsulinInjectionSample.d.ts +6 -4
- package/dist/api/types/ClientFacingInsurance.d.ts +1 -1
- package/dist/api/types/ClientFacingLab.d.ts +1 -1
- package/dist/api/types/ClientFacingLabLocation.d.ts +1 -1
- package/dist/api/types/ClientFacingLabTest.d.ts +5 -1
- package/dist/api/types/ClientFacingMarker.d.ts +2 -1
- package/dist/api/types/ClientFacingMarkerComplete.d.ts +2 -1
- package/dist/api/types/ClientFacingMealResponse.d.ts +1 -1
- package/dist/api/types/ClientFacingMindfulnessMinutesTimeseries.d.ts +6 -3
- package/dist/api/types/ClientFacingNoteSample.d.ts +8 -4
- package/dist/api/types/ClientFacingOrder.d.ts +11 -3
- package/dist/api/types/ClientFacingOrderDetails.d.ts +1 -1
- package/dist/api/types/ClientFacingOrderEvent.d.ts +2 -2
- package/dist/api/types/ClientFacingPatientDetailsCompatible.d.ts +1 -1
- package/dist/api/types/ClientFacingPayorSearchResponse.d.ts +1 -1
- package/dist/api/types/ClientFacingProfile.d.ts +1 -1
- package/dist/api/types/ClientFacingProviderDetailed.d.ts +2 -1
- package/dist/api/types/ClientFacingProviderWithStatus.d.ts +1 -1
- package/dist/api/types/ClientFacingRespiratoryRateTimeseries.d.ts +4 -1
- package/dist/api/types/ClientFacingResult.d.ts +1 -1
- package/dist/api/types/ClientFacingShipment.d.ts +7 -0
- package/dist/api/types/ClientFacingSleep.d.ts +16 -4
- package/dist/api/types/ClientFacingSleepStream.d.ts +1 -1
- package/dist/api/types/ClientFacingSource.d.ts +1 -0
- package/dist/api/types/ClientFacingStepsTimeseries.d.ts +6 -3
- package/dist/api/types/ClientFacingStream.d.ts +2 -1
- package/dist/api/types/ClientFacingStressLevelTimeseries.d.ts +4 -1
- package/dist/api/types/ClientFacingTeam.d.ts +1 -1
- package/dist/api/types/ClientFacingTestKitOrderDetails.d.ts +1 -1
- package/dist/api/types/ClientFacingTestkitOrder.d.ts +4 -3
- package/dist/api/types/ClientFacingTimeseriesGroupClientFacingBodyTemperatureDeltaSample.d.ts +1 -1
- package/dist/api/types/ClientFacingTimeseriesGroupClientFacingBodyTemperatureSample.d.ts +1 -1
- package/dist/api/types/ClientFacingTimeseriesGroupClientFacingCarbohydratesSample.d.ts +1 -1
- package/dist/api/types/ClientFacingTimeseriesGroupClientFacingInsulinInjectionSample.d.ts +1 -1
- package/dist/api/types/ClientFacingTimeseriesGroupClientFacingNoteSample.d.ts +1 -1
- package/dist/api/types/ClientFacingTimeseriesGroupClientFacingWorkoutDurationSample.d.ts +1 -1
- package/dist/api/types/ClientFacingUser.d.ts +9 -2
- package/dist/api/types/ClientFacingVo2MaxTimeseries.d.ts +6 -3
- package/dist/api/types/ClientFacingWalkInOrderDetails.d.ts +1 -1
- package/dist/api/types/ClientFacingWalkInTestOrder.d.ts +2 -2
- package/dist/api/types/ClientFacingWaterTimeseries.d.ts +4 -1
- package/dist/api/types/ClientFacingWorkout.d.ts +22 -3
- package/dist/api/types/ClientFacingWorkoutDurationSample.d.ts +8 -4
- package/dist/api/types/ClientSleepResponse.d.ts +1 -1
- package/dist/api/types/ClientWorkoutResponse.d.ts +1 -1
- package/dist/api/types/CompanyDetails.d.ts +1 -1
- package/dist/api/types/ConnectedSourceClientFacing.d.ts +2 -2
- package/dist/api/types/ConnectionStatus.d.ts +1 -1
- package/dist/api/types/Consent.d.ts +1 -1
- package/dist/api/types/ContraceptiveEntry.d.ts +1 -1
- package/dist/api/types/DaySlots.d.ts +1 -1
- package/dist/api/types/DetectedDeviationEntry.d.ts +1 -1
- package/dist/api/types/DeviceV2InDb.d.ts +1 -1
- package/dist/api/types/EventDestinationPreferences.d.ts +1 -1
- package/dist/api/types/FallbackBirthDate.d.ts +1 -1
- package/dist/api/types/FallbackTimeZone.d.ts +1 -1
- package/dist/api/types/Fats.d.ts +6 -0
- package/dist/api/types/GetMarkersResponse.d.ts +1 -1
- package/dist/api/types/GetOrdersResponse.d.ts +1 -1
- package/dist/api/types/GroupedBloodOxygen.d.ts +1 -1
- package/dist/api/types/GroupedBloodOxygenResponse.d.ts +3 -1
- package/dist/api/types/GroupedBloodPressure.d.ts +1 -1
- package/dist/api/types/GroupedBloodPressureResponse.d.ts +3 -1
- package/dist/api/types/GroupedBodyFat.d.ts +1 -1
- package/dist/api/types/GroupedBodyFatResponse.d.ts +3 -1
- package/dist/api/types/GroupedBodyWeight.d.ts +1 -1
- package/dist/api/types/GroupedBodyWeightResponse.d.ts +3 -1
- package/dist/api/types/GroupedCaffeine.d.ts +1 -1
- package/dist/api/types/GroupedCaffeineResponse.d.ts +3 -1
- package/dist/api/types/GroupedCaloriesActive.d.ts +1 -1
- package/dist/api/types/GroupedCaloriesActiveResponse.d.ts +3 -1
- package/dist/api/types/GroupedCaloriesBasal.d.ts +1 -1
- package/dist/api/types/GroupedCaloriesBasalResponse.d.ts +3 -1
- package/dist/api/types/GroupedCholesterol.d.ts +1 -1
- package/dist/api/types/GroupedCholesterolResponse.d.ts +3 -1
- package/dist/api/types/GroupedDistance.d.ts +1 -1
- package/dist/api/types/GroupedDistanceResponse.d.ts +3 -1
- package/dist/api/types/GroupedElectrocardiogramVoltage.d.ts +1 -1
- package/dist/api/types/GroupedElectrocardiogramVoltageResponse.d.ts +3 -1
- package/dist/api/types/GroupedFloorsClimbed.d.ts +1 -1
- package/dist/api/types/GroupedFloorsClimbedResponse.d.ts +3 -1
- package/dist/api/types/GroupedGlucose.d.ts +1 -1
- package/dist/api/types/GroupedGlucoseResponse.d.ts +3 -1
- package/dist/api/types/GroupedHeartRate.d.ts +1 -1
- package/dist/api/types/GroupedHeartRateResponse.d.ts +3 -1
- package/dist/api/types/GroupedHrv.d.ts +1 -1
- package/dist/api/types/GroupedHrvResponse.d.ts +3 -1
- package/dist/api/types/GroupedHypnogram.d.ts +1 -1
- package/dist/api/types/GroupedHypnogramResponse.d.ts +3 -1
- package/dist/api/types/GroupedIge.d.ts +1 -1
- package/dist/api/types/GroupedIgeResponse.d.ts +3 -1
- package/dist/api/types/GroupedIgg.d.ts +1 -1
- package/dist/api/types/GroupedIggResponse.d.ts +3 -1
- package/dist/api/types/GroupedMindfulnessMinutes.d.ts +1 -1
- package/dist/api/types/GroupedMindfulnessMinutesResponse.d.ts +3 -1
- package/dist/api/types/GroupedRespiratoryRate.d.ts +1 -1
- package/dist/api/types/GroupedRespiratoryRateResponse.d.ts +3 -1
- package/dist/api/types/GroupedSteps.d.ts +1 -1
- package/dist/api/types/GroupedStepsResponse.d.ts +3 -1
- package/dist/api/types/GroupedStressLevel.d.ts +1 -1
- package/dist/api/types/GroupedStressLevelResponse.d.ts +3 -1
- package/dist/api/types/GroupedVo2Max.d.ts +1 -1
- package/dist/api/types/GroupedVo2MaxResponse.d.ts +3 -1
- package/dist/api/types/GroupedWater.d.ts +1 -1
- package/dist/api/types/GroupedWaterResponse.d.ts +3 -1
- package/dist/api/types/HealthInsuranceCreateRequest.d.ts +8 -1
- package/dist/api/types/HealthInsuranceCreateRequestBackImage.d.ts +1 -1
- package/dist/api/types/HealthInsuranceCreateRequestFrontImage.d.ts +1 -1
- package/dist/api/types/HealthInsuranceCreateRequestPatientSignatureImage.d.ts +1 -1
- package/dist/api/types/HistoricalPullTimeline.d.ts +3 -3
- package/dist/api/types/HomePregnancyTestEntry.d.ts +1 -1
- package/dist/api/types/HomeProgesteroneTestEntry.d.ts +1 -1
- package/dist/api/types/HttpValidationError.d.ts +1 -1
- package/dist/api/types/LabResultsRaw.d.ts +1 -1
- package/dist/api/types/LabResultsRawResults.d.ts +1 -1
- package/dist/api/types/LastAttempt.d.ts +2 -2
- package/dist/api/types/Macros.d.ts +9 -1
- package/dist/api/types/MealInDbBaseClientFacingSource.d.ts +5 -4
- package/dist/api/types/MenstrualCycle.d.ts +1 -1
- package/dist/api/types/MenstrualCycleResponse.d.ts +1 -1
- package/dist/api/types/MenstrualFlowEntry.d.ts +1 -1
- package/dist/api/types/MetricsResult.d.ts +1 -1
- package/dist/api/types/Micros.d.ts +3 -0
- package/dist/api/types/Minerals.d.ts +44 -0
- package/dist/api/types/Minerals.js +46 -0
- package/dist/api/types/OrderSetRequest.d.ts +8 -0
- package/dist/api/types/OrderSetRequest.js +5 -0
- package/dist/api/types/OvulationTestEntry.d.ts +1 -1
- package/dist/api/types/PaginatedUsersResponse.d.ts +1 -1
- package/dist/api/types/PatientDetails.d.ts +1 -1
- package/dist/api/types/Period.d.ts +8 -0
- package/dist/api/types/Period.js +5 -0
- package/dist/api/types/PeriodUnit.d.ts +12 -0
- package/dist/api/types/PeriodUnit.js +14 -0
- package/dist/api/types/PersonDetailsOutput.d.ts +1 -1
- package/dist/api/types/PhlebotomyAreaInfo.d.ts +1 -1
- package/dist/api/types/PhlebotomyProviderInfo.d.ts +1 -1
- package/dist/api/types/PhysicianCreateRequest.d.ts +1 -1
- package/dist/api/types/PhysicianCreateRequestSignatureImage.d.ts +1 -1
- package/dist/api/types/Placeholder.d.ts +6 -0
- package/dist/api/types/Placeholder.js +5 -0
- package/dist/api/types/PostOrderResponse.d.ts +1 -1
- package/dist/api/types/ProfileInDb.d.ts +1 -1
- package/dist/api/types/ProviderLinkResponse.d.ts +1 -1
- package/dist/api/types/ProviderMfaRequest.d.ts +1 -1
- package/dist/api/types/Providers.d.ts +2 -1
- package/dist/api/types/Providers.js +1 -0
- package/dist/api/types/PscAreaInfo.d.ts +1 -1
- package/dist/api/types/PscInfo.d.ts +1 -1
- package/dist/api/types/QueryConfig.d.ts +8 -0
- package/dist/api/types/QueryConfig.js +5 -0
- package/dist/api/types/QueryConfigProviderPriorityOverridesItem.d.ts +5 -0
- package/dist/api/types/QueryConfigProviderPriorityOverridesItem.js +5 -0
- package/dist/api/types/QueryConfigWeekStartsOn.d.ts +8 -0
- package/dist/api/types/QueryConfigWeekStartsOn.js +10 -0
- package/dist/api/types/QueryInstruction.d.ts +11 -0
- package/dist/api/types/QueryInstruction.js +5 -0
- package/dist/api/types/QueryInstructionPartitionBy.d.ts +5 -0
- package/dist/api/types/QueryInstructionPartitionBy.js +5 -0
- package/dist/api/types/QueryInstructionSelect.d.ts +5 -0
- package/dist/api/types/QueryInstructionSelect.js +5 -0
- package/dist/api/types/Question.d.ts +1 -1
- package/dist/api/types/RawActivity.d.ts +1 -1
- package/dist/api/types/RawBody.d.ts +1 -1
- package/dist/api/types/RawDevices.d.ts +1 -1
- package/dist/api/types/RawProfile.d.ts +1 -1
- package/dist/api/types/RawSleep.d.ts +1 -1
- package/dist/api/types/RawWorkout.d.ts +1 -1
- package/dist/api/types/Reducer.d.ts +7 -0
- package/dist/api/types/Reducer.js +5 -0
- package/dist/api/types/ReducerFunction.d.ts +15 -0
- package/dist/api/types/ReducerFunction.js +17 -0
- package/dist/api/types/RelativeTimeframe.d.ts +9 -0
- package/dist/api/types/RelativeTimeframe.js +5 -0
- package/dist/api/types/ResourceAvailability.d.ts +1 -1
- package/dist/api/types/ScopeRequirementsGrants.d.ts +1 -1
- package/dist/api/types/SingleHistoricalPullStatistics.d.ts +3 -3
- package/dist/api/types/SingleProviderHistoricalPullResponse.d.ts +1 -1
- package/dist/api/types/SingleResourceStatistics.d.ts +3 -3
- package/dist/api/types/SingleUserHistoricalPullResponse.d.ts +1 -1
- package/dist/api/types/SingleUserResourceResponse.d.ts +1 -1
- package/dist/api/types/SleepSelector.d.ts +7 -0
- package/dist/api/types/SleepSelector.js +5 -0
- package/dist/api/types/SleepSelectorSleep.d.ts +30 -0
- package/dist/api/types/SleepSelectorSleep.js +32 -0
- package/dist/api/types/SleepV2InDb.d.ts +1 -1
- package/dist/api/types/Source.d.ts +1 -1
- package/dist/api/types/SourceLink.d.ts +1 -1
- package/dist/api/types/Swizzling.d.ts +36 -0
- package/dist/api/types/Swizzling.js +5 -0
- package/dist/api/types/SwizzlingBinGranularity.d.ts +11 -0
- package/dist/api/types/SwizzlingBinGranularity.js +13 -0
- package/dist/api/types/TeamConfig.d.ts +1 -1
- package/dist/api/types/TimeSlot.d.ts +3 -3
- package/dist/api/types/TimeseriesMetricPoint.d.ts +1 -1
- package/dist/api/types/TraceElements.d.ts +12 -0
- package/dist/api/types/TraceElements.js +14 -0
- package/dist/api/types/UsAddress.d.ts +1 -0
- package/dist/api/types/UserHistoricalPullsResponse.d.ts +2 -1
- package/dist/api/types/UserInfo.d.ts +1 -1
- package/dist/api/types/UserResourcesResponse.d.ts +2 -1
- package/dist/api/types/ValidationError.d.ts +1 -1
- package/dist/api/types/VitalCoreSchemasDbSchemasLabTestHealthInsurancePersonDetails.d.ts +1 -1
- package/dist/api/types/VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails.d.ts +1 -1
- package/dist/api/types/Vitamins.d.ts +19 -0
- package/dist/api/types/Vitamins.js +21 -0
- package/dist/api/types/WorkoutV2InDb.d.ts +1 -1
- package/dist/api/types/index.d.ts +23 -0
- package/dist/api/types/index.js +23 -0
- package/dist/core/fetcher/Fetcher.d.ts +5 -1
- package/dist/core/fetcher/Fetcher.js +29 -94
- package/dist/core/fetcher/createRequestUrl.d.ts +1 -0
- package/dist/core/fetcher/createRequestUrl.js +13 -0
- package/dist/core/fetcher/getFetchFn.d.ts +4 -0
- package/dist/core/fetcher/getFetchFn.js +59 -0
- package/dist/core/fetcher/getRequestBody.d.ts +7 -0
- package/dist/core/fetcher/getRequestBody.js +23 -0
- package/dist/core/fetcher/getResponseBody.d.ts +1 -0
- package/dist/core/fetcher/getResponseBody.js +52 -0
- package/dist/core/fetcher/makeRequest.d.ts +1 -0
- package/dist/core/fetcher/makeRequest.js +42 -0
- package/dist/core/fetcher/requestWithRetries.d.ts +1 -0
- package/dist/core/fetcher/requestWithRetries.js +32 -0
- package/dist/core/fetcher/signals.d.ts +12 -0
- package/dist/core/fetcher/signals.js +37 -0
- package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +30 -0
- package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +247 -0
- package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +22 -0
- package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +124 -0
- package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +31 -0
- package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +229 -0
- package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +18 -0
- package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.js +50 -0
- package/dist/core/runtime/runtime.d.ts +2 -1
- package/dist/core/runtime/runtime.js +12 -1
- package/dist/core/schemas/Schema.d.ts +7 -4
- package/dist/core/schemas/builders/lazy/lazy.d.ts +2 -2
- package/dist/core/schemas/builders/lazy/lazy.js +8 -19
- package/dist/core/schemas/builders/lazy/lazyObject.js +1 -10
- package/dist/core/schemas/builders/list/list.js +31 -44
- package/dist/core/schemas/builders/object/object.js +90 -111
- package/dist/core/schemas/builders/object/types.d.ts +2 -2
- package/dist/core/schemas/builders/object-like/getObjectLikeUtils.js +3 -12
- package/dist/core/schemas/builders/record/record.js +49 -60
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +2 -2
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.js +18 -21
- package/dist/core/schemas/builders/set/set.js +6 -15
- package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +21 -32
- package/dist/core/schemas/builders/union/union.js +51 -62
- package/dist/core/schemas/utils/maybeSkipValidation.js +3 -12
- package/dist/serialization/resources/aggregate/client/index.d.ts +1 -0
- package/dist/serialization/resources/aggregate/client/index.js +17 -0
- package/dist/serialization/resources/aggregate/client/requests/Query.d.ts +17 -0
- package/dist/serialization/resources/aggregate/client/requests/Query.js +38 -0
- package/dist/serialization/resources/aggregate/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/aggregate/client/requests/index.js +5 -0
- package/dist/serialization/resources/aggregate/index.d.ts +2 -0
- package/dist/serialization/resources/aggregate/index.js +18 -0
- package/dist/serialization/resources/aggregate/types/QueryTimeframe.d.ts +12 -0
- package/dist/serialization/resources/aggregate/types/QueryTimeframe.js +33 -0
- package/dist/serialization/resources/aggregate/types/index.d.ts +1 -0
- package/dist/serialization/resources/aggregate/types/index.js +17 -0
- package/dist/serialization/resources/index.d.ts +3 -0
- package/dist/serialization/resources/index.js +4 -1
- package/dist/serialization/resources/insurance/client/requests/PayorSearchRequest.d.ts +2 -2
- package/dist/serialization/resources/insurance/client/searchDiagnosis.d.ts +2 -2
- package/dist/serialization/resources/insurance/client/searchPayorInfo.d.ts +2 -2
- package/dist/serialization/resources/labTests/client/get.d.ts +2 -2
- package/dist/serialization/resources/labTests/client/getLabs.d.ts +2 -2
- package/dist/serialization/resources/labTests/client/getPhlebotomyAppointmentCancellationReason.d.ts +2 -2
- package/dist/serialization/resources/labTests/client/requests/AppointmentBookingRequest.d.ts +2 -2
- package/dist/serialization/resources/labTests/client/requests/AppointmentCancelRequest.d.ts +2 -2
- package/dist/serialization/resources/labTests/client/requests/AppointmentRescheduleRequest.d.ts +2 -2
- package/dist/serialization/resources/labTests/client/requests/CreateLabTestRequest.d.ts +2 -2
- package/dist/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +7 -3
- package/dist/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.js +5 -1
- package/dist/serialization/resources/labTests/client/requests/RequestAppointmentRequest.d.ts +2 -2
- package/dist/serialization/resources/labTests/types/LabTestsGetOrdersRequestOrderDirection.d.ts +2 -2
- package/dist/serialization/resources/labTests/types/LabTestsGetOrdersRequestOrderKey.d.ts +2 -2
- package/dist/serialization/resources/link/client/connectManualProvider.d.ts +1 -1
- package/dist/serialization/resources/link/client/getAllProviders.d.ts +2 -2
- package/dist/serialization/resources/link/client/isTokenValid.d.ts +1 -1
- package/dist/serialization/resources/link/client/requests/BeginLinkTokenRequest.d.ts +2 -2
- package/dist/serialization/resources/link/client/requests/CompletePasswordProviderMfaBody.d.ts +2 -2
- package/dist/serialization/resources/link/client/requests/DemoConnectionCreationPayload.d.ts +2 -2
- package/dist/serialization/resources/link/client/requests/EmailAuthLink.d.ts +2 -2
- package/dist/serialization/resources/link/client/requests/EmailProviderAuthLink.d.ts +2 -2
- package/dist/serialization/resources/link/client/requests/IndividualProviderData.d.ts +2 -2
- package/dist/serialization/resources/link/client/requests/LinkTokenBase.d.ts +2 -2
- package/dist/serialization/resources/link/client/requests/LinkTokenExchange.d.ts +2 -2
- package/dist/serialization/resources/link/client/requests/ManualConnectionData.d.ts +2 -2
- package/dist/serialization/resources/link/client/requests/PasswordAuthLink.d.ts +2 -2
- package/dist/serialization/resources/link/client/startConnect.d.ts +1 -1
- package/dist/serialization/resources/link/client/tokenState.d.ts +1 -1
- package/dist/serialization/resources/providers/client/getAll.d.ts +2 -2
- package/dist/serialization/resources/team/client/getLinkConfig.d.ts +1 -1
- package/dist/serialization/resources/team/client/getPhysicians.d.ts +2 -2
- package/dist/serialization/resources/team/client/getSourcePriorities.d.ts +1 -1
- package/dist/serialization/resources/team/client/getSvixUrl.d.ts +1 -1
- package/dist/serialization/resources/team/client/getUserById.d.ts +2 -2
- package/dist/serialization/resources/team/client/updateSourcePriorities.d.ts +1 -1
- package/dist/serialization/resources/testkit/client/requests/CreateRegistrableTestkitOrderRequest.d.ts +2 -2
- package/dist/serialization/resources/testkit/client/requests/RegisterTestkitRequest.d.ts +2 -2
- package/dist/serialization/resources/user/client/getConnectedProviders.d.ts +2 -2
- package/dist/serialization/resources/user/client/requests/CreateInsuranceRequest.d.ts +2 -2
- package/dist/serialization/resources/user/client/requests/UserCreateBody.d.ts +2 -2
- package/dist/serialization/resources/user/client/requests/UserInfoCreateRequest.d.ts +2 -2
- package/dist/serialization/resources/user/client/requests/UserPatchBody.d.ts +2 -2
- package/dist/serialization/resources/vitals/client/bloodOxygen.d.ts +2 -2
- package/dist/serialization/resources/vitals/client/bloodPressure.d.ts +2 -2
- package/dist/serialization/resources/vitals/client/bodyFat.d.ts +2 -2
- package/dist/serialization/resources/vitals/client/bodyWeight.d.ts +2 -2
- package/dist/serialization/resources/vitals/client/caffeine.d.ts +2 -2
- package/dist/serialization/resources/vitals/client/caloriesActive.d.ts +2 -2
- package/dist/serialization/resources/vitals/client/caloriesBasal.d.ts +2 -2
- package/dist/serialization/resources/vitals/client/cholesterol.d.ts +2 -2
- package/dist/serialization/resources/vitals/client/cholesterolHdl.d.ts +2 -2
- package/dist/serialization/resources/vitals/client/cholesterolLdl.d.ts +2 -2
- package/dist/serialization/resources/vitals/client/cholesterolTotal.d.ts +2 -2
- package/dist/serialization/resources/vitals/client/cholesterolTriglycerides.d.ts +2 -2
- package/dist/serialization/resources/vitals/client/distance.d.ts +2 -2
- package/dist/serialization/resources/vitals/client/electrocardiogramVoltage.d.ts +2 -2
- package/dist/serialization/resources/vitals/client/floorsClimbed.d.ts +2 -2
- package/dist/serialization/resources/vitals/client/glucose.d.ts +2 -2
- package/dist/serialization/resources/vitals/client/heartrate.d.ts +2 -2
- package/dist/serialization/resources/vitals/client/hrv.d.ts +2 -2
- package/dist/serialization/resources/vitals/client/hypnogram.d.ts +2 -2
- package/dist/serialization/resources/vitals/client/ige.d.ts +2 -2
- package/dist/serialization/resources/vitals/client/igg.d.ts +2 -2
- package/dist/serialization/resources/vitals/client/mindfulnessMinutes.d.ts +2 -2
- package/dist/serialization/resources/vitals/client/respiratoryRate.d.ts +2 -2
- package/dist/serialization/resources/vitals/client/steps.d.ts +2 -2
- package/dist/serialization/resources/vitals/client/stressLevel.d.ts +2 -2
- package/dist/serialization/resources/vitals/client/vo2Max.d.ts +2 -2
- package/dist/serialization/resources/vitals/client/water.d.ts +2 -2
- package/dist/serialization/types/ActivitySelector.d.ts +13 -0
- package/dist/serialization/types/ActivitySelector.js +34 -0
- package/dist/serialization/types/ActivitySelectorActivity.d.ts +10 -0
- package/dist/serialization/types/ActivitySelectorActivity.js +50 -0
- package/dist/serialization/types/ActivityV2InDb.d.ts +2 -2
- package/dist/serialization/types/AddOnOrder.d.ts +13 -0
- package/dist/serialization/types/AddOnOrder.js +34 -0
- package/dist/serialization/types/Address.d.ts +2 -2
- package/dist/serialization/types/AllowedRadius.d.ts +2 -2
- package/dist/serialization/types/Answer.d.ts +2 -2
- package/dist/serialization/types/AoE.d.ts +2 -2
- package/dist/serialization/types/AoEAnswer.d.ts +2 -2
- package/dist/serialization/types/AppointmentAvailabilitySlots.d.ts +2 -2
- package/dist/serialization/types/AppointmentEventStatus.d.ts +2 -2
- package/dist/serialization/types/AppointmentProvider.d.ts +2 -2
- package/dist/serialization/types/AppointmentServiceType.d.ts +2 -2
- package/dist/serialization/types/AppointmentStatus.d.ts +2 -2
- package/dist/serialization/types/AppointmentType.d.ts +2 -2
- package/dist/serialization/types/AreaInfo.d.ts +2 -2
- package/dist/serialization/types/AttemptStatus.d.ts +2 -2
- package/dist/serialization/types/AuthType.d.ts +2 -2
- package/dist/serialization/types/Availability.d.ts +2 -2
- package/dist/serialization/types/BasalBodyTemperatureEntry.d.ts +2 -2
- package/dist/serialization/types/Billing.d.ts +2 -2
- package/dist/serialization/types/BiomarkerResult.d.ts +3 -2
- package/dist/serialization/types/BiomarkerResult.js +2 -1
- package/dist/serialization/types/BodyV2InDb.d.ts +2 -2
- package/dist/serialization/types/CervicalMucusEntry.d.ts +2 -2
- package/dist/serialization/types/CervicalMucusEntryQuality.d.ts +2 -2
- package/dist/serialization/types/ClientActivityResponse.d.ts +2 -2
- package/dist/serialization/types/ClientBodyResponse.d.ts +2 -2
- package/dist/serialization/types/ClientFacingActivity.d.ts +2 -2
- package/dist/serialization/types/ClientFacingActivity.js +1 -1
- package/dist/serialization/types/ClientFacingApiKey.d.ts +2 -2
- package/dist/serialization/types/ClientFacingApiKey.js +2 -2
- package/dist/serialization/types/ClientFacingAppointment.d.ts +2 -2
- package/dist/serialization/types/ClientFacingAppointment.js +2 -2
- package/dist/serialization/types/ClientFacingAppointmentCancellationReason.d.ts +2 -2
- package/dist/serialization/types/ClientFacingAppointmentEvent.d.ts +2 -2
- package/dist/serialization/types/ClientFacingAppointmentEvent.js +1 -1
- package/dist/serialization/types/ClientFacingAtHomePhlebotomyOrder.d.ts +2 -2
- package/dist/serialization/types/ClientFacingAtHomePhlebotomyOrder.js +2 -2
- package/dist/serialization/types/ClientFacingAtHomePhlebotomyOrderDetails.d.ts +2 -2
- package/dist/serialization/types/ClientFacingBloodOxygenTimeseries.d.ts +2 -2
- package/dist/serialization/types/ClientFacingBloodOxygenTimeseries.js +1 -1
- package/dist/serialization/types/ClientFacingBloodPressureTimeseries.d.ts +2 -2
- package/dist/serialization/types/ClientFacingBloodPressureTimeseries.js +1 -1
- package/dist/serialization/types/ClientFacingBody.d.ts +2 -2
- package/dist/serialization/types/ClientFacingBody.js +1 -1
- package/dist/serialization/types/ClientFacingBodyFatTimeseries.d.ts +2 -2
- package/dist/serialization/types/ClientFacingBodyFatTimeseries.js +1 -1
- package/dist/serialization/types/ClientFacingBodyTemperatureDeltaSample.d.ts +2 -2
- package/dist/serialization/types/ClientFacingBodyTemperatureDeltaSample.js +3 -3
- package/dist/serialization/types/ClientFacingBodyTemperatureDeltaSampleSensorLocation.d.ts +2 -2
- package/dist/serialization/types/ClientFacingBodyTemperatureSample.d.ts +2 -2
- package/dist/serialization/types/ClientFacingBodyTemperatureSample.js +3 -3
- package/dist/serialization/types/ClientFacingBodyTemperatureSampleSensorLocation.d.ts +2 -2
- package/dist/serialization/types/ClientFacingBodyWeightTimeseries.d.ts +2 -2
- package/dist/serialization/types/ClientFacingBodyWeightTimeseries.js +1 -1
- package/dist/serialization/types/ClientFacingCaffeineTimeseries.d.ts +2 -2
- package/dist/serialization/types/ClientFacingCaffeineTimeseries.js +3 -3
- package/dist/serialization/types/ClientFacingCaloriesActiveTimeseries.d.ts +2 -2
- package/dist/serialization/types/ClientFacingCaloriesActiveTimeseries.js +3 -3
- package/dist/serialization/types/ClientFacingCaloriesBasalTimeseries.d.ts +2 -2
- package/dist/serialization/types/ClientFacingCaloriesBasalTimeseries.js +1 -1
- package/dist/serialization/types/ClientFacingCarbohydratesSample.d.ts +2 -2
- package/dist/serialization/types/ClientFacingCarbohydratesSample.js +3 -3
- package/dist/serialization/types/ClientFacingCholesterolTimeseries.d.ts +2 -2
- package/dist/serialization/types/ClientFacingCholesterolTimeseries.js +1 -1
- package/dist/serialization/types/ClientFacingDiagnosisInformation.d.ts +2 -2
- package/dist/serialization/types/ClientFacingDistanceTimeseries.d.ts +2 -2
- package/dist/serialization/types/ClientFacingDistanceTimeseries.js +3 -3
- package/dist/serialization/types/ClientFacingElectrocardiogramVoltageTimeseries.d.ts +2 -2
- package/dist/serialization/types/ClientFacingFloorsClimbedTimeseries.d.ts +2 -2
- package/dist/serialization/types/ClientFacingFloorsClimbedTimeseries.js +1 -1
- package/dist/serialization/types/ClientFacingFood.d.ts +2 -2
- package/dist/serialization/types/ClientFacingGlucoseTimeseries.d.ts +2 -2
- package/dist/serialization/types/ClientFacingGlucoseTimeseries.js +1 -1
- package/dist/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingBodyTemperatureDeltaSample.d.ts +2 -2
- package/dist/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingBodyTemperatureSample.d.ts +2 -2
- package/dist/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingCarbohydratesSample.d.ts +2 -2
- package/dist/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingInsulinInjectionSample.d.ts +2 -2
- package/dist/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingNoteSample.d.ts +2 -2
- package/dist/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingWorkoutDurationSample.d.ts +2 -2
- package/dist/serialization/types/ClientFacingHeartRate.d.ts +2 -2
- package/dist/serialization/types/ClientFacingHeartRateTimeseries.d.ts +2 -2
- package/dist/serialization/types/ClientFacingHeartRateTimeseries.js +1 -1
- package/dist/serialization/types/ClientFacingHrvTimeseries.d.ts +2 -2
- package/dist/serialization/types/ClientFacingHrvTimeseries.js +1 -1
- package/dist/serialization/types/ClientFacingHypnogramTimeseries.d.ts +2 -2
- package/dist/serialization/types/ClientFacingHypnogramTimeseries.js +3 -3
- package/dist/serialization/types/ClientFacingIgeTimeseries.d.ts +2 -2
- package/dist/serialization/types/ClientFacingIgeTimeseries.js +1 -1
- package/dist/serialization/types/ClientFacingIggTimeseries.d.ts +2 -2
- package/dist/serialization/types/ClientFacingIggTimeseries.js +1 -1
- package/dist/serialization/types/ClientFacingInsulinInjectionSample.d.ts +2 -2
- package/dist/serialization/types/ClientFacingInsulinInjectionSample.js +3 -3
- package/dist/serialization/types/ClientFacingInsulinInjectionSampleType.d.ts +2 -2
- package/dist/serialization/types/ClientFacingInsurance.d.ts +2 -2
- package/dist/serialization/types/ClientFacingLab.d.ts +2 -2
- package/dist/serialization/types/ClientFacingLabLocation.d.ts +2 -2
- package/dist/serialization/types/ClientFacingLabTest.d.ts +3 -2
- package/dist/serialization/types/ClientFacingLabTest.js +1 -0
- package/dist/serialization/types/ClientFacingLabs.d.ts +2 -2
- package/dist/serialization/types/ClientFacingLoinc.d.ts +2 -2
- package/dist/serialization/types/ClientFacingMarker.d.ts +3 -2
- package/dist/serialization/types/ClientFacingMarker.js +1 -0
- package/dist/serialization/types/ClientFacingMarkerComplete.d.ts +3 -2
- package/dist/serialization/types/ClientFacingMarkerComplete.js +1 -0
- package/dist/serialization/types/ClientFacingMealResponse.d.ts +2 -2
- package/dist/serialization/types/ClientFacingMindfulnessMinutesTimeseries.d.ts +2 -2
- package/dist/serialization/types/ClientFacingMindfulnessMinutesTimeseries.js +3 -3
- package/dist/serialization/types/ClientFacingNoteSample.d.ts +2 -2
- package/dist/serialization/types/ClientFacingNoteSample.js +3 -3
- package/dist/serialization/types/ClientFacingNoteSampleTagsItem.d.ts +2 -2
- package/dist/serialization/types/ClientFacingOrder.d.ts +2 -2
- package/dist/serialization/types/ClientFacingOrder.js +2 -2
- package/dist/serialization/types/ClientFacingOrderDetails.d.ts +2 -2
- package/dist/serialization/types/ClientFacingOrderEvent.d.ts +2 -2
- package/dist/serialization/types/ClientFacingOrderEvent.js +1 -1
- package/dist/serialization/types/ClientFacingPatientDetailsCompatible.d.ts +2 -2
- package/dist/serialization/types/ClientFacingPatientDetailsCompatible.js +1 -1
- package/dist/serialization/types/ClientFacingPayorSearchResponse.d.ts +2 -2
- package/dist/serialization/types/ClientFacingPhysician.d.ts +2 -2
- package/dist/serialization/types/ClientFacingProfile.d.ts +2 -2
- package/dist/serialization/types/ClientFacingProvider.d.ts +2 -2
- package/dist/serialization/types/ClientFacingProviderDetailed.d.ts +2 -2
- package/dist/serialization/types/ClientFacingProviderWithStatus.d.ts +2 -2
- package/dist/serialization/types/ClientFacingResource.d.ts +2 -2
- package/dist/serialization/types/ClientFacingRespiratoryRateTimeseries.d.ts +2 -2
- package/dist/serialization/types/ClientFacingRespiratoryRateTimeseries.js +1 -1
- package/dist/serialization/types/ClientFacingResult.d.ts +2 -2
- package/dist/serialization/types/ClientFacingSampleGroupingKeys.d.ts +2 -2
- package/dist/serialization/types/ClientFacingShipment.d.ts +2 -2
- package/dist/serialization/types/ClientFacingSleep.d.ts +2 -2
- package/dist/serialization/types/ClientFacingSleep.js +3 -3
- package/dist/serialization/types/ClientFacingSleepStream.d.ts +2 -2
- package/dist/serialization/types/ClientFacingSource.d.ts +2 -2
- package/dist/serialization/types/ClientFacingSport.d.ts +2 -2
- package/dist/serialization/types/ClientFacingStepsTimeseries.d.ts +2 -2
- package/dist/serialization/types/ClientFacingStepsTimeseries.js +3 -3
- package/dist/serialization/types/ClientFacingStream.d.ts +2 -2
- package/dist/serialization/types/ClientFacingStreamAltitude.d.ts +2 -2
- package/dist/serialization/types/ClientFacingStreamCadence.d.ts +2 -2
- package/dist/serialization/types/ClientFacingStreamDistance.d.ts +2 -2
- package/dist/serialization/types/ClientFacingStreamHeartrate.d.ts +2 -2
- package/dist/serialization/types/ClientFacingStreamLat.d.ts +2 -2
- package/dist/serialization/types/ClientFacingStreamLng.d.ts +2 -2
- package/dist/serialization/types/ClientFacingStreamPower.d.ts +2 -2
- package/dist/serialization/types/ClientFacingStreamResistance.d.ts +2 -2
- package/dist/serialization/types/ClientFacingStreamTemperature.d.ts +2 -2
- package/dist/serialization/types/ClientFacingStreamVelocitySmooth.d.ts +2 -2
- package/dist/serialization/types/ClientFacingStressLevelTimeseries.d.ts +2 -2
- package/dist/serialization/types/ClientFacingStressLevelTimeseries.js +1 -1
- package/dist/serialization/types/ClientFacingTeam.d.ts +2 -2
- package/dist/serialization/types/ClientFacingTestKitOrderDetails.d.ts +2 -2
- package/dist/serialization/types/ClientFacingTestkitOrder.d.ts +2 -2
- package/dist/serialization/types/ClientFacingTestkitOrder.js +2 -2
- package/dist/serialization/types/ClientFacingTimeseriesGroupClientFacingBodyTemperatureDeltaSample.d.ts +2 -2
- package/dist/serialization/types/ClientFacingTimeseriesGroupClientFacingBodyTemperatureSample.d.ts +2 -2
- package/dist/serialization/types/ClientFacingTimeseriesGroupClientFacingCarbohydratesSample.d.ts +2 -2
- package/dist/serialization/types/ClientFacingTimeseriesGroupClientFacingInsulinInjectionSample.d.ts +2 -2
- package/dist/serialization/types/ClientFacingTimeseriesGroupClientFacingNoteSample.d.ts +2 -2
- package/dist/serialization/types/ClientFacingTimeseriesGroupClientFacingWorkoutDurationSample.d.ts +2 -2
- package/dist/serialization/types/ClientFacingUser.d.ts +2 -2
- package/dist/serialization/types/ClientFacingUser.js +1 -1
- package/dist/serialization/types/ClientFacingUserKey.d.ts +2 -2
- package/dist/serialization/types/ClientFacingVo2MaxTimeseries.d.ts +2 -2
- package/dist/serialization/types/ClientFacingVo2MaxTimeseries.js +3 -3
- package/dist/serialization/types/ClientFacingWalkInOrderDetails.d.ts +2 -2
- package/dist/serialization/types/ClientFacingWalkInTestOrder.d.ts +2 -2
- package/dist/serialization/types/ClientFacingWalkInTestOrder.js +2 -2
- package/dist/serialization/types/ClientFacingWaterTimeseries.d.ts +2 -2
- package/dist/serialization/types/ClientFacingWaterTimeseries.js +1 -1
- package/dist/serialization/types/ClientFacingWorkout.d.ts +2 -2
- package/dist/serialization/types/ClientFacingWorkout.js +2 -2
- package/dist/serialization/types/ClientFacingWorkoutDurationSample.d.ts +2 -2
- package/dist/serialization/types/ClientFacingWorkoutDurationSample.js +3 -3
- package/dist/serialization/types/ClientFacingWorkoutDurationSampleIntensity.d.ts +2 -2
- package/dist/serialization/types/ClientSleepResponse.d.ts +2 -2
- package/dist/serialization/types/ClientUserIdConflict.d.ts +2 -2
- package/dist/serialization/types/ClientWorkoutResponse.d.ts +2 -2
- package/dist/serialization/types/CompanyDetails.d.ts +2 -2
- package/dist/serialization/types/ConnectedSourceClientFacing.d.ts +2 -2
- package/dist/serialization/types/ConnectedSourceClientFacing.js +1 -1
- package/dist/serialization/types/ConnectionStatus.d.ts +2 -2
- package/dist/serialization/types/ConnectionStatusState.d.ts +2 -2
- package/dist/serialization/types/Consent.d.ts +2 -2
- package/dist/serialization/types/ConsentType.d.ts +2 -2
- package/dist/serialization/types/ContraceptiveEntry.d.ts +2 -2
- package/dist/serialization/types/ContraceptiveEntryType.d.ts +2 -2
- package/dist/serialization/types/DaySlots.d.ts +2 -2
- package/dist/serialization/types/DelegatedFlowType.d.ts +2 -2
- package/dist/serialization/types/DemoConnectionStatus.d.ts +2 -2
- package/dist/serialization/types/DemoProviders.d.ts +2 -2
- package/dist/serialization/types/DetectedDeviationEntry.d.ts +2 -2
- package/dist/serialization/types/DetectedDeviationEntryDeviation.d.ts +2 -2
- package/dist/serialization/types/DeviceV2InDb.d.ts +2 -2
- package/dist/serialization/types/EmailProviders.d.ts +2 -2
- package/dist/serialization/types/Energy.d.ts +2 -2
- package/dist/serialization/types/EventDestinationPreferences.d.ts +2 -2
- package/dist/serialization/types/EventDestinationPreferencesEnabledItem.d.ts +2 -2
- package/dist/serialization/types/EventDestinationPreferencesPreferred.d.ts +2 -2
- package/dist/serialization/types/FallbackBirthDate.d.ts +2 -2
- package/dist/serialization/types/FallbackBirthDate.js +1 -1
- package/dist/serialization/types/FallbackTimeZone.d.ts +2 -2
- package/dist/serialization/types/FallbackTimeZone.js +1 -1
- package/dist/serialization/types/Fats.d.ts +2 -2
- package/dist/serialization/types/Gender.d.ts +2 -2
- package/dist/serialization/types/GetMarkersResponse.d.ts +2 -2
- package/dist/serialization/types/GetOrdersResponse.d.ts +2 -2
- package/dist/serialization/types/GroupedBloodOxygen.d.ts +2 -2
- package/dist/serialization/types/GroupedBloodOxygenResponse.d.ts +2 -2
- package/dist/serialization/types/GroupedBloodPressure.d.ts +2 -2
- package/dist/serialization/types/GroupedBloodPressureResponse.d.ts +2 -2
- package/dist/serialization/types/GroupedBodyFat.d.ts +2 -2
- package/dist/serialization/types/GroupedBodyFatResponse.d.ts +2 -2
- package/dist/serialization/types/GroupedBodyWeight.d.ts +2 -2
- package/dist/serialization/types/GroupedBodyWeightResponse.d.ts +2 -2
- package/dist/serialization/types/GroupedCaffeine.d.ts +2 -2
- package/dist/serialization/types/GroupedCaffeineResponse.d.ts +2 -2
- package/dist/serialization/types/GroupedCaloriesActive.d.ts +2 -2
- package/dist/serialization/types/GroupedCaloriesActiveResponse.d.ts +2 -2
- package/dist/serialization/types/GroupedCaloriesBasal.d.ts +2 -2
- package/dist/serialization/types/GroupedCaloriesBasalResponse.d.ts +2 -2
- package/dist/serialization/types/GroupedCholesterol.d.ts +2 -2
- package/dist/serialization/types/GroupedCholesterolResponse.d.ts +2 -2
- package/dist/serialization/types/GroupedDistance.d.ts +2 -2
- package/dist/serialization/types/GroupedDistanceResponse.d.ts +2 -2
- package/dist/serialization/types/GroupedElectrocardiogramVoltage.d.ts +2 -2
- package/dist/serialization/types/GroupedElectrocardiogramVoltageResponse.d.ts +2 -2
- package/dist/serialization/types/GroupedFloorsClimbed.d.ts +2 -2
- package/dist/serialization/types/GroupedFloorsClimbedResponse.d.ts +2 -2
- package/dist/serialization/types/GroupedGlucose.d.ts +2 -2
- package/dist/serialization/types/GroupedGlucoseResponse.d.ts +2 -2
- package/dist/serialization/types/GroupedHeartRate.d.ts +2 -2
- package/dist/serialization/types/GroupedHeartRateResponse.d.ts +2 -2
- package/dist/serialization/types/GroupedHrv.d.ts +2 -2
- package/dist/serialization/types/GroupedHrvResponse.d.ts +2 -2
- package/dist/serialization/types/GroupedHypnogram.d.ts +2 -2
- package/dist/serialization/types/GroupedHypnogramResponse.d.ts +2 -2
- package/dist/serialization/types/GroupedIge.d.ts +2 -2
- package/dist/serialization/types/GroupedIgeResponse.d.ts +2 -2
- package/dist/serialization/types/GroupedIgg.d.ts +2 -2
- package/dist/serialization/types/GroupedIggResponse.d.ts +2 -2
- package/dist/serialization/types/GroupedMindfulnessMinutes.d.ts +2 -2
- package/dist/serialization/types/GroupedMindfulnessMinutesResponse.d.ts +2 -2
- package/dist/serialization/types/GroupedRespiratoryRate.d.ts +2 -2
- package/dist/serialization/types/GroupedRespiratoryRateResponse.d.ts +2 -2
- package/dist/serialization/types/GroupedSteps.d.ts +2 -2
- package/dist/serialization/types/GroupedStepsResponse.d.ts +2 -2
- package/dist/serialization/types/GroupedStressLevel.d.ts +2 -2
- package/dist/serialization/types/GroupedStressLevelResponse.d.ts +2 -2
- package/dist/serialization/types/GroupedVo2Max.d.ts +2 -2
- package/dist/serialization/types/GroupedVo2MaxResponse.d.ts +2 -2
- package/dist/serialization/types/GroupedWater.d.ts +2 -2
- package/dist/serialization/types/GroupedWaterResponse.d.ts +2 -2
- package/dist/serialization/types/HealthInsuranceCreateRequest.d.ts +2 -2
- package/dist/serialization/types/HealthInsuranceCreateRequestBackImage.d.ts +2 -2
- package/dist/serialization/types/HealthInsuranceCreateRequestFrontImage.d.ts +2 -2
- package/dist/serialization/types/HealthInsuranceCreateRequestPatientSignatureImage.d.ts +2 -2
- package/dist/serialization/types/HistoricalPullStatus.d.ts +2 -2
- package/dist/serialization/types/HistoricalPullTimeline.d.ts +2 -2
- package/dist/serialization/types/HistoricalPullTimeline.js +3 -3
- package/dist/serialization/types/HomePregnancyTestEntry.d.ts +2 -2
- package/dist/serialization/types/HomePregnancyTestEntryTestResult.d.ts +2 -2
- package/dist/serialization/types/HomeProgesteroneTestEntry.d.ts +2 -2
- package/dist/serialization/types/HomeProgesteroneTestEntryTestResult.d.ts +2 -2
- package/dist/serialization/types/HttpValidationError.d.ts +2 -2
- package/dist/serialization/types/IntermenstrualBleedingEntry.d.ts +2 -2
- package/dist/serialization/types/Jpeg.d.ts +2 -2
- package/dist/serialization/types/LabLocationMetadata.d.ts +2 -2
- package/dist/serialization/types/LabResultsMetadata.d.ts +2 -2
- package/dist/serialization/types/LabResultsRaw.d.ts +2 -2
- package/dist/serialization/types/LabResultsRawResults.d.ts +2 -2
- package/dist/serialization/types/LabTestCollectionMethod.d.ts +2 -2
- package/dist/serialization/types/LabTestSampleType.d.ts +2 -2
- package/dist/serialization/types/LabTestStatus.d.ts +2 -2
- package/dist/serialization/types/Labs.d.ts +2 -2
- package/dist/serialization/types/LastAttempt.d.ts +2 -2
- package/dist/serialization/types/LastAttempt.js +1 -1
- package/dist/serialization/types/LibreConfig.d.ts +2 -2
- package/dist/serialization/types/LinkTokenExchangeResponse.d.ts +2 -2
- package/dist/serialization/types/LngLat.d.ts +2 -2
- package/dist/serialization/types/Macros.d.ts +3 -2
- package/dist/serialization/types/Macros.js +1 -0
- package/dist/serialization/types/ManualProviders.d.ts +2 -2
- package/dist/serialization/types/MarkerType.d.ts +2 -2
- package/dist/serialization/types/MealInDbBaseClientFacingSource.d.ts +3 -2
- package/dist/serialization/types/MealInDbBaseClientFacingSource.js +4 -3
- package/dist/serialization/types/MenstrualCycle.d.ts +2 -2
- package/dist/serialization/types/MenstrualCycleResponse.d.ts +2 -2
- package/dist/serialization/types/MenstrualFlowEntry.d.ts +2 -2
- package/dist/serialization/types/MenstrualFlowEntryFlow.d.ts +2 -2
- package/dist/serialization/types/MetricsResult.d.ts +2 -2
- package/dist/serialization/types/Micros.d.ts +2 -2
- package/dist/serialization/types/Minerals.d.ts +10 -0
- package/dist/serialization/types/Minerals.js +70 -0
- package/dist/serialization/types/OAuthProviders.d.ts +2 -2
- package/dist/serialization/types/OrderSetRequest.d.ts +14 -0
- package/dist/serialization/types/OrderSetRequest.js +35 -0
- package/dist/serialization/types/OrderStatus.d.ts +2 -2
- package/dist/serialization/types/OrderTopLevelStatus.d.ts +2 -2
- package/dist/serialization/types/OvulationTestEntry.d.ts +2 -2
- package/dist/serialization/types/OvulationTestEntryTestResult.d.ts +2 -2
- package/dist/serialization/types/PaginatedUsersResponse.d.ts +2 -2
- package/dist/serialization/types/PasswordProviders.d.ts +2 -2
- package/dist/serialization/types/PatientAddressCompatible.d.ts +2 -2
- package/dist/serialization/types/PatientDetails.d.ts +2 -2
- package/dist/serialization/types/Period.d.ts +14 -0
- package/dist/serialization/types/Period.js +35 -0
- package/dist/serialization/types/PeriodUnit.d.ts +10 -0
- package/dist/serialization/types/PeriodUnit.js +31 -0
- package/dist/serialization/types/PersonDetailsOutput.d.ts +2 -2
- package/dist/serialization/types/PhlebotomyAreaInfo.d.ts +2 -2
- package/dist/serialization/types/PhlebotomyProviderInfo.d.ts +2 -2
- package/dist/serialization/types/PhysicianCreateRequest.d.ts +2 -2
- package/dist/serialization/types/PhysicianCreateRequestBase.d.ts +2 -2
- package/dist/serialization/types/PhysicianCreateRequestSignatureImage.d.ts +2 -2
- package/dist/serialization/types/Placeholder.d.ts +12 -0
- package/dist/serialization/types/Placeholder.js +33 -0
- package/dist/serialization/types/Png.d.ts +2 -2
- package/dist/serialization/types/PostOrderResponse.d.ts +2 -2
- package/dist/serialization/types/ProfileInDb.d.ts +2 -2
- package/dist/serialization/types/ProviderLinkResponse.d.ts +2 -2
- package/dist/serialization/types/ProviderLinkResponseState.d.ts +2 -2
- package/dist/serialization/types/ProviderMfaRequest.d.ts +2 -2
- package/dist/serialization/types/ProviderMfaRequestMethod.d.ts +2 -2
- package/dist/serialization/types/Providers.d.ts +3 -3
- package/dist/serialization/types/Providers.js +1 -0
- package/dist/serialization/types/PscAreaInfo.d.ts +2 -2
- package/dist/serialization/types/PscAreaInfoDetails.d.ts +2 -2
- package/dist/serialization/types/PscInfo.d.ts +2 -2
- package/dist/serialization/types/QueryConfig.d.ts +15 -0
- package/dist/serialization/types/QueryConfig.js +36 -0
- package/dist/serialization/types/QueryConfigProviderPriorityOverridesItem.d.ts +12 -0
- package/dist/serialization/types/QueryConfigProviderPriorityOverridesItem.js +33 -0
- package/dist/serialization/types/QueryConfigWeekStartsOn.d.ts +10 -0
- package/dist/serialization/types/QueryConfigWeekStartsOn.js +31 -0
- package/dist/serialization/types/QueryInstruction.d.ts +20 -0
- package/dist/serialization/types/QueryInstruction.js +41 -0
- package/dist/serialization/types/QueryInstructionPartitionBy.d.ts +12 -0
- package/dist/serialization/types/QueryInstructionPartitionBy.js +33 -0
- package/dist/serialization/types/QueryInstructionSelect.d.ts +12 -0
- package/dist/serialization/types/QueryInstructionSelect.js +33 -0
- package/dist/serialization/types/Question.d.ts +2 -2
- package/dist/serialization/types/QuestionType.d.ts +2 -2
- package/dist/serialization/types/RawActivity.d.ts +2 -2
- package/dist/serialization/types/RawBody.d.ts +2 -2
- package/dist/serialization/types/RawDevices.d.ts +2 -2
- package/dist/serialization/types/RawProfile.d.ts +2 -2
- package/dist/serialization/types/RawSleep.d.ts +2 -2
- package/dist/serialization/types/RawWorkout.d.ts +2 -2
- package/dist/serialization/types/Reducer.d.ts +13 -0
- package/dist/serialization/types/Reducer.js +34 -0
- package/dist/serialization/types/ReducerFunction.d.ts +10 -0
- package/dist/serialization/types/ReducerFunction.js +31 -0
- package/dist/serialization/types/Region.d.ts +2 -2
- package/dist/serialization/types/RelativeTimeframe.d.ts +15 -0
- package/dist/serialization/types/RelativeTimeframe.js +36 -0
- package/dist/serialization/types/ResourceAvailability.d.ts +2 -2
- package/dist/serialization/types/ResponsibleRelationship.d.ts +2 -2
- package/dist/serialization/types/ResultType.d.ts +2 -2
- package/dist/serialization/types/ScopeRequirementsGrants.d.ts +2 -2
- package/dist/serialization/types/ScopeRequirementsStr.d.ts +2 -2
- package/dist/serialization/types/SexualActivityEntry.d.ts +2 -2
- package/dist/serialization/types/ShippingAddress.d.ts +2 -2
- package/dist/serialization/types/SingleHistoricalPullStatistics.d.ts +2 -2
- package/dist/serialization/types/SingleHistoricalPullStatistics.js +2 -2
- package/dist/serialization/types/SingleProviderHistoricalPullResponse.d.ts +2 -2
- package/dist/serialization/types/SingleResourceStatistics.d.ts +2 -2
- package/dist/serialization/types/SingleResourceStatistics.js +2 -2
- package/dist/serialization/types/SingleUserHistoricalPullResponse.d.ts +2 -2
- package/dist/serialization/types/SingleUserResourceResponse.d.ts +2 -2
- package/dist/serialization/types/SleepSelector.d.ts +13 -0
- package/dist/serialization/types/SleepSelector.js +34 -0
- package/dist/serialization/types/SleepSelectorSleep.d.ts +10 -0
- package/dist/serialization/types/SleepSelectorSleep.js +56 -0
- package/dist/serialization/types/SleepSummaryState.d.ts +2 -2
- package/dist/serialization/types/SleepV2InDb.d.ts +2 -2
- package/dist/serialization/types/Source.d.ts +2 -2
- package/dist/serialization/types/SourceAuthType.d.ts +2 -2
- package/dist/serialization/types/SourceLink.d.ts +2 -2
- package/dist/serialization/types/SourceType.d.ts +2 -2
- package/dist/serialization/types/Swizzling.d.ts +16 -0
- package/dist/serialization/types/Swizzling.js +37 -0
- package/dist/serialization/types/SwizzlingBinGranularity.d.ts +10 -0
- package/dist/serialization/types/SwizzlingBinGranularity.js +31 -0
- package/dist/serialization/types/TeamConfig.d.ts +2 -2
- package/dist/serialization/types/TimeSlot.d.ts +2 -2
- package/dist/serialization/types/TimeSlot.js +3 -3
- package/dist/serialization/types/TimeseriesMetricPoint.d.ts +2 -2
- package/dist/serialization/types/TimeseriesMetricPoint.js +1 -1
- package/dist/serialization/types/TimeseriesResource.d.ts +2 -2
- package/dist/serialization/types/TraceElements.d.ts +10 -0
- package/dist/serialization/types/TraceElements.js +31 -0
- package/dist/serialization/types/UsAddress.d.ts +2 -2
- package/dist/serialization/types/UserHistoricalPullsResponse.d.ts +2 -2
- package/dist/serialization/types/UserInfo.d.ts +2 -2
- package/dist/serialization/types/UserRefreshErrorResponse.d.ts +2 -2
- package/dist/serialization/types/UserRefreshSuccessResponse.d.ts +2 -2
- package/dist/serialization/types/UserResourcesResponse.d.ts +2 -2
- package/dist/serialization/types/UserSignInTokenResponse.d.ts +2 -2
- package/dist/serialization/types/UserSuccessResponse.d.ts +2 -2
- package/dist/serialization/types/ValidationError.d.ts +2 -2
- package/dist/serialization/types/ValidationErrorLocItem.d.ts +2 -2
- package/dist/serialization/types/VitalCoreSchemasDbSchemasLabTestHealthInsurancePersonDetails.d.ts +2 -2
- package/dist/serialization/types/VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails.d.ts +2 -2
- package/dist/serialization/types/VitalTokenCreatedResponse.d.ts +2 -2
- package/dist/serialization/types/Vitamins.d.ts +10 -0
- package/dist/serialization/types/Vitamins.js +45 -0
- package/dist/serialization/types/WorkoutV2InDb.d.ts +2 -2
- package/dist/serialization/types/index.d.ts +23 -0
- package/dist/serialization/types/index.js +23 -0
- package/jest.config.js +2 -2
- package/package.json +20 -8
- package/reference.md +8883 -0
- package/serialization/resources/aggregate/client/index.d.ts +1 -0
- package/serialization/resources/aggregate/client/index.js +17 -0
- package/serialization/resources/aggregate/client/requests/Query.d.ts +17 -0
- package/serialization/resources/aggregate/client/requests/Query.js +38 -0
- package/serialization/resources/aggregate/client/requests/index.d.ts +1 -0
- package/serialization/resources/aggregate/client/requests/index.js +5 -0
- package/serialization/resources/aggregate/index.d.ts +2 -0
- package/serialization/resources/aggregate/index.js +18 -0
- package/serialization/resources/aggregate/types/QueryTimeframe.d.ts +12 -0
- package/serialization/resources/aggregate/types/QueryTimeframe.js +33 -0
- package/serialization/resources/aggregate/types/index.d.ts +1 -0
- package/serialization/resources/aggregate/types/index.js +17 -0
- package/serialization/resources/index.d.ts +3 -0
- package/serialization/resources/index.js +4 -1
- package/serialization/resources/insurance/client/requests/PayorSearchRequest.d.ts +2 -2
- package/serialization/resources/insurance/client/searchDiagnosis.d.ts +2 -2
- package/serialization/resources/insurance/client/searchPayorInfo.d.ts +2 -2
- package/serialization/resources/labTests/client/get.d.ts +2 -2
- package/serialization/resources/labTests/client/getLabs.d.ts +2 -2
- package/serialization/resources/labTests/client/getPhlebotomyAppointmentCancellationReason.d.ts +2 -2
- package/serialization/resources/labTests/client/requests/AppointmentBookingRequest.d.ts +2 -2
- package/serialization/resources/labTests/client/requests/AppointmentCancelRequest.d.ts +2 -2
- package/serialization/resources/labTests/client/requests/AppointmentRescheduleRequest.d.ts +2 -2
- package/serialization/resources/labTests/client/requests/CreateLabTestRequest.d.ts +2 -2
- package/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +7 -3
- package/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.js +5 -1
- package/serialization/resources/labTests/client/requests/RequestAppointmentRequest.d.ts +2 -2
- package/serialization/resources/labTests/types/LabTestsGetOrdersRequestOrderDirection.d.ts +2 -2
- package/serialization/resources/labTests/types/LabTestsGetOrdersRequestOrderKey.d.ts +2 -2
- package/serialization/resources/link/client/connectManualProvider.d.ts +1 -1
- package/serialization/resources/link/client/getAllProviders.d.ts +2 -2
- package/serialization/resources/link/client/isTokenValid.d.ts +1 -1
- package/serialization/resources/link/client/requests/BeginLinkTokenRequest.d.ts +2 -2
- package/serialization/resources/link/client/requests/CompletePasswordProviderMfaBody.d.ts +2 -2
- package/serialization/resources/link/client/requests/DemoConnectionCreationPayload.d.ts +2 -2
- package/serialization/resources/link/client/requests/EmailAuthLink.d.ts +2 -2
- package/serialization/resources/link/client/requests/EmailProviderAuthLink.d.ts +2 -2
- package/serialization/resources/link/client/requests/IndividualProviderData.d.ts +2 -2
- package/serialization/resources/link/client/requests/LinkTokenBase.d.ts +2 -2
- package/serialization/resources/link/client/requests/LinkTokenExchange.d.ts +2 -2
- package/serialization/resources/link/client/requests/ManualConnectionData.d.ts +2 -2
- package/serialization/resources/link/client/requests/PasswordAuthLink.d.ts +2 -2
- package/serialization/resources/link/client/startConnect.d.ts +1 -1
- package/serialization/resources/link/client/tokenState.d.ts +1 -1
- package/serialization/resources/providers/client/getAll.d.ts +2 -2
- package/serialization/resources/team/client/getLinkConfig.d.ts +1 -1
- package/serialization/resources/team/client/getPhysicians.d.ts +2 -2
- package/serialization/resources/team/client/getSourcePriorities.d.ts +1 -1
- package/serialization/resources/team/client/getSvixUrl.d.ts +1 -1
- package/serialization/resources/team/client/getUserById.d.ts +2 -2
- package/serialization/resources/team/client/updateSourcePriorities.d.ts +1 -1
- package/serialization/resources/testkit/client/requests/CreateRegistrableTestkitOrderRequest.d.ts +2 -2
- package/serialization/resources/testkit/client/requests/RegisterTestkitRequest.d.ts +2 -2
- package/serialization/resources/user/client/getConnectedProviders.d.ts +2 -2
- package/serialization/resources/user/client/requests/CreateInsuranceRequest.d.ts +2 -2
- package/serialization/resources/user/client/requests/UserCreateBody.d.ts +2 -2
- package/serialization/resources/user/client/requests/UserInfoCreateRequest.d.ts +2 -2
- package/serialization/resources/user/client/requests/UserPatchBody.d.ts +2 -2
- package/serialization/resources/vitals/client/bloodOxygen.d.ts +2 -2
- package/serialization/resources/vitals/client/bloodPressure.d.ts +2 -2
- package/serialization/resources/vitals/client/bodyFat.d.ts +2 -2
- package/serialization/resources/vitals/client/bodyWeight.d.ts +2 -2
- package/serialization/resources/vitals/client/caffeine.d.ts +2 -2
- package/serialization/resources/vitals/client/caloriesActive.d.ts +2 -2
- package/serialization/resources/vitals/client/caloriesBasal.d.ts +2 -2
- package/serialization/resources/vitals/client/cholesterol.d.ts +2 -2
- package/serialization/resources/vitals/client/cholesterolHdl.d.ts +2 -2
- package/serialization/resources/vitals/client/cholesterolLdl.d.ts +2 -2
- package/serialization/resources/vitals/client/cholesterolTotal.d.ts +2 -2
- package/serialization/resources/vitals/client/cholesterolTriglycerides.d.ts +2 -2
- package/serialization/resources/vitals/client/distance.d.ts +2 -2
- package/serialization/resources/vitals/client/electrocardiogramVoltage.d.ts +2 -2
- package/serialization/resources/vitals/client/floorsClimbed.d.ts +2 -2
- package/serialization/resources/vitals/client/glucose.d.ts +2 -2
- package/serialization/resources/vitals/client/heartrate.d.ts +2 -2
- package/serialization/resources/vitals/client/hrv.d.ts +2 -2
- package/serialization/resources/vitals/client/hypnogram.d.ts +2 -2
- package/serialization/resources/vitals/client/ige.d.ts +2 -2
- package/serialization/resources/vitals/client/igg.d.ts +2 -2
- package/serialization/resources/vitals/client/mindfulnessMinutes.d.ts +2 -2
- package/serialization/resources/vitals/client/respiratoryRate.d.ts +2 -2
- package/serialization/resources/vitals/client/steps.d.ts +2 -2
- package/serialization/resources/vitals/client/stressLevel.d.ts +2 -2
- package/serialization/resources/vitals/client/vo2Max.d.ts +2 -2
- package/serialization/resources/vitals/client/water.d.ts +2 -2
- package/serialization/types/ActivitySelector.d.ts +13 -0
- package/serialization/types/ActivitySelector.js +34 -0
- package/serialization/types/ActivitySelectorActivity.d.ts +10 -0
- package/serialization/types/ActivitySelectorActivity.js +50 -0
- package/serialization/types/ActivityV2InDb.d.ts +2 -2
- package/serialization/types/AddOnOrder.d.ts +13 -0
- package/serialization/types/AddOnOrder.js +34 -0
- package/serialization/types/Address.d.ts +2 -2
- package/serialization/types/AllowedRadius.d.ts +2 -2
- package/serialization/types/Answer.d.ts +2 -2
- package/serialization/types/AoE.d.ts +2 -2
- package/serialization/types/AoEAnswer.d.ts +2 -2
- package/serialization/types/AppointmentAvailabilitySlots.d.ts +2 -2
- package/serialization/types/AppointmentEventStatus.d.ts +2 -2
- package/serialization/types/AppointmentProvider.d.ts +2 -2
- package/serialization/types/AppointmentServiceType.d.ts +2 -2
- package/serialization/types/AppointmentStatus.d.ts +2 -2
- package/serialization/types/AppointmentType.d.ts +2 -2
- package/serialization/types/AreaInfo.d.ts +2 -2
- package/serialization/types/AttemptStatus.d.ts +2 -2
- package/serialization/types/AuthType.d.ts +2 -2
- package/serialization/types/Availability.d.ts +2 -2
- package/serialization/types/BasalBodyTemperatureEntry.d.ts +2 -2
- package/serialization/types/Billing.d.ts +2 -2
- package/serialization/types/BiomarkerResult.d.ts +3 -2
- package/serialization/types/BiomarkerResult.js +2 -1
- package/serialization/types/BodyV2InDb.d.ts +2 -2
- package/serialization/types/CervicalMucusEntry.d.ts +2 -2
- package/serialization/types/CervicalMucusEntryQuality.d.ts +2 -2
- package/serialization/types/ClientActivityResponse.d.ts +2 -2
- package/serialization/types/ClientBodyResponse.d.ts +2 -2
- package/serialization/types/ClientFacingActivity.d.ts +2 -2
- package/serialization/types/ClientFacingActivity.js +1 -1
- package/serialization/types/ClientFacingApiKey.d.ts +2 -2
- package/serialization/types/ClientFacingApiKey.js +2 -2
- package/serialization/types/ClientFacingAppointment.d.ts +2 -2
- package/serialization/types/ClientFacingAppointment.js +2 -2
- package/serialization/types/ClientFacingAppointmentCancellationReason.d.ts +2 -2
- package/serialization/types/ClientFacingAppointmentEvent.d.ts +2 -2
- package/serialization/types/ClientFacingAppointmentEvent.js +1 -1
- package/serialization/types/ClientFacingAtHomePhlebotomyOrder.d.ts +2 -2
- package/serialization/types/ClientFacingAtHomePhlebotomyOrder.js +2 -2
- package/serialization/types/ClientFacingAtHomePhlebotomyOrderDetails.d.ts +2 -2
- package/serialization/types/ClientFacingBloodOxygenTimeseries.d.ts +2 -2
- package/serialization/types/ClientFacingBloodOxygenTimeseries.js +1 -1
- package/serialization/types/ClientFacingBloodPressureTimeseries.d.ts +2 -2
- package/serialization/types/ClientFacingBloodPressureTimeseries.js +1 -1
- package/serialization/types/ClientFacingBody.d.ts +2 -2
- package/serialization/types/ClientFacingBody.js +1 -1
- package/serialization/types/ClientFacingBodyFatTimeseries.d.ts +2 -2
- package/serialization/types/ClientFacingBodyFatTimeseries.js +1 -1
- package/serialization/types/ClientFacingBodyTemperatureDeltaSample.d.ts +2 -2
- package/serialization/types/ClientFacingBodyTemperatureDeltaSample.js +3 -3
- package/serialization/types/ClientFacingBodyTemperatureDeltaSampleSensorLocation.d.ts +2 -2
- package/serialization/types/ClientFacingBodyTemperatureSample.d.ts +2 -2
- package/serialization/types/ClientFacingBodyTemperatureSample.js +3 -3
- package/serialization/types/ClientFacingBodyTemperatureSampleSensorLocation.d.ts +2 -2
- package/serialization/types/ClientFacingBodyWeightTimeseries.d.ts +2 -2
- package/serialization/types/ClientFacingBodyWeightTimeseries.js +1 -1
- package/serialization/types/ClientFacingCaffeineTimeseries.d.ts +2 -2
- package/serialization/types/ClientFacingCaffeineTimeseries.js +3 -3
- package/serialization/types/ClientFacingCaloriesActiveTimeseries.d.ts +2 -2
- package/serialization/types/ClientFacingCaloriesActiveTimeseries.js +3 -3
- package/serialization/types/ClientFacingCaloriesBasalTimeseries.d.ts +2 -2
- package/serialization/types/ClientFacingCaloriesBasalTimeseries.js +1 -1
- package/serialization/types/ClientFacingCarbohydratesSample.d.ts +2 -2
- package/serialization/types/ClientFacingCarbohydratesSample.js +3 -3
- package/serialization/types/ClientFacingCholesterolTimeseries.d.ts +2 -2
- package/serialization/types/ClientFacingCholesterolTimeseries.js +1 -1
- package/serialization/types/ClientFacingDiagnosisInformation.d.ts +2 -2
- package/serialization/types/ClientFacingDistanceTimeseries.d.ts +2 -2
- package/serialization/types/ClientFacingDistanceTimeseries.js +3 -3
- package/serialization/types/ClientFacingElectrocardiogramVoltageTimeseries.d.ts +2 -2
- package/serialization/types/ClientFacingFloorsClimbedTimeseries.d.ts +2 -2
- package/serialization/types/ClientFacingFloorsClimbedTimeseries.js +1 -1
- package/serialization/types/ClientFacingFood.d.ts +2 -2
- package/serialization/types/ClientFacingGlucoseTimeseries.d.ts +2 -2
- package/serialization/types/ClientFacingGlucoseTimeseries.js +1 -1
- package/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingBodyTemperatureDeltaSample.d.ts +2 -2
- package/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingBodyTemperatureSample.d.ts +2 -2
- package/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingCarbohydratesSample.d.ts +2 -2
- package/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingInsulinInjectionSample.d.ts +2 -2
- package/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingNoteSample.d.ts +2 -2
- package/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingWorkoutDurationSample.d.ts +2 -2
- package/serialization/types/ClientFacingHeartRate.d.ts +2 -2
- package/serialization/types/ClientFacingHeartRateTimeseries.d.ts +2 -2
- package/serialization/types/ClientFacingHeartRateTimeseries.js +1 -1
- package/serialization/types/ClientFacingHrvTimeseries.d.ts +2 -2
- package/serialization/types/ClientFacingHrvTimeseries.js +1 -1
- package/serialization/types/ClientFacingHypnogramTimeseries.d.ts +2 -2
- package/serialization/types/ClientFacingHypnogramTimeseries.js +3 -3
- package/serialization/types/ClientFacingIgeTimeseries.d.ts +2 -2
- package/serialization/types/ClientFacingIgeTimeseries.js +1 -1
- package/serialization/types/ClientFacingIggTimeseries.d.ts +2 -2
- package/serialization/types/ClientFacingIggTimeseries.js +1 -1
- package/serialization/types/ClientFacingInsulinInjectionSample.d.ts +2 -2
- package/serialization/types/ClientFacingInsulinInjectionSample.js +3 -3
- package/serialization/types/ClientFacingInsulinInjectionSampleType.d.ts +2 -2
- package/serialization/types/ClientFacingInsurance.d.ts +2 -2
- package/serialization/types/ClientFacingLab.d.ts +2 -2
- package/serialization/types/ClientFacingLabLocation.d.ts +2 -2
- package/serialization/types/ClientFacingLabTest.d.ts +3 -2
- package/serialization/types/ClientFacingLabTest.js +1 -0
- package/serialization/types/ClientFacingLabs.d.ts +2 -2
- package/serialization/types/ClientFacingLoinc.d.ts +2 -2
- package/serialization/types/ClientFacingMarker.d.ts +3 -2
- package/serialization/types/ClientFacingMarker.js +1 -0
- package/serialization/types/ClientFacingMarkerComplete.d.ts +3 -2
- package/serialization/types/ClientFacingMarkerComplete.js +1 -0
- package/serialization/types/ClientFacingMealResponse.d.ts +2 -2
- package/serialization/types/ClientFacingMindfulnessMinutesTimeseries.d.ts +2 -2
- package/serialization/types/ClientFacingMindfulnessMinutesTimeseries.js +3 -3
- package/serialization/types/ClientFacingNoteSample.d.ts +2 -2
- package/serialization/types/ClientFacingNoteSample.js +3 -3
- package/serialization/types/ClientFacingNoteSampleTagsItem.d.ts +2 -2
- package/serialization/types/ClientFacingOrder.d.ts +2 -2
- package/serialization/types/ClientFacingOrder.js +2 -2
- package/serialization/types/ClientFacingOrderDetails.d.ts +2 -2
- package/serialization/types/ClientFacingOrderEvent.d.ts +2 -2
- package/serialization/types/ClientFacingOrderEvent.js +1 -1
- package/serialization/types/ClientFacingPatientDetailsCompatible.d.ts +2 -2
- package/serialization/types/ClientFacingPatientDetailsCompatible.js +1 -1
- package/serialization/types/ClientFacingPayorSearchResponse.d.ts +2 -2
- package/serialization/types/ClientFacingPhysician.d.ts +2 -2
- package/serialization/types/ClientFacingProfile.d.ts +2 -2
- package/serialization/types/ClientFacingProvider.d.ts +2 -2
- package/serialization/types/ClientFacingProviderDetailed.d.ts +2 -2
- package/serialization/types/ClientFacingProviderWithStatus.d.ts +2 -2
- package/serialization/types/ClientFacingResource.d.ts +2 -2
- package/serialization/types/ClientFacingRespiratoryRateTimeseries.d.ts +2 -2
- package/serialization/types/ClientFacingRespiratoryRateTimeseries.js +1 -1
- package/serialization/types/ClientFacingResult.d.ts +2 -2
- package/serialization/types/ClientFacingSampleGroupingKeys.d.ts +2 -2
- package/serialization/types/ClientFacingShipment.d.ts +2 -2
- package/serialization/types/ClientFacingSleep.d.ts +2 -2
- package/serialization/types/ClientFacingSleep.js +3 -3
- package/serialization/types/ClientFacingSleepStream.d.ts +2 -2
- package/serialization/types/ClientFacingSource.d.ts +2 -2
- package/serialization/types/ClientFacingSport.d.ts +2 -2
- package/serialization/types/ClientFacingStepsTimeseries.d.ts +2 -2
- package/serialization/types/ClientFacingStepsTimeseries.js +3 -3
- package/serialization/types/ClientFacingStream.d.ts +2 -2
- package/serialization/types/ClientFacingStreamAltitude.d.ts +2 -2
- package/serialization/types/ClientFacingStreamCadence.d.ts +2 -2
- package/serialization/types/ClientFacingStreamDistance.d.ts +2 -2
- package/serialization/types/ClientFacingStreamHeartrate.d.ts +2 -2
- package/serialization/types/ClientFacingStreamLat.d.ts +2 -2
- package/serialization/types/ClientFacingStreamLng.d.ts +2 -2
- package/serialization/types/ClientFacingStreamPower.d.ts +2 -2
- package/serialization/types/ClientFacingStreamResistance.d.ts +2 -2
- package/serialization/types/ClientFacingStreamTemperature.d.ts +2 -2
- package/serialization/types/ClientFacingStreamVelocitySmooth.d.ts +2 -2
- package/serialization/types/ClientFacingStressLevelTimeseries.d.ts +2 -2
- package/serialization/types/ClientFacingStressLevelTimeseries.js +1 -1
- package/serialization/types/ClientFacingTeam.d.ts +2 -2
- package/serialization/types/ClientFacingTestKitOrderDetails.d.ts +2 -2
- package/serialization/types/ClientFacingTestkitOrder.d.ts +2 -2
- package/serialization/types/ClientFacingTestkitOrder.js +2 -2
- package/serialization/types/ClientFacingTimeseriesGroupClientFacingBodyTemperatureDeltaSample.d.ts +2 -2
- package/serialization/types/ClientFacingTimeseriesGroupClientFacingBodyTemperatureSample.d.ts +2 -2
- package/serialization/types/ClientFacingTimeseriesGroupClientFacingCarbohydratesSample.d.ts +2 -2
- package/serialization/types/ClientFacingTimeseriesGroupClientFacingInsulinInjectionSample.d.ts +2 -2
- package/serialization/types/ClientFacingTimeseriesGroupClientFacingNoteSample.d.ts +2 -2
- package/serialization/types/ClientFacingTimeseriesGroupClientFacingWorkoutDurationSample.d.ts +2 -2
- package/serialization/types/ClientFacingUser.d.ts +2 -2
- package/serialization/types/ClientFacingUser.js +1 -1
- package/serialization/types/ClientFacingUserKey.d.ts +2 -2
- package/serialization/types/ClientFacingVo2MaxTimeseries.d.ts +2 -2
- package/serialization/types/ClientFacingVo2MaxTimeseries.js +3 -3
- package/serialization/types/ClientFacingWalkInOrderDetails.d.ts +2 -2
- package/serialization/types/ClientFacingWalkInTestOrder.d.ts +2 -2
- package/serialization/types/ClientFacingWalkInTestOrder.js +2 -2
- package/serialization/types/ClientFacingWaterTimeseries.d.ts +2 -2
- package/serialization/types/ClientFacingWaterTimeseries.js +1 -1
- package/serialization/types/ClientFacingWorkout.d.ts +2 -2
- package/serialization/types/ClientFacingWorkout.js +2 -2
- package/serialization/types/ClientFacingWorkoutDurationSample.d.ts +2 -2
- package/serialization/types/ClientFacingWorkoutDurationSample.js +3 -3
- package/serialization/types/ClientFacingWorkoutDurationSampleIntensity.d.ts +2 -2
- package/serialization/types/ClientSleepResponse.d.ts +2 -2
- package/serialization/types/ClientUserIdConflict.d.ts +2 -2
- package/serialization/types/ClientWorkoutResponse.d.ts +2 -2
- package/serialization/types/CompanyDetails.d.ts +2 -2
- package/serialization/types/ConnectedSourceClientFacing.d.ts +2 -2
- package/serialization/types/ConnectedSourceClientFacing.js +1 -1
- package/serialization/types/ConnectionStatus.d.ts +2 -2
- package/serialization/types/ConnectionStatusState.d.ts +2 -2
- package/serialization/types/Consent.d.ts +2 -2
- package/serialization/types/ConsentType.d.ts +2 -2
- package/serialization/types/ContraceptiveEntry.d.ts +2 -2
- package/serialization/types/ContraceptiveEntryType.d.ts +2 -2
- package/serialization/types/DaySlots.d.ts +2 -2
- package/serialization/types/DelegatedFlowType.d.ts +2 -2
- package/serialization/types/DemoConnectionStatus.d.ts +2 -2
- package/serialization/types/DemoProviders.d.ts +2 -2
- package/serialization/types/DetectedDeviationEntry.d.ts +2 -2
- package/serialization/types/DetectedDeviationEntryDeviation.d.ts +2 -2
- package/serialization/types/DeviceV2InDb.d.ts +2 -2
- package/serialization/types/EmailProviders.d.ts +2 -2
- package/serialization/types/Energy.d.ts +2 -2
- package/serialization/types/EventDestinationPreferences.d.ts +2 -2
- package/serialization/types/EventDestinationPreferencesEnabledItem.d.ts +2 -2
- package/serialization/types/EventDestinationPreferencesPreferred.d.ts +2 -2
- package/serialization/types/FallbackBirthDate.d.ts +2 -2
- package/serialization/types/FallbackBirthDate.js +1 -1
- package/serialization/types/FallbackTimeZone.d.ts +2 -2
- package/serialization/types/FallbackTimeZone.js +1 -1
- package/serialization/types/Fats.d.ts +2 -2
- package/serialization/types/Gender.d.ts +2 -2
- package/serialization/types/GetMarkersResponse.d.ts +2 -2
- package/serialization/types/GetOrdersResponse.d.ts +2 -2
- package/serialization/types/GroupedBloodOxygen.d.ts +2 -2
- package/serialization/types/GroupedBloodOxygenResponse.d.ts +2 -2
- package/serialization/types/GroupedBloodPressure.d.ts +2 -2
- package/serialization/types/GroupedBloodPressureResponse.d.ts +2 -2
- package/serialization/types/GroupedBodyFat.d.ts +2 -2
- package/serialization/types/GroupedBodyFatResponse.d.ts +2 -2
- package/serialization/types/GroupedBodyWeight.d.ts +2 -2
- package/serialization/types/GroupedBodyWeightResponse.d.ts +2 -2
- package/serialization/types/GroupedCaffeine.d.ts +2 -2
- package/serialization/types/GroupedCaffeineResponse.d.ts +2 -2
- package/serialization/types/GroupedCaloriesActive.d.ts +2 -2
- package/serialization/types/GroupedCaloriesActiveResponse.d.ts +2 -2
- package/serialization/types/GroupedCaloriesBasal.d.ts +2 -2
- package/serialization/types/GroupedCaloriesBasalResponse.d.ts +2 -2
- package/serialization/types/GroupedCholesterol.d.ts +2 -2
- package/serialization/types/GroupedCholesterolResponse.d.ts +2 -2
- package/serialization/types/GroupedDistance.d.ts +2 -2
- package/serialization/types/GroupedDistanceResponse.d.ts +2 -2
- package/serialization/types/GroupedElectrocardiogramVoltage.d.ts +2 -2
- package/serialization/types/GroupedElectrocardiogramVoltageResponse.d.ts +2 -2
- package/serialization/types/GroupedFloorsClimbed.d.ts +2 -2
- package/serialization/types/GroupedFloorsClimbedResponse.d.ts +2 -2
- package/serialization/types/GroupedGlucose.d.ts +2 -2
- package/serialization/types/GroupedGlucoseResponse.d.ts +2 -2
- package/serialization/types/GroupedHeartRate.d.ts +2 -2
- package/serialization/types/GroupedHeartRateResponse.d.ts +2 -2
- package/serialization/types/GroupedHrv.d.ts +2 -2
- package/serialization/types/GroupedHrvResponse.d.ts +2 -2
- package/serialization/types/GroupedHypnogram.d.ts +2 -2
- package/serialization/types/GroupedHypnogramResponse.d.ts +2 -2
- package/serialization/types/GroupedIge.d.ts +2 -2
- package/serialization/types/GroupedIgeResponse.d.ts +2 -2
- package/serialization/types/GroupedIgg.d.ts +2 -2
- package/serialization/types/GroupedIggResponse.d.ts +2 -2
- package/serialization/types/GroupedMindfulnessMinutes.d.ts +2 -2
- package/serialization/types/GroupedMindfulnessMinutesResponse.d.ts +2 -2
- package/serialization/types/GroupedRespiratoryRate.d.ts +2 -2
- package/serialization/types/GroupedRespiratoryRateResponse.d.ts +2 -2
- package/serialization/types/GroupedSteps.d.ts +2 -2
- package/serialization/types/GroupedStepsResponse.d.ts +2 -2
- package/serialization/types/GroupedStressLevel.d.ts +2 -2
- package/serialization/types/GroupedStressLevelResponse.d.ts +2 -2
- package/serialization/types/GroupedVo2Max.d.ts +2 -2
- package/serialization/types/GroupedVo2MaxResponse.d.ts +2 -2
- package/serialization/types/GroupedWater.d.ts +2 -2
- package/serialization/types/GroupedWaterResponse.d.ts +2 -2
- package/serialization/types/HealthInsuranceCreateRequest.d.ts +2 -2
- package/serialization/types/HealthInsuranceCreateRequestBackImage.d.ts +2 -2
- package/serialization/types/HealthInsuranceCreateRequestFrontImage.d.ts +2 -2
- package/serialization/types/HealthInsuranceCreateRequestPatientSignatureImage.d.ts +2 -2
- package/serialization/types/HistoricalPullStatus.d.ts +2 -2
- package/serialization/types/HistoricalPullTimeline.d.ts +2 -2
- package/serialization/types/HistoricalPullTimeline.js +3 -3
- package/serialization/types/HomePregnancyTestEntry.d.ts +2 -2
- package/serialization/types/HomePregnancyTestEntryTestResult.d.ts +2 -2
- package/serialization/types/HomeProgesteroneTestEntry.d.ts +2 -2
- package/serialization/types/HomeProgesteroneTestEntryTestResult.d.ts +2 -2
- package/serialization/types/HttpValidationError.d.ts +2 -2
- package/serialization/types/IntermenstrualBleedingEntry.d.ts +2 -2
- package/serialization/types/Jpeg.d.ts +2 -2
- package/serialization/types/LabLocationMetadata.d.ts +2 -2
- package/serialization/types/LabResultsMetadata.d.ts +2 -2
- package/serialization/types/LabResultsRaw.d.ts +2 -2
- package/serialization/types/LabResultsRawResults.d.ts +2 -2
- package/serialization/types/LabTestCollectionMethod.d.ts +2 -2
- package/serialization/types/LabTestSampleType.d.ts +2 -2
- package/serialization/types/LabTestStatus.d.ts +2 -2
- package/serialization/types/Labs.d.ts +2 -2
- package/serialization/types/LastAttempt.d.ts +2 -2
- package/serialization/types/LastAttempt.js +1 -1
- package/serialization/types/LibreConfig.d.ts +2 -2
- package/serialization/types/LinkTokenExchangeResponse.d.ts +2 -2
- package/serialization/types/LngLat.d.ts +2 -2
- package/serialization/types/Macros.d.ts +3 -2
- package/serialization/types/Macros.js +1 -0
- package/serialization/types/ManualProviders.d.ts +2 -2
- package/serialization/types/MarkerType.d.ts +2 -2
- package/serialization/types/MealInDbBaseClientFacingSource.d.ts +3 -2
- package/serialization/types/MealInDbBaseClientFacingSource.js +4 -3
- package/serialization/types/MenstrualCycle.d.ts +2 -2
- package/serialization/types/MenstrualCycleResponse.d.ts +2 -2
- package/serialization/types/MenstrualFlowEntry.d.ts +2 -2
- package/serialization/types/MenstrualFlowEntryFlow.d.ts +2 -2
- package/serialization/types/MetricsResult.d.ts +2 -2
- package/serialization/types/Micros.d.ts +2 -2
- package/serialization/types/Minerals.d.ts +10 -0
- package/serialization/types/Minerals.js +70 -0
- package/serialization/types/OAuthProviders.d.ts +2 -2
- package/serialization/types/OrderSetRequest.d.ts +14 -0
- package/serialization/types/OrderSetRequest.js +35 -0
- package/serialization/types/OrderStatus.d.ts +2 -2
- package/serialization/types/OrderTopLevelStatus.d.ts +2 -2
- package/serialization/types/OvulationTestEntry.d.ts +2 -2
- package/serialization/types/OvulationTestEntryTestResult.d.ts +2 -2
- package/serialization/types/PaginatedUsersResponse.d.ts +2 -2
- package/serialization/types/PasswordProviders.d.ts +2 -2
- package/serialization/types/PatientAddressCompatible.d.ts +2 -2
- package/serialization/types/PatientDetails.d.ts +2 -2
- package/serialization/types/Period.d.ts +14 -0
- package/serialization/types/Period.js +35 -0
- package/serialization/types/PeriodUnit.d.ts +10 -0
- package/serialization/types/PeriodUnit.js +31 -0
- package/serialization/types/PersonDetailsOutput.d.ts +2 -2
- package/serialization/types/PhlebotomyAreaInfo.d.ts +2 -2
- package/serialization/types/PhlebotomyProviderInfo.d.ts +2 -2
- package/serialization/types/PhysicianCreateRequest.d.ts +2 -2
- package/serialization/types/PhysicianCreateRequestBase.d.ts +2 -2
- package/serialization/types/PhysicianCreateRequestSignatureImage.d.ts +2 -2
- package/serialization/types/Placeholder.d.ts +12 -0
- package/serialization/types/Placeholder.js +33 -0
- package/serialization/types/Png.d.ts +2 -2
- package/serialization/types/PostOrderResponse.d.ts +2 -2
- package/serialization/types/ProfileInDb.d.ts +2 -2
- package/serialization/types/ProviderLinkResponse.d.ts +2 -2
- package/serialization/types/ProviderLinkResponseState.d.ts +2 -2
- package/serialization/types/ProviderMfaRequest.d.ts +2 -2
- package/serialization/types/ProviderMfaRequestMethod.d.ts +2 -2
- package/serialization/types/Providers.d.ts +3 -3
- package/serialization/types/Providers.js +1 -0
- package/serialization/types/PscAreaInfo.d.ts +2 -2
- package/serialization/types/PscAreaInfoDetails.d.ts +2 -2
- package/serialization/types/PscInfo.d.ts +2 -2
- package/serialization/types/QueryConfig.d.ts +15 -0
- package/serialization/types/QueryConfig.js +36 -0
- package/serialization/types/QueryConfigProviderPriorityOverridesItem.d.ts +12 -0
- package/serialization/types/QueryConfigProviderPriorityOverridesItem.js +33 -0
- package/serialization/types/QueryConfigWeekStartsOn.d.ts +10 -0
- package/serialization/types/QueryConfigWeekStartsOn.js +31 -0
- package/serialization/types/QueryInstruction.d.ts +20 -0
- package/serialization/types/QueryInstruction.js +41 -0
- package/serialization/types/QueryInstructionPartitionBy.d.ts +12 -0
- package/serialization/types/QueryInstructionPartitionBy.js +33 -0
- package/serialization/types/QueryInstructionSelect.d.ts +12 -0
- package/serialization/types/QueryInstructionSelect.js +33 -0
- package/serialization/types/Question.d.ts +2 -2
- package/serialization/types/QuestionType.d.ts +2 -2
- package/serialization/types/RawActivity.d.ts +2 -2
- package/serialization/types/RawBody.d.ts +2 -2
- package/serialization/types/RawDevices.d.ts +2 -2
- package/serialization/types/RawProfile.d.ts +2 -2
- package/serialization/types/RawSleep.d.ts +2 -2
- package/serialization/types/RawWorkout.d.ts +2 -2
- package/serialization/types/Reducer.d.ts +13 -0
- package/serialization/types/Reducer.js +34 -0
- package/serialization/types/ReducerFunction.d.ts +10 -0
- package/serialization/types/ReducerFunction.js +31 -0
- package/serialization/types/Region.d.ts +2 -2
- package/serialization/types/RelativeTimeframe.d.ts +15 -0
- package/serialization/types/RelativeTimeframe.js +36 -0
- package/serialization/types/ResourceAvailability.d.ts +2 -2
- package/serialization/types/ResponsibleRelationship.d.ts +2 -2
- package/serialization/types/ResultType.d.ts +2 -2
- package/serialization/types/ScopeRequirementsGrants.d.ts +2 -2
- package/serialization/types/ScopeRequirementsStr.d.ts +2 -2
- package/serialization/types/SexualActivityEntry.d.ts +2 -2
- package/serialization/types/ShippingAddress.d.ts +2 -2
- package/serialization/types/SingleHistoricalPullStatistics.d.ts +2 -2
- package/serialization/types/SingleHistoricalPullStatistics.js +2 -2
- package/serialization/types/SingleProviderHistoricalPullResponse.d.ts +2 -2
- package/serialization/types/SingleResourceStatistics.d.ts +2 -2
- package/serialization/types/SingleResourceStatistics.js +2 -2
- package/serialization/types/SingleUserHistoricalPullResponse.d.ts +2 -2
- package/serialization/types/SingleUserResourceResponse.d.ts +2 -2
- package/serialization/types/SleepSelector.d.ts +13 -0
- package/serialization/types/SleepSelector.js +34 -0
- package/serialization/types/SleepSelectorSleep.d.ts +10 -0
- package/serialization/types/SleepSelectorSleep.js +56 -0
- package/serialization/types/SleepSummaryState.d.ts +2 -2
- package/serialization/types/SleepV2InDb.d.ts +2 -2
- package/serialization/types/Source.d.ts +2 -2
- package/serialization/types/SourceAuthType.d.ts +2 -2
- package/serialization/types/SourceLink.d.ts +2 -2
- package/serialization/types/SourceType.d.ts +2 -2
- package/serialization/types/Swizzling.d.ts +16 -0
- package/serialization/types/Swizzling.js +37 -0
- package/serialization/types/SwizzlingBinGranularity.d.ts +10 -0
- package/serialization/types/SwizzlingBinGranularity.js +31 -0
- package/serialization/types/TeamConfig.d.ts +2 -2
- package/serialization/types/TimeSlot.d.ts +2 -2
- package/serialization/types/TimeSlot.js +3 -3
- package/serialization/types/TimeseriesMetricPoint.d.ts +2 -2
- package/serialization/types/TimeseriesMetricPoint.js +1 -1
- package/serialization/types/TimeseriesResource.d.ts +2 -2
- package/serialization/types/TraceElements.d.ts +10 -0
- package/serialization/types/TraceElements.js +31 -0
- package/serialization/types/UsAddress.d.ts +2 -2
- package/serialization/types/UserHistoricalPullsResponse.d.ts +2 -2
- package/serialization/types/UserInfo.d.ts +2 -2
- package/serialization/types/UserRefreshErrorResponse.d.ts +2 -2
- package/serialization/types/UserRefreshSuccessResponse.d.ts +2 -2
- package/serialization/types/UserResourcesResponse.d.ts +2 -2
- package/serialization/types/UserSignInTokenResponse.d.ts +2 -2
- package/serialization/types/UserSuccessResponse.d.ts +2 -2
- package/serialization/types/ValidationError.d.ts +2 -2
- package/serialization/types/ValidationErrorLocItem.d.ts +2 -2
- package/serialization/types/VitalCoreSchemasDbSchemasLabTestHealthInsurancePersonDetails.d.ts +2 -2
- package/serialization/types/VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails.d.ts +2 -2
- package/serialization/types/VitalTokenCreatedResponse.d.ts +2 -2
- package/serialization/types/Vitamins.d.ts +10 -0
- package/serialization/types/Vitamins.js +45 -0
- package/serialization/types/WorkoutV2InDb.d.ts +2 -2
- package/serialization/types/index.d.ts +23 -0
- package/serialization/types/index.js +23 -0
- package/tests/client.test.ts +0 -11
@@ -0,0 +1,23 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
9
|
+
});
|
10
|
+
};
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
12
|
+
exports.getRequestBody = void 0;
|
13
|
+
function getRequestBody({ body, type }) {
|
14
|
+
return __awaiter(this, void 0, void 0, function* () {
|
15
|
+
if (type.includes("json")) {
|
16
|
+
return JSON.stringify(body);
|
17
|
+
}
|
18
|
+
else {
|
19
|
+
return body;
|
20
|
+
}
|
21
|
+
});
|
22
|
+
}
|
23
|
+
exports.getRequestBody = getRequestBody;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare function getResponseBody(response: Response, responseType?: string): Promise<unknown>;
|
@@ -0,0 +1,52 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
9
|
+
});
|
10
|
+
};
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
12
|
+
exports.getResponseBody = void 0;
|
13
|
+
const chooseStreamWrapper_1 = require("./stream-wrappers/chooseStreamWrapper");
|
14
|
+
function getResponseBody(response, responseType) {
|
15
|
+
return __awaiter(this, void 0, void 0, function* () {
|
16
|
+
if (response.body != null && responseType === "blob") {
|
17
|
+
return yield response.blob();
|
18
|
+
}
|
19
|
+
else if (response.body != null && responseType === "sse") {
|
20
|
+
return response.body;
|
21
|
+
}
|
22
|
+
else if (response.body != null && responseType === "streaming") {
|
23
|
+
return (0, chooseStreamWrapper_1.chooseStreamWrapper)(response.body);
|
24
|
+
}
|
25
|
+
else if (response.body != null && responseType === "text") {
|
26
|
+
return yield response.text();
|
27
|
+
}
|
28
|
+
else {
|
29
|
+
const text = yield response.text();
|
30
|
+
if (text.length > 0) {
|
31
|
+
try {
|
32
|
+
let responseBody = JSON.parse(text);
|
33
|
+
return responseBody;
|
34
|
+
}
|
35
|
+
catch (err) {
|
36
|
+
return {
|
37
|
+
ok: false,
|
38
|
+
error: {
|
39
|
+
reason: "non-json",
|
40
|
+
statusCode: response.status,
|
41
|
+
rawBody: text,
|
42
|
+
},
|
43
|
+
};
|
44
|
+
}
|
45
|
+
}
|
46
|
+
else {
|
47
|
+
return undefined;
|
48
|
+
}
|
49
|
+
}
|
50
|
+
});
|
51
|
+
}
|
52
|
+
exports.getResponseBody = getResponseBody;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const makeRequest: (fetchFn: (url: string, init: RequestInit) => Promise<Response>, url: string, method: string, headers: Record<string, string>, requestBody: BodyInit | undefined, timeoutMs?: number | undefined, abortSignal?: AbortSignal | undefined, withCredentials?: boolean | undefined, duplex?: "half" | undefined) => Promise<Response>;
|
@@ -0,0 +1,42 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
9
|
+
});
|
10
|
+
};
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
12
|
+
exports.makeRequest = void 0;
|
13
|
+
const signals_1 = require("./signals");
|
14
|
+
const makeRequest = (fetchFn, url, method, headers, requestBody, timeoutMs, abortSignal, withCredentials, duplex) => __awaiter(void 0, void 0, void 0, function* () {
|
15
|
+
const signals = [];
|
16
|
+
// Add timeout signal
|
17
|
+
let timeoutAbortId = undefined;
|
18
|
+
if (timeoutMs != null) {
|
19
|
+
const { signal, abortId } = (0, signals_1.getTimeoutSignal)(timeoutMs);
|
20
|
+
timeoutAbortId = abortId;
|
21
|
+
signals.push(signal);
|
22
|
+
}
|
23
|
+
// Add arbitrary signal
|
24
|
+
if (abortSignal != null) {
|
25
|
+
signals.push(abortSignal);
|
26
|
+
}
|
27
|
+
let newSignals = (0, signals_1.anySignal)(signals);
|
28
|
+
const response = yield fetchFn(url, {
|
29
|
+
method: method,
|
30
|
+
headers,
|
31
|
+
body: requestBody,
|
32
|
+
signal: newSignals,
|
33
|
+
credentials: withCredentials ? "include" : undefined,
|
34
|
+
// @ts-ignore
|
35
|
+
duplex,
|
36
|
+
});
|
37
|
+
if (timeoutAbortId != null) {
|
38
|
+
clearTimeout(timeoutAbortId);
|
39
|
+
}
|
40
|
+
return response;
|
41
|
+
});
|
42
|
+
exports.makeRequest = makeRequest;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare function requestWithRetries(requestFn: () => Promise<Response>, maxRetries?: number): Promise<Response>;
|
@@ -0,0 +1,32 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
9
|
+
});
|
10
|
+
};
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
12
|
+
exports.requestWithRetries = void 0;
|
13
|
+
const INITIAL_RETRY_DELAY = 1;
|
14
|
+
const MAX_RETRY_DELAY = 60;
|
15
|
+
const DEFAULT_MAX_RETRIES = 2;
|
16
|
+
function requestWithRetries(requestFn, maxRetries = DEFAULT_MAX_RETRIES) {
|
17
|
+
return __awaiter(this, void 0, void 0, function* () {
|
18
|
+
let response = yield requestFn();
|
19
|
+
for (let i = 0; i < maxRetries; ++i) {
|
20
|
+
if ([408, 409, 429].includes(response.status) || response.status >= 500) {
|
21
|
+
const delay = Math.min(INITIAL_RETRY_DELAY * Math.pow(2, i), MAX_RETRY_DELAY);
|
22
|
+
yield new Promise((resolve) => setTimeout(resolve, delay));
|
23
|
+
response = yield requestFn();
|
24
|
+
}
|
25
|
+
else {
|
26
|
+
break;
|
27
|
+
}
|
28
|
+
}
|
29
|
+
return response;
|
30
|
+
});
|
31
|
+
}
|
32
|
+
exports.requestWithRetries = requestWithRetries;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
/// <reference types="node" />
|
2
|
+
export declare function getTimeoutSignal(timeoutMs: number): {
|
3
|
+
signal: AbortSignal;
|
4
|
+
abortId: NodeJS.Timeout;
|
5
|
+
};
|
6
|
+
/**
|
7
|
+
* Returns an abort signal that is getting aborted when
|
8
|
+
* at least one of the specified abort signals is aborted.
|
9
|
+
*
|
10
|
+
* Requires at least node.js 18.
|
11
|
+
*/
|
12
|
+
export declare function anySignal(...args: AbortSignal[] | [AbortSignal[]]): AbortSignal;
|
@@ -0,0 +1,37 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.anySignal = exports.getTimeoutSignal = void 0;
|
4
|
+
const TIMEOUT = "timeout";
|
5
|
+
function getTimeoutSignal(timeoutMs) {
|
6
|
+
const controller = new AbortController();
|
7
|
+
const abortId = setTimeout(() => controller.abort(TIMEOUT), timeoutMs);
|
8
|
+
return { signal: controller.signal, abortId };
|
9
|
+
}
|
10
|
+
exports.getTimeoutSignal = getTimeoutSignal;
|
11
|
+
/**
|
12
|
+
* Returns an abort signal that is getting aborted when
|
13
|
+
* at least one of the specified abort signals is aborted.
|
14
|
+
*
|
15
|
+
* Requires at least node.js 18.
|
16
|
+
*/
|
17
|
+
function anySignal(...args) {
|
18
|
+
// Allowing signals to be passed either as array
|
19
|
+
// of signals or as multiple arguments.
|
20
|
+
const signals = (args.length === 1 && Array.isArray(args[0]) ? args[0] : args);
|
21
|
+
const controller = new AbortController();
|
22
|
+
for (const signal of signals) {
|
23
|
+
if (signal.aborted) {
|
24
|
+
// Exiting early if one of the signals
|
25
|
+
// is already aborted.
|
26
|
+
controller.abort(signal === null || signal === void 0 ? void 0 : signal.reason);
|
27
|
+
break;
|
28
|
+
}
|
29
|
+
// Listening for signals and removing the listeners
|
30
|
+
// when at least one symbol is aborted.
|
31
|
+
signal.addEventListener("abort", () => controller.abort(signal === null || signal === void 0 ? void 0 : signal.reason), {
|
32
|
+
signal: controller.signal,
|
33
|
+
});
|
34
|
+
}
|
35
|
+
return controller.signal;
|
36
|
+
}
|
37
|
+
exports.anySignal = anySignal;
|
@@ -0,0 +1,30 @@
|
|
1
|
+
import type { Writable } from "readable-stream";
|
2
|
+
import { EventCallback, StreamWrapper } from "./chooseStreamWrapper";
|
3
|
+
export declare class Node18UniversalStreamWrapper<ReadFormat extends Uint8Array | Uint16Array | Uint32Array> implements StreamWrapper<Node18UniversalStreamWrapper<ReadFormat> | Writable | WritableStream<ReadFormat>, ReadFormat> {
|
4
|
+
private readableStream;
|
5
|
+
private reader;
|
6
|
+
private events;
|
7
|
+
private paused;
|
8
|
+
private resumeCallback;
|
9
|
+
private encoding;
|
10
|
+
constructor(readableStream: ReadableStream<ReadFormat>);
|
11
|
+
on(event: string, callback: EventCallback): void;
|
12
|
+
off(event: string, callback: EventCallback): void;
|
13
|
+
pipe(dest: Node18UniversalStreamWrapper<ReadFormat> | Writable | WritableStream<ReadFormat>): Node18UniversalStreamWrapper<ReadFormat> | Writable | WritableStream<ReadFormat>;
|
14
|
+
pipeTo(dest: Node18UniversalStreamWrapper<ReadFormat> | Writable | WritableStream<ReadFormat>): Node18UniversalStreamWrapper<ReadFormat> | Writable | WritableStream<ReadFormat>;
|
15
|
+
unpipe(dest: Node18UniversalStreamWrapper<ReadFormat> | Writable | WritableStream<ReadFormat>): void;
|
16
|
+
destroy(error?: Error): void;
|
17
|
+
pause(): void;
|
18
|
+
resume(): void;
|
19
|
+
get isPaused(): boolean;
|
20
|
+
read(): Promise<ReadFormat | undefined>;
|
21
|
+
setEncoding(encoding: string): void;
|
22
|
+
text(): Promise<string>;
|
23
|
+
json<T>(): Promise<T>;
|
24
|
+
private _write;
|
25
|
+
private _end;
|
26
|
+
private _error;
|
27
|
+
private _emit;
|
28
|
+
private _startReading;
|
29
|
+
[Symbol.asyncIterator](): AsyncIterableIterator<ReadFormat>;
|
30
|
+
}
|
@@ -0,0 +1,247 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
9
|
+
});
|
10
|
+
};
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
12
|
+
exports.Node18UniversalStreamWrapper = void 0;
|
13
|
+
class Node18UniversalStreamWrapper {
|
14
|
+
constructor(readableStream) {
|
15
|
+
this.readableStream = readableStream;
|
16
|
+
this.reader = this.readableStream.getReader();
|
17
|
+
this.events = {
|
18
|
+
data: [],
|
19
|
+
end: [],
|
20
|
+
error: [],
|
21
|
+
readable: [],
|
22
|
+
close: [],
|
23
|
+
pause: [],
|
24
|
+
resume: [],
|
25
|
+
};
|
26
|
+
this.paused = false;
|
27
|
+
this.resumeCallback = null;
|
28
|
+
this.encoding = null;
|
29
|
+
}
|
30
|
+
on(event, callback) {
|
31
|
+
var _a;
|
32
|
+
(_a = this.events[event]) === null || _a === void 0 ? void 0 : _a.push(callback);
|
33
|
+
}
|
34
|
+
off(event, callback) {
|
35
|
+
var _a;
|
36
|
+
this.events[event] = (_a = this.events[event]) === null || _a === void 0 ? void 0 : _a.filter((cb) => cb !== callback);
|
37
|
+
}
|
38
|
+
pipe(dest) {
|
39
|
+
this.on("data", (chunk) => __awaiter(this, void 0, void 0, function* () {
|
40
|
+
if (dest instanceof Node18UniversalStreamWrapper) {
|
41
|
+
dest._write(chunk);
|
42
|
+
}
|
43
|
+
else if (dest instanceof WritableStream) {
|
44
|
+
const writer = dest.getWriter();
|
45
|
+
writer.write(chunk).then(() => writer.releaseLock());
|
46
|
+
}
|
47
|
+
else {
|
48
|
+
dest.write(chunk);
|
49
|
+
}
|
50
|
+
}));
|
51
|
+
this.on("end", () => __awaiter(this, void 0, void 0, function* () {
|
52
|
+
if (dest instanceof Node18UniversalStreamWrapper) {
|
53
|
+
dest._end();
|
54
|
+
}
|
55
|
+
else if (dest instanceof WritableStream) {
|
56
|
+
const writer = dest.getWriter();
|
57
|
+
writer.close();
|
58
|
+
}
|
59
|
+
else {
|
60
|
+
dest.end();
|
61
|
+
}
|
62
|
+
}));
|
63
|
+
this.on("error", (error) => __awaiter(this, void 0, void 0, function* () {
|
64
|
+
if (dest instanceof Node18UniversalStreamWrapper) {
|
65
|
+
dest._error(error);
|
66
|
+
}
|
67
|
+
else if (dest instanceof WritableStream) {
|
68
|
+
const writer = dest.getWriter();
|
69
|
+
writer.abort(error);
|
70
|
+
}
|
71
|
+
else {
|
72
|
+
dest.destroy(error);
|
73
|
+
}
|
74
|
+
}));
|
75
|
+
this._startReading();
|
76
|
+
return dest;
|
77
|
+
}
|
78
|
+
pipeTo(dest) {
|
79
|
+
return this.pipe(dest);
|
80
|
+
}
|
81
|
+
unpipe(dest) {
|
82
|
+
this.off("data", (chunk) => __awaiter(this, void 0, void 0, function* () {
|
83
|
+
if (dest instanceof Node18UniversalStreamWrapper) {
|
84
|
+
dest._write(chunk);
|
85
|
+
}
|
86
|
+
else if (dest instanceof WritableStream) {
|
87
|
+
const writer = dest.getWriter();
|
88
|
+
writer.write(chunk).then(() => writer.releaseLock());
|
89
|
+
}
|
90
|
+
else {
|
91
|
+
dest.write(chunk);
|
92
|
+
}
|
93
|
+
}));
|
94
|
+
this.off("end", () => __awaiter(this, void 0, void 0, function* () {
|
95
|
+
if (dest instanceof Node18UniversalStreamWrapper) {
|
96
|
+
dest._end();
|
97
|
+
}
|
98
|
+
else if (dest instanceof WritableStream) {
|
99
|
+
const writer = dest.getWriter();
|
100
|
+
writer.close();
|
101
|
+
}
|
102
|
+
else {
|
103
|
+
dest.end();
|
104
|
+
}
|
105
|
+
}));
|
106
|
+
this.off("error", (error) => __awaiter(this, void 0, void 0, function* () {
|
107
|
+
if (dest instanceof Node18UniversalStreamWrapper) {
|
108
|
+
dest._error(error);
|
109
|
+
}
|
110
|
+
else if (dest instanceof WritableStream) {
|
111
|
+
const writer = dest.getWriter();
|
112
|
+
writer.abort(error);
|
113
|
+
}
|
114
|
+
else {
|
115
|
+
dest.destroy(error);
|
116
|
+
}
|
117
|
+
}));
|
118
|
+
}
|
119
|
+
destroy(error) {
|
120
|
+
this.reader
|
121
|
+
.cancel(error)
|
122
|
+
.then(() => {
|
123
|
+
this._emit("close");
|
124
|
+
})
|
125
|
+
.catch((err) => {
|
126
|
+
this._emit("error", err);
|
127
|
+
});
|
128
|
+
}
|
129
|
+
pause() {
|
130
|
+
this.paused = true;
|
131
|
+
this._emit("pause");
|
132
|
+
}
|
133
|
+
resume() {
|
134
|
+
if (this.paused) {
|
135
|
+
this.paused = false;
|
136
|
+
this._emit("resume");
|
137
|
+
if (this.resumeCallback) {
|
138
|
+
this.resumeCallback();
|
139
|
+
this.resumeCallback = null;
|
140
|
+
}
|
141
|
+
}
|
142
|
+
}
|
143
|
+
get isPaused() {
|
144
|
+
return this.paused;
|
145
|
+
}
|
146
|
+
read() {
|
147
|
+
return __awaiter(this, void 0, void 0, function* () {
|
148
|
+
if (this.paused) {
|
149
|
+
yield new Promise((resolve) => {
|
150
|
+
this.resumeCallback = resolve;
|
151
|
+
});
|
152
|
+
}
|
153
|
+
const { done, value } = yield this.reader.read();
|
154
|
+
if (done) {
|
155
|
+
return undefined;
|
156
|
+
}
|
157
|
+
return value;
|
158
|
+
});
|
159
|
+
}
|
160
|
+
setEncoding(encoding) {
|
161
|
+
this.encoding = encoding;
|
162
|
+
}
|
163
|
+
text() {
|
164
|
+
return __awaiter(this, void 0, void 0, function* () {
|
165
|
+
const chunks = [];
|
166
|
+
while (true) {
|
167
|
+
const { done, value } = yield this.reader.read();
|
168
|
+
if (done) {
|
169
|
+
break;
|
170
|
+
}
|
171
|
+
if (value) {
|
172
|
+
chunks.push(value);
|
173
|
+
}
|
174
|
+
}
|
175
|
+
const decoder = new TextDecoder(this.encoding || "utf-8");
|
176
|
+
return decoder.decode(yield new Blob(chunks).arrayBuffer());
|
177
|
+
});
|
178
|
+
}
|
179
|
+
json() {
|
180
|
+
return __awaiter(this, void 0, void 0, function* () {
|
181
|
+
const text = yield this.text();
|
182
|
+
return JSON.parse(text);
|
183
|
+
});
|
184
|
+
}
|
185
|
+
_write(chunk) {
|
186
|
+
this._emit("data", chunk);
|
187
|
+
}
|
188
|
+
_end() {
|
189
|
+
this._emit("end");
|
190
|
+
}
|
191
|
+
_error(error) {
|
192
|
+
this._emit("error", error);
|
193
|
+
}
|
194
|
+
_emit(event, data) {
|
195
|
+
if (this.events[event]) {
|
196
|
+
for (const callback of this.events[event] || []) {
|
197
|
+
callback(data);
|
198
|
+
}
|
199
|
+
}
|
200
|
+
}
|
201
|
+
_startReading() {
|
202
|
+
return __awaiter(this, void 0, void 0, function* () {
|
203
|
+
try {
|
204
|
+
this._emit("readable");
|
205
|
+
while (true) {
|
206
|
+
if (this.paused) {
|
207
|
+
yield new Promise((resolve) => {
|
208
|
+
this.resumeCallback = resolve;
|
209
|
+
});
|
210
|
+
}
|
211
|
+
const { done, value } = yield this.reader.read();
|
212
|
+
if (done) {
|
213
|
+
this._emit("end");
|
214
|
+
this._emit("close");
|
215
|
+
break;
|
216
|
+
}
|
217
|
+
if (value) {
|
218
|
+
this._emit("data", value);
|
219
|
+
}
|
220
|
+
}
|
221
|
+
}
|
222
|
+
catch (error) {
|
223
|
+
this._emit("error", error);
|
224
|
+
}
|
225
|
+
});
|
226
|
+
}
|
227
|
+
[Symbol.asyncIterator]() {
|
228
|
+
return {
|
229
|
+
next: () => __awaiter(this, void 0, void 0, function* () {
|
230
|
+
if (this.paused) {
|
231
|
+
yield new Promise((resolve) => {
|
232
|
+
this.resumeCallback = resolve;
|
233
|
+
});
|
234
|
+
}
|
235
|
+
const { done, value } = yield this.reader.read();
|
236
|
+
if (done) {
|
237
|
+
return { done: true, value: undefined };
|
238
|
+
}
|
239
|
+
return { done: false, value };
|
240
|
+
}),
|
241
|
+
[Symbol.asyncIterator]() {
|
242
|
+
return this;
|
243
|
+
},
|
244
|
+
};
|
245
|
+
}
|
246
|
+
}
|
247
|
+
exports.Node18UniversalStreamWrapper = Node18UniversalStreamWrapper;
|
@@ -0,0 +1,22 @@
|
|
1
|
+
/// <reference types="node" />
|
2
|
+
import type { Readable, Writable } from "readable-stream";
|
3
|
+
import { EventCallback, StreamWrapper } from "./chooseStreamWrapper";
|
4
|
+
export declare class NodePre18StreamWrapper implements StreamWrapper<Writable, Buffer> {
|
5
|
+
private readableStream;
|
6
|
+
private encoding;
|
7
|
+
constructor(readableStream: Readable);
|
8
|
+
on(event: string, callback: EventCallback): void;
|
9
|
+
off(event: string, callback: EventCallback): void;
|
10
|
+
pipe(dest: Writable): Writable;
|
11
|
+
pipeTo(dest: Writable): Writable;
|
12
|
+
unpipe(dest?: Writable): void;
|
13
|
+
destroy(error?: Error): void;
|
14
|
+
pause(): void;
|
15
|
+
resume(): void;
|
16
|
+
get isPaused(): boolean;
|
17
|
+
read(): Promise<Buffer | undefined>;
|
18
|
+
setEncoding(encoding?: string): void;
|
19
|
+
text(): Promise<string>;
|
20
|
+
json<T>(): Promise<T>;
|
21
|
+
[Symbol.asyncIterator](): AsyncIterableIterator<Buffer>;
|
22
|
+
}
|
@@ -0,0 +1,124 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
9
|
+
});
|
10
|
+
};
|
11
|
+
var __asyncValues = (this && this.__asyncValues) || function (o) {
|
12
|
+
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
13
|
+
var m = o[Symbol.asyncIterator], i;
|
14
|
+
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
|
15
|
+
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
|
16
|
+
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
|
17
|
+
};
|
18
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
19
|
+
exports.NodePre18StreamWrapper = void 0;
|
20
|
+
class NodePre18StreamWrapper {
|
21
|
+
constructor(readableStream) {
|
22
|
+
this.readableStream = readableStream;
|
23
|
+
}
|
24
|
+
on(event, callback) {
|
25
|
+
this.readableStream.on(event, callback);
|
26
|
+
}
|
27
|
+
off(event, callback) {
|
28
|
+
this.readableStream.off(event, callback);
|
29
|
+
}
|
30
|
+
pipe(dest) {
|
31
|
+
this.readableStream.pipe(dest);
|
32
|
+
return dest;
|
33
|
+
}
|
34
|
+
pipeTo(dest) {
|
35
|
+
return this.pipe(dest);
|
36
|
+
}
|
37
|
+
unpipe(dest) {
|
38
|
+
if (dest) {
|
39
|
+
this.readableStream.unpipe(dest);
|
40
|
+
}
|
41
|
+
else {
|
42
|
+
this.readableStream.unpipe();
|
43
|
+
}
|
44
|
+
}
|
45
|
+
destroy(error) {
|
46
|
+
this.readableStream.destroy(error);
|
47
|
+
}
|
48
|
+
pause() {
|
49
|
+
this.readableStream.pause();
|
50
|
+
}
|
51
|
+
resume() {
|
52
|
+
this.readableStream.resume();
|
53
|
+
}
|
54
|
+
get isPaused() {
|
55
|
+
return this.readableStream.isPaused();
|
56
|
+
}
|
57
|
+
read() {
|
58
|
+
return __awaiter(this, void 0, void 0, function* () {
|
59
|
+
return new Promise((resolve, reject) => {
|
60
|
+
const chunk = this.readableStream.read();
|
61
|
+
if (chunk) {
|
62
|
+
resolve(chunk);
|
63
|
+
}
|
64
|
+
else {
|
65
|
+
this.readableStream.once("readable", () => {
|
66
|
+
const chunk = this.readableStream.read();
|
67
|
+
resolve(chunk);
|
68
|
+
});
|
69
|
+
this.readableStream.once("error", reject);
|
70
|
+
}
|
71
|
+
});
|
72
|
+
});
|
73
|
+
}
|
74
|
+
setEncoding(encoding) {
|
75
|
+
this.readableStream.setEncoding(encoding);
|
76
|
+
this.encoding = encoding;
|
77
|
+
}
|
78
|
+
text() {
|
79
|
+
var e_1, _a;
|
80
|
+
return __awaiter(this, void 0, void 0, function* () {
|
81
|
+
const chunks = [];
|
82
|
+
const encoder = new TextEncoder();
|
83
|
+
this.readableStream.setEncoding((this.encoding || "utf-8"));
|
84
|
+
try {
|
85
|
+
for (var _b = __asyncValues(this.readableStream), _c; _c = yield _b.next(), !_c.done;) {
|
86
|
+
const chunk = _c.value;
|
87
|
+
chunks.push(encoder.encode(chunk));
|
88
|
+
}
|
89
|
+
}
|
90
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
91
|
+
finally {
|
92
|
+
try {
|
93
|
+
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
|
94
|
+
}
|
95
|
+
finally { if (e_1) throw e_1.error; }
|
96
|
+
}
|
97
|
+
const decoder = new TextDecoder(this.encoding || "utf-8");
|
98
|
+
return decoder.decode(Buffer.concat(chunks));
|
99
|
+
});
|
100
|
+
}
|
101
|
+
json() {
|
102
|
+
return __awaiter(this, void 0, void 0, function* () {
|
103
|
+
const text = yield this.text();
|
104
|
+
return JSON.parse(text);
|
105
|
+
});
|
106
|
+
}
|
107
|
+
[Symbol.asyncIterator]() {
|
108
|
+
const readableStream = this.readableStream;
|
109
|
+
const iterator = readableStream[Symbol.asyncIterator]();
|
110
|
+
// Create and return an async iterator that yields buffers
|
111
|
+
return {
|
112
|
+
next() {
|
113
|
+
return __awaiter(this, void 0, void 0, function* () {
|
114
|
+
const { value, done } = yield iterator.next();
|
115
|
+
return { value: value, done };
|
116
|
+
});
|
117
|
+
},
|
118
|
+
[Symbol.asyncIterator]() {
|
119
|
+
return this;
|
120
|
+
},
|
121
|
+
};
|
122
|
+
}
|
123
|
+
}
|
124
|
+
exports.NodePre18StreamWrapper = NodePre18StreamWrapper;
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import { StreamWrapper } from "./chooseStreamWrapper";
|
2
|
+
declare type EventCallback = (data?: any) => void;
|
3
|
+
export declare class UndiciStreamWrapper<ReadFormat extends Uint8Array | Uint16Array | Uint32Array> implements StreamWrapper<UndiciStreamWrapper<ReadFormat> | WritableStream<ReadFormat>, ReadFormat> {
|
4
|
+
private readableStream;
|
5
|
+
private reader;
|
6
|
+
private events;
|
7
|
+
private paused;
|
8
|
+
private resumeCallback;
|
9
|
+
private encoding;
|
10
|
+
constructor(readableStream: ReadableStream<ReadFormat>);
|
11
|
+
on(event: string, callback: EventCallback): void;
|
12
|
+
off(event: string, callback: EventCallback): void;
|
13
|
+
pipe(dest: UndiciStreamWrapper<ReadFormat> | WritableStream<ReadFormat>): UndiciStreamWrapper<ReadFormat> | WritableStream<ReadFormat>;
|
14
|
+
pipeTo(dest: UndiciStreamWrapper<ReadFormat> | WritableStream<ReadFormat>): UndiciStreamWrapper<ReadFormat> | WritableStream<ReadFormat>;
|
15
|
+
unpipe(dest: UndiciStreamWrapper<ReadFormat> | WritableStream): void;
|
16
|
+
destroy(error?: Error): void;
|
17
|
+
pause(): void;
|
18
|
+
resume(): void;
|
19
|
+
get isPaused(): boolean;
|
20
|
+
read(): Promise<ReadFormat | undefined>;
|
21
|
+
setEncoding(encoding: string): void;
|
22
|
+
text(): Promise<string>;
|
23
|
+
json<T>(): Promise<T>;
|
24
|
+
private _write;
|
25
|
+
private _end;
|
26
|
+
private _error;
|
27
|
+
private _emit;
|
28
|
+
private _startReading;
|
29
|
+
[Symbol.asyncIterator](): AsyncIterableIterator<ReadFormat>;
|
30
|
+
}
|
31
|
+
export {};
|