@nativesquare/soma 0.9.0 → 0.9.1

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 (354) hide show
  1. package/dist/component/_generated/api.d.ts +20 -2
  2. package/dist/component/_generated/api.d.ts.map +1 -1
  3. package/dist/component/_generated/api.js.map +1 -1
  4. package/dist/component/_generated/component.d.ts +7 -6
  5. package/dist/component/_generated/component.d.ts.map +1 -1
  6. package/dist/{garmin → component/garmin}/auth.d.ts +8 -1
  7. package/dist/component/garmin/auth.d.ts.map +1 -0
  8. package/dist/component/garmin/auth.js.map +1 -0
  9. package/dist/component/garmin/client.d.ts +15 -0
  10. package/dist/component/garmin/client.d.ts.map +1 -0
  11. package/dist/component/garmin/client.js +32 -0
  12. package/dist/component/garmin/client.js.map +1 -0
  13. package/dist/component/garmin/private.d.ts +85 -17
  14. package/dist/component/garmin/private.d.ts.map +1 -1
  15. package/dist/component/garmin/private.js +52 -205
  16. package/dist/component/garmin/private.js.map +1 -1
  17. package/dist/component/garmin/public.d.ts +42 -48
  18. package/dist/component/garmin/public.d.ts.map +1 -1
  19. package/dist/component/garmin/public.js +404 -368
  20. package/dist/component/garmin/public.js.map +1 -1
  21. package/dist/component/garmin/schemas/activity.d.ts +2 -2
  22. package/dist/component/garmin/schemas/activity.d.ts.map +1 -1
  23. package/dist/component/garmin/schemas/activity.js +3 -1
  24. package/dist/component/garmin/schemas/activity.js.map +1 -1
  25. package/dist/component/garmin/schemas/activityDetails.d.ts +50 -50
  26. package/dist/component/garmin/schemas/activityDetails.d.ts.map +1 -1
  27. package/dist/component/garmin/schemas/activityDetails.js +4 -1
  28. package/dist/component/garmin/schemas/activityDetails.js.map +1 -1
  29. package/dist/component/garmin/schemas/bloodPressure.js +1 -1
  30. package/dist/component/garmin/schemas/bloodPressure.js.map +1 -1
  31. package/dist/component/garmin/schemas/bodyCompositions.js +1 -1
  32. package/dist/component/garmin/schemas/bodyCompositions.js.map +1 -1
  33. package/dist/component/garmin/schemas/dailies.js +1 -1
  34. package/dist/component/garmin/schemas/dailies.js.map +1 -1
  35. package/dist/component/garmin/schemas/epochs.js +1 -1
  36. package/dist/component/garmin/schemas/epochs.js.map +1 -1
  37. package/dist/component/garmin/schemas/healthSnapshot.js +1 -1
  38. package/dist/component/garmin/schemas/healthSnapshot.js.map +1 -1
  39. package/dist/component/garmin/schemas/hrvSummary.js +1 -1
  40. package/dist/component/garmin/schemas/hrvSummary.js.map +1 -1
  41. package/dist/component/garmin/schemas/manuallyUpdatedActivities.d.ts +2 -2
  42. package/dist/component/garmin/schemas/manuallyUpdatedActivities.d.ts.map +1 -1
  43. package/dist/component/garmin/schemas/manuallyUpdatedActivities.js +3 -1
  44. package/dist/component/garmin/schemas/manuallyUpdatedActivities.js.map +1 -1
  45. package/dist/component/garmin/schemas/menstrualCycleTracking.js +1 -1
  46. package/dist/component/garmin/schemas/menstrualCycleTracking.js.map +1 -1
  47. package/dist/component/garmin/schemas/moveIQ.js +1 -1
  48. package/dist/component/garmin/schemas/moveIQ.js.map +1 -1
  49. package/dist/component/garmin/schemas/pulseOx.js +1 -1
  50. package/dist/component/garmin/schemas/pulseOx.js.map +1 -1
  51. package/dist/component/garmin/schemas/respiration.js +1 -1
  52. package/dist/component/garmin/schemas/respiration.js.map +1 -1
  53. package/dist/component/garmin/schemas/skinTemperature.js +1 -1
  54. package/dist/component/garmin/schemas/skinTemperature.js.map +1 -1
  55. package/dist/component/garmin/schemas/sleeps.js +1 -1
  56. package/dist/component/garmin/schemas/sleeps.js.map +1 -1
  57. package/dist/component/garmin/schemas/stress.d.ts +6 -6
  58. package/dist/component/garmin/schemas/stress.d.ts.map +1 -1
  59. package/dist/component/garmin/schemas/stress.js +3 -1
  60. package/dist/component/garmin/schemas/stress.js.map +1 -1
  61. package/dist/component/garmin/schemas/userMetrics.js +1 -1
  62. package/dist/component/garmin/schemas/userMetrics.js.map +1 -1
  63. package/dist/component/garmin/transform/activity.d.ts +2 -2
  64. package/dist/component/garmin/transform/activity.d.ts.map +1 -1
  65. package/dist/component/garmin/transform/activity.js +1 -1
  66. package/dist/component/garmin/transform/activity.js.map +1 -1
  67. package/dist/component/garmin/transform/activityDetails.d.ts +2 -2
  68. package/dist/component/garmin/transform/activityDetails.d.ts.map +1 -1
  69. package/dist/component/garmin/transform/activityDetails.js.map +1 -1
  70. package/dist/component/garmin/transform/bloodPressure.d.ts +2 -2
  71. package/dist/component/garmin/transform/bloodPressure.d.ts.map +1 -1
  72. package/dist/component/garmin/transform/bodyCompositions.d.ts +2 -2
  73. package/dist/component/garmin/transform/bodyCompositions.d.ts.map +1 -1
  74. package/dist/component/garmin/transform/bodyCompositions.js.map +1 -1
  75. package/dist/component/garmin/transform/dailies.d.ts +2 -2
  76. package/dist/component/garmin/transform/dailies.d.ts.map +1 -1
  77. package/dist/component/garmin/transform/dailies.js +1 -1
  78. package/dist/component/garmin/transform/dailies.js.map +1 -1
  79. package/dist/component/garmin/transform/epochs.d.ts +2 -2
  80. package/dist/component/garmin/transform/epochs.d.ts.map +1 -1
  81. package/dist/component/garmin/transform/healthSnapshot.d.ts +2 -2
  82. package/dist/component/garmin/transform/healthSnapshot.d.ts.map +1 -1
  83. package/dist/component/garmin/transform/healthSnapshot.js.map +1 -1
  84. package/dist/component/garmin/transform/hrvSummary.d.ts +2 -2
  85. package/dist/component/garmin/transform/hrvSummary.d.ts.map +1 -1
  86. package/dist/component/garmin/transform/hrvSummary.js +1 -1
  87. package/dist/component/garmin/transform/hrvSummary.js.map +1 -1
  88. package/dist/component/garmin/transform/manuallyUpdatedActivities.d.ts +2 -2
  89. package/dist/component/garmin/transform/manuallyUpdatedActivities.d.ts.map +1 -1
  90. package/dist/{garmin/maps/activity-type.d.ts → component/garmin/transform/maps/activityType.d.ts} +1 -1
  91. package/dist/component/garmin/transform/maps/activityType.d.ts.map +1 -0
  92. package/dist/{garmin/maps/activity-type.js → component/garmin/transform/maps/activityType.js} +1 -1
  93. package/dist/component/garmin/transform/maps/activityType.js.map +1 -0
  94. package/dist/{garmin/maps/sleep-level.d.ts → component/garmin/transform/maps/sleepLevel.d.ts} +1 -1
  95. package/dist/component/garmin/transform/maps/sleepLevel.d.ts.map +1 -0
  96. package/dist/{garmin/maps/sleep-level.js → component/garmin/transform/maps/sleepLevel.js} +1 -1
  97. package/dist/component/garmin/transform/maps/sleepLevel.js.map +1 -0
  98. package/dist/component/garmin/transform/menstrualCycleTracking.d.ts +2 -2
  99. package/dist/component/garmin/transform/menstrualCycleTracking.d.ts.map +1 -1
  100. package/dist/component/garmin/transform/menstrualCycleTracking.js.map +1 -1
  101. package/dist/component/garmin/transform/moveIQ.d.ts +2 -5
  102. package/dist/component/garmin/transform/moveIQ.d.ts.map +1 -1
  103. package/dist/component/garmin/transform/moveIQ.js +1 -1
  104. package/dist/component/garmin/transform/moveIQ.js.map +1 -1
  105. package/dist/{garmin → component/garmin/transform}/plannedWorkout.d.ts +3 -4
  106. package/dist/component/garmin/transform/plannedWorkout.d.ts.map +1 -0
  107. package/dist/{garmin → component/garmin/transform}/plannedWorkout.js +61 -70
  108. package/dist/component/garmin/transform/plannedWorkout.js.map +1 -0
  109. package/dist/component/garmin/transform/pulseOx.d.ts +2 -2
  110. package/dist/component/garmin/transform/pulseOx.d.ts.map +1 -1
  111. package/dist/component/garmin/transform/pulseOx.js +1 -1
  112. package/dist/component/garmin/transform/pulseOx.js.map +1 -1
  113. package/dist/component/garmin/transform/respiration.d.ts +2 -2
  114. package/dist/component/garmin/transform/respiration.d.ts.map +1 -1
  115. package/dist/component/garmin/transform/respiration.js +1 -1
  116. package/dist/component/garmin/transform/respiration.js.map +1 -1
  117. package/dist/component/garmin/transform/skinTemperature.d.ts +2 -2
  118. package/dist/component/garmin/transform/skinTemperature.d.ts.map +1 -1
  119. package/dist/component/garmin/transform/skinTemperature.js.map +1 -1
  120. package/dist/component/garmin/transform/sleeps.d.ts +2 -2
  121. package/dist/component/garmin/transform/sleeps.d.ts.map +1 -1
  122. package/dist/component/garmin/transform/sleeps.js +3 -3
  123. package/dist/component/garmin/transform/sleeps.js.map +1 -1
  124. package/dist/component/garmin/transform/stress.d.ts +2 -2
  125. package/dist/component/garmin/transform/stress.d.ts.map +1 -1
  126. package/dist/component/garmin/transform/stress.js +2 -2
  127. package/dist/component/garmin/transform/stress.js.map +1 -1
  128. package/dist/component/garmin/transform/userMetrics.d.ts +2 -2
  129. package/dist/component/garmin/transform/userMetrics.d.ts.map +1 -1
  130. package/dist/component/garmin/transform/userMetrics.js.map +1 -1
  131. package/dist/component/garmin/types/trainingApiWorkouts/client/client.gen.d.ts +3 -0
  132. package/dist/component/garmin/types/trainingApiWorkouts/client/client.gen.d.ts.map +1 -0
  133. package/dist/component/garmin/types/trainingApiWorkouts/client/client.gen.js +236 -0
  134. package/dist/component/garmin/types/trainingApiWorkouts/client/client.gen.js.map +1 -0
  135. package/dist/component/garmin/types/trainingApiWorkouts/client/index.d.ts +9 -0
  136. package/dist/component/garmin/types/trainingApiWorkouts/client/index.d.ts.map +1 -0
  137. package/dist/component/garmin/types/trainingApiWorkouts/client/index.js +7 -0
  138. package/dist/component/garmin/types/trainingApiWorkouts/client/index.js.map +1 -0
  139. package/dist/component/garmin/types/trainingApiWorkouts/client/types.gen.d.ts +118 -0
  140. package/dist/component/garmin/types/trainingApiWorkouts/client/types.gen.d.ts.map +1 -0
  141. package/dist/component/garmin/types/trainingApiWorkouts/client/types.gen.js +3 -0
  142. package/dist/component/garmin/types/trainingApiWorkouts/client/types.gen.js.map +1 -0
  143. package/dist/component/garmin/types/trainingApiWorkouts/client/utils.gen.d.ts +34 -0
  144. package/dist/component/garmin/types/trainingApiWorkouts/client/utils.gen.d.ts.map +1 -0
  145. package/dist/component/garmin/types/trainingApiWorkouts/client/utils.gen.js +229 -0
  146. package/dist/component/garmin/types/trainingApiWorkouts/client/utils.gen.js.map +1 -0
  147. package/dist/component/garmin/types/trainingApiWorkouts/client.gen.d.ts +13 -0
  148. package/dist/component/garmin/types/trainingApiWorkouts/client.gen.d.ts.map +1 -0
  149. package/dist/component/garmin/types/trainingApiWorkouts/client.gen.js +4 -0
  150. package/dist/component/garmin/types/trainingApiWorkouts/client.gen.js.map +1 -0
  151. package/dist/component/garmin/types/trainingApiWorkouts/core/auth.gen.d.ts +19 -0
  152. package/dist/component/garmin/types/trainingApiWorkouts/core/auth.gen.d.ts.map +1 -0
  153. package/dist/component/garmin/types/trainingApiWorkouts/core/auth.gen.js +15 -0
  154. package/dist/component/garmin/types/trainingApiWorkouts/core/auth.gen.js.map +1 -0
  155. package/dist/component/garmin/types/trainingApiWorkouts/core/bodySerializer.gen.d.ts +26 -0
  156. package/dist/component/garmin/types/trainingApiWorkouts/core/bodySerializer.gen.d.ts.map +1 -0
  157. package/dist/component/garmin/types/trainingApiWorkouts/core/bodySerializer.gen.js +58 -0
  158. package/dist/component/garmin/types/trainingApiWorkouts/core/bodySerializer.gen.js.map +1 -0
  159. package/dist/component/garmin/types/trainingApiWorkouts/core/params.gen.d.ts +44 -0
  160. package/dist/component/garmin/types/trainingApiWorkouts/core/params.gen.d.ts.map +1 -0
  161. package/dist/component/garmin/types/trainingApiWorkouts/core/params.gen.js +101 -0
  162. package/dist/component/garmin/types/trainingApiWorkouts/core/params.gen.js.map +1 -0
  163. package/dist/component/garmin/types/trainingApiWorkouts/core/pathSerializer.gen.d.ts +34 -0
  164. package/dist/component/garmin/types/trainingApiWorkouts/core/pathSerializer.gen.d.ts.map +1 -0
  165. package/dist/component/garmin/types/trainingApiWorkouts/core/pathSerializer.gen.js +107 -0
  166. package/dist/component/garmin/types/trainingApiWorkouts/core/pathSerializer.gen.js.map +1 -0
  167. package/dist/component/garmin/types/trainingApiWorkouts/core/queryKeySerializer.gen.d.ts +19 -0
  168. package/dist/component/garmin/types/trainingApiWorkouts/core/queryKeySerializer.gen.d.ts.map +1 -0
  169. package/dist/component/garmin/types/trainingApiWorkouts/core/queryKeySerializer.gen.js +93 -0
  170. package/dist/component/garmin/types/trainingApiWorkouts/core/queryKeySerializer.gen.js.map +1 -0
  171. package/dist/component/garmin/types/trainingApiWorkouts/core/serverSentEvents.gen.d.ts +72 -0
  172. package/dist/component/garmin/types/trainingApiWorkouts/core/serverSentEvents.gen.d.ts.map +1 -0
  173. package/dist/component/garmin/types/trainingApiWorkouts/core/serverSentEvents.gen.js +134 -0
  174. package/dist/component/garmin/types/trainingApiWorkouts/core/serverSentEvents.gen.js.map +1 -0
  175. package/dist/component/garmin/types/trainingApiWorkouts/core/types.gen.d.ts +79 -0
  176. package/dist/component/garmin/types/trainingApiWorkouts/core/types.gen.d.ts.map +1 -0
  177. package/dist/component/garmin/types/trainingApiWorkouts/core/types.gen.js +3 -0
  178. package/dist/component/garmin/types/trainingApiWorkouts/core/types.gen.js.map +1 -0
  179. package/dist/component/garmin/types/trainingApiWorkouts/core/utils.gen.d.ts +20 -0
  180. package/dist/component/garmin/types/trainingApiWorkouts/core/utils.gen.d.ts.map +1 -0
  181. package/dist/component/garmin/types/trainingApiWorkouts/core/utils.gen.js +88 -0
  182. package/dist/component/garmin/types/trainingApiWorkouts/core/utils.gen.js.map +1 -0
  183. package/dist/component/garmin/types/trainingApiWorkouts/index.d.ts +3 -0
  184. package/dist/component/garmin/types/trainingApiWorkouts/index.d.ts.map +1 -0
  185. package/dist/component/garmin/types/trainingApiWorkouts/index.js +3 -0
  186. package/dist/component/garmin/types/trainingApiWorkouts/index.js.map +1 -0
  187. package/dist/component/garmin/types/trainingApiWorkouts/sdk.gen.d.ts +68 -0
  188. package/dist/component/garmin/types/trainingApiWorkouts/sdk.gen.d.ts.map +1 -0
  189. package/dist/component/garmin/types/trainingApiWorkouts/sdk.gen.js +97 -0
  190. package/dist/component/garmin/types/trainingApiWorkouts/sdk.gen.js.map +1 -0
  191. package/dist/component/garmin/types/trainingApiWorkouts/types.gen.d.ts +330 -0
  192. package/dist/component/garmin/types/trainingApiWorkouts/types.gen.d.ts.map +1 -0
  193. package/dist/component/garmin/types/trainingApiWorkouts/types.gen.js +3 -0
  194. package/dist/component/garmin/types/trainingApiWorkouts/types.gen.js.map +1 -0
  195. package/dist/component/garmin/types/trainingApiWorkouts/zod.gen.d.ts +2463 -0
  196. package/dist/component/garmin/types/trainingApiWorkouts/zod.gen.d.ts.map +1 -0
  197. package/dist/component/garmin/types/trainingApiWorkouts/zod.gen.js +388 -0
  198. package/dist/component/garmin/types/trainingApiWorkouts/zod.gen.js.map +1 -0
  199. package/dist/component/garmin/types/wellnessApi/client/client.gen.d.ts +3 -0
  200. package/dist/component/garmin/types/wellnessApi/client/client.gen.d.ts.map +1 -0
  201. package/dist/component/garmin/types/wellnessApi/client/client.gen.js +236 -0
  202. package/dist/component/garmin/types/wellnessApi/client/client.gen.js.map +1 -0
  203. package/dist/component/garmin/types/wellnessApi/client/index.d.ts +9 -0
  204. package/dist/component/garmin/types/wellnessApi/client/index.d.ts.map +1 -0
  205. package/dist/component/garmin/types/wellnessApi/client/index.js +7 -0
  206. package/dist/component/garmin/types/wellnessApi/client/index.js.map +1 -0
  207. package/dist/component/garmin/types/wellnessApi/client/types.gen.d.ts +118 -0
  208. package/dist/component/garmin/types/wellnessApi/client/types.gen.d.ts.map +1 -0
  209. package/dist/component/garmin/types/wellnessApi/client/types.gen.js +3 -0
  210. package/dist/component/garmin/types/wellnessApi/client/types.gen.js.map +1 -0
  211. package/dist/component/garmin/types/wellnessApi/client/utils.gen.d.ts +34 -0
  212. package/dist/component/garmin/types/wellnessApi/client/utils.gen.d.ts.map +1 -0
  213. package/dist/component/garmin/types/wellnessApi/client/utils.gen.js +229 -0
  214. package/dist/component/garmin/types/wellnessApi/client/utils.gen.js.map +1 -0
  215. package/dist/component/garmin/types/wellnessApi/client.gen.d.ts +13 -0
  216. package/dist/component/garmin/types/wellnessApi/client.gen.d.ts.map +1 -0
  217. package/dist/component/garmin/types/wellnessApi/client.gen.js +4 -0
  218. package/dist/component/garmin/types/wellnessApi/client.gen.js.map +1 -0
  219. package/dist/component/garmin/types/wellnessApi/core/auth.gen.d.ts +19 -0
  220. package/dist/component/garmin/types/wellnessApi/core/auth.gen.d.ts.map +1 -0
  221. package/dist/component/garmin/types/wellnessApi/core/auth.gen.js +15 -0
  222. package/dist/component/garmin/types/wellnessApi/core/auth.gen.js.map +1 -0
  223. package/dist/component/garmin/types/wellnessApi/core/bodySerializer.gen.d.ts +26 -0
  224. package/dist/component/garmin/types/wellnessApi/core/bodySerializer.gen.d.ts.map +1 -0
  225. package/dist/component/garmin/types/wellnessApi/core/bodySerializer.gen.js +58 -0
  226. package/dist/component/garmin/types/wellnessApi/core/bodySerializer.gen.js.map +1 -0
  227. package/dist/component/garmin/types/wellnessApi/core/params.gen.d.ts +44 -0
  228. package/dist/component/garmin/types/wellnessApi/core/params.gen.d.ts.map +1 -0
  229. package/dist/component/garmin/types/wellnessApi/core/params.gen.js +101 -0
  230. package/dist/component/garmin/types/wellnessApi/core/params.gen.js.map +1 -0
  231. package/dist/component/garmin/types/wellnessApi/core/pathSerializer.gen.d.ts +34 -0
  232. package/dist/component/garmin/types/wellnessApi/core/pathSerializer.gen.d.ts.map +1 -0
  233. package/dist/component/garmin/types/wellnessApi/core/pathSerializer.gen.js +107 -0
  234. package/dist/component/garmin/types/wellnessApi/core/pathSerializer.gen.js.map +1 -0
  235. package/dist/component/garmin/types/wellnessApi/core/queryKeySerializer.gen.d.ts +19 -0
  236. package/dist/component/garmin/types/wellnessApi/core/queryKeySerializer.gen.d.ts.map +1 -0
  237. package/dist/component/garmin/types/wellnessApi/core/queryKeySerializer.gen.js +93 -0
  238. package/dist/component/garmin/types/wellnessApi/core/queryKeySerializer.gen.js.map +1 -0
  239. package/dist/component/garmin/types/wellnessApi/core/serverSentEvents.gen.d.ts +72 -0
  240. package/dist/component/garmin/types/wellnessApi/core/serverSentEvents.gen.d.ts.map +1 -0
  241. package/dist/component/garmin/types/wellnessApi/core/serverSentEvents.gen.js +134 -0
  242. package/dist/component/garmin/types/wellnessApi/core/serverSentEvents.gen.js.map +1 -0
  243. package/dist/component/garmin/types/wellnessApi/core/types.gen.d.ts +79 -0
  244. package/dist/component/garmin/types/wellnessApi/core/types.gen.d.ts.map +1 -0
  245. package/dist/component/garmin/types/wellnessApi/core/types.gen.js +3 -0
  246. package/dist/component/garmin/types/wellnessApi/core/types.gen.js.map +1 -0
  247. package/dist/component/garmin/types/wellnessApi/core/utils.gen.d.ts +20 -0
  248. package/dist/component/garmin/types/wellnessApi/core/utils.gen.d.ts.map +1 -0
  249. package/dist/component/garmin/types/wellnessApi/core/utils.gen.js +88 -0
  250. package/dist/component/garmin/types/wellnessApi/core/utils.gen.js.map +1 -0
  251. package/dist/component/garmin/types/wellnessApi/index.d.ts +3 -0
  252. package/dist/component/garmin/types/wellnessApi/index.d.ts.map +1 -0
  253. package/dist/component/garmin/types/wellnessApi/index.js +3 -0
  254. package/dist/component/garmin/types/wellnessApi/index.js.map +1 -0
  255. package/dist/component/garmin/types/wellnessApi/sdk.gen.d.ts +166 -0
  256. package/dist/component/garmin/types/wellnessApi/sdk.gen.d.ts.map +1 -0
  257. package/dist/component/garmin/types/wellnessApi/sdk.gen.js +153 -0
  258. package/dist/component/garmin/types/wellnessApi/sdk.gen.js.map +1 -0
  259. package/dist/component/garmin/types/wellnessApi/types.gen.d.ts +2733 -0
  260. package/dist/component/garmin/types/wellnessApi/types.gen.d.ts.map +1 -0
  261. package/dist/component/garmin/types/wellnessApi/types.gen.js +3 -0
  262. package/dist/component/garmin/types/wellnessApi/types.gen.js.map +1 -0
  263. package/dist/component/garmin/types/wellnessApi/zod.gen.d.ts.map +1 -0
  264. package/dist/component/garmin/types/wellnessApi/zod.gen.js.map +1 -0
  265. package/dist/component/garmin/utils.d.ts +16 -0
  266. package/dist/component/garmin/utils.d.ts.map +1 -0
  267. package/dist/component/garmin/utils.js +17 -0
  268. package/dist/component/garmin/utils.js.map +1 -0
  269. package/dist/component/garmin/webhooks.d.ts +8 -21
  270. package/dist/component/garmin/webhooks.d.ts.map +1 -1
  271. package/dist/component/garmin/webhooks.js +71 -306
  272. package/dist/component/garmin/webhooks.js.map +1 -1
  273. package/dist/component/validators/plannedWorkout.d.ts +6 -0
  274. package/dist/component/validators/plannedWorkout.d.ts.map +1 -1
  275. package/dist/component/validators/plannedWorkout.js.map +1 -1
  276. package/package.json +1 -1
  277. package/src/component/_generated/api.ts +2 -0
  278. package/dist/component/garmin/types/garmin.d.ts +0 -21
  279. package/dist/component/garmin/types/garmin.d.ts.map +0 -1
  280. package/dist/component/garmin/types/garmin.js +0 -6
  281. package/dist/component/garmin/types/garmin.js.map +0 -1
  282. package/dist/component/garmin/types/zod/zod.gen.d.ts.map +0 -1
  283. package/dist/component/garmin/types/zod/zod.gen.js.map +0 -1
  284. package/dist/garmin/auth.d.ts.map +0 -1
  285. package/dist/garmin/auth.js.map +0 -1
  286. package/dist/garmin/bloodPressure.d.ts +0 -28
  287. package/dist/garmin/bloodPressure.d.ts.map +0 -1
  288. package/dist/garmin/bloodPressure.js +0 -34
  289. package/dist/garmin/bloodPressure.js.map +0 -1
  290. package/dist/garmin/body.d.ts +0 -26
  291. package/dist/garmin/body.d.ts.map +0 -1
  292. package/dist/garmin/body.js +0 -44
  293. package/dist/garmin/body.js.map +0 -1
  294. package/dist/garmin/client.d.ts +0 -246
  295. package/dist/garmin/client.d.ts.map +0 -1
  296. package/dist/garmin/client.js +0 -566
  297. package/dist/garmin/client.js.map +0 -1
  298. package/dist/garmin/daily.d.ts +0 -74
  299. package/dist/garmin/daily.d.ts.map +0 -1
  300. package/dist/garmin/daily.js +0 -143
  301. package/dist/garmin/daily.js.map +0 -1
  302. package/dist/garmin/hrv.d.ts +0 -30
  303. package/dist/garmin/hrv.d.ts.map +0 -1
  304. package/dist/garmin/hrv.js +0 -45
  305. package/dist/garmin/hrv.js.map +0 -1
  306. package/dist/garmin/index.d.ts +0 -32
  307. package/dist/garmin/index.d.ts.map +0 -1
  308. package/dist/garmin/index.js +0 -27
  309. package/dist/garmin/index.js.map +0 -1
  310. package/dist/garmin/maps/activity-type.d.ts.map +0 -1
  311. package/dist/garmin/maps/activity-type.js.map +0 -1
  312. package/dist/garmin/maps/sleep-level.d.ts.map +0 -1
  313. package/dist/garmin/maps/sleep-level.js.map +0 -1
  314. package/dist/garmin/menstruation.d.ts +0 -25
  315. package/dist/garmin/menstruation.d.ts.map +0 -1
  316. package/dist/garmin/menstruation.js +0 -38
  317. package/dist/garmin/menstruation.js.map +0 -1
  318. package/dist/garmin/plannedWorkout.d.ts.map +0 -1
  319. package/dist/garmin/plannedWorkout.js.map +0 -1
  320. package/dist/garmin/pulseOx.d.ts +0 -24
  321. package/dist/garmin/pulseOx.d.ts.map +0 -1
  322. package/dist/garmin/pulseOx.js +0 -33
  323. package/dist/garmin/pulseOx.js.map +0 -1
  324. package/dist/garmin/respiration.d.ts +0 -29
  325. package/dist/garmin/respiration.d.ts.map +0 -1
  326. package/dist/garmin/respiration.js +0 -42
  327. package/dist/garmin/respiration.js.map +0 -1
  328. package/dist/garmin/skinTemp.d.ts +0 -27
  329. package/dist/garmin/skinTemp.d.ts.map +0 -1
  330. package/dist/garmin/skinTemp.js +0 -35
  331. package/dist/garmin/skinTemp.js.map +0 -1
  332. package/dist/garmin/sleep.d.ts +0 -62
  333. package/dist/garmin/sleep.d.ts.map +0 -1
  334. package/dist/garmin/sleep.js +0 -131
  335. package/dist/garmin/sleep.js.map +0 -1
  336. package/dist/garmin/stressDetails.d.ts +0 -30
  337. package/dist/garmin/stressDetails.d.ts.map +0 -1
  338. package/dist/garmin/stressDetails.js +0 -49
  339. package/dist/garmin/stressDetails.js.map +0 -1
  340. package/dist/garmin/sync.d.ts +0 -53
  341. package/dist/garmin/sync.d.ts.map +0 -1
  342. package/dist/garmin/sync.js +0 -458
  343. package/dist/garmin/sync.js.map +0 -1
  344. package/dist/garmin/types.d.ts +0 -175
  345. package/dist/garmin/types.d.ts.map +0 -1
  346. package/dist/garmin/types.js +0 -10
  347. package/dist/garmin/types.js.map +0 -1
  348. package/dist/garmin/userMetrics.d.ts +0 -23
  349. package/dist/garmin/userMetrics.d.ts.map +0 -1
  350. package/dist/garmin/userMetrics.js +0 -41
  351. package/dist/garmin/userMetrics.js.map +0 -1
  352. /package/dist/{garmin → component/garmin}/auth.js +0 -0
  353. /package/dist/component/garmin/types/{zod → wellnessApi}/zod.gen.d.ts +0 -0
  354. /package/dist/component/garmin/types/{zod → wellnessApi}/zod.gen.js +0 -0
