@tryvital/vital-node 3.1.216 → 3.1.230

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.
Files changed (1299) hide show
  1. package/README.md +4 -0
  2. package/api/resources/activity/client/Client.js +2 -2
  3. package/api/resources/aggregate/client/Client.js +2 -2
  4. package/api/resources/body/client/Client.js +2 -2
  5. package/api/resources/devices/client/Client.js +1 -1
  6. package/api/resources/electrocardiogram/client/Client.js +1 -1
  7. package/api/resources/insurance/client/Client.js +3 -3
  8. package/api/resources/introspect/client/Client.js +2 -2
  9. package/api/resources/labTests/client/Client.d.ts +34 -3
  10. package/api/resources/labTests/client/Client.js +122 -39
  11. package/api/resources/labTests/client/requests/ImportOrderBody.d.ts +40 -0
  12. package/api/resources/labTests/client/requests/LabTestsGetLabelsPdfRequest.d.ts +0 -7
  13. package/api/resources/labTests/client/requests/index.d.ts +1 -0
  14. package/api/resources/link/client/Client.js +18 -18
  15. package/api/resources/link/client/requests/LinkTokenExchange.d.ts +1 -0
  16. package/api/resources/meal/client/Client.js +1 -1
  17. package/api/resources/menstrualCycle/client/Client.js +1 -1
  18. package/api/resources/order/client/Client.js +1 -1
  19. package/api/resources/profile/client/Client.js +2 -2
  20. package/api/resources/providers/client/Client.js +1 -1
  21. package/api/resources/sleep/client/Client.js +4 -4
  22. package/api/resources/sleepCycle/client/Client.js +1 -1
  23. package/api/resources/team/client/Client.js +7 -7
  24. package/api/resources/testkit/client/Client.js +2 -2
  25. package/api/resources/user/client/Client.js +16 -16
  26. package/api/resources/vitals/client/Client.d.ts +221 -0
  27. package/api/resources/vitals/client/Client.js +1418 -58
  28. package/api/resources/vitals/client/requests/VitalsBasalBodyTemperatureGroupedRequest.d.ts +31 -0
  29. package/api/resources/vitals/client/requests/VitalsBodyMassIndexGroupedRequest.d.ts +31 -0
  30. package/api/resources/vitals/client/requests/VitalsBodyMassIndexGroupedRequest.js +5 -0
  31. package/api/resources/vitals/client/requests/VitalsDaylightExposureGroupedRequest.d.ts +31 -0
  32. package/api/resources/vitals/client/requests/VitalsDaylightExposureGroupedRequest.js +5 -0
  33. package/api/resources/vitals/client/requests/VitalsFallGroupedRequest.d.ts +31 -0
  34. package/api/resources/vitals/client/requests/VitalsFallGroupedRequest.js +5 -0
  35. package/api/resources/vitals/client/requests/VitalsForcedExpiratoryVolume1GroupedRequest.d.ts +31 -0
  36. package/api/resources/vitals/client/requests/VitalsForcedExpiratoryVolume1GroupedRequest.js +5 -0
  37. package/api/resources/vitals/client/requests/VitalsForcedVitalCapacityGroupedRequest.d.ts +31 -0
  38. package/api/resources/vitals/client/requests/VitalsForcedVitalCapacityGroupedRequest.js +5 -0
  39. package/api/resources/vitals/client/requests/VitalsHandwashingGroupedRequest.d.ts +31 -0
  40. package/api/resources/vitals/client/requests/VitalsHandwashingGroupedRequest.js +5 -0
  41. package/api/resources/vitals/client/requests/VitalsInhalerUsageGroupedRequest.d.ts +31 -0
  42. package/api/resources/vitals/client/requests/VitalsInhalerUsageGroupedRequest.js +5 -0
  43. package/api/resources/vitals/client/requests/VitalsLeanBodyMassGroupedRequest.d.ts +31 -0
  44. package/api/resources/vitals/client/requests/VitalsLeanBodyMassGroupedRequest.js +5 -0
  45. package/api/resources/vitals/client/requests/VitalsPeakExpiratoryFlowRateGroupedRequest.d.ts +31 -0
  46. package/api/resources/vitals/client/requests/VitalsPeakExpiratoryFlowRateGroupedRequest.js +5 -0
  47. package/api/resources/vitals/client/requests/VitalsSleepApneaAlertGroupedRequest.d.ts +31 -0
  48. package/api/resources/vitals/client/requests/VitalsSleepApneaAlertGroupedRequest.js +5 -0
  49. package/api/resources/vitals/client/requests/VitalsSleepBreathingDisturbanceGroupedRequest.d.ts +31 -0
  50. package/api/resources/vitals/client/requests/VitalsSleepBreathingDisturbanceGroupedRequest.js +5 -0
  51. package/api/resources/vitals/client/requests/VitalsStandDurationGroupedRequest.d.ts +31 -0
  52. package/api/resources/vitals/client/requests/VitalsStandDurationGroupedRequest.js +5 -0
  53. package/api/resources/vitals/client/requests/VitalsStandHourGroupedRequest.d.ts +31 -0
  54. package/api/resources/vitals/client/requests/VitalsStandHourGroupedRequest.js +5 -0
  55. package/api/resources/vitals/client/requests/VitalsUvExposureGroupedRequest.d.ts +31 -0
  56. package/api/resources/vitals/client/requests/VitalsUvExposureGroupedRequest.js +5 -0
  57. package/api/resources/vitals/client/requests/VitalsWaistCircumferenceGroupedRequest.d.ts +31 -0
  58. package/api/resources/vitals/client/requests/VitalsWaistCircumferenceGroupedRequest.js +5 -0
  59. package/api/resources/vitals/client/requests/VitalsWheelchairPushGroupedRequest.d.ts +31 -0
  60. package/api/resources/vitals/client/requests/VitalsWheelchairPushGroupedRequest.js +5 -0
  61. package/api/resources/vitals/client/requests/index.d.ts +17 -0
  62. package/api/resources/workouts/client/Client.js +3 -3
  63. package/api/types/ActivityColumnExprActivity.d.ts +4 -1
  64. package/api/types/ActivityColumnExprActivity.js +3 -0
  65. package/api/types/BodyColumnExprBody.d.ts +4 -1
  66. package/api/types/BodyColumnExprBody.js +3 -0
  67. package/api/types/ClientFacingAFibBurdenSample.d.ts +0 -2
  68. package/api/types/ClientFacingActivity.d.ts +2 -0
  69. package/api/types/{ClientFacingCreatedChanged.d.ts → ClientFacingAppointmentChanged.d.ts} +2 -2
  70. package/api/types/ClientFacingAppointmentChanged.js +5 -0
  71. package/{dist/api/types/ClientFacingCreatedChangedEventType.d.ts → api/types/ClientFacingAppointmentChangedEventType.d.ts} +2 -2
  72. package/{dist/api/types/ClientFacingCreatedChangedEventType.js → api/types/ClientFacingAppointmentChangedEventType.js} +2 -2
  73. package/api/types/ClientFacingBasalBodyTemperatureChanged.d.ts +11 -0
  74. package/api/types/ClientFacingBasalBodyTemperatureChanged.js +5 -0
  75. package/api/types/ClientFacingBasalBodyTemperatureChangedEventType.d.ts +8 -0
  76. package/api/types/ClientFacingBasalBodyTemperatureChangedEventType.js +10 -0
  77. package/api/types/ClientFacingBasalBodyTemperatureHistoricalPullCompleted.d.ts +11 -0
  78. package/api/types/ClientFacingBasalBodyTemperatureHistoricalPullCompleted.js +5 -0
  79. package/api/types/ClientFacingBasalBodyTemperatureSample.d.ts +20 -0
  80. package/api/types/ClientFacingBasalBodyTemperatureSample.js +5 -0
  81. package/api/types/ClientFacingBloodOxygenTimeseries.d.ts +0 -2
  82. package/api/types/ClientFacingBody.d.ts +3 -0
  83. package/api/types/ClientFacingBodyFatTimeseries.d.ts +0 -2
  84. package/api/types/ClientFacingBodyMassIndexChanged.d.ts +11 -0
  85. package/api/types/ClientFacingBodyMassIndexChanged.js +5 -0
  86. package/api/types/ClientFacingBodyMassIndexChangedEventType.d.ts +8 -0
  87. package/api/types/ClientFacingBodyMassIndexChangedEventType.js +10 -0
  88. package/api/types/ClientFacingBodyMassIndexHistoricalPullCompleted.d.ts +11 -0
  89. package/api/types/ClientFacingBodyMassIndexHistoricalPullCompleted.js +5 -0
  90. package/api/types/ClientFacingBodyMassIndexSample.d.ts +20 -0
  91. package/api/types/ClientFacingBodyMassIndexSample.js +5 -0
  92. package/api/types/ClientFacingBodyTemperatureDeltaSample.d.ts +0 -1
  93. package/api/types/ClientFacingBodyTemperatureSample.d.ts +0 -1
  94. package/api/types/ClientFacingBodyWeightTimeseries.d.ts +0 -2
  95. package/api/types/ClientFacingCaffeineTimeseries.d.ts +0 -2
  96. package/api/types/ClientFacingCaloriesActiveTimeseries.d.ts +0 -2
  97. package/api/types/ClientFacingCaloriesBasalTimeseries.d.ts +0 -2
  98. package/api/types/ClientFacingCarbohydratesSample.d.ts +0 -2
  99. package/api/types/ClientFacingCholesterolTimeseries.d.ts +0 -2
  100. package/api/types/ClientFacingDaylightExposureChanged.d.ts +11 -0
  101. package/api/types/ClientFacingDaylightExposureChanged.js +5 -0
  102. package/api/types/ClientFacingDaylightExposureChangedEventType.d.ts +8 -0
  103. package/api/types/ClientFacingDaylightExposureChangedEventType.js +10 -0
  104. package/api/types/ClientFacingDaylightExposureHistoricalPullCompleted.d.ts +11 -0
  105. package/api/types/ClientFacingDaylightExposureHistoricalPullCompleted.js +5 -0
  106. package/api/types/ClientFacingDaylightExposureSample.d.ts +20 -0
  107. package/api/types/ClientFacingDaylightExposureSample.js +5 -0
  108. package/api/types/ClientFacingDistanceTimeseries.d.ts +0 -2
  109. package/api/types/ClientFacingElectrocardiogramVoltageTimeseries.d.ts +1 -3
  110. package/api/types/ClientFacingFallChanged.d.ts +11 -0
  111. package/api/types/ClientFacingFallChanged.js +5 -0
  112. package/api/types/ClientFacingFallChangedEventType.d.ts +8 -0
  113. package/api/types/ClientFacingFallChangedEventType.js +10 -0
  114. package/api/types/ClientFacingFallHistoricalPullCompleted.d.ts +11 -0
  115. package/api/types/ClientFacingFallHistoricalPullCompleted.js +5 -0
  116. package/api/types/ClientFacingFallSample.d.ts +20 -0
  117. package/api/types/ClientFacingFallSample.js +5 -0
  118. package/api/types/ClientFacingFloorsClimbedTimeseries.d.ts +0 -2
  119. package/api/types/ClientFacingForcedExpiratoryVolume1Changed.d.ts +11 -0
  120. package/api/types/ClientFacingForcedExpiratoryVolume1Changed.js +5 -0
  121. package/api/types/ClientFacingForcedExpiratoryVolume1ChangedEventType.d.ts +8 -0
  122. package/api/types/ClientFacingForcedExpiratoryVolume1ChangedEventType.js +10 -0
  123. package/api/types/ClientFacingForcedExpiratoryVolume1HistoricalPullCompleted.d.ts +11 -0
  124. package/api/types/ClientFacingForcedExpiratoryVolume1HistoricalPullCompleted.js +5 -0
  125. package/api/types/ClientFacingForcedExpiratoryVolume1Sample.d.ts +20 -0
  126. package/api/types/ClientFacingForcedExpiratoryVolume1Sample.js +5 -0
  127. package/api/types/ClientFacingForcedVitalCapacityChanged.d.ts +11 -0
  128. package/api/types/ClientFacingForcedVitalCapacityChanged.js +5 -0
  129. package/api/types/ClientFacingForcedVitalCapacityChangedEventType.d.ts +8 -0
  130. package/api/types/ClientFacingForcedVitalCapacityChangedEventType.js +10 -0
  131. package/api/types/ClientFacingForcedVitalCapacityHistoricalPullCompleted.d.ts +11 -0
  132. package/api/types/ClientFacingForcedVitalCapacityHistoricalPullCompleted.js +5 -0
  133. package/api/types/ClientFacingForcedVitalCapacitySample.d.ts +20 -0
  134. package/api/types/ClientFacingForcedVitalCapacitySample.js +5 -0
  135. package/api/types/ClientFacingGlucoseTimeseries.d.ts +0 -2
  136. package/api/types/ClientFacingHandwashingChanged.d.ts +11 -0
  137. package/api/types/ClientFacingHandwashingChanged.js +5 -0
  138. package/api/types/ClientFacingHandwashingChangedEventType.d.ts +8 -0
  139. package/api/types/ClientFacingHandwashingChangedEventType.js +10 -0
  140. package/api/types/ClientFacingHandwashingHistoricalPullCompleted.d.ts +11 -0
  141. package/api/types/ClientFacingHandwashingHistoricalPullCompleted.js +5 -0
  142. package/api/types/ClientFacingHandwashingSample.d.ts +20 -0
  143. package/api/types/ClientFacingHandwashingSample.js +5 -0
  144. package/api/types/ClientFacingHeartRate.d.ts +1 -0
  145. package/api/types/ClientFacingHeartRateAlertSample.d.ts +0 -1
  146. package/api/types/ClientFacingHeartRateTimeseries.d.ts +0 -2
  147. package/api/types/ClientFacingHrvTimeseries.d.ts +0 -2
  148. package/api/types/ClientFacingHypnogramTimeseries.d.ts +0 -2
  149. package/api/types/ClientFacingIgeTimeseries.d.ts +0 -2
  150. package/api/types/ClientFacingIggTimeseries.d.ts +0 -2
  151. package/api/types/ClientFacingInhalerUsageChanged.d.ts +11 -0
  152. package/api/types/ClientFacingInhalerUsageChanged.js +5 -0
  153. package/api/types/ClientFacingInhalerUsageChangedEventType.d.ts +8 -0
  154. package/api/types/ClientFacingInhalerUsageChangedEventType.js +10 -0
  155. package/api/types/ClientFacingInhalerUsageHistoricalPullCompleted.d.ts +11 -0
  156. package/api/types/ClientFacingInhalerUsageHistoricalPullCompleted.js +5 -0
  157. package/api/types/ClientFacingInhalerUsageSample.d.ts +20 -0
  158. package/api/types/ClientFacingInhalerUsageSample.js +5 -0
  159. package/api/types/ClientFacingInsulinInjectionSample.d.ts +0 -1
  160. package/api/types/ClientFacingLeanBodyMassChanged.d.ts +11 -0
  161. package/api/types/ClientFacingLeanBodyMassChanged.js +5 -0
  162. package/api/types/ClientFacingLeanBodyMassChangedEventType.d.ts +8 -0
  163. package/api/types/ClientFacingLeanBodyMassChangedEventType.js +10 -0
  164. package/api/types/ClientFacingLeanBodyMassHistoricalPullCompleted.d.ts +11 -0
  165. package/api/types/ClientFacingLeanBodyMassHistoricalPullCompleted.js +5 -0
  166. package/api/types/ClientFacingLeanBodyMassSample.d.ts +20 -0
  167. package/api/types/ClientFacingLeanBodyMassSample.js +5 -0
  168. package/api/types/ClientFacingMindfulnessMinutesTimeseries.d.ts +0 -2
  169. package/api/types/ClientFacingNoteSample.d.ts +0 -1
  170. package/api/types/ClientFacingOrderChanged.d.ts +11 -0
  171. package/api/types/ClientFacingOrderChanged.js +5 -0
  172. package/api/types/ClientFacingOrderChangedEventType.d.ts +8 -0
  173. package/api/types/ClientFacingOrderChangedEventType.js +10 -0
  174. package/api/types/ClientFacingPeakExpiratoryFlowRateChanged.d.ts +11 -0
  175. package/api/types/ClientFacingPeakExpiratoryFlowRateChanged.js +5 -0
  176. package/api/types/ClientFacingPeakExpiratoryFlowRateChangedEventType.d.ts +8 -0
  177. package/api/types/ClientFacingPeakExpiratoryFlowRateChangedEventType.js +10 -0
  178. package/api/types/ClientFacingPeakExpiratoryFlowRateHistoricalPullCompleted.d.ts +11 -0
  179. package/api/types/ClientFacingPeakExpiratoryFlowRateHistoricalPullCompleted.js +5 -0
  180. package/api/types/ClientFacingPeakExpiratoryFlowRateSample.d.ts +20 -0
  181. package/api/types/ClientFacingPeakExpiratoryFlowRateSample.js +5 -0
  182. package/api/types/ClientFacingProfile.d.ts +2 -0
  183. package/api/types/ClientFacingResource.d.ts +18 -1
  184. package/api/types/ClientFacingResource.js +17 -0
  185. package/api/types/ClientFacingRespiratoryRateTimeseries.d.ts +0 -2
  186. package/api/types/ClientFacingSleep.d.ts +1 -1
  187. package/api/types/ClientFacingSleepApneaAlertChanged.d.ts +11 -0
  188. package/api/types/ClientFacingSleepApneaAlertChanged.js +5 -0
  189. package/api/types/ClientFacingSleepApneaAlertChangedEventType.d.ts +8 -0
  190. package/api/types/ClientFacingSleepApneaAlertChangedEventType.js +10 -0
  191. package/api/types/ClientFacingSleepApneaAlertHistoricalPullCompleted.d.ts +11 -0
  192. package/api/types/ClientFacingSleepApneaAlertHistoricalPullCompleted.js +5 -0
  193. package/api/types/ClientFacingSleepApneaAlertSample.d.ts +20 -0
  194. package/api/types/ClientFacingSleepApneaAlertSample.js +5 -0
  195. package/api/types/ClientFacingSleepBreathingDisturbanceChanged.d.ts +11 -0
  196. package/api/types/ClientFacingSleepBreathingDisturbanceChanged.js +5 -0
  197. package/api/types/ClientFacingSleepBreathingDisturbanceChangedEventType.d.ts +8 -0
  198. package/api/types/ClientFacingSleepBreathingDisturbanceChangedEventType.js +10 -0
  199. package/api/types/ClientFacingSleepBreathingDisturbanceHistoricalPullCompleted.d.ts +11 -0
  200. package/api/types/ClientFacingSleepBreathingDisturbanceHistoricalPullCompleted.js +5 -0
  201. package/api/types/ClientFacingSleepBreathingDisturbanceSample.d.ts +20 -0
  202. package/api/types/ClientFacingSleepBreathingDisturbanceSample.js +5 -0
  203. package/api/types/ClientFacingSleepBreathingDisturbanceSampleType.d.ts +8 -0
  204. package/api/types/ClientFacingSleepBreathingDisturbanceSampleType.js +10 -0
  205. package/api/types/ClientFacingSource.d.ts +14 -0
  206. package/api/types/ClientFacingStandDurationChanged.d.ts +11 -0
  207. package/api/types/ClientFacingStandDurationChanged.js +5 -0
  208. package/api/types/ClientFacingStandDurationChangedEventType.d.ts +8 -0
  209. package/api/types/ClientFacingStandDurationChangedEventType.js +10 -0
  210. package/api/types/ClientFacingStandDurationHistoricalPullCompleted.d.ts +11 -0
  211. package/api/types/ClientFacingStandDurationHistoricalPullCompleted.js +5 -0
  212. package/api/types/ClientFacingStandDurationSample.d.ts +20 -0
  213. package/api/types/ClientFacingStandDurationSample.js +5 -0
  214. package/api/types/ClientFacingStandHourChanged.d.ts +11 -0
  215. package/api/types/ClientFacingStandHourChanged.js +5 -0
  216. package/api/types/ClientFacingStandHourChangedEventType.d.ts +8 -0
  217. package/api/types/ClientFacingStandHourChangedEventType.js +10 -0
  218. package/api/types/ClientFacingStandHourHistoricalPullCompleted.d.ts +11 -0
  219. package/api/types/ClientFacingStandHourHistoricalPullCompleted.js +5 -0
  220. package/api/types/ClientFacingStandHourSample.d.ts +20 -0
  221. package/api/types/ClientFacingStandHourSample.js +5 -0
  222. package/api/types/ClientFacingStandHourSampleType.d.ts +8 -0
  223. package/api/types/ClientFacingStandHourSampleType.js +10 -0
  224. package/api/types/ClientFacingStepsTimeseries.d.ts +0 -2
  225. package/api/types/ClientFacingStressLevelTimeseries.d.ts +0 -2
  226. package/api/types/ClientFacingUser.d.ts +1 -0
  227. package/api/types/ClientFacingUvExposureChanged.d.ts +11 -0
  228. package/api/types/ClientFacingUvExposureChanged.js +5 -0
  229. package/api/types/ClientFacingUvExposureChangedEventType.d.ts +8 -0
  230. package/api/types/ClientFacingUvExposureChangedEventType.js +10 -0
  231. package/api/types/ClientFacingUvExposureHistoricalPullCompleted.d.ts +11 -0
  232. package/api/types/ClientFacingUvExposureHistoricalPullCompleted.js +5 -0
  233. package/api/types/ClientFacingUvExposureSample.d.ts +20 -0
  234. package/api/types/ClientFacingUvExposureSample.js +5 -0
  235. package/api/types/ClientFacingVo2MaxTimeseries.d.ts +0 -2
  236. package/api/types/ClientFacingWaistCircumferenceChanged.d.ts +11 -0
  237. package/api/types/ClientFacingWaistCircumferenceChanged.js +5 -0
  238. package/api/types/ClientFacingWaistCircumferenceChangedEventType.d.ts +8 -0
  239. package/api/types/ClientFacingWaistCircumferenceChangedEventType.js +10 -0
  240. package/api/types/ClientFacingWaistCircumferenceHistoricalPullCompleted.d.ts +11 -0
  241. package/api/types/ClientFacingWaistCircumferenceHistoricalPullCompleted.js +5 -0
  242. package/api/types/ClientFacingWaistCircumferenceSample.d.ts +20 -0
  243. package/api/types/ClientFacingWaistCircumferenceSample.js +5 -0
  244. package/api/types/ClientFacingWaterTimeseries.d.ts +0 -2
  245. package/api/types/ClientFacingWheelchairPushChanged.d.ts +11 -0
  246. package/api/types/ClientFacingWheelchairPushChanged.js +5 -0
  247. package/api/types/ClientFacingWheelchairPushChangedEventType.d.ts +8 -0
  248. package/api/types/ClientFacingWheelchairPushChangedEventType.js +10 -0
  249. package/api/types/ClientFacingWheelchairPushHistoricalPullCompleted.d.ts +11 -0
  250. package/api/types/ClientFacingWheelchairPushHistoricalPullCompleted.js +5 -0
  251. package/api/types/ClientFacingWheelchairPushSample.d.ts +20 -0
  252. package/api/types/ClientFacingWheelchairPushSample.js +5 -0
  253. package/api/types/ClientFacingWorkoutDurationSample.d.ts +0 -1
  254. package/api/types/ClientUserIdConflictResponse.d.ts +7 -0
  255. package/api/types/ClientUserIdConflictResponse.js +5 -0
  256. package/api/types/ConnectionRecipe.d.ts +10 -10
  257. package/api/types/ContinuousQueryResultTableChanges.d.ts +1 -0
  258. package/api/types/FallbackTimeZone.d.ts +1 -0
  259. package/api/types/GroupedBasalBodyTemperature.d.ts +8 -0
  260. package/api/types/GroupedBasalBodyTemperature.js +5 -0
  261. package/api/types/GroupedBasalBodyTemperatureResponse.d.ts +12 -0
  262. package/api/types/GroupedBasalBodyTemperatureResponse.js +5 -0
  263. package/api/types/GroupedBodyMassIndex.d.ts +8 -0
  264. package/api/types/GroupedBodyMassIndex.js +5 -0
  265. package/api/types/GroupedBodyMassIndexResponse.d.ts +12 -0
  266. package/api/types/GroupedBodyMassIndexResponse.js +5 -0
  267. package/api/types/GroupedDaylightExposure.d.ts +8 -0
  268. package/api/types/GroupedDaylightExposure.js +5 -0
  269. package/api/types/GroupedDaylightExposureResponse.d.ts +12 -0
  270. package/api/types/GroupedDaylightExposureResponse.js +5 -0
  271. package/api/types/GroupedFall.d.ts +8 -0
  272. package/api/types/GroupedFall.js +5 -0
  273. package/api/types/GroupedFallResponse.d.ts +12 -0
  274. package/api/types/GroupedFallResponse.js +5 -0
  275. package/api/types/GroupedForcedExpiratoryVolume1.d.ts +8 -0
  276. package/api/types/GroupedForcedExpiratoryVolume1.js +5 -0
  277. package/api/types/GroupedForcedExpiratoryVolume1Response.d.ts +12 -0
  278. package/api/types/GroupedForcedExpiratoryVolume1Response.js +5 -0
  279. package/api/types/GroupedForcedVitalCapacity.d.ts +8 -0
  280. package/api/types/GroupedForcedVitalCapacity.js +5 -0
  281. package/api/types/GroupedForcedVitalCapacityResponse.d.ts +12 -0
  282. package/api/types/GroupedForcedVitalCapacityResponse.js +5 -0
  283. package/api/types/GroupedHandwashing.d.ts +8 -0
  284. package/api/types/GroupedHandwashing.js +5 -0
  285. package/api/types/GroupedHandwashingResponse.d.ts +12 -0
  286. package/api/types/GroupedHandwashingResponse.js +5 -0
  287. package/api/types/GroupedInhalerUsage.d.ts +8 -0
  288. package/api/types/GroupedInhalerUsage.js +5 -0
  289. package/api/types/GroupedInhalerUsageResponse.d.ts +12 -0
  290. package/api/types/GroupedInhalerUsageResponse.js +5 -0
  291. package/api/types/GroupedLeanBodyMass.d.ts +8 -0
  292. package/api/types/GroupedLeanBodyMass.js +5 -0
  293. package/api/types/GroupedLeanBodyMassResponse.d.ts +12 -0
  294. package/api/types/GroupedLeanBodyMassResponse.js +5 -0
  295. package/api/types/GroupedPeakExpiratoryFlowRate.d.ts +8 -0
  296. package/api/types/GroupedPeakExpiratoryFlowRate.js +5 -0
  297. package/api/types/GroupedPeakExpiratoryFlowRateResponse.d.ts +12 -0
  298. package/api/types/GroupedPeakExpiratoryFlowRateResponse.js +5 -0
  299. package/api/types/GroupedSleepApneaAlert.d.ts +8 -0
  300. package/api/types/GroupedSleepApneaAlert.js +5 -0
  301. package/api/types/GroupedSleepApneaAlertResponse.d.ts +12 -0
  302. package/api/types/GroupedSleepApneaAlertResponse.js +5 -0
  303. package/api/types/GroupedSleepBreathingDisturbance.d.ts +8 -0
  304. package/api/types/GroupedSleepBreathingDisturbance.js +5 -0
  305. package/api/types/GroupedSleepBreathingDisturbanceResponse.d.ts +12 -0
  306. package/api/types/GroupedSleepBreathingDisturbanceResponse.js +5 -0
  307. package/api/types/GroupedStandDuration.d.ts +8 -0
  308. package/api/types/GroupedStandDuration.js +5 -0
  309. package/api/types/GroupedStandDurationResponse.d.ts +12 -0
  310. package/api/types/GroupedStandDurationResponse.js +5 -0
  311. package/api/types/GroupedStandHour.d.ts +8 -0
  312. package/api/types/GroupedStandHour.js +5 -0
  313. package/api/types/GroupedStandHourResponse.d.ts +12 -0
  314. package/api/types/GroupedStandHourResponse.js +5 -0
  315. package/api/types/GroupedUvExposure.d.ts +8 -0
  316. package/api/types/GroupedUvExposure.js +5 -0
  317. package/api/types/GroupedUvExposureResponse.d.ts +12 -0
  318. package/api/types/GroupedUvExposureResponse.js +5 -0
  319. package/api/types/GroupedWaistCircumference.d.ts +8 -0
  320. package/api/types/GroupedWaistCircumference.js +5 -0
  321. package/api/types/GroupedWaistCircumferenceResponse.d.ts +12 -0
  322. package/api/types/GroupedWaistCircumferenceResponse.js +5 -0
  323. package/api/types/GroupedWheelchairPush.d.ts +8 -0
  324. package/api/types/GroupedWheelchairPush.js +5 -0
  325. package/api/types/GroupedWheelchairPushResponse.d.ts +12 -0
  326. package/api/types/GroupedWheelchairPushResponse.js +5 -0
  327. package/api/types/HistoricalPullStatus.d.ts +2 -1
  328. package/api/types/HistoricalPullStatus.js +1 -0
  329. package/api/types/PatientAddress.d.ts +12 -0
  330. package/api/types/PatientAddress.js +5 -0
  331. package/api/types/TimeseriesResource.d.ts +18 -1
  332. package/api/types/TimeseriesResource.js +17 -0
  333. package/api/types/index.d.ts +110 -2
  334. package/api/types/index.js +110 -2
  335. package/core/fetcher/makeRequest.d.ts +1 -1
  336. package/dist/api/resources/activity/client/Client.js +2 -2
  337. package/dist/api/resources/aggregate/client/Client.js +2 -2
  338. package/dist/api/resources/body/client/Client.js +2 -2
  339. package/dist/api/resources/devices/client/Client.js +1 -1
  340. package/dist/api/resources/electrocardiogram/client/Client.js +1 -1
  341. package/dist/api/resources/insurance/client/Client.js +3 -3
  342. package/dist/api/resources/introspect/client/Client.js +2 -2
  343. package/dist/api/resources/labTests/client/Client.d.ts +34 -3
  344. package/dist/api/resources/labTests/client/Client.js +122 -39
  345. package/dist/api/resources/labTests/client/requests/ImportOrderBody.d.ts +40 -0
  346. package/dist/api/resources/labTests/client/requests/ImportOrderBody.js +5 -0
  347. package/dist/api/resources/labTests/client/requests/LabTestsGetLabelsPdfRequest.d.ts +0 -7
  348. package/dist/api/resources/labTests/client/requests/index.d.ts +1 -0
  349. package/dist/api/resources/link/client/Client.js +18 -18
  350. package/dist/api/resources/link/client/requests/LinkTokenExchange.d.ts +1 -0
  351. package/dist/api/resources/meal/client/Client.js +1 -1
  352. package/dist/api/resources/menstrualCycle/client/Client.js +1 -1
  353. package/dist/api/resources/order/client/Client.js +1 -1
  354. package/dist/api/resources/profile/client/Client.js +2 -2
  355. package/dist/api/resources/providers/client/Client.js +1 -1
  356. package/dist/api/resources/sleep/client/Client.js +4 -4
  357. package/dist/api/resources/sleepCycle/client/Client.js +1 -1
  358. package/dist/api/resources/team/client/Client.js +7 -7
  359. package/dist/api/resources/testkit/client/Client.js +2 -2
  360. package/dist/api/resources/user/client/Client.js +16 -16
  361. package/dist/api/resources/vitals/client/Client.d.ts +221 -0
  362. package/dist/api/resources/vitals/client/Client.js +1418 -58
  363. package/dist/api/resources/vitals/client/requests/VitalsBasalBodyTemperatureGroupedRequest.d.ts +31 -0
  364. package/dist/api/resources/vitals/client/requests/VitalsBasalBodyTemperatureGroupedRequest.js +5 -0
  365. package/dist/api/resources/vitals/client/requests/VitalsBodyMassIndexGroupedRequest.d.ts +31 -0
  366. package/dist/api/resources/vitals/client/requests/VitalsBodyMassIndexGroupedRequest.js +5 -0
  367. package/dist/api/resources/vitals/client/requests/VitalsDaylightExposureGroupedRequest.d.ts +31 -0
  368. package/dist/api/resources/vitals/client/requests/VitalsDaylightExposureGroupedRequest.js +5 -0
  369. package/dist/api/resources/vitals/client/requests/VitalsFallGroupedRequest.d.ts +31 -0
  370. package/dist/api/resources/vitals/client/requests/VitalsFallGroupedRequest.js +5 -0
  371. package/dist/api/resources/vitals/client/requests/VitalsForcedExpiratoryVolume1GroupedRequest.d.ts +31 -0
  372. package/dist/api/resources/vitals/client/requests/VitalsForcedExpiratoryVolume1GroupedRequest.js +5 -0
  373. package/dist/api/resources/vitals/client/requests/VitalsForcedVitalCapacityGroupedRequest.d.ts +31 -0
  374. package/dist/api/resources/vitals/client/requests/VitalsForcedVitalCapacityGroupedRequest.js +5 -0
  375. package/dist/api/resources/vitals/client/requests/VitalsHandwashingGroupedRequest.d.ts +31 -0
  376. package/dist/api/resources/vitals/client/requests/VitalsHandwashingGroupedRequest.js +5 -0
  377. package/dist/api/resources/vitals/client/requests/VitalsInhalerUsageGroupedRequest.d.ts +31 -0
  378. package/dist/api/resources/vitals/client/requests/VitalsInhalerUsageGroupedRequest.js +5 -0
  379. package/dist/api/resources/vitals/client/requests/VitalsLeanBodyMassGroupedRequest.d.ts +31 -0
  380. package/dist/api/resources/vitals/client/requests/VitalsLeanBodyMassGroupedRequest.js +5 -0
  381. package/dist/api/resources/vitals/client/requests/VitalsPeakExpiratoryFlowRateGroupedRequest.d.ts +31 -0
  382. package/dist/api/resources/vitals/client/requests/VitalsPeakExpiratoryFlowRateGroupedRequest.js +5 -0
  383. package/dist/api/resources/vitals/client/requests/VitalsSleepApneaAlertGroupedRequest.d.ts +31 -0
  384. package/dist/api/resources/vitals/client/requests/VitalsSleepApneaAlertGroupedRequest.js +5 -0
  385. package/dist/api/resources/vitals/client/requests/VitalsSleepBreathingDisturbanceGroupedRequest.d.ts +31 -0
  386. package/dist/api/resources/vitals/client/requests/VitalsSleepBreathingDisturbanceGroupedRequest.js +5 -0
  387. package/dist/api/resources/vitals/client/requests/VitalsStandDurationGroupedRequest.d.ts +31 -0
  388. package/dist/api/resources/vitals/client/requests/VitalsStandDurationGroupedRequest.js +5 -0
  389. package/dist/api/resources/vitals/client/requests/VitalsStandHourGroupedRequest.d.ts +31 -0
  390. package/dist/api/resources/vitals/client/requests/VitalsStandHourGroupedRequest.js +5 -0
  391. package/dist/api/resources/vitals/client/requests/VitalsUvExposureGroupedRequest.d.ts +31 -0
  392. package/dist/api/resources/vitals/client/requests/VitalsUvExposureGroupedRequest.js +5 -0
  393. package/dist/api/resources/vitals/client/requests/VitalsWaistCircumferenceGroupedRequest.d.ts +31 -0
  394. package/dist/api/resources/vitals/client/requests/VitalsWaistCircumferenceGroupedRequest.js +5 -0
  395. package/dist/api/resources/vitals/client/requests/VitalsWheelchairPushGroupedRequest.d.ts +31 -0
  396. package/dist/api/resources/vitals/client/requests/VitalsWheelchairPushGroupedRequest.js +5 -0
  397. package/dist/api/resources/vitals/client/requests/index.d.ts +17 -0
  398. package/dist/api/resources/workouts/client/Client.js +3 -3
  399. package/dist/api/types/ActivityColumnExprActivity.d.ts +4 -1
  400. package/dist/api/types/ActivityColumnExprActivity.js +3 -0
  401. package/dist/api/types/BodyColumnExprBody.d.ts +4 -1
  402. package/dist/api/types/BodyColumnExprBody.js +3 -0
  403. package/dist/api/types/ClientFacingAFibBurdenSample.d.ts +0 -2
  404. package/dist/api/types/ClientFacingActivity.d.ts +2 -0
  405. package/dist/api/types/{ClientFacingCreatedChanged.d.ts → ClientFacingAppointmentChanged.d.ts} +2 -2
  406. package/dist/api/types/ClientFacingAppointmentChanged.js +5 -0
  407. package/{api/types/ClientFacingCreatedChangedEventType.d.ts → dist/api/types/ClientFacingAppointmentChangedEventType.d.ts} +2 -2
  408. package/{api/types/ClientFacingCreatedChangedEventType.js → dist/api/types/ClientFacingAppointmentChangedEventType.js} +2 -2
  409. package/dist/api/types/ClientFacingBasalBodyTemperatureChanged.d.ts +11 -0
  410. package/dist/api/types/ClientFacingBasalBodyTemperatureChanged.js +5 -0
  411. package/dist/api/types/ClientFacingBasalBodyTemperatureChangedEventType.d.ts +8 -0
  412. package/dist/api/types/ClientFacingBasalBodyTemperatureChangedEventType.js +10 -0
  413. package/dist/api/types/ClientFacingBasalBodyTemperatureHistoricalPullCompleted.d.ts +11 -0
  414. package/dist/api/types/ClientFacingBasalBodyTemperatureHistoricalPullCompleted.js +5 -0
  415. package/dist/api/types/ClientFacingBasalBodyTemperatureSample.d.ts +20 -0
  416. package/dist/api/types/ClientFacingBasalBodyTemperatureSample.js +5 -0
  417. package/dist/api/types/ClientFacingBloodOxygenTimeseries.d.ts +0 -2
  418. package/dist/api/types/ClientFacingBody.d.ts +3 -0
  419. package/dist/api/types/ClientFacingBodyFatTimeseries.d.ts +0 -2
  420. package/dist/api/types/ClientFacingBodyMassIndexChanged.d.ts +11 -0
  421. package/dist/api/types/ClientFacingBodyMassIndexChanged.js +5 -0
  422. package/dist/api/types/ClientFacingBodyMassIndexChangedEventType.d.ts +8 -0
  423. package/dist/api/types/ClientFacingBodyMassIndexChangedEventType.js +10 -0
  424. package/dist/api/types/ClientFacingBodyMassIndexHistoricalPullCompleted.d.ts +11 -0
  425. package/dist/api/types/ClientFacingBodyMassIndexHistoricalPullCompleted.js +5 -0
  426. package/dist/api/types/ClientFacingBodyMassIndexSample.d.ts +20 -0
  427. package/dist/api/types/ClientFacingBodyMassIndexSample.js +5 -0
  428. package/dist/api/types/ClientFacingBodyTemperatureDeltaSample.d.ts +0 -1
  429. package/dist/api/types/ClientFacingBodyTemperatureSample.d.ts +0 -1
  430. package/dist/api/types/ClientFacingBodyWeightTimeseries.d.ts +0 -2
  431. package/dist/api/types/ClientFacingCaffeineTimeseries.d.ts +0 -2
  432. package/dist/api/types/ClientFacingCaloriesActiveTimeseries.d.ts +0 -2
  433. package/dist/api/types/ClientFacingCaloriesBasalTimeseries.d.ts +0 -2
  434. package/dist/api/types/ClientFacingCarbohydratesSample.d.ts +0 -2
  435. package/dist/api/types/ClientFacingCholesterolTimeseries.d.ts +0 -2
  436. package/dist/api/types/ClientFacingDaylightExposureChanged.d.ts +11 -0
  437. package/dist/api/types/ClientFacingDaylightExposureChanged.js +5 -0
  438. package/dist/api/types/ClientFacingDaylightExposureChangedEventType.d.ts +8 -0
  439. package/dist/api/types/ClientFacingDaylightExposureChangedEventType.js +10 -0
  440. package/dist/api/types/ClientFacingDaylightExposureHistoricalPullCompleted.d.ts +11 -0
  441. package/dist/api/types/ClientFacingDaylightExposureHistoricalPullCompleted.js +5 -0
  442. package/dist/api/types/ClientFacingDaylightExposureSample.d.ts +20 -0
  443. package/dist/api/types/ClientFacingDaylightExposureSample.js +5 -0
  444. package/dist/api/types/ClientFacingDistanceTimeseries.d.ts +0 -2
  445. package/dist/api/types/ClientFacingElectrocardiogramVoltageTimeseries.d.ts +1 -3
  446. package/dist/api/types/ClientFacingFallChanged.d.ts +11 -0
  447. package/dist/api/types/ClientFacingFallChanged.js +5 -0
  448. package/dist/api/types/ClientFacingFallChangedEventType.d.ts +8 -0
  449. package/dist/api/types/ClientFacingFallChangedEventType.js +10 -0
  450. package/dist/api/types/ClientFacingFallHistoricalPullCompleted.d.ts +11 -0
  451. package/dist/api/types/ClientFacingFallHistoricalPullCompleted.js +5 -0
  452. package/dist/api/types/ClientFacingFallSample.d.ts +20 -0
  453. package/dist/api/types/ClientFacingFallSample.js +5 -0
  454. package/dist/api/types/ClientFacingFloorsClimbedTimeseries.d.ts +0 -2
  455. package/dist/api/types/ClientFacingForcedExpiratoryVolume1Changed.d.ts +11 -0
  456. package/dist/api/types/ClientFacingForcedExpiratoryVolume1Changed.js +5 -0
  457. package/dist/api/types/ClientFacingForcedExpiratoryVolume1ChangedEventType.d.ts +8 -0
  458. package/dist/api/types/ClientFacingForcedExpiratoryVolume1ChangedEventType.js +10 -0
  459. package/dist/api/types/ClientFacingForcedExpiratoryVolume1HistoricalPullCompleted.d.ts +11 -0
  460. package/dist/api/types/ClientFacingForcedExpiratoryVolume1HistoricalPullCompleted.js +5 -0
  461. package/dist/api/types/ClientFacingForcedExpiratoryVolume1Sample.d.ts +20 -0
  462. package/dist/api/types/ClientFacingForcedExpiratoryVolume1Sample.js +5 -0
  463. package/dist/api/types/ClientFacingForcedVitalCapacityChanged.d.ts +11 -0
  464. package/dist/api/types/ClientFacingForcedVitalCapacityChanged.js +5 -0
  465. package/dist/api/types/ClientFacingForcedVitalCapacityChangedEventType.d.ts +8 -0
  466. package/dist/api/types/ClientFacingForcedVitalCapacityChangedEventType.js +10 -0
  467. package/dist/api/types/ClientFacingForcedVitalCapacityHistoricalPullCompleted.d.ts +11 -0
  468. package/dist/api/types/ClientFacingForcedVitalCapacityHistoricalPullCompleted.js +5 -0
  469. package/dist/api/types/ClientFacingForcedVitalCapacitySample.d.ts +20 -0
  470. package/dist/api/types/ClientFacingForcedVitalCapacitySample.js +5 -0
  471. package/dist/api/types/ClientFacingGlucoseTimeseries.d.ts +0 -2
  472. package/dist/api/types/ClientFacingHandwashingChanged.d.ts +11 -0
  473. package/dist/api/types/ClientFacingHandwashingChanged.js +5 -0
  474. package/dist/api/types/ClientFacingHandwashingChangedEventType.d.ts +8 -0
  475. package/dist/api/types/ClientFacingHandwashingChangedEventType.js +10 -0
  476. package/dist/api/types/ClientFacingHandwashingHistoricalPullCompleted.d.ts +11 -0
  477. package/dist/api/types/ClientFacingHandwashingHistoricalPullCompleted.js +5 -0
  478. package/dist/api/types/ClientFacingHandwashingSample.d.ts +20 -0
  479. package/dist/api/types/ClientFacingHandwashingSample.js +5 -0
  480. package/dist/api/types/ClientFacingHeartRate.d.ts +1 -0
  481. package/dist/api/types/ClientFacingHeartRateAlertSample.d.ts +0 -1
  482. package/dist/api/types/ClientFacingHeartRateTimeseries.d.ts +0 -2
  483. package/dist/api/types/ClientFacingHrvTimeseries.d.ts +0 -2
  484. package/dist/api/types/ClientFacingHypnogramTimeseries.d.ts +0 -2
  485. package/dist/api/types/ClientFacingIgeTimeseries.d.ts +0 -2
  486. package/dist/api/types/ClientFacingIggTimeseries.d.ts +0 -2
  487. package/dist/api/types/ClientFacingInhalerUsageChanged.d.ts +11 -0
  488. package/dist/api/types/ClientFacingInhalerUsageChanged.js +5 -0
  489. package/dist/api/types/ClientFacingInhalerUsageChangedEventType.d.ts +8 -0
  490. package/dist/api/types/ClientFacingInhalerUsageChangedEventType.js +10 -0
  491. package/dist/api/types/ClientFacingInhalerUsageHistoricalPullCompleted.d.ts +11 -0
  492. package/dist/api/types/ClientFacingInhalerUsageHistoricalPullCompleted.js +5 -0
  493. package/dist/api/types/ClientFacingInhalerUsageSample.d.ts +20 -0
  494. package/dist/api/types/ClientFacingInhalerUsageSample.js +5 -0
  495. package/dist/api/types/ClientFacingInsulinInjectionSample.d.ts +0 -1
  496. package/dist/api/types/ClientFacingLeanBodyMassChanged.d.ts +11 -0
  497. package/dist/api/types/ClientFacingLeanBodyMassChanged.js +5 -0
  498. package/dist/api/types/ClientFacingLeanBodyMassChangedEventType.d.ts +8 -0
  499. package/dist/api/types/ClientFacingLeanBodyMassChangedEventType.js +10 -0
  500. package/dist/api/types/ClientFacingLeanBodyMassHistoricalPullCompleted.d.ts +11 -0
  501. package/dist/api/types/ClientFacingLeanBodyMassHistoricalPullCompleted.js +5 -0
  502. package/dist/api/types/ClientFacingLeanBodyMassSample.d.ts +20 -0
  503. package/dist/api/types/ClientFacingLeanBodyMassSample.js +5 -0
  504. package/dist/api/types/ClientFacingMindfulnessMinutesTimeseries.d.ts +0 -2
  505. package/dist/api/types/ClientFacingNoteSample.d.ts +0 -1
  506. package/dist/api/types/ClientFacingOrderChanged.d.ts +11 -0
  507. package/dist/api/types/ClientFacingOrderChanged.js +5 -0
  508. package/dist/api/types/ClientFacingOrderChangedEventType.d.ts +8 -0
  509. package/dist/api/types/ClientFacingOrderChangedEventType.js +10 -0
  510. package/dist/api/types/ClientFacingPeakExpiratoryFlowRateChanged.d.ts +11 -0
  511. package/dist/api/types/ClientFacingPeakExpiratoryFlowRateChanged.js +5 -0
  512. package/dist/api/types/ClientFacingPeakExpiratoryFlowRateChangedEventType.d.ts +8 -0
  513. package/dist/api/types/ClientFacingPeakExpiratoryFlowRateChangedEventType.js +10 -0
  514. package/dist/api/types/ClientFacingPeakExpiratoryFlowRateHistoricalPullCompleted.d.ts +11 -0
  515. package/dist/api/types/ClientFacingPeakExpiratoryFlowRateHistoricalPullCompleted.js +5 -0
  516. package/dist/api/types/ClientFacingPeakExpiratoryFlowRateSample.d.ts +20 -0
  517. package/dist/api/types/ClientFacingPeakExpiratoryFlowRateSample.js +5 -0
  518. package/dist/api/types/ClientFacingProfile.d.ts +2 -0
  519. package/dist/api/types/ClientFacingResource.d.ts +18 -1
  520. package/dist/api/types/ClientFacingResource.js +17 -0
  521. package/dist/api/types/ClientFacingRespiratoryRateTimeseries.d.ts +0 -2
  522. package/dist/api/types/ClientFacingSleep.d.ts +1 -1
  523. package/dist/api/types/ClientFacingSleepApneaAlertChanged.d.ts +11 -0
  524. package/dist/api/types/ClientFacingSleepApneaAlertChanged.js +5 -0
  525. package/dist/api/types/ClientFacingSleepApneaAlertChangedEventType.d.ts +8 -0
  526. package/dist/api/types/ClientFacingSleepApneaAlertChangedEventType.js +10 -0
  527. package/dist/api/types/ClientFacingSleepApneaAlertHistoricalPullCompleted.d.ts +11 -0
  528. package/dist/api/types/ClientFacingSleepApneaAlertHistoricalPullCompleted.js +5 -0
  529. package/dist/api/types/ClientFacingSleepApneaAlertSample.d.ts +20 -0
  530. package/dist/api/types/ClientFacingSleepApneaAlertSample.js +5 -0
  531. package/dist/api/types/ClientFacingSleepBreathingDisturbanceChanged.d.ts +11 -0
  532. package/dist/api/types/ClientFacingSleepBreathingDisturbanceChanged.js +5 -0
  533. package/dist/api/types/ClientFacingSleepBreathingDisturbanceChangedEventType.d.ts +8 -0
  534. package/dist/api/types/ClientFacingSleepBreathingDisturbanceChangedEventType.js +10 -0
  535. package/dist/api/types/ClientFacingSleepBreathingDisturbanceHistoricalPullCompleted.d.ts +11 -0
  536. package/dist/api/types/ClientFacingSleepBreathingDisturbanceHistoricalPullCompleted.js +5 -0
  537. package/dist/api/types/ClientFacingSleepBreathingDisturbanceSample.d.ts +20 -0
  538. package/dist/api/types/ClientFacingSleepBreathingDisturbanceSample.js +5 -0
  539. package/dist/api/types/ClientFacingSleepBreathingDisturbanceSampleType.d.ts +8 -0
  540. package/dist/api/types/ClientFacingSleepBreathingDisturbanceSampleType.js +10 -0
  541. package/dist/api/types/ClientFacingSource.d.ts +14 -0
  542. package/dist/api/types/ClientFacingStandDurationChanged.d.ts +11 -0
  543. package/dist/api/types/ClientFacingStandDurationChanged.js +5 -0
  544. package/dist/api/types/ClientFacingStandDurationChangedEventType.d.ts +8 -0
  545. package/dist/api/types/ClientFacingStandDurationChangedEventType.js +10 -0
  546. package/dist/api/types/ClientFacingStandDurationHistoricalPullCompleted.d.ts +11 -0
  547. package/dist/api/types/ClientFacingStandDurationHistoricalPullCompleted.js +5 -0
  548. package/dist/api/types/ClientFacingStandDurationSample.d.ts +20 -0
  549. package/dist/api/types/ClientFacingStandDurationSample.js +5 -0
  550. package/dist/api/types/ClientFacingStandHourChanged.d.ts +11 -0
  551. package/dist/api/types/ClientFacingStandHourChanged.js +5 -0
  552. package/dist/api/types/ClientFacingStandHourChangedEventType.d.ts +8 -0
  553. package/dist/api/types/ClientFacingStandHourChangedEventType.js +10 -0
  554. package/dist/api/types/ClientFacingStandHourHistoricalPullCompleted.d.ts +11 -0
  555. package/dist/api/types/ClientFacingStandHourHistoricalPullCompleted.js +5 -0
  556. package/dist/api/types/ClientFacingStandHourSample.d.ts +20 -0
  557. package/dist/api/types/ClientFacingStandHourSample.js +5 -0
  558. package/dist/api/types/ClientFacingStandHourSampleType.d.ts +8 -0
  559. package/dist/api/types/ClientFacingStandHourSampleType.js +10 -0
  560. package/dist/api/types/ClientFacingStepsTimeseries.d.ts +0 -2
  561. package/dist/api/types/ClientFacingStressLevelTimeseries.d.ts +0 -2
  562. package/dist/api/types/ClientFacingUser.d.ts +1 -0
  563. package/dist/api/types/ClientFacingUvExposureChanged.d.ts +11 -0
  564. package/dist/api/types/ClientFacingUvExposureChanged.js +5 -0
  565. package/dist/api/types/ClientFacingUvExposureChangedEventType.d.ts +8 -0
  566. package/dist/api/types/ClientFacingUvExposureChangedEventType.js +10 -0
  567. package/dist/api/types/ClientFacingUvExposureHistoricalPullCompleted.d.ts +11 -0
  568. package/dist/api/types/ClientFacingUvExposureHistoricalPullCompleted.js +5 -0
  569. package/dist/api/types/ClientFacingUvExposureSample.d.ts +20 -0
  570. package/dist/api/types/ClientFacingUvExposureSample.js +5 -0
  571. package/dist/api/types/ClientFacingVo2MaxTimeseries.d.ts +0 -2
  572. package/dist/api/types/ClientFacingWaistCircumferenceChanged.d.ts +11 -0
  573. package/dist/api/types/ClientFacingWaistCircumferenceChanged.js +5 -0
  574. package/dist/api/types/ClientFacingWaistCircumferenceChangedEventType.d.ts +8 -0
  575. package/dist/api/types/ClientFacingWaistCircumferenceChangedEventType.js +10 -0
  576. package/dist/api/types/ClientFacingWaistCircumferenceHistoricalPullCompleted.d.ts +11 -0
  577. package/dist/api/types/ClientFacingWaistCircumferenceHistoricalPullCompleted.js +5 -0
  578. package/dist/api/types/ClientFacingWaistCircumferenceSample.d.ts +20 -0
  579. package/dist/api/types/ClientFacingWaistCircumferenceSample.js +5 -0
  580. package/dist/api/types/ClientFacingWaterTimeseries.d.ts +0 -2
  581. package/dist/api/types/ClientFacingWheelchairPushChanged.d.ts +11 -0
  582. package/dist/api/types/ClientFacingWheelchairPushChanged.js +5 -0
  583. package/dist/api/types/ClientFacingWheelchairPushChangedEventType.d.ts +8 -0
  584. package/dist/api/types/ClientFacingWheelchairPushChangedEventType.js +10 -0
  585. package/dist/api/types/ClientFacingWheelchairPushHistoricalPullCompleted.d.ts +11 -0
  586. package/dist/api/types/ClientFacingWheelchairPushHistoricalPullCompleted.js +5 -0
  587. package/dist/api/types/ClientFacingWheelchairPushSample.d.ts +20 -0
  588. package/dist/api/types/ClientFacingWheelchairPushSample.js +5 -0
  589. package/dist/api/types/ClientFacingWorkoutDurationSample.d.ts +0 -1
  590. package/dist/api/types/ClientUserIdConflictResponse.d.ts +7 -0
  591. package/dist/api/types/ClientUserIdConflictResponse.js +5 -0
  592. package/dist/api/types/ConnectionRecipe.d.ts +10 -10
  593. package/dist/api/types/ContinuousQueryResultTableChanges.d.ts +1 -0
  594. package/dist/api/types/FallbackTimeZone.d.ts +1 -0
  595. package/dist/api/types/GroupedBasalBodyTemperature.d.ts +8 -0
  596. package/dist/api/types/GroupedBasalBodyTemperature.js +5 -0
  597. package/dist/api/types/GroupedBasalBodyTemperatureResponse.d.ts +12 -0
  598. package/dist/api/types/GroupedBasalBodyTemperatureResponse.js +5 -0
  599. package/dist/api/types/GroupedBodyMassIndex.d.ts +8 -0
  600. package/dist/api/types/GroupedBodyMassIndex.js +5 -0
  601. package/dist/api/types/GroupedBodyMassIndexResponse.d.ts +12 -0
  602. package/dist/api/types/GroupedBodyMassIndexResponse.js +5 -0
  603. package/dist/api/types/GroupedDaylightExposure.d.ts +8 -0
  604. package/dist/api/types/GroupedDaylightExposure.js +5 -0
  605. package/dist/api/types/GroupedDaylightExposureResponse.d.ts +12 -0
  606. package/dist/api/types/GroupedDaylightExposureResponse.js +5 -0
  607. package/dist/api/types/GroupedFall.d.ts +8 -0
  608. package/dist/api/types/GroupedFall.js +5 -0
  609. package/dist/api/types/GroupedFallResponse.d.ts +12 -0
  610. package/dist/api/types/GroupedFallResponse.js +5 -0
  611. package/dist/api/types/GroupedForcedExpiratoryVolume1.d.ts +8 -0
  612. package/dist/api/types/GroupedForcedExpiratoryVolume1.js +5 -0
  613. package/dist/api/types/GroupedForcedExpiratoryVolume1Response.d.ts +12 -0
  614. package/dist/api/types/GroupedForcedExpiratoryVolume1Response.js +5 -0
  615. package/dist/api/types/GroupedForcedVitalCapacity.d.ts +8 -0
  616. package/dist/api/types/GroupedForcedVitalCapacity.js +5 -0
  617. package/dist/api/types/GroupedForcedVitalCapacityResponse.d.ts +12 -0
  618. package/dist/api/types/GroupedForcedVitalCapacityResponse.js +5 -0
  619. package/dist/api/types/GroupedHandwashing.d.ts +8 -0
  620. package/dist/api/types/GroupedHandwashing.js +5 -0
  621. package/dist/api/types/GroupedHandwashingResponse.d.ts +12 -0
  622. package/dist/api/types/GroupedHandwashingResponse.js +5 -0
  623. package/dist/api/types/GroupedInhalerUsage.d.ts +8 -0
  624. package/dist/api/types/GroupedInhalerUsage.js +5 -0
  625. package/dist/api/types/GroupedInhalerUsageResponse.d.ts +12 -0
  626. package/dist/api/types/GroupedInhalerUsageResponse.js +5 -0
  627. package/dist/api/types/GroupedLeanBodyMass.d.ts +8 -0
  628. package/dist/api/types/GroupedLeanBodyMass.js +5 -0
  629. package/dist/api/types/GroupedLeanBodyMassResponse.d.ts +12 -0
  630. package/dist/api/types/GroupedLeanBodyMassResponse.js +5 -0
  631. package/dist/api/types/GroupedPeakExpiratoryFlowRate.d.ts +8 -0
  632. package/dist/api/types/GroupedPeakExpiratoryFlowRate.js +5 -0
  633. package/dist/api/types/GroupedPeakExpiratoryFlowRateResponse.d.ts +12 -0
  634. package/dist/api/types/GroupedPeakExpiratoryFlowRateResponse.js +5 -0
  635. package/dist/api/types/GroupedSleepApneaAlert.d.ts +8 -0
  636. package/dist/api/types/GroupedSleepApneaAlert.js +5 -0
  637. package/dist/api/types/GroupedSleepApneaAlertResponse.d.ts +12 -0
  638. package/dist/api/types/GroupedSleepApneaAlertResponse.js +5 -0
  639. package/dist/api/types/GroupedSleepBreathingDisturbance.d.ts +8 -0
  640. package/dist/api/types/GroupedSleepBreathingDisturbance.js +5 -0
  641. package/dist/api/types/GroupedSleepBreathingDisturbanceResponse.d.ts +12 -0
  642. package/dist/api/types/GroupedSleepBreathingDisturbanceResponse.js +5 -0
  643. package/dist/api/types/GroupedStandDuration.d.ts +8 -0
  644. package/dist/api/types/GroupedStandDuration.js +5 -0
  645. package/dist/api/types/GroupedStandDurationResponse.d.ts +12 -0
  646. package/dist/api/types/GroupedStandDurationResponse.js +5 -0
  647. package/dist/api/types/GroupedStandHour.d.ts +8 -0
  648. package/dist/api/types/GroupedStandHour.js +5 -0
  649. package/dist/api/types/GroupedStandHourResponse.d.ts +12 -0
  650. package/dist/api/types/GroupedStandHourResponse.js +5 -0
  651. package/dist/api/types/GroupedUvExposure.d.ts +8 -0
  652. package/dist/api/types/GroupedUvExposure.js +5 -0
  653. package/dist/api/types/GroupedUvExposureResponse.d.ts +12 -0
  654. package/dist/api/types/GroupedUvExposureResponse.js +5 -0
  655. package/dist/api/types/GroupedWaistCircumference.d.ts +8 -0
  656. package/dist/api/types/GroupedWaistCircumference.js +5 -0
  657. package/dist/api/types/GroupedWaistCircumferenceResponse.d.ts +12 -0
  658. package/dist/api/types/GroupedWaistCircumferenceResponse.js +5 -0
  659. package/dist/api/types/GroupedWheelchairPush.d.ts +8 -0
  660. package/dist/api/types/GroupedWheelchairPush.js +5 -0
  661. package/dist/api/types/GroupedWheelchairPushResponse.d.ts +12 -0
  662. package/dist/api/types/GroupedWheelchairPushResponse.js +5 -0
  663. package/dist/api/types/HistoricalPullStatus.d.ts +2 -1
  664. package/dist/api/types/HistoricalPullStatus.js +1 -0
  665. package/dist/api/types/PatientAddress.d.ts +12 -0
  666. package/dist/api/types/PatientAddress.js +5 -0
  667. package/dist/api/types/TimeseriesResource.d.ts +18 -1
  668. package/dist/api/types/TimeseriesResource.js +17 -0
  669. package/dist/api/types/index.d.ts +110 -2
  670. package/dist/api/types/index.js +110 -2
  671. package/dist/core/fetcher/makeRequest.d.ts +1 -1
  672. package/dist/serialization/resources/labTests/client/requests/ImportOrderBody.d.ts +25 -0
  673. package/dist/serialization/resources/labTests/client/requests/ImportOrderBody.js +46 -0
  674. package/dist/serialization/resources/labTests/client/requests/index.d.ts +1 -0
  675. package/dist/serialization/resources/labTests/client/requests/index.js +3 -1
  676. package/dist/serialization/resources/link/client/requests/LinkTokenExchange.d.ts +1 -0
  677. package/dist/serialization/resources/link/client/requests/LinkTokenExchange.js +1 -0
  678. package/dist/serialization/types/ActivityColumnExprActivity.d.ts +1 -1
  679. package/dist/serialization/types/ActivityColumnExprActivity.js +3 -0
  680. package/dist/serialization/types/BodyColumnExprBody.d.ts +1 -1
  681. package/dist/serialization/types/BodyColumnExprBody.js +3 -0
  682. package/dist/serialization/types/ClientFacingAFibBurdenSample.d.ts +0 -2
  683. package/dist/serialization/types/ClientFacingAFibBurdenSample.js +0 -2
  684. package/dist/serialization/types/ClientFacingActivity.d.ts +2 -0
  685. package/dist/serialization/types/ClientFacingActivity.js +2 -0
  686. package/dist/serialization/types/{ClientFacingCreatedChanged.d.ts → ClientFacingAppointmentChanged.d.ts} +4 -4
  687. package/dist/serialization/types/{ClientFacingCreatedChanged.js → ClientFacingAppointmentChanged.js} +4 -4
  688. package/{serialization/types/ClientFacingCreatedChangedEventType.d.ts → dist/serialization/types/ClientFacingAppointmentChangedEventType.d.ts} +2 -2
  689. package/dist/serialization/types/ClientFacingAppointmentChangedEventType.js +31 -0
  690. package/dist/serialization/types/ClientFacingBasalBodyTemperatureChanged.d.ts +18 -0
  691. package/dist/serialization/types/ClientFacingBasalBodyTemperatureChanged.js +39 -0
  692. package/dist/serialization/types/ClientFacingBasalBodyTemperatureChangedEventType.d.ts +10 -0
  693. package/dist/serialization/types/ClientFacingBasalBodyTemperatureChangedEventType.js +34 -0
  694. package/dist/serialization/types/ClientFacingBasalBodyTemperatureHistoricalPullCompleted.d.ts +17 -0
  695. package/dist/serialization/types/ClientFacingBasalBodyTemperatureHistoricalPullCompleted.js +38 -0
  696. package/dist/serialization/types/ClientFacingBasalBodyTemperatureSample.d.ts +19 -0
  697. package/dist/serialization/types/ClientFacingBasalBodyTemperatureSample.js +40 -0
  698. package/dist/serialization/types/ClientFacingBloodOxygenTimeseries.d.ts +0 -2
  699. package/dist/serialization/types/ClientFacingBloodOxygenTimeseries.js +0 -2
  700. package/dist/serialization/types/ClientFacingBody.d.ts +3 -0
  701. package/dist/serialization/types/ClientFacingBody.js +3 -0
  702. package/dist/serialization/types/ClientFacingBodyFatTimeseries.d.ts +0 -2
  703. package/dist/serialization/types/ClientFacingBodyFatTimeseries.js +0 -2
  704. package/dist/serialization/types/ClientFacingBodyMassIndexChanged.d.ts +18 -0
  705. package/dist/serialization/types/ClientFacingBodyMassIndexChanged.js +39 -0
  706. package/dist/serialization/types/ClientFacingBodyMassIndexChangedEventType.d.ts +10 -0
  707. package/dist/serialization/types/ClientFacingBodyMassIndexChangedEventType.js +31 -0
  708. package/dist/serialization/types/ClientFacingBodyMassIndexHistoricalPullCompleted.d.ts +17 -0
  709. package/dist/serialization/types/ClientFacingBodyMassIndexHistoricalPullCompleted.js +38 -0
  710. package/dist/serialization/types/ClientFacingBodyMassIndexSample.d.ts +19 -0
  711. package/dist/serialization/types/ClientFacingBodyMassIndexSample.js +40 -0
  712. package/dist/serialization/types/ClientFacingBodyTemperatureDeltaSample.d.ts +0 -2
  713. package/dist/serialization/types/ClientFacingBodyTemperatureDeltaSample.js +0 -2
  714. package/dist/serialization/types/ClientFacingBodyTemperatureSample.d.ts +0 -2
  715. package/dist/serialization/types/ClientFacingBodyTemperatureSample.js +0 -2
  716. package/dist/serialization/types/ClientFacingBodyWeightTimeseries.d.ts +0 -2
  717. package/dist/serialization/types/ClientFacingBodyWeightTimeseries.js +0 -2
  718. package/dist/serialization/types/ClientFacingCaffeineTimeseries.d.ts +0 -2
  719. package/dist/serialization/types/ClientFacingCaffeineTimeseries.js +0 -2
  720. package/dist/serialization/types/ClientFacingCaloriesActiveTimeseries.d.ts +0 -2
  721. package/dist/serialization/types/ClientFacingCaloriesActiveTimeseries.js +0 -2
  722. package/dist/serialization/types/ClientFacingCaloriesBasalTimeseries.d.ts +0 -2
  723. package/dist/serialization/types/ClientFacingCaloriesBasalTimeseries.js +0 -2
  724. package/dist/serialization/types/ClientFacingCarbohydratesSample.d.ts +0 -2
  725. package/dist/serialization/types/ClientFacingCarbohydratesSample.js +0 -2
  726. package/dist/serialization/types/ClientFacingCholesterolTimeseries.d.ts +0 -2
  727. package/dist/serialization/types/ClientFacingCholesterolTimeseries.js +0 -2
  728. package/dist/serialization/types/ClientFacingDaylightExposureChanged.d.ts +18 -0
  729. package/dist/serialization/types/ClientFacingDaylightExposureChanged.js +39 -0
  730. package/dist/serialization/types/ClientFacingDaylightExposureChangedEventType.d.ts +10 -0
  731. package/dist/serialization/types/ClientFacingDaylightExposureChangedEventType.js +31 -0
  732. package/dist/serialization/types/ClientFacingDaylightExposureHistoricalPullCompleted.d.ts +17 -0
  733. package/dist/serialization/types/ClientFacingDaylightExposureHistoricalPullCompleted.js +38 -0
  734. package/dist/serialization/types/ClientFacingDaylightExposureSample.d.ts +19 -0
  735. package/dist/serialization/types/ClientFacingDaylightExposureSample.js +40 -0
  736. package/dist/serialization/types/ClientFacingDistanceTimeseries.d.ts +0 -2
  737. package/dist/serialization/types/ClientFacingDistanceTimeseries.js +0 -2
  738. package/dist/serialization/types/ClientFacingElectrocardiogramVoltageTimeseries.d.ts +1 -3
  739. package/dist/serialization/types/ClientFacingElectrocardiogramVoltageTimeseries.js +1 -3
  740. package/dist/serialization/types/ClientFacingFallChanged.d.ts +18 -0
  741. package/dist/serialization/types/ClientFacingFallChanged.js +39 -0
  742. package/dist/serialization/types/ClientFacingFallChangedEventType.d.ts +10 -0
  743. package/dist/serialization/types/{ClientFacingCreatedChangedEventType.js → ClientFacingFallChangedEventType.js} +2 -2
  744. package/dist/serialization/types/ClientFacingFallHistoricalPullCompleted.d.ts +17 -0
  745. package/dist/serialization/types/ClientFacingFallHistoricalPullCompleted.js +38 -0
  746. package/dist/serialization/types/ClientFacingFallSample.d.ts +19 -0
  747. package/dist/serialization/types/ClientFacingFallSample.js +40 -0
  748. package/dist/serialization/types/ClientFacingFloorsClimbedTimeseries.d.ts +0 -2
  749. package/dist/serialization/types/ClientFacingFloorsClimbedTimeseries.js +0 -2
  750. package/dist/serialization/types/ClientFacingForcedExpiratoryVolume1Changed.d.ts +18 -0
  751. package/dist/serialization/types/ClientFacingForcedExpiratoryVolume1Changed.js +39 -0
  752. package/dist/serialization/types/ClientFacingForcedExpiratoryVolume1ChangedEventType.d.ts +10 -0
  753. package/dist/serialization/types/ClientFacingForcedExpiratoryVolume1ChangedEventType.js +34 -0
  754. package/dist/serialization/types/ClientFacingForcedExpiratoryVolume1HistoricalPullCompleted.d.ts +17 -0
  755. package/dist/serialization/types/ClientFacingForcedExpiratoryVolume1HistoricalPullCompleted.js +38 -0
  756. package/dist/serialization/types/ClientFacingForcedExpiratoryVolume1Sample.d.ts +19 -0
  757. package/dist/serialization/types/ClientFacingForcedExpiratoryVolume1Sample.js +40 -0
  758. package/dist/serialization/types/ClientFacingForcedVitalCapacityChanged.d.ts +18 -0
  759. package/dist/serialization/types/ClientFacingForcedVitalCapacityChanged.js +39 -0
  760. package/dist/serialization/types/ClientFacingForcedVitalCapacityChangedEventType.d.ts +10 -0
  761. package/dist/serialization/types/ClientFacingForcedVitalCapacityChangedEventType.js +31 -0
  762. package/dist/serialization/types/ClientFacingForcedVitalCapacityHistoricalPullCompleted.d.ts +17 -0
  763. package/dist/serialization/types/ClientFacingForcedVitalCapacityHistoricalPullCompleted.js +38 -0
  764. package/dist/serialization/types/ClientFacingForcedVitalCapacitySample.d.ts +19 -0
  765. package/dist/serialization/types/ClientFacingForcedVitalCapacitySample.js +40 -0
  766. package/dist/serialization/types/ClientFacingGlucoseTimeseries.d.ts +0 -2
  767. package/dist/serialization/types/ClientFacingGlucoseTimeseries.js +0 -2
  768. package/dist/serialization/types/ClientFacingHandwashingChanged.d.ts +18 -0
  769. package/dist/serialization/types/ClientFacingHandwashingChanged.js +39 -0
  770. package/dist/serialization/types/ClientFacingHandwashingChangedEventType.d.ts +10 -0
  771. package/dist/serialization/types/ClientFacingHandwashingChangedEventType.js +31 -0
  772. package/dist/serialization/types/ClientFacingHandwashingHistoricalPullCompleted.d.ts +17 -0
  773. package/dist/serialization/types/ClientFacingHandwashingHistoricalPullCompleted.js +38 -0
  774. package/dist/serialization/types/ClientFacingHandwashingSample.d.ts +19 -0
  775. package/dist/serialization/types/ClientFacingHandwashingSample.js +40 -0
  776. package/dist/serialization/types/ClientFacingHeartRate.d.ts +1 -0
  777. package/dist/serialization/types/ClientFacingHeartRate.js +1 -0
  778. package/dist/serialization/types/ClientFacingHeartRateAlertSample.d.ts +0 -2
  779. package/dist/serialization/types/ClientFacingHeartRateAlertSample.js +0 -2
  780. package/dist/serialization/types/ClientFacingHeartRateTimeseries.d.ts +0 -2
  781. package/dist/serialization/types/ClientFacingHeartRateTimeseries.js +0 -2
  782. package/dist/serialization/types/ClientFacingHrvTimeseries.d.ts +0 -2
  783. package/dist/serialization/types/ClientFacingHrvTimeseries.js +0 -2
  784. package/dist/serialization/types/ClientFacingHypnogramTimeseries.d.ts +0 -2
  785. package/dist/serialization/types/ClientFacingHypnogramTimeseries.js +0 -2
  786. package/dist/serialization/types/ClientFacingIgeTimeseries.d.ts +0 -2
  787. package/dist/serialization/types/ClientFacingIgeTimeseries.js +0 -2
  788. package/dist/serialization/types/ClientFacingIggTimeseries.d.ts +0 -2
  789. package/dist/serialization/types/ClientFacingIggTimeseries.js +0 -2
  790. package/dist/serialization/types/ClientFacingInhalerUsageChanged.d.ts +18 -0
  791. package/dist/serialization/types/ClientFacingInhalerUsageChanged.js +39 -0
  792. package/dist/serialization/types/ClientFacingInhalerUsageChangedEventType.d.ts +10 -0
  793. package/dist/serialization/types/ClientFacingInhalerUsageChangedEventType.js +31 -0
  794. package/dist/serialization/types/ClientFacingInhalerUsageHistoricalPullCompleted.d.ts +17 -0
  795. package/dist/serialization/types/ClientFacingInhalerUsageHistoricalPullCompleted.js +38 -0
  796. package/dist/serialization/types/ClientFacingInhalerUsageSample.d.ts +19 -0
  797. package/dist/serialization/types/ClientFacingInhalerUsageSample.js +40 -0
  798. package/dist/serialization/types/ClientFacingInsulinInjectionSample.d.ts +0 -2
  799. package/dist/serialization/types/ClientFacingInsulinInjectionSample.js +0 -2
  800. package/dist/serialization/types/ClientFacingLeanBodyMassChanged.d.ts +18 -0
  801. package/dist/serialization/types/ClientFacingLeanBodyMassChanged.js +39 -0
  802. package/dist/serialization/types/ClientFacingLeanBodyMassChangedEventType.d.ts +10 -0
  803. package/dist/serialization/types/ClientFacingLeanBodyMassChangedEventType.js +31 -0
  804. package/dist/serialization/types/ClientFacingLeanBodyMassHistoricalPullCompleted.d.ts +17 -0
  805. package/dist/serialization/types/ClientFacingLeanBodyMassHistoricalPullCompleted.js +38 -0
  806. package/dist/serialization/types/ClientFacingLeanBodyMassSample.d.ts +19 -0
  807. package/dist/serialization/types/ClientFacingLeanBodyMassSample.js +40 -0
  808. package/dist/serialization/types/ClientFacingMindfulnessMinutesTimeseries.d.ts +0 -2
  809. package/dist/serialization/types/ClientFacingMindfulnessMinutesTimeseries.js +0 -2
  810. package/dist/serialization/types/ClientFacingNoteSample.d.ts +0 -2
  811. package/dist/serialization/types/ClientFacingNoteSample.js +0 -2
  812. package/dist/serialization/types/ClientFacingOrderChanged.d.ts +18 -0
  813. package/dist/serialization/types/ClientFacingOrderChanged.js +39 -0
  814. package/dist/serialization/types/ClientFacingOrderChangedEventType.d.ts +10 -0
  815. package/{serialization/types/ClientFacingCreatedChangedEventType.js → dist/serialization/types/ClientFacingOrderChangedEventType.js} +2 -2
  816. package/dist/serialization/types/ClientFacingPeakExpiratoryFlowRateChanged.d.ts +18 -0
  817. package/dist/serialization/types/ClientFacingPeakExpiratoryFlowRateChanged.js +39 -0
  818. package/dist/serialization/types/ClientFacingPeakExpiratoryFlowRateChangedEventType.d.ts +10 -0
  819. package/dist/serialization/types/ClientFacingPeakExpiratoryFlowRateChangedEventType.js +34 -0
  820. package/dist/serialization/types/ClientFacingPeakExpiratoryFlowRateHistoricalPullCompleted.d.ts +17 -0
  821. package/dist/serialization/types/ClientFacingPeakExpiratoryFlowRateHistoricalPullCompleted.js +38 -0
  822. package/dist/serialization/types/ClientFacingPeakExpiratoryFlowRateSample.d.ts +19 -0
  823. package/dist/serialization/types/ClientFacingPeakExpiratoryFlowRateSample.js +40 -0
  824. package/dist/serialization/types/ClientFacingProfile.d.ts +2 -0
  825. package/dist/serialization/types/ClientFacingProfile.js +2 -0
  826. package/dist/serialization/types/ClientFacingResource.d.ts +1 -1
  827. package/dist/serialization/types/ClientFacingResource.js +17 -0
  828. package/dist/serialization/types/ClientFacingRespiratoryRateTimeseries.d.ts +0 -2
  829. package/dist/serialization/types/ClientFacingRespiratoryRateTimeseries.js +0 -2
  830. package/dist/serialization/types/ClientFacingSleepApneaAlertChanged.d.ts +18 -0
  831. package/dist/serialization/types/ClientFacingSleepApneaAlertChanged.js +39 -0
  832. package/dist/serialization/types/ClientFacingSleepApneaAlertChangedEventType.d.ts +10 -0
  833. package/dist/serialization/types/ClientFacingSleepApneaAlertChangedEventType.js +31 -0
  834. package/dist/serialization/types/ClientFacingSleepApneaAlertHistoricalPullCompleted.d.ts +17 -0
  835. package/dist/serialization/types/ClientFacingSleepApneaAlertHistoricalPullCompleted.js +38 -0
  836. package/dist/serialization/types/ClientFacingSleepApneaAlertSample.d.ts +19 -0
  837. package/dist/serialization/types/ClientFacingSleepApneaAlertSample.js +40 -0
  838. package/dist/serialization/types/ClientFacingSleepBreathingDisturbanceChanged.d.ts +18 -0
  839. package/dist/serialization/types/ClientFacingSleepBreathingDisturbanceChanged.js +39 -0
  840. package/dist/serialization/types/ClientFacingSleepBreathingDisturbanceChangedEventType.d.ts +10 -0
  841. package/dist/serialization/types/ClientFacingSleepBreathingDisturbanceChangedEventType.js +34 -0
  842. package/dist/serialization/types/ClientFacingSleepBreathingDisturbanceHistoricalPullCompleted.d.ts +17 -0
  843. package/dist/serialization/types/ClientFacingSleepBreathingDisturbanceHistoricalPullCompleted.js +38 -0
  844. package/dist/serialization/types/ClientFacingSleepBreathingDisturbanceSample.d.ts +20 -0
  845. package/dist/serialization/types/ClientFacingSleepBreathingDisturbanceSample.js +41 -0
  846. package/dist/serialization/types/ClientFacingSleepBreathingDisturbanceSampleType.d.ts +10 -0
  847. package/dist/serialization/types/ClientFacingSleepBreathingDisturbanceSampleType.js +31 -0
  848. package/dist/serialization/types/ClientFacingSource.d.ts +2 -0
  849. package/dist/serialization/types/ClientFacingSource.js +2 -0
  850. package/dist/serialization/types/ClientFacingStandDurationChanged.d.ts +18 -0
  851. package/dist/serialization/types/ClientFacingStandDurationChanged.js +39 -0
  852. package/dist/serialization/types/ClientFacingStandDurationChangedEventType.d.ts +10 -0
  853. package/dist/serialization/types/ClientFacingStandDurationChangedEventType.js +31 -0
  854. package/dist/serialization/types/ClientFacingStandDurationHistoricalPullCompleted.d.ts +17 -0
  855. package/dist/serialization/types/ClientFacingStandDurationHistoricalPullCompleted.js +38 -0
  856. package/dist/serialization/types/ClientFacingStandDurationSample.d.ts +19 -0
  857. package/dist/serialization/types/ClientFacingStandDurationSample.js +40 -0
  858. package/dist/serialization/types/ClientFacingStandHourChanged.d.ts +18 -0
  859. package/dist/serialization/types/ClientFacingStandHourChanged.js +39 -0
  860. package/dist/serialization/types/ClientFacingStandHourChangedEventType.d.ts +10 -0
  861. package/dist/serialization/types/ClientFacingStandHourChangedEventType.js +31 -0
  862. package/dist/serialization/types/ClientFacingStandHourHistoricalPullCompleted.d.ts +17 -0
  863. package/dist/serialization/types/ClientFacingStandHourHistoricalPullCompleted.js +38 -0
  864. package/dist/serialization/types/ClientFacingStandHourSample.d.ts +20 -0
  865. package/dist/serialization/types/ClientFacingStandHourSample.js +41 -0
  866. package/dist/serialization/types/ClientFacingStandHourSampleType.d.ts +10 -0
  867. package/dist/serialization/types/ClientFacingStandHourSampleType.js +31 -0
  868. package/dist/serialization/types/ClientFacingStepsTimeseries.d.ts +0 -2
  869. package/dist/serialization/types/ClientFacingStepsTimeseries.js +0 -2
  870. package/dist/serialization/types/ClientFacingStressLevelTimeseries.d.ts +0 -2
  871. package/dist/serialization/types/ClientFacingStressLevelTimeseries.js +0 -2
  872. package/dist/serialization/types/ClientFacingUvExposureChanged.d.ts +18 -0
  873. package/dist/serialization/types/ClientFacingUvExposureChanged.js +39 -0
  874. package/dist/serialization/types/ClientFacingUvExposureChangedEventType.d.ts +10 -0
  875. package/dist/serialization/types/ClientFacingUvExposureChangedEventType.js +31 -0
  876. package/dist/serialization/types/ClientFacingUvExposureHistoricalPullCompleted.d.ts +17 -0
  877. package/dist/serialization/types/ClientFacingUvExposureHistoricalPullCompleted.js +38 -0
  878. package/dist/serialization/types/ClientFacingUvExposureSample.d.ts +19 -0
  879. package/dist/serialization/types/ClientFacingUvExposureSample.js +40 -0
  880. package/dist/serialization/types/ClientFacingVo2MaxTimeseries.d.ts +0 -2
  881. package/dist/serialization/types/ClientFacingVo2MaxTimeseries.js +0 -2
  882. package/dist/serialization/types/ClientFacingWaistCircumferenceChanged.d.ts +18 -0
  883. package/dist/serialization/types/ClientFacingWaistCircumferenceChanged.js +39 -0
  884. package/dist/serialization/types/ClientFacingWaistCircumferenceChangedEventType.d.ts +10 -0
  885. package/dist/serialization/types/ClientFacingWaistCircumferenceChangedEventType.js +31 -0
  886. package/dist/serialization/types/ClientFacingWaistCircumferenceHistoricalPullCompleted.d.ts +17 -0
  887. package/dist/serialization/types/ClientFacingWaistCircumferenceHistoricalPullCompleted.js +38 -0
  888. package/dist/serialization/types/ClientFacingWaistCircumferenceSample.d.ts +19 -0
  889. package/dist/serialization/types/ClientFacingWaistCircumferenceSample.js +40 -0
  890. package/dist/serialization/types/ClientFacingWaterTimeseries.d.ts +0 -2
  891. package/dist/serialization/types/ClientFacingWaterTimeseries.js +0 -2
  892. package/dist/serialization/types/ClientFacingWheelchairPushChanged.d.ts +18 -0
  893. package/dist/serialization/types/ClientFacingWheelchairPushChanged.js +39 -0
  894. package/dist/serialization/types/ClientFacingWheelchairPushChangedEventType.d.ts +10 -0
  895. package/dist/serialization/types/ClientFacingWheelchairPushChangedEventType.js +31 -0
  896. package/dist/serialization/types/ClientFacingWheelchairPushHistoricalPullCompleted.d.ts +17 -0
  897. package/dist/serialization/types/ClientFacingWheelchairPushHistoricalPullCompleted.js +38 -0
  898. package/dist/serialization/types/ClientFacingWheelchairPushSample.d.ts +19 -0
  899. package/dist/serialization/types/ClientFacingWheelchairPushSample.js +40 -0
  900. package/dist/serialization/types/ClientFacingWorkoutDurationSample.d.ts +0 -2
  901. package/dist/serialization/types/ClientFacingWorkoutDurationSample.js +0 -2
  902. package/dist/serialization/types/ClientUserIdConflictResponse.d.ts +13 -0
  903. package/dist/serialization/types/ClientUserIdConflictResponse.js +34 -0
  904. package/dist/serialization/types/ContinuousQueryResultTableChanges.d.ts +1 -0
  905. package/dist/serialization/types/ContinuousQueryResultTableChanges.js +1 -0
  906. package/dist/serialization/types/GroupedBasalBodyTemperature.d.ts +15 -0
  907. package/dist/serialization/types/GroupedBasalBodyTemperature.js +36 -0
  908. package/dist/serialization/types/GroupedBasalBodyTemperatureResponse.d.ts +15 -0
  909. package/dist/serialization/types/GroupedBasalBodyTemperatureResponse.js +36 -0
  910. package/dist/serialization/types/GroupedBodyMassIndex.d.ts +15 -0
  911. package/dist/serialization/types/GroupedBodyMassIndex.js +36 -0
  912. package/dist/serialization/types/GroupedBodyMassIndexResponse.d.ts +15 -0
  913. package/dist/serialization/types/GroupedBodyMassIndexResponse.js +36 -0
  914. package/dist/serialization/types/GroupedDaylightExposure.d.ts +15 -0
  915. package/dist/serialization/types/GroupedDaylightExposure.js +36 -0
  916. package/dist/serialization/types/GroupedDaylightExposureResponse.d.ts +15 -0
  917. package/dist/serialization/types/GroupedDaylightExposureResponse.js +36 -0
  918. package/dist/serialization/types/GroupedFall.d.ts +15 -0
  919. package/dist/serialization/types/GroupedFall.js +36 -0
  920. package/dist/serialization/types/GroupedFallResponse.d.ts +15 -0
  921. package/dist/serialization/types/GroupedFallResponse.js +36 -0
  922. package/dist/serialization/types/GroupedForcedExpiratoryVolume1.d.ts +15 -0
  923. package/dist/serialization/types/GroupedForcedExpiratoryVolume1.js +36 -0
  924. package/dist/serialization/types/GroupedForcedExpiratoryVolume1Response.d.ts +15 -0
  925. package/dist/serialization/types/GroupedForcedExpiratoryVolume1Response.js +36 -0
  926. package/dist/serialization/types/GroupedForcedVitalCapacity.d.ts +15 -0
  927. package/dist/serialization/types/GroupedForcedVitalCapacity.js +36 -0
  928. package/dist/serialization/types/GroupedForcedVitalCapacityResponse.d.ts +15 -0
  929. package/dist/serialization/types/GroupedForcedVitalCapacityResponse.js +36 -0
  930. package/dist/serialization/types/GroupedHandwashing.d.ts +15 -0
  931. package/dist/serialization/types/GroupedHandwashing.js +36 -0
  932. package/dist/serialization/types/GroupedHandwashingResponse.d.ts +15 -0
  933. package/dist/serialization/types/GroupedHandwashingResponse.js +36 -0
  934. package/dist/serialization/types/GroupedInhalerUsage.d.ts +15 -0
  935. package/dist/serialization/types/GroupedInhalerUsage.js +36 -0
  936. package/dist/serialization/types/GroupedInhalerUsageResponse.d.ts +15 -0
  937. package/dist/serialization/types/GroupedInhalerUsageResponse.js +36 -0
  938. package/dist/serialization/types/GroupedLeanBodyMass.d.ts +15 -0
  939. package/dist/serialization/types/GroupedLeanBodyMass.js +36 -0
  940. package/dist/serialization/types/GroupedLeanBodyMassResponse.d.ts +15 -0
  941. package/dist/serialization/types/GroupedLeanBodyMassResponse.js +36 -0
  942. package/dist/serialization/types/GroupedPeakExpiratoryFlowRate.d.ts +15 -0
  943. package/dist/serialization/types/GroupedPeakExpiratoryFlowRate.js +36 -0
  944. package/dist/serialization/types/GroupedPeakExpiratoryFlowRateResponse.d.ts +15 -0
  945. package/dist/serialization/types/GroupedPeakExpiratoryFlowRateResponse.js +36 -0
  946. package/dist/serialization/types/GroupedSleepApneaAlert.d.ts +15 -0
  947. package/dist/serialization/types/GroupedSleepApneaAlert.js +36 -0
  948. package/dist/serialization/types/GroupedSleepApneaAlertResponse.d.ts +15 -0
  949. package/dist/serialization/types/GroupedSleepApneaAlertResponse.js +36 -0
  950. package/dist/serialization/types/GroupedSleepBreathingDisturbance.d.ts +15 -0
  951. package/dist/serialization/types/GroupedSleepBreathingDisturbance.js +36 -0
  952. package/dist/serialization/types/GroupedSleepBreathingDisturbanceResponse.d.ts +15 -0
  953. package/dist/serialization/types/GroupedSleepBreathingDisturbanceResponse.js +36 -0
  954. package/dist/serialization/types/GroupedStandDuration.d.ts +15 -0
  955. package/dist/serialization/types/GroupedStandDuration.js +36 -0
  956. package/dist/serialization/types/GroupedStandDurationResponse.d.ts +15 -0
  957. package/dist/serialization/types/GroupedStandDurationResponse.js +36 -0
  958. package/dist/serialization/types/GroupedStandHour.d.ts +15 -0
  959. package/dist/serialization/types/GroupedStandHour.js +36 -0
  960. package/dist/serialization/types/GroupedStandHourResponse.d.ts +15 -0
  961. package/dist/serialization/types/GroupedStandHourResponse.js +36 -0
  962. package/dist/serialization/types/GroupedUvExposure.d.ts +15 -0
  963. package/dist/serialization/types/GroupedUvExposure.js +36 -0
  964. package/dist/serialization/types/GroupedUvExposureResponse.d.ts +15 -0
  965. package/dist/serialization/types/GroupedUvExposureResponse.js +36 -0
  966. package/dist/serialization/types/GroupedWaistCircumference.d.ts +15 -0
  967. package/dist/serialization/types/GroupedWaistCircumference.js +36 -0
  968. package/dist/serialization/types/GroupedWaistCircumferenceResponse.d.ts +15 -0
  969. package/dist/serialization/types/GroupedWaistCircumferenceResponse.js +36 -0
  970. package/dist/serialization/types/GroupedWheelchairPush.d.ts +15 -0
  971. package/dist/serialization/types/GroupedWheelchairPush.js +36 -0
  972. package/dist/serialization/types/GroupedWheelchairPushResponse.d.ts +15 -0
  973. package/dist/serialization/types/GroupedWheelchairPushResponse.js +36 -0
  974. package/dist/serialization/types/HistoricalPullStatus.d.ts +1 -1
  975. package/dist/serialization/types/HistoricalPullStatus.js +1 -1
  976. package/dist/serialization/types/PatientAddress.d.ts +18 -0
  977. package/dist/serialization/types/PatientAddress.js +39 -0
  978. package/dist/serialization/types/TimeseriesResource.d.ts +1 -1
  979. package/dist/serialization/types/TimeseriesResource.js +17 -0
  980. package/dist/serialization/types/index.d.ts +110 -2
  981. package/dist/serialization/types/index.js +110 -2
  982. package/dist/version.d.ts +1 -1
  983. package/dist/version.js +1 -1
  984. package/package.json +2 -2
  985. package/reference.md +1018 -162
  986. package/serialization/resources/labTests/client/requests/ImportOrderBody.d.ts +25 -0
  987. package/serialization/resources/labTests/client/requests/ImportOrderBody.js +46 -0
  988. package/serialization/resources/labTests/client/requests/index.d.ts +1 -0
  989. package/serialization/resources/labTests/client/requests/index.js +3 -1
  990. package/serialization/resources/link/client/requests/LinkTokenExchange.d.ts +1 -0
  991. package/serialization/resources/link/client/requests/LinkTokenExchange.js +1 -0
  992. package/serialization/types/ActivityColumnExprActivity.d.ts +1 -1
  993. package/serialization/types/ActivityColumnExprActivity.js +3 -0
  994. package/serialization/types/BodyColumnExprBody.d.ts +1 -1
  995. package/serialization/types/BodyColumnExprBody.js +3 -0
  996. package/serialization/types/ClientFacingAFibBurdenSample.d.ts +0 -2
  997. package/serialization/types/ClientFacingAFibBurdenSample.js +0 -2
  998. package/serialization/types/ClientFacingActivity.d.ts +2 -0
  999. package/serialization/types/ClientFacingActivity.js +2 -0
  1000. package/serialization/types/{ClientFacingCreatedChanged.d.ts → ClientFacingAppointmentChanged.d.ts} +4 -4
  1001. package/serialization/types/{ClientFacingCreatedChanged.js → ClientFacingAppointmentChanged.js} +4 -4
  1002. package/{dist/serialization/types/ClientFacingCreatedChangedEventType.d.ts → serialization/types/ClientFacingAppointmentChangedEventType.d.ts} +2 -2
  1003. package/serialization/types/ClientFacingAppointmentChangedEventType.js +31 -0
  1004. package/serialization/types/ClientFacingBasalBodyTemperatureChanged.d.ts +18 -0
  1005. package/serialization/types/ClientFacingBasalBodyTemperatureChanged.js +39 -0
  1006. package/serialization/types/ClientFacingBasalBodyTemperatureChangedEventType.d.ts +10 -0
  1007. package/serialization/types/ClientFacingBasalBodyTemperatureChangedEventType.js +34 -0
  1008. package/serialization/types/ClientFacingBasalBodyTemperatureHistoricalPullCompleted.d.ts +17 -0
  1009. package/serialization/types/ClientFacingBasalBodyTemperatureHistoricalPullCompleted.js +38 -0
  1010. package/serialization/types/ClientFacingBasalBodyTemperatureSample.d.ts +19 -0
  1011. package/serialization/types/ClientFacingBasalBodyTemperatureSample.js +40 -0
  1012. package/serialization/types/ClientFacingBloodOxygenTimeseries.d.ts +0 -2
  1013. package/serialization/types/ClientFacingBloodOxygenTimeseries.js +0 -2
  1014. package/serialization/types/ClientFacingBody.d.ts +3 -0
  1015. package/serialization/types/ClientFacingBody.js +3 -0
  1016. package/serialization/types/ClientFacingBodyFatTimeseries.d.ts +0 -2
  1017. package/serialization/types/ClientFacingBodyFatTimeseries.js +0 -2
  1018. package/serialization/types/ClientFacingBodyMassIndexChanged.d.ts +18 -0
  1019. package/serialization/types/ClientFacingBodyMassIndexChanged.js +39 -0
  1020. package/serialization/types/ClientFacingBodyMassIndexChangedEventType.d.ts +10 -0
  1021. package/serialization/types/ClientFacingBodyMassIndexChangedEventType.js +31 -0
  1022. package/serialization/types/ClientFacingBodyMassIndexHistoricalPullCompleted.d.ts +17 -0
  1023. package/serialization/types/ClientFacingBodyMassIndexHistoricalPullCompleted.js +38 -0
  1024. package/serialization/types/ClientFacingBodyMassIndexSample.d.ts +19 -0
  1025. package/serialization/types/ClientFacingBodyMassIndexSample.js +40 -0
  1026. package/serialization/types/ClientFacingBodyTemperatureDeltaSample.d.ts +0 -2
  1027. package/serialization/types/ClientFacingBodyTemperatureDeltaSample.js +0 -2
  1028. package/serialization/types/ClientFacingBodyTemperatureSample.d.ts +0 -2
  1029. package/serialization/types/ClientFacingBodyTemperatureSample.js +0 -2
  1030. package/serialization/types/ClientFacingBodyWeightTimeseries.d.ts +0 -2
  1031. package/serialization/types/ClientFacingBodyWeightTimeseries.js +0 -2
  1032. package/serialization/types/ClientFacingCaffeineTimeseries.d.ts +0 -2
  1033. package/serialization/types/ClientFacingCaffeineTimeseries.js +0 -2
  1034. package/serialization/types/ClientFacingCaloriesActiveTimeseries.d.ts +0 -2
  1035. package/serialization/types/ClientFacingCaloriesActiveTimeseries.js +0 -2
  1036. package/serialization/types/ClientFacingCaloriesBasalTimeseries.d.ts +0 -2
  1037. package/serialization/types/ClientFacingCaloriesBasalTimeseries.js +0 -2
  1038. package/serialization/types/ClientFacingCarbohydratesSample.d.ts +0 -2
  1039. package/serialization/types/ClientFacingCarbohydratesSample.js +0 -2
  1040. package/serialization/types/ClientFacingCholesterolTimeseries.d.ts +0 -2
  1041. package/serialization/types/ClientFacingCholesterolTimeseries.js +0 -2
  1042. package/serialization/types/ClientFacingDaylightExposureChanged.d.ts +18 -0
  1043. package/serialization/types/ClientFacingDaylightExposureChanged.js +39 -0
  1044. package/serialization/types/ClientFacingDaylightExposureChangedEventType.d.ts +10 -0
  1045. package/serialization/types/ClientFacingDaylightExposureChangedEventType.js +31 -0
  1046. package/serialization/types/ClientFacingDaylightExposureHistoricalPullCompleted.d.ts +17 -0
  1047. package/serialization/types/ClientFacingDaylightExposureHistoricalPullCompleted.js +38 -0
  1048. package/serialization/types/ClientFacingDaylightExposureSample.d.ts +19 -0
  1049. package/serialization/types/ClientFacingDaylightExposureSample.js +40 -0
  1050. package/serialization/types/ClientFacingDistanceTimeseries.d.ts +0 -2
  1051. package/serialization/types/ClientFacingDistanceTimeseries.js +0 -2
  1052. package/serialization/types/ClientFacingElectrocardiogramVoltageTimeseries.d.ts +1 -3
  1053. package/serialization/types/ClientFacingElectrocardiogramVoltageTimeseries.js +1 -3
  1054. package/serialization/types/ClientFacingFallChanged.d.ts +18 -0
  1055. package/serialization/types/ClientFacingFallChanged.js +39 -0
  1056. package/serialization/types/ClientFacingFallChangedEventType.d.ts +10 -0
  1057. package/serialization/types/ClientFacingFallChangedEventType.js +31 -0
  1058. package/serialization/types/ClientFacingFallHistoricalPullCompleted.d.ts +17 -0
  1059. package/serialization/types/ClientFacingFallHistoricalPullCompleted.js +38 -0
  1060. package/serialization/types/ClientFacingFallSample.d.ts +19 -0
  1061. package/serialization/types/ClientFacingFallSample.js +40 -0
  1062. package/serialization/types/ClientFacingFloorsClimbedTimeseries.d.ts +0 -2
  1063. package/serialization/types/ClientFacingFloorsClimbedTimeseries.js +0 -2
  1064. package/serialization/types/ClientFacingForcedExpiratoryVolume1Changed.d.ts +18 -0
  1065. package/serialization/types/ClientFacingForcedExpiratoryVolume1Changed.js +39 -0
  1066. package/serialization/types/ClientFacingForcedExpiratoryVolume1ChangedEventType.d.ts +10 -0
  1067. package/serialization/types/ClientFacingForcedExpiratoryVolume1ChangedEventType.js +34 -0
  1068. package/serialization/types/ClientFacingForcedExpiratoryVolume1HistoricalPullCompleted.d.ts +17 -0
  1069. package/serialization/types/ClientFacingForcedExpiratoryVolume1HistoricalPullCompleted.js +38 -0
  1070. package/serialization/types/ClientFacingForcedExpiratoryVolume1Sample.d.ts +19 -0
  1071. package/serialization/types/ClientFacingForcedExpiratoryVolume1Sample.js +40 -0
  1072. package/serialization/types/ClientFacingForcedVitalCapacityChanged.d.ts +18 -0
  1073. package/serialization/types/ClientFacingForcedVitalCapacityChanged.js +39 -0
  1074. package/serialization/types/ClientFacingForcedVitalCapacityChangedEventType.d.ts +10 -0
  1075. package/serialization/types/ClientFacingForcedVitalCapacityChangedEventType.js +31 -0
  1076. package/serialization/types/ClientFacingForcedVitalCapacityHistoricalPullCompleted.d.ts +17 -0
  1077. package/serialization/types/ClientFacingForcedVitalCapacityHistoricalPullCompleted.js +38 -0
  1078. package/serialization/types/ClientFacingForcedVitalCapacitySample.d.ts +19 -0
  1079. package/serialization/types/ClientFacingForcedVitalCapacitySample.js +40 -0
  1080. package/serialization/types/ClientFacingGlucoseTimeseries.d.ts +0 -2
  1081. package/serialization/types/ClientFacingGlucoseTimeseries.js +0 -2
  1082. package/serialization/types/ClientFacingHandwashingChanged.d.ts +18 -0
  1083. package/serialization/types/ClientFacingHandwashingChanged.js +39 -0
  1084. package/serialization/types/ClientFacingHandwashingChangedEventType.d.ts +10 -0
  1085. package/serialization/types/ClientFacingHandwashingChangedEventType.js +31 -0
  1086. package/serialization/types/ClientFacingHandwashingHistoricalPullCompleted.d.ts +17 -0
  1087. package/serialization/types/ClientFacingHandwashingHistoricalPullCompleted.js +38 -0
  1088. package/serialization/types/ClientFacingHandwashingSample.d.ts +19 -0
  1089. package/serialization/types/ClientFacingHandwashingSample.js +40 -0
  1090. package/serialization/types/ClientFacingHeartRate.d.ts +1 -0
  1091. package/serialization/types/ClientFacingHeartRate.js +1 -0
  1092. package/serialization/types/ClientFacingHeartRateAlertSample.d.ts +0 -2
  1093. package/serialization/types/ClientFacingHeartRateAlertSample.js +0 -2
  1094. package/serialization/types/ClientFacingHeartRateTimeseries.d.ts +0 -2
  1095. package/serialization/types/ClientFacingHeartRateTimeseries.js +0 -2
  1096. package/serialization/types/ClientFacingHrvTimeseries.d.ts +0 -2
  1097. package/serialization/types/ClientFacingHrvTimeseries.js +0 -2
  1098. package/serialization/types/ClientFacingHypnogramTimeseries.d.ts +0 -2
  1099. package/serialization/types/ClientFacingHypnogramTimeseries.js +0 -2
  1100. package/serialization/types/ClientFacingIgeTimeseries.d.ts +0 -2
  1101. package/serialization/types/ClientFacingIgeTimeseries.js +0 -2
  1102. package/serialization/types/ClientFacingIggTimeseries.d.ts +0 -2
  1103. package/serialization/types/ClientFacingIggTimeseries.js +0 -2
  1104. package/serialization/types/ClientFacingInhalerUsageChanged.d.ts +18 -0
  1105. package/serialization/types/ClientFacingInhalerUsageChanged.js +39 -0
  1106. package/serialization/types/ClientFacingInhalerUsageChangedEventType.d.ts +10 -0
  1107. package/serialization/types/ClientFacingInhalerUsageChangedEventType.js +31 -0
  1108. package/serialization/types/ClientFacingInhalerUsageHistoricalPullCompleted.d.ts +17 -0
  1109. package/serialization/types/ClientFacingInhalerUsageHistoricalPullCompleted.js +38 -0
  1110. package/serialization/types/ClientFacingInhalerUsageSample.d.ts +19 -0
  1111. package/serialization/types/ClientFacingInhalerUsageSample.js +40 -0
  1112. package/serialization/types/ClientFacingInsulinInjectionSample.d.ts +0 -2
  1113. package/serialization/types/ClientFacingInsulinInjectionSample.js +0 -2
  1114. package/serialization/types/ClientFacingLeanBodyMassChanged.d.ts +18 -0
  1115. package/serialization/types/ClientFacingLeanBodyMassChanged.js +39 -0
  1116. package/serialization/types/ClientFacingLeanBodyMassChangedEventType.d.ts +10 -0
  1117. package/serialization/types/ClientFacingLeanBodyMassChangedEventType.js +31 -0
  1118. package/serialization/types/ClientFacingLeanBodyMassHistoricalPullCompleted.d.ts +17 -0
  1119. package/serialization/types/ClientFacingLeanBodyMassHistoricalPullCompleted.js +38 -0
  1120. package/serialization/types/ClientFacingLeanBodyMassSample.d.ts +19 -0
  1121. package/serialization/types/ClientFacingLeanBodyMassSample.js +40 -0
  1122. package/serialization/types/ClientFacingMindfulnessMinutesTimeseries.d.ts +0 -2
  1123. package/serialization/types/ClientFacingMindfulnessMinutesTimeseries.js +0 -2
  1124. package/serialization/types/ClientFacingNoteSample.d.ts +0 -2
  1125. package/serialization/types/ClientFacingNoteSample.js +0 -2
  1126. package/serialization/types/ClientFacingOrderChanged.d.ts +18 -0
  1127. package/serialization/types/ClientFacingOrderChanged.js +39 -0
  1128. package/serialization/types/ClientFacingOrderChangedEventType.d.ts +10 -0
  1129. package/serialization/types/ClientFacingOrderChangedEventType.js +31 -0
  1130. package/serialization/types/ClientFacingPeakExpiratoryFlowRateChanged.d.ts +18 -0
  1131. package/serialization/types/ClientFacingPeakExpiratoryFlowRateChanged.js +39 -0
  1132. package/serialization/types/ClientFacingPeakExpiratoryFlowRateChangedEventType.d.ts +10 -0
  1133. package/serialization/types/ClientFacingPeakExpiratoryFlowRateChangedEventType.js +34 -0
  1134. package/serialization/types/ClientFacingPeakExpiratoryFlowRateHistoricalPullCompleted.d.ts +17 -0
  1135. package/serialization/types/ClientFacingPeakExpiratoryFlowRateHistoricalPullCompleted.js +38 -0
  1136. package/serialization/types/ClientFacingPeakExpiratoryFlowRateSample.d.ts +19 -0
  1137. package/serialization/types/ClientFacingPeakExpiratoryFlowRateSample.js +40 -0
  1138. package/serialization/types/ClientFacingProfile.d.ts +2 -0
  1139. package/serialization/types/ClientFacingProfile.js +2 -0
  1140. package/serialization/types/ClientFacingResource.d.ts +1 -1
  1141. package/serialization/types/ClientFacingResource.js +17 -0
  1142. package/serialization/types/ClientFacingRespiratoryRateTimeseries.d.ts +0 -2
  1143. package/serialization/types/ClientFacingRespiratoryRateTimeseries.js +0 -2
  1144. package/serialization/types/ClientFacingSleepApneaAlertChanged.d.ts +18 -0
  1145. package/serialization/types/ClientFacingSleepApneaAlertChanged.js +39 -0
  1146. package/serialization/types/ClientFacingSleepApneaAlertChangedEventType.d.ts +10 -0
  1147. package/serialization/types/ClientFacingSleepApneaAlertChangedEventType.js +31 -0
  1148. package/serialization/types/ClientFacingSleepApneaAlertHistoricalPullCompleted.d.ts +17 -0
  1149. package/serialization/types/ClientFacingSleepApneaAlertHistoricalPullCompleted.js +38 -0
  1150. package/serialization/types/ClientFacingSleepApneaAlertSample.d.ts +19 -0
  1151. package/serialization/types/ClientFacingSleepApneaAlertSample.js +40 -0
  1152. package/serialization/types/ClientFacingSleepBreathingDisturbanceChanged.d.ts +18 -0
  1153. package/serialization/types/ClientFacingSleepBreathingDisturbanceChanged.js +39 -0
  1154. package/serialization/types/ClientFacingSleepBreathingDisturbanceChangedEventType.d.ts +10 -0
  1155. package/serialization/types/ClientFacingSleepBreathingDisturbanceChangedEventType.js +34 -0
  1156. package/serialization/types/ClientFacingSleepBreathingDisturbanceHistoricalPullCompleted.d.ts +17 -0
  1157. package/serialization/types/ClientFacingSleepBreathingDisturbanceHistoricalPullCompleted.js +38 -0
  1158. package/serialization/types/ClientFacingSleepBreathingDisturbanceSample.d.ts +20 -0
  1159. package/serialization/types/ClientFacingSleepBreathingDisturbanceSample.js +41 -0
  1160. package/serialization/types/ClientFacingSleepBreathingDisturbanceSampleType.d.ts +10 -0
  1161. package/serialization/types/ClientFacingSleepBreathingDisturbanceSampleType.js +31 -0
  1162. package/serialization/types/ClientFacingSource.d.ts +2 -0
  1163. package/serialization/types/ClientFacingSource.js +2 -0
  1164. package/serialization/types/ClientFacingStandDurationChanged.d.ts +18 -0
  1165. package/serialization/types/ClientFacingStandDurationChanged.js +39 -0
  1166. package/serialization/types/ClientFacingStandDurationChangedEventType.d.ts +10 -0
  1167. package/serialization/types/ClientFacingStandDurationChangedEventType.js +31 -0
  1168. package/serialization/types/ClientFacingStandDurationHistoricalPullCompleted.d.ts +17 -0
  1169. package/serialization/types/ClientFacingStandDurationHistoricalPullCompleted.js +38 -0
  1170. package/serialization/types/ClientFacingStandDurationSample.d.ts +19 -0
  1171. package/serialization/types/ClientFacingStandDurationSample.js +40 -0
  1172. package/serialization/types/ClientFacingStandHourChanged.d.ts +18 -0
  1173. package/serialization/types/ClientFacingStandHourChanged.js +39 -0
  1174. package/serialization/types/ClientFacingStandHourChangedEventType.d.ts +10 -0
  1175. package/serialization/types/ClientFacingStandHourChangedEventType.js +31 -0
  1176. package/serialization/types/ClientFacingStandHourHistoricalPullCompleted.d.ts +17 -0
  1177. package/serialization/types/ClientFacingStandHourHistoricalPullCompleted.js +38 -0
  1178. package/serialization/types/ClientFacingStandHourSample.d.ts +20 -0
  1179. package/serialization/types/ClientFacingStandHourSample.js +41 -0
  1180. package/serialization/types/ClientFacingStandHourSampleType.d.ts +10 -0
  1181. package/serialization/types/ClientFacingStandHourSampleType.js +31 -0
  1182. package/serialization/types/ClientFacingStepsTimeseries.d.ts +0 -2
  1183. package/serialization/types/ClientFacingStepsTimeseries.js +0 -2
  1184. package/serialization/types/ClientFacingStressLevelTimeseries.d.ts +0 -2
  1185. package/serialization/types/ClientFacingStressLevelTimeseries.js +0 -2
  1186. package/serialization/types/ClientFacingUvExposureChanged.d.ts +18 -0
  1187. package/serialization/types/ClientFacingUvExposureChanged.js +39 -0
  1188. package/serialization/types/ClientFacingUvExposureChangedEventType.d.ts +10 -0
  1189. package/serialization/types/ClientFacingUvExposureChangedEventType.js +31 -0
  1190. package/serialization/types/ClientFacingUvExposureHistoricalPullCompleted.d.ts +17 -0
  1191. package/serialization/types/ClientFacingUvExposureHistoricalPullCompleted.js +38 -0
  1192. package/serialization/types/ClientFacingUvExposureSample.d.ts +19 -0
  1193. package/serialization/types/ClientFacingUvExposureSample.js +40 -0
  1194. package/serialization/types/ClientFacingVo2MaxTimeseries.d.ts +0 -2
  1195. package/serialization/types/ClientFacingVo2MaxTimeseries.js +0 -2
  1196. package/serialization/types/ClientFacingWaistCircumferenceChanged.d.ts +18 -0
  1197. package/serialization/types/ClientFacingWaistCircumferenceChanged.js +39 -0
  1198. package/serialization/types/ClientFacingWaistCircumferenceChangedEventType.d.ts +10 -0
  1199. package/serialization/types/ClientFacingWaistCircumferenceChangedEventType.js +31 -0
  1200. package/serialization/types/ClientFacingWaistCircumferenceHistoricalPullCompleted.d.ts +17 -0
  1201. package/serialization/types/ClientFacingWaistCircumferenceHistoricalPullCompleted.js +38 -0
  1202. package/serialization/types/ClientFacingWaistCircumferenceSample.d.ts +19 -0
  1203. package/serialization/types/ClientFacingWaistCircumferenceSample.js +40 -0
  1204. package/serialization/types/ClientFacingWaterTimeseries.d.ts +0 -2
  1205. package/serialization/types/ClientFacingWaterTimeseries.js +0 -2
  1206. package/serialization/types/ClientFacingWheelchairPushChanged.d.ts +18 -0
  1207. package/serialization/types/ClientFacingWheelchairPushChanged.js +39 -0
  1208. package/serialization/types/ClientFacingWheelchairPushChangedEventType.d.ts +10 -0
  1209. package/serialization/types/ClientFacingWheelchairPushChangedEventType.js +31 -0
  1210. package/serialization/types/ClientFacingWheelchairPushHistoricalPullCompleted.d.ts +17 -0
  1211. package/serialization/types/ClientFacingWheelchairPushHistoricalPullCompleted.js +38 -0
  1212. package/serialization/types/ClientFacingWheelchairPushSample.d.ts +19 -0
  1213. package/serialization/types/ClientFacingWheelchairPushSample.js +40 -0
  1214. package/serialization/types/ClientFacingWorkoutDurationSample.d.ts +0 -2
  1215. package/serialization/types/ClientFacingWorkoutDurationSample.js +0 -2
  1216. package/serialization/types/ClientUserIdConflictResponse.d.ts +13 -0
  1217. package/serialization/types/ClientUserIdConflictResponse.js +34 -0
  1218. package/serialization/types/ContinuousQueryResultTableChanges.d.ts +1 -0
  1219. package/serialization/types/ContinuousQueryResultTableChanges.js +1 -0
  1220. package/serialization/types/GroupedBasalBodyTemperature.d.ts +15 -0
  1221. package/serialization/types/GroupedBasalBodyTemperature.js +36 -0
  1222. package/serialization/types/GroupedBasalBodyTemperatureResponse.d.ts +15 -0
  1223. package/serialization/types/GroupedBasalBodyTemperatureResponse.js +36 -0
  1224. package/serialization/types/GroupedBodyMassIndex.d.ts +15 -0
  1225. package/serialization/types/GroupedBodyMassIndex.js +36 -0
  1226. package/serialization/types/GroupedBodyMassIndexResponse.d.ts +15 -0
  1227. package/serialization/types/GroupedBodyMassIndexResponse.js +36 -0
  1228. package/serialization/types/GroupedDaylightExposure.d.ts +15 -0
  1229. package/serialization/types/GroupedDaylightExposure.js +36 -0
  1230. package/serialization/types/GroupedDaylightExposureResponse.d.ts +15 -0
  1231. package/serialization/types/GroupedDaylightExposureResponse.js +36 -0
  1232. package/serialization/types/GroupedFall.d.ts +15 -0
  1233. package/serialization/types/GroupedFall.js +36 -0
  1234. package/serialization/types/GroupedFallResponse.d.ts +15 -0
  1235. package/serialization/types/GroupedFallResponse.js +36 -0
  1236. package/serialization/types/GroupedForcedExpiratoryVolume1.d.ts +15 -0
  1237. package/serialization/types/GroupedForcedExpiratoryVolume1.js +36 -0
  1238. package/serialization/types/GroupedForcedExpiratoryVolume1Response.d.ts +15 -0
  1239. package/serialization/types/GroupedForcedExpiratoryVolume1Response.js +36 -0
  1240. package/serialization/types/GroupedForcedVitalCapacity.d.ts +15 -0
  1241. package/serialization/types/GroupedForcedVitalCapacity.js +36 -0
  1242. package/serialization/types/GroupedForcedVitalCapacityResponse.d.ts +15 -0
  1243. package/serialization/types/GroupedForcedVitalCapacityResponse.js +36 -0
  1244. package/serialization/types/GroupedHandwashing.d.ts +15 -0
  1245. package/serialization/types/GroupedHandwashing.js +36 -0
  1246. package/serialization/types/GroupedHandwashingResponse.d.ts +15 -0
  1247. package/serialization/types/GroupedHandwashingResponse.js +36 -0
  1248. package/serialization/types/GroupedInhalerUsage.d.ts +15 -0
  1249. package/serialization/types/GroupedInhalerUsage.js +36 -0
  1250. package/serialization/types/GroupedInhalerUsageResponse.d.ts +15 -0
  1251. package/serialization/types/GroupedInhalerUsageResponse.js +36 -0
  1252. package/serialization/types/GroupedLeanBodyMass.d.ts +15 -0
  1253. package/serialization/types/GroupedLeanBodyMass.js +36 -0
  1254. package/serialization/types/GroupedLeanBodyMassResponse.d.ts +15 -0
  1255. package/serialization/types/GroupedLeanBodyMassResponse.js +36 -0
  1256. package/serialization/types/GroupedPeakExpiratoryFlowRate.d.ts +15 -0
  1257. package/serialization/types/GroupedPeakExpiratoryFlowRate.js +36 -0
  1258. package/serialization/types/GroupedPeakExpiratoryFlowRateResponse.d.ts +15 -0
  1259. package/serialization/types/GroupedPeakExpiratoryFlowRateResponse.js +36 -0
  1260. package/serialization/types/GroupedSleepApneaAlert.d.ts +15 -0
  1261. package/serialization/types/GroupedSleepApneaAlert.js +36 -0
  1262. package/serialization/types/GroupedSleepApneaAlertResponse.d.ts +15 -0
  1263. package/serialization/types/GroupedSleepApneaAlertResponse.js +36 -0
  1264. package/serialization/types/GroupedSleepBreathingDisturbance.d.ts +15 -0
  1265. package/serialization/types/GroupedSleepBreathingDisturbance.js +36 -0
  1266. package/serialization/types/GroupedSleepBreathingDisturbanceResponse.d.ts +15 -0
  1267. package/serialization/types/GroupedSleepBreathingDisturbanceResponse.js +36 -0
  1268. package/serialization/types/GroupedStandDuration.d.ts +15 -0
  1269. package/serialization/types/GroupedStandDuration.js +36 -0
  1270. package/serialization/types/GroupedStandDurationResponse.d.ts +15 -0
  1271. package/serialization/types/GroupedStandDurationResponse.js +36 -0
  1272. package/serialization/types/GroupedStandHour.d.ts +15 -0
  1273. package/serialization/types/GroupedStandHour.js +36 -0
  1274. package/serialization/types/GroupedStandHourResponse.d.ts +15 -0
  1275. package/serialization/types/GroupedStandHourResponse.js +36 -0
  1276. package/serialization/types/GroupedUvExposure.d.ts +15 -0
  1277. package/serialization/types/GroupedUvExposure.js +36 -0
  1278. package/serialization/types/GroupedUvExposureResponse.d.ts +15 -0
  1279. package/serialization/types/GroupedUvExposureResponse.js +36 -0
  1280. package/serialization/types/GroupedWaistCircumference.d.ts +15 -0
  1281. package/serialization/types/GroupedWaistCircumference.js +36 -0
  1282. package/serialization/types/GroupedWaistCircumferenceResponse.d.ts +15 -0
  1283. package/serialization/types/GroupedWaistCircumferenceResponse.js +36 -0
  1284. package/serialization/types/GroupedWheelchairPush.d.ts +15 -0
  1285. package/serialization/types/GroupedWheelchairPush.js +36 -0
  1286. package/serialization/types/GroupedWheelchairPushResponse.d.ts +15 -0
  1287. package/serialization/types/GroupedWheelchairPushResponse.js +36 -0
  1288. package/serialization/types/HistoricalPullStatus.d.ts +1 -1
  1289. package/serialization/types/HistoricalPullStatus.js +1 -1
  1290. package/serialization/types/PatientAddress.d.ts +18 -0
  1291. package/serialization/types/PatientAddress.js +39 -0
  1292. package/serialization/types/TimeseriesResource.d.ts +1 -1
  1293. package/serialization/types/TimeseriesResource.js +17 -0
  1294. package/serialization/types/index.d.ts +110 -2
  1295. package/serialization/types/index.js +110 -2
  1296. package/version.d.ts +1 -1
  1297. package/version.js +1 -1
  1298. /package/api/{types/ClientFacingCreatedChanged.js → resources/labTests/client/requests/ImportOrderBody.js} +0 -0
  1299. /package/{dist/api/types/ClientFacingCreatedChanged.js → api/resources/vitals/client/requests/VitalsBasalBodyTemperatureGroupedRequest.js} +0 -0
