@tryvital/vital-node 3.1.72 → 3.1.73

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 (255) hide show
  1. package/api/resources/activity/client/Client.js +2 -2
  2. package/api/resources/aggregate/client/Client.d.ts +13 -8
  3. package/api/resources/aggregate/client/Client.js +14 -9
  4. package/api/resources/aggregate/client/requests/Query.d.ts +13 -8
  5. package/api/resources/body/client/Client.js +2 -2
  6. package/api/resources/devices/client/Client.js +1 -1
  7. package/api/resources/insurance/client/Client.js +2 -2
  8. package/api/resources/introspect/client/Client.js +2 -2
  9. package/api/resources/labTests/client/Client.js +27 -27
  10. package/api/resources/link/client/Client.js +14 -14
  11. package/api/resources/meal/client/Client.js +1 -1
  12. package/api/resources/menstrualCycle/client/Client.js +1 -1
  13. package/api/resources/profile/client/Client.js +2 -2
  14. package/api/resources/providers/client/Client.js +1 -1
  15. package/api/resources/sleep/client/Client.js +4 -4
  16. package/api/resources/team/client/Client.js +7 -7
  17. package/api/resources/testkit/client/Client.js +2 -2
  18. package/api/resources/user/client/Client.js +16 -16
  19. package/api/resources/vitals/client/Client.js +56 -56
  20. package/api/resources/workouts/client/Client.js +3 -3
  21. package/api/types/{ActivitySelector.d.ts → ActivityColumnExpr.d.ts} +2 -2
  22. package/{dist/api/types/ActivitySelectorActivity.d.ts → api/types/ActivityColumnExprActivity.d.ts} +2 -2
  23. package/{dist/api/types/ActivitySelectorActivity.js → api/types/ActivityColumnExprActivity.js} +2 -2
  24. package/api/types/AggregateExpr.d.ts +8 -0
  25. package/api/types/AggregateExprArg.d.ts +5 -0
  26. package/api/types/{ReducerFunction.d.ts → AggregateExprFunc.d.ts} +2 -2
  27. package/{dist/api/types/ReducerFunction.js → api/types/AggregateExprFunc.js} +2 -2
  28. package/api/types/DatePartExpr.d.ts +8 -0
  29. package/api/types/DatePartExprArg.d.ts +5 -0
  30. package/api/types/DatePartExprDatePart.d.ts +15 -0
  31. package/{dist/api/types/SwizzlingBinGranularity.js → api/types/DatePartExprDatePart.js} +6 -2
  32. package/api/types/DateTruncExpr.d.ts +8 -0
  33. package/api/types/DateTruncExprArg.d.ts +5 -0
  34. package/api/types/GroupKeyColumnExpr.d.ts +7 -0
  35. package/api/types/GroupKeyColumnExprGroupKey.d.ts +4 -0
  36. package/{dist/api/types/Reducer.d.ts → api/types/IndexColumnExpr.d.ts} +2 -2
  37. package/api/types/IndexColumnExprIndex.d.ts +8 -0
  38. package/api/types/IndexColumnExprIndex.js +10 -0
  39. package/api/types/LabTestSampleType.d.ts +2 -1
  40. package/api/types/LabTestSampleType.js +1 -0
  41. package/api/types/Labs.d.ts +2 -1
  42. package/api/types/Labs.js +1 -0
  43. package/api/types/QueryInstruction.d.ts +2 -4
  44. package/api/types/{QueryInstructionSelect.d.ts → QueryInstructionGroupByItem.d.ts} +1 -1
  45. package/api/types/QueryInstructionSelectItem.d.ts +5 -0
  46. package/api/types/Question.d.ts +1 -0
  47. package/api/types/{SleepSelector.d.ts → SleepColumnExpr.d.ts} +2 -2
  48. package/api/types/SleepColumnExpr.js +5 -0
  49. package/api/types/{SleepSelectorSleep.d.ts → SleepColumnExprSleep.d.ts} +2 -2
  50. package/{dist/api/types/SleepSelectorSleep.js → api/types/SleepColumnExprSleep.js} +2 -2
  51. package/api/types/TimeseriesMetricPoint.d.ts +1 -0
  52. package/api/types/index.d.ts +18 -10
  53. package/api/types/index.js +18 -10
  54. package/dist/api/resources/activity/client/Client.js +2 -2
  55. package/dist/api/resources/aggregate/client/Client.d.ts +13 -8
  56. package/dist/api/resources/aggregate/client/Client.js +14 -9
  57. package/dist/api/resources/aggregate/client/requests/Query.d.ts +13 -8
  58. package/dist/api/resources/body/client/Client.js +2 -2
  59. package/dist/api/resources/devices/client/Client.js +1 -1
  60. package/dist/api/resources/insurance/client/Client.js +2 -2
  61. package/dist/api/resources/introspect/client/Client.js +2 -2
  62. package/dist/api/resources/labTests/client/Client.js +27 -27
  63. package/dist/api/resources/link/client/Client.js +14 -14
  64. package/dist/api/resources/meal/client/Client.js +1 -1
  65. package/dist/api/resources/menstrualCycle/client/Client.js +1 -1
  66. package/dist/api/resources/profile/client/Client.js +2 -2
  67. package/dist/api/resources/providers/client/Client.js +1 -1
  68. package/dist/api/resources/sleep/client/Client.js +4 -4
  69. package/dist/api/resources/team/client/Client.js +7 -7
  70. package/dist/api/resources/testkit/client/Client.js +2 -2
  71. package/dist/api/resources/user/client/Client.js +16 -16
  72. package/dist/api/resources/vitals/client/Client.js +56 -56
  73. package/dist/api/resources/workouts/client/Client.js +3 -3
  74. package/dist/api/types/{ActivitySelector.d.ts → ActivityColumnExpr.d.ts} +2 -2
  75. package/dist/api/types/ActivityColumnExpr.js +5 -0
  76. package/{api/types/ActivitySelectorActivity.d.ts → dist/api/types/ActivityColumnExprActivity.d.ts} +2 -2
  77. package/{api/types/ActivitySelectorActivity.js → dist/api/types/ActivityColumnExprActivity.js} +2 -2
  78. package/dist/api/types/AggregateExpr.d.ts +8 -0
  79. package/dist/api/types/AggregateExpr.js +5 -0
  80. package/dist/api/types/AggregateExprArg.d.ts +5 -0
  81. package/dist/api/types/AggregateExprArg.js +5 -0
  82. package/dist/api/types/{ReducerFunction.d.ts → AggregateExprFunc.d.ts} +2 -2
  83. package/{api/types/ReducerFunction.js → dist/api/types/AggregateExprFunc.js} +2 -2
  84. package/dist/api/types/DatePartExpr.d.ts +8 -0
  85. package/dist/api/types/DatePartExpr.js +5 -0
  86. package/dist/api/types/DatePartExprArg.d.ts +5 -0
  87. package/dist/api/types/DatePartExprArg.js +5 -0
  88. package/dist/api/types/DatePartExprDatePart.d.ts +15 -0
  89. package/{api/types/SwizzlingBinGranularity.js → dist/api/types/DatePartExprDatePart.js} +6 -2
  90. package/dist/api/types/DateTruncExpr.d.ts +8 -0
  91. package/dist/api/types/DateTruncExpr.js +5 -0
  92. package/dist/api/types/DateTruncExprArg.d.ts +5 -0
  93. package/dist/api/types/DateTruncExprArg.js +5 -0
  94. package/dist/api/types/GroupKeyColumnExpr.d.ts +7 -0
  95. package/dist/api/types/GroupKeyColumnExpr.js +5 -0
  96. package/dist/api/types/GroupKeyColumnExprGroupKey.d.ts +4 -0
  97. package/dist/api/types/GroupKeyColumnExprGroupKey.js +5 -0
  98. package/dist/api/types/{SleepSelector.d.ts → IndexColumnExpr.d.ts} +2 -2
  99. package/dist/api/types/IndexColumnExpr.js +5 -0
  100. package/dist/api/types/IndexColumnExprIndex.d.ts +8 -0
  101. package/dist/api/types/IndexColumnExprIndex.js +10 -0
  102. package/dist/api/types/LabTestSampleType.d.ts +2 -1
  103. package/dist/api/types/LabTestSampleType.js +1 -0
  104. package/dist/api/types/Labs.d.ts +2 -1
  105. package/dist/api/types/Labs.js +1 -0
  106. package/dist/api/types/QueryInstruction.d.ts +2 -4
  107. package/{api/types/QueryInstructionPartitionBy.d.ts → dist/api/types/QueryInstructionGroupByItem.d.ts} +1 -1
  108. package/dist/api/types/QueryInstructionGroupByItem.js +5 -0
  109. package/dist/api/types/QueryInstructionSelectItem.d.ts +5 -0
  110. package/dist/api/types/QueryInstructionSelectItem.js +5 -0
  111. package/dist/api/types/Question.d.ts +1 -0
  112. package/{api/types/Reducer.d.ts → dist/api/types/SleepColumnExpr.d.ts} +2 -2
  113. package/dist/api/types/SleepColumnExpr.js +5 -0
  114. package/dist/api/types/{SleepSelectorSleep.d.ts → SleepColumnExprSleep.d.ts} +2 -2
  115. package/{api/types/SleepSelectorSleep.js → dist/api/types/SleepColumnExprSleep.js} +2 -2
  116. package/dist/api/types/TimeseriesMetricPoint.d.ts +1 -0
  117. package/dist/api/types/index.d.ts +18 -10
  118. package/dist/api/types/index.js +18 -10
  119. package/dist/serialization/types/ActivityColumnExpr.d.ts +13 -0
  120. package/dist/serialization/types/{ActivitySelector.js → ActivityColumnExpr.js} +4 -4
  121. package/{serialization/types/ActivitySelectorActivity.d.ts → dist/serialization/types/ActivityColumnExprActivity.d.ts} +2 -2
  122. package/dist/serialization/types/{ActivitySelectorActivity.js → ActivityColumnExprActivity.js} +2 -2
  123. package/dist/serialization/types/AggregateExpr.d.ts +15 -0
  124. package/dist/serialization/types/AggregateExpr.js +36 -0
  125. package/dist/serialization/types/AggregateExprArg.d.ts +14 -0
  126. package/dist/serialization/types/{QueryInstructionSelect.js → AggregateExprArg.js} +6 -4
  127. package/{serialization/types/ReducerFunction.d.ts → dist/serialization/types/AggregateExprFunc.d.ts} +2 -2
  128. package/{serialization/types/ReducerFunction.js → dist/serialization/types/AggregateExprFunc.js} +2 -2
  129. package/dist/serialization/types/DatePartExpr.d.ts +15 -0
  130. package/dist/serialization/types/DatePartExpr.js +36 -0
  131. package/dist/serialization/types/DatePartExprArg.d.ts +12 -0
  132. package/{serialization/types/QueryInstructionPartitionBy.js → dist/serialization/types/DatePartExprArg.js} +3 -3
  133. package/dist/serialization/types/DatePartExprDatePart.d.ts +10 -0
  134. package/dist/serialization/types/DatePartExprDatePart.js +41 -0
  135. package/dist/serialization/types/DateTruncExpr.d.ts +15 -0
  136. package/dist/serialization/types/DateTruncExpr.js +36 -0
  137. package/dist/serialization/types/DateTruncExprArg.d.ts +12 -0
  138. package/dist/serialization/types/DateTruncExprArg.js +33 -0
  139. package/dist/serialization/types/GroupKeyColumnExpr.d.ts +13 -0
  140. package/dist/serialization/types/GroupKeyColumnExpr.js +34 -0
  141. package/dist/serialization/types/GroupKeyColumnExprGroupKey.d.ts +10 -0
  142. package/dist/serialization/types/{Reducer.js → GroupKeyColumnExprGroupKey.js} +2 -5
  143. package/dist/serialization/types/IndexColumnExpr.d.ts +13 -0
  144. package/dist/serialization/types/{SleepSelector.js → IndexColumnExpr.js} +4 -4
  145. package/dist/serialization/types/IndexColumnExprIndex.d.ts +10 -0
  146. package/dist/serialization/types/{SwizzlingBinGranularity.js → IndexColumnExprIndex.js} +2 -2
  147. package/dist/serialization/types/LabTestSampleType.d.ts +1 -1
  148. package/dist/serialization/types/LabTestSampleType.js +1 -1
  149. package/dist/serialization/types/Labs.d.ts +1 -1
  150. package/dist/serialization/types/Labs.js +1 -0
  151. package/dist/serialization/types/QueryInstruction.d.ts +4 -8
  152. package/dist/serialization/types/QueryInstruction.js +4 -8
  153. package/dist/serialization/types/QueryInstructionGroupByItem.d.ts +12 -0
  154. package/dist/serialization/types/QueryInstructionGroupByItem.js +33 -0
  155. package/dist/serialization/types/QueryInstructionSelectItem.d.ts +15 -0
  156. package/dist/serialization/types/QueryInstructionSelectItem.js +42 -0
  157. package/dist/serialization/types/Question.d.ts +1 -0
  158. package/dist/serialization/types/Question.js +1 -0
  159. package/dist/serialization/types/SleepColumnExpr.d.ts +13 -0
  160. package/{serialization/types/SleepSelector.js → dist/serialization/types/SleepColumnExpr.js} +4 -4
  161. package/dist/serialization/types/{SleepSelectorSleep.d.ts → SleepColumnExprSleep.d.ts} +2 -2
  162. package/{serialization/types/SleepSelectorSleep.js → dist/serialization/types/SleepColumnExprSleep.js} +2 -2
  163. package/dist/serialization/types/TimeseriesMetricPoint.d.ts +1 -0
  164. package/dist/serialization/types/TimeseriesMetricPoint.js +1 -0
  165. package/dist/serialization/types/index.d.ts +18 -10
  166. package/dist/serialization/types/index.js +18 -10
  167. package/dist/version.d.ts +1 -1
  168. package/dist/version.js +1 -1
  169. package/package.json +1 -1
  170. package/reference.md +15 -8
  171. package/serialization/types/ActivityColumnExpr.d.ts +13 -0
  172. package/serialization/types/{ActivitySelector.js → ActivityColumnExpr.js} +4 -4
  173. package/{dist/serialization/types/ActivitySelectorActivity.d.ts → serialization/types/ActivityColumnExprActivity.d.ts} +2 -2
  174. package/serialization/types/{ActivitySelectorActivity.js → ActivityColumnExprActivity.js} +2 -2
  175. package/serialization/types/AggregateExpr.d.ts +15 -0
  176. package/serialization/types/AggregateExpr.js +36 -0
  177. package/serialization/types/AggregateExprArg.d.ts +14 -0
  178. package/serialization/types/AggregateExprArg.js +35 -0
  179. package/{dist/serialization/types/ReducerFunction.d.ts → serialization/types/AggregateExprFunc.d.ts} +2 -2
  180. package/{dist/serialization/types/ReducerFunction.js → serialization/types/AggregateExprFunc.js} +2 -2
  181. package/serialization/types/DatePartExpr.d.ts +15 -0
  182. package/serialization/types/DatePartExpr.js +36 -0
  183. package/serialization/types/DatePartExprArg.d.ts +12 -0
  184. package/{dist/serialization/types/QueryInstructionPartitionBy.js → serialization/types/DatePartExprArg.js} +3 -3
  185. package/serialization/types/DatePartExprDatePart.d.ts +10 -0
  186. package/serialization/types/DatePartExprDatePart.js +41 -0
  187. package/serialization/types/DateTruncExpr.d.ts +15 -0
  188. package/serialization/types/DateTruncExpr.js +36 -0
  189. package/serialization/types/DateTruncExprArg.d.ts +12 -0
  190. package/serialization/types/DateTruncExprArg.js +33 -0
  191. package/serialization/types/GroupKeyColumnExpr.d.ts +13 -0
  192. package/serialization/types/GroupKeyColumnExpr.js +34 -0
  193. package/serialization/types/GroupKeyColumnExprGroupKey.d.ts +10 -0
  194. package/serialization/types/{Reducer.js → GroupKeyColumnExprGroupKey.js} +2 -5
  195. package/serialization/types/IndexColumnExpr.d.ts +13 -0
  196. package/serialization/types/IndexColumnExpr.js +34 -0
  197. package/serialization/types/IndexColumnExprIndex.d.ts +10 -0
  198. package/serialization/types/{SwizzlingBinGranularity.js → IndexColumnExprIndex.js} +2 -2
  199. package/serialization/types/LabTestSampleType.d.ts +1 -1
  200. package/serialization/types/LabTestSampleType.js +1 -1
  201. package/serialization/types/Labs.d.ts +1 -1
  202. package/serialization/types/Labs.js +1 -0
  203. package/serialization/types/QueryInstruction.d.ts +4 -8
  204. package/serialization/types/QueryInstruction.js +4 -8
  205. package/serialization/types/QueryInstructionGroupByItem.d.ts +12 -0
  206. package/serialization/types/QueryInstructionGroupByItem.js +33 -0
  207. package/serialization/types/QueryInstructionSelectItem.d.ts +15 -0
  208. package/serialization/types/QueryInstructionSelectItem.js +42 -0
  209. package/serialization/types/Question.d.ts +1 -0
  210. package/serialization/types/Question.js +1 -0
  211. package/serialization/types/SleepColumnExpr.d.ts +13 -0
  212. package/serialization/types/SleepColumnExpr.js +34 -0
  213. package/serialization/types/{SleepSelectorSleep.d.ts → SleepColumnExprSleep.d.ts} +2 -2
  214. package/{dist/serialization/types/SleepSelectorSleep.js → serialization/types/SleepColumnExprSleep.js} +2 -2
  215. package/serialization/types/TimeseriesMetricPoint.d.ts +1 -0
  216. package/serialization/types/TimeseriesMetricPoint.js +1 -0
  217. package/serialization/types/index.d.ts +18 -10
  218. package/serialization/types/index.js +18 -10
  219. package/version.d.ts +1 -1
  220. package/version.js +1 -1
  221. package/api/types/Swizzling.d.ts +0 -36
  222. package/api/types/SwizzlingBinGranularity.d.ts +0 -11
  223. package/dist/api/types/QueryInstructionPartitionBy.d.ts +0 -5
  224. package/dist/api/types/QueryInstructionSelect.d.ts +0 -5
  225. package/dist/api/types/Swizzling.d.ts +0 -36
  226. package/dist/api/types/SwizzlingBinGranularity.d.ts +0 -11
  227. package/dist/serialization/types/ActivitySelector.d.ts +0 -13
  228. package/dist/serialization/types/QueryInstructionPartitionBy.d.ts +0 -12
  229. package/dist/serialization/types/QueryInstructionSelect.d.ts +0 -12
  230. package/dist/serialization/types/Reducer.d.ts +0 -13
  231. package/dist/serialization/types/SleepSelector.d.ts +0 -13
  232. package/dist/serialization/types/Swizzling.d.ts +0 -16
  233. package/dist/serialization/types/Swizzling.js +0 -37
  234. package/dist/serialization/types/SwizzlingBinGranularity.d.ts +0 -10
  235. package/serialization/types/ActivitySelector.d.ts +0 -13
  236. package/serialization/types/QueryInstructionPartitionBy.d.ts +0 -12
  237. package/serialization/types/QueryInstructionSelect.d.ts +0 -12
  238. package/serialization/types/QueryInstructionSelect.js +0 -33
  239. package/serialization/types/Reducer.d.ts +0 -13
  240. package/serialization/types/SleepSelector.d.ts +0 -13
  241. package/serialization/types/Swizzling.d.ts +0 -16
  242. package/serialization/types/Swizzling.js +0 -37
  243. package/serialization/types/SwizzlingBinGranularity.d.ts +0 -10
  244. /package/api/types/{ActivitySelector.js → ActivityColumnExpr.js} +0 -0
  245. /package/api/types/{QueryInstructionPartitionBy.js → AggregateExpr.js} +0 -0
  246. /package/api/types/{QueryInstructionSelect.js → AggregateExprArg.js} +0 -0
  247. /package/api/types/{Reducer.js → DatePartExpr.js} +0 -0
  248. /package/api/types/{SleepSelector.js → DatePartExprArg.js} +0 -0
  249. /package/api/types/{Swizzling.js → DateTruncExpr.js} +0 -0
  250. /package/{dist/api/types/ActivitySelector.js → api/types/DateTruncExprArg.js} +0 -0
  251. /package/{dist/api/types/QueryInstructionPartitionBy.js → api/types/GroupKeyColumnExpr.js} +0 -0
  252. /package/{dist/api/types/QueryInstructionSelect.js → api/types/GroupKeyColumnExprGroupKey.js} +0 -0
  253. /package/{dist/api/types/Reducer.js → api/types/IndexColumnExpr.js} +0 -0
  254. /package/{dist/api/types/SleepSelector.js → api/types/QueryInstructionGroupByItem.js} +0 -0
  255. /package/{dist/api/types/Swizzling.js → api/types/QueryInstructionSelectItem.js} +0 -0
