@tryvital/vital-node 3.1.288 → 3.1.290

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 (234) 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/testkit/client/Client.js +2 -2
  21. package/api/resources/user/client/Client.js +16 -16
  22. package/api/resources/vitals/client/Client.js +78 -78
  23. package/api/resources/workouts/client/Client.js +3 -3
  24. package/api/types/AggregateExprArg.d.ts +1 -1
  25. package/api/types/BloodPressureTimeseriesExprField.d.ts +2 -1
  26. package/api/types/BloodPressureTimeseriesExprField.js +1 -0
  27. package/api/types/ClientFacingAppointment.d.ts +1 -0
  28. package/api/types/ClientFacingElectrocardiogramSourceType.d.ts +2 -1
  29. package/api/types/ClientFacingElectrocardiogramSourceType.js +1 -0
  30. package/api/types/ClientFacingMenstrualCycleSourceType.d.ts +2 -1
  31. package/api/types/ClientFacingMenstrualCycleSourceType.js +1 -0
  32. package/api/types/ClientFacingSleepCycleSourceType.d.ts +2 -1
  33. package/api/types/ClientFacingSleepCycleSourceType.js +1 -0
  34. package/api/types/DiscreteTimeseriesExprField.d.ts +2 -1
  35. package/api/types/DiscreteTimeseriesExprField.js +1 -0
  36. package/api/types/IntervalTimeseriesExprField.d.ts +2 -1
  37. package/api/types/IntervalTimeseriesExprField.js +1 -0
  38. package/api/types/MealColumnExpr.d.ts +8 -0
  39. package/api/types/MealColumnExpr.js +5 -0
  40. package/api/types/MealColumnExprMeal.d.ts +56 -0
  41. package/api/types/MealColumnExprMeal.js +55 -0
  42. package/api/types/NoteTimeseriesExprField.d.ts +2 -1
  43. package/api/types/NoteTimeseriesExprField.js +1 -0
  44. package/api/types/OrderLowLevelStatus.d.ts +2 -1
  45. package/api/types/OrderLowLevelStatus.js +1 -0
  46. package/api/types/OrderStatus.d.ts +2 -1
  47. package/api/types/OrderStatus.js +1 -0
  48. package/api/types/Query.d.ts +0 -1
  49. package/api/types/QueryGroupByItem.d.ts +1 -1
  50. package/api/types/QuerySelectItem.d.ts +1 -1
  51. package/api/types/SimulationFlags.d.ts +8 -0
  52. package/api/types/SimulationFlags.js +5 -0
  53. package/api/types/SourceColumnExpr.d.ts +7 -0
  54. package/api/types/SourceColumnExpr.js +5 -0
  55. package/api/types/SourceColumnExprSource.d.ts +11 -0
  56. package/api/types/SourceColumnExprSource.js +13 -0
  57. package/api/types/TemperatureTimeseriesExprField.d.ts +2 -1
  58. package/api/types/TemperatureTimeseriesExprField.js +1 -0
  59. package/api/types/WorkoutColumnExprWorkout.d.ts +2 -2
  60. package/api/types/WorkoutColumnExprWorkout.js +1 -1
  61. package/api/types/WorkoutDurationTimeseriesExprField.d.ts +2 -1
  62. package/api/types/WorkoutDurationTimeseriesExprField.js +1 -0
  63. package/api/types/index.d.ts +5 -0
  64. package/api/types/index.js +5 -0
  65. package/dist/api/resources/activity/client/Client.js +2 -2
  66. package/dist/api/resources/aggregate/client/Client.js +3 -3
  67. package/dist/api/resources/body/client/Client.js +2 -2
  68. package/dist/api/resources/devices/client/Client.js +1 -1
  69. package/dist/api/resources/electrocardiogram/client/Client.js +1 -1
  70. package/dist/api/resources/insurance/client/Client.js +3 -3
  71. package/dist/api/resources/introspect/client/Client.js +2 -2
  72. package/dist/api/resources/labTests/client/Client.d.ts +3 -3
  73. package/dist/api/resources/labTests/client/Client.js +50 -45
  74. package/dist/api/resources/labTests/client/requests/LabTestsSimulateOrderProcessRequest.d.ts +4 -1
  75. package/dist/api/resources/link/client/Client.js +19 -19
  76. package/dist/api/resources/meal/client/Client.js +1 -1
  77. package/dist/api/resources/menstrualCycle/client/Client.js +1 -1
  78. package/dist/api/resources/order/client/Client.js +1 -1
  79. package/dist/api/resources/profile/client/Client.js +2 -2
  80. package/dist/api/resources/providers/client/Client.js +1 -1
  81. package/dist/api/resources/sleep/client/Client.js +4 -4
  82. package/dist/api/resources/sleepCycle/client/Client.js +1 -1
  83. package/dist/api/resources/team/client/Client.js +7 -7
  84. package/dist/api/resources/testkit/client/Client.js +2 -2
  85. package/dist/api/resources/user/client/Client.js +16 -16
  86. package/dist/api/resources/vitals/client/Client.js +78 -78
  87. package/dist/api/resources/workouts/client/Client.js +3 -3
  88. package/dist/api/types/AggregateExprArg.d.ts +1 -1
  89. package/dist/api/types/BloodPressureTimeseriesExprField.d.ts +2 -1
  90. package/dist/api/types/BloodPressureTimeseriesExprField.js +1 -0
  91. package/dist/api/types/ClientFacingAppointment.d.ts +1 -0
  92. package/dist/api/types/ClientFacingElectrocardiogramSourceType.d.ts +2 -1
  93. package/dist/api/types/ClientFacingElectrocardiogramSourceType.js +1 -0
  94. package/dist/api/types/ClientFacingMenstrualCycleSourceType.d.ts +2 -1
  95. package/dist/api/types/ClientFacingMenstrualCycleSourceType.js +1 -0
  96. package/dist/api/types/ClientFacingSleepCycleSourceType.d.ts +2 -1
  97. package/dist/api/types/ClientFacingSleepCycleSourceType.js +1 -0
  98. package/dist/api/types/DiscreteTimeseriesExprField.d.ts +2 -1
  99. package/dist/api/types/DiscreteTimeseriesExprField.js +1 -0
  100. package/dist/api/types/IntervalTimeseriesExprField.d.ts +2 -1
  101. package/dist/api/types/IntervalTimeseriesExprField.js +1 -0
  102. package/dist/api/types/MealColumnExpr.d.ts +8 -0
  103. package/dist/api/types/MealColumnExpr.js +5 -0
  104. package/dist/api/types/MealColumnExprMeal.d.ts +56 -0
  105. package/dist/api/types/MealColumnExprMeal.js +55 -0
  106. package/dist/api/types/NoteTimeseriesExprField.d.ts +2 -1
  107. package/dist/api/types/NoteTimeseriesExprField.js +1 -0
  108. package/dist/api/types/OrderLowLevelStatus.d.ts +2 -1
  109. package/dist/api/types/OrderLowLevelStatus.js +1 -0
  110. package/dist/api/types/OrderStatus.d.ts +2 -1
  111. package/dist/api/types/OrderStatus.js +1 -0
  112. package/dist/api/types/Query.d.ts +0 -1
  113. package/dist/api/types/QueryGroupByItem.d.ts +1 -1
  114. package/dist/api/types/QuerySelectItem.d.ts +1 -1
  115. package/dist/api/types/SimulationFlags.d.ts +8 -0
  116. package/dist/api/types/SimulationFlags.js +5 -0
  117. package/dist/api/types/SourceColumnExpr.d.ts +7 -0
  118. package/dist/api/types/SourceColumnExpr.js +5 -0
  119. package/dist/api/types/SourceColumnExprSource.d.ts +11 -0
  120. package/dist/api/types/SourceColumnExprSource.js +13 -0
  121. package/dist/api/types/TemperatureTimeseriesExprField.d.ts +2 -1
  122. package/dist/api/types/TemperatureTimeseriesExprField.js +1 -0
  123. package/dist/api/types/WorkoutColumnExprWorkout.d.ts +2 -2
  124. package/dist/api/types/WorkoutColumnExprWorkout.js +1 -1
  125. package/dist/api/types/WorkoutDurationTimeseriesExprField.d.ts +2 -1
  126. package/dist/api/types/WorkoutDurationTimeseriesExprField.js +1 -0
  127. package/dist/api/types/index.d.ts +5 -0
  128. package/dist/api/types/index.js +5 -0
  129. package/dist/serialization/resources/labTests/client/index.d.ts +1 -0
  130. package/dist/serialization/resources/labTests/client/index.js +2 -1
  131. package/dist/serialization/resources/labTests/client/simulateOrderProcess.d.ts +11 -0
  132. package/dist/serialization/resources/labTests/client/simulateOrderProcess.js +8 -0
  133. package/dist/serialization/types/AggregateExprArg.d.ts +3 -2
  134. package/dist/serialization/types/AggregateExprArg.js +4 -2
  135. package/dist/serialization/types/BloodPressureTimeseriesExprField.d.ts +1 -1
  136. package/dist/serialization/types/BloodPressureTimeseriesExprField.js +1 -0
  137. package/dist/serialization/types/ClientFacingAppointment.d.ts +1 -0
  138. package/dist/serialization/types/ClientFacingAppointment.js +1 -0
  139. package/dist/serialization/types/ClientFacingElectrocardiogramSourceType.d.ts +1 -1
  140. package/dist/serialization/types/ClientFacingElectrocardiogramSourceType.js +1 -0
  141. package/dist/serialization/types/ClientFacingMenstrualCycleSourceType.d.ts +1 -1
  142. package/dist/serialization/types/ClientFacingMenstrualCycleSourceType.js +1 -0
  143. package/dist/serialization/types/ClientFacingSleepCycleSourceType.d.ts +1 -1
  144. package/dist/serialization/types/ClientFacingSleepCycleSourceType.js +1 -0
  145. package/dist/serialization/types/DiscreteTimeseriesExprField.d.ts +1 -1
  146. package/dist/serialization/types/DiscreteTimeseriesExprField.js +1 -0
  147. package/dist/serialization/types/IntervalTimeseriesExprField.d.ts +1 -1
  148. package/dist/serialization/types/IntervalTimeseriesExprField.js +1 -0
  149. package/dist/serialization/types/MealColumnExpr.d.ts +13 -0
  150. package/dist/serialization/types/MealColumnExpr.js +34 -0
  151. package/dist/serialization/types/MealColumnExprMeal.d.ts +10 -0
  152. package/dist/serialization/types/MealColumnExprMeal.js +79 -0
  153. package/dist/serialization/types/NoteTimeseriesExprField.d.ts +1 -1
  154. package/dist/serialization/types/NoteTimeseriesExprField.js +1 -0
  155. package/dist/serialization/types/OrderLowLevelStatus.d.ts +1 -1
  156. package/dist/serialization/types/OrderLowLevelStatus.js +1 -0
  157. package/dist/serialization/types/OrderStatus.d.ts +1 -1
  158. package/dist/serialization/types/OrderStatus.js +1 -0
  159. package/dist/serialization/types/Query.d.ts +0 -1
  160. package/dist/serialization/types/Query.js +0 -1
  161. package/dist/serialization/types/QueryGroupByItem.d.ts +16 -1
  162. package/dist/serialization/types/QueryGroupByItem.js +34 -1
  163. package/dist/serialization/types/QuerySelectItem.d.ts +4 -2
  164. package/dist/serialization/types/QuerySelectItem.js +6 -2
  165. package/dist/serialization/types/SimulationFlags.d.ts +15 -0
  166. package/dist/serialization/types/SimulationFlags.js +36 -0
  167. package/dist/serialization/types/SourceColumnExpr.d.ts +13 -0
  168. package/dist/serialization/types/SourceColumnExpr.js +34 -0
  169. package/dist/serialization/types/SourceColumnExprSource.d.ts +10 -0
  170. package/dist/serialization/types/SourceColumnExprSource.js +31 -0
  171. package/dist/serialization/types/TemperatureTimeseriesExprField.d.ts +1 -1
  172. package/dist/serialization/types/TemperatureTimeseriesExprField.js +1 -0
  173. package/dist/serialization/types/WorkoutColumnExprWorkout.d.ts +1 -1
  174. package/dist/serialization/types/WorkoutColumnExprWorkout.js +1 -1
  175. package/dist/serialization/types/WorkoutDurationTimeseriesExprField.d.ts +1 -1
  176. package/dist/serialization/types/WorkoutDurationTimeseriesExprField.js +1 -0
  177. package/dist/serialization/types/index.d.ts +5 -0
  178. package/dist/serialization/types/index.js +5 -0
  179. package/dist/version.d.ts +1 -1
  180. package/dist/version.js +1 -1
  181. package/package.json +1 -1
  182. package/reference.md +3 -16
  183. package/serialization/resources/labTests/client/index.d.ts +1 -0
  184. package/serialization/resources/labTests/client/index.js +2 -1
  185. package/serialization/resources/labTests/client/simulateOrderProcess.d.ts +11 -0
  186. package/serialization/resources/labTests/client/simulateOrderProcess.js +8 -0
  187. package/serialization/types/AggregateExprArg.d.ts +3 -2
  188. package/serialization/types/AggregateExprArg.js +4 -2
  189. package/serialization/types/BloodPressureTimeseriesExprField.d.ts +1 -1
  190. package/serialization/types/BloodPressureTimeseriesExprField.js +1 -0
  191. package/serialization/types/ClientFacingAppointment.d.ts +1 -0
  192. package/serialization/types/ClientFacingAppointment.js +1 -0
  193. package/serialization/types/ClientFacingElectrocardiogramSourceType.d.ts +1 -1
  194. package/serialization/types/ClientFacingElectrocardiogramSourceType.js +1 -0
  195. package/serialization/types/ClientFacingMenstrualCycleSourceType.d.ts +1 -1
  196. package/serialization/types/ClientFacingMenstrualCycleSourceType.js +1 -0
  197. package/serialization/types/ClientFacingSleepCycleSourceType.d.ts +1 -1
  198. package/serialization/types/ClientFacingSleepCycleSourceType.js +1 -0
  199. package/serialization/types/DiscreteTimeseriesExprField.d.ts +1 -1
  200. package/serialization/types/DiscreteTimeseriesExprField.js +1 -0
  201. package/serialization/types/IntervalTimeseriesExprField.d.ts +1 -1
  202. package/serialization/types/IntervalTimeseriesExprField.js +1 -0
  203. package/serialization/types/MealColumnExpr.d.ts +13 -0
  204. package/serialization/types/MealColumnExpr.js +34 -0
  205. package/serialization/types/MealColumnExprMeal.d.ts +10 -0
  206. package/serialization/types/MealColumnExprMeal.js +79 -0
  207. package/serialization/types/NoteTimeseriesExprField.d.ts +1 -1
  208. package/serialization/types/NoteTimeseriesExprField.js +1 -0
  209. package/serialization/types/OrderLowLevelStatus.d.ts +1 -1
  210. package/serialization/types/OrderLowLevelStatus.js +1 -0
  211. package/serialization/types/OrderStatus.d.ts +1 -1
  212. package/serialization/types/OrderStatus.js +1 -0
  213. package/serialization/types/Query.d.ts +0 -1
  214. package/serialization/types/Query.js +0 -1
  215. package/serialization/types/QueryGroupByItem.d.ts +16 -1
  216. package/serialization/types/QueryGroupByItem.js +34 -1
  217. package/serialization/types/QuerySelectItem.d.ts +4 -2
  218. package/serialization/types/QuerySelectItem.js +6 -2
  219. package/serialization/types/SimulationFlags.d.ts +15 -0
  220. package/serialization/types/SimulationFlags.js +36 -0
  221. package/serialization/types/SourceColumnExpr.d.ts +13 -0
  222. package/serialization/types/SourceColumnExpr.js +34 -0
  223. package/serialization/types/SourceColumnExprSource.d.ts +10 -0
  224. package/serialization/types/SourceColumnExprSource.js +31 -0
  225. package/serialization/types/TemperatureTimeseriesExprField.d.ts +1 -1
  226. package/serialization/types/TemperatureTimeseriesExprField.js +1 -0
  227. package/serialization/types/WorkoutColumnExprWorkout.d.ts +1 -1
  228. package/serialization/types/WorkoutColumnExprWorkout.js +1 -1
  229. package/serialization/types/WorkoutDurationTimeseriesExprField.d.ts +1 -1
  230. package/serialization/types/WorkoutDurationTimeseriesExprField.js +1 -0
  231. package/serialization/types/index.d.ts +5 -0
  232. package/serialization/types/index.js +5 -0
  233. package/version.d.ts +1 -1
  234. package/version.js +1 -1