@@ -49,6 +49,1366 @@ class Vitals {
49
49
  constructor(_options = {}) {
50
50
  this._options = _options;
51
51
  }
52
+ /**
53
+ * @param {string} userId
54
+ * @param {Vital.VitalsWaistCircumferenceGroupedRequest} request
55
+ * @param {Vitals.RequestOptions} requestOptions - Request-specific configuration.
56
+ *
57
+ * @throws {@link Vital.UnprocessableEntityError}
58
+ *
59
+ * @example
60
+ * await client.vitals.waistCircumferenceGrouped("user_id", {
61
+ * startDate: "start_date"
62
+ * })
63
+ */
64
+ waistCircumferenceGrouped(userId, request, requestOptions) {
65
+ var _a;
66
+ return __awaiter(this, void 0, void 0, function* () {
67
+ const { cursor, nextCursor, provider, startDate, endDate } = request;
68
+ const _queryParams = {};
69
+ if (cursor != null) {
70
+ _queryParams["cursor"] = cursor;
71
+ }
72
+ if (nextCursor != null) {
73
+ _queryParams["next_cursor"] = nextCursor;
74
+ }
75
+ if (provider != null) {
76
+ _queryParams["provider"] = provider;
77
+ }
78
+ _queryParams["start_date"] = startDate;
79
+ if (endDate != null) {
80
+ _queryParams["end_date"] = endDate;
81
+ }
82
+ const _response = yield core.fetcher({
83
+ url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/waist_circumference/grouped`),
84
+ method: "GET",
85
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
86
+ contentType: "application/json",
87
+ queryParameters: _queryParams,
88
+ requestType: "json",
89
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
90
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
91
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
92
+ });
93
+ if (_response.ok) {
94
+ return serializers.GroupedWaistCircumferenceResponse.parseOrThrow(_response.body, {
95
+ unrecognizedObjectKeys: "passthrough",
96
+ allowUnrecognizedUnionMembers: true,
97
+ allowUnrecognizedEnumValues: true,
98
+ breadcrumbsPrefix: ["response"],
99
+ });
100
+ }
101
+ if (_response.error.reason === "status-code") {
102
+ switch (_response.error.statusCode) {
103
+ case 422:
104
+ throw new Vital.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
105
+ unrecognizedObjectKeys: "passthrough",
106
+ allowUnrecognizedUnionMembers: true,
107
+ allowUnrecognizedEnumValues: true,
108
+ breadcrumbsPrefix: ["response"],
109
+ }));
110
+ default:
111
+ throw new errors.VitalError({
112
+ statusCode: _response.error.statusCode,
113
+ body: _response.error.body,
114
+ });
115
+ }
116
+ }
117
+ switch (_response.error.reason) {
118
+ case "non-json":
119
+ throw new errors.VitalError({
120
+ statusCode: _response.error.statusCode,
121
+ body: _response.error.rawBody,
122
+ });
123
+ case "timeout":
124
+ throw new errors.VitalTimeoutError();
125
+ case "unknown":
126
+ throw new errors.VitalError({
127
+ message: _response.error.errorMessage,
128
+ });
129
+ }
130
+ });
131
+ }
132
+ /**
133
+ * @param {string} userId
134
+ * @param {Vital.VitalsLeanBodyMassGroupedRequest} request
135
+ * @param {Vitals.RequestOptions} requestOptions - Request-specific configuration.
136
+ *
137
+ * @throws {@link Vital.UnprocessableEntityError}
138
+ *
139
+ * @example
140
+ * await client.vitals.leanBodyMassGrouped("user_id", {
141
+ * startDate: "start_date"
142
+ * })
143
+ */
144
+ leanBodyMassGrouped(userId, request, requestOptions) {
145
+ var _a;
146
+ return __awaiter(this, void 0, void 0, function* () {
147
+ const { cursor, nextCursor, provider, startDate, endDate } = request;
148
+ const _queryParams = {};
149
+ if (cursor != null) {
150
+ _queryParams["cursor"] = cursor;
151
+ }
152
+ if (nextCursor != null) {
153
+ _queryParams["next_cursor"] = nextCursor;
154
+ }
155
+ if (provider != null) {
156
+ _queryParams["provider"] = provider;
157
+ }
158
+ _queryParams["start_date"] = startDate;
159
+ if (endDate != null) {
160
+ _queryParams["end_date"] = endDate;
161
+ }
162
+ const _response = yield core.fetcher({
163
+ url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/lean_body_mass/grouped`),
164
+ method: "GET",
165
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
166
+ contentType: "application/json",
167
+ queryParameters: _queryParams,
168
+ requestType: "json",
169
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
170
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
171
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
172
+ });
173
+ if (_response.ok) {
174
+ return serializers.GroupedLeanBodyMassResponse.parseOrThrow(_response.body, {
175
+ unrecognizedObjectKeys: "passthrough",
176
+ allowUnrecognizedUnionMembers: true,
177
+ allowUnrecognizedEnumValues: true,
178
+ breadcrumbsPrefix: ["response"],
179
+ });
180
+ }
181
+ if (_response.error.reason === "status-code") {
182
+ switch (_response.error.statusCode) {
183
+ case 422:
184
+ throw new Vital.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
185
+ unrecognizedObjectKeys: "passthrough",
186
+ allowUnrecognizedUnionMembers: true,
187
+ allowUnrecognizedEnumValues: true,
188
+ breadcrumbsPrefix: ["response"],
189
+ }));
190
+ default:
191
+ throw new errors.VitalError({
192
+ statusCode: _response.error.statusCode,
193
+ body: _response.error.body,
194
+ });
195
+ }
196
+ }
197
+ switch (_response.error.reason) {
198
+ case "non-json":
199
+ throw new errors.VitalError({
200
+ statusCode: _response.error.statusCode,
201
+ body: _response.error.rawBody,
202
+ });
203
+ case "timeout":
204
+ throw new errors.VitalTimeoutError();
205
+ case "unknown":
206
+ throw new errors.VitalError({
207
+ message: _response.error.errorMessage,
208
+ });
209
+ }
210
+ });
211
+ }
212
+ /**
213
+ * @param {string} userId
214
+ * @param {Vital.VitalsBodyMassIndexGroupedRequest} request
215
+ * @param {Vitals.RequestOptions} requestOptions - Request-specific configuration.
216
+ *
217
+ * @throws {@link Vital.UnprocessableEntityError}
218
+ *
219
+ * @example
220
+ * await client.vitals.bodyMassIndexGrouped("user_id", {
221
+ * startDate: "start_date"
222
+ * })
223
+ */
224
+ bodyMassIndexGrouped(userId, request, requestOptions) {
225
+ var _a;
226
+ return __awaiter(this, void 0, void 0, function* () {
227
+ const { cursor, nextCursor, provider, startDate, endDate } = request;
228
+ const _queryParams = {};
229
+ if (cursor != null) {
230
+ _queryParams["cursor"] = cursor;
231
+ }
232
+ if (nextCursor != null) {
233
+ _queryParams["next_cursor"] = nextCursor;
234
+ }
235
+ if (provider != null) {
236
+ _queryParams["provider"] = provider;
237
+ }
238
+ _queryParams["start_date"] = startDate;
239
+ if (endDate != null) {
240
+ _queryParams["end_date"] = endDate;
241
+ }
242
+ const _response = yield core.fetcher({
243
+ url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/body_mass_index/grouped`),
244
+ method: "GET",
245
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
246
+ contentType: "application/json",
247
+ queryParameters: _queryParams,
248
+ requestType: "json",
249
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
250
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
251
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
252
+ });
253
+ if (_response.ok) {
254
+ return serializers.GroupedBodyMassIndexResponse.parseOrThrow(_response.body, {
255
+ unrecognizedObjectKeys: "passthrough",
256
+ allowUnrecognizedUnionMembers: true,
257
+ allowUnrecognizedEnumValues: true,
258
+ breadcrumbsPrefix: ["response"],
259
+ });
260
+ }
261
+ if (_response.error.reason === "status-code") {
262
+ switch (_response.error.statusCode) {
263
+ case 422:
264
+ throw new Vital.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
265
+ unrecognizedObjectKeys: "passthrough",
266
+ allowUnrecognizedUnionMembers: true,
267
+ allowUnrecognizedEnumValues: true,
268
+ breadcrumbsPrefix: ["response"],
269
+ }));
270
+ default:
271
+ throw new errors.VitalError({
272
+ statusCode: _response.error.statusCode,
273
+ body: _response.error.body,
274
+ });
275
+ }
276
+ }
277
+ switch (_response.error.reason) {
278
+ case "non-json":
279
+ throw new errors.VitalError({
280
+ statusCode: _response.error.statusCode,
281
+ body: _response.error.rawBody,
282
+ });
283
+ case "timeout":
284
+ throw new errors.VitalTimeoutError();
285
+ case "unknown":
286
+ throw new errors.VitalError({
287
+ message: _response.error.errorMessage,
288
+ });
289
+ }
290
+ });
291
+ }
292
+ /**
293
+ * @param {string} userId
294
+ * @param {Vital.VitalsBasalBodyTemperatureGroupedRequest} request
295
+ * @param {Vitals.RequestOptions} requestOptions - Request-specific configuration.
296
+ *
297
+ * @throws {@link Vital.UnprocessableEntityError}
298
+ *
299
+ * @example
300
+ * await client.vitals.basalBodyTemperatureGrouped("user_id", {
301
+ * startDate: "start_date"
302
+ * })
303
+ */
304
+ basalBodyTemperatureGrouped(userId, request, requestOptions) {
305
+ var _a;
306
+ return __awaiter(this, void 0, void 0, function* () {
307
+ const { cursor, nextCursor, provider, startDate, endDate } = request;
308
+ const _queryParams = {};
309
+ if (cursor != null) {
310
+ _queryParams["cursor"] = cursor;
311
+ }
312
+ if (nextCursor != null) {
313
+ _queryParams["next_cursor"] = nextCursor;
314
+ }
315
+ if (provider != null) {
316
+ _queryParams["provider"] = provider;
317
+ }
318
+ _queryParams["start_date"] = startDate;
319
+ if (endDate != null) {
320
+ _queryParams["end_date"] = endDate;
321
+ }
322
+ const _response = yield core.fetcher({
323
+ url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/basal_body_temperature/grouped`),
324
+ method: "GET",
325
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
326
+ contentType: "application/json",
327
+ queryParameters: _queryParams,
328
+ requestType: "json",
329
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
330
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
331
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
332
+ });
333
+ if (_response.ok) {
334
+ return serializers.GroupedBasalBodyTemperatureResponse.parseOrThrow(_response.body, {
335
+ unrecognizedObjectKeys: "passthrough",
336
+ allowUnrecognizedUnionMembers: true,
337
+ allowUnrecognizedEnumValues: true,
338
+ breadcrumbsPrefix: ["response"],
339
+ });
340
+ }
341
+ if (_response.error.reason === "status-code") {
342
+ switch (_response.error.statusCode) {
343
+ case 422:
344
+ throw new Vital.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
345
+ unrecognizedObjectKeys: "passthrough",
346
+ allowUnrecognizedUnionMembers: true,
347
+ allowUnrecognizedEnumValues: true,
348
+ breadcrumbsPrefix: ["response"],
349
+ }));
350
+ default:
351
+ throw new errors.VitalError({
352
+ statusCode: _response.error.statusCode,
353
+ body: _response.error.body,
354
+ });
355
+ }
356
+ }
357
+ switch (_response.error.reason) {
358
+ case "non-json":
359
+ throw new errors.VitalError({
360
+ statusCode: _response.error.statusCode,
361
+ body: _response.error.rawBody,
362
+ });
363
+ case "timeout":
364
+ throw new errors.VitalTimeoutError();
365
+ case "unknown":
366
+ throw new errors.VitalError({
367
+ message: _response.error.errorMessage,
368
+ });
369
+ }
370
+ });
371
+ }
372
+ /**
373
+ * @param {string} userId
374
+ * @param {Vital.VitalsHandwashingGroupedRequest} request
375
+ * @param {Vitals.RequestOptions} requestOptions - Request-specific configuration.
376
+ *
377
+ * @throws {@link Vital.UnprocessableEntityError}
378
+ *
379
+ * @example
380
+ * await client.vitals.handwashingGrouped("user_id", {
381
+ * startDate: "start_date"
382
+ * })
383
+ */
384
+ handwashingGrouped(userId, request, requestOptions) {
385
+ var _a;
386
+ return __awaiter(this, void 0, void 0, function* () {
387
+ const { cursor, nextCursor, provider, startDate, endDate } = request;
388
+ const _queryParams = {};
389
+ if (cursor != null) {
390
+ _queryParams["cursor"] = cursor;
391
+ }
392
+ if (nextCursor != null) {
393
+ _queryParams["next_cursor"] = nextCursor;
394
+ }
395
+ if (provider != null) {
396
+ _queryParams["provider"] = provider;
397
+ }
398
+ _queryParams["start_date"] = startDate;
399
+ if (endDate != null) {
400
+ _queryParams["end_date"] = endDate;
401
+ }
402
+ const _response = yield core.fetcher({
403
+ url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/handwashing/grouped`),
404
+ method: "GET",
405
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
406
+ contentType: "application/json",
407
+ queryParameters: _queryParams,
408
+ requestType: "json",
409
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
410
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
411
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
412
+ });
413
+ if (_response.ok) {
414
+ return serializers.GroupedHandwashingResponse.parseOrThrow(_response.body, {
415
+ unrecognizedObjectKeys: "passthrough",
416
+ allowUnrecognizedUnionMembers: true,
417
+ allowUnrecognizedEnumValues: true,
418
+ breadcrumbsPrefix: ["response"],
419
+ });
420
+ }
421
+ if (_response.error.reason === "status-code") {
422
+ switch (_response.error.statusCode) {
423
+ case 422:
424
+ throw new Vital.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
425
+ unrecognizedObjectKeys: "passthrough",
426
+ allowUnrecognizedUnionMembers: true,
427
+ allowUnrecognizedEnumValues: true,
428
+ breadcrumbsPrefix: ["response"],
429
+ }));
430
+ default:
431
+ throw new errors.VitalError({
432
+ statusCode: _response.error.statusCode,
433
+ body: _response.error.body,
434
+ });
435
+ }
436
+ }
437
+ switch (_response.error.reason) {
438
+ case "non-json":
439
+ throw new errors.VitalError({
440
+ statusCode: _response.error.statusCode,
441
+ body: _response.error.rawBody,
442
+ });
443
+ case "timeout":
444
+ throw new errors.VitalTimeoutError();
445
+ case "unknown":
446
+ throw new errors.VitalError({
447
+ message: _response.error.errorMessage,
448
+ });
449
+ }
450
+ });
451
+ }
452
+ /**
453
+ * @param {string} userId
454
+ * @param {Vital.VitalsDaylightExposureGroupedRequest} request
455
+ * @param {Vitals.RequestOptions} requestOptions - Request-specific configuration.
456
+ *
457
+ * @throws {@link Vital.UnprocessableEntityError}
458
+ *
459
+ * @example
460
+ * await client.vitals.daylightExposureGrouped("user_id", {
461
+ * startDate: "start_date"
462
+ * })
463
+ */
464
+ daylightExposureGrouped(userId, request, requestOptions) {
465
+ var _a;
466
+ return __awaiter(this, void 0, void 0, function* () {
467
+ const { cursor, nextCursor, provider, startDate, endDate } = request;
468
+ const _queryParams = {};
469
+ if (cursor != null) {
470
+ _queryParams["cursor"] = cursor;
471
+ }
472
+ if (nextCursor != null) {
473
+ _queryParams["next_cursor"] = nextCursor;
474
+ }
475
+ if (provider != null) {
476
+ _queryParams["provider"] = provider;
477
+ }
478
+ _queryParams["start_date"] = startDate;
479
+ if (endDate != null) {
480
+ _queryParams["end_date"] = endDate;
481
+ }
482
+ const _response = yield core.fetcher({
483
+ url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/daylight_exposure/grouped`),
484
+ method: "GET",
485
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
486
+ contentType: "application/json",
487
+ queryParameters: _queryParams,
488
+ requestType: "json",
489
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
490
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
491
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
492
+ });
493
+ if (_response.ok) {
494
+ return serializers.GroupedDaylightExposureResponse.parseOrThrow(_response.body, {
495
+ unrecognizedObjectKeys: "passthrough",
496
+ allowUnrecognizedUnionMembers: true,
497
+ allowUnrecognizedEnumValues: true,
498
+ breadcrumbsPrefix: ["response"],
499
+ });
500
+ }
501
+ if (_response.error.reason === "status-code") {
502
+ switch (_response.error.statusCode) {
503
+ case 422:
504
+ throw new Vital.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
505
+ unrecognizedObjectKeys: "passthrough",
506
+ allowUnrecognizedUnionMembers: true,
507
+ allowUnrecognizedEnumValues: true,
508
+ breadcrumbsPrefix: ["response"],
509
+ }));
510
+ default:
511
+ throw new errors.VitalError({
512
+ statusCode: _response.error.statusCode,
513
+ body: _response.error.body,
514
+ });
515
+ }
516
+ }
517
+ switch (_response.error.reason) {
518
+ case "non-json":
519
+ throw new errors.VitalError({
520
+ statusCode: _response.error.statusCode,
521
+ body: _response.error.rawBody,
522
+ });
523
+ case "timeout":
524
+ throw new errors.VitalTimeoutError();
525
+ case "unknown":
526
+ throw new errors.VitalError({
527
+ message: _response.error.errorMessage,
528
+ });
529
+ }
530
+ });
531
+ }
532
+ /**
533
+ * @param {string} userId
534
+ * @param {Vital.VitalsUvExposureGroupedRequest} request
535
+ * @param {Vitals.RequestOptions} requestOptions - Request-specific configuration.
536
+ *
537
+ * @throws {@link Vital.UnprocessableEntityError}
538
+ *
539
+ * @example
540
+ * await client.vitals.uvExposureGrouped("user_id", {
541
+ * startDate: "start_date"
542
+ * })
543
+ */
544
+ uvExposureGrouped(userId, request, requestOptions) {
545
+ var _a;
546
+ return __awaiter(this, void 0, void 0, function* () {
547
+ const { cursor, nextCursor, provider, startDate, endDate } = request;
548
+ const _queryParams = {};
549
+ if (cursor != null) {
550
+ _queryParams["cursor"] = cursor;
551
+ }
552
+ if (nextCursor != null) {
553
+ _queryParams["next_cursor"] = nextCursor;
554
+ }
555
+ if (provider != null) {
556
+ _queryParams["provider"] = provider;
557
+ }
558
+ _queryParams["start_date"] = startDate;
559
+ if (endDate != null) {
560
+ _queryParams["end_date"] = endDate;
561
+ }
562
+ const _response = yield core.fetcher({
563
+ url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/uv_exposure/grouped`),
564
+ method: "GET",
565
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
566
+ contentType: "application/json",
567
+ queryParameters: _queryParams,
568
+ requestType: "json",
569
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
570
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
571
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
572
+ });
573
+ if (_response.ok) {
574
+ return serializers.GroupedUvExposureResponse.parseOrThrow(_response.body, {
575
+ unrecognizedObjectKeys: "passthrough",
576
+ allowUnrecognizedUnionMembers: true,
577
+ allowUnrecognizedEnumValues: true,
578
+ breadcrumbsPrefix: ["response"],
579
+ });
580
+ }
581
+ if (_response.error.reason === "status-code") {
582
+ switch (_response.error.statusCode) {
583
+ case 422:
584
+ throw new Vital.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
585
+ unrecognizedObjectKeys: "passthrough",
586
+ allowUnrecognizedUnionMembers: true,
587
+ allowUnrecognizedEnumValues: true,
588
+ breadcrumbsPrefix: ["response"],
589
+ }));
590
+ default:
591
+ throw new errors.VitalError({
592
+ statusCode: _response.error.statusCode,
593
+ body: _response.error.body,
594
+ });
595
+ }
596
+ }
597
+ switch (_response.error.reason) {
598
+ case "non-json":
599
+ throw new errors.VitalError({
600
+ statusCode: _response.error.statusCode,
601
+ body: _response.error.rawBody,
602
+ });
603
+ case "timeout":
604
+ throw new errors.VitalTimeoutError();
605
+ case "unknown":
606
+ throw new errors.VitalError({
607
+ message: _response.error.errorMessage,
608
+ });
609
+ }
610
+ });
611
+ }
612
+ /**
613
+ * @param {string} userId
614
+ * @param {Vital.VitalsFallGroupedRequest} request
615
+ * @param {Vitals.RequestOptions} requestOptions - Request-specific configuration.
616
+ *
617
+ * @throws {@link Vital.UnprocessableEntityError}
618
+ *
619
+ * @example
620
+ * await client.vitals.fallGrouped("user_id", {
621
+ * startDate: "start_date"
622
+ * })
623
+ */
624
+ fallGrouped(userId, request, requestOptions) {
625
+ var _a;
626
+ return __awaiter(this, void 0, void 0, function* () {
627
+ const { cursor, nextCursor, provider, startDate, endDate } = request;
628
+ const _queryParams = {};
629
+ if (cursor != null) {
630
+ _queryParams["cursor"] = cursor;
631
+ }
632
+ if (nextCursor != null) {
633
+ _queryParams["next_cursor"] = nextCursor;
634
+ }
635
+ if (provider != null) {
636
+ _queryParams["provider"] = provider;
637
+ }
638
+ _queryParams["start_date"] = startDate;
639
+ if (endDate != null) {
640
+ _queryParams["end_date"] = endDate;
641
+ }
642
+ const _response = yield core.fetcher({
643
+ url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/fall/grouped`),
644
+ method: "GET",
645
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
646
+ contentType: "application/json",
647
+ queryParameters: _queryParams,
648
+ requestType: "json",
649
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
650
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
651
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
652
+ });
653
+ if (_response.ok) {
654
+ return serializers.GroupedFallResponse.parseOrThrow(_response.body, {
655
+ unrecognizedObjectKeys: "passthrough",
656
+ allowUnrecognizedUnionMembers: true,
657
+ allowUnrecognizedEnumValues: true,
658
+ breadcrumbsPrefix: ["response"],
659
+ });
660
+ }
661
+ if (_response.error.reason === "status-code") {
662
+ switch (_response.error.statusCode) {
663
+ case 422:
664
+ throw new Vital.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
665
+ unrecognizedObjectKeys: "passthrough",
666
+ allowUnrecognizedUnionMembers: true,
667
+ allowUnrecognizedEnumValues: true,
668
+ breadcrumbsPrefix: ["response"],
669
+ }));
670
+ default:
671
+ throw new errors.VitalError({
672
+ statusCode: _response.error.statusCode,
673
+ body: _response.error.body,
674
+ });
675
+ }
676
+ }
677
+ switch (_response.error.reason) {
678
+ case "non-json":
679
+ throw new errors.VitalError({
680
+ statusCode: _response.error.statusCode,
681
+ body: _response.error.rawBody,
682
+ });
683
+ case "timeout":
684
+ throw new errors.VitalTimeoutError();
685
+ case "unknown":
686
+ throw new errors.VitalError({
687
+ message: _response.error.errorMessage,
688
+ });
689
+ }
690
+ });
691
+ }
692
+ /**
693
+ * @param {string} userId
694
+ * @param {Vital.VitalsInhalerUsageGroupedRequest} request
695
+ * @param {Vitals.RequestOptions} requestOptions - Request-specific configuration.
696
+ *
697
+ * @throws {@link Vital.UnprocessableEntityError}
698
+ *
699
+ * @example
700
+ * await client.vitals.inhalerUsageGrouped("user_id", {
701
+ * startDate: "start_date"
702
+ * })
703
+ */
704
+ inhalerUsageGrouped(userId, request, requestOptions) {
705
+ var _a;
706
+ return __awaiter(this, void 0, void 0, function* () {
707
+ const { cursor, nextCursor, provider, startDate, endDate } = request;
708
+ const _queryParams = {};
709
+ if (cursor != null) {
710
+ _queryParams["cursor"] = cursor;
711
+ }
712
+ if (nextCursor != null) {
713
+ _queryParams["next_cursor"] = nextCursor;
714
+ }
715
+ if (provider != null) {
716
+ _queryParams["provider"] = provider;
717
+ }
718
+ _queryParams["start_date"] = startDate;
719
+ if (endDate != null) {
720
+ _queryParams["end_date"] = endDate;
721
+ }
722
+ const _response = yield core.fetcher({
723
+ url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/inhaler_usage/grouped`),
724
+ method: "GET",
725
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
726
+ contentType: "application/json",
727
+ queryParameters: _queryParams,
728
+ requestType: "json",
729
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
730
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
731
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
732
+ });
733
+ if (_response.ok) {
734
+ return serializers.GroupedInhalerUsageResponse.parseOrThrow(_response.body, {
735
+ unrecognizedObjectKeys: "passthrough",
736
+ allowUnrecognizedUnionMembers: true,
737
+ allowUnrecognizedEnumValues: true,
738
+ breadcrumbsPrefix: ["response"],
739
+ });
740
+ }
741
+ if (_response.error.reason === "status-code") {
742
+ switch (_response.error.statusCode) {
743
+ case 422:
744
+ throw new Vital.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
745
+ unrecognizedObjectKeys: "passthrough",
746
+ allowUnrecognizedUnionMembers: true,
747
+ allowUnrecognizedEnumValues: true,
748
+ breadcrumbsPrefix: ["response"],
749
+ }));
750
+ default:
751
+ throw new errors.VitalError({
752
+ statusCode: _response.error.statusCode,
753
+ body: _response.error.body,
754
+ });
755
+ }
756
+ }
757
+ switch (_response.error.reason) {
758
+ case "non-json":
759
+ throw new errors.VitalError({
760
+ statusCode: _response.error.statusCode,
761
+ body: _response.error.rawBody,
762
+ });
763
+ case "timeout":
764
+ throw new errors.VitalTimeoutError();
765
+ case "unknown":
766
+ throw new errors.VitalError({
767
+ message: _response.error.errorMessage,
768
+ });
769
+ }
770
+ });
771
+ }
772
+ /**
773
+ * @param {string} userId
774
+ * @param {Vital.VitalsPeakExpiratoryFlowRateGroupedRequest} request
775
+ * @param {Vitals.RequestOptions} requestOptions - Request-specific configuration.
776
+ *
777
+ * @throws {@link Vital.UnprocessableEntityError}
778
+ *
779
+ * @example
780
+ * await client.vitals.peakExpiratoryFlowRateGrouped("user_id", {
781
+ * startDate: "start_date"
782
+ * })
783
+ */
784
+ peakExpiratoryFlowRateGrouped(userId, request, requestOptions) {
785
+ var _a;
786
+ return __awaiter(this, void 0, void 0, function* () {
787
+ const { cursor, nextCursor, provider, startDate, endDate } = request;
788
+ const _queryParams = {};
789
+ if (cursor != null) {
790
+ _queryParams["cursor"] = cursor;
791
+ }
792
+ if (nextCursor != null) {
793
+ _queryParams["next_cursor"] = nextCursor;
794
+ }
795
+ if (provider != null) {
796
+ _queryParams["provider"] = provider;
797
+ }
798
+ _queryParams["start_date"] = startDate;
799
+ if (endDate != null) {
800
+ _queryParams["end_date"] = endDate;
801
+ }
802
+ const _response = yield core.fetcher({
803
+ url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/peak_expiratory_flow_rate/grouped`),
804
+ method: "GET",
805
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
806
+ contentType: "application/json",
807
+ queryParameters: _queryParams,
808
+ requestType: "json",
809
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
810
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
811
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
812
+ });
813
+ if (_response.ok) {
814
+ return serializers.GroupedPeakExpiratoryFlowRateResponse.parseOrThrow(_response.body, {
815
+ unrecognizedObjectKeys: "passthrough",
816
+ allowUnrecognizedUnionMembers: true,
817
+ allowUnrecognizedEnumValues: true,
818
+ breadcrumbsPrefix: ["response"],
819
+ });
820
+ }
821
+ if (_response.error.reason === "status-code") {
822
+ switch (_response.error.statusCode) {
823
+ case 422:
824
+ throw new Vital.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
825
+ unrecognizedObjectKeys: "passthrough",
826
+ allowUnrecognizedUnionMembers: true,
827
+ allowUnrecognizedEnumValues: true,
828
+ breadcrumbsPrefix: ["response"],
829
+ }));
830
+ default:
831
+ throw new errors.VitalError({
832
+ statusCode: _response.error.statusCode,
833
+ body: _response.error.body,
834
+ });
835
+ }
836
+ }
837
+ switch (_response.error.reason) {
838
+ case "non-json":
839
+ throw new errors.VitalError({
840
+ statusCode: _response.error.statusCode,
841
+ body: _response.error.rawBody,
842
+ });
843
+ case "timeout":
844
+ throw new errors.VitalTimeoutError();
845
+ case "unknown":
846
+ throw new errors.VitalError({
847
+ message: _response.error.errorMessage,
848
+ });
849
+ }
850
+ });
851
+ }
852
+ /**
853
+ * @param {string} userId
854
+ * @param {Vital.VitalsForcedVitalCapacityGroupedRequest} request
855
+ * @param {Vitals.RequestOptions} requestOptions - Request-specific configuration.
856
+ *
857
+ * @throws {@link Vital.UnprocessableEntityError}
858
+ *
859
+ * @example
860
+ * await client.vitals.forcedVitalCapacityGrouped("user_id", {
861
+ * startDate: "start_date"
862
+ * })
863
+ */
864
+ forcedVitalCapacityGrouped(userId, request, requestOptions) {
865
+ var _a;
866
+ return __awaiter(this, void 0, void 0, function* () {
867
+ const { cursor, nextCursor, provider, startDate, endDate } = request;
868
+ const _queryParams = {};
869
+ if (cursor != null) {
870
+ _queryParams["cursor"] = cursor;
871
+ }
872
+ if (nextCursor != null) {
873
+ _queryParams["next_cursor"] = nextCursor;
874
+ }
875
+ if (provider != null) {
876
+ _queryParams["provider"] = provider;
877
+ }
878
+ _queryParams["start_date"] = startDate;
879
+ if (endDate != null) {
880
+ _queryParams["end_date"] = endDate;
881
+ }
882
+ const _response = yield core.fetcher({
883
+ url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/forced_vital_capacity/grouped`),
884
+ method: "GET",
885
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
886
+ contentType: "application/json",
887
+ queryParameters: _queryParams,
888
+ requestType: "json",
889
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
890
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
891
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
892
+ });
893
+ if (_response.ok) {
894
+ return serializers.GroupedForcedVitalCapacityResponse.parseOrThrow(_response.body, {
895
+ unrecognizedObjectKeys: "passthrough",
896
+ allowUnrecognizedUnionMembers: true,
897
+ allowUnrecognizedEnumValues: true,
898
+ breadcrumbsPrefix: ["response"],
899
+ });
900
+ }
901
+ if (_response.error.reason === "status-code") {
902
+ switch (_response.error.statusCode) {
903
+ case 422:
904
+ throw new Vital.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
905
+ unrecognizedObjectKeys: "passthrough",
906
+ allowUnrecognizedUnionMembers: true,
907
+ allowUnrecognizedEnumValues: true,
908
+ breadcrumbsPrefix: ["response"],
909
+ }));
910
+ default:
911
+ throw new errors.VitalError({
912
+ statusCode: _response.error.statusCode,
913
+ body: _response.error.body,
914
+ });
915
+ }
916
+ }
917
+ switch (_response.error.reason) {
918
+ case "non-json":
919
+ throw new errors.VitalError({
920
+ statusCode: _response.error.statusCode,
921
+ body: _response.error.rawBody,
922
+ });
923
+ case "timeout":
924
+ throw new errors.VitalTimeoutError();
925
+ case "unknown":
926
+ throw new errors.VitalError({
927
+ message: _response.error.errorMessage,
928
+ });
929
+ }
930
+ });
931
+ }
932
+ /**
933
+ * @param {string} userId
934
+ * @param {Vital.VitalsForcedExpiratoryVolume1GroupedRequest} request
935
+ * @param {Vitals.RequestOptions} requestOptions - Request-specific configuration.
936
+ *
937
+ * @throws {@link Vital.UnprocessableEntityError}
938
+ *
939
+ * @example
940
+ * await client.vitals.forcedExpiratoryVolume1Grouped("user_id", {
941
+ * startDate: "start_date"
942
+ * })
943
+ */
944
+ forcedExpiratoryVolume1Grouped(userId, request, requestOptions) {
945
+ var _a;
946
+ return __awaiter(this, void 0, void 0, function* () {
947
+ const { cursor, nextCursor, provider, startDate, endDate } = request;
948
+ const _queryParams = {};
949
+ if (cursor != null) {
950
+ _queryParams["cursor"] = cursor;
951
+ }
952
+ if (nextCursor != null) {
953
+ _queryParams["next_cursor"] = nextCursor;
954
+ }
955
+ if (provider != null) {
956
+ _queryParams["provider"] = provider;
957
+ }
958
+ _queryParams["start_date"] = startDate;
959
+ if (endDate != null) {
960
+ _queryParams["end_date"] = endDate;
961
+ }
962
+ const _response = yield core.fetcher({
963
+ url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/forced_expiratory_volume_1/grouped`),
964
+ method: "GET",
965
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
966
+ contentType: "application/json",
967
+ queryParameters: _queryParams,
968
+ requestType: "json",
969
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
970
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
971
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
972
+ });
973
+ if (_response.ok) {
974
+ return serializers.GroupedForcedExpiratoryVolume1Response.parseOrThrow(_response.body, {
975
+ unrecognizedObjectKeys: "passthrough",
976
+ allowUnrecognizedUnionMembers: true,
977
+ allowUnrecognizedEnumValues: true,
978
+ breadcrumbsPrefix: ["response"],
979
+ });
980
+ }
981
+ if (_response.error.reason === "status-code") {
982
+ switch (_response.error.statusCode) {
983
+ case 422:
984
+ throw new Vital.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
985
+ unrecognizedObjectKeys: "passthrough",
986
+ allowUnrecognizedUnionMembers: true,
987
+ allowUnrecognizedEnumValues: true,
988
+ breadcrumbsPrefix: ["response"],
989
+ }));
990
+ default:
991
+ throw new errors.VitalError({
992
+ statusCode: _response.error.statusCode,
993
+ body: _response.error.body,
994
+ });
995
+ }
996
+ }
997
+ switch (_response.error.reason) {
998
+ case "non-json":
999
+ throw new errors.VitalError({
1000
+ statusCode: _response.error.statusCode,
1001
+ body: _response.error.rawBody,
1002
+ });
1003
+ case "timeout":
1004
+ throw new errors.VitalTimeoutError();
1005
+ case "unknown":
1006
+ throw new errors.VitalError({
1007
+ message: _response.error.errorMessage,
1008
+ });
1009
+ }
1010
+ });
1011
+ }
1012
+ /**
1013
+ * @param {string} userId
1014
+ * @param {Vital.VitalsWheelchairPushGroupedRequest} request
1015
+ * @param {Vitals.RequestOptions} requestOptions - Request-specific configuration.
1016
+ *
1017
+ * @throws {@link Vital.UnprocessableEntityError}
1018
+ *
1019
+ * @example
1020
+ * await client.vitals.wheelchairPushGrouped("user_id", {
1021
+ * startDate: "start_date"
1022
+ * })
1023
+ */
1024
+ wheelchairPushGrouped(userId, request, requestOptions) {
1025
+ var _a;
1026
+ return __awaiter(this, void 0, void 0, function* () {
1027
+ const { cursor, nextCursor, provider, startDate, endDate } = request;
1028
+ const _queryParams = {};
1029
+ if (cursor != null) {
1030
+ _queryParams["cursor"] = cursor;
1031
+ }
1032
+ if (nextCursor != null) {
1033
+ _queryParams["next_cursor"] = nextCursor;
1034
+ }
1035
+ if (provider != null) {
1036
+ _queryParams["provider"] = provider;
1037
+ }
1038
+ _queryParams["start_date"] = startDate;
1039
+ if (endDate != null) {
1040
+ _queryParams["end_date"] = endDate;
1041
+ }
1042
+ const _response = yield core.fetcher({
1043
+ url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/wheelchair_push/grouped`),
1044
+ method: "GET",
1045
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1046
+ contentType: "application/json",
1047
+ queryParameters: _queryParams,
1048
+ requestType: "json",
1049
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1050
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1051
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1052
+ });
1053
+ if (_response.ok) {
1054
+ return serializers.GroupedWheelchairPushResponse.parseOrThrow(_response.body, {
1055
+ unrecognizedObjectKeys: "passthrough",
1056
+ allowUnrecognizedUnionMembers: true,
1057
+ allowUnrecognizedEnumValues: true,
1058
+ breadcrumbsPrefix: ["response"],
1059
+ });
1060
+ }
1061
+ if (_response.error.reason === "status-code") {
1062
+ switch (_response.error.statusCode) {
1063
+ case 422:
1064
+ throw new Vital.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
1065
+ unrecognizedObjectKeys: "passthrough",
1066
+ allowUnrecognizedUnionMembers: true,
1067
+ allowUnrecognizedEnumValues: true,
1068
+ breadcrumbsPrefix: ["response"],
1069
+ }));
1070
+ default:
1071
+ throw new errors.VitalError({
1072
+ statusCode: _response.error.statusCode,
1073
+ body: _response.error.body,
1074
+ });
1075
+ }
1076
+ }
1077
+ switch (_response.error.reason) {
1078
+ case "non-json":
1079
+ throw new errors.VitalError({
1080
+ statusCode: _response.error.statusCode,
1081
+ body: _response.error.rawBody,
1082
+ });
1083
+ case "timeout":
1084
+ throw new errors.VitalTimeoutError();
1085
+ case "unknown":
1086
+ throw new errors.VitalError({
1087
+ message: _response.error.errorMessage,
1088
+ });
1089
+ }
1090
+ });
1091
+ }
1092
+ /**
1093
+ * @param {string} userId
1094
+ * @param {Vital.VitalsSleepBreathingDisturbanceGroupedRequest} request
1095
+ * @param {Vitals.RequestOptions} requestOptions - Request-specific configuration.
1096
+ *
1097
+ * @throws {@link Vital.UnprocessableEntityError}
1098
+ *
1099
+ * @example
1100
+ * await client.vitals.sleepBreathingDisturbanceGrouped("user_id", {
1101
+ * startDate: "start_date"
1102
+ * })
1103
+ */
1104
+ sleepBreathingDisturbanceGrouped(userId, request, requestOptions) {
1105
+ var _a;
1106
+ return __awaiter(this, void 0, void 0, function* () {
1107
+ const { cursor, nextCursor, provider, startDate, endDate } = request;
1108
+ const _queryParams = {};
1109
+ if (cursor != null) {
1110
+ _queryParams["cursor"] = cursor;
1111
+ }
1112
+ if (nextCursor != null) {
1113
+ _queryParams["next_cursor"] = nextCursor;
1114
+ }
1115
+ if (provider != null) {
1116
+ _queryParams["provider"] = provider;
1117
+ }
1118
+ _queryParams["start_date"] = startDate;
1119
+ if (endDate != null) {
1120
+ _queryParams["end_date"] = endDate;
1121
+ }
1122
+ const _response = yield core.fetcher({
1123
+ url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/sleep_breathing_disturbance/grouped`),
1124
+ method: "GET",
1125
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1126
+ contentType: "application/json",
1127
+ queryParameters: _queryParams,
1128
+ requestType: "json",
1129
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1130
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1131
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1132
+ });
1133
+ if (_response.ok) {
1134
+ return serializers.GroupedSleepBreathingDisturbanceResponse.parseOrThrow(_response.body, {
1135
+ unrecognizedObjectKeys: "passthrough",
1136
+ allowUnrecognizedUnionMembers: true,
1137
+ allowUnrecognizedEnumValues: true,
1138
+ breadcrumbsPrefix: ["response"],
1139
+ });
1140
+ }
1141
+ if (_response.error.reason === "status-code") {
1142
+ switch (_response.error.statusCode) {
1143
+ case 422:
1144
+ throw new Vital.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
1145
+ unrecognizedObjectKeys: "passthrough",
1146
+ allowUnrecognizedUnionMembers: true,
1147
+ allowUnrecognizedEnumValues: true,
1148
+ breadcrumbsPrefix: ["response"],
1149
+ }));
1150
+ default:
1151
+ throw new errors.VitalError({
1152
+ statusCode: _response.error.statusCode,
1153
+ body: _response.error.body,
1154
+ });
1155
+ }
1156
+ }
1157
+ switch (_response.error.reason) {
1158
+ case "non-json":
1159
+ throw new errors.VitalError({
1160
+ statusCode: _response.error.statusCode,
1161
+ body: _response.error.rawBody,
1162
+ });
1163
+ case "timeout":
1164
+ throw new errors.VitalTimeoutError();
1165
+ case "unknown":
1166
+ throw new errors.VitalError({
1167
+ message: _response.error.errorMessage,
1168
+ });
1169
+ }
1170
+ });
1171
+ }
1172
+ /**
1173
+ * @param {string} userId
1174
+ * @param {Vital.VitalsSleepApneaAlertGroupedRequest} request
1175
+ * @param {Vitals.RequestOptions} requestOptions - Request-specific configuration.
1176
+ *
1177
+ * @throws {@link Vital.UnprocessableEntityError}
1178
+ *
1179
+ * @example
1180
+ * await client.vitals.sleepApneaAlertGrouped("user_id", {
1181
+ * startDate: "start_date"
1182
+ * })
1183
+ */
1184
+ sleepApneaAlertGrouped(userId, request, requestOptions) {
1185
+ var _a;
1186
+ return __awaiter(this, void 0, void 0, function* () {
1187
+ const { cursor, nextCursor, provider, startDate, endDate } = request;
1188
+ const _queryParams = {};
1189
+ if (cursor != null) {
1190
+ _queryParams["cursor"] = cursor;
1191
+ }
1192
+ if (nextCursor != null) {
1193
+ _queryParams["next_cursor"] = nextCursor;
1194
+ }
1195
+ if (provider != null) {
1196
+ _queryParams["provider"] = provider;
1197
+ }
1198
+ _queryParams["start_date"] = startDate;
1199
+ if (endDate != null) {
1200
+ _queryParams["end_date"] = endDate;
1201
+ }
1202
+ const _response = yield core.fetcher({
1203
+ url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/sleep_apnea_alert/grouped`),
1204
+ method: "GET",
1205
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1206
+ contentType: "application/json",
1207
+ queryParameters: _queryParams,
1208
+ requestType: "json",
1209
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1210
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1211
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1212
+ });
1213
+ if (_response.ok) {
1214
+ return serializers.GroupedSleepApneaAlertResponse.parseOrThrow(_response.body, {
1215
+ unrecognizedObjectKeys: "passthrough",
1216
+ allowUnrecognizedUnionMembers: true,
1217
+ allowUnrecognizedEnumValues: true,
1218
+ breadcrumbsPrefix: ["response"],
1219
+ });
1220
+ }
1221
+ if (_response.error.reason === "status-code") {
1222
+ switch (_response.error.statusCode) {
1223
+ case 422:
1224
+ throw new Vital.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
1225
+ unrecognizedObjectKeys: "passthrough",
1226
+ allowUnrecognizedUnionMembers: true,
1227
+ allowUnrecognizedEnumValues: true,
1228
+ breadcrumbsPrefix: ["response"],
1229
+ }));
1230
+ default:
1231
+ throw new errors.VitalError({
1232
+ statusCode: _response.error.statusCode,
1233
+ body: _response.error.body,
1234
+ });
1235
+ }
1236
+ }
1237
+ switch (_response.error.reason) {
1238
+ case "non-json":
1239
+ throw new errors.VitalError({
1240
+ statusCode: _response.error.statusCode,
1241
+ body: _response.error.rawBody,
1242
+ });
1243
+ case "timeout":
1244
+ throw new errors.VitalTimeoutError();
1245
+ case "unknown":
1246
+ throw new errors.VitalError({
1247
+ message: _response.error.errorMessage,
1248
+ });
1249
+ }
1250
+ });
1251
+ }
1252
+ /**
1253
+ * @param {string} userId
1254
+ * @param {Vital.VitalsStandDurationGroupedRequest} request
1255
+ * @param {Vitals.RequestOptions} requestOptions - Request-specific configuration.
1256
+ *
1257
+ * @throws {@link Vital.UnprocessableEntityError}
1258
+ *
1259
+ * @example
1260
+ * await client.vitals.standDurationGrouped("user_id", {
1261
+ * startDate: "start_date"
1262
+ * })
1263
+ */
1264
+ standDurationGrouped(userId, request, requestOptions) {
1265
+ var _a;
1266
+ return __awaiter(this, void 0, void 0, function* () {
1267
+ const { cursor, nextCursor, provider, startDate, endDate } = request;
1268
+ const _queryParams = {};
1269
+ if (cursor != null) {
1270
+ _queryParams["cursor"] = cursor;
1271
+ }
1272
+ if (nextCursor != null) {
1273
+ _queryParams["next_cursor"] = nextCursor;
1274
+ }
1275
+ if (provider != null) {
1276
+ _queryParams["provider"] = provider;
1277
+ }
1278
+ _queryParams["start_date"] = startDate;
1279
+ if (endDate != null) {
1280
+ _queryParams["end_date"] = endDate;
1281
+ }
1282
+ const _response = yield core.fetcher({
1283
+ url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/stand_duration/grouped`),
1284
+ method: "GET",
1285
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1286
+ contentType: "application/json",
1287
+ queryParameters: _queryParams,
1288
+ requestType: "json",
1289
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1290
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1291
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1292
+ });
1293
+ if (_response.ok) {
1294
+ return serializers.GroupedStandDurationResponse.parseOrThrow(_response.body, {
1295
+ unrecognizedObjectKeys: "passthrough",
1296
+ allowUnrecognizedUnionMembers: true,
1297
+ allowUnrecognizedEnumValues: true,
1298
+ breadcrumbsPrefix: ["response"],
1299
+ });
1300
+ }
1301
+ if (_response.error.reason === "status-code") {
1302
+ switch (_response.error.statusCode) {
1303
+ case 422:
1304
+ throw new Vital.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
1305
+ unrecognizedObjectKeys: "passthrough",
1306
+ allowUnrecognizedUnionMembers: true,
1307
+ allowUnrecognizedEnumValues: true,
1308
+ breadcrumbsPrefix: ["response"],
1309
+ }));
1310
+ default:
1311
+ throw new errors.VitalError({
1312
+ statusCode: _response.error.statusCode,
1313
+ body: _response.error.body,
1314
+ });
1315
+ }
1316
+ }
1317
+ switch (_response.error.reason) {
1318
+ case "non-json":
1319
+ throw new errors.VitalError({
1320
+ statusCode: _response.error.statusCode,
1321
+ body: _response.error.rawBody,
1322
+ });
1323
+ case "timeout":
1324
+ throw new errors.VitalTimeoutError();
1325
+ case "unknown":
1326
+ throw new errors.VitalError({
1327
+ message: _response.error.errorMessage,
1328
+ });
1329
+ }
1330
+ });
1331
+ }
1332
+ /**
1333
+ * @param {string} userId
1334
+ * @param {Vital.VitalsStandHourGroupedRequest} request
1335
+ * @param {Vitals.RequestOptions} requestOptions - Request-specific configuration.
1336
+ *
1337
+ * @throws {@link Vital.UnprocessableEntityError}
1338
+ *
1339
+ * @example
1340
+ * await client.vitals.standHourGrouped("user_id", {
1341
+ * startDate: "start_date"
1342
+ * })
1343
+ */
1344
+ standHourGrouped(userId, request, requestOptions) {
1345
+ var _a;
1346
+ return __awaiter(this, void 0, void 0, function* () {
1347
+ const { cursor, nextCursor, provider, startDate, endDate } = request;
1348
+ const _queryParams = {};
1349
+ if (cursor != null) {
1350
+ _queryParams["cursor"] = cursor;
1351
+ }
1352
+ if (nextCursor != null) {
1353
+ _queryParams["next_cursor"] = nextCursor;
1354
+ }
1355
+ if (provider != null) {
1356
+ _queryParams["provider"] = provider;
1357
+ }
1358
+ _queryParams["start_date"] = startDate;
1359
+ if (endDate != null) {
1360
+ _queryParams["end_date"] = endDate;
1361
+ }
1362
+ const _response = yield core.fetcher({
1363
+ url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/stand_hour/grouped`),
1364
+ method: "GET",
1365
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1366
+ contentType: "application/json",
1367
+ queryParameters: _queryParams,
1368
+ requestType: "json",
1369
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1370
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1371
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1372
+ });
1373
+ if (_response.ok) {
1374
+ return serializers.GroupedStandHourResponse.parseOrThrow(_response.body, {
1375
+ unrecognizedObjectKeys: "passthrough",
1376
+ allowUnrecognizedUnionMembers: true,
1377
+ allowUnrecognizedEnumValues: true,
1378
+ breadcrumbsPrefix: ["response"],
1379
+ });
1380
+ }
1381
+ if (_response.error.reason === "status-code") {
1382
+ switch (_response.error.statusCode) {
1383
+ case 422:
1384
+ throw new Vital.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
1385
+ unrecognizedObjectKeys: "passthrough",
1386
+ allowUnrecognizedUnionMembers: true,
1387
+ allowUnrecognizedEnumValues: true,
1388
+ breadcrumbsPrefix: ["response"],
1389
+ }));
1390
+ default:
1391
+ throw new errors.VitalError({
1392
+ statusCode: _response.error.statusCode,
1393
+ body: _response.error.body,
1394
+ });
1395
+ }
1396
+ }
1397
+ switch (_response.error.reason) {
1398
+ case "non-json":
1399
+ throw new errors.VitalError({
1400
+ statusCode: _response.error.statusCode,
1401
+ body: _response.error.rawBody,
1402
+ });
1403
+ case "timeout":
1404
+ throw new errors.VitalTimeoutError();
1405
+ case "unknown":
1406
+ throw new errors.VitalError({
1407
+ message: _response.error.errorMessage,
1408
+ });
1409
+ }
1410
+ });
1411
+ }
52
1412
  /**
53
1413
  * @param {string} userId
54
1414
  * @param {Vital.VitalsHeartRateAlertGroupedRequest} request
@@ -82,7 +1442,7 @@ class Vitals {
82
1442
  const _response = yield core.fetcher({
83
1443
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/heart_rate_alert/grouped`),
84
1444
  method: "GET",
85
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1445
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
86
1446
  contentType: "application/json",
87
1447
  queryParameters: _queryParams,
88
1448
  requestType: "json",
@@ -162,7 +1522,7 @@ class Vitals {
162
1522
  const _response = yield core.fetcher({
163
1523
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/afib_burden/grouped`),
164
1524
  method: "GET",
165
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1525
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
166
1526
  contentType: "application/json",
167
1527
  queryParameters: _queryParams,
168
1528
  requestType: "json",
@@ -242,7 +1602,7 @@ class Vitals {
242
1602
  const _response = yield core.fetcher({
243
1603
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/workout_duration/grouped`),
244
1604
  method: "GET",
245
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1605
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
246
1606
  contentType: "application/json",
247
1607
  queryParameters: _queryParams,
248
1608
  requestType: "json",
@@ -322,7 +1682,7 @@ class Vitals {
322
1682
  const _response = yield core.fetcher({
323
1683
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/vo2_max/grouped`),
324
1684
  method: "GET",
325
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1685
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
326
1686
  contentType: "application/json",
327
1687
  queryParameters: _queryParams,
328
1688
  requestType: "json",
@@ -402,7 +1762,7 @@ class Vitals {
402
1762
  const _response = yield core.fetcher({
403
1763
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/stress_level/grouped`),
404
1764
  method: "GET",
405
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1765
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
406
1766
  contentType: "application/json",
407
1767
  queryParameters: _queryParams,
408
1768
  requestType: "json",
@@ -482,7 +1842,7 @@ class Vitals {
482
1842
  const _response = yield core.fetcher({
483
1843
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/mindfulness_minutes/grouped`),
484
1844
  method: "GET",
485
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1845
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
486
1846
  contentType: "application/json",
487
1847
  queryParameters: _queryParams,
488
1848
  requestType: "json",
@@ -562,7 +1922,7 @@ class Vitals {
562
1922
  const _response = yield core.fetcher({
563
1923
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/caffeine/grouped`),
564
1924
  method: "GET",
565
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1925
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
566
1926
  contentType: "application/json",
567
1927
  queryParameters: _queryParams,
568
1928
  requestType: "json",
@@ -642,7 +2002,7 @@ class Vitals {
642
2002
  const _response = yield core.fetcher({
643
2003
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/water/grouped`),
644
2004
  method: "GET",
645
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2005
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
646
2006
  contentType: "application/json",
647
2007
  queryParameters: _queryParams,
648
2008
  requestType: "json",
@@ -722,7 +2082,7 @@ class Vitals {
722
2082
  const _response = yield core.fetcher({
723
2083
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/steps/grouped`),
724
2084
  method: "GET",
725
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2085
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
726
2086
  contentType: "application/json",
727
2087
  queryParameters: _queryParams,
728
2088
  requestType: "json",
@@ -802,7 +2162,7 @@ class Vitals {
802
2162
  const _response = yield core.fetcher({
803
2163
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/floors_climbed/grouped`),
804
2164
  method: "GET",
805
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2165
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
806
2166
  contentType: "application/json",
807
2167
  queryParameters: _queryParams,
808
2168
  requestType: "json",
@@ -882,7 +2242,7 @@ class Vitals {
882
2242
  const _response = yield core.fetcher({
883
2243
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/distance/grouped`),
884
2244
  method: "GET",
885
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2245
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
886
2246
  contentType: "application/json",
887
2247
  queryParameters: _queryParams,
888
2248
  requestType: "json",
@@ -962,7 +2322,7 @@ class Vitals {
962
2322
  const _response = yield core.fetcher({
963
2323
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/calories_basal/grouped`),
964
2324
  method: "GET",
965
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2325
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
966
2326
  contentType: "application/json",
967
2327
  queryParameters: _queryParams,
968
2328
  requestType: "json",
@@ -1042,7 +2402,7 @@ class Vitals {
1042
2402
  const _response = yield core.fetcher({
1043
2403
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/calories_active/grouped`),
1044
2404
  method: "GET",
1045
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2405
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1046
2406
  contentType: "application/json",
1047
2407
  queryParameters: _queryParams,
1048
2408
  requestType: "json",
@@ -1122,7 +2482,7 @@ class Vitals {
1122
2482
  const _response = yield core.fetcher({
1123
2483
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/respiratory_rate/grouped`),
1124
2484
  method: "GET",
1125
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2485
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1126
2486
  contentType: "application/json",
1127
2487
  queryParameters: _queryParams,
1128
2488
  requestType: "json",
@@ -1202,7 +2562,7 @@ class Vitals {
1202
2562
  const _response = yield core.fetcher({
1203
2563
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/note/grouped`),
1204
2564
  method: "GET",
1205
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2565
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1206
2566
  contentType: "application/json",
1207
2567
  queryParameters: _queryParams,
1208
2568
  requestType: "json",
@@ -1282,7 +2642,7 @@ class Vitals {
1282
2642
  const _response = yield core.fetcher({
1283
2643
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/insulin_injection/grouped`),
1284
2644
  method: "GET",
1285
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2645
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1286
2646
  contentType: "application/json",
1287
2647
  queryParameters: _queryParams,
1288
2648
  requestType: "json",
@@ -1362,7 +2722,7 @@ class Vitals {
1362
2722
  const _response = yield core.fetcher({
1363
2723
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/ige/grouped`),
1364
2724
  method: "GET",
1365
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2725
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1366
2726
  contentType: "application/json",
1367
2727
  queryParameters: _queryParams,
1368
2728
  requestType: "json",
@@ -1442,7 +2802,7 @@ class Vitals {
1442
2802
  const _response = yield core.fetcher({
1443
2803
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/igg/grouped`),
1444
2804
  method: "GET",
1445
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2805
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1446
2806
  contentType: "application/json",
1447
2807
  queryParameters: _queryParams,
1448
2808
  requestType: "json",
@@ -1522,7 +2882,7 @@ class Vitals {
1522
2882
  const _response = yield core.fetcher({
1523
2883
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/hypnogram/grouped`),
1524
2884
  method: "GET",
1525
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2885
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1526
2886
  contentType: "application/json",
1527
2887
  queryParameters: _queryParams,
1528
2888
  requestType: "json",
@@ -1602,7 +2962,7 @@ class Vitals {
1602
2962
  const _response = yield core.fetcher({
1603
2963
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/hrv/grouped`),
1604
2964
  method: "GET",
1605
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2965
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1606
2966
  contentType: "application/json",
1607
2967
  queryParameters: _queryParams,
1608
2968
  requestType: "json",
@@ -1682,7 +3042,7 @@ class Vitals {
1682
3042
  const _response = yield core.fetcher({
1683
3043
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/heartrate/grouped`),
1684
3044
  method: "GET",
1685
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3045
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1686
3046
  contentType: "application/json",
1687
3047
  queryParameters: _queryParams,
1688
3048
  requestType: "json",
@@ -1762,7 +3122,7 @@ class Vitals {
1762
3122
  const _response = yield core.fetcher({
1763
3123
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/glucose/grouped`),
1764
3124
  method: "GET",
1765
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3125
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1766
3126
  contentType: "application/json",
1767
3127
  queryParameters: _queryParams,
1768
3128
  requestType: "json",
@@ -1842,7 +3202,7 @@ class Vitals {
1842
3202
  const _response = yield core.fetcher({
1843
3203
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/cholesterol/grouped`),
1844
3204
  method: "GET",
1845
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3205
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1846
3206
  contentType: "application/json",
1847
3207
  queryParameters: _queryParams,
1848
3208
  requestType: "json",
@@ -1922,7 +3282,7 @@ class Vitals {
1922
3282
  const _response = yield core.fetcher({
1923
3283
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/carbohydrates/grouped`),
1924
3284
  method: "GET",
1925
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3285
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1926
3286
  contentType: "application/json",
1927
3287
  queryParameters: _queryParams,
1928
3288
  requestType: "json",
@@ -2002,7 +3362,7 @@ class Vitals {
2002
3362
  const _response = yield core.fetcher({
2003
3363
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/body_temperature_delta/grouped`),
2004
3364
  method: "GET",
2005
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3365
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2006
3366
  contentType: "application/json",
2007
3367
  queryParameters: _queryParams,
2008
3368
  requestType: "json",
@@ -2082,7 +3442,7 @@ class Vitals {
2082
3442
  const _response = yield core.fetcher({
2083
3443
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/body_temperature/grouped`),
2084
3444
  method: "GET",
2085
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3445
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2086
3446
  contentType: "application/json",
2087
3447
  queryParameters: _queryParams,
2088
3448
  requestType: "json",
@@ -2162,7 +3522,7 @@ class Vitals {
2162
3522
  const _response = yield core.fetcher({
2163
3523
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/body_weight/grouped`),
2164
3524
  method: "GET",
2165
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3525
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2166
3526
  contentType: "application/json",
2167
3527
  queryParameters: _queryParams,
2168
3528
  requestType: "json",
@@ -2242,7 +3602,7 @@ class Vitals {
2242
3602
  const _response = yield core.fetcher({
2243
3603
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/body_fat/grouped`),
2244
3604
  method: "GET",
2245
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3605
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2246
3606
  contentType: "application/json",
2247
3607
  queryParameters: _queryParams,
2248
3608
  requestType: "json",
@@ -2322,7 +3682,7 @@ class Vitals {
2322
3682
  const _response = yield core.fetcher({
2323
3683
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/blood_oxygen/grouped`),
2324
3684
  method: "GET",
2325
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3685
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2326
3686
  contentType: "application/json",
2327
3687
  queryParameters: _queryParams,
2328
3688
  requestType: "json",
@@ -2402,7 +3762,7 @@ class Vitals {
2402
3762
  const _response = yield core.fetcher({
2403
3763
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/electrocardiogram_voltage/grouped`),
2404
3764
  method: "GET",
2405
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3765
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2406
3766
  contentType: "application/json",
2407
3767
  queryParameters: _queryParams,
2408
3768
  requestType: "json",
@@ -2482,7 +3842,7 @@ class Vitals {
2482
3842
  const _response = yield core.fetcher({
2483
3843
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/blood_pressure/grouped`),
2484
3844
  method: "GET",
2485
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3845
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2486
3846
  contentType: "application/json",
2487
3847
  queryParameters: _queryParams,
2488
3848
  requestType: "json",
@@ -2556,7 +3916,7 @@ class Vitals {
2556
3916
  const _response = yield core.fetcher({
2557
3917
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/vo2_max`),
2558
3918
  method: "GET",
2559
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3919
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2560
3920
  contentType: "application/json",
2561
3921
  queryParameters: _queryParams,
2562
3922
  requestType: "json",
@@ -2630,7 +3990,7 @@ class Vitals {
2630
3990
  const _response = yield core.fetcher({
2631
3991
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/stress_level`),
2632
3992
  method: "GET",
2633
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3993
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2634
3994
  contentType: "application/json",
2635
3995
  queryParameters: _queryParams,
2636
3996
  requestType: "json",
@@ -2704,7 +4064,7 @@ class Vitals {
2704
4064
  const _response = yield core.fetcher({
2705
4065
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/mindfulness_minutes`),
2706
4066
  method: "GET",
2707
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
4067
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2708
4068
  contentType: "application/json",
2709
4069
  queryParameters: _queryParams,
2710
4070
  requestType: "json",
@@ -2778,7 +4138,7 @@ class Vitals {
2778
4138
  const _response = yield core.fetcher({
2779
4139
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/caffeine`),
2780
4140
  method: "GET",
2781
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
4141
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2782
4142
  contentType: "application/json",
2783
4143
  queryParameters: _queryParams,
2784
4144
  requestType: "json",
@@ -2852,7 +4212,7 @@ class Vitals {
2852
4212
  const _response = yield core.fetcher({
2853
4213
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/water`),
2854
4214
  method: "GET",
2855
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
4215
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2856
4216
  contentType: "application/json",
2857
4217
  queryParameters: _queryParams,
2858
4218
  requestType: "json",
@@ -2926,7 +4286,7 @@ class Vitals {
2926
4286
  const _response = yield core.fetcher({
2927
4287
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/steps`),
2928
4288
  method: "GET",
2929
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
4289
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2930
4290
  contentType: "application/json",
2931
4291
  queryParameters: _queryParams,
2932
4292
  requestType: "json",
@@ -3000,7 +4360,7 @@ class Vitals {
3000
4360
  const _response = yield core.fetcher({
3001
4361
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/floors_climbed`),
3002
4362
  method: "GET",
3003
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
4363
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3004
4364
  contentType: "application/json",
3005
4365
  queryParameters: _queryParams,
3006
4366
  requestType: "json",
@@ -3074,7 +4434,7 @@ class Vitals {
3074
4434
  const _response = yield core.fetcher({
3075
4435
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/distance`),
3076
4436
  method: "GET",
3077
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
4437
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3078
4438
  contentType: "application/json",
3079
4439
  queryParameters: _queryParams,
3080
4440
  requestType: "json",
@@ -3148,7 +4508,7 @@ class Vitals {
3148
4508
  const _response = yield core.fetcher({
3149
4509
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/calories_basal`),
3150
4510
  method: "GET",
3151
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
4511
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3152
4512
  contentType: "application/json",
3153
4513
  queryParameters: _queryParams,
3154
4514
  requestType: "json",
@@ -3222,7 +4582,7 @@ class Vitals {
3222
4582
  const _response = yield core.fetcher({
3223
4583
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/calories_active`),
3224
4584
  method: "GET",
3225
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
4585
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3226
4586
  contentType: "application/json",
3227
4587
  queryParameters: _queryParams,
3228
4588
  requestType: "json",
@@ -3296,7 +4656,7 @@ class Vitals {
3296
4656
  const _response = yield core.fetcher({
3297
4657
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/respiratory_rate`),
3298
4658
  method: "GET",
3299
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
4659
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3300
4660
  contentType: "application/json",
3301
4661
  queryParameters: _queryParams,
3302
4662
  requestType: "json",
@@ -3370,7 +4730,7 @@ class Vitals {
3370
4730
  const _response = yield core.fetcher({
3371
4731
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/ige`),
3372
4732
  method: "GET",
3373
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
4733
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3374
4734
  contentType: "application/json",
3375
4735
  queryParameters: _queryParams,
3376
4736
  requestType: "json",
@@ -3444,7 +4804,7 @@ class Vitals {
3444
4804
  const _response = yield core.fetcher({
3445
4805
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/igg`),
3446
4806
  method: "GET",
3447
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
4807
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3448
4808
  contentType: "application/json",
3449
4809
  queryParameters: _queryParams,
3450
4810
  requestType: "json",
@@ -3518,7 +4878,7 @@ class Vitals {
3518
4878
  const _response = yield core.fetcher({
3519
4879
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/hypnogram`),
3520
4880
  method: "GET",
3521
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
4881
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3522
4882
  contentType: "application/json",
3523
4883
  queryParameters: _queryParams,
3524
4884
  requestType: "json",
@@ -3592,7 +4952,7 @@ class Vitals {
3592
4952
  const _response = yield core.fetcher({
3593
4953
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/hrv`),
3594
4954
  method: "GET",
3595
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
4955
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3596
4956
  contentType: "application/json",
3597
4957
  queryParameters: _queryParams,
3598
4958
  requestType: "json",
@@ -3666,7 +5026,7 @@ class Vitals {
3666
5026
  const _response = yield core.fetcher({
3667
5027
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/heartrate`),
3668
5028
  method: "GET",
3669
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
5029
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3670
5030
  contentType: "application/json",
3671
5031
  queryParameters: _queryParams,
3672
5032
  requestType: "json",
@@ -3740,7 +5100,7 @@ class Vitals {
3740
5100
  const _response = yield core.fetcher({
3741
5101
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/glucose`),
3742
5102
  method: "GET",
3743
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
5103
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3744
5104
  contentType: "application/json",
3745
5105
  queryParameters: _queryParams,
3746
5106
  requestType: "json",
@@ -3814,7 +5174,7 @@ class Vitals {
3814
5174
  const _response = yield core.fetcher({
3815
5175
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/cholesterol/triglycerides`),
3816
5176
  method: "GET",
3817
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
5177
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3818
5178
  contentType: "application/json",
3819
5179
  queryParameters: _queryParams,
3820
5180
  requestType: "json",
@@ -3888,7 +5248,7 @@ class Vitals {
3888
5248
  const _response = yield core.fetcher({
3889
5249
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/cholesterol/total`),
3890
5250
  method: "GET",
3891
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
5251
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3892
5252
  contentType: "application/json",
3893
5253
  queryParameters: _queryParams,
3894
5254
  requestType: "json",
@@ -3962,7 +5322,7 @@ class Vitals {
3962
5322
  const _response = yield core.fetcher({
3963
5323
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/cholesterol/ldl`),
3964
5324
  method: "GET",
3965
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
5325
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3966
5326
  contentType: "application/json",
3967
5327
  queryParameters: _queryParams,
3968
5328
  requestType: "json",
@@ -4036,7 +5396,7 @@ class Vitals {
4036
5396
  const _response = yield core.fetcher({
4037
5397
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/cholesterol/hdl`),
4038
5398
  method: "GET",
4039
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
5399
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
4040
5400
  contentType: "application/json",
4041
5401
  queryParameters: _queryParams,
4042
5402
  requestType: "json",
@@ -4110,7 +5470,7 @@ class Vitals {
4110
5470
  const _response = yield core.fetcher({
4111
5471
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/cholesterol`),
4112
5472
  method: "GET",
4113
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
5473
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
4114
5474
  contentType: "application/json",
4115
5475
  queryParameters: _queryParams,
4116
5476
  requestType: "json",
@@ -4184,7 +5544,7 @@ class Vitals {
4184
5544
  const _response = yield core.fetcher({
4185
5545
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/body_weight`),
4186
5546
  method: "GET",
4187
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
5547
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
4188
5548
  contentType: "application/json",
4189
5549
  queryParameters: _queryParams,
4190
5550
  requestType: "json",
@@ -4258,7 +5618,7 @@ class Vitals {
4258
5618
  const _response = yield core.fetcher({
4259
5619
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/body_fat`),
4260
5620
  method: "GET",
4261
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
5621
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
4262
5622
  contentType: "application/json",
4263
5623
  queryParameters: _queryParams,
4264
5624
  requestType: "json",
@@ -4332,7 +5692,7 @@ class Vitals {
4332
5692
  const _response = yield core.fetcher({
4333
5693
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/blood_oxygen`),
4334
5694
  method: "GET",
4335
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
5695
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
4336
5696
  contentType: "application/json",
4337
5697
  queryParameters: _queryParams,
4338
5698
  requestType: "json",
@@ -4406,7 +5766,7 @@ class Vitals {
4406
5766
  const _response = yield core.fetcher({
4407
5767
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/electrocardiogram_voltage`),
4408
5768
  method: "GET",
4409
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
5769
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
4410
5770
  contentType: "application/json",
4411
5771
  queryParameters: _queryParams,
4412
5772
  requestType: "json",
@@ -4480,7 +5840,7 @@ class Vitals {
4480
5840
  const _response = yield core.fetcher({
4481
5841
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/blood_pressure`),
4482
5842
  method: "GET",
4483
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.216", "User-Agent": "@tryvital/vital-node/3.1.216", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
5843
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.230", "User-Agent": "@tryvital/vital-node/3.1.230", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
4484
5844
  contentType: "application/json",
4485
5845
  queryParameters: _queryParams,
4486
5846
  requestType: "json",