@@ -2,6 +2,6 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vital from "../index";
5
- export interface ActivitySelector {
6
- activity: Vital.ActivitySelectorActivity;
5
+ export interface ActivityColumnExpr {
6
+ activity: Vital.ActivityColumnExprActivity;
7
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 });
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export declare type ActivitySelectorActivity = "date" | "calories_total" | "calories_active" | "steps" | "distance_meter" | "floors_climbed" | "duration_active_second" | "intensity_sedentary_second" | "intensity_low_second" | "intensity_medium_second" | "intensity_high_second" | "heart_rate_mean" | "heart_rate_min" | "heart_rate_max" | "heart_rate_resting" | "source_type" | "source_provider" | "source_app_id";
5
- export declare const ActivitySelectorActivity: {
4
+ export declare type ActivityColumnExprActivity = "date" | "calories_total" | "calories_active" | "steps" | "distance_meter" | "floors_climbed" | "duration_active_second" | "intensity_sedentary_second" | "intensity_low_second" | "intensity_medium_second" | "intensity_high_second" | "heart_rate_mean" | "heart_rate_min" | "heart_rate_max" | "heart_rate_resting" | "source_type" | "source_provider" | "source_app_id";
5
+ export declare const ActivityColumnExprActivity: {
6
6
  readonly Date: "date";
7
7
  readonly CaloriesTotal: "calories_total";
8
8
  readonly CaloriesActive: "calories_active";
@@ -3,8 +3,8 @@
3
3
  * This file was auto-generated by Fern from our API Definition.
4
4
  */
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.ActivitySelectorActivity = void 0;
7
- exports.ActivitySelectorActivity = {
6
+ exports.ActivityColumnExprActivity = void 0;
7
+ exports.ActivityColumnExprActivity = {
8
8
  Date: "date",
9
9
  CaloriesTotal: "calories_total",
10
10
  CaloriesActive: "calories_active",
@@ -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 AggregateExpr {
6
+ arg: Vital.AggregateExprArg;
7
+ func: Vital.AggregateExprFunc;
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,5 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vital from "../index";
5
+ export declare type AggregateExprArg = Vital.SleepColumnExpr | Vital.ActivityColumnExpr | Vital.IndexColumnExpr | Vital.GroupKeyColumnExpr;
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export declare type ReducerFunction = "mean" | "min" | "max" | "sum" | "count" | "median" | "stddev" | "oldest" | "newest";
5
- export declare const ReducerFunction: {
4
+ export declare type AggregateExprFunc = "mean" | "min" | "max" | "sum" | "count" | "median" | "stddev" | "oldest" | "newest";
5
+ export declare const AggregateExprFunc: {
6
6
  readonly Mean: "mean";
7
7
  readonly Min: "min";
8
8
  readonly Max: "max";
@@ -3,8 +3,8 @@
3
3
  * This file was auto-generated by Fern from our API Definition.
4
4
  */
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.ReducerFunction = void 0;
7
- exports.ReducerFunction = {
6
+ exports.AggregateExprFunc = void 0;
7
+ exports.AggregateExprFunc = {
8
8
  Mean: "mean",
9
9
  Min: "min",
10
10
  Max: "max",
@@ -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 DatePartExpr {
6
+ arg: Vital.DatePartExprArg;
7
+ datePart: Vital.DatePartExprDatePart;
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,5 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vital from "../index";
5
+ export declare type DatePartExprArg = Vital.IndexColumnExpr | Vital.Placeholder;
@@ -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,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type DatePartExprDatePart = "minute" | "hour" | "day" | "week" | "month" | "year" | "weekday" | "week_of_year" | "day_of_year";
5
+ export declare const DatePartExprDatePart: {
6
+ readonly Minute: "minute";
7
+ readonly Hour: "hour";
8
+ readonly Day: "day";
9
+ readonly Week: "week";
10
+ readonly Month: "month";
11
+ readonly Year: "year";
12
+ readonly Weekday: "weekday";
13
+ readonly WeekOfYear: "week_of_year";
14
+ readonly DayOfYear: "day_of_year";
15
+ };
@@ -3,11 +3,15 @@
3
3
  * This file was auto-generated by Fern from our API Definition.
4
4
  */
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.SwizzlingBinGranularity = void 0;
7
- exports.SwizzlingBinGranularity = {
6
+ exports.DatePartExprDatePart = void 0;
7
+ exports.DatePartExprDatePart = {
8
8
  Minute: "minute",
9
9
  Hour: "hour",
10
10
  Day: "day",
11
11
  Week: "week",
12
12
  Month: "month",
13
+ Year: "year",
14
+ Weekday: "weekday",
15
+ WeekOfYear: "week_of_year",
16
+ DayOfYear: "day_of_year",
13
17
  };
@@ -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 DateTruncExpr {
6
+ dateTrunc: Vital.Period;
7
+ arg: Vital.DateTruncExprArg;
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,5 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vital from "../index";
5
+ export declare type DateTruncExprArg = Vital.IndexColumnExpr | Vital.Placeholder;
@@ -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 GroupKeyColumnExpr {
6
+ groupKey?: Vital.GroupKeyColumnExprGroupKey;
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,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type GroupKeyColumnExprGroupKey = number | "*";
@@ -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 });
@@ -2,6 +2,6 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vital from "../index";
5
- export interface SleepSelector {
6
- sleep: Vital.SleepSelectorSleep;
5
+ export interface IndexColumnExpr {
6
+ index: Vital.IndexColumnExprIndex;
7
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,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type IndexColumnExprIndex = "sleep" | "activity";
5
+ export declare const IndexColumnExprIndex: {
6
+ readonly Sleep: "sleep";
7
+ readonly Activity: "activity";
8
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.IndexColumnExprIndex = void 0;
7
+ exports.IndexColumnExprIndex = {
8
+ Sleep: "sleep",
9
+ Activity: "activity",
10
+ };
@@ -4,9 +4,10 @@
4
4
  /**
5
5
  * The type of sample used to perform a lab test.
6
6
  */
7
- export declare type LabTestSampleType = "dried_blood_spot" | "serum" | "saliva" | "urine";
7
+ export declare type LabTestSampleType = "dried_blood_spot" | "arm_collector" | "serum" | "saliva" | "urine";
8
8
  export declare const LabTestSampleType: {
9
9
  readonly DriedBloodSpot: "dried_blood_spot";
10
+ readonly ArmCollector: "arm_collector";
10
11
  readonly Serum: "serum";
11
12
  readonly Saliva: "saliva";
12
13
  readonly Urine: "urine";
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.LabTestSampleType = void 0;
7
7
  exports.LabTestSampleType = {
8
8
  DriedBloodSpot: "dried_blood_spot",
9
+ ArmCollector: "arm_collector",
9
10
  Serum: "serum",
10
11
  Saliva: "saliva",
11
12
  Urine: "urine",
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export declare type Labs = "ayumetrix" | "spiriplex" | "ussl" | "quest" | "labcorp" | "bioreference" | "manual";
4
+ export declare type Labs = "ayumetrix" | "spiriplex" | "ussl" | "quest" | "labcorp" | "bioreference" | "manual" | "sanocardio";
5
5
  export declare const Labs: {
6
6
  readonly Ayumetrix: "ayumetrix";
7
7
  readonly Spiriplex: "spiriplex";
@@ -10,4 +10,5 @@ export declare const Labs: {
10
10
  readonly Labcorp: "labcorp";
11
11
  readonly Bioreference: "bioreference";
12
12
  readonly Manual: "manual";
13
+ readonly Sanocardio: "sanocardio";
13
14
  };
@@ -12,4 +12,5 @@ exports.Labs = {
12
12
  Labcorp: "labcorp",
13
13
  Bioreference: "bioreference",
14
14
  Manual: "manual",
15
+ Sanocardio: "sanocardio",
15
16
  };
@@ -3,9 +3,7 @@
3
3
  */
4
4
  import * as Vital from "../index";
5
5
  export interface QueryInstruction {
6
- select: Vital.QueryInstructionSelect;
7
- partitionBy: Vital.QueryInstructionPartitionBy;
8
- swizzleBy?: Vital.Swizzling;
9
- reduceBy: Vital.Reducer[];
6
+ select: Vital.QueryInstructionSelectItem[];
7
+ groupBy: Vital.QueryInstructionGroupByItem[];
10
8
  splitBySource?: boolean;
11
9
  }
@@ -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 QueryInstructionPartitionBy = Vital.Period | Vital.Placeholder;
5
+ export declare type QueryInstructionGroupByItem = Vital.DateTruncExpr | Vital.DatePartExpr;
@@ -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,5 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vital from "../index";
5
+ export declare type QueryInstructionSelectItem = Vital.AggregateExpr | Vital.SleepColumnExpr | Vital.ActivityColumnExpr | Vital.IndexColumnExpr | Vital.GroupKeyColumnExpr;
@@ -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 });
@@ -11,4 +11,5 @@ export interface Question {
11
11
  sequence: number;
12
12
  answers: Vital.Answer[];
13
13
  constraint?: string;
14
+ default?: string;
14
15
  }
@@ -2,6 +2,6 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vital from "../index";
5
- export interface Reducer {
6
- function: Vital.ReducerFunction;
5
+ export interface SleepColumnExpr {
6
+ sleep: Vital.SleepColumnExprSleep;
7
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 });
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export declare type SleepSelectorSleep = "session_start" | "session_end" | "state" | "duration_second" | "stage_asleep_second" | "stage_awake_second" | "stage_light_second" | "stage_rem_second" | "stage_deep_second" | "stage_unknown_second" | "latency_second" | "heart_rate_minimum" | "heart_rate_mean" | "heart_rate_maximum" | "heart_rate_dip" | "efficiency" | "hrv_mean_rmssd" | "hrv_mean_sdnn" | "skin_temperature_delta" | "respiratory_rate" | "score" | "source_type" | "source_provider" | "source_app_id";
5
- export declare const SleepSelectorSleep: {
4
+ export declare type SleepColumnExprSleep = "session_start" | "session_end" | "state" | "duration_second" | "stage_asleep_second" | "stage_awake_second" | "stage_light_second" | "stage_rem_second" | "stage_deep_second" | "stage_unknown_second" | "latency_second" | "heart_rate_minimum" | "heart_rate_mean" | "heart_rate_maximum" | "heart_rate_dip" | "efficiency" | "hrv_mean_rmssd" | "hrv_mean_sdnn" | "skin_temperature_delta" | "respiratory_rate" | "score" | "source_type" | "source_provider" | "source_app_id";
5
+ export declare const SleepColumnExprSleep: {
6
6
  readonly SessionStart: "session_start";
7
7
  readonly SessionEnd: "session_end";
8
8
  readonly State: "state";
@@ -3,8 +3,8 @@
3
3
  * This file was auto-generated by Fern from our API Definition.
4
4
  */
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.SleepSelectorSleep = void 0;
7
- exports.SleepSelectorSleep = {
6
+ exports.SleepColumnExprSleep = void 0;
7
+ exports.SleepColumnExprSleep = {
8
8
  SessionStart: "session_start",
9
9
  SessionEnd: "session_end",
10
10
  State: "state",
@@ -4,4 +4,5 @@
4
4
  export interface TimeseriesMetricPoint {
5
5
  date: string;
6
6
  value: number;
7
+ all: number;
7
8
  }
@@ -1,8 +1,11 @@
1
- export * from "./ActivitySelectorActivity";
2
- export * from "./ActivitySelector";
1
+ export * from "./ActivityColumnExprActivity";
2
+ export * from "./ActivityColumnExpr";
3
3
  export * from "./ActivityV2InDb";
4
4
  export * from "./AddOnOrder";
5
5
  export * from "./Address";
6
+ export * from "./AggregateExprArg";
7
+ export * from "./AggregateExprFunc";
8
+ export * from "./AggregateExpr";
6
9
  export * from "./AllowedRadius";
7
10
  export * from "./Answer";
8
11
  export * from "./AoE";
@@ -138,6 +141,11 @@ export * from "./Consent";
138
141
  export * from "./ConsentType";
139
142
  export * from "./ContraceptiveEntryType";
140
143
  export * from "./ContraceptiveEntry";
144
+ export * from "./DatePartExprArg";
145
+ export * from "./DatePartExprDatePart";
146
+ export * from "./DatePartExpr";
147
+ export * from "./DateTruncExprArg";
148
+ export * from "./DateTruncExpr";
141
149
  export * from "./DaySlots";
142
150
  export * from "./DelegatedFlowType";
143
151
  export * from "./DemoConnectionStatus";
@@ -156,6 +164,8 @@ export * from "./Fats";
156
164
  export * from "./Gender";
157
165
  export * from "./GetMarkersResponse";
158
166
  export * from "./GetOrdersResponse";
167
+ export * from "./GroupKeyColumnExprGroupKey";
168
+ export * from "./GroupKeyColumnExpr";
159
169
  export * from "./HttpValidationError";
160
170
  export * from "./HealthInsuranceCreateRequestFrontImage";
161
171
  export * from "./HealthInsuranceCreateRequestBackImage";
@@ -167,6 +177,8 @@ export * from "./HomePregnancyTestEntryTestResult";
167
177
  export * from "./HomePregnancyTestEntry";
168
178
  export * from "./HomeProgesteroneTestEntryTestResult";
169
179
  export * from "./HomeProgesteroneTestEntry";
180
+ export * from "./IndexColumnExprIndex";
181
+ export * from "./IndexColumnExpr";
170
182
  export * from "./IntermenstrualBleedingEntry";
171
183
  export * from "./Jpeg";
172
184
  export * from "./LabLocationMetadata";
@@ -225,8 +237,8 @@ export * from "./Providers";
225
237
  export * from "./QueryConfigWeekStartsOn";
226
238
  export * from "./QueryConfigProviderPriorityOverridesItem";
227
239
  export * from "./QueryConfig";
228
- export * from "./QueryInstructionSelect";
229
- export * from "./QueryInstructionPartitionBy";
240
+ export * from "./QueryInstructionSelectItem";
241
+ export * from "./QueryInstructionGroupByItem";
230
242
  export * from "./QueryInstruction";
231
243
  export * from "./Question";
232
244
  export * from "./QuestionType";
@@ -236,8 +248,6 @@ export * from "./RawDevices";
236
248
  export * from "./RawProfile";
237
249
  export * from "./RawSleep";
238
250
  export * from "./RawWorkout";
239
- export * from "./ReducerFunction";
240
- export * from "./Reducer";
241
251
  export * from "./Region";
242
252
  export * from "./RelativeTimeframe";
243
253
  export * from "./ResourceAvailability";
@@ -252,16 +262,14 @@ export * from "./SingleProviderHistoricalPullResponse";
252
262
  export * from "./SingleResourceStatistics";
253
263
  export * from "./SingleUserHistoricalPullResponse";
254
264
  export * from "./SingleUserResourceResponse";
255
- export * from "./SleepSelectorSleep";
256
- export * from "./SleepSelector";
265
+ export * from "./SleepColumnExprSleep";
266
+ export * from "./SleepColumnExpr";
257
267
  export * from "./SleepSummaryState";
258
268
  export * from "./SleepV2InDb";
259
269
  export * from "./Source";
260
270
  export * from "./SourceAuthType";
261
271
  export * from "./SourceLink";
262
272
  export * from "./SourceType";
263
- export * from "./SwizzlingBinGranularity";
264
- export * from "./Swizzling";
265
273
  export * from "./TeamConfig";
266
274
  export * from "./TimeSlot";
267
275
  export * from "./TimeseriesMetricPoint";
@@ -14,11 +14,14 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./ActivitySelectorActivity"), exports);
18
- __exportStar(require("./ActivitySelector"), exports);
17
+ __exportStar(require("./ActivityColumnExprActivity"), exports);
18
+ __exportStar(require("./ActivityColumnExpr"), exports);
19
19
  __exportStar(require("./ActivityV2InDb"), exports);
20
20
  __exportStar(require("./AddOnOrder"), exports);
21
21
  __exportStar(require("./Address"), exports);
22
+ __exportStar(require("./AggregateExprArg"), exports);
23
+ __exportStar(require("./AggregateExprFunc"), exports);
24
+ __exportStar(require("./AggregateExpr"), exports);
22
25
  __exportStar(require("./AllowedRadius"), exports);
23
26
  __exportStar(require("./Answer"), exports);
24
27
  __exportStar(require("./AoE"), exports);
@@ -154,6 +157,11 @@ __exportStar(require("./Consent"), exports);
154
157
  __exportStar(require("./ConsentType"), exports);
155
158
  __exportStar(require("./ContraceptiveEntryType"), exports);
156
159
  __exportStar(require("./ContraceptiveEntry"), exports);
160
+ __exportStar(require("./DatePartExprArg"), exports);
161
+ __exportStar(require("./DatePartExprDatePart"), exports);
162
+ __exportStar(require("./DatePartExpr"), exports);
163
+ __exportStar(require("./DateTruncExprArg"), exports);
164
+ __exportStar(require("./DateTruncExpr"), exports);
157
165
  __exportStar(require("./DaySlots"), exports);
158
166
  __exportStar(require("./DelegatedFlowType"), exports);
159
167
  __exportStar(require("./DemoConnectionStatus"), exports);
@@ -172,6 +180,8 @@ __exportStar(require("./Fats"), exports);
172
180
  __exportStar(require("./Gender"), exports);
173
181
  __exportStar(require("./GetMarkersResponse"), exports);
174
182
  __exportStar(require("./GetOrdersResponse"), exports);
183
+ __exportStar(require("./GroupKeyColumnExprGroupKey"), exports);
184
+ __exportStar(require("./GroupKeyColumnExpr"), exports);
175
185
  __exportStar(require("./HttpValidationError"), exports);
176
186
  __exportStar(require("./HealthInsuranceCreateRequestFrontImage"), exports);
177
187
  __exportStar(require("./HealthInsuranceCreateRequestBackImage"), exports);
@@ -183,6 +193,8 @@ __exportStar(require("./HomePregnancyTestEntryTestResult"), exports);
183
193
  __exportStar(require("./HomePregnancyTestEntry"), exports);
184
194
  __exportStar(require("./HomeProgesteroneTestEntryTestResult"), exports);
185
195
  __exportStar(require("./HomeProgesteroneTestEntry"), exports);
196
+ __exportStar(require("./IndexColumnExprIndex"), exports);
197
+ __exportStar(require("./IndexColumnExpr"), exports);
186
198
  __exportStar(require("./IntermenstrualBleedingEntry"), exports);
187
199
  __exportStar(require("./Jpeg"), exports);
188
200
  __exportStar(require("./LabLocationMetadata"), exports);
@@ -241,8 +253,8 @@ __exportStar(require("./Providers"), exports);
241
253
  __exportStar(require("./QueryConfigWeekStartsOn"), exports);
242
254
  __exportStar(require("./QueryConfigProviderPriorityOverridesItem"), exports);
243
255
  __exportStar(require("./QueryConfig"), exports);
244
- __exportStar(require("./QueryInstructionSelect"), exports);
245
- __exportStar(require("./QueryInstructionPartitionBy"), exports);
256
+ __exportStar(require("./QueryInstructionSelectItem"), exports);
257
+ __exportStar(require("./QueryInstructionGroupByItem"), exports);
246
258
  __exportStar(require("./QueryInstruction"), exports);
247
259
  __exportStar(require("./Question"), exports);
248
260
  __exportStar(require("./QuestionType"), exports);
@@ -252,8 +264,6 @@ __exportStar(require("./RawDevices"), exports);
252
264
  __exportStar(require("./RawProfile"), exports);
253
265
  __exportStar(require("./RawSleep"), exports);
254
266
  __exportStar(require("./RawWorkout"), exports);
255
- __exportStar(require("./ReducerFunction"), exports);
256
- __exportStar(require("./Reducer"), exports);
257
267
  __exportStar(require("./Region"), exports);
258
268
  __exportStar(require("./RelativeTimeframe"), exports);
259
269
  __exportStar(require("./ResourceAvailability"), exports);
@@ -268,16 +278,14 @@ __exportStar(require("./SingleProviderHistoricalPullResponse"), exports);
268
278
  __exportStar(require("./SingleResourceStatistics"), exports);
269
279
  __exportStar(require("./SingleUserHistoricalPullResponse"), exports);
270
280
  __exportStar(require("./SingleUserResourceResponse"), exports);
271
- __exportStar(require("./SleepSelectorSleep"), exports);
272
- __exportStar(require("./SleepSelector"), exports);
281
+ __exportStar(require("./SleepColumnExprSleep"), exports);
282
+ __exportStar(require("./SleepColumnExpr"), exports);
273
283
  __exportStar(require("./SleepSummaryState"), exports);
274
284
  __exportStar(require("./SleepV2InDb"), exports);
275
285
  __exportStar(require("./Source"), exports);
276
286
  __exportStar(require("./SourceAuthType"), exports);
277
287
  __exportStar(require("./SourceLink"), exports);
278
288
  __exportStar(require("./SourceType"), exports);
279
- __exportStar(require("./SwizzlingBinGranularity"), exports);
280
- __exportStar(require("./Swizzling"), exports);
281
289
  __exportStar(require("./TeamConfig"), exports);
282
290
  __exportStar(require("./TimeSlot"), exports);
283
291
  __exportStar(require("./TimeseriesMetricPoint"), exports);
@@ -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 { ActivityColumnExprActivity } from "./ActivityColumnExprActivity";
8
+ export declare const ActivityColumnExpr: core.serialization.ObjectSchema<serializers.ActivityColumnExpr.Raw, Vital.ActivityColumnExpr>;
9
+ export declare namespace ActivityColumnExpr {
10
+ interface Raw {
11
+ activity: ActivityColumnExprActivity.Raw;
12
+ }
13
+ }
@@ -26,9 +26,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.ActivitySelector = void 0;
29
+ exports.ActivityColumnExpr = void 0;
30
30
  const core = __importStar(require("../../core"));
31
- const ActivitySelectorActivity_1 = require("./ActivitySelectorActivity");
32
- exports.ActivitySelector = core.serialization.object({
33
- activity: ActivitySelectorActivity_1.ActivitySelectorActivity,
31
+ const ActivityColumnExprActivity_1 = require("./ActivityColumnExprActivity");
32
+ exports.ActivityColumnExpr = core.serialization.object({
33
+ activity: ActivityColumnExprActivity_1.ActivityColumnExprActivity,
34
34
  });
@@ -4,7 +4,7 @@
4
4
  import * as serializers from "../index";
5
5
  import * as Vital from "../../api/index";
6
6
  import * as core from "../../core";
7
- export declare const ActivitySelectorActivity: core.serialization.Schema<serializers.ActivitySelectorActivity.Raw, Vital.ActivitySelectorActivity>;
8
- export declare namespace ActivitySelectorActivity {
7
+ export declare const ActivityColumnExprActivity: core.serialization.Schema<serializers.ActivityColumnExprActivity.Raw, Vital.ActivityColumnExprActivity>;
8
+ export declare namespace ActivityColumnExprActivity {
9
9
  type Raw = "date" | "calories_total" | "calories_active" | "steps" | "distance_meter" | "floors_climbed" | "duration_active_second" | "intensity_sedentary_second" | "intensity_low_second" | "intensity_medium_second" | "intensity_high_second" | "heart_rate_mean" | "heart_rate_min" | "heart_rate_max" | "heart_rate_resting" | "source_type" | "source_provider" | "source_app_id";
10
10
  }
@@ -26,9 +26,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.ActivitySelectorActivity = void 0;
29
+ exports.ActivityColumnExprActivity = void 0;
30
30
  const core = __importStar(require("../../core"));
31
- exports.ActivitySelectorActivity = core.serialization.enum_([
31
+ exports.ActivityColumnExprActivity = core.serialization.enum_([
32
32
  "date",
33
33
  "calories_total",
34
34
  "calories_active",