@@ -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.288", "User-Agent": "@tryvital/vital-node/3.1.288", "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.290", "User-Agent": "@tryvital/vital-node/3.1.290", "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.288", "User-Agent": "@tryvital/vital-node/3.1.288", "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.290", "User-Agent": "@tryvital/vital-node/3.1.290", "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.288", "User-Agent": "@tryvital/vital-node/3.1.288", "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.290", "User-Agent": "@tryvital/vital-node/3.1.290", "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,
@@ -2,4 +2,4 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vital from "../index";
5
- export declare type AggregateExprArg = Vital.SleepColumnExpr | Vital.ActivityColumnExpr | Vital.WorkoutColumnExpr | Vital.BodyColumnExpr | Vital.IndexColumnExpr | Vital.SleepScoreValueMacroExpr | Vital.ChronotypeValueMacroExpr | Vital.UnrecognizedValueMacroExpr | Vital.DiscreteTimeseriesExpr | Vital.IntervalTimeseriesExpr | Vital.BloodPressureTimeseriesExpr | Vital.TemperatureTimeseriesExpr | Vital.WorkoutDurationTimeseriesExpr | Vital.NoteTimeseriesExpr;
5
+ export declare type AggregateExprArg = Vital.SleepColumnExpr | Vital.ActivityColumnExpr | Vital.WorkoutColumnExpr | Vital.BodyColumnExpr | Vital.MealColumnExpr | Vital.SleepScoreValueMacroExpr | Vital.ChronotypeValueMacroExpr | Vital.UnrecognizedValueMacroExpr | Vital.DiscreteTimeseriesExpr | Vital.IntervalTimeseriesExpr | Vital.BloodPressureTimeseriesExpr | Vital.TemperatureTimeseriesExpr | Vital.WorkoutDurationTimeseriesExpr | Vital.NoteTimeseriesExpr | Vital.IndexColumnExpr;
@@ -1,10 +1,11 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export declare type BloodPressureTimeseriesExprField = "source_provider" | "source_type" | "source_workout_id" | "source_sport" | "timezone_offset" | "type" | "systolic" | "diastolic";
4
+ export declare type BloodPressureTimeseriesExprField = "source_provider" | "source_type" | "source_app_id" | "source_workout_id" | "source_sport" | "timezone_offset" | "type" | "systolic" | "diastolic";
5
5
  export declare const BloodPressureTimeseriesExprField: {
6
6
  readonly SourceProvider: "source_provider";
7
7
  readonly SourceType: "source_type";
8
+ readonly SourceAppId: "source_app_id";
8
9
  readonly SourceWorkoutId: "source_workout_id";
9
10
  readonly SourceSport: "source_sport";
10
11
  readonly TimezoneOffset: "timezone_offset";
@@ -7,6 +7,7 @@ exports.BloodPressureTimeseriesExprField = void 0;
7
7
  exports.BloodPressureTimeseriesExprField = {
8
8
  SourceProvider: "source_provider",
9
9
  SourceType: "source_type",
10
+ SourceAppId: "source_app_id",
10
11
  SourceWorkoutId: "source_workout_id",
11
12
  SourceSport: "source_sport",
12
13
  TimezoneOffset: "timezone_offset",
@@ -17,6 +17,7 @@ export interface ClientFacingAppointment {
17
17
  provider: Vital.AppointmentProvider;
18
18
  status: Vital.AppointmentStatus;
19
19
  providerId: string;
20
+ externalId?: string;
20
21
  canReschedule: boolean;
21
22
  eventStatus: Vital.AppointmentEventStatus;
22
23
  eventData?: Record<string, unknown>;
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * ℹ️ This enum is non-exhaustive.
6
6
  */
7
- export declare type ClientFacingElectrocardiogramSourceType = "unknown" | "phone" | "watch" | "app" | "multiple_sources" | "fingerprick" | "cuff" | "manual_scan" | "automatic" | "scale" | "chest_strap" | "ring" | "lab";
7
+ export declare type ClientFacingElectrocardiogramSourceType = "unknown" | "phone" | "watch" | "app" | "multiple_sources" | "fingerprick" | "cuff" | "manual_scan" | "automatic" | "scale" | "chest_strap" | "ring" | "lab" | "exercise_machine";
8
8
  export declare const ClientFacingElectrocardiogramSourceType: {
9
9
  readonly Unknown: "unknown";
10
10
  readonly Phone: "phone";
@@ -19,4 +19,5 @@ export declare const ClientFacingElectrocardiogramSourceType: {
19
19
  readonly ChestStrap: "chest_strap";
20
20
  readonly Ring: "ring";
21
21
  readonly Lab: "lab";
22
+ readonly ExerciseMachine: "exercise_machine";
22
23
  };
@@ -18,4 +18,5 @@ exports.ClientFacingElectrocardiogramSourceType = {
18
18
  ChestStrap: "chest_strap",
19
19
  Ring: "ring",
20
20
  Lab: "lab",
21
+ ExerciseMachine: "exercise_machine",
21
22
  };
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * ℹ️ This enum is non-exhaustive.
6
6
  */
7
- export declare type ClientFacingMenstrualCycleSourceType = "unknown" | "phone" | "watch" | "app" | "multiple_sources" | "fingerprick" | "cuff" | "manual_scan" | "automatic" | "scale" | "chest_strap" | "ring" | "lab";
7
+ export declare type ClientFacingMenstrualCycleSourceType = "unknown" | "phone" | "watch" | "app" | "multiple_sources" | "fingerprick" | "cuff" | "manual_scan" | "automatic" | "scale" | "chest_strap" | "ring" | "lab" | "exercise_machine";
8
8
  export declare const ClientFacingMenstrualCycleSourceType: {
9
9
  readonly Unknown: "unknown";
10
10
  readonly Phone: "phone";
@@ -19,4 +19,5 @@ export declare const ClientFacingMenstrualCycleSourceType: {
19
19
  readonly ChestStrap: "chest_strap";
20
20
  readonly Ring: "ring";
21
21
  readonly Lab: "lab";
22
+ readonly ExerciseMachine: "exercise_machine";
22
23
  };
@@ -18,4 +18,5 @@ exports.ClientFacingMenstrualCycleSourceType = {
18
18
  ChestStrap: "chest_strap",
19
19
  Ring: "ring",
20
20
  Lab: "lab",
21
+ ExerciseMachine: "exercise_machine",
21
22
  };
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * ℹ️ This enum is non-exhaustive.
6
6
  */
7
- export declare type ClientFacingSleepCycleSourceType = "unknown" | "phone" | "watch" | "app" | "multiple_sources" | "fingerprick" | "cuff" | "manual_scan" | "automatic" | "scale" | "chest_strap" | "ring" | "lab";
7
+ export declare type ClientFacingSleepCycleSourceType = "unknown" | "phone" | "watch" | "app" | "multiple_sources" | "fingerprick" | "cuff" | "manual_scan" | "automatic" | "scale" | "chest_strap" | "ring" | "lab" | "exercise_machine";
8
8
  export declare const ClientFacingSleepCycleSourceType: {
9
9
  readonly Unknown: "unknown";
10
10
  readonly Phone: "phone";
@@ -19,4 +19,5 @@ export declare const ClientFacingSleepCycleSourceType: {
19
19
  readonly ChestStrap: "chest_strap";
20
20
  readonly Ring: "ring";
21
21
  readonly Lab: "lab";
22
+ readonly ExerciseMachine: "exercise_machine";
22
23
  };
@@ -18,4 +18,5 @@ exports.ClientFacingSleepCycleSourceType = {
18
18
  ChestStrap: "chest_strap",
19
19
  Ring: "ring",
20
20
  Lab: "lab",
21
+ ExerciseMachine: "exercise_machine",
21
22
  };
@@ -1,10 +1,11 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export declare type DiscreteTimeseriesExprField = "source_provider" | "source_type" | "source_workout_id" | "source_sport" | "timezone_offset" | "type" | "value";
4
+ export declare type DiscreteTimeseriesExprField = "source_provider" | "source_type" | "source_app_id" | "source_workout_id" | "source_sport" | "timezone_offset" | "type" | "value";
5
5
  export declare const DiscreteTimeseriesExprField: {
6
6
  readonly SourceProvider: "source_provider";
7
7
  readonly SourceType: "source_type";
8
+ readonly SourceAppId: "source_app_id";
8
9
  readonly SourceWorkoutId: "source_workout_id";
9
10
  readonly SourceSport: "source_sport";
10
11
  readonly TimezoneOffset: "timezone_offset";
@@ -7,6 +7,7 @@ exports.DiscreteTimeseriesExprField = void 0;
7
7
  exports.DiscreteTimeseriesExprField = {
8
8
  SourceProvider: "source_provider",
9
9
  SourceType: "source_type",
10
+ SourceAppId: "source_app_id",
10
11
  SourceWorkoutId: "source_workout_id",
11
12
  SourceSport: "source_sport",
12
13
  TimezoneOffset: "timezone_offset",
@@ -1,10 +1,11 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export declare type IntervalTimeseriesExprField = "source_provider" | "source_type" | "source_workout_id" | "source_sport" | "timezone_offset" | "type" | "duration" | "value";
4
+ export declare type IntervalTimeseriesExprField = "source_provider" | "source_type" | "source_app_id" | "source_workout_id" | "source_sport" | "timezone_offset" | "type" | "duration" | "value";
5
5
  export declare const IntervalTimeseriesExprField: {
6
6
  readonly SourceProvider: "source_provider";
7
7
  readonly SourceType: "source_type";
8
+ readonly SourceAppId: "source_app_id";
8
9
  readonly SourceWorkoutId: "source_workout_id";
9
10
  readonly SourceSport: "source_sport";
10
11
  readonly TimezoneOffset: "timezone_offset";
@@ -7,6 +7,7 @@ exports.IntervalTimeseriesExprField = void 0;
7
7
  exports.IntervalTimeseriesExprField = {
8
8
  SourceProvider: "source_provider",
9
9
  SourceType: "source_type",
10
+ SourceAppId: "source_app_id",
10
11
  SourceWorkoutId: "source_workout_id",
11
12
  SourceSport: "source_sport",
12
13
  TimezoneOffset: "timezone_offset",
@@ -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 MealColumnExpr {
6
+ /** ℹ️ This enum is non-exhaustive. */
7
+ meal: Vital.MealColumnExprMeal;
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,56 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * ℹ️ This enum is non-exhaustive.
6
+ */
7
+ export declare type MealColumnExprMeal = "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";
8
+ export declare const MealColumnExprMeal: {
9
+ readonly Calories: "calories";
10
+ readonly CarbohydrateGram: "carbohydrate_gram";
11
+ readonly ProteinGram: "protein_gram";
12
+ readonly AlcoholGram: "alcohol_gram";
13
+ readonly WaterGram: "water_gram";
14
+ readonly FibreGram: "fibre_gram";
15
+ readonly SugarGram: "sugar_gram";
16
+ readonly CholesterolGram: "cholesterol_gram";
17
+ readonly SaturatedFatGram: "saturated_fat_gram";
18
+ readonly MonounsaturatedFatGram: "monounsaturated_fat_gram";
19
+ readonly PolyunsaturatedFatGram: "polyunsaturated_fat_gram";
20
+ readonly Omega3FatGram: "omega3_fat_gram";
21
+ readonly Omega6FatGram: "omega6_fat_gram";
22
+ readonly TotalFatGram: "total_fat_gram";
23
+ readonly SodiumMilligram: "sodium_milligram";
24
+ readonly PotassiumMilligram: "potassium_milligram";
25
+ readonly CalciumMilligram: "calcium_milligram";
26
+ readonly PhosphorusMilligram: "phosphorus_milligram";
27
+ readonly MagnesiumMilligram: "magnesium_milligram";
28
+ readonly IronMilligram: "iron_milligram";
29
+ readonly ZincMilligram: "zinc_milligram";
30
+ readonly FluorideMilligram: "fluoride_milligram";
31
+ readonly ChlorideMilligram: "chloride_milligram";
32
+ readonly VitaminAMilligram: "vitamin_a_milligram";
33
+ readonly VitaminB1Milligram: "vitamin_b1_milligram";
34
+ readonly RiboflavinMilligram: "riboflavin_milligram";
35
+ readonly NiacinMilligram: "niacin_milligram";
36
+ readonly PantothenicAcidMilligram: "pantothenic_acid_milligram";
37
+ readonly VitaminB6Milligram: "vitamin_b6_milligram";
38
+ readonly BiotinMicrogram: "biotin_microgram";
39
+ readonly VitaminB12Microgram: "vitamin_b12_microgram";
40
+ readonly VitaminCMilligram: "vitamin_c_milligram";
41
+ readonly VitaminDMicrogram: "vitamin_d_microgram";
42
+ readonly VitaminEMilligram: "vitamin_e_milligram";
43
+ readonly VitaminKMicrogram: "vitamin_k_microgram";
44
+ readonly FolicAcidMicrogram: "folic_acid_microgram";
45
+ readonly ChromiumMicrogram: "chromium_microgram";
46
+ readonly CopperMilligram: "copper_milligram";
47
+ readonly IodineMicrogram: "iodine_microgram";
48
+ readonly ManganeseMilligram: "manganese_milligram";
49
+ readonly MolybdenumMicrogram: "molybdenum_microgram";
50
+ readonly SeleniumMicrogram: "selenium_microgram";
51
+ readonly Date: "date";
52
+ readonly Name: "name";
53
+ readonly SourceType: "source_type";
54
+ readonly SourceProvider: "source_provider";
55
+ readonly SourceAppId: "source_app_id";
56
+ };
@@ -0,0 +1,55 @@
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.MealColumnExprMeal = void 0;
7
+ exports.MealColumnExprMeal = {
8
+ Calories: "calories",
9
+ CarbohydrateGram: "carbohydrate_gram",
10
+ ProteinGram: "protein_gram",
11
+ AlcoholGram: "alcohol_gram",
12
+ WaterGram: "water_gram",
13
+ FibreGram: "fibre_gram",
14
+ SugarGram: "sugar_gram",
15
+ CholesterolGram: "cholesterol_gram",
16
+ SaturatedFatGram: "saturated_fat_gram",
17
+ MonounsaturatedFatGram: "monounsaturated_fat_gram",
18
+ PolyunsaturatedFatGram: "polyunsaturated_fat_gram",
19
+ Omega3FatGram: "omega3_fat_gram",
20
+ Omega6FatGram: "omega6_fat_gram",
21
+ TotalFatGram: "total_fat_gram",
22
+ SodiumMilligram: "sodium_milligram",
23
+ PotassiumMilligram: "potassium_milligram",
24
+ CalciumMilligram: "calcium_milligram",
25
+ PhosphorusMilligram: "phosphorus_milligram",
26
+ MagnesiumMilligram: "magnesium_milligram",
27
+ IronMilligram: "iron_milligram",
28
+ ZincMilligram: "zinc_milligram",
29
+ FluorideMilligram: "fluoride_milligram",
30
+ ChlorideMilligram: "chloride_milligram",
31
+ VitaminAMilligram: "vitamin_a_milligram",
32
+ VitaminB1Milligram: "vitamin_b1_milligram",
33
+ RiboflavinMilligram: "riboflavin_milligram",
34
+ NiacinMilligram: "niacin_milligram",
35
+ PantothenicAcidMilligram: "pantothenic_acid_milligram",
36
+ VitaminB6Milligram: "vitamin_b6_milligram",
37
+ BiotinMicrogram: "biotin_microgram",
38
+ VitaminB12Microgram: "vitamin_b12_microgram",
39
+ VitaminCMilligram: "vitamin_c_milligram",
40
+ VitaminDMicrogram: "vitamin_d_microgram",
41
+ VitaminEMilligram: "vitamin_e_milligram",
42
+ VitaminKMicrogram: "vitamin_k_microgram",
43
+ FolicAcidMicrogram: "folic_acid_microgram",
44
+ ChromiumMicrogram: "chromium_microgram",
45
+ CopperMilligram: "copper_milligram",
46
+ IodineMicrogram: "iodine_microgram",
47
+ ManganeseMilligram: "manganese_milligram",
48
+ MolybdenumMicrogram: "molybdenum_microgram",
49
+ SeleniumMicrogram: "selenium_microgram",
50
+ Date: "date",
51
+ Name: "name",
52
+ SourceType: "source_type",
53
+ SourceProvider: "source_provider",
54
+ SourceAppId: "source_app_id",
55
+ };
@@ -1,10 +1,11 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export declare type NoteTimeseriesExprField = "source_provider" | "source_type" | "source_workout_id" | "source_sport" | "timezone_offset" | "type" | "tags" | "content";
4
+ export declare type NoteTimeseriesExprField = "source_provider" | "source_type" | "source_app_id" | "source_workout_id" | "source_sport" | "timezone_offset" | "type" | "tags" | "content";
5
5
  export declare const NoteTimeseriesExprField: {
6
6
  readonly SourceProvider: "source_provider";
7
7
  readonly SourceType: "source_type";
8
+ readonly SourceAppId: "source_app_id";
8
9
  readonly SourceWorkoutId: "source_workout_id";
9
10
  readonly SourceSport: "source_sport";
10
11
  readonly TimezoneOffset: "timezone_offset";
@@ -7,6 +7,7 @@ exports.NoteTimeseriesExprField = void 0;
7
7
  exports.NoteTimeseriesExprField = {
8
8
  SourceProvider: "source_provider",
9
9
  SourceType: "source_type",
10
+ SourceAppId: "source_app_id",
10
11
  SourceWorkoutId: "source_workout_id",
11
12
  SourceSport: "source_sport",
12
13
  TimezoneOffset: "timezone_offset",
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * ℹ️ This enum is non-exhaustive.
6
6
  */
7
- export declare type OrderLowLevelStatus = "ordered" | "requisition_created" | "requisition_bypassed" | "transit_customer" | "out_for_delivery" | "with_customer" | "transit_lab" | "delivered_to_lab" | "completed" | "failure_to_deliver_to_lab" | "failure_to_deliver_to_customer" | "problem_in_transit_lab" | "problem_in_transit_customer" | "sample_error" | "appointment_scheduled" | "appointment_cancelled" | "appointment_pending" | "draw_completed" | "cancelled" | "lost" | "do_not_process" | "partial_results" | "awaiting_registration" | "registered";
7
+ export declare type OrderLowLevelStatus = "ordered" | "requisition_created" | "requisition_bypassed" | "transit_customer" | "out_for_delivery" | "with_customer" | "transit_lab" | "delivered_to_lab" | "completed" | "failure_to_deliver_to_lab" | "failure_to_deliver_to_customer" | "problem_in_transit_lab" | "problem_in_transit_customer" | "sample_error" | "appointment_scheduled" | "appointment_cancelled" | "appointment_pending" | "draw_completed" | "cancelled" | "lost" | "do_not_process" | "partial_results" | "awaiting_registration" | "registered" | "redraw_available";
8
8
  export declare const OrderLowLevelStatus: {
9
9
  readonly Ordered: "ordered";
10
10
  readonly RequisitionCreated: "requisition_created";
@@ -30,4 +30,5 @@ export declare const OrderLowLevelStatus: {
30
30
  readonly PartialResults: "partial_results";
31
31
  readonly AwaitingRegistration: "awaiting_registration";
32
32
  readonly Registered: "registered";
33
+ readonly RedrawAvailable: "redraw_available";
33
34
  };
@@ -29,4 +29,5 @@ exports.OrderLowLevelStatus = {
29
29
  PartialResults: "partial_results",
30
30
  AwaitingRegistration: "awaiting_registration",
31
31
  Registered: "registered",
32
+ RedrawAvailable: "redraw_available",
32
33
  };
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * ℹ️ This enum is non-exhaustive.
6
6
  */
7
- export declare type OrderStatus = "received.walk_in_test.ordered" | "received.walk_in_test.requisition_created" | "received.walk_in_test.requisition_bypassed" | "completed.walk_in_test.completed" | "sample_with_lab.walk_in_test.partial_results" | "failed.walk_in_test.sample_error" | "cancelled.walk_in_test.cancelled" | "collecting_sample.walk_in_test.appointment_pending" | "collecting_sample.walk_in_test.appointment_scheduled" | "collecting_sample.walk_in_test.appointment_cancelled" | "received.at_home_phlebotomy.ordered" | "received.at_home_phlebotomy.requisition_created" | "received.at_home_phlebotomy.requisition_bypassed" | "collecting_sample.at_home_phlebotomy.appointment_pending" | "collecting_sample.at_home_phlebotomy.appointment_scheduled" | "collecting_sample.at_home_phlebotomy.draw_completed" | "collecting_sample.at_home_phlebotomy.appointment_cancelled" | "completed.at_home_phlebotomy.completed" | "sample_with_lab.at_home_phlebotomy.partial_results" | "cancelled.at_home_phlebotomy.cancelled" | "failed.at_home_phlebotomy.sample_error" | "received.testkit.ordered" | "received.testkit.awaiting_registration" | "received.testkit.requisition_created" | "received.testkit.requisition_bypassed" | "received.testkit.registered" | "collecting_sample.testkit.transit_customer" | "collecting_sample.testkit.out_for_delivery" | "collecting_sample.testkit.with_customer" | "collecting_sample.testkit.transit_lab" | "sample_with_lab.testkit.delivered_to_lab" | "completed.testkit.completed" | "failed.testkit.failure_to_deliver_to_customer" | "failed.testkit.failure_to_deliver_to_lab" | "failed.testkit.sample_error" | "failed.testkit.lost" | "cancelled.testkit.cancelled" | "cancelled.testkit.do_not_process" | "collecting_sample.testkit.problem_in_transit_customer" | "collecting_sample.testkit.problem_in_transit_lab" | "received.on_site_collection.ordered" | "received.on_site_collection.requisition_created" | "received.on_site_collection.requisition_bypassed" | "sample_with_lab.on_site_collection.draw_completed" | "completed.on_site_collection.completed" | "cancelled.on_site_collection.cancelled" | "sample_with_lab.on_site_collection.partial_results" | "failed.on_site_collection.sample_error";
7
+ export declare type OrderStatus = "received.walk_in_test.ordered" | "received.walk_in_test.requisition_created" | "received.walk_in_test.requisition_bypassed" | "completed.walk_in_test.completed" | "sample_with_lab.walk_in_test.partial_results" | "failed.walk_in_test.sample_error" | "cancelled.walk_in_test.cancelled" | "collecting_sample.walk_in_test.appointment_pending" | "collecting_sample.walk_in_test.appointment_scheduled" | "collecting_sample.walk_in_test.appointment_cancelled" | "collecting_sample.walk_in_test.redraw_available" | "received.at_home_phlebotomy.ordered" | "received.at_home_phlebotomy.requisition_created" | "received.at_home_phlebotomy.requisition_bypassed" | "collecting_sample.at_home_phlebotomy.appointment_pending" | "collecting_sample.at_home_phlebotomy.appointment_scheduled" | "collecting_sample.at_home_phlebotomy.draw_completed" | "collecting_sample.at_home_phlebotomy.appointment_cancelled" | "completed.at_home_phlebotomy.completed" | "sample_with_lab.at_home_phlebotomy.partial_results" | "cancelled.at_home_phlebotomy.cancelled" | "failed.at_home_phlebotomy.sample_error" | "received.testkit.ordered" | "received.testkit.awaiting_registration" | "received.testkit.requisition_created" | "received.testkit.requisition_bypassed" | "received.testkit.registered" | "collecting_sample.testkit.transit_customer" | "collecting_sample.testkit.out_for_delivery" | "collecting_sample.testkit.with_customer" | "collecting_sample.testkit.transit_lab" | "sample_with_lab.testkit.delivered_to_lab" | "completed.testkit.completed" | "failed.testkit.failure_to_deliver_to_customer" | "failed.testkit.failure_to_deliver_to_lab" | "failed.testkit.sample_error" | "failed.testkit.lost" | "cancelled.testkit.cancelled" | "cancelled.testkit.do_not_process" | "collecting_sample.testkit.problem_in_transit_customer" | "collecting_sample.testkit.problem_in_transit_lab" | "received.on_site_collection.ordered" | "received.on_site_collection.requisition_created" | "received.on_site_collection.requisition_bypassed" | "sample_with_lab.on_site_collection.draw_completed" | "completed.on_site_collection.completed" | "cancelled.on_site_collection.cancelled" | "sample_with_lab.on_site_collection.partial_results" | "failed.on_site_collection.sample_error";
8
8
  export declare const OrderStatus: {
9
9
  readonly ReceivedWalkInTestOrdered: "received.walk_in_test.ordered";
10
10
  readonly ReceivedWalkInTestRequisitionCreated: "received.walk_in_test.requisition_created";
@@ -16,6 +16,7 @@ export declare const OrderStatus: {
16
16
  readonly CollectingSampleWalkInTestAppointmentPending: "collecting_sample.walk_in_test.appointment_pending";
17
17
  readonly CollectingSampleWalkInTestAppointmentScheduled: "collecting_sample.walk_in_test.appointment_scheduled";
18
18
  readonly CollectingSampleWalkInTestAppointmentCancelled: "collecting_sample.walk_in_test.appointment_cancelled";
19
+ readonly CollectingSampleWalkInTestRedrawAvailable: "collecting_sample.walk_in_test.redraw_available";
19
20
  readonly ReceivedAtHomePhlebotomyOrdered: "received.at_home_phlebotomy.ordered";
20
21
  readonly ReceivedAtHomePhlebotomyRequisitionCreated: "received.at_home_phlebotomy.requisition_created";
21
22
  readonly ReceivedAtHomePhlebotomyRequisitionBypassed: "received.at_home_phlebotomy.requisition_bypassed";
@@ -15,6 +15,7 @@ exports.OrderStatus = {
15
15
  CollectingSampleWalkInTestAppointmentPending: "collecting_sample.walk_in_test.appointment_pending",
16
16
  CollectingSampleWalkInTestAppointmentScheduled: "collecting_sample.walk_in_test.appointment_scheduled",
17
17
  CollectingSampleWalkInTestAppointmentCancelled: "collecting_sample.walk_in_test.appointment_cancelled",
18
+ CollectingSampleWalkInTestRedrawAvailable: "collecting_sample.walk_in_test.redraw_available",
18
19
  ReceivedAtHomePhlebotomyOrdered: "received.at_home_phlebotomy.ordered",
19
20
  ReceivedAtHomePhlebotomyRequisitionCreated: "received.at_home_phlebotomy.requisition_created",
20
21
  ReceivedAtHomePhlebotomyRequisitionBypassed: "received.at_home_phlebotomy.requisition_bypassed",
@@ -5,5 +5,4 @@ import * as Vital from "../index";
5
5
  export interface Query {
6
6
  select: Vital.QuerySelectItem[];
7
7
  groupBy?: Vital.QueryGroupByItem[];
8
- splitBySource?: boolean;
9
8
  }
@@ -2,4 +2,4 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vital from "../index";
5
- export declare type QueryGroupByItem = Vital.DateTruncExpr | Vital.DatePartExpr;
5
+ export declare type QueryGroupByItem = Vital.DateTruncExpr | Vital.DatePartExpr | Vital.SleepColumnExpr | Vital.ActivityColumnExpr | Vital.WorkoutColumnExpr | Vital.BodyColumnExpr | Vital.MealColumnExpr | Vital.SleepScoreValueMacroExpr | Vital.ChronotypeValueMacroExpr | Vital.UnrecognizedValueMacroExpr | Vital.DiscreteTimeseriesExpr | Vital.IntervalTimeseriesExpr | Vital.BloodPressureTimeseriesExpr | Vital.TemperatureTimeseriesExpr | Vital.WorkoutDurationTimeseriesExpr | Vital.NoteTimeseriesExpr | Vital.SourceColumnExpr;
@@ -2,4 +2,4 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vital from "../index";
5
- export declare type QuerySelectItem = Vital.AggregateExpr | Vital.GroupKeyColumnExpr | Vital.SleepColumnExpr | Vital.ActivityColumnExpr | Vital.WorkoutColumnExpr | Vital.BodyColumnExpr | Vital.IndexColumnExpr | Vital.SleepScoreValueMacroExpr | Vital.ChronotypeValueMacroExpr | Vital.UnrecognizedValueMacroExpr | Vital.DiscreteTimeseriesExpr | Vital.IntervalTimeseriesExpr | Vital.BloodPressureTimeseriesExpr | Vital.TemperatureTimeseriesExpr | Vital.WorkoutDurationTimeseriesExpr | Vital.NoteTimeseriesExpr;
5
+ export declare type QuerySelectItem = Vital.AggregateExpr | Vital.GroupKeyColumnExpr | Vital.SleepColumnExpr | Vital.ActivityColumnExpr | Vital.WorkoutColumnExpr | Vital.BodyColumnExpr | Vital.MealColumnExpr | Vital.SleepScoreValueMacroExpr | Vital.ChronotypeValueMacroExpr | Vital.UnrecognizedValueMacroExpr | Vital.DiscreteTimeseriesExpr | Vital.IntervalTimeseriesExpr | Vital.BloodPressureTimeseriesExpr | Vital.TemperatureTimeseriesExpr | Vital.WorkoutDurationTimeseriesExpr | Vital.NoteTimeseriesExpr | Vital.IndexColumnExpr | Vital.SourceColumnExpr;
@@ -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 SimulationFlags {
6
+ interpretation?: Vital.Interpretation;
7
+ resultTypes?: Vital.ResultType[];
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,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vital from "../index";
5
+ export interface SourceColumnExpr {
6
+ source: Vital.SourceColumnExprSource;
7
+ }
@@ -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
+ export declare type SourceColumnExprSource = "source_provider" | "source_type" | "source_app_id" | "source_workout_id" | "source_sport";
5
+ export declare const SourceColumnExprSource: {
6
+ readonly SourceProvider: "source_provider";
7
+ readonly SourceType: "source_type";
8
+ readonly SourceAppId: "source_app_id";
9
+ readonly SourceWorkoutId: "source_workout_id";
10
+ readonly SourceSport: "source_sport";
11
+ };
@@ -0,0 +1,13 @@
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.SourceColumnExprSource = void 0;
7
+ exports.SourceColumnExprSource = {
8
+ SourceProvider: "source_provider",
9
+ SourceType: "source_type",
10
+ SourceAppId: "source_app_id",
11
+ SourceWorkoutId: "source_workout_id",
12
+ SourceSport: "source_sport",
13
+ };
@@ -1,10 +1,11 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export declare type TemperatureTimeseriesExprField = "source_provider" | "source_type" | "source_workout_id" | "source_sport" | "timezone_offset" | "type" | "duration" | "value" | "sensor_location";
4
+ export declare type TemperatureTimeseriesExprField = "source_provider" | "source_type" | "source_app_id" | "source_workout_id" | "source_sport" | "timezone_offset" | "type" | "duration" | "value" | "sensor_location";
5
5
  export declare const TemperatureTimeseriesExprField: {
6
6
  readonly SourceProvider: "source_provider";
7
7
  readonly SourceType: "source_type";
8
+ readonly SourceAppId: "source_app_id";
8
9
  readonly SourceWorkoutId: "source_workout_id";
9
10
  readonly SourceSport: "source_sport";
10
11
  readonly TimezoneOffset: "timezone_offset";
@@ -7,6 +7,7 @@ exports.TemperatureTimeseriesExprField = void 0;
7
7
  exports.TemperatureTimeseriesExprField = {
8
8
  SourceProvider: "source_provider",
9
9
  SourceType: "source_type",
10
+ SourceAppId: "source_app_id",
10
11
  SourceWorkoutId: "source_workout_id",
11
12
  SourceSport: "source_sport",
12
13
  TimezoneOffset: "timezone_offset",
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * ℹ️ This enum is non-exhaustive.
6
6
  */
7
- export declare type WorkoutColumnExprWorkout = "session_start" | "session_end" | "title" | "sport_name" | "sport_slug" | "duration_active_second" | "heart_rate_mean" | "heart_rate_minimum" | "heart_rate_maximum" | "heart_rate_zone_1" | "heart_rate_zone_2" | "heart_rate_zone_3" | "heart_rate_zone_4" | "heart_rate_zone_5" | "heart_rate_zone_6" | "distance_meter" | "calories" | "elevation_gain_meter" | "elevation_maximum_meter" | "elevation_minimum_meter" | "speed_mean" | "speed_maximum" | "power_source" | "power_mean" | "power_maximum" | "power_weighted_mean" | "steps" | "map_polyline" | "map_summary_polyline" | "source_type" | "source_provider" | "source_app_id" | "source_workout_id" | "time_zone";
7
+ export declare type WorkoutColumnExprWorkout = "session_start" | "session_end" | "title" | "sport_name" | "sport_slug" | "duration_active_second" | "heart_rate_mean" | "heart_rate_minimum" | "heart_rate_maximum" | "heart_rate_zone_1" | "heart_rate_zone_2" | "heart_rate_zone_3" | "heart_rate_zone_4" | "heart_rate_zone_5" | "heart_rate_zone_6" | "distance_meter" | "calories" | "elevation_gain_meter" | "elevation_maximum_meter" | "elevation_minimum_meter" | "speed_mean" | "speed_maximum" | "power_source" | "power_mean" | "power_maximum" | "power_weighted_mean" | "steps" | "map_polyline" | "map_summary_polyline" | "source_type" | "source_provider" | "source_app_id" | "external_id" | "time_zone";
8
8
  export declare const WorkoutColumnExprWorkout: {
9
9
  readonly SessionStart: "session_start";
10
10
  readonly SessionEnd: "session_end";
@@ -38,6 +38,6 @@ export declare const WorkoutColumnExprWorkout: {
38
38
  readonly SourceType: "source_type";
39
39
  readonly SourceProvider: "source_provider";
40
40
  readonly SourceAppId: "source_app_id";
41
- readonly SourceWorkoutId: "source_workout_id";
41
+ readonly ExternalId: "external_id";
42
42
  readonly TimeZone: "time_zone";
43
43
  };
@@ -37,6 +37,6 @@ exports.WorkoutColumnExprWorkout = {
37
37
  SourceType: "source_type",
38
38
  SourceProvider: "source_provider",
39
39
  SourceAppId: "source_app_id",
40
- SourceWorkoutId: "source_workout_id",
40
+ ExternalId: "external_id",
41
41
  TimeZone: "time_zone",
42
42
  };
@@ -1,10 +1,11 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export declare type WorkoutDurationTimeseriesExprField = "source_provider" | "source_type" | "source_workout_id" | "source_sport" | "timezone_offset" | "type" | "duration" | "value" | "intensity";
4
+ export declare type WorkoutDurationTimeseriesExprField = "source_provider" | "source_type" | "source_app_id" | "source_workout_id" | "source_sport" | "timezone_offset" | "type" | "duration" | "value" | "intensity";
5
5
  export declare const WorkoutDurationTimeseriesExprField: {
6
6
  readonly SourceProvider: "source_provider";
7
7
  readonly SourceType: "source_type";
8
+ readonly SourceAppId: "source_app_id";
8
9
  readonly SourceWorkoutId: "source_workout_id";
9
10
  readonly SourceSport: "source_sport";
10
11
  readonly TimezoneOffset: "timezone_offset";
@@ -7,6 +7,7 @@ exports.WorkoutDurationTimeseriesExprField = void 0;
7
7
  exports.WorkoutDurationTimeseriesExprField = {
8
8
  SourceProvider: "source_provider",
9
9
  SourceType: "source_type",
10
+ SourceAppId: "source_app_id",
10
11
  SourceWorkoutId: "source_workout_id",
11
12
  SourceSport: "source_sport",
12
13
  TimezoneOffset: "timezone_offset",
@@ -267,6 +267,8 @@ export * from "./LngLat";
267
267
  export * from "./Macros";
268
268
  export * from "./ManualProviders";
269
269
  export * from "./MarkerType";
270
+ export * from "./MealColumnExprMeal";
271
+ export * from "./MealColumnExpr";
270
272
  export * from "./MealInDbBaseClientFacingSource";
271
273
  export * from "./MenstrualCycleResponse";
272
274
  export * from "./MenstrualFlowEntryFlow";
@@ -348,6 +350,7 @@ export * from "./SexualActivityEntry";
348
350
  export * from "./SexualOrientation";
349
351
  export * from "./ShippingAddress";
350
352
  export * from "./ShippingAddressWithValidation";
353
+ export * from "./SimulationFlags";
351
354
  export * from "./SingleHistoricalPullStatisticsErrorDetails";
352
355
  export * from "./SingleHistoricalPullStatistics";
353
356
  export * from "./SingleProviderHistoricalPullResponse";
@@ -362,6 +365,8 @@ export * from "./SleepType";
362
365
  export * from "./SleepV2InDb";
363
366
  export * from "./Source";
364
367
  export * from "./SourceAuthType";
368
+ export * from "./SourceColumnExprSource";
369
+ export * from "./SourceColumnExpr";
365
370
  export * from "./SourceLink";
366
371
  export * from "./SourceType";
367
372
  export * from "./TeamConfig";