@@ -0,0 +1,2733 @@
1
+ export type ClientOptions = {
2
+ baseUrl: 'https://apis.garmin.com/wellness-api' | (string & {});
3
+ };
4
+ export type ErrorBody = {
5
+ errorMessage?: string;
6
+ };
7
+ export type ClientUserMetrics = {
8
+ userId?: string;
9
+ summaryId?: string;
10
+ calendarDate?: string;
11
+ vo2Max?: number;
12
+ vo2MaxCycling?: number;
13
+ fitnessAge?: number;
14
+ enhanced?: boolean;
15
+ };
16
+ export type ClientConsumerPermissions = {
17
+ userId?: string;
18
+ summaryId?: string;
19
+ permissions?: Array<string>;
20
+ /**
21
+ * Unix Epoch Timestamp
22
+ */
23
+ changeTimeInSeconds?: number;
24
+ };
25
+ export type ClientUserId = {
26
+ userId?: string;
27
+ };
28
+ export type BodyBatteryActivityEvent = {
29
+ /**
30
+ * Event type such as sleep,activity,recovery,nap and stress
31
+ */
32
+ eventType?: string;
33
+ /**
34
+ * Unix Epoch Timestamp
35
+ */
36
+ eventStartTimeInSeconds?: number;
37
+ eventStartTimeOffsetInSeconds?: number;
38
+ durationInSeconds?: number;
39
+ bodyBatteryImpact?: number;
40
+ activityName?: string;
41
+ activityType?: string;
42
+ activityId?: number;
43
+ };
44
+ export type BodyBatteryDynamicFeedbackEvent = {
45
+ /**
46
+ * Unix Epoch Timestamp
47
+ */
48
+ eventStartTimeInSeconds?: number;
49
+ bodyBatteryLevel?: string;
50
+ };
51
+ export type ClientStress = {
52
+ userId?: string;
53
+ summaryId?: string;
54
+ /**
55
+ * Unix Epoch Timestamp
56
+ */
57
+ startTimeInSeconds?: number;
58
+ startTimeOffsetInSeconds?: number;
59
+ durationInSeconds?: number;
60
+ calendarDate?: string;
61
+ maxStressLevel?: number;
62
+ averageStressLevel?: number;
63
+ timeOffsetStressLevelValues?: {
64
+ [key: string]: number;
65
+ };
66
+ timeOffsetBodyBatteryValues?: {
67
+ [key: string]: number;
68
+ };
69
+ bodyBatteryDynamicFeedbackEvent?: BodyBatteryDynamicFeedbackEvent;
70
+ bodyBatteryActivityEvents?: Array<BodyBatteryActivityEvent>;
71
+ };
72
+ export type ClientSolar = {
73
+ userId?: string;
74
+ summaryId?: string;
75
+ calendarDate?: string;
76
+ deviceId?: string;
77
+ deviceTypeName?: string;
78
+ timeOffsetInSeconds?: number;
79
+ readings?: Array<ClientSolarReading>;
80
+ };
81
+ export type ClientSolarReading = {
82
+ measurementTimeInSeconds?: number;
83
+ solarIntensity?: number;
84
+ };
85
+ export type ClientNaps = {
86
+ /**
87
+ * Unix Epoch Timestamp
88
+ */
89
+ napStartTimeInSeconds?: number;
90
+ napOffsetInSeconds?: number;
91
+ napDurationInSeconds?: number;
92
+ napValidation?: string;
93
+ };
94
+ export type ClientSleep = {
95
+ userId?: string;
96
+ summaryId?: string;
97
+ calendarDate?: string;
98
+ durationInSeconds?: number;
99
+ totalNapDurationInSeconds?: number;
100
+ /**
101
+ * Unix Epoch Timestamp
102
+ */
103
+ startTimeInSeconds?: number;
104
+ startTimeOffsetInSeconds?: number;
105
+ unmeasurableSleepInSeconds?: number;
106
+ deepSleepDurationInSeconds?: number;
107
+ lightSleepDurationInSeconds?: number;
108
+ remSleepInSeconds?: number;
109
+ awakeDurationInSeconds?: number;
110
+ sleepLevelsMap?: {
111
+ [key: string]: Array<TimeRange>;
112
+ };
113
+ validation?: string;
114
+ timeOffsetSleepSpo2?: {
115
+ [key: string]: number;
116
+ };
117
+ timeOffsetSleepRespiration?: {
118
+ [key: string]: number;
119
+ };
120
+ overallSleepScore?: ClientSleepScoreItem;
121
+ sleepScores?: {
122
+ [key: string]: ClientSleepScoreItem;
123
+ };
124
+ naps?: Array<ClientNaps>;
125
+ };
126
+ export type ClientSleepScoreItem = {
127
+ value?: number;
128
+ qualifierKey?: string;
129
+ };
130
+ export type TimeRange = {
131
+ /**
132
+ * Unix Epoch Timestamp
133
+ */
134
+ startTimeInSeconds?: number;
135
+ /**
136
+ * Unix Epoch Timestamp
137
+ */
138
+ endTimeInSeconds?: number;
139
+ };
140
+ export type ClientSkinTemp = {
141
+ userId?: string;
142
+ summaryId?: string;
143
+ calendarDate?: string;
144
+ avgDeviationCelsius?: number;
145
+ durationInSeconds?: number;
146
+ /**
147
+ * Unix epoch timestamp
148
+ */
149
+ startTimeInSeconds?: number;
150
+ startTimeOffsetInSeconds?: number;
151
+ };
152
+ export type ClientRespiration = {
153
+ userId?: string;
154
+ summaryId?: string;
155
+ /**
156
+ * Unix Epoch Timestamp
157
+ */
158
+ startTimeInSeconds?: number;
159
+ durationInSeconds?: number;
160
+ startTimeOffsetInSeconds?: number;
161
+ timeOffsetEpochToBreaths?: {
162
+ [key: string]: number;
163
+ };
164
+ };
165
+ export type ClientDailySpo2Acclimation = {
166
+ userId?: string;
167
+ summaryId?: string;
168
+ calendarDate?: string;
169
+ /**
170
+ * Unix Epoch Timestamp
171
+ */
172
+ startTimeInSeconds?: number;
173
+ durationInSeconds?: number;
174
+ startTimeOffsetInSeconds?: number;
175
+ timeOffsetSpo2Values?: {
176
+ [key: string]: number;
177
+ };
178
+ onDemand?: boolean;
179
+ };
180
+ export type ClientAutoActivityMoveIq = {
181
+ userId?: string;
182
+ summaryId?: string;
183
+ deviceName?: string;
184
+ calendarDate?: string;
185
+ /**
186
+ * Unix Epoch Timestamp
187
+ */
188
+ startTimeInSeconds?: number;
189
+ durationInSeconds?: number;
190
+ activityType?: string;
191
+ activitySubType?: string;
192
+ offsetInSeconds?: number;
193
+ };
194
+ export type ClientBloodGlucose = {
195
+ valueInMilligramsPerDeciliter?: number;
196
+ logType?: string;
197
+ reportTimestampInSeconds?: number;
198
+ };
199
+ export type ClientPregnancySnapshot = {
200
+ title?: string;
201
+ originalDueDate?: string;
202
+ dueDate?: string;
203
+ pregnancyCycleStartDate?: string;
204
+ deliveryDate?: string;
205
+ numOfBabies?: string;
206
+ hasExperiencedLoss?: boolean;
207
+ lossReportTimestampInSeconds?: number;
208
+ endDate?: string;
209
+ stopTracking?: boolean;
210
+ stopTrackingTimestampInSeconds?: number;
211
+ weightGoalUserInput?: ClientWeightGoalUserInput;
212
+ bloodGlucoseList?: Array<ClientBloodGlucose>;
213
+ };
214
+ export type ClientSummarizedMenstrualCycle = {
215
+ userId?: string;
216
+ summaryId?: string;
217
+ periodStartDate?: string;
218
+ dayInCycle?: number;
219
+ periodLength?: number;
220
+ /**
221
+ * @deprecated
222
+ */
223
+ currentPhase?: number;
224
+ currentPhaseType?: string;
225
+ lengthOfCurrentPhase?: number;
226
+ daysUntilNextPhase?: number;
227
+ fertileWindowStart?: number;
228
+ lengthOfFertileWindow?: number;
229
+ predictedCycleLength?: number;
230
+ isPredictedCycle?: boolean;
231
+ cycleLength?: number;
232
+ lastUpdatedTimeInSeconds?: number;
233
+ hasSpecifiedCycleLength?: boolean;
234
+ hasSpecifiedPeriodLength?: boolean;
235
+ pregnancySnapshot?: ClientPregnancySnapshot;
236
+ };
237
+ export type ClientWeightGoalUserInput = {
238
+ heightInCentimeters?: number;
239
+ weightInGrams?: number;
240
+ };
241
+ export type ClientActivity = {
242
+ userId?: string;
243
+ summaryId?: string;
244
+ activityId?: number;
245
+ activityName?: string;
246
+ activityDescription?: string;
247
+ isParent?: boolean;
248
+ parentSummaryId?: string;
249
+ durationInSeconds?: number;
250
+ /**
251
+ * Unix Epoch Timestamp
252
+ */
253
+ startTimeInSeconds?: number;
254
+ startTimeOffsetInSeconds?: number;
255
+ activityType?: string;
256
+ averageBikeCadenceInRoundsPerMinute?: number;
257
+ averageHeartRateInBeatsPerMinute?: number;
258
+ averageRunCadenceInStepsPerMinute?: number;
259
+ averagePushCadenceInPushesPerMinute?: number;
260
+ averageSpeedInMetersPerSecond?: number;
261
+ averageSwimCadenceInStrokesPerMinute?: number;
262
+ averagePaceInMinutesPerKilometer?: number;
263
+ activeKilocalories?: number;
264
+ deviceName?: string;
265
+ distanceInMeters?: number;
266
+ maxBikeCadenceInRoundsPerMinute?: number;
267
+ maxHeartRateInBeatsPerMinute?: number;
268
+ maxPaceInMinutesPerKilometer?: number;
269
+ maxRunCadenceInStepsPerMinute?: number;
270
+ maxPushCadenceInPushesPerMinute?: number;
271
+ maxSpeedInMetersPerSecond?: number;
272
+ numberOfActiveLengths?: number;
273
+ startingLatitudeInDegree?: number;
274
+ startingLongitudeInDegree?: number;
275
+ steps?: number;
276
+ pushes?: number;
277
+ totalElevationGainInMeters?: number;
278
+ totalElevationLossInMeters?: number;
279
+ manual?: boolean;
280
+ isWebUpload?: boolean;
281
+ };
282
+ export type ClientHrvSummary = {
283
+ userId?: string;
284
+ summaryId?: string;
285
+ calendarDate?: string;
286
+ lastNightAvg?: number;
287
+ lastNight5MinHigh?: number;
288
+ startTimeOffsetInSeconds?: number;
289
+ durationInSeconds?: number;
290
+ /**
291
+ * Unix Epoch Timestamp
292
+ */
293
+ startTimeInSeconds?: number;
294
+ hrvValues?: {
295
+ [key: string]: number;
296
+ };
297
+ };
298
+ export type ClientHealthSnapshot = {
299
+ userId?: string;
300
+ summaryId?: string;
301
+ calendarDate?: string;
302
+ /**
303
+ * Unix Epoch Timestamp
304
+ */
305
+ startTimeInSeconds?: number;
306
+ durationInSeconds?: number;
307
+ startTimeOffsetInSeconds?: number;
308
+ summaries?: Array<HealthSnapshotSummary>;
309
+ };
310
+ export type HealthSnapshotSummary = {
311
+ summaryType?: string;
312
+ minValue?: number;
313
+ maxValue?: number;
314
+ avgValue?: number;
315
+ epochSummaries?: {
316
+ [key: string]: number;
317
+ };
318
+ };
319
+ export type ClientEpoch = {
320
+ userId?: string;
321
+ summaryId?: string;
322
+ activityType?: string;
323
+ activeKilocalories?: number;
324
+ steps?: number;
325
+ pushes?: number;
326
+ distanceInMeters?: number;
327
+ pushDistanceInMeters?: number;
328
+ durationInSeconds?: number;
329
+ activeTimeInSeconds?: number;
330
+ /**
331
+ * Unix Epoch Timestamp
332
+ */
333
+ startTimeInSeconds?: number;
334
+ startTimeOffsetInSeconds?: number;
335
+ met?: number;
336
+ intensity?: string;
337
+ meanMotionIntensity?: number;
338
+ maxMotionIntensity?: number;
339
+ };
340
+ export type ClientDaily = {
341
+ userId?: string;
342
+ summaryId?: string;
343
+ calendarDate?: string;
344
+ activityType?: string;
345
+ activeKilocalories?: number;
346
+ bmrKilocalories?: number;
347
+ steps?: number;
348
+ pushes?: number;
349
+ distanceInMeters?: number;
350
+ pushDistanceInMeters?: number;
351
+ durationInSeconds?: number;
352
+ activeTimeInSeconds?: number;
353
+ /**
354
+ * Unix Epoch Timestamp
355
+ */
356
+ startTimeInSeconds?: number;
357
+ startTimeOffsetInSeconds?: number;
358
+ moderateIntensityDurationInSeconds?: number;
359
+ vigorousIntensityDurationInSeconds?: number;
360
+ floorsClimbed?: number;
361
+ minHeartRateInBeatsPerMinute?: number;
362
+ maxHeartRateInBeatsPerMinute?: number;
363
+ averageHeartRateInBeatsPerMinute?: number;
364
+ restingHeartRateInBeatsPerMinute?: number;
365
+ timeOffsetHeartRateSamples?: {
366
+ [key: string]: number;
367
+ };
368
+ source?: string;
369
+ stepsGoal?: number;
370
+ pushesGoal?: number;
371
+ intensityDurationGoalInSeconds?: number;
372
+ floorsClimbedGoal?: number;
373
+ averageStressLevel?: number;
374
+ maxStressLevel?: number;
375
+ stressDurationInSeconds?: number;
376
+ restStressDurationInSeconds?: number;
377
+ activityStressDurationInSeconds?: number;
378
+ lowStressDurationInSeconds?: number;
379
+ mediumStressDurationInSeconds?: number;
380
+ highStressDurationInSeconds?: number;
381
+ stressQualifier?: string;
382
+ bodyBatteryChargedValue?: number;
383
+ bodyBatteryDrainedValue?: number;
384
+ };
385
+ export type ClientBodyComp = {
386
+ userId?: string;
387
+ summaryId?: string;
388
+ muscleMassInGrams?: number;
389
+ boneMassInGrams?: number;
390
+ bodyWaterInPercent?: number;
391
+ bodyFatInPercent?: number;
392
+ bodyMassIndex?: number;
393
+ weightInGrams?: number;
394
+ measurementTimeInSeconds?: number;
395
+ measurementTimeOffsetInSeconds?: number;
396
+ };
397
+ export type ClientBloodPressure = {
398
+ userId?: string;
399
+ summaryId?: string;
400
+ systolic?: number;
401
+ diastolic?: number;
402
+ pulse?: number;
403
+ sourceType?: string;
404
+ measurementTimeInSeconds?: number;
405
+ measurementTimeOffsetInSeconds?: number;
406
+ };
407
+ export type ClientActivityDetail = {
408
+ userId?: string;
409
+ summaryId?: string;
410
+ activityId?: number;
411
+ summary?: ClientActivity;
412
+ samples?: Array<Sample>;
413
+ laps?: Array<ClientLap>;
414
+ };
415
+ export type ClientLap = {
416
+ /**
417
+ * Unix Epoch Timestamp
418
+ */
419
+ startTimeInSeconds?: number;
420
+ };
421
+ export type Sample = {
422
+ /**
423
+ * Unix Epoch Timestamp
424
+ */
425
+ startTimeInSeconds?: number;
426
+ latitudeInDegree?: number;
427
+ longitudeInDegree?: number;
428
+ elevationInMeters?: number;
429
+ airTemperatureCelcius?: number;
430
+ heartRate?: number;
431
+ speedMetersPerSecond?: number;
432
+ stepsPerMinute?: number;
433
+ totalDistanceInMeters?: number;
434
+ powerInWatts?: number;
435
+ bikeCadenceInRPM?: number;
436
+ swimCadenceInStrokesPerMinute?: number;
437
+ wheelChairCadenceInPushesPerMinute?: number;
438
+ timerDurationInSeconds?: number;
439
+ clockDurationInSeconds?: number;
440
+ movingDurationInSeconds?: number;
441
+ };
442
+ export type ServiceFailure = {
443
+ errorType?: string;
444
+ message?: string;
445
+ errorMessage?: string;
446
+ errorId?: string;
447
+ };
448
+ export type ClientSummarizedMenstrualCycleWritable = {
449
+ userId?: string;
450
+ summaryId?: string;
451
+ periodStartDate?: string;
452
+ dayInCycle?: number;
453
+ periodLength?: number;
454
+ /**
455
+ * @deprecated
456
+ */
457
+ currentPhase?: number;
458
+ currentPhaseType?: string;
459
+ lengthOfCurrentPhase?: number;
460
+ daysUntilNextPhase?: number;
461
+ fertileWindowStart?: number;
462
+ lengthOfFertileWindow?: number;
463
+ predictedCycleLength?: number;
464
+ isPredictedCycle?: boolean;
465
+ cycleLength?: number;
466
+ lastUpdatedTimeInSeconds?: number;
467
+ hasSpecifiedCycleLength?: boolean;
468
+ hasSpecifiedPeriodLength?: boolean;
469
+ pregnancySnapshot?: ClientPregnancySnapshot;
470
+ predictedCycle?: boolean;
471
+ };
472
+ export type GetUserMetricsData = {
473
+ body?: never;
474
+ path?: never;
475
+ query?: {
476
+ /**
477
+ * A UTC timestamp representing the beginning of the time range to search.
478
+ * If this parameter is used it must be paired with uploadEndTimeInSeconds only.
479
+ *
480
+ */
481
+ uploadStartTimeInSeconds?: string;
482
+ /**
483
+ * A UTC timestamp representing the end of the time range to search.
484
+ * If this parameter is used it must be paired with uploadStartTimeInSeconds only.
485
+ *
486
+ */
487
+ uploadEndTimeInSeconds?: string;
488
+ /**
489
+ * Pull token required for OAuth2 integrations
490
+ */
491
+ token?: string;
492
+ };
493
+ url: '/rest/userMetrics';
494
+ };
495
+ export type GetUserMetricsErrors = {
496
+ /**
497
+ * Bad Request
498
+ */
499
+ 400: ErrorBody;
500
+ /**
501
+ * Unauthorized
502
+ */
503
+ 401: ErrorBody;
504
+ /**
505
+ * Forbidden
506
+ */
507
+ 403: ErrorBody;
508
+ /**
509
+ * Not Found
510
+ */
511
+ 404: ErrorBody;
512
+ /**
513
+ * Method Not Allowed
514
+ */
515
+ 405: ErrorBody;
516
+ /**
517
+ * Gone
518
+ */
519
+ 410: ErrorBody;
520
+ /**
521
+ * Precondition Failed
522
+ */
523
+ 412: ErrorBody;
524
+ /**
525
+ * Internal Server Error
526
+ */
527
+ 500: ErrorBody;
528
+ };
529
+ export type GetUserMetricsError = GetUserMetricsErrors[keyof GetUserMetricsErrors];
530
+ export type GetUserMetricsResponses = {
531
+ /**
532
+ * OK
533
+ */
534
+ 200: Array<ClientUserMetrics>;
535
+ };
536
+ export type GetUserMetricsResponse = GetUserMetricsResponses[keyof GetUserMetricsResponses];
537
+ export type GetUserPermissionsData = {
538
+ body?: never;
539
+ path?: never;
540
+ query?: never;
541
+ url: '/rest/user/permissions';
542
+ };
543
+ export type GetUserPermissionsErrors = {
544
+ /**
545
+ * Bad Request
546
+ */
547
+ 400: ErrorBody;
548
+ /**
549
+ * Unauthorized
550
+ */
551
+ 401: ErrorBody;
552
+ /**
553
+ * Forbidden
554
+ */
555
+ 403: ErrorBody;
556
+ /**
557
+ * Not Found
558
+ */
559
+ 404: ErrorBody;
560
+ /**
561
+ * Method Not Allowed
562
+ */
563
+ 405: ErrorBody;
564
+ /**
565
+ * Gone
566
+ */
567
+ 410: ErrorBody;
568
+ /**
569
+ * Precondition Failed
570
+ */
571
+ 412: ErrorBody;
572
+ /**
573
+ * Internal Server Error
574
+ */
575
+ 500: ErrorBody;
576
+ };
577
+ export type GetUserPermissionsError = GetUserPermissionsErrors[keyof GetUserPermissionsErrors];
578
+ export type GetUserPermissionsResponses = {
579
+ /**
580
+ * OK
581
+ */
582
+ 200: ClientConsumerPermissions;
583
+ };
584
+ export type GetUserPermissionsResponse = GetUserPermissionsResponses[keyof GetUserPermissionsResponses];
585
+ export type UserIdData = {
586
+ body?: never;
587
+ path?: never;
588
+ query?: never;
589
+ url: '/rest/user/id';
590
+ };
591
+ export type UserIdErrors = {
592
+ /**
593
+ * Bad Request
594
+ */
595
+ 400: ErrorBody;
596
+ /**
597
+ * Unauthorized
598
+ */
599
+ 401: ErrorBody;
600
+ /**
601
+ * Forbidden
602
+ */
603
+ 403: ErrorBody;
604
+ /**
605
+ * Not Found
606
+ */
607
+ 404: ErrorBody;
608
+ /**
609
+ * Method Not Allowed
610
+ */
611
+ 405: ErrorBody;
612
+ /**
613
+ * Gone
614
+ */
615
+ 410: ErrorBody;
616
+ /**
617
+ * Precondition Failed
618
+ */
619
+ 412: ErrorBody;
620
+ /**
621
+ * Internal Server Error
622
+ */
623
+ 500: ErrorBody;
624
+ };
625
+ export type UserIdError = UserIdErrors[keyof UserIdErrors];
626
+ export type UserIdResponses = {
627
+ /**
628
+ * OK
629
+ */
630
+ 200: ClientUserId;
631
+ };
632
+ export type UserIdResponse = UserIdResponses[keyof UserIdResponses];
633
+ export type GetStressDetailsData = {
634
+ body?: never;
635
+ path?: never;
636
+ query?: {
637
+ /**
638
+ * A UTC timestamp representing the beginning of the time range to search.
639
+ * If this parameter is used it must be paired with uploadEndTimeInSeconds only.
640
+ *
641
+ */
642
+ uploadStartTimeInSeconds?: string;
643
+ /**
644
+ * A UTC timestamp representing the end of the time range to search.
645
+ * If this parameter is used it must be paired with uploadStartTimeInSeconds only.
646
+ *
647
+ */
648
+ uploadEndTimeInSeconds?: string;
649
+ /**
650
+ * Pull token required for OAuth2 integrations
651
+ */
652
+ token?: string;
653
+ };
654
+ url: '/rest/stressDetails';
655
+ };
656
+ export type GetStressDetailsErrors = {
657
+ /**
658
+ * Bad Request
659
+ */
660
+ 400: ErrorBody;
661
+ /**
662
+ * Unauthorized
663
+ */
664
+ 401: ErrorBody;
665
+ /**
666
+ * Forbidden
667
+ */
668
+ 403: ErrorBody;
669
+ /**
670
+ * Not Found
671
+ */
672
+ 404: ErrorBody;
673
+ /**
674
+ * Method Not Allowed
675
+ */
676
+ 405: ErrorBody;
677
+ /**
678
+ * Gone
679
+ */
680
+ 410: ErrorBody;
681
+ /**
682
+ * Precondition Failed
683
+ */
684
+ 412: ErrorBody;
685
+ /**
686
+ * Internal Server Error
687
+ */
688
+ 500: ErrorBody;
689
+ };
690
+ export type GetStressDetailsError = GetStressDetailsErrors[keyof GetStressDetailsErrors];
691
+ export type GetStressDetailsResponses = {
692
+ /**
693
+ * OK
694
+ */
695
+ 200: Array<ClientStress>;
696
+ };
697
+ export type GetStressDetailsResponse = GetStressDetailsResponses[keyof GetStressDetailsResponses];
698
+ export type GetSolarData = {
699
+ body?: never;
700
+ path?: never;
701
+ query?: {
702
+ /**
703
+ * A UTC timestamp representing the beginning of the time range to search.
704
+ * If this parameter is used it must be paired with uploadEndTimeInSeconds only.
705
+ *
706
+ */
707
+ uploadStartTimeInSeconds?: string;
708
+ /**
709
+ * A UTC timestamp representing the end of the time range to search.
710
+ * If this parameter is used it must be paired with uploadStartTimeInSeconds only.
711
+ *
712
+ */
713
+ uploadEndTimeInSeconds?: string;
714
+ /**
715
+ * Pull token required for OAuth2 integrations
716
+ */
717
+ token?: string;
718
+ };
719
+ url: '/rest/solarIntensity';
720
+ };
721
+ export type GetSolarErrors = {
722
+ /**
723
+ * Bad Request
724
+ */
725
+ 400: ErrorBody;
726
+ /**
727
+ * Unauthorized
728
+ */
729
+ 401: ErrorBody;
730
+ /**
731
+ * Forbidden
732
+ */
733
+ 403: ErrorBody;
734
+ /**
735
+ * Not Found
736
+ */
737
+ 404: ErrorBody;
738
+ /**
739
+ * Method Not Allowed
740
+ */
741
+ 405: ErrorBody;
742
+ /**
743
+ * Gone
744
+ */
745
+ 410: ErrorBody;
746
+ /**
747
+ * Precondition Failed
748
+ */
749
+ 412: ErrorBody;
750
+ /**
751
+ * Internal Server Error
752
+ */
753
+ 500: ErrorBody;
754
+ };
755
+ export type GetSolarError = GetSolarErrors[keyof GetSolarErrors];
756
+ export type GetSolarResponses = {
757
+ /**
758
+ * OK
759
+ */
760
+ 200: Array<ClientSolar>;
761
+ };
762
+ export type GetSolarResponse = GetSolarResponses[keyof GetSolarResponses];
763
+ export type GetSleepsData = {
764
+ body?: never;
765
+ path?: never;
766
+ query?: {
767
+ /**
768
+ * A UTC timestamp representing the beginning of the time range to search.
769
+ * If this parameter is used it must be paired with uploadEndTimeInSeconds only.
770
+ *
771
+ */
772
+ uploadStartTimeInSeconds?: string;
773
+ /**
774
+ * A UTC timestamp representing the end of the time range to search.
775
+ * If this parameter is used it must be paired with uploadStartTimeInSeconds only.
776
+ *
777
+ */
778
+ uploadEndTimeInSeconds?: string;
779
+ /**
780
+ * Pull token required for OAuth2 integrations
781
+ */
782
+ token?: string;
783
+ };
784
+ url: '/rest/sleeps';
785
+ };
786
+ export type GetSleepsErrors = {
787
+ /**
788
+ * Bad Request
789
+ */
790
+ 400: ErrorBody;
791
+ /**
792
+ * Unauthorized
793
+ */
794
+ 401: ErrorBody;
795
+ /**
796
+ * Forbidden
797
+ */
798
+ 403: ErrorBody;
799
+ /**
800
+ * Not Found
801
+ */
802
+ 404: ErrorBody;
803
+ /**
804
+ * Method Not Allowed
805
+ */
806
+ 405: ErrorBody;
807
+ /**
808
+ * Gone
809
+ */
810
+ 410: ErrorBody;
811
+ /**
812
+ * Precondition Failed
813
+ */
814
+ 412: ErrorBody;
815
+ /**
816
+ * Internal Server Error
817
+ */
818
+ 500: ErrorBody;
819
+ };
820
+ export type GetSleepsError = GetSleepsErrors[keyof GetSleepsErrors];
821
+ export type GetSleepsResponses = {
822
+ /**
823
+ * OK
824
+ */
825
+ 200: Array<ClientSleep>;
826
+ };
827
+ export type GetSleepsResponse = GetSleepsResponses[keyof GetSleepsResponses];
828
+ export type GetSkinTempData = {
829
+ body?: never;
830
+ path?: never;
831
+ query?: {
832
+ /**
833
+ * A UTC timestamp representing the beginning of the time range to search.
834
+ * If this parameter is used it must be paired with uploadEndTimeInSeconds only.
835
+ *
836
+ */
837
+ uploadStartTimeInSeconds?: string;
838
+ /**
839
+ * A UTC timestamp representing the end of the time range to search.
840
+ * If this parameter is used it must be paired with uploadStartTimeInSeconds only.
841
+ *
842
+ */
843
+ uploadEndTimeInSeconds?: string;
844
+ /**
845
+ * Pull token required for OAuth2 integrations
846
+ */
847
+ token?: string;
848
+ };
849
+ url: '/rest/skinTemp';
850
+ };
851
+ export type GetSkinTempErrors = {
852
+ /**
853
+ * Bad Request
854
+ */
855
+ 400: ErrorBody;
856
+ /**
857
+ * Unauthorized
858
+ */
859
+ 401: ErrorBody;
860
+ /**
861
+ * Forbidden
862
+ */
863
+ 403: ErrorBody;
864
+ /**
865
+ * Not Found
866
+ */
867
+ 404: ErrorBody;
868
+ /**
869
+ * Method Not Allowed
870
+ */
871
+ 405: ErrorBody;
872
+ /**
873
+ * Gone
874
+ */
875
+ 410: ErrorBody;
876
+ /**
877
+ * Precondition Failed
878
+ */
879
+ 412: ErrorBody;
880
+ /**
881
+ * Internal Server Error
882
+ */
883
+ 500: ErrorBody;
884
+ };
885
+ export type GetSkinTempError = GetSkinTempErrors[keyof GetSkinTempErrors];
886
+ export type GetSkinTempResponses = {
887
+ /**
888
+ * OK
889
+ */
890
+ 200: Array<ClientSkinTemp>;
891
+ };
892
+ export type GetSkinTempResponse = GetSkinTempResponses[keyof GetSkinTempResponses];
893
+ export type GetRespirationData = {
894
+ body?: never;
895
+ path?: never;
896
+ query?: {
897
+ /**
898
+ * A UTC timestamp representing the beginning of the time range to search.
899
+ * If this parameter is used it must be paired with uploadEndTimeInSeconds only.
900
+ *
901
+ */
902
+ uploadStartTimeInSeconds?: string;
903
+ /**
904
+ * A UTC timestamp representing the end of the time range to search.
905
+ * If this parameter is used it must be paired with uploadStartTimeInSeconds only.
906
+ *
907
+ */
908
+ uploadEndTimeInSeconds?: string;
909
+ /**
910
+ * Pull token required for OAuth2 integrations
911
+ */
912
+ token?: string;
913
+ };
914
+ url: '/rest/respiration';
915
+ };
916
+ export type GetRespirationErrors = {
917
+ /**
918
+ * Bad Request
919
+ */
920
+ 400: ErrorBody;
921
+ /**
922
+ * Unauthorized
923
+ */
924
+ 401: ErrorBody;
925
+ /**
926
+ * Forbidden
927
+ */
928
+ 403: ErrorBody;
929
+ /**
930
+ * Not Found
931
+ */
932
+ 404: ErrorBody;
933
+ /**
934
+ * Method Not Allowed
935
+ */
936
+ 405: ErrorBody;
937
+ /**
938
+ * Gone
939
+ */
940
+ 410: ErrorBody;
941
+ /**
942
+ * Precondition Failed
943
+ */
944
+ 412: ErrorBody;
945
+ /**
946
+ * Internal Server Error
947
+ */
948
+ 500: ErrorBody;
949
+ };
950
+ export type GetRespirationError = GetRespirationErrors[keyof GetRespirationErrors];
951
+ export type GetRespirationResponses = {
952
+ /**
953
+ * OK
954
+ */
955
+ 200: Array<ClientRespiration>;
956
+ };
957
+ export type GetRespirationResponse = GetRespirationResponses[keyof GetRespirationResponses];
958
+ export type GetPulseoxData = {
959
+ body?: never;
960
+ path?: never;
961
+ query?: {
962
+ /**
963
+ * A UTC timestamp representing the beginning of the time range to search.
964
+ * If this parameter is used it must be paired with uploadEndTimeInSeconds only.
965
+ *
966
+ */
967
+ uploadStartTimeInSeconds?: string;
968
+ /**
969
+ * A UTC timestamp representing the end of the time range to search.
970
+ * If this parameter is used it must be paired with uploadStartTimeInSeconds only.
971
+ *
972
+ */
973
+ uploadEndTimeInSeconds?: string;
974
+ /**
975
+ * Pull token required for OAuth2 integrations
976
+ */
977
+ token?: string;
978
+ };
979
+ url: '/rest/pulseOx';
980
+ };
981
+ export type GetPulseoxErrors = {
982
+ /**
983
+ * Bad Request
984
+ */
985
+ 400: ErrorBody;
986
+ /**
987
+ * Unauthorized
988
+ */
989
+ 401: ErrorBody;
990
+ /**
991
+ * Forbidden
992
+ */
993
+ 403: ErrorBody;
994
+ /**
995
+ * Not Found
996
+ */
997
+ 404: ErrorBody;
998
+ /**
999
+ * Method Not Allowed
1000
+ */
1001
+ 405: ErrorBody;
1002
+ /**
1003
+ * Gone
1004
+ */
1005
+ 410: ErrorBody;
1006
+ /**
1007
+ * Precondition Failed
1008
+ */
1009
+ 412: ErrorBody;
1010
+ /**
1011
+ * Internal Server Error
1012
+ */
1013
+ 500: ErrorBody;
1014
+ };
1015
+ export type GetPulseoxError = GetPulseoxErrors[keyof GetPulseoxErrors];
1016
+ export type GetPulseoxResponses = {
1017
+ /**
1018
+ * OK
1019
+ */
1020
+ 200: Array<ClientDailySpo2Acclimation>;
1021
+ };
1022
+ export type GetPulseoxResponse = GetPulseoxResponses[keyof GetPulseoxResponses];
1023
+ export type GetMoveIqData = {
1024
+ body?: never;
1025
+ path?: never;
1026
+ query?: {
1027
+ /**
1028
+ * A UTC timestamp representing the beginning of the time range to search.
1029
+ * If this parameter is used it must be paired with uploadEndTimeInSeconds only.
1030
+ *
1031
+ */
1032
+ uploadStartTimeInSeconds?: string;
1033
+ /**
1034
+ * A UTC timestamp representing the end of the time range to search.
1035
+ * If this parameter is used it must be paired with uploadStartTimeInSeconds only.
1036
+ *
1037
+ */
1038
+ uploadEndTimeInSeconds?: string;
1039
+ /**
1040
+ * Pull token required for OAuth2 integrations
1041
+ */
1042
+ token?: string;
1043
+ };
1044
+ url: '/rest/moveiq';
1045
+ };
1046
+ export type GetMoveIqErrors = {
1047
+ /**
1048
+ * Bad Request
1049
+ */
1050
+ 400: ErrorBody;
1051
+ /**
1052
+ * Unauthorized
1053
+ */
1054
+ 401: ErrorBody;
1055
+ /**
1056
+ * Forbidden
1057
+ */
1058
+ 403: ErrorBody;
1059
+ /**
1060
+ * Not Found
1061
+ */
1062
+ 404: ErrorBody;
1063
+ /**
1064
+ * Method Not Allowed
1065
+ */
1066
+ 405: ErrorBody;
1067
+ /**
1068
+ * Gone
1069
+ */
1070
+ 410: ErrorBody;
1071
+ /**
1072
+ * Precondition Failed
1073
+ */
1074
+ 412: ErrorBody;
1075
+ /**
1076
+ * Internal Server Error
1077
+ */
1078
+ 500: ErrorBody;
1079
+ };
1080
+ export type GetMoveIqError = GetMoveIqErrors[keyof GetMoveIqErrors];
1081
+ export type GetMoveIqResponses = {
1082
+ /**
1083
+ * OK
1084
+ */
1085
+ 200: Array<ClientAutoActivityMoveIq>;
1086
+ };
1087
+ export type GetMoveIqResponse = GetMoveIqResponses[keyof GetMoveIqResponses];
1088
+ export type GetMctData = {
1089
+ body?: never;
1090
+ path?: never;
1091
+ query?: {
1092
+ /**
1093
+ * A UTC timestamp representing the beginning of the time range to search.
1094
+ * If this parameter is used it must be paired with uploadEndTimeInSeconds only.
1095
+ *
1096
+ */
1097
+ uploadStartTimeInSeconds?: string;
1098
+ /**
1099
+ * A UTC timestamp representing the end of the time range to search.
1100
+ * If this parameter is used it must be paired with uploadStartTimeInSeconds only.
1101
+ *
1102
+ */
1103
+ uploadEndTimeInSeconds?: string;
1104
+ /**
1105
+ * Pull token required for OAuth2 integrations
1106
+ */
1107
+ token?: string;
1108
+ };
1109
+ url: '/rest/mct';
1110
+ };
1111
+ export type GetMctErrors = {
1112
+ /**
1113
+ * Bad Request
1114
+ */
1115
+ 400: ErrorBody;
1116
+ /**
1117
+ * Unauthorized
1118
+ */
1119
+ 401: ErrorBody;
1120
+ /**
1121
+ * Forbidden
1122
+ */
1123
+ 403: ErrorBody;
1124
+ /**
1125
+ * Not Found
1126
+ */
1127
+ 404: ErrorBody;
1128
+ /**
1129
+ * Method Not Allowed
1130
+ */
1131
+ 405: ErrorBody;
1132
+ /**
1133
+ * Gone
1134
+ */
1135
+ 410: ErrorBody;
1136
+ /**
1137
+ * Precondition Failed
1138
+ */
1139
+ 412: ErrorBody;
1140
+ /**
1141
+ * Internal Server Error
1142
+ */
1143
+ 500: ErrorBody;
1144
+ };
1145
+ export type GetMctError = GetMctErrors[keyof GetMctErrors];
1146
+ export type GetMctResponses = {
1147
+ /**
1148
+ * OK
1149
+ */
1150
+ 200: Array<ClientSummarizedMenstrualCycle>;
1151
+ };
1152
+ export type GetMctResponse = GetMctResponses[keyof GetMctResponses];
1153
+ export type GetManuallyUpdatedActivitiesData = {
1154
+ body?: never;
1155
+ path?: never;
1156
+ query?: {
1157
+ /**
1158
+ * A UTC timestamp representing the beginning of the time range to search.
1159
+ * If this parameter is used it must be paired with uploadEndTimeInSeconds only.
1160
+ *
1161
+ */
1162
+ uploadStartTimeInSeconds?: string;
1163
+ /**
1164
+ * A UTC timestamp representing the end of the time range to search.
1165
+ * If this parameter is used it must be paired with uploadStartTimeInSeconds only.
1166
+ *
1167
+ */
1168
+ uploadEndTimeInSeconds?: string;
1169
+ /**
1170
+ * Pull token required for OAuth2 integrations
1171
+ */
1172
+ token?: string;
1173
+ };
1174
+ url: '/rest/manuallyUpdatedActivities';
1175
+ };
1176
+ export type GetManuallyUpdatedActivitiesErrors = {
1177
+ /**
1178
+ * Bad Request
1179
+ */
1180
+ 400: ErrorBody;
1181
+ /**
1182
+ * Unauthorized
1183
+ */
1184
+ 401: ErrorBody;
1185
+ /**
1186
+ * Forbidden
1187
+ */
1188
+ 403: ErrorBody;
1189
+ /**
1190
+ * Not Found
1191
+ */
1192
+ 404: ErrorBody;
1193
+ /**
1194
+ * Method Not Allowed
1195
+ */
1196
+ 405: ErrorBody;
1197
+ /**
1198
+ * Gone
1199
+ */
1200
+ 410: ErrorBody;
1201
+ /**
1202
+ * Precondition Failed
1203
+ */
1204
+ 412: ErrorBody;
1205
+ /**
1206
+ * Internal Server Error
1207
+ */
1208
+ 500: ErrorBody;
1209
+ };
1210
+ export type GetManuallyUpdatedActivitiesError = GetManuallyUpdatedActivitiesErrors[keyof GetManuallyUpdatedActivitiesErrors];
1211
+ export type GetManuallyUpdatedActivitiesResponses = {
1212
+ /**
1213
+ * OK
1214
+ */
1215
+ 200: Array<ClientActivity>;
1216
+ };
1217
+ export type GetManuallyUpdatedActivitiesResponse = GetManuallyUpdatedActivitiesResponses[keyof GetManuallyUpdatedActivitiesResponses];
1218
+ export type GetHrvData = {
1219
+ body?: never;
1220
+ path?: never;
1221
+ query?: {
1222
+ /**
1223
+ * A UTC timestamp representing the beginning of the time range to search.
1224
+ * If this parameter is used it must be paired with uploadEndTimeInSeconds only.
1225
+ *
1226
+ */
1227
+ uploadStartTimeInSeconds?: string;
1228
+ /**
1229
+ * A UTC timestamp representing the end of the time range to search.
1230
+ * If this parameter is used it must be paired with uploadStartTimeInSeconds only.
1231
+ *
1232
+ */
1233
+ uploadEndTimeInSeconds?: string;
1234
+ /**
1235
+ * Pull token required for OAuth2 integrations
1236
+ */
1237
+ token?: string;
1238
+ };
1239
+ url: '/rest/hrv';
1240
+ };
1241
+ export type GetHrvErrors = {
1242
+ /**
1243
+ * Bad Request
1244
+ */
1245
+ 400: ErrorBody;
1246
+ /**
1247
+ * Unauthorized
1248
+ */
1249
+ 401: ErrorBody;
1250
+ /**
1251
+ * Forbidden
1252
+ */
1253
+ 403: ErrorBody;
1254
+ /**
1255
+ * Not Found
1256
+ */
1257
+ 404: ErrorBody;
1258
+ /**
1259
+ * Method Not Allowed
1260
+ */
1261
+ 405: ErrorBody;
1262
+ /**
1263
+ * Gone
1264
+ */
1265
+ 410: ErrorBody;
1266
+ /**
1267
+ * Precondition Failed
1268
+ */
1269
+ 412: ErrorBody;
1270
+ /**
1271
+ * Internal Server Error
1272
+ */
1273
+ 500: ErrorBody;
1274
+ };
1275
+ export type GetHrvError = GetHrvErrors[keyof GetHrvErrors];
1276
+ export type GetHrvResponses = {
1277
+ /**
1278
+ * OK
1279
+ */
1280
+ 200: Array<ClientHrvSummary>;
1281
+ };
1282
+ export type GetHrvResponse = GetHrvResponses[keyof GetHrvResponses];
1283
+ export type GetHealthsnapshotData = {
1284
+ body?: never;
1285
+ path?: never;
1286
+ query?: {
1287
+ /**
1288
+ * A UTC timestamp representing the beginning of the time range to search.
1289
+ * If this parameter is used it must be paired with uploadEndTimeInSeconds only.
1290
+ *
1291
+ */
1292
+ uploadStartTimeInSeconds?: string;
1293
+ /**
1294
+ * A UTC timestamp representing the end of the time range to search.
1295
+ * If this parameter is used it must be paired with uploadStartTimeInSeconds only.
1296
+ *
1297
+ */
1298
+ uploadEndTimeInSeconds?: string;
1299
+ /**
1300
+ * Pull token required for OAuth2 integrations
1301
+ */
1302
+ token?: string;
1303
+ };
1304
+ url: '/rest/healthSnapshot';
1305
+ };
1306
+ export type GetHealthsnapshotErrors = {
1307
+ /**
1308
+ * Bad Request
1309
+ */
1310
+ 400: ErrorBody;
1311
+ /**
1312
+ * Unauthorized
1313
+ */
1314
+ 401: ErrorBody;
1315
+ /**
1316
+ * Forbidden
1317
+ */
1318
+ 403: ErrorBody;
1319
+ /**
1320
+ * Not Found
1321
+ */
1322
+ 404: ErrorBody;
1323
+ /**
1324
+ * Method Not Allowed
1325
+ */
1326
+ 405: ErrorBody;
1327
+ /**
1328
+ * Gone
1329
+ */
1330
+ 410: ErrorBody;
1331
+ /**
1332
+ * Precondition Failed
1333
+ */
1334
+ 412: ErrorBody;
1335
+ /**
1336
+ * Internal Server Error
1337
+ */
1338
+ 500: ErrorBody;
1339
+ };
1340
+ export type GetHealthsnapshotError = GetHealthsnapshotErrors[keyof GetHealthsnapshotErrors];
1341
+ export type GetHealthsnapshotResponses = {
1342
+ /**
1343
+ * OK
1344
+ */
1345
+ 200: Array<ClientHealthSnapshot>;
1346
+ };
1347
+ export type GetHealthsnapshotResponse = GetHealthsnapshotResponses[keyof GetHealthsnapshotResponses];
1348
+ export type GetEpochsData = {
1349
+ body?: never;
1350
+ path?: never;
1351
+ query?: {
1352
+ /**
1353
+ * A UTC timestamp representing the beginning of the time range to search.
1354
+ * If this parameter is used it must be paired with uploadEndTimeInSeconds only.
1355
+ *
1356
+ */
1357
+ uploadStartTimeInSeconds?: string;
1358
+ /**
1359
+ * A UTC timestamp representing the end of the time range to search.
1360
+ * If this parameter is used it must be paired with uploadStartTimeInSeconds only.
1361
+ *
1362
+ */
1363
+ uploadEndTimeInSeconds?: string;
1364
+ /**
1365
+ * Pull token required for OAuth2 integrations
1366
+ */
1367
+ token?: string;
1368
+ };
1369
+ url: '/rest/epochs';
1370
+ };
1371
+ export type GetEpochsErrors = {
1372
+ /**
1373
+ * Bad Request
1374
+ */
1375
+ 400: ErrorBody;
1376
+ /**
1377
+ * Unauthorized
1378
+ */
1379
+ 401: ErrorBody;
1380
+ /**
1381
+ * Forbidden
1382
+ */
1383
+ 403: ErrorBody;
1384
+ /**
1385
+ * Not Found
1386
+ */
1387
+ 404: ErrorBody;
1388
+ /**
1389
+ * Method Not Allowed
1390
+ */
1391
+ 405: ErrorBody;
1392
+ /**
1393
+ * Gone
1394
+ */
1395
+ 410: ErrorBody;
1396
+ /**
1397
+ * Precondition Failed
1398
+ */
1399
+ 412: ErrorBody;
1400
+ /**
1401
+ * Internal Server Error
1402
+ */
1403
+ 500: ErrorBody;
1404
+ };
1405
+ export type GetEpochsError = GetEpochsErrors[keyof GetEpochsErrors];
1406
+ export type GetEpochsResponses = {
1407
+ /**
1408
+ * OK
1409
+ */
1410
+ 200: Array<ClientEpoch>;
1411
+ };
1412
+ export type GetEpochsResponse = GetEpochsResponses[keyof GetEpochsResponses];
1413
+ export type GetDailiesData = {
1414
+ body?: never;
1415
+ path?: never;
1416
+ query?: {
1417
+ /**
1418
+ * A UTC timestamp representing the beginning of the time range to search.
1419
+ * If this parameter is used it must be paired with uploadEndTimeInSeconds only.
1420
+ *
1421
+ */
1422
+ uploadStartTimeInSeconds?: string;
1423
+ /**
1424
+ * A UTC timestamp representing the end of the time range to search.
1425
+ * If this parameter is used it must be paired with uploadStartTimeInSeconds only.
1426
+ *
1427
+ */
1428
+ uploadEndTimeInSeconds?: string;
1429
+ /**
1430
+ * Pull token required for OAuth2 integrations
1431
+ */
1432
+ token?: string;
1433
+ };
1434
+ url: '/rest/dailies';
1435
+ };
1436
+ export type GetDailiesErrors = {
1437
+ /**
1438
+ * Bad Request
1439
+ */
1440
+ 400: ErrorBody;
1441
+ /**
1442
+ * Unauthorized
1443
+ */
1444
+ 401: ErrorBody;
1445
+ /**
1446
+ * Forbidden
1447
+ */
1448
+ 403: ErrorBody;
1449
+ /**
1450
+ * Not Found
1451
+ */
1452
+ 404: ErrorBody;
1453
+ /**
1454
+ * Method Not Allowed
1455
+ */
1456
+ 405: ErrorBody;
1457
+ /**
1458
+ * Gone
1459
+ */
1460
+ 410: ErrorBody;
1461
+ /**
1462
+ * Precondition Failed
1463
+ */
1464
+ 412: ErrorBody;
1465
+ /**
1466
+ * Internal Server Error
1467
+ */
1468
+ 500: ErrorBody;
1469
+ };
1470
+ export type GetDailiesError = GetDailiesErrors[keyof GetDailiesErrors];
1471
+ export type GetDailiesResponses = {
1472
+ /**
1473
+ * OK
1474
+ */
1475
+ 200: Array<ClientDaily>;
1476
+ };
1477
+ export type GetDailiesResponse = GetDailiesResponses[keyof GetDailiesResponses];
1478
+ export type GetBodyCompsData = {
1479
+ body?: never;
1480
+ path?: never;
1481
+ query?: {
1482
+ /**
1483
+ * A UTC timestamp representing the beginning of the time range to search.
1484
+ * If this parameter is used it must be paired with uploadEndTimeInSeconds only.
1485
+ *
1486
+ */
1487
+ uploadStartTimeInSeconds?: string;
1488
+ /**
1489
+ * A UTC timestamp representing the end of the time range to search.
1490
+ * If this parameter is used it must be paired with uploadStartTimeInSeconds only.
1491
+ *
1492
+ */
1493
+ uploadEndTimeInSeconds?: string;
1494
+ /**
1495
+ * Pull token required for OAuth2 integrations
1496
+ */
1497
+ token?: string;
1498
+ };
1499
+ url: '/rest/bodyComps';
1500
+ };
1501
+ export type GetBodyCompsErrors = {
1502
+ /**
1503
+ * Bad Request
1504
+ */
1505
+ 400: ErrorBody;
1506
+ /**
1507
+ * Unauthorized
1508
+ */
1509
+ 401: ErrorBody;
1510
+ /**
1511
+ * Forbidden
1512
+ */
1513
+ 403: ErrorBody;
1514
+ /**
1515
+ * Not Found
1516
+ */
1517
+ 404: ErrorBody;
1518
+ /**
1519
+ * Method Not Allowed
1520
+ */
1521
+ 405: ErrorBody;
1522
+ /**
1523
+ * Gone
1524
+ */
1525
+ 410: ErrorBody;
1526
+ /**
1527
+ * Precondition Failed
1528
+ */
1529
+ 412: ErrorBody;
1530
+ /**
1531
+ * Internal Server Error
1532
+ */
1533
+ 500: ErrorBody;
1534
+ };
1535
+ export type GetBodyCompsError = GetBodyCompsErrors[keyof GetBodyCompsErrors];
1536
+ export type GetBodyCompsResponses = {
1537
+ /**
1538
+ * OK
1539
+ */
1540
+ 200: Array<ClientBodyComp>;
1541
+ };
1542
+ export type GetBodyCompsResponse = GetBodyCompsResponses[keyof GetBodyCompsResponses];
1543
+ export type GetBloodPressuresData = {
1544
+ body?: never;
1545
+ path?: never;
1546
+ query?: {
1547
+ /**
1548
+ * A UTC timestamp representing the beginning of the time range to search.
1549
+ * If this parameter is used it must be paired with uploadEndTimeInSeconds only.
1550
+ *
1551
+ */
1552
+ uploadStartTimeInSeconds?: string;
1553
+ /**
1554
+ * A UTC timestamp representing the end of the time range to search.
1555
+ * If this parameter is used it must be paired with uploadStartTimeInSeconds only.
1556
+ *
1557
+ */
1558
+ uploadEndTimeInSeconds?: string;
1559
+ /**
1560
+ * Pull token required for OAuth2 integrations
1561
+ */
1562
+ token?: string;
1563
+ };
1564
+ url: '/rest/bloodPressures';
1565
+ };
1566
+ export type GetBloodPressuresErrors = {
1567
+ /**
1568
+ * Bad Request
1569
+ */
1570
+ 400: ErrorBody;
1571
+ /**
1572
+ * Unauthorized
1573
+ */
1574
+ 401: ErrorBody;
1575
+ /**
1576
+ * Forbidden
1577
+ */
1578
+ 403: ErrorBody;
1579
+ /**
1580
+ * Not Found
1581
+ */
1582
+ 404: ErrorBody;
1583
+ /**
1584
+ * Method Not Allowed
1585
+ */
1586
+ 405: ErrorBody;
1587
+ /**
1588
+ * Gone
1589
+ */
1590
+ 410: ErrorBody;
1591
+ /**
1592
+ * Precondition Failed
1593
+ */
1594
+ 412: ErrorBody;
1595
+ /**
1596
+ * Internal Server Error
1597
+ */
1598
+ 500: ErrorBody;
1599
+ };
1600
+ export type GetBloodPressuresError = GetBloodPressuresErrors[keyof GetBloodPressuresErrors];
1601
+ export type GetBloodPressuresResponses = {
1602
+ /**
1603
+ * OK
1604
+ */
1605
+ 200: Array<ClientBloodPressure>;
1606
+ };
1607
+ export type GetBloodPressuresResponse = GetBloodPressuresResponses[keyof GetBloodPressuresResponses];
1608
+ export type GetBackfillUserMetricsData = {
1609
+ body?: never;
1610
+ path?: never;
1611
+ query?: {
1612
+ /**
1613
+ * A UTC timestamp representing the beginning of the time range to search. This is a required parameter.
1614
+ */
1615
+ summaryStartTimeInSeconds?: string;
1616
+ /**
1617
+ * A UTC timestamp representing the end of the time range to search. This is a required parameter.
1618
+ */
1619
+ summaryEndTimeInSeconds?: string;
1620
+ };
1621
+ url: '/rest/backfill/userMetrics';
1622
+ };
1623
+ export type GetBackfillUserMetricsErrors = {
1624
+ /**
1625
+ * Bad Request
1626
+ */
1627
+ 400: ErrorBody;
1628
+ /**
1629
+ * Unauthorized
1630
+ */
1631
+ 401: ErrorBody;
1632
+ /**
1633
+ * Forbidden
1634
+ */
1635
+ 403: ErrorBody;
1636
+ /**
1637
+ * Not Found
1638
+ */
1639
+ 404: ErrorBody;
1640
+ /**
1641
+ * Method Not Allowed
1642
+ */
1643
+ 405: ErrorBody;
1644
+ /**
1645
+ * Gone
1646
+ */
1647
+ 410: ErrorBody;
1648
+ /**
1649
+ * Precondition Failed
1650
+ */
1651
+ 412: ErrorBody;
1652
+ /**
1653
+ * Internal Server Error
1654
+ */
1655
+ 500: ErrorBody;
1656
+ };
1657
+ export type GetBackfillUserMetricsError = GetBackfillUserMetricsErrors[keyof GetBackfillUserMetricsErrors];
1658
+ export type GetBackfillUserMetricsResponses = {
1659
+ /**
1660
+ * Accepted
1661
+ */
1662
+ 202: unknown;
1663
+ };
1664
+ export type GetBackfillStressDetailsData = {
1665
+ body?: never;
1666
+ path?: never;
1667
+ query?: {
1668
+ /**
1669
+ * A UTC timestamp representing the beginning of the time range to search. This is a required parameter.
1670
+ */
1671
+ summaryStartTimeInSeconds?: string;
1672
+ /**
1673
+ * A UTC timestamp representing the end of the time range to search. This is a required parameter.
1674
+ */
1675
+ summaryEndTimeInSeconds?: string;
1676
+ };
1677
+ url: '/rest/backfill/stressDetails';
1678
+ };
1679
+ export type GetBackfillStressDetailsErrors = {
1680
+ /**
1681
+ * Bad Request
1682
+ */
1683
+ 400: ErrorBody;
1684
+ /**
1685
+ * Unauthorized
1686
+ */
1687
+ 401: ErrorBody;
1688
+ /**
1689
+ * Forbidden
1690
+ */
1691
+ 403: ErrorBody;
1692
+ /**
1693
+ * Not Found
1694
+ */
1695
+ 404: ErrorBody;
1696
+ /**
1697
+ * Method Not Allowed
1698
+ */
1699
+ 405: ErrorBody;
1700
+ /**
1701
+ * Gone
1702
+ */
1703
+ 410: ErrorBody;
1704
+ /**
1705
+ * Precondition Failed
1706
+ */
1707
+ 412: ErrorBody;
1708
+ /**
1709
+ * Internal Server Error
1710
+ */
1711
+ 500: ErrorBody;
1712
+ };
1713
+ export type GetBackfillStressDetailsError = GetBackfillStressDetailsErrors[keyof GetBackfillStressDetailsErrors];
1714
+ export type GetBackfillStressDetailsResponses = {
1715
+ /**
1716
+ * Accepted
1717
+ */
1718
+ 202: unknown;
1719
+ };
1720
+ export type GetBackfillSleepsData = {
1721
+ body?: never;
1722
+ path?: never;
1723
+ query?: {
1724
+ /**
1725
+ * A UTC timestamp representing the beginning of the time range to search. This is a required parameter.
1726
+ */
1727
+ summaryStartTimeInSeconds?: string;
1728
+ /**
1729
+ * A UTC timestamp representing the end of the time range to search. This is a required parameter.
1730
+ */
1731
+ summaryEndTimeInSeconds?: string;
1732
+ };
1733
+ url: '/rest/backfill/sleeps';
1734
+ };
1735
+ export type GetBackfillSleepsErrors = {
1736
+ /**
1737
+ * Bad Request
1738
+ */
1739
+ 400: ErrorBody;
1740
+ /**
1741
+ * Unauthorized
1742
+ */
1743
+ 401: ErrorBody;
1744
+ /**
1745
+ * Forbidden
1746
+ */
1747
+ 403: ErrorBody;
1748
+ /**
1749
+ * Not Found
1750
+ */
1751
+ 404: ErrorBody;
1752
+ /**
1753
+ * Method Not Allowed
1754
+ */
1755
+ 405: ErrorBody;
1756
+ /**
1757
+ * Gone
1758
+ */
1759
+ 410: ErrorBody;
1760
+ /**
1761
+ * Precondition Failed
1762
+ */
1763
+ 412: ErrorBody;
1764
+ /**
1765
+ * Internal Server Error
1766
+ */
1767
+ 500: ErrorBody;
1768
+ };
1769
+ export type GetBackfillSleepsError = GetBackfillSleepsErrors[keyof GetBackfillSleepsErrors];
1770
+ export type GetBackfillSleepsResponses = {
1771
+ /**
1772
+ * Accepted
1773
+ */
1774
+ 202: unknown;
1775
+ };
1776
+ export type GetBackfillSkinTempData = {
1777
+ body?: never;
1778
+ path?: never;
1779
+ query?: {
1780
+ /**
1781
+ * A UTC timestamp representing the beginning of the time range to search. This is a required parameter.
1782
+ */
1783
+ summaryStartTimeInSeconds?: string;
1784
+ /**
1785
+ * A UTC timestamp representing the end of the time range to search. This is a required parameter.
1786
+ */
1787
+ summaryEndTimeInSeconds?: string;
1788
+ };
1789
+ url: '/rest/backfill/skinTemp';
1790
+ };
1791
+ export type GetBackfillSkinTempErrors = {
1792
+ /**
1793
+ * Bad Request
1794
+ */
1795
+ 400: ErrorBody;
1796
+ /**
1797
+ * Unauthorized
1798
+ */
1799
+ 401: ErrorBody;
1800
+ /**
1801
+ * Forbidden
1802
+ */
1803
+ 403: ErrorBody;
1804
+ /**
1805
+ * Not Found
1806
+ */
1807
+ 404: ErrorBody;
1808
+ /**
1809
+ * Method Not Allowed
1810
+ */
1811
+ 405: ErrorBody;
1812
+ /**
1813
+ * Gone
1814
+ */
1815
+ 410: ErrorBody;
1816
+ /**
1817
+ * Precondition Failed
1818
+ */
1819
+ 412: ErrorBody;
1820
+ /**
1821
+ * Internal Server Error
1822
+ */
1823
+ 500: ErrorBody;
1824
+ };
1825
+ export type GetBackfillSkinTempError = GetBackfillSkinTempErrors[keyof GetBackfillSkinTempErrors];
1826
+ export type GetBackfillSkinTempResponses = {
1827
+ /**
1828
+ * Accepted
1829
+ */
1830
+ 202: unknown;
1831
+ };
1832
+ export type GetBackfillRespirationEpochData = {
1833
+ body?: never;
1834
+ path?: never;
1835
+ query?: {
1836
+ /**
1837
+ * A UTC timestamp representing the beginning of the time range to search. This is a required parameter.
1838
+ */
1839
+ summaryStartTimeInSeconds?: string;
1840
+ /**
1841
+ * A UTC timestamp representing the end of the time range to search. This is a required parameter.
1842
+ */
1843
+ summaryEndTimeInSeconds?: string;
1844
+ };
1845
+ url: '/rest/backfill/respiration';
1846
+ };
1847
+ export type GetBackfillRespirationEpochErrors = {
1848
+ /**
1849
+ * Bad Request
1850
+ */
1851
+ 400: ErrorBody;
1852
+ /**
1853
+ * Unauthorized
1854
+ */
1855
+ 401: ErrorBody;
1856
+ /**
1857
+ * Forbidden
1858
+ */
1859
+ 403: ErrorBody;
1860
+ /**
1861
+ * Not Found
1862
+ */
1863
+ 404: ErrorBody;
1864
+ /**
1865
+ * Method Not Allowed
1866
+ */
1867
+ 405: ErrorBody;
1868
+ /**
1869
+ * Gone
1870
+ */
1871
+ 410: ErrorBody;
1872
+ /**
1873
+ * Precondition Failed
1874
+ */
1875
+ 412: ErrorBody;
1876
+ /**
1877
+ * Internal Server Error
1878
+ */
1879
+ 500: ErrorBody;
1880
+ };
1881
+ export type GetBackfillRespirationEpochError = GetBackfillRespirationEpochErrors[keyof GetBackfillRespirationEpochErrors];
1882
+ export type GetBackfillRespirationEpochResponses = {
1883
+ /**
1884
+ * Accepted
1885
+ */
1886
+ 202: unknown;
1887
+ };
1888
+ export type GetBackfillPulseoxData = {
1889
+ body?: never;
1890
+ path?: never;
1891
+ query?: {
1892
+ /**
1893
+ * A UTC timestamp representing the beginning of the time range to search. This is a required parameter.
1894
+ */
1895
+ summaryStartTimeInSeconds?: string;
1896
+ /**
1897
+ * A UTC timestamp representing the end of the time range to search. This is a required parameter.
1898
+ */
1899
+ summaryEndTimeInSeconds?: string;
1900
+ };
1901
+ url: '/rest/backfill/pulseOx';
1902
+ };
1903
+ export type GetBackfillPulseoxErrors = {
1904
+ /**
1905
+ * Bad Request
1906
+ */
1907
+ 400: ErrorBody;
1908
+ /**
1909
+ * Unauthorized
1910
+ */
1911
+ 401: ErrorBody;
1912
+ /**
1913
+ * Forbidden
1914
+ */
1915
+ 403: ErrorBody;
1916
+ /**
1917
+ * Not Found
1918
+ */
1919
+ 404: ErrorBody;
1920
+ /**
1921
+ * Method Not Allowed
1922
+ */
1923
+ 405: ErrorBody;
1924
+ /**
1925
+ * Gone
1926
+ */
1927
+ 410: ErrorBody;
1928
+ /**
1929
+ * Precondition Failed
1930
+ */
1931
+ 412: ErrorBody;
1932
+ /**
1933
+ * Internal Server Error
1934
+ */
1935
+ 500: ErrorBody;
1936
+ };
1937
+ export type GetBackfillPulseoxError = GetBackfillPulseoxErrors[keyof GetBackfillPulseoxErrors];
1938
+ export type GetBackfillPulseoxResponses = {
1939
+ /**
1940
+ * Accepted
1941
+ */
1942
+ 202: unknown;
1943
+ };
1944
+ export type GetBackfillAutoActivityMoveiqData = {
1945
+ body?: never;
1946
+ path?: never;
1947
+ query?: {
1948
+ /**
1949
+ * A UTC timestamp representing the beginning of the time range to search. This is a required parameter.
1950
+ */
1951
+ summaryStartTimeInSeconds?: string;
1952
+ /**
1953
+ * A UTC timestamp representing the end of the time range to search. This is a required parameter.
1954
+ */
1955
+ summaryEndTimeInSeconds?: string;
1956
+ };
1957
+ url: '/rest/backfill/moveiq';
1958
+ };
1959
+ export type GetBackfillAutoActivityMoveiqErrors = {
1960
+ /**
1961
+ * Bad Request
1962
+ */
1963
+ 400: ErrorBody;
1964
+ /**
1965
+ * Unauthorized
1966
+ */
1967
+ 401: ErrorBody;
1968
+ /**
1969
+ * Forbidden
1970
+ */
1971
+ 403: ErrorBody;
1972
+ /**
1973
+ * Not Found
1974
+ */
1975
+ 404: ErrorBody;
1976
+ /**
1977
+ * Method Not Allowed
1978
+ */
1979
+ 405: ErrorBody;
1980
+ /**
1981
+ * Gone
1982
+ */
1983
+ 410: ErrorBody;
1984
+ /**
1985
+ * Precondition Failed
1986
+ */
1987
+ 412: ErrorBody;
1988
+ /**
1989
+ * Internal Server Error
1990
+ */
1991
+ 500: ErrorBody;
1992
+ };
1993
+ export type GetBackfillAutoActivityMoveiqError = GetBackfillAutoActivityMoveiqErrors[keyof GetBackfillAutoActivityMoveiqErrors];
1994
+ export type GetBackfillAutoActivityMoveiqResponses = {
1995
+ /**
1996
+ * Accepted
1997
+ */
1998
+ 202: unknown;
1999
+ };
2000
+ export type GetBackfillMctData = {
2001
+ body?: never;
2002
+ path?: never;
2003
+ query?: {
2004
+ /**
2005
+ * A UTC timestamp representing the beginning of the time range to search. This is a required parameter.
2006
+ */
2007
+ summaryStartTimeInSeconds?: string;
2008
+ /**
2009
+ * A UTC timestamp representing the end of the time range to search. This is a required parameter.
2010
+ */
2011
+ summaryEndTimeInSeconds?: string;
2012
+ };
2013
+ url: '/rest/backfill/mct';
2014
+ };
2015
+ export type GetBackfillMctErrors = {
2016
+ /**
2017
+ * Bad Request
2018
+ */
2019
+ 400: ErrorBody;
2020
+ /**
2021
+ * Unauthorized
2022
+ */
2023
+ 401: ErrorBody;
2024
+ /**
2025
+ * Forbidden
2026
+ */
2027
+ 403: ErrorBody;
2028
+ /**
2029
+ * Not Found
2030
+ */
2031
+ 404: ErrorBody;
2032
+ /**
2033
+ * Method Not Allowed
2034
+ */
2035
+ 405: ErrorBody;
2036
+ /**
2037
+ * Gone
2038
+ */
2039
+ 410: ErrorBody;
2040
+ /**
2041
+ * Precondition Failed
2042
+ */
2043
+ 412: ErrorBody;
2044
+ /**
2045
+ * Internal Server Error
2046
+ */
2047
+ 500: ErrorBody;
2048
+ };
2049
+ export type GetBackfillMctError = GetBackfillMctErrors[keyof GetBackfillMctErrors];
2050
+ export type GetBackfillMctResponses = {
2051
+ /**
2052
+ * Accepted
2053
+ */
2054
+ 202: unknown;
2055
+ };
2056
+ export type GetBackfillHrvData = {
2057
+ body?: never;
2058
+ path?: never;
2059
+ query?: {
2060
+ /**
2061
+ * A UTC timestamp representing the beginning of the time range to search. This is a required parameter.
2062
+ */
2063
+ summaryStartTimeInSeconds?: string;
2064
+ /**
2065
+ * A UTC timestamp representing the end of the time range to search. This is a required parameter.
2066
+ */
2067
+ summaryEndTimeInSeconds?: string;
2068
+ };
2069
+ url: '/rest/backfill/hrv';
2070
+ };
2071
+ export type GetBackfillHrvErrors = {
2072
+ /**
2073
+ * Bad Request
2074
+ */
2075
+ 400: ErrorBody;
2076
+ /**
2077
+ * Unauthorized
2078
+ */
2079
+ 401: ErrorBody;
2080
+ /**
2081
+ * Forbidden
2082
+ */
2083
+ 403: ErrorBody;
2084
+ /**
2085
+ * Not Found
2086
+ */
2087
+ 404: ErrorBody;
2088
+ /**
2089
+ * Method Not Allowed
2090
+ */
2091
+ 405: ErrorBody;
2092
+ /**
2093
+ * Gone
2094
+ */
2095
+ 410: ErrorBody;
2096
+ /**
2097
+ * Precondition Failed
2098
+ */
2099
+ 412: ErrorBody;
2100
+ /**
2101
+ * Internal Server Error
2102
+ */
2103
+ 500: ErrorBody;
2104
+ };
2105
+ export type GetBackfillHrvError = GetBackfillHrvErrors[keyof GetBackfillHrvErrors];
2106
+ export type GetBackfillHrvResponses = {
2107
+ /**
2108
+ * Accepted
2109
+ */
2110
+ 202: unknown;
2111
+ };
2112
+ export type GetBackfillHealthSnapshotData = {
2113
+ body?: never;
2114
+ path?: never;
2115
+ query?: {
2116
+ /**
2117
+ * A UTC timestamp representing the beginning of the time range to search. This is a required parameter.
2118
+ */
2119
+ summaryStartTimeInSeconds?: string;
2120
+ /**
2121
+ * A UTC timestamp representing the end of the time range to search. This is a required parameter.
2122
+ */
2123
+ summaryEndTimeInSeconds?: string;
2124
+ };
2125
+ url: '/rest/backfill/healthSnapshot';
2126
+ };
2127
+ export type GetBackfillHealthSnapshotErrors = {
2128
+ /**
2129
+ * Bad Request
2130
+ */
2131
+ 400: ErrorBody;
2132
+ /**
2133
+ * Unauthorized
2134
+ */
2135
+ 401: ErrorBody;
2136
+ /**
2137
+ * Forbidden
2138
+ */
2139
+ 403: ErrorBody;
2140
+ /**
2141
+ * Not Found
2142
+ */
2143
+ 404: ErrorBody;
2144
+ /**
2145
+ * Method Not Allowed
2146
+ */
2147
+ 405: ErrorBody;
2148
+ /**
2149
+ * Gone
2150
+ */
2151
+ 410: ErrorBody;
2152
+ /**
2153
+ * Precondition Failed
2154
+ */
2155
+ 412: ErrorBody;
2156
+ /**
2157
+ * Internal Server Error
2158
+ */
2159
+ 500: ErrorBody;
2160
+ };
2161
+ export type GetBackfillHealthSnapshotError = GetBackfillHealthSnapshotErrors[keyof GetBackfillHealthSnapshotErrors];
2162
+ export type GetBackfillHealthSnapshotResponses = {
2163
+ /**
2164
+ * Accepted
2165
+ */
2166
+ 202: unknown;
2167
+ };
2168
+ export type GetBackfillEpochsData = {
2169
+ body?: never;
2170
+ path?: never;
2171
+ query?: {
2172
+ /**
2173
+ * A UTC timestamp representing the beginning of the time range to search. This is a required parameter.
2174
+ */
2175
+ summaryStartTimeInSeconds?: string;
2176
+ /**
2177
+ * A UTC timestamp representing the end of the time range to search. This is a required parameter.
2178
+ */
2179
+ summaryEndTimeInSeconds?: string;
2180
+ };
2181
+ url: '/rest/backfill/epochs';
2182
+ };
2183
+ export type GetBackfillEpochsErrors = {
2184
+ /**
2185
+ * Bad Request
2186
+ */
2187
+ 400: ErrorBody;
2188
+ /**
2189
+ * Unauthorized
2190
+ */
2191
+ 401: ErrorBody;
2192
+ /**
2193
+ * Forbidden
2194
+ */
2195
+ 403: ErrorBody;
2196
+ /**
2197
+ * Not Found
2198
+ */
2199
+ 404: ErrorBody;
2200
+ /**
2201
+ * Method Not Allowed
2202
+ */
2203
+ 405: ErrorBody;
2204
+ /**
2205
+ * Gone
2206
+ */
2207
+ 410: ErrorBody;
2208
+ /**
2209
+ * Precondition Failed
2210
+ */
2211
+ 412: ErrorBody;
2212
+ /**
2213
+ * Internal Server Error
2214
+ */
2215
+ 500: ErrorBody;
2216
+ };
2217
+ export type GetBackfillEpochsError = GetBackfillEpochsErrors[keyof GetBackfillEpochsErrors];
2218
+ export type GetBackfillEpochsResponses = {
2219
+ /**
2220
+ * Accepted
2221
+ */
2222
+ 202: unknown;
2223
+ };
2224
+ export type GetBackfillDailiesData = {
2225
+ body?: never;
2226
+ path?: never;
2227
+ query?: {
2228
+ /**
2229
+ * A UTC timestamp representing the beginning of the time range to search. This is a required parameter.
2230
+ */
2231
+ summaryStartTimeInSeconds?: string;
2232
+ /**
2233
+ * A UTC timestamp representing the end of the time range to search. This is a required parameter.
2234
+ */
2235
+ summaryEndTimeInSeconds?: string;
2236
+ };
2237
+ url: '/rest/backfill/dailies';
2238
+ };
2239
+ export type GetBackfillDailiesErrors = {
2240
+ /**
2241
+ * Bad Request
2242
+ */
2243
+ 400: ErrorBody;
2244
+ /**
2245
+ * Unauthorized
2246
+ */
2247
+ 401: ErrorBody;
2248
+ /**
2249
+ * Forbidden
2250
+ */
2251
+ 403: ErrorBody;
2252
+ /**
2253
+ * Not Found
2254
+ */
2255
+ 404: ErrorBody;
2256
+ /**
2257
+ * Method Not Allowed
2258
+ */
2259
+ 405: ErrorBody;
2260
+ /**
2261
+ * Gone
2262
+ */
2263
+ 410: ErrorBody;
2264
+ /**
2265
+ * Precondition Failed
2266
+ */
2267
+ 412: ErrorBody;
2268
+ /**
2269
+ * Internal Server Error
2270
+ */
2271
+ 500: ErrorBody;
2272
+ };
2273
+ export type GetBackfillDailiesError = GetBackfillDailiesErrors[keyof GetBackfillDailiesErrors];
2274
+ export type GetBackfillDailiesResponses = {
2275
+ /**
2276
+ * Accepted
2277
+ */
2278
+ 202: unknown;
2279
+ };
2280
+ export type GetBackfillBodycompsData = {
2281
+ body?: never;
2282
+ path?: never;
2283
+ query?: {
2284
+ /**
2285
+ * A UTC timestamp representing the beginning of the time range to search. This is a required parameter.
2286
+ */
2287
+ summaryStartTimeInSeconds?: string;
2288
+ /**
2289
+ * A UTC timestamp representing the end of the time range to search. This is a required parameter.
2290
+ */
2291
+ summaryEndTimeInSeconds?: string;
2292
+ };
2293
+ url: '/rest/backfill/bodyComps';
2294
+ };
2295
+ export type GetBackfillBodycompsErrors = {
2296
+ /**
2297
+ * Bad Request
2298
+ */
2299
+ 400: ErrorBody;
2300
+ /**
2301
+ * Unauthorized
2302
+ */
2303
+ 401: ErrorBody;
2304
+ /**
2305
+ * Forbidden
2306
+ */
2307
+ 403: ErrorBody;
2308
+ /**
2309
+ * Not Found
2310
+ */
2311
+ 404: ErrorBody;
2312
+ /**
2313
+ * Method Not Allowed
2314
+ */
2315
+ 405: ErrorBody;
2316
+ /**
2317
+ * Gone
2318
+ */
2319
+ 410: ErrorBody;
2320
+ /**
2321
+ * Precondition Failed
2322
+ */
2323
+ 412: ErrorBody;
2324
+ /**
2325
+ * Internal Server Error
2326
+ */
2327
+ 500: ErrorBody;
2328
+ };
2329
+ export type GetBackfillBodycompsError = GetBackfillBodycompsErrors[keyof GetBackfillBodycompsErrors];
2330
+ export type GetBackfillBodycompsResponses = {
2331
+ /**
2332
+ * Accepted
2333
+ */
2334
+ 202: unknown;
2335
+ };
2336
+ export type GetBackfillBloodPressuresData = {
2337
+ body?: never;
2338
+ path?: never;
2339
+ query?: {
2340
+ /**
2341
+ * A UTC timestamp representing the beginning of the time range to search. This is a required parameter.
2342
+ */
2343
+ summaryStartTimeInSeconds?: string;
2344
+ /**
2345
+ * A UTC timestamp representing the end of the time range to search. This is a required parameter.
2346
+ */
2347
+ summaryEndTimeInSeconds?: string;
2348
+ };
2349
+ url: '/rest/backfill/bloodPressures';
2350
+ };
2351
+ export type GetBackfillBloodPressuresErrors = {
2352
+ /**
2353
+ * Bad Request
2354
+ */
2355
+ 400: ErrorBody;
2356
+ /**
2357
+ * Unauthorized
2358
+ */
2359
+ 401: ErrorBody;
2360
+ /**
2361
+ * Forbidden
2362
+ */
2363
+ 403: ErrorBody;
2364
+ /**
2365
+ * Not Found
2366
+ */
2367
+ 404: ErrorBody;
2368
+ /**
2369
+ * Method Not Allowed
2370
+ */
2371
+ 405: ErrorBody;
2372
+ /**
2373
+ * Gone
2374
+ */
2375
+ 410: ErrorBody;
2376
+ /**
2377
+ * Precondition Failed
2378
+ */
2379
+ 412: ErrorBody;
2380
+ /**
2381
+ * Internal Server Error
2382
+ */
2383
+ 500: ErrorBody;
2384
+ };
2385
+ export type GetBackfillBloodPressuresError = GetBackfillBloodPressuresErrors[keyof GetBackfillBloodPressuresErrors];
2386
+ export type GetBackfillBloodPressuresResponses = {
2387
+ /**
2388
+ * Accepted
2389
+ */
2390
+ 202: unknown;
2391
+ };
2392
+ export type GetBackfillActivityDetailsData = {
2393
+ body?: never;
2394
+ path?: never;
2395
+ query?: {
2396
+ /**
2397
+ * A UTC timestamp representing the beginning of the time range to search. This is a required parameter.
2398
+ */
2399
+ summaryStartTimeInSeconds?: string;
2400
+ /**
2401
+ * A UTC timestamp representing the end of the time range to search. This is a required parameter.
2402
+ */
2403
+ summaryEndTimeInSeconds?: string;
2404
+ };
2405
+ url: '/rest/backfill/activityDetails';
2406
+ };
2407
+ export type GetBackfillActivityDetailsErrors = {
2408
+ /**
2409
+ * Bad Request
2410
+ */
2411
+ 400: ErrorBody;
2412
+ /**
2413
+ * Unauthorized
2414
+ */
2415
+ 401: ErrorBody;
2416
+ /**
2417
+ * Forbidden
2418
+ */
2419
+ 403: ErrorBody;
2420
+ /**
2421
+ * Not Found
2422
+ */
2423
+ 404: ErrorBody;
2424
+ /**
2425
+ * Method Not Allowed
2426
+ */
2427
+ 405: ErrorBody;
2428
+ /**
2429
+ * Gone
2430
+ */
2431
+ 410: ErrorBody;
2432
+ /**
2433
+ * Precondition Failed
2434
+ */
2435
+ 412: ErrorBody;
2436
+ /**
2437
+ * Internal Server Error
2438
+ */
2439
+ 500: ErrorBody;
2440
+ };
2441
+ export type GetBackfillActivityDetailsError = GetBackfillActivityDetailsErrors[keyof GetBackfillActivityDetailsErrors];
2442
+ export type GetBackfillActivityDetailsResponses = {
2443
+ /**
2444
+ * Accepted
2445
+ */
2446
+ 202: unknown;
2447
+ };
2448
+ export type GetBackfillActivitiesData = {
2449
+ body?: never;
2450
+ path?: never;
2451
+ query?: {
2452
+ /**
2453
+ * A UTC timestamp representing the beginning of the time range to search. This is a required parameter.
2454
+ */
2455
+ summaryStartTimeInSeconds?: string;
2456
+ /**
2457
+ * A UTC timestamp representing the end of the time range to search. This is a required parameter.
2458
+ */
2459
+ summaryEndTimeInSeconds?: string;
2460
+ };
2461
+ url: '/rest/backfill/activities';
2462
+ };
2463
+ export type GetBackfillActivitiesErrors = {
2464
+ /**
2465
+ * Bad Request
2466
+ */
2467
+ 400: ErrorBody;
2468
+ /**
2469
+ * Unauthorized
2470
+ */
2471
+ 401: ErrorBody;
2472
+ /**
2473
+ * Forbidden
2474
+ */
2475
+ 403: ErrorBody;
2476
+ /**
2477
+ * Not Found
2478
+ */
2479
+ 404: ErrorBody;
2480
+ /**
2481
+ * Method Not Allowed
2482
+ */
2483
+ 405: ErrorBody;
2484
+ /**
2485
+ * Gone
2486
+ */
2487
+ 410: ErrorBody;
2488
+ /**
2489
+ * Precondition Failed
2490
+ */
2491
+ 412: ErrorBody;
2492
+ /**
2493
+ * Internal Server Error
2494
+ */
2495
+ 500: ErrorBody;
2496
+ };
2497
+ export type GetBackfillActivitiesError = GetBackfillActivitiesErrors[keyof GetBackfillActivitiesErrors];
2498
+ export type GetBackfillActivitiesResponses = {
2499
+ /**
2500
+ * Accepted
2501
+ */
2502
+ 202: unknown;
2503
+ };
2504
+ export type GetActivityFileData = {
2505
+ body?: never;
2506
+ path?: never;
2507
+ query?: {
2508
+ id?: string;
2509
+ token?: string;
2510
+ };
2511
+ url: '/rest/activityFile';
2512
+ };
2513
+ export type GetActivityFileErrors = {
2514
+ /**
2515
+ * Bad Request
2516
+ */
2517
+ 400: ErrorBody;
2518
+ /**
2519
+ * Unauthorized
2520
+ */
2521
+ 401: ErrorBody;
2522
+ /**
2523
+ * Forbidden
2524
+ */
2525
+ 403: ErrorBody;
2526
+ /**
2527
+ * Not Found
2528
+ */
2529
+ 404: ErrorBody;
2530
+ /**
2531
+ * Method Not Allowed
2532
+ */
2533
+ 405: ErrorBody;
2534
+ /**
2535
+ * Gone
2536
+ */
2537
+ 410: ErrorBody;
2538
+ /**
2539
+ * Precondition Failed
2540
+ */
2541
+ 412: ErrorBody;
2542
+ /**
2543
+ * Internal Server Error
2544
+ */
2545
+ 500: ErrorBody;
2546
+ };
2547
+ export type GetActivityFileError = GetActivityFileErrors[keyof GetActivityFileErrors];
2548
+ export type GetActivityFileResponses = {
2549
+ /**
2550
+ * OK
2551
+ */
2552
+ 200: Blob | File;
2553
+ };
2554
+ export type GetActivityFileResponse = GetActivityFileResponses[keyof GetActivityFileResponses];
2555
+ export type ActivityDetailsData = {
2556
+ body?: never;
2557
+ path?: never;
2558
+ query?: {
2559
+ /**
2560
+ * A UTC timestamp representing the beginning of the time range to search.
2561
+ * If this parameter is used it must be paired with uploadEndTimeInSeconds only.
2562
+ *
2563
+ */
2564
+ uploadStartTimeInSeconds?: string;
2565
+ /**
2566
+ * A UTC timestamp representing the end of the time range to search.
2567
+ * If this parameter is used it must be paired with uploadStartTimeInSeconds only.
2568
+ *
2569
+ */
2570
+ uploadEndTimeInSeconds?: string;
2571
+ /**
2572
+ * Pull token required for OAuth2 integrations
2573
+ */
2574
+ token?: string;
2575
+ };
2576
+ url: '/rest/activityDetails';
2577
+ };
2578
+ export type ActivityDetailsErrors = {
2579
+ /**
2580
+ * Bad Request
2581
+ */
2582
+ 400: ErrorBody;
2583
+ /**
2584
+ * Unauthorized
2585
+ */
2586
+ 401: ErrorBody;
2587
+ /**
2588
+ * Forbidden
2589
+ */
2590
+ 403: ErrorBody;
2591
+ /**
2592
+ * Not Found
2593
+ */
2594
+ 404: ErrorBody;
2595
+ /**
2596
+ * Method Not Allowed
2597
+ */
2598
+ 405: ErrorBody;
2599
+ /**
2600
+ * Gone
2601
+ */
2602
+ 410: ErrorBody;
2603
+ /**
2604
+ * Precondition Failed
2605
+ */
2606
+ 412: ErrorBody;
2607
+ /**
2608
+ * Internal Server Error
2609
+ */
2610
+ 500: ErrorBody;
2611
+ };
2612
+ export type ActivityDetailsError = ActivityDetailsErrors[keyof ActivityDetailsErrors];
2613
+ export type ActivityDetailsResponses = {
2614
+ /**
2615
+ * OK
2616
+ */
2617
+ 200: Array<ClientActivityDetail>;
2618
+ };
2619
+ export type ActivityDetailsResponse = ActivityDetailsResponses[keyof ActivityDetailsResponses];
2620
+ export type GetActivitiesData = {
2621
+ body?: never;
2622
+ path?: never;
2623
+ query?: {
2624
+ /**
2625
+ * A UTC timestamp representing the beginning of the time range to search.
2626
+ * If this parameter is used it must be paired with uploadEndTimeInSeconds only.
2627
+ *
2628
+ */
2629
+ uploadStartTimeInSeconds?: string;
2630
+ /**
2631
+ * A UTC timestamp representing the end of the time range to search.
2632
+ * If this parameter is used it must be paired with uploadStartTimeInSeconds only.
2633
+ *
2634
+ */
2635
+ uploadEndTimeInSeconds?: string;
2636
+ /**
2637
+ * Pull token required for OAuth2 integrations
2638
+ */
2639
+ token?: string;
2640
+ };
2641
+ url: '/rest/activities';
2642
+ };
2643
+ export type GetActivitiesErrors = {
2644
+ /**
2645
+ * Bad Request
2646
+ */
2647
+ 400: ErrorBody;
2648
+ /**
2649
+ * Unauthorized
2650
+ */
2651
+ 401: ErrorBody;
2652
+ /**
2653
+ * Forbidden
2654
+ */
2655
+ 403: ErrorBody;
2656
+ /**
2657
+ * Not Found
2658
+ */
2659
+ 404: ErrorBody;
2660
+ /**
2661
+ * Method Not Allowed
2662
+ */
2663
+ 405: ErrorBody;
2664
+ /**
2665
+ * Gone
2666
+ */
2667
+ 410: ErrorBody;
2668
+ /**
2669
+ * Precondition Failed
2670
+ */
2671
+ 412: ErrorBody;
2672
+ /**
2673
+ * Internal Server Error
2674
+ */
2675
+ 500: ErrorBody;
2676
+ };
2677
+ export type GetActivitiesError = GetActivitiesErrors[keyof GetActivitiesErrors];
2678
+ export type GetActivitiesResponses = {
2679
+ /**
2680
+ * OK
2681
+ */
2682
+ 200: Array<ClientActivity>;
2683
+ };
2684
+ export type GetActivitiesResponse = GetActivitiesResponses[keyof GetActivitiesResponses];
2685
+ export type DeregData = {
2686
+ body?: never;
2687
+ path?: never;
2688
+ query?: never;
2689
+ url: '/rest/user/registration';
2690
+ };
2691
+ export type DeregErrors = {
2692
+ /**
2693
+ * Bad Request
2694
+ */
2695
+ 400: ErrorBody;
2696
+ /**
2697
+ * Unauthorized
2698
+ */
2699
+ 401: ErrorBody;
2700
+ /**
2701
+ * Forbidden
2702
+ */
2703
+ 403: ErrorBody;
2704
+ /**
2705
+ * Not Found
2706
+ */
2707
+ 404: ErrorBody;
2708
+ /**
2709
+ * Method Not Allowed
2710
+ */
2711
+ 405: ErrorBody;
2712
+ /**
2713
+ * Gone
2714
+ */
2715
+ 410: ErrorBody;
2716
+ /**
2717
+ * Precondition Failed
2718
+ */
2719
+ 412: ErrorBody;
2720
+ /**
2721
+ * Internal Server Error
2722
+ */
2723
+ 500: ErrorBody;
2724
+ };
2725
+ export type DeregError = DeregErrors[keyof DeregErrors];
2726
+ export type DeregResponses = {
2727
+ /**
2728
+ * No Content
2729
+ */
2730
+ 204: void;
2731
+ };
2732
+ export type DeregResponse = DeregResponses[keyof DeregResponses];
2733
+ //# sourceMappingURL=types.gen.d.ts.map