@tryvital/vital-node 3.1.287 → 3.1.289

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 (308) hide show
  1. package/api/resources/activity/client/Client.js +2 -2
  2. package/api/resources/aggregate/client/Client.js +3 -3
  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.d.ts +3 -3
  9. package/api/resources/labTests/client/Client.js +50 -45
  10. package/api/resources/labTests/client/requests/LabTestsSimulateOrderProcessRequest.d.ts +4 -1
  11. package/api/resources/link/client/Client.js +19 -19
  12. package/api/resources/meal/client/Client.js +1 -1
  13. package/api/resources/menstrualCycle/client/Client.js +1 -1
  14. package/api/resources/order/client/Client.js +1 -1
  15. package/api/resources/profile/client/Client.js +2 -2
  16. package/api/resources/providers/client/Client.js +1 -1
  17. package/api/resources/sleep/client/Client.js +4 -4
  18. package/api/resources/sleepCycle/client/Client.js +1 -1
  19. package/api/resources/team/client/Client.js +7 -7
  20. package/api/resources/team/client/requests/TeamGetSourcePrioritiesRequest.d.ts +2 -1
  21. package/api/resources/testkit/client/Client.js +2 -2
  22. package/api/resources/user/client/Client.js +16 -16
  23. package/api/resources/vitals/client/Client.js +78 -78
  24. package/api/resources/workouts/client/Client.js +3 -3
  25. package/api/types/AggregateExprArg.d.ts +1 -1
  26. package/api/types/BloodPressureTimeseriesExpr.d.ts +8 -0
  27. package/api/types/BloodPressureTimeseriesExpr.js +5 -0
  28. package/api/types/BloodPressureTimeseriesExprField.d.ts +15 -0
  29. package/api/types/BloodPressureTimeseriesExprField.js +17 -0
  30. package/api/types/ClientFacingAppointment.d.ts +1 -0
  31. package/api/types/ClientFacingElectrocardiogramSourceType.d.ts +2 -1
  32. package/api/types/ClientFacingElectrocardiogramSourceType.js +1 -0
  33. package/api/types/ClientFacingMenstrualCycleSourceType.d.ts +2 -1
  34. package/api/types/ClientFacingMenstrualCycleSourceType.js +1 -0
  35. package/api/types/ClientFacingSleepCycleSourceType.d.ts +2 -1
  36. package/api/types/ClientFacingSleepCycleSourceType.js +1 -0
  37. package/api/types/DiscreteTimeseriesExpr.d.ts +9 -0
  38. package/api/types/DiscreteTimeseriesExpr.js +5 -0
  39. package/api/types/DiscreteTimeseriesExprField.d.ts +14 -0
  40. package/api/types/DiscreteTimeseriesExprField.js +16 -0
  41. package/api/types/DiscreteTimeseriesExprTimeseries.d.ts +21 -0
  42. package/api/types/DiscreteTimeseriesExprTimeseries.js +20 -0
  43. package/api/types/IndexColumnExprIndex.d.ts +2 -1
  44. package/api/types/IndexColumnExprIndex.js +1 -0
  45. package/api/types/IntervalTimeseriesExpr.d.ts +9 -0
  46. package/api/types/IntervalTimeseriesExpr.js +5 -0
  47. package/api/types/IntervalTimeseriesExprField.d.ts +15 -0
  48. package/api/types/IntervalTimeseriesExprField.js +17 -0
  49. package/api/types/IntervalTimeseriesExprTimeseries.d.ts +42 -0
  50. package/api/types/IntervalTimeseriesExprTimeseries.js +41 -0
  51. package/api/types/MealColumnExpr.d.ts +8 -0
  52. package/api/types/MealColumnExpr.js +5 -0
  53. package/api/types/MealColumnExprMeal.d.ts +56 -0
  54. package/api/types/MealColumnExprMeal.js +55 -0
  55. package/api/types/NoteTimeseriesExpr.d.ts +8 -0
  56. package/api/types/NoteTimeseriesExpr.js +5 -0
  57. package/api/types/NoteTimeseriesExprField.d.ts +15 -0
  58. package/api/types/NoteTimeseriesExprField.js +17 -0
  59. package/api/types/PriorityResource.d.ts +14 -0
  60. package/api/types/PriorityResource.js +13 -0
  61. package/api/types/Query.d.ts +0 -1
  62. package/api/types/QueryGroupByItem.d.ts +1 -1
  63. package/api/types/QuerySelectItem.d.ts +1 -1
  64. package/api/types/SimulationFlags.d.ts +8 -0
  65. package/api/types/SimulationFlags.js +5 -0
  66. package/api/types/SourceColumnExpr.d.ts +7 -0
  67. package/api/types/SourceColumnExpr.js +5 -0
  68. package/api/types/SourceColumnExprSource.d.ts +11 -0
  69. package/api/types/SourceColumnExprSource.js +13 -0
  70. package/api/types/TemperatureTimeseriesExpr.d.ts +9 -0
  71. package/api/types/TemperatureTimeseriesExpr.js +5 -0
  72. package/api/types/TemperatureTimeseriesExprField.d.ts +16 -0
  73. package/api/types/TemperatureTimeseriesExprField.js +18 -0
  74. package/api/types/TemperatureTimeseriesExprTimeseries.d.ts +11 -0
  75. package/api/types/TemperatureTimeseriesExprTimeseries.js +10 -0
  76. package/api/types/WorkoutColumnExprWorkout.d.ts +2 -2
  77. package/api/types/WorkoutColumnExprWorkout.js +1 -1
  78. package/api/types/WorkoutDurationTimeseriesExpr.d.ts +8 -0
  79. package/api/types/WorkoutDurationTimeseriesExpr.js +5 -0
  80. package/api/types/WorkoutDurationTimeseriesExprField.d.ts +16 -0
  81. package/api/types/WorkoutDurationTimeseriesExprField.js +18 -0
  82. package/api/types/index.d.ts +21 -0
  83. package/api/types/index.js +21 -0
  84. package/dist/api/resources/activity/client/Client.js +2 -2
  85. package/dist/api/resources/aggregate/client/Client.js +3 -3
  86. package/dist/api/resources/body/client/Client.js +2 -2
  87. package/dist/api/resources/devices/client/Client.js +1 -1
  88. package/dist/api/resources/electrocardiogram/client/Client.js +1 -1
  89. package/dist/api/resources/insurance/client/Client.js +3 -3
  90. package/dist/api/resources/introspect/client/Client.js +2 -2
  91. package/dist/api/resources/labTests/client/Client.d.ts +3 -3
  92. package/dist/api/resources/labTests/client/Client.js +50 -45
  93. package/dist/api/resources/labTests/client/requests/LabTestsSimulateOrderProcessRequest.d.ts +4 -1
  94. package/dist/api/resources/link/client/Client.js +19 -19
  95. package/dist/api/resources/meal/client/Client.js +1 -1
  96. package/dist/api/resources/menstrualCycle/client/Client.js +1 -1
  97. package/dist/api/resources/order/client/Client.js +1 -1
  98. package/dist/api/resources/profile/client/Client.js +2 -2
  99. package/dist/api/resources/providers/client/Client.js +1 -1
  100. package/dist/api/resources/sleep/client/Client.js +4 -4
  101. package/dist/api/resources/sleepCycle/client/Client.js +1 -1
  102. package/dist/api/resources/team/client/Client.js +7 -7
  103. package/dist/api/resources/team/client/requests/TeamGetSourcePrioritiesRequest.d.ts +2 -1
  104. package/dist/api/resources/testkit/client/Client.js +2 -2
  105. package/dist/api/resources/user/client/Client.js +16 -16
  106. package/dist/api/resources/vitals/client/Client.js +78 -78
  107. package/dist/api/resources/workouts/client/Client.js +3 -3
  108. package/dist/api/types/AggregateExprArg.d.ts +1 -1
  109. package/dist/api/types/BloodPressureTimeseriesExpr.d.ts +8 -0
  110. package/dist/api/types/BloodPressureTimeseriesExpr.js +5 -0
  111. package/dist/api/types/BloodPressureTimeseriesExprField.d.ts +15 -0
  112. package/dist/api/types/BloodPressureTimeseriesExprField.js +17 -0
  113. package/dist/api/types/ClientFacingAppointment.d.ts +1 -0
  114. package/dist/api/types/ClientFacingElectrocardiogramSourceType.d.ts +2 -1
  115. package/dist/api/types/ClientFacingElectrocardiogramSourceType.js +1 -0
  116. package/dist/api/types/ClientFacingMenstrualCycleSourceType.d.ts +2 -1
  117. package/dist/api/types/ClientFacingMenstrualCycleSourceType.js +1 -0
  118. package/dist/api/types/ClientFacingSleepCycleSourceType.d.ts +2 -1
  119. package/dist/api/types/ClientFacingSleepCycleSourceType.js +1 -0
  120. package/dist/api/types/DiscreteTimeseriesExpr.d.ts +9 -0
  121. package/dist/api/types/DiscreteTimeseriesExpr.js +5 -0
  122. package/dist/api/types/DiscreteTimeseriesExprField.d.ts +14 -0
  123. package/dist/api/types/DiscreteTimeseriesExprField.js +16 -0
  124. package/dist/api/types/DiscreteTimeseriesExprTimeseries.d.ts +21 -0
  125. package/dist/api/types/DiscreteTimeseriesExprTimeseries.js +20 -0
  126. package/dist/api/types/IndexColumnExprIndex.d.ts +2 -1
  127. package/dist/api/types/IndexColumnExprIndex.js +1 -0
  128. package/dist/api/types/IntervalTimeseriesExpr.d.ts +9 -0
  129. package/dist/api/types/IntervalTimeseriesExpr.js +5 -0
  130. package/dist/api/types/IntervalTimeseriesExprField.d.ts +15 -0
  131. package/dist/api/types/IntervalTimeseriesExprField.js +17 -0
  132. package/dist/api/types/IntervalTimeseriesExprTimeseries.d.ts +42 -0
  133. package/dist/api/types/IntervalTimeseriesExprTimeseries.js +41 -0
  134. package/dist/api/types/MealColumnExpr.d.ts +8 -0
  135. package/dist/api/types/MealColumnExpr.js +5 -0
  136. package/dist/api/types/MealColumnExprMeal.d.ts +56 -0
  137. package/dist/api/types/MealColumnExprMeal.js +55 -0
  138. package/dist/api/types/NoteTimeseriesExpr.d.ts +8 -0
  139. package/dist/api/types/NoteTimeseriesExpr.js +5 -0
  140. package/dist/api/types/NoteTimeseriesExprField.d.ts +15 -0
  141. package/dist/api/types/NoteTimeseriesExprField.js +17 -0
  142. package/dist/api/types/PriorityResource.d.ts +14 -0
  143. package/dist/api/types/PriorityResource.js +13 -0
  144. package/dist/api/types/Query.d.ts +0 -1
  145. package/dist/api/types/QueryGroupByItem.d.ts +1 -1
  146. package/dist/api/types/QuerySelectItem.d.ts +1 -1
  147. package/dist/api/types/SimulationFlags.d.ts +8 -0
  148. package/dist/api/types/SimulationFlags.js +5 -0
  149. package/dist/api/types/SourceColumnExpr.d.ts +7 -0
  150. package/dist/api/types/SourceColumnExpr.js +5 -0
  151. package/dist/api/types/SourceColumnExprSource.d.ts +11 -0
  152. package/dist/api/types/SourceColumnExprSource.js +13 -0
  153. package/dist/api/types/TemperatureTimeseriesExpr.d.ts +9 -0
  154. package/dist/api/types/TemperatureTimeseriesExpr.js +5 -0
  155. package/dist/api/types/TemperatureTimeseriesExprField.d.ts +16 -0
  156. package/dist/api/types/TemperatureTimeseriesExprField.js +18 -0
  157. package/dist/api/types/TemperatureTimeseriesExprTimeseries.d.ts +11 -0
  158. package/dist/api/types/TemperatureTimeseriesExprTimeseries.js +10 -0
  159. package/dist/api/types/WorkoutColumnExprWorkout.d.ts +2 -2
  160. package/dist/api/types/WorkoutColumnExprWorkout.js +1 -1
  161. package/dist/api/types/WorkoutDurationTimeseriesExpr.d.ts +8 -0
  162. package/dist/api/types/WorkoutDurationTimeseriesExpr.js +5 -0
  163. package/dist/api/types/WorkoutDurationTimeseriesExprField.d.ts +16 -0
  164. package/dist/api/types/WorkoutDurationTimeseriesExprField.js +18 -0
  165. package/dist/api/types/index.d.ts +21 -0
  166. package/dist/api/types/index.js +21 -0
  167. package/dist/serialization/resources/labTests/client/index.d.ts +1 -0
  168. package/dist/serialization/resources/labTests/client/index.js +2 -1
  169. package/dist/serialization/resources/labTests/client/simulateOrderProcess.d.ts +11 -0
  170. package/dist/serialization/resources/labTests/client/simulateOrderProcess.js +8 -0
  171. package/dist/serialization/types/AggregateExprArg.d.ts +9 -2
  172. package/dist/serialization/types/AggregateExprArg.js +16 -2
  173. package/dist/serialization/types/BloodPressureTimeseriesExpr.d.ts +14 -0
  174. package/dist/serialization/types/BloodPressureTimeseriesExpr.js +35 -0
  175. package/dist/serialization/types/BloodPressureTimeseriesExprField.d.ts +10 -0
  176. package/dist/serialization/types/BloodPressureTimeseriesExprField.js +41 -0
  177. package/dist/serialization/types/ClientFacingAppointment.d.ts +1 -0
  178. package/dist/serialization/types/ClientFacingAppointment.js +1 -0
  179. package/dist/serialization/types/ClientFacingElectrocardiogramSourceType.d.ts +1 -1
  180. package/dist/serialization/types/ClientFacingElectrocardiogramSourceType.js +1 -0
  181. package/dist/serialization/types/ClientFacingMenstrualCycleSourceType.d.ts +1 -1
  182. package/dist/serialization/types/ClientFacingMenstrualCycleSourceType.js +1 -0
  183. package/dist/serialization/types/ClientFacingSleepCycleSourceType.d.ts +1 -1
  184. package/dist/serialization/types/ClientFacingSleepCycleSourceType.js +1 -0
  185. package/dist/serialization/types/DiscreteTimeseriesExpr.d.ts +15 -0
  186. package/dist/serialization/types/DiscreteTimeseriesExpr.js +36 -0
  187. package/dist/serialization/types/DiscreteTimeseriesExprField.d.ts +10 -0
  188. package/dist/serialization/types/DiscreteTimeseriesExprField.js +40 -0
  189. package/dist/serialization/types/DiscreteTimeseriesExprTimeseries.d.ts +10 -0
  190. package/dist/serialization/types/DiscreteTimeseriesExprTimeseries.js +44 -0
  191. package/dist/serialization/types/IndexColumnExprIndex.d.ts +1 -1
  192. package/dist/serialization/types/IndexColumnExprIndex.js +1 -1
  193. package/dist/serialization/types/IntervalTimeseriesExpr.d.ts +15 -0
  194. package/dist/serialization/types/IntervalTimeseriesExpr.js +36 -0
  195. package/dist/serialization/types/IntervalTimeseriesExprField.d.ts +10 -0
  196. package/dist/serialization/types/IntervalTimeseriesExprField.js +41 -0
  197. package/dist/serialization/types/IntervalTimeseriesExprTimeseries.d.ts +10 -0
  198. package/dist/serialization/types/IntervalTimeseriesExprTimeseries.js +65 -0
  199. package/dist/serialization/types/MealColumnExpr.d.ts +13 -0
  200. package/dist/serialization/types/MealColumnExpr.js +34 -0
  201. package/dist/serialization/types/MealColumnExprMeal.d.ts +10 -0
  202. package/dist/serialization/types/MealColumnExprMeal.js +79 -0
  203. package/dist/serialization/types/NoteTimeseriesExpr.d.ts +14 -0
  204. package/dist/serialization/types/NoteTimeseriesExpr.js +35 -0
  205. package/dist/serialization/types/NoteTimeseriesExprField.d.ts +10 -0
  206. package/dist/serialization/types/NoteTimeseriesExprField.js +41 -0
  207. package/dist/serialization/types/PriorityResource.d.ts +10 -0
  208. package/dist/serialization/types/PriorityResource.js +31 -0
  209. package/dist/serialization/types/Query.d.ts +0 -1
  210. package/dist/serialization/types/Query.js +0 -1
  211. package/dist/serialization/types/QueryGroupByItem.d.ts +16 -1
  212. package/dist/serialization/types/QueryGroupByItem.js +34 -1
  213. package/dist/serialization/types/QuerySelectItem.d.ts +10 -2
  214. package/dist/serialization/types/QuerySelectItem.js +18 -2
  215. package/dist/serialization/types/SimulationFlags.d.ts +15 -0
  216. package/dist/serialization/types/SimulationFlags.js +36 -0
  217. package/dist/serialization/types/SourceColumnExpr.d.ts +13 -0
  218. package/dist/serialization/types/SourceColumnExpr.js +34 -0
  219. package/dist/serialization/types/SourceColumnExprSource.d.ts +10 -0
  220. package/dist/serialization/types/SourceColumnExprSource.js +31 -0
  221. package/dist/serialization/types/TemperatureTimeseriesExpr.d.ts +15 -0
  222. package/dist/serialization/types/TemperatureTimeseriesExpr.js +36 -0
  223. package/dist/serialization/types/TemperatureTimeseriesExprField.d.ts +10 -0
  224. package/dist/serialization/types/TemperatureTimeseriesExprField.js +42 -0
  225. package/dist/serialization/types/TemperatureTimeseriesExprTimeseries.d.ts +10 -0
  226. package/dist/serialization/types/TemperatureTimeseriesExprTimeseries.js +31 -0
  227. package/dist/serialization/types/WorkoutColumnExprWorkout.d.ts +1 -1
  228. package/dist/serialization/types/WorkoutColumnExprWorkout.js +1 -1
  229. package/dist/serialization/types/WorkoutDurationTimeseriesExpr.d.ts +14 -0
  230. package/dist/serialization/types/WorkoutDurationTimeseriesExpr.js +35 -0
  231. package/dist/serialization/types/WorkoutDurationTimeseriesExprField.d.ts +10 -0
  232. package/dist/serialization/types/WorkoutDurationTimeseriesExprField.js +42 -0
  233. package/dist/serialization/types/index.d.ts +21 -0
  234. package/dist/serialization/types/index.js +21 -0
  235. package/dist/version.d.ts +1 -1
  236. package/dist/version.js +1 -1
  237. package/package.json +1 -1
  238. package/reference.md +3 -16
  239. package/serialization/resources/labTests/client/index.d.ts +1 -0
  240. package/serialization/resources/labTests/client/index.js +2 -1
  241. package/serialization/resources/labTests/client/simulateOrderProcess.d.ts +11 -0
  242. package/serialization/resources/labTests/client/simulateOrderProcess.js +8 -0
  243. package/serialization/types/AggregateExprArg.d.ts +9 -2
  244. package/serialization/types/AggregateExprArg.js +16 -2
  245. package/serialization/types/BloodPressureTimeseriesExpr.d.ts +14 -0
  246. package/serialization/types/BloodPressureTimeseriesExpr.js +35 -0
  247. package/serialization/types/BloodPressureTimeseriesExprField.d.ts +10 -0
  248. package/serialization/types/BloodPressureTimeseriesExprField.js +41 -0
  249. package/serialization/types/ClientFacingAppointment.d.ts +1 -0
  250. package/serialization/types/ClientFacingAppointment.js +1 -0
  251. package/serialization/types/ClientFacingElectrocardiogramSourceType.d.ts +1 -1
  252. package/serialization/types/ClientFacingElectrocardiogramSourceType.js +1 -0
  253. package/serialization/types/ClientFacingMenstrualCycleSourceType.d.ts +1 -1
  254. package/serialization/types/ClientFacingMenstrualCycleSourceType.js +1 -0
  255. package/serialization/types/ClientFacingSleepCycleSourceType.d.ts +1 -1
  256. package/serialization/types/ClientFacingSleepCycleSourceType.js +1 -0
  257. package/serialization/types/DiscreteTimeseriesExpr.d.ts +15 -0
  258. package/serialization/types/DiscreteTimeseriesExpr.js +36 -0
  259. package/serialization/types/DiscreteTimeseriesExprField.d.ts +10 -0
  260. package/serialization/types/DiscreteTimeseriesExprField.js +40 -0
  261. package/serialization/types/DiscreteTimeseriesExprTimeseries.d.ts +10 -0
  262. package/serialization/types/DiscreteTimeseriesExprTimeseries.js +44 -0
  263. package/serialization/types/IndexColumnExprIndex.d.ts +1 -1
  264. package/serialization/types/IndexColumnExprIndex.js +1 -1
  265. package/serialization/types/IntervalTimeseriesExpr.d.ts +15 -0
  266. package/serialization/types/IntervalTimeseriesExpr.js +36 -0
  267. package/serialization/types/IntervalTimeseriesExprField.d.ts +10 -0
  268. package/serialization/types/IntervalTimeseriesExprField.js +41 -0
  269. package/serialization/types/IntervalTimeseriesExprTimeseries.d.ts +10 -0
  270. package/serialization/types/IntervalTimeseriesExprTimeseries.js +65 -0
  271. package/serialization/types/MealColumnExpr.d.ts +13 -0
  272. package/serialization/types/MealColumnExpr.js +34 -0
  273. package/serialization/types/MealColumnExprMeal.d.ts +10 -0
  274. package/serialization/types/MealColumnExprMeal.js +79 -0
  275. package/serialization/types/NoteTimeseriesExpr.d.ts +14 -0
  276. package/serialization/types/NoteTimeseriesExpr.js +35 -0
  277. package/serialization/types/NoteTimeseriesExprField.d.ts +10 -0
  278. package/serialization/types/NoteTimeseriesExprField.js +41 -0
  279. package/serialization/types/PriorityResource.d.ts +10 -0
  280. package/serialization/types/PriorityResource.js +31 -0
  281. package/serialization/types/Query.d.ts +0 -1
  282. package/serialization/types/Query.js +0 -1
  283. package/serialization/types/QueryGroupByItem.d.ts +16 -1
  284. package/serialization/types/QueryGroupByItem.js +34 -1
  285. package/serialization/types/QuerySelectItem.d.ts +10 -2
  286. package/serialization/types/QuerySelectItem.js +18 -2
  287. package/serialization/types/SimulationFlags.d.ts +15 -0
  288. package/serialization/types/SimulationFlags.js +36 -0
  289. package/serialization/types/SourceColumnExpr.d.ts +13 -0
  290. package/serialization/types/SourceColumnExpr.js +34 -0
  291. package/serialization/types/SourceColumnExprSource.d.ts +10 -0
  292. package/serialization/types/SourceColumnExprSource.js +31 -0
  293. package/serialization/types/TemperatureTimeseriesExpr.d.ts +15 -0
  294. package/serialization/types/TemperatureTimeseriesExpr.js +36 -0
  295. package/serialization/types/TemperatureTimeseriesExprField.d.ts +10 -0
  296. package/serialization/types/TemperatureTimeseriesExprField.js +42 -0
  297. package/serialization/types/TemperatureTimeseriesExprTimeseries.d.ts +10 -0
  298. package/serialization/types/TemperatureTimeseriesExprTimeseries.js +31 -0
  299. package/serialization/types/WorkoutColumnExprWorkout.d.ts +1 -1
  300. package/serialization/types/WorkoutColumnExprWorkout.js +1 -1
  301. package/serialization/types/WorkoutDurationTimeseriesExpr.d.ts +14 -0
  302. package/serialization/types/WorkoutDurationTimeseriesExpr.js +35 -0
  303. package/serialization/types/WorkoutDurationTimeseriesExprField.d.ts +10 -0
  304. package/serialization/types/WorkoutDurationTimeseriesExprField.js +42 -0
  305. package/serialization/types/index.d.ts +21 -0
  306. package/serialization/types/index.js +21 -0
  307. package/version.d.ts +1 -1
  308. package/version.js +1 -1
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.DiscreteTimeseriesExpr = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const DiscreteTimeseriesExprTimeseries_1 = require("./DiscreteTimeseriesExprTimeseries");
32
+ const DiscreteTimeseriesExprField_1 = require("./DiscreteTimeseriesExprField");
33
+ exports.DiscreteTimeseriesExpr = core.serialization.object({
34
+ timeseries: DiscreteTimeseriesExprTimeseries_1.DiscreteTimeseriesExprTimeseries,
35
+ field: DiscreteTimeseriesExprField_1.DiscreteTimeseriesExprField,
36
+ });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vital from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const DiscreteTimeseriesExprField: core.serialization.Schema<serializers.DiscreteTimeseriesExprField.Raw, Vital.DiscreteTimeseriesExprField>;
8
+ export declare namespace DiscreteTimeseriesExprField {
9
+ type Raw = "source_provider" | "source_type" | "source_app_id" | "source_workout_id" | "source_sport" | "timezone_offset" | "type" | "value";
10
+ }
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.DiscreteTimeseriesExprField = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.DiscreteTimeseriesExprField = core.serialization.enum_([
32
+ "source_provider",
33
+ "source_type",
34
+ "source_app_id",
35
+ "source_workout_id",
36
+ "source_sport",
37
+ "timezone_offset",
38
+ "type",
39
+ "value",
40
+ ]);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vital from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const DiscreteTimeseriesExprTimeseries: core.serialization.Schema<serializers.DiscreteTimeseriesExprTimeseries.Raw, Vital.DiscreteTimeseriesExprTimeseries>;
8
+ export declare namespace DiscreteTimeseriesExprTimeseries {
9
+ type Raw = "glucose" | "heartrate" | "hrv" | "ige" | "igg" | "cholesterol" | "weight" | "fat" | "blood_oxygen" | "electrocardiogram_voltage" | "respiratory_rate" | "stress_level";
10
+ }
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.DiscreteTimeseriesExprTimeseries = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.DiscreteTimeseriesExprTimeseries = core.serialization.enum_([
32
+ "glucose",
33
+ "heartrate",
34
+ "hrv",
35
+ "ige",
36
+ "igg",
37
+ "cholesterol",
38
+ "weight",
39
+ "fat",
40
+ "blood_oxygen",
41
+ "electrocardiogram_voltage",
42
+ "respiratory_rate",
43
+ "stress_level",
44
+ ]);
@@ -6,5 +6,5 @@ import * as Vital from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  export declare const IndexColumnExprIndex: core.serialization.Schema<serializers.IndexColumnExprIndex.Raw, Vital.IndexColumnExprIndex>;
8
8
  export declare namespace IndexColumnExprIndex {
9
- type Raw = "sleep" | "activity" | "workout" | "body" | "meal";
9
+ type Raw = "sleep" | "activity" | "workout" | "body" | "meal" | "timeseries";
10
10
  }
@@ -28,4 +28,4 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.IndexColumnExprIndex = void 0;
30
30
  const core = __importStar(require("../../core"));
31
- exports.IndexColumnExprIndex = core.serialization.enum_(["sleep", "activity", "workout", "body", "meal"]);
31
+ exports.IndexColumnExprIndex = core.serialization.enum_(["sleep", "activity", "workout", "body", "meal", "timeseries"]);
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vital from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { IntervalTimeseriesExprTimeseries } from "./IntervalTimeseriesExprTimeseries";
8
+ import { IntervalTimeseriesExprField } from "./IntervalTimeseriesExprField";
9
+ export declare const IntervalTimeseriesExpr: core.serialization.ObjectSchema<serializers.IntervalTimeseriesExpr.Raw, Vital.IntervalTimeseriesExpr>;
10
+ export declare namespace IntervalTimeseriesExpr {
11
+ interface Raw {
12
+ timeseries: IntervalTimeseriesExprTimeseries.Raw;
13
+ field: IntervalTimeseriesExprField.Raw;
14
+ }
15
+ }
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.IntervalTimeseriesExpr = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const IntervalTimeseriesExprTimeseries_1 = require("./IntervalTimeseriesExprTimeseries");
32
+ const IntervalTimeseriesExprField_1 = require("./IntervalTimeseriesExprField");
33
+ exports.IntervalTimeseriesExpr = core.serialization.object({
34
+ timeseries: IntervalTimeseriesExprTimeseries_1.IntervalTimeseriesExprTimeseries,
35
+ field: IntervalTimeseriesExprField_1.IntervalTimeseriesExprField,
36
+ });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vital from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const IntervalTimeseriesExprField: core.serialization.Schema<serializers.IntervalTimeseriesExprField.Raw, Vital.IntervalTimeseriesExprField>;
8
+ export declare namespace IntervalTimeseriesExprField {
9
+ type Raw = "source_provider" | "source_type" | "source_app_id" | "source_workout_id" | "source_sport" | "timezone_offset" | "type" | "duration" | "value";
10
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.IntervalTimeseriesExprField = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.IntervalTimeseriesExprField = core.serialization.enum_([
32
+ "source_provider",
33
+ "source_type",
34
+ "source_app_id",
35
+ "source_workout_id",
36
+ "source_sport",
37
+ "timezone_offset",
38
+ "type",
39
+ "duration",
40
+ "value",
41
+ ]);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vital from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const IntervalTimeseriesExprTimeseries: core.serialization.Schema<serializers.IntervalTimeseriesExprTimeseries.Raw, Vital.IntervalTimeseriesExprTimeseries>;
8
+ export declare namespace IntervalTimeseriesExprTimeseries {
9
+ type Raw = "steps" | "distance" | "vo2_max" | "heart_rate_alert" | "stand_hour" | "sleep_breathing_disturbance" | "insulin_injection" | "water" | "caffeine" | "mindfulness_minutes" | "calories_active" | "floors_climbed" | "calories_basal" | "afib_burden" | "stand_duration" | "sleep_apnea_alert" | "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_swimming_stroke" | "workout_distance" | "carbohydrates";
10
+ }
@@ -0,0 +1,65 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.IntervalTimeseriesExprTimeseries = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.IntervalTimeseriesExprTimeseries = core.serialization.enum_([
32
+ "steps",
33
+ "distance",
34
+ "vo2_max",
35
+ "heart_rate_alert",
36
+ "stand_hour",
37
+ "sleep_breathing_disturbance",
38
+ "insulin_injection",
39
+ "water",
40
+ "caffeine",
41
+ "mindfulness_minutes",
42
+ "calories_active",
43
+ "floors_climbed",
44
+ "calories_basal",
45
+ "afib_burden",
46
+ "stand_duration",
47
+ "sleep_apnea_alert",
48
+ "wheelchair_push",
49
+ "forced_expiratory_volume_1",
50
+ "forced_vital_capacity",
51
+ "peak_expiratory_flow_rate",
52
+ "inhaler_usage",
53
+ "fall",
54
+ "uv_exposure",
55
+ "daylight_exposure",
56
+ "handwashing",
57
+ "basal_body_temperature",
58
+ "body_mass_index",
59
+ "lean_body_mass",
60
+ "waist_circumference",
61
+ "heart_rate_recovery_one_minute",
62
+ "workout_swimming_stroke",
63
+ "workout_distance",
64
+ "carbohydrates",
65
+ ]);
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vital from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { MealColumnExprMeal } from "./MealColumnExprMeal";
8
+ export declare const MealColumnExpr: core.serialization.ObjectSchema<serializers.MealColumnExpr.Raw, Vital.MealColumnExpr>;
9
+ export declare namespace MealColumnExpr {
10
+ interface Raw {
11
+ meal: MealColumnExprMeal.Raw;
12
+ }
13
+ }
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.MealColumnExpr = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const MealColumnExprMeal_1 = require("./MealColumnExprMeal");
32
+ exports.MealColumnExpr = core.serialization.object({
33
+ meal: MealColumnExprMeal_1.MealColumnExprMeal,
34
+ });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vital from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const MealColumnExprMeal: core.serialization.Schema<serializers.MealColumnExprMeal.Raw, Vital.MealColumnExprMeal>;
8
+ export declare namespace MealColumnExprMeal {
9
+ type Raw = "calories" | "carbohydrate_gram" | "protein_gram" | "alcohol_gram" | "water_gram" | "fibre_gram" | "sugar_gram" | "cholesterol_gram" | "saturated_fat_gram" | "monounsaturated_fat_gram" | "polyunsaturated_fat_gram" | "omega3_fat_gram" | "omega6_fat_gram" | "total_fat_gram" | "sodium_milligram" | "potassium_milligram" | "calcium_milligram" | "phosphorus_milligram" | "magnesium_milligram" | "iron_milligram" | "zinc_milligram" | "fluoride_milligram" | "chloride_milligram" | "vitamin_a_milligram" | "vitamin_b1_milligram" | "riboflavin_milligram" | "niacin_milligram" | "pantothenic_acid_milligram" | "vitamin_b6_milligram" | "biotin_microgram" | "vitamin_b12_microgram" | "vitamin_c_milligram" | "vitamin_d_microgram" | "vitamin_e_milligram" | "vitamin_k_microgram" | "folic_acid_microgram" | "chromium_microgram" | "copper_milligram" | "iodine_microgram" | "manganese_milligram" | "molybdenum_microgram" | "selenium_microgram" | "date" | "name" | "source_type" | "source_provider" | "source_app_id";
10
+ }
@@ -0,0 +1,79 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.MealColumnExprMeal = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.MealColumnExprMeal = core.serialization.enum_([
32
+ "calories",
33
+ "carbohydrate_gram",
34
+ "protein_gram",
35
+ "alcohol_gram",
36
+ "water_gram",
37
+ "fibre_gram",
38
+ "sugar_gram",
39
+ "cholesterol_gram",
40
+ "saturated_fat_gram",
41
+ "monounsaturated_fat_gram",
42
+ "polyunsaturated_fat_gram",
43
+ "omega3_fat_gram",
44
+ "omega6_fat_gram",
45
+ "total_fat_gram",
46
+ "sodium_milligram",
47
+ "potassium_milligram",
48
+ "calcium_milligram",
49
+ "phosphorus_milligram",
50
+ "magnesium_milligram",
51
+ "iron_milligram",
52
+ "zinc_milligram",
53
+ "fluoride_milligram",
54
+ "chloride_milligram",
55
+ "vitamin_a_milligram",
56
+ "vitamin_b1_milligram",
57
+ "riboflavin_milligram",
58
+ "niacin_milligram",
59
+ "pantothenic_acid_milligram",
60
+ "vitamin_b6_milligram",
61
+ "biotin_microgram",
62
+ "vitamin_b12_microgram",
63
+ "vitamin_c_milligram",
64
+ "vitamin_d_microgram",
65
+ "vitamin_e_milligram",
66
+ "vitamin_k_microgram",
67
+ "folic_acid_microgram",
68
+ "chromium_microgram",
69
+ "copper_milligram",
70
+ "iodine_microgram",
71
+ "manganese_milligram",
72
+ "molybdenum_microgram",
73
+ "selenium_microgram",
74
+ "date",
75
+ "name",
76
+ "source_type",
77
+ "source_provider",
78
+ "source_app_id",
79
+ ]);
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vital from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { NoteTimeseriesExprField } from "./NoteTimeseriesExprField";
8
+ export declare const NoteTimeseriesExpr: core.serialization.ObjectSchema<serializers.NoteTimeseriesExpr.Raw, Vital.NoteTimeseriesExpr>;
9
+ export declare namespace NoteTimeseriesExpr {
10
+ interface Raw {
11
+ timeseries: "note";
12
+ field: NoteTimeseriesExprField.Raw;
13
+ }
14
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.NoteTimeseriesExpr = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const NoteTimeseriesExprField_1 = require("./NoteTimeseriesExprField");
32
+ exports.NoteTimeseriesExpr = core.serialization.object({
33
+ timeseries: core.serialization.stringLiteral("note"),
34
+ field: NoteTimeseriesExprField_1.NoteTimeseriesExprField,
35
+ });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vital from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const NoteTimeseriesExprField: core.serialization.Schema<serializers.NoteTimeseriesExprField.Raw, Vital.NoteTimeseriesExprField>;
8
+ export declare namespace NoteTimeseriesExprField {
9
+ type Raw = "source_provider" | "source_type" | "source_app_id" | "source_workout_id" | "source_sport" | "timezone_offset" | "type" | "tags" | "content";
10
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.NoteTimeseriesExprField = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.NoteTimeseriesExprField = core.serialization.enum_([
32
+ "source_provider",
33
+ "source_type",
34
+ "source_app_id",
35
+ "source_workout_id",
36
+ "source_sport",
37
+ "timezone_offset",
38
+ "type",
39
+ "tags",
40
+ "content",
41
+ ]);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vital from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const PriorityResource: core.serialization.Schema<serializers.PriorityResource.Raw, Vital.PriorityResource>;
8
+ export declare namespace PriorityResource {
9
+ type Raw = "workouts" | "activity" | "sleep" | "body" | "timeseries";
10
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.PriorityResource = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.PriorityResource = core.serialization.enum_(["workouts", "activity", "sleep", "body", "timeseries"]);
@@ -11,6 +11,5 @@ export declare namespace Query {
11
11
  interface Raw {
12
12
  select: QuerySelectItem.Raw[];
13
13
  group_by?: QueryGroupByItem.Raw[] | null;
14
- split_by_source?: boolean | null;
15
14
  }
16
15
  }
@@ -33,5 +33,4 @@ const QueryGroupByItem_1 = require("./QueryGroupByItem");
33
33
  exports.Query = core.serialization.object({
34
34
  select: core.serialization.list(QuerySelectItem_1.QuerySelectItem),
35
35
  groupBy: core.serialization.property("group_by", core.serialization.list(QueryGroupByItem_1.QueryGroupByItem).optional()),
36
- splitBySource: core.serialization.property("split_by_source", core.serialization.boolean().optional()),
37
36
  });