@tryvital/vital-node 3.1.253 → 3.1.254

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 (232) hide show
  1. package/api/resources/activity/client/Client.js +2 -2
  2. package/api/resources/aggregate/client/Client.js +2 -2
  3. package/api/resources/body/client/Client.js +2 -2
  4. package/api/resources/devices/client/Client.js +1 -1
  5. package/api/resources/electrocardiogram/client/Client.js +1 -1
  6. package/api/resources/insurance/client/Client.js +3 -3
  7. package/api/resources/introspect/client/Client.js +2 -2
  8. package/api/resources/labTests/client/Client.js +40 -40
  9. package/api/resources/link/client/Client.js +19 -19
  10. package/api/resources/meal/client/Client.js +1 -1
  11. package/api/resources/menstrualCycle/client/Client.js +1 -1
  12. package/api/resources/order/client/Client.js +1 -1
  13. package/api/resources/profile/client/Client.js +2 -2
  14. package/api/resources/providers/client/Client.js +1 -1
  15. package/api/resources/sleep/client/Client.js +4 -4
  16. package/api/resources/sleepCycle/client/Client.js +1 -1
  17. package/api/resources/team/client/Client.js +7 -7
  18. package/api/resources/testkit/client/Client.js +2 -2
  19. package/api/resources/user/client/Client.js +16 -16
  20. package/api/resources/vitals/client/Client.d.ts +39 -0
  21. package/api/resources/vitals/client/Client.js +315 -75
  22. package/api/resources/vitals/client/requests/VitalsHeartRateRecoveryOneMinuteGroupedRequest.d.ts +31 -0
  23. package/api/resources/vitals/client/requests/VitalsHeartRateRecoveryOneMinuteGroupedRequest.js +5 -0
  24. package/api/resources/vitals/client/requests/VitalsWorkoutDistanceGroupedRequest.d.ts +31 -0
  25. package/api/resources/vitals/client/requests/VitalsWorkoutDistanceGroupedRequest.js +5 -0
  26. package/api/resources/vitals/client/requests/VitalsWorkoutSwimmingStrokeGroupedRequest.d.ts +31 -0
  27. package/api/resources/vitals/client/requests/VitalsWorkoutSwimmingStrokeGroupedRequest.js +5 -0
  28. package/api/resources/vitals/client/requests/index.d.ts +3 -0
  29. package/api/resources/workouts/client/Client.js +3 -3
  30. package/api/types/ClientFacingHeartRateRecoveryOneMinuteChanged.d.ts +11 -0
  31. package/api/types/ClientFacingHeartRateRecoveryOneMinuteChanged.js +5 -0
  32. package/api/types/ClientFacingHeartRateRecoveryOneMinuteChangedEventType.d.ts +8 -0
  33. package/api/types/ClientFacingHeartRateRecoveryOneMinuteChangedEventType.js +10 -0
  34. package/api/types/ClientFacingHeartRateRecoveryOneMinuteHistoricalPullCompleted.d.ts +11 -0
  35. package/api/types/ClientFacingHeartRateRecoveryOneMinuteHistoricalPullCompleted.js +5 -0
  36. package/api/types/ClientFacingHeartRateRecoveryOneMinuteSample.d.ts +20 -0
  37. package/api/types/ClientFacingHeartRateRecoveryOneMinuteSample.js +5 -0
  38. package/api/types/ClientFacingResource.d.ts +4 -1
  39. package/api/types/ClientFacingResource.js +3 -0
  40. package/api/types/ClientFacingWorkoutDistanceChanged.d.ts +11 -0
  41. package/api/types/ClientFacingWorkoutDistanceChanged.js +5 -0
  42. package/api/types/ClientFacingWorkoutDistanceChangedEventType.d.ts +8 -0
  43. package/api/types/ClientFacingWorkoutDistanceChangedEventType.js +10 -0
  44. package/api/types/ClientFacingWorkoutDistanceHistoricalPullCompleted.d.ts +11 -0
  45. package/api/types/ClientFacingWorkoutDistanceHistoricalPullCompleted.js +5 -0
  46. package/api/types/ClientFacingWorkoutDistanceSample.d.ts +20 -0
  47. package/api/types/ClientFacingWorkoutDistanceSample.js +5 -0
  48. package/api/types/ClientFacingWorkoutSwimmingStrokeChanged.d.ts +11 -0
  49. package/api/types/ClientFacingWorkoutSwimmingStrokeChanged.js +5 -0
  50. package/api/types/ClientFacingWorkoutSwimmingStrokeChangedEventType.d.ts +8 -0
  51. package/api/types/ClientFacingWorkoutSwimmingStrokeChangedEventType.js +10 -0
  52. package/api/types/ClientFacingWorkoutSwimmingStrokeHistoricalPullCompleted.d.ts +11 -0
  53. package/api/types/ClientFacingWorkoutSwimmingStrokeHistoricalPullCompleted.js +5 -0
  54. package/api/types/ClientFacingWorkoutSwimmingStrokeSample.d.ts +20 -0
  55. package/api/types/ClientFacingWorkoutSwimmingStrokeSample.js +5 -0
  56. package/api/types/GroupedHeartRateRecoveryOneMinute.d.ts +8 -0
  57. package/api/types/GroupedHeartRateRecoveryOneMinute.js +5 -0
  58. package/api/types/GroupedHeartRateRecoveryOneMinuteResponse.d.ts +12 -0
  59. package/api/types/GroupedHeartRateRecoveryOneMinuteResponse.js +5 -0
  60. package/api/types/GroupedWorkoutDistance.d.ts +8 -0
  61. package/api/types/GroupedWorkoutDistance.js +5 -0
  62. package/api/types/GroupedWorkoutDistanceResponse.d.ts +12 -0
  63. package/api/types/GroupedWorkoutDistanceResponse.js +5 -0
  64. package/api/types/GroupedWorkoutSwimmingStroke.d.ts +8 -0
  65. package/api/types/GroupedWorkoutSwimmingStroke.js +5 -0
  66. package/api/types/GroupedWorkoutSwimmingStrokeResponse.d.ts +12 -0
  67. package/api/types/GroupedWorkoutSwimmingStrokeResponse.js +5 -0
  68. package/api/types/TimeseriesResource.d.ts +4 -1
  69. package/api/types/TimeseriesResource.js +3 -0
  70. package/api/types/index.d.ts +18 -0
  71. package/api/types/index.js +18 -0
  72. package/dist/api/resources/activity/client/Client.js +2 -2
  73. package/dist/api/resources/aggregate/client/Client.js +2 -2
  74. package/dist/api/resources/body/client/Client.js +2 -2
  75. package/dist/api/resources/devices/client/Client.js +1 -1
  76. package/dist/api/resources/electrocardiogram/client/Client.js +1 -1
  77. package/dist/api/resources/insurance/client/Client.js +3 -3
  78. package/dist/api/resources/introspect/client/Client.js +2 -2
  79. package/dist/api/resources/labTests/client/Client.js +40 -40
  80. package/dist/api/resources/link/client/Client.js +19 -19
  81. package/dist/api/resources/meal/client/Client.js +1 -1
  82. package/dist/api/resources/menstrualCycle/client/Client.js +1 -1
  83. package/dist/api/resources/order/client/Client.js +1 -1
  84. package/dist/api/resources/profile/client/Client.js +2 -2
  85. package/dist/api/resources/providers/client/Client.js +1 -1
  86. package/dist/api/resources/sleep/client/Client.js +4 -4
  87. package/dist/api/resources/sleepCycle/client/Client.js +1 -1
  88. package/dist/api/resources/team/client/Client.js +7 -7
  89. package/dist/api/resources/testkit/client/Client.js +2 -2
  90. package/dist/api/resources/user/client/Client.js +16 -16
  91. package/dist/api/resources/vitals/client/Client.d.ts +39 -0
  92. package/dist/api/resources/vitals/client/Client.js +315 -75
  93. package/dist/api/resources/vitals/client/requests/VitalsHeartRateRecoveryOneMinuteGroupedRequest.d.ts +31 -0
  94. package/dist/api/resources/vitals/client/requests/VitalsHeartRateRecoveryOneMinuteGroupedRequest.js +5 -0
  95. package/dist/api/resources/vitals/client/requests/VitalsWorkoutDistanceGroupedRequest.d.ts +31 -0
  96. package/dist/api/resources/vitals/client/requests/VitalsWorkoutDistanceGroupedRequest.js +5 -0
  97. package/dist/api/resources/vitals/client/requests/VitalsWorkoutSwimmingStrokeGroupedRequest.d.ts +31 -0
  98. package/dist/api/resources/vitals/client/requests/VitalsWorkoutSwimmingStrokeGroupedRequest.js +5 -0
  99. package/dist/api/resources/vitals/client/requests/index.d.ts +3 -0
  100. package/dist/api/resources/workouts/client/Client.js +3 -3
  101. package/dist/api/types/ClientFacingHeartRateRecoveryOneMinuteChanged.d.ts +11 -0
  102. package/dist/api/types/ClientFacingHeartRateRecoveryOneMinuteChanged.js +5 -0
  103. package/dist/api/types/ClientFacingHeartRateRecoveryOneMinuteChangedEventType.d.ts +8 -0
  104. package/dist/api/types/ClientFacingHeartRateRecoveryOneMinuteChangedEventType.js +10 -0
  105. package/dist/api/types/ClientFacingHeartRateRecoveryOneMinuteHistoricalPullCompleted.d.ts +11 -0
  106. package/dist/api/types/ClientFacingHeartRateRecoveryOneMinuteHistoricalPullCompleted.js +5 -0
  107. package/dist/api/types/ClientFacingHeartRateRecoveryOneMinuteSample.d.ts +20 -0
  108. package/dist/api/types/ClientFacingHeartRateRecoveryOneMinuteSample.js +5 -0
  109. package/dist/api/types/ClientFacingResource.d.ts +4 -1
  110. package/dist/api/types/ClientFacingResource.js +3 -0
  111. package/dist/api/types/ClientFacingWorkoutDistanceChanged.d.ts +11 -0
  112. package/dist/api/types/ClientFacingWorkoutDistanceChanged.js +5 -0
  113. package/dist/api/types/ClientFacingWorkoutDistanceChangedEventType.d.ts +8 -0
  114. package/dist/api/types/ClientFacingWorkoutDistanceChangedEventType.js +10 -0
  115. package/dist/api/types/ClientFacingWorkoutDistanceHistoricalPullCompleted.d.ts +11 -0
  116. package/dist/api/types/ClientFacingWorkoutDistanceHistoricalPullCompleted.js +5 -0
  117. package/dist/api/types/ClientFacingWorkoutDistanceSample.d.ts +20 -0
  118. package/dist/api/types/ClientFacingWorkoutDistanceSample.js +5 -0
  119. package/dist/api/types/ClientFacingWorkoutSwimmingStrokeChanged.d.ts +11 -0
  120. package/dist/api/types/ClientFacingWorkoutSwimmingStrokeChanged.js +5 -0
  121. package/dist/api/types/ClientFacingWorkoutSwimmingStrokeChangedEventType.d.ts +8 -0
  122. package/dist/api/types/ClientFacingWorkoutSwimmingStrokeChangedEventType.js +10 -0
  123. package/dist/api/types/ClientFacingWorkoutSwimmingStrokeHistoricalPullCompleted.d.ts +11 -0
  124. package/dist/api/types/ClientFacingWorkoutSwimmingStrokeHistoricalPullCompleted.js +5 -0
  125. package/dist/api/types/ClientFacingWorkoutSwimmingStrokeSample.d.ts +20 -0
  126. package/dist/api/types/ClientFacingWorkoutSwimmingStrokeSample.js +5 -0
  127. package/dist/api/types/GroupedHeartRateRecoveryOneMinute.d.ts +8 -0
  128. package/dist/api/types/GroupedHeartRateRecoveryOneMinute.js +5 -0
  129. package/dist/api/types/GroupedHeartRateRecoveryOneMinuteResponse.d.ts +12 -0
  130. package/dist/api/types/GroupedHeartRateRecoveryOneMinuteResponse.js +5 -0
  131. package/dist/api/types/GroupedWorkoutDistance.d.ts +8 -0
  132. package/dist/api/types/GroupedWorkoutDistance.js +5 -0
  133. package/dist/api/types/GroupedWorkoutDistanceResponse.d.ts +12 -0
  134. package/dist/api/types/GroupedWorkoutDistanceResponse.js +5 -0
  135. package/dist/api/types/GroupedWorkoutSwimmingStroke.d.ts +8 -0
  136. package/dist/api/types/GroupedWorkoutSwimmingStroke.js +5 -0
  137. package/dist/api/types/GroupedWorkoutSwimmingStrokeResponse.d.ts +12 -0
  138. package/dist/api/types/GroupedWorkoutSwimmingStrokeResponse.js +5 -0
  139. package/dist/api/types/TimeseriesResource.d.ts +4 -1
  140. package/dist/api/types/TimeseriesResource.js +3 -0
  141. package/dist/api/types/index.d.ts +18 -0
  142. package/dist/api/types/index.js +18 -0
  143. package/dist/serialization/types/ClientFacingHeartRateRecoveryOneMinuteChanged.d.ts +18 -0
  144. package/dist/serialization/types/ClientFacingHeartRateRecoveryOneMinuteChanged.js +39 -0
  145. package/dist/serialization/types/ClientFacingHeartRateRecoveryOneMinuteChangedEventType.d.ts +10 -0
  146. package/dist/serialization/types/ClientFacingHeartRateRecoveryOneMinuteChangedEventType.js +34 -0
  147. package/dist/serialization/types/ClientFacingHeartRateRecoveryOneMinuteHistoricalPullCompleted.d.ts +17 -0
  148. package/dist/serialization/types/ClientFacingHeartRateRecoveryOneMinuteHistoricalPullCompleted.js +38 -0
  149. package/dist/serialization/types/ClientFacingHeartRateRecoveryOneMinuteSample.d.ts +19 -0
  150. package/dist/serialization/types/ClientFacingHeartRateRecoveryOneMinuteSample.js +40 -0
  151. package/dist/serialization/types/ClientFacingResource.d.ts +1 -1
  152. package/dist/serialization/types/ClientFacingResource.js +3 -0
  153. package/dist/serialization/types/ClientFacingWorkoutDistanceChanged.d.ts +18 -0
  154. package/dist/serialization/types/ClientFacingWorkoutDistanceChanged.js +39 -0
  155. package/dist/serialization/types/ClientFacingWorkoutDistanceChangedEventType.d.ts +10 -0
  156. package/dist/serialization/types/ClientFacingWorkoutDistanceChangedEventType.js +31 -0
  157. package/dist/serialization/types/ClientFacingWorkoutDistanceHistoricalPullCompleted.d.ts +17 -0
  158. package/dist/serialization/types/ClientFacingWorkoutDistanceHistoricalPullCompleted.js +38 -0
  159. package/dist/serialization/types/ClientFacingWorkoutDistanceSample.d.ts +19 -0
  160. package/dist/serialization/types/ClientFacingWorkoutDistanceSample.js +40 -0
  161. package/dist/serialization/types/ClientFacingWorkoutSwimmingStrokeChanged.d.ts +18 -0
  162. package/dist/serialization/types/ClientFacingWorkoutSwimmingStrokeChanged.js +39 -0
  163. package/dist/serialization/types/ClientFacingWorkoutSwimmingStrokeChangedEventType.d.ts +10 -0
  164. package/dist/serialization/types/ClientFacingWorkoutSwimmingStrokeChangedEventType.js +34 -0
  165. package/dist/serialization/types/ClientFacingWorkoutSwimmingStrokeHistoricalPullCompleted.d.ts +17 -0
  166. package/dist/serialization/types/ClientFacingWorkoutSwimmingStrokeHistoricalPullCompleted.js +38 -0
  167. package/dist/serialization/types/ClientFacingWorkoutSwimmingStrokeSample.d.ts +19 -0
  168. package/dist/serialization/types/ClientFacingWorkoutSwimmingStrokeSample.js +40 -0
  169. package/dist/serialization/types/GroupedHeartRateRecoveryOneMinute.d.ts +15 -0
  170. package/dist/serialization/types/GroupedHeartRateRecoveryOneMinute.js +36 -0
  171. package/dist/serialization/types/GroupedHeartRateRecoveryOneMinuteResponse.d.ts +15 -0
  172. package/dist/serialization/types/GroupedHeartRateRecoveryOneMinuteResponse.js +36 -0
  173. package/dist/serialization/types/GroupedWorkoutDistance.d.ts +15 -0
  174. package/dist/serialization/types/GroupedWorkoutDistance.js +36 -0
  175. package/dist/serialization/types/GroupedWorkoutDistanceResponse.d.ts +15 -0
  176. package/dist/serialization/types/GroupedWorkoutDistanceResponse.js +36 -0
  177. package/dist/serialization/types/GroupedWorkoutSwimmingStroke.d.ts +15 -0
  178. package/dist/serialization/types/GroupedWorkoutSwimmingStroke.js +36 -0
  179. package/dist/serialization/types/GroupedWorkoutSwimmingStrokeResponse.d.ts +15 -0
  180. package/dist/serialization/types/GroupedWorkoutSwimmingStrokeResponse.js +36 -0
  181. package/dist/serialization/types/TimeseriesResource.d.ts +1 -1
  182. package/dist/serialization/types/TimeseriesResource.js +3 -0
  183. package/dist/serialization/types/index.d.ts +18 -0
  184. package/dist/serialization/types/index.js +18 -0
  185. package/dist/version.d.ts +1 -1
  186. package/dist/version.js +1 -1
  187. package/package.json +1 -1
  188. package/reference.md +174 -0
  189. package/serialization/types/ClientFacingHeartRateRecoveryOneMinuteChanged.d.ts +18 -0
  190. package/serialization/types/ClientFacingHeartRateRecoveryOneMinuteChanged.js +39 -0
  191. package/serialization/types/ClientFacingHeartRateRecoveryOneMinuteChangedEventType.d.ts +10 -0
  192. package/serialization/types/ClientFacingHeartRateRecoveryOneMinuteChangedEventType.js +34 -0
  193. package/serialization/types/ClientFacingHeartRateRecoveryOneMinuteHistoricalPullCompleted.d.ts +17 -0
  194. package/serialization/types/ClientFacingHeartRateRecoveryOneMinuteHistoricalPullCompleted.js +38 -0
  195. package/serialization/types/ClientFacingHeartRateRecoveryOneMinuteSample.d.ts +19 -0
  196. package/serialization/types/ClientFacingHeartRateRecoveryOneMinuteSample.js +40 -0
  197. package/serialization/types/ClientFacingResource.d.ts +1 -1
  198. package/serialization/types/ClientFacingResource.js +3 -0
  199. package/serialization/types/ClientFacingWorkoutDistanceChanged.d.ts +18 -0
  200. package/serialization/types/ClientFacingWorkoutDistanceChanged.js +39 -0
  201. package/serialization/types/ClientFacingWorkoutDistanceChangedEventType.d.ts +10 -0
  202. package/serialization/types/ClientFacingWorkoutDistanceChangedEventType.js +31 -0
  203. package/serialization/types/ClientFacingWorkoutDistanceHistoricalPullCompleted.d.ts +17 -0
  204. package/serialization/types/ClientFacingWorkoutDistanceHistoricalPullCompleted.js +38 -0
  205. package/serialization/types/ClientFacingWorkoutDistanceSample.d.ts +19 -0
  206. package/serialization/types/ClientFacingWorkoutDistanceSample.js +40 -0
  207. package/serialization/types/ClientFacingWorkoutSwimmingStrokeChanged.d.ts +18 -0
  208. package/serialization/types/ClientFacingWorkoutSwimmingStrokeChanged.js +39 -0
  209. package/serialization/types/ClientFacingWorkoutSwimmingStrokeChangedEventType.d.ts +10 -0
  210. package/serialization/types/ClientFacingWorkoutSwimmingStrokeChangedEventType.js +34 -0
  211. package/serialization/types/ClientFacingWorkoutSwimmingStrokeHistoricalPullCompleted.d.ts +17 -0
  212. package/serialization/types/ClientFacingWorkoutSwimmingStrokeHistoricalPullCompleted.js +38 -0
  213. package/serialization/types/ClientFacingWorkoutSwimmingStrokeSample.d.ts +19 -0
  214. package/serialization/types/ClientFacingWorkoutSwimmingStrokeSample.js +40 -0
  215. package/serialization/types/GroupedHeartRateRecoveryOneMinute.d.ts +15 -0
  216. package/serialization/types/GroupedHeartRateRecoveryOneMinute.js +36 -0
  217. package/serialization/types/GroupedHeartRateRecoveryOneMinuteResponse.d.ts +15 -0
  218. package/serialization/types/GroupedHeartRateRecoveryOneMinuteResponse.js +36 -0
  219. package/serialization/types/GroupedWorkoutDistance.d.ts +15 -0
  220. package/serialization/types/GroupedWorkoutDistance.js +36 -0
  221. package/serialization/types/GroupedWorkoutDistanceResponse.d.ts +15 -0
  222. package/serialization/types/GroupedWorkoutDistanceResponse.js +36 -0
  223. package/serialization/types/GroupedWorkoutSwimmingStroke.d.ts +15 -0
  224. package/serialization/types/GroupedWorkoutSwimmingStroke.js +36 -0
  225. package/serialization/types/GroupedWorkoutSwimmingStrokeResponse.d.ts +15 -0
  226. package/serialization/types/GroupedWorkoutSwimmingStrokeResponse.js +36 -0
  227. package/serialization/types/TimeseriesResource.d.ts +1 -1
  228. package/serialization/types/TimeseriesResource.js +3 -0
  229. package/serialization/types/index.d.ts +18 -0
  230. package/serialization/types/index.js +18 -0
  231. package/version.d.ts +1 -1
  232. package/version.js +1 -1
@@ -0,0 +1,31 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {
7
+ * startDate: "start_date"
8
+ * }
9
+ */
10
+ export interface VitalsHeartRateRecoveryOneMinuteGroupedRequest {
11
+ /**
12
+ * The cursor for fetching the next page, or `null` to fetch the first page.
13
+ */
14
+ cursor?: string;
15
+ /**
16
+ * The cursor for fetching the next page, or `null` to fetch the first page.
17
+ */
18
+ nextCursor?: string;
19
+ /**
20
+ * Provider oura/strava etc
21
+ */
22
+ provider?: string;
23
+ /**
24
+ * Date from in YYYY-MM-DD or ISO formatted date time. If a date is provided without a time, the time will be set to 00:00:00
25
+ */
26
+ startDate: string;
27
+ /**
28
+ * Date to YYYY-MM-DD or ISO formatted date time. If a date is provided without a time, the time will be set to 23:59:59
29
+ */
30
+ endDate?: string;
31
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,31 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {
7
+ * startDate: "start_date"
8
+ * }
9
+ */
10
+ export interface VitalsWorkoutDistanceGroupedRequest {
11
+ /**
12
+ * The cursor for fetching the next page, or `null` to fetch the first page.
13
+ */
14
+ cursor?: string;
15
+ /**
16
+ * The cursor for fetching the next page, or `null` to fetch the first page.
17
+ */
18
+ nextCursor?: string;
19
+ /**
20
+ * Provider oura/strava etc
21
+ */
22
+ provider?: string;
23
+ /**
24
+ * Date from in YYYY-MM-DD or ISO formatted date time. If a date is provided without a time, the time will be set to 00:00:00
25
+ */
26
+ startDate: string;
27
+ /**
28
+ * Date to YYYY-MM-DD or ISO formatted date time. If a date is provided without a time, the time will be set to 23:59:59
29
+ */
30
+ endDate?: string;
31
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,31 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {
7
+ * startDate: "start_date"
8
+ * }
9
+ */
10
+ export interface VitalsWorkoutSwimmingStrokeGroupedRequest {
11
+ /**
12
+ * The cursor for fetching the next page, or `null` to fetch the first page.
13
+ */
14
+ cursor?: string;
15
+ /**
16
+ * The cursor for fetching the next page, or `null` to fetch the first page.
17
+ */
18
+ nextCursor?: string;
19
+ /**
20
+ * Provider oura/strava etc
21
+ */
22
+ provider?: string;
23
+ /**
24
+ * Date from in YYYY-MM-DD or ISO formatted date time. If a date is provided without a time, the time will be set to 00:00:00
25
+ */
26
+ startDate: string;
27
+ /**
28
+ * Date to YYYY-MM-DD or ISO formatted date time. If a date is provided without a time, the time will be set to 23:59:59
29
+ */
30
+ endDate?: string;
31
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +1,6 @@
1
+ export { type VitalsWorkoutSwimmingStrokeGroupedRequest } from "./VitalsWorkoutSwimmingStrokeGroupedRequest";
2
+ export { type VitalsWorkoutDistanceGroupedRequest } from "./VitalsWorkoutDistanceGroupedRequest";
3
+ export { type VitalsHeartRateRecoveryOneMinuteGroupedRequest } from "./VitalsHeartRateRecoveryOneMinuteGroupedRequest";
1
4
  export { type VitalsWaistCircumferenceGroupedRequest } from "./VitalsWaistCircumferenceGroupedRequest";
2
5
  export { type VitalsLeanBodyMassGroupedRequest } from "./VitalsLeanBodyMassGroupedRequest";
3
6
  export { type VitalsBodyMassIndexGroupedRequest } from "./VitalsBodyMassIndexGroupedRequest";
@@ -78,7 +78,7 @@ class Workouts {
78
78
  const _response = yield core.fetcher({
79
79
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/workouts/${encodeURIComponent(userId)}`),
80
80
  method: "GET",
81
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.253", "User-Agent": "@tryvital/vital-node/3.1.253", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
81
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.254", "User-Agent": "@tryvital/vital-node/3.1.254", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
82
82
  contentType: "application/json",
83
83
  queryParameters: _queryParams,
84
84
  requestType: "json",
@@ -154,7 +154,7 @@ class Workouts {
154
154
  const _response = yield core.fetcher({
155
155
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/workouts/${encodeURIComponent(userId)}/raw`),
156
156
  method: "GET",
157
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.253", "User-Agent": "@tryvital/vital-node/3.1.253", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
157
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.254", "User-Agent": "@tryvital/vital-node/3.1.254", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
158
158
  contentType: "application/json",
159
159
  queryParameters: _queryParams,
160
160
  requestType: "json",
@@ -216,7 +216,7 @@ class Workouts {
216
216
  const _response = yield core.fetcher({
217
217
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/workouts/${encodeURIComponent(workoutId)}/stream`),
218
218
  method: "GET",
219
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.253", "User-Agent": "@tryvital/vital-node/3.1.253", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
219
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.254", "User-Agent": "@tryvital/vital-node/3.1.254", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
220
220
  contentType: "application/json",
221
221
  requestType: "json",
222
222
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vital from "../index";
5
+ export interface ClientFacingHeartRateRecoveryOneMinuteChanged {
6
+ eventType: Vital.ClientFacingHeartRateRecoveryOneMinuteChangedEventType;
7
+ userId: string;
8
+ clientUserId: string;
9
+ teamId: string;
10
+ data: Vital.GroupedHeartRateRecoveryOneMinute;
11
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type ClientFacingHeartRateRecoveryOneMinuteChangedEventType = "daily.data.heart_rate_recovery_one_minute.created" | "daily.data.heart_rate_recovery_one_minute.updated";
5
+ export declare const ClientFacingHeartRateRecoveryOneMinuteChangedEventType: {
6
+ readonly DailyDataHeartRateRecoveryOneMinuteCreated: "daily.data.heart_rate_recovery_one_minute.created";
7
+ readonly DailyDataHeartRateRecoveryOneMinuteUpdated: "daily.data.heart_rate_recovery_one_minute.updated";
8
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.ClientFacingHeartRateRecoveryOneMinuteChangedEventType = void 0;
7
+ exports.ClientFacingHeartRateRecoveryOneMinuteChangedEventType = {
8
+ DailyDataHeartRateRecoveryOneMinuteCreated: "daily.data.heart_rate_recovery_one_minute.created",
9
+ DailyDataHeartRateRecoveryOneMinuteUpdated: "daily.data.heart_rate_recovery_one_minute.updated",
10
+ };
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vital from "../index";
5
+ export interface ClientFacingHeartRateRecoveryOneMinuteHistoricalPullCompleted {
6
+ eventType: "historical.data.heart_rate_recovery_one_minute.created";
7
+ userId: string;
8
+ clientUserId: string;
9
+ teamId: string;
10
+ data: Vital.HistoricalPullCompleted;
11
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,20 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface ClientFacingHeartRateRecoveryOneMinuteSample {
5
+ /** Deprecated */
6
+ id?: number;
7
+ /** Time zone UTC offset in seconds. Positive offset indicates east of UTC; negative offset indicates west of UTC; and null indicates the time zone information is unavailable at source. */
8
+ timezoneOffset?: number;
9
+ /** The reading type of the measurement. This is applicable only to Cholesterol, IGG, IGE and InsulinInjection. */
10
+ type?: string;
11
+ unit: "count";
12
+ /** Depracated. The start time (inclusive) of the interval. */
13
+ timestamp: Date;
14
+ /** The start time (inclusive) of the interval. */
15
+ start: Date;
16
+ /** The end time (exclusive) of the interval. */
17
+ end: Date;
18
+ /** The recorded value for the interval. */
19
+ value: number;
20
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * ℹ️ This enum is non-exhaustive.
6
6
  */
7
- export declare type ClientFacingResource = "profile" | "activity" | "sleep" | "body" | "workouts" | "workout_stream" | "connection" | "order" | "result" | "appointment" | "glucose" | "heartrate" | "hrv" | "ige" | "igg" | "blood_oxygen" | "blood_pressure" | "cholesterol" | "device" | "weight" | "fat" | "body_temperature" | "body_temperature_delta" | "meal" | "water" | "caffeine" | "mindfulness_minutes" | "steps" | "calories_active" | "distance" | "floors_climbed" | "respiratory_rate" | "vo2_max" | "calories_basal" | "stress_level" | "menstrual_cycle" | "sleep_cycle" | "electrocardiogram" | "electrocardiogram_voltage" | "afib_burden" | "heart_rate_alert" | "stand_hour" | "stand_duration" | "sleep_apnea_alert" | "sleep_breathing_disturbance" | "wheelchair_push" | "forced_expiratory_volume_1" | "forced_vital_capacity" | "peak_expiratory_flow_rate" | "inhaler_usage" | "fall" | "uv_exposure" | "daylight_exposure" | "handwashing" | "basal_body_temperature" | "body_mass_index" | "lean_body_mass" | "waist_circumference" | "workout_duration" | "insulin_injection" | "carbohydrates" | "note" | "sleep_stream" | "hypnogram";
7
+ export declare type ClientFacingResource = "profile" | "activity" | "sleep" | "body" | "workouts" | "workout_stream" | "connection" | "order" | "result" | "appointment" | "glucose" | "heartrate" | "hrv" | "ige" | "igg" | "blood_oxygen" | "blood_pressure" | "cholesterol" | "device" | "weight" | "fat" | "body_temperature" | "body_temperature_delta" | "meal" | "water" | "caffeine" | "mindfulness_minutes" | "steps" | "calories_active" | "distance" | "floors_climbed" | "respiratory_rate" | "vo2_max" | "calories_basal" | "stress_level" | "menstrual_cycle" | "sleep_cycle" | "electrocardiogram" | "electrocardiogram_voltage" | "afib_burden" | "heart_rate_alert" | "stand_hour" | "stand_duration" | "sleep_apnea_alert" | "sleep_breathing_disturbance" | "wheelchair_push" | "forced_expiratory_volume_1" | "forced_vital_capacity" | "peak_expiratory_flow_rate" | "inhaler_usage" | "fall" | "uv_exposure" | "daylight_exposure" | "handwashing" | "basal_body_temperature" | "heart_rate_recovery_one_minute" | "body_mass_index" | "lean_body_mass" | "waist_circumference" | "workout_distance" | "workout_swimming_stroke" | "workout_duration" | "insulin_injection" | "carbohydrates" | "note" | "sleep_stream" | "hypnogram";
8
8
  export declare const ClientFacingResource: {
9
9
  readonly Profile: "profile";
10
10
  readonly Activity: "activity";
@@ -61,9 +61,12 @@ export declare const ClientFacingResource: {
61
61
  readonly DaylightExposure: "daylight_exposure";
62
62
  readonly Handwashing: "handwashing";
63
63
  readonly BasalBodyTemperature: "basal_body_temperature";
64
+ readonly HeartRateRecoveryOneMinute: "heart_rate_recovery_one_minute";
64
65
  readonly BodyMassIndex: "body_mass_index";
65
66
  readonly LeanBodyMass: "lean_body_mass";
66
67
  readonly WaistCircumference: "waist_circumference";
68
+ readonly WorkoutDistance: "workout_distance";
69
+ readonly WorkoutSwimmingStroke: "workout_swimming_stroke";
67
70
  readonly WorkoutDuration: "workout_duration";
68
71
  readonly InsulinInjection: "insulin_injection";
69
72
  readonly Carbohydrates: "carbohydrates";
@@ -60,9 +60,12 @@ exports.ClientFacingResource = {
60
60
  DaylightExposure: "daylight_exposure",
61
61
  Handwashing: "handwashing",
62
62
  BasalBodyTemperature: "basal_body_temperature",
63
+ HeartRateRecoveryOneMinute: "heart_rate_recovery_one_minute",
63
64
  BodyMassIndex: "body_mass_index",
64
65
  LeanBodyMass: "lean_body_mass",
65
66
  WaistCircumference: "waist_circumference",
67
+ WorkoutDistance: "workout_distance",
68
+ WorkoutSwimmingStroke: "workout_swimming_stroke",
66
69
  WorkoutDuration: "workout_duration",
67
70
  InsulinInjection: "insulin_injection",
68
71
  Carbohydrates: "carbohydrates",
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vital from "../index";
5
+ export interface ClientFacingWorkoutDistanceChanged {
6
+ eventType: Vital.ClientFacingWorkoutDistanceChangedEventType;
7
+ userId: string;
8
+ clientUserId: string;
9
+ teamId: string;
10
+ data: Vital.GroupedWorkoutDistance;
11
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type ClientFacingWorkoutDistanceChangedEventType = "daily.data.workout_distance.created" | "daily.data.workout_distance.updated";
5
+ export declare const ClientFacingWorkoutDistanceChangedEventType: {
6
+ readonly DailyDataWorkoutDistanceCreated: "daily.data.workout_distance.created";
7
+ readonly DailyDataWorkoutDistanceUpdated: "daily.data.workout_distance.updated";
8
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.ClientFacingWorkoutDistanceChangedEventType = void 0;
7
+ exports.ClientFacingWorkoutDistanceChangedEventType = {
8
+ DailyDataWorkoutDistanceCreated: "daily.data.workout_distance.created",
9
+ DailyDataWorkoutDistanceUpdated: "daily.data.workout_distance.updated",
10
+ };
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vital from "../index";
5
+ export interface ClientFacingWorkoutDistanceHistoricalPullCompleted {
6
+ eventType: "historical.data.workout_distance.created";
7
+ userId: string;
8
+ clientUserId: string;
9
+ teamId: string;
10
+ data: Vital.HistoricalPullCompleted;
11
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,20 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface ClientFacingWorkoutDistanceSample {
5
+ /** Deprecated */
6
+ id?: number;
7
+ /** Time zone UTC offset in seconds. Positive offset indicates east of UTC; negative offset indicates west of UTC; and null indicates the time zone information is unavailable at source. */
8
+ timezoneOffset?: number;
9
+ /** The reading type of the measurement. This is applicable only to Cholesterol, IGG, IGE and InsulinInjection. */
10
+ type?: string;
11
+ unit: "m";
12
+ /** Depracated. The start time (inclusive) of the interval. */
13
+ timestamp: Date;
14
+ /** The start time (inclusive) of the interval. */
15
+ start: Date;
16
+ /** The end time (exclusive) of the interval. */
17
+ end: Date;
18
+ /** The recorded value for the interval. */
19
+ value: number;
20
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vital from "../index";
5
+ export interface ClientFacingWorkoutSwimmingStrokeChanged {
6
+ eventType: Vital.ClientFacingWorkoutSwimmingStrokeChangedEventType;
7
+ userId: string;
8
+ clientUserId: string;
9
+ teamId: string;
10
+ data: Vital.GroupedWorkoutSwimmingStroke;
11
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type ClientFacingWorkoutSwimmingStrokeChangedEventType = "daily.data.workout_swimming_stroke.created" | "daily.data.workout_swimming_stroke.updated";
5
+ export declare const ClientFacingWorkoutSwimmingStrokeChangedEventType: {
6
+ readonly DailyDataWorkoutSwimmingStrokeCreated: "daily.data.workout_swimming_stroke.created";
7
+ readonly DailyDataWorkoutSwimmingStrokeUpdated: "daily.data.workout_swimming_stroke.updated";
8
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.ClientFacingWorkoutSwimmingStrokeChangedEventType = void 0;
7
+ exports.ClientFacingWorkoutSwimmingStrokeChangedEventType = {
8
+ DailyDataWorkoutSwimmingStrokeCreated: "daily.data.workout_swimming_stroke.created",
9
+ DailyDataWorkoutSwimmingStrokeUpdated: "daily.data.workout_swimming_stroke.updated",
10
+ };
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vital from "../index";
5
+ export interface ClientFacingWorkoutSwimmingStrokeHistoricalPullCompleted {
6
+ eventType: "historical.data.workout_swimming_stroke.created";
7
+ userId: string;
8
+ clientUserId: string;
9
+ teamId: string;
10
+ data: Vital.HistoricalPullCompleted;
11
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,20 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface ClientFacingWorkoutSwimmingStrokeSample {
5
+ /** Deprecated */
6
+ id?: number;
7
+ /** Time zone UTC offset in seconds. Positive offset indicates east of UTC; negative offset indicates west of UTC; and null indicates the time zone information is unavailable at source. */
8
+ timezoneOffset?: number;
9
+ /** The reading type of the measurement. This is applicable only to Cholesterol, IGG, IGE and InsulinInjection. */
10
+ type?: string;
11
+ unit: "count";
12
+ /** Depracated. The start time (inclusive) of the interval. */
13
+ timestamp: Date;
14
+ /** The start time (inclusive) of the interval. */
15
+ start: Date;
16
+ /** The end time (exclusive) of the interval. */
17
+ end: Date;
18
+ /** The recorded value for the interval. */
19
+ value: number;
20
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vital from "../index";
5
+ export interface GroupedHeartRateRecoveryOneMinute {
6
+ source: Vital.ClientFacingSource;
7
+ data: Vital.ClientFacingHeartRateRecoveryOneMinuteSample[];
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vital from "../index";
5
+ export interface GroupedHeartRateRecoveryOneMinuteResponse {
6
+ /** For each matching provider or lab, a list of grouped timeseries values. */
7
+ groups: Record<string, Vital.GroupedHeartRateRecoveryOneMinute[]>;
8
+ /** The cursor for fetching the next page, or `null` if there is no more data. */
9
+ next?: string;
10
+ /** The cursor for fetching the next page, or `null` if there is no more data. */
11
+ nextCursor?: string;
12
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vital from "../index";
5
+ export interface GroupedWorkoutDistance {
6
+ source: Vital.ClientFacingSource;
7
+ data: Vital.ClientFacingWorkoutDistanceSample[];
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vital from "../index";
5
+ export interface GroupedWorkoutDistanceResponse {
6
+ /** For each matching provider or lab, a list of grouped timeseries values. */
7
+ groups: Record<string, Vital.GroupedWorkoutDistance[]>;
8
+ /** The cursor for fetching the next page, or `null` if there is no more data. */
9
+ next?: string;
10
+ /** The cursor for fetching the next page, or `null` if there is no more data. */
11
+ nextCursor?: string;
12
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vital from "../index";
5
+ export interface GroupedWorkoutSwimmingStroke {
6
+ source: Vital.ClientFacingSource;
7
+ data: Vital.ClientFacingWorkoutSwimmingStrokeSample[];
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vital from "../index";
5
+ export interface GroupedWorkoutSwimmingStrokeResponse {
6
+ /** For each matching provider or lab, a list of grouped timeseries values. */
7
+ groups: Record<string, Vital.GroupedWorkoutSwimmingStroke[]>;
8
+ /** The cursor for fetching the next page, or `null` if there is no more data. */
9
+ next?: string;
10
+ /** The cursor for fetching the next page, or `null` if there is no more data. */
11
+ nextCursor?: string;
12
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * ℹ️ This enum is non-exhaustive.
6
6
  */
7
- export declare type TimeseriesResource = "calories_active" | "calories_basal" | "distance" | "blood_oxygen" | "blood_pressure" | "body_fat" | "body_weight" | "body_temperature" | "body_temperature_delta" | "cholesterol" | "cholesterol/ldl" | "cholesterol/hdl" | "cholesterol/total" | "cholesterol/triglycerides" | "electrocardiogram_voltage" | "floors_climbed" | "glucose" | "heartrate" | "hrv" | "hypnogram" | "ige" | "igg" | "respiratory_rate" | "steps" | "stress_level" | "vo2_max" | "water" | "caffeine" | "mindfulness_minutes" | "afib_burden" | "heart_rate_alert" | "stand_hour" | "stand_duration" | "sleep_apnea_alert" | "sleep_breathing_disturbance" | "wheelchair_push" | "forced_expiratory_volume_1" | "forced_vital_capacity" | "peak_expiratory_flow_rate" | "inhaler_usage" | "fall" | "uv_exposure" | "daylight_exposure" | "handwashing" | "basal_body_temperature" | "body_mass_index" | "lean_body_mass" | "waist_circumference" | "workout_duration" | "insulin_injection" | "carbohydrates" | "note";
7
+ export declare type TimeseriesResource = "calories_active" | "calories_basal" | "distance" | "blood_oxygen" | "blood_pressure" | "body_fat" | "body_weight" | "body_temperature" | "body_temperature_delta" | "cholesterol" | "cholesterol/ldl" | "cholesterol/hdl" | "cholesterol/total" | "cholesterol/triglycerides" | "electrocardiogram_voltage" | "floors_climbed" | "glucose" | "heartrate" | "hrv" | "hypnogram" | "ige" | "igg" | "respiratory_rate" | "steps" | "stress_level" | "vo2_max" | "water" | "caffeine" | "mindfulness_minutes" | "afib_burden" | "heart_rate_alert" | "stand_hour" | "stand_duration" | "sleep_apnea_alert" | "sleep_breathing_disturbance" | "wheelchair_push" | "forced_expiratory_volume_1" | "forced_vital_capacity" | "peak_expiratory_flow_rate" | "inhaler_usage" | "fall" | "uv_exposure" | "daylight_exposure" | "handwashing" | "basal_body_temperature" | "body_mass_index" | "lean_body_mass" | "waist_circumference" | "heart_rate_recovery_one_minute" | "workout_distance" | "workout_swimming_stroke" | "workout_duration" | "insulin_injection" | "carbohydrates" | "note";
8
8
  export declare const TimeseriesResource: {
9
9
  readonly CaloriesActive: "calories_active";
10
10
  readonly CaloriesBasal: "calories_basal";
@@ -54,6 +54,9 @@ export declare const TimeseriesResource: {
54
54
  readonly BodyMassIndex: "body_mass_index";
55
55
  readonly LeanBodyMass: "lean_body_mass";
56
56
  readonly WaistCircumference: "waist_circumference";
57
+ readonly HeartRateRecoveryOneMinute: "heart_rate_recovery_one_minute";
58
+ readonly WorkoutDistance: "workout_distance";
59
+ readonly WorkoutSwimmingStroke: "workout_swimming_stroke";
57
60
  readonly WorkoutDuration: "workout_duration";
58
61
  readonly InsulinInjection: "insulin_injection";
59
62
  readonly Carbohydrates: "carbohydrates";
@@ -53,6 +53,9 @@ exports.TimeseriesResource = {
53
53
  BodyMassIndex: "body_mass_index",
54
54
  LeanBodyMass: "lean_body_mass",
55
55
  WaistCircumference: "waist_circumference",
56
+ HeartRateRecoveryOneMinute: "heart_rate_recovery_one_minute",
57
+ WorkoutDistance: "workout_distance",
58
+ WorkoutSwimmingStroke: "workout_swimming_stroke",
56
59
  WorkoutDuration: "workout_duration",
57
60
  InsulinInjection: "insulin_injection",
58
61
  Carbohydrates: "carbohydrates",