@nativesquare/soma 0.9.0 → 0.9.2

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 (360) hide show
  1. package/dist/client/index.d.ts +66 -12
  2. package/dist/client/index.d.ts.map +1 -1
  3. package/dist/client/index.js +76 -14
  4. package/dist/client/index.js.map +1 -1
  5. package/dist/component/_generated/api.d.ts +20 -2
  6. package/dist/component/_generated/api.d.ts.map +1 -1
  7. package/dist/component/_generated/api.js.map +1 -1
  8. package/dist/component/_generated/component.d.ts +7 -6
  9. package/dist/component/_generated/component.d.ts.map +1 -1
  10. package/dist/{garmin → component/garmin}/auth.d.ts +8 -1
  11. package/dist/component/garmin/auth.d.ts.map +1 -0
  12. package/dist/component/garmin/auth.js.map +1 -0
  13. package/dist/component/garmin/client.d.ts +15 -0
  14. package/dist/component/garmin/client.d.ts.map +1 -0
  15. package/dist/component/garmin/client.js +32 -0
  16. package/dist/component/garmin/client.js.map +1 -0
  17. package/dist/component/garmin/private.d.ts +87 -19
  18. package/dist/component/garmin/private.d.ts.map +1 -1
  19. package/dist/component/garmin/private.js +52 -205
  20. package/dist/component/garmin/private.js.map +1 -1
  21. package/dist/component/garmin/public.d.ts +46 -50
  22. package/dist/component/garmin/public.d.ts.map +1 -1
  23. package/dist/component/garmin/public.js +406 -368
  24. package/dist/component/garmin/public.js.map +1 -1
  25. package/dist/component/garmin/schemas/activity.d.ts +2 -2
  26. package/dist/component/garmin/schemas/activity.d.ts.map +1 -1
  27. package/dist/component/garmin/schemas/activity.js +3 -1
  28. package/dist/component/garmin/schemas/activity.js.map +1 -1
  29. package/dist/component/garmin/schemas/activityDetails.d.ts +50 -50
  30. package/dist/component/garmin/schemas/activityDetails.d.ts.map +1 -1
  31. package/dist/component/garmin/schemas/activityDetails.js +4 -1
  32. package/dist/component/garmin/schemas/activityDetails.js.map +1 -1
  33. package/dist/component/garmin/schemas/bloodPressure.js +1 -1
  34. package/dist/component/garmin/schemas/bloodPressure.js.map +1 -1
  35. package/dist/component/garmin/schemas/bodyCompositions.js +1 -1
  36. package/dist/component/garmin/schemas/bodyCompositions.js.map +1 -1
  37. package/dist/component/garmin/schemas/dailies.js +1 -1
  38. package/dist/component/garmin/schemas/dailies.js.map +1 -1
  39. package/dist/component/garmin/schemas/epochs.js +1 -1
  40. package/dist/component/garmin/schemas/epochs.js.map +1 -1
  41. package/dist/component/garmin/schemas/healthSnapshot.js +1 -1
  42. package/dist/component/garmin/schemas/healthSnapshot.js.map +1 -1
  43. package/dist/component/garmin/schemas/hrvSummary.js +1 -1
  44. package/dist/component/garmin/schemas/hrvSummary.js.map +1 -1
  45. package/dist/component/garmin/schemas/manuallyUpdatedActivities.d.ts +2 -2
  46. package/dist/component/garmin/schemas/manuallyUpdatedActivities.d.ts.map +1 -1
  47. package/dist/component/garmin/schemas/manuallyUpdatedActivities.js +3 -1
  48. package/dist/component/garmin/schemas/manuallyUpdatedActivities.js.map +1 -1
  49. package/dist/component/garmin/schemas/menstrualCycleTracking.js +1 -1
  50. package/dist/component/garmin/schemas/menstrualCycleTracking.js.map +1 -1
  51. package/dist/component/garmin/schemas/moveIQ.js +1 -1
  52. package/dist/component/garmin/schemas/moveIQ.js.map +1 -1
  53. package/dist/component/garmin/schemas/pulseOx.js +1 -1
  54. package/dist/component/garmin/schemas/pulseOx.js.map +1 -1
  55. package/dist/component/garmin/schemas/respiration.js +1 -1
  56. package/dist/component/garmin/schemas/respiration.js.map +1 -1
  57. package/dist/component/garmin/schemas/skinTemperature.js +1 -1
  58. package/dist/component/garmin/schemas/skinTemperature.js.map +1 -1
  59. package/dist/component/garmin/schemas/sleeps.js +1 -1
  60. package/dist/component/garmin/schemas/sleeps.js.map +1 -1
  61. package/dist/component/garmin/schemas/stress.d.ts +6 -6
  62. package/dist/component/garmin/schemas/stress.d.ts.map +1 -1
  63. package/dist/component/garmin/schemas/stress.js +3 -1
  64. package/dist/component/garmin/schemas/stress.js.map +1 -1
  65. package/dist/component/garmin/schemas/userMetrics.js +1 -1
  66. package/dist/component/garmin/schemas/userMetrics.js.map +1 -1
  67. package/dist/component/garmin/transform/activity.d.ts +2 -2
  68. package/dist/component/garmin/transform/activity.d.ts.map +1 -1
  69. package/dist/component/garmin/transform/activity.js +1 -1
  70. package/dist/component/garmin/transform/activity.js.map +1 -1
  71. package/dist/component/garmin/transform/activityDetails.d.ts +2 -2
  72. package/dist/component/garmin/transform/activityDetails.d.ts.map +1 -1
  73. package/dist/component/garmin/transform/activityDetails.js.map +1 -1
  74. package/dist/component/garmin/transform/bloodPressure.d.ts +2 -2
  75. package/dist/component/garmin/transform/bloodPressure.d.ts.map +1 -1
  76. package/dist/component/garmin/transform/bodyCompositions.d.ts +2 -2
  77. package/dist/component/garmin/transform/bodyCompositions.d.ts.map +1 -1
  78. package/dist/component/garmin/transform/bodyCompositions.js.map +1 -1
  79. package/dist/component/garmin/transform/dailies.d.ts +2 -2
  80. package/dist/component/garmin/transform/dailies.d.ts.map +1 -1
  81. package/dist/component/garmin/transform/dailies.js +1 -1
  82. package/dist/component/garmin/transform/dailies.js.map +1 -1
  83. package/dist/component/garmin/transform/epochs.d.ts +2 -2
  84. package/dist/component/garmin/transform/epochs.d.ts.map +1 -1
  85. package/dist/component/garmin/transform/healthSnapshot.d.ts +2 -2
  86. package/dist/component/garmin/transform/healthSnapshot.d.ts.map +1 -1
  87. package/dist/component/garmin/transform/healthSnapshot.js.map +1 -1
  88. package/dist/component/garmin/transform/hrvSummary.d.ts +2 -2
  89. package/dist/component/garmin/transform/hrvSummary.d.ts.map +1 -1
  90. package/dist/component/garmin/transform/hrvSummary.js +1 -1
  91. package/dist/component/garmin/transform/hrvSummary.js.map +1 -1
  92. package/dist/component/garmin/transform/manuallyUpdatedActivities.d.ts +2 -2
  93. package/dist/component/garmin/transform/manuallyUpdatedActivities.d.ts.map +1 -1
  94. package/dist/{garmin/maps/activity-type.d.ts → component/garmin/transform/maps/activityType.d.ts} +1 -1
  95. package/dist/component/garmin/transform/maps/activityType.d.ts.map +1 -0
  96. package/dist/{garmin/maps/activity-type.js → component/garmin/transform/maps/activityType.js} +1 -1
  97. package/dist/component/garmin/transform/maps/activityType.js.map +1 -0
  98. package/dist/{garmin/maps/sleep-level.d.ts → component/garmin/transform/maps/sleepLevel.d.ts} +1 -1
  99. package/dist/component/garmin/transform/maps/sleepLevel.d.ts.map +1 -0
  100. package/dist/{garmin/maps/sleep-level.js → component/garmin/transform/maps/sleepLevel.js} +1 -1
  101. package/dist/component/garmin/transform/maps/sleepLevel.js.map +1 -0
  102. package/dist/component/garmin/transform/menstrualCycleTracking.d.ts +2 -2
  103. package/dist/component/garmin/transform/menstrualCycleTracking.d.ts.map +1 -1
  104. package/dist/component/garmin/transform/menstrualCycleTracking.js.map +1 -1
  105. package/dist/component/garmin/transform/moveIQ.d.ts +2 -5
  106. package/dist/component/garmin/transform/moveIQ.d.ts.map +1 -1
  107. package/dist/component/garmin/transform/moveIQ.js +1 -1
  108. package/dist/component/garmin/transform/moveIQ.js.map +1 -1
  109. package/dist/{garmin → component/garmin/transform}/plannedWorkout.d.ts +3 -4
  110. package/dist/component/garmin/transform/plannedWorkout.d.ts.map +1 -0
  111. package/dist/{garmin → component/garmin/transform}/plannedWorkout.js +61 -70
  112. package/dist/component/garmin/transform/plannedWorkout.js.map +1 -0
  113. package/dist/component/garmin/transform/pulseOx.d.ts +2 -2
  114. package/dist/component/garmin/transform/pulseOx.d.ts.map +1 -1
  115. package/dist/component/garmin/transform/pulseOx.js +1 -1
  116. package/dist/component/garmin/transform/pulseOx.js.map +1 -1
  117. package/dist/component/garmin/transform/respiration.d.ts +2 -2
  118. package/dist/component/garmin/transform/respiration.d.ts.map +1 -1
  119. package/dist/component/garmin/transform/respiration.js +1 -1
  120. package/dist/component/garmin/transform/respiration.js.map +1 -1
  121. package/dist/component/garmin/transform/skinTemperature.d.ts +2 -2
  122. package/dist/component/garmin/transform/skinTemperature.d.ts.map +1 -1
  123. package/dist/component/garmin/transform/skinTemperature.js.map +1 -1
  124. package/dist/component/garmin/transform/sleeps.d.ts +2 -2
  125. package/dist/component/garmin/transform/sleeps.d.ts.map +1 -1
  126. package/dist/component/garmin/transform/sleeps.js +3 -3
  127. package/dist/component/garmin/transform/sleeps.js.map +1 -1
  128. package/dist/component/garmin/transform/stress.d.ts +2 -2
  129. package/dist/component/garmin/transform/stress.d.ts.map +1 -1
  130. package/dist/component/garmin/transform/stress.js +2 -2
  131. package/dist/component/garmin/transform/stress.js.map +1 -1
  132. package/dist/component/garmin/transform/userMetrics.d.ts +2 -2
  133. package/dist/component/garmin/transform/userMetrics.d.ts.map +1 -1
  134. package/dist/component/garmin/transform/userMetrics.js.map +1 -1
  135. package/dist/component/garmin/types/trainingApiWorkouts/client/client.gen.d.ts +3 -0
  136. package/dist/component/garmin/types/trainingApiWorkouts/client/client.gen.d.ts.map +1 -0
  137. package/dist/component/garmin/types/trainingApiWorkouts/client/client.gen.js +236 -0
  138. package/dist/component/garmin/types/trainingApiWorkouts/client/client.gen.js.map +1 -0
  139. package/dist/component/garmin/types/trainingApiWorkouts/client/index.d.ts +9 -0
  140. package/dist/component/garmin/types/trainingApiWorkouts/client/index.d.ts.map +1 -0
  141. package/dist/component/garmin/types/trainingApiWorkouts/client/index.js +7 -0
  142. package/dist/component/garmin/types/trainingApiWorkouts/client/index.js.map +1 -0
  143. package/dist/component/garmin/types/trainingApiWorkouts/client/types.gen.d.ts +118 -0
  144. package/dist/component/garmin/types/trainingApiWorkouts/client/types.gen.d.ts.map +1 -0
  145. package/dist/component/garmin/types/trainingApiWorkouts/client/types.gen.js +3 -0
  146. package/dist/component/garmin/types/trainingApiWorkouts/client/types.gen.js.map +1 -0
  147. package/dist/component/garmin/types/trainingApiWorkouts/client/utils.gen.d.ts +34 -0
  148. package/dist/component/garmin/types/trainingApiWorkouts/client/utils.gen.d.ts.map +1 -0
  149. package/dist/component/garmin/types/trainingApiWorkouts/client/utils.gen.js +229 -0
  150. package/dist/component/garmin/types/trainingApiWorkouts/client/utils.gen.js.map +1 -0
  151. package/dist/component/garmin/types/trainingApiWorkouts/client.gen.d.ts +13 -0
  152. package/dist/component/garmin/types/trainingApiWorkouts/client.gen.d.ts.map +1 -0
  153. package/dist/component/garmin/types/trainingApiWorkouts/client.gen.js +4 -0
  154. package/dist/component/garmin/types/trainingApiWorkouts/client.gen.js.map +1 -0
  155. package/dist/component/garmin/types/trainingApiWorkouts/core/auth.gen.d.ts +19 -0
  156. package/dist/component/garmin/types/trainingApiWorkouts/core/auth.gen.d.ts.map +1 -0
  157. package/dist/component/garmin/types/trainingApiWorkouts/core/auth.gen.js +15 -0
  158. package/dist/component/garmin/types/trainingApiWorkouts/core/auth.gen.js.map +1 -0
  159. package/dist/component/garmin/types/trainingApiWorkouts/core/bodySerializer.gen.d.ts +26 -0
  160. package/dist/component/garmin/types/trainingApiWorkouts/core/bodySerializer.gen.d.ts.map +1 -0
  161. package/dist/component/garmin/types/trainingApiWorkouts/core/bodySerializer.gen.js +58 -0
  162. package/dist/component/garmin/types/trainingApiWorkouts/core/bodySerializer.gen.js.map +1 -0
  163. package/dist/component/garmin/types/trainingApiWorkouts/core/params.gen.d.ts +44 -0
  164. package/dist/component/garmin/types/trainingApiWorkouts/core/params.gen.d.ts.map +1 -0
  165. package/dist/component/garmin/types/trainingApiWorkouts/core/params.gen.js +101 -0
  166. package/dist/component/garmin/types/trainingApiWorkouts/core/params.gen.js.map +1 -0
  167. package/dist/component/garmin/types/trainingApiWorkouts/core/pathSerializer.gen.d.ts +34 -0
  168. package/dist/component/garmin/types/trainingApiWorkouts/core/pathSerializer.gen.d.ts.map +1 -0
  169. package/dist/component/garmin/types/trainingApiWorkouts/core/pathSerializer.gen.js +107 -0
  170. package/dist/component/garmin/types/trainingApiWorkouts/core/pathSerializer.gen.js.map +1 -0
  171. package/dist/component/garmin/types/trainingApiWorkouts/core/queryKeySerializer.gen.d.ts +19 -0
  172. package/dist/component/garmin/types/trainingApiWorkouts/core/queryKeySerializer.gen.d.ts.map +1 -0
  173. package/dist/component/garmin/types/trainingApiWorkouts/core/queryKeySerializer.gen.js +93 -0
  174. package/dist/component/garmin/types/trainingApiWorkouts/core/queryKeySerializer.gen.js.map +1 -0
  175. package/dist/component/garmin/types/trainingApiWorkouts/core/serverSentEvents.gen.d.ts +72 -0
  176. package/dist/component/garmin/types/trainingApiWorkouts/core/serverSentEvents.gen.d.ts.map +1 -0
  177. package/dist/component/garmin/types/trainingApiWorkouts/core/serverSentEvents.gen.js +134 -0
  178. package/dist/component/garmin/types/trainingApiWorkouts/core/serverSentEvents.gen.js.map +1 -0
  179. package/dist/component/garmin/types/trainingApiWorkouts/core/types.gen.d.ts +79 -0
  180. package/dist/component/garmin/types/trainingApiWorkouts/core/types.gen.d.ts.map +1 -0
  181. package/dist/component/garmin/types/trainingApiWorkouts/core/types.gen.js +3 -0
  182. package/dist/component/garmin/types/trainingApiWorkouts/core/types.gen.js.map +1 -0
  183. package/dist/component/garmin/types/trainingApiWorkouts/core/utils.gen.d.ts +20 -0
  184. package/dist/component/garmin/types/trainingApiWorkouts/core/utils.gen.d.ts.map +1 -0
  185. package/dist/component/garmin/types/trainingApiWorkouts/core/utils.gen.js +88 -0
  186. package/dist/component/garmin/types/trainingApiWorkouts/core/utils.gen.js.map +1 -0
  187. package/dist/component/garmin/types/trainingApiWorkouts/index.d.ts +3 -0
  188. package/dist/component/garmin/types/trainingApiWorkouts/index.d.ts.map +1 -0
  189. package/dist/component/garmin/types/trainingApiWorkouts/index.js +3 -0
  190. package/dist/component/garmin/types/trainingApiWorkouts/index.js.map +1 -0
  191. package/dist/component/garmin/types/trainingApiWorkouts/sdk.gen.d.ts +68 -0
  192. package/dist/component/garmin/types/trainingApiWorkouts/sdk.gen.d.ts.map +1 -0
  193. package/dist/component/garmin/types/trainingApiWorkouts/sdk.gen.js +97 -0
  194. package/dist/component/garmin/types/trainingApiWorkouts/sdk.gen.js.map +1 -0
  195. package/dist/component/garmin/types/trainingApiWorkouts/types.gen.d.ts +330 -0
  196. package/dist/component/garmin/types/trainingApiWorkouts/types.gen.d.ts.map +1 -0
  197. package/dist/component/garmin/types/trainingApiWorkouts/types.gen.js +3 -0
  198. package/dist/component/garmin/types/trainingApiWorkouts/types.gen.js.map +1 -0
  199. package/dist/component/garmin/types/trainingApiWorkouts/zod.gen.d.ts +2463 -0
  200. package/dist/component/garmin/types/trainingApiWorkouts/zod.gen.d.ts.map +1 -0
  201. package/dist/component/garmin/types/trainingApiWorkouts/zod.gen.js +388 -0
  202. package/dist/component/garmin/types/trainingApiWorkouts/zod.gen.js.map +1 -0
  203. package/dist/component/garmin/types/wellnessApi/client/client.gen.d.ts +3 -0
  204. package/dist/component/garmin/types/wellnessApi/client/client.gen.d.ts.map +1 -0
  205. package/dist/component/garmin/types/wellnessApi/client/client.gen.js +236 -0
  206. package/dist/component/garmin/types/wellnessApi/client/client.gen.js.map +1 -0
  207. package/dist/component/garmin/types/wellnessApi/client/index.d.ts +9 -0
  208. package/dist/component/garmin/types/wellnessApi/client/index.d.ts.map +1 -0
  209. package/dist/component/garmin/types/wellnessApi/client/index.js +7 -0
  210. package/dist/component/garmin/types/wellnessApi/client/index.js.map +1 -0
  211. package/dist/component/garmin/types/wellnessApi/client/types.gen.d.ts +118 -0
  212. package/dist/component/garmin/types/wellnessApi/client/types.gen.d.ts.map +1 -0
  213. package/dist/component/garmin/types/wellnessApi/client/types.gen.js +3 -0
  214. package/dist/component/garmin/types/wellnessApi/client/types.gen.js.map +1 -0
  215. package/dist/component/garmin/types/wellnessApi/client/utils.gen.d.ts +34 -0
  216. package/dist/component/garmin/types/wellnessApi/client/utils.gen.d.ts.map +1 -0
  217. package/dist/component/garmin/types/wellnessApi/client/utils.gen.js +229 -0
  218. package/dist/component/garmin/types/wellnessApi/client/utils.gen.js.map +1 -0
  219. package/dist/component/garmin/types/wellnessApi/client.gen.d.ts +13 -0
  220. package/dist/component/garmin/types/wellnessApi/client.gen.d.ts.map +1 -0
  221. package/dist/component/garmin/types/wellnessApi/client.gen.js +4 -0
  222. package/dist/component/garmin/types/wellnessApi/client.gen.js.map +1 -0
  223. package/dist/component/garmin/types/wellnessApi/core/auth.gen.d.ts +19 -0
  224. package/dist/component/garmin/types/wellnessApi/core/auth.gen.d.ts.map +1 -0
  225. package/dist/component/garmin/types/wellnessApi/core/auth.gen.js +15 -0
  226. package/dist/component/garmin/types/wellnessApi/core/auth.gen.js.map +1 -0
  227. package/dist/component/garmin/types/wellnessApi/core/bodySerializer.gen.d.ts +26 -0
  228. package/dist/component/garmin/types/wellnessApi/core/bodySerializer.gen.d.ts.map +1 -0
  229. package/dist/component/garmin/types/wellnessApi/core/bodySerializer.gen.js +58 -0
  230. package/dist/component/garmin/types/wellnessApi/core/bodySerializer.gen.js.map +1 -0
  231. package/dist/component/garmin/types/wellnessApi/core/params.gen.d.ts +44 -0
  232. package/dist/component/garmin/types/wellnessApi/core/params.gen.d.ts.map +1 -0
  233. package/dist/component/garmin/types/wellnessApi/core/params.gen.js +101 -0
  234. package/dist/component/garmin/types/wellnessApi/core/params.gen.js.map +1 -0
  235. package/dist/component/garmin/types/wellnessApi/core/pathSerializer.gen.d.ts +34 -0
  236. package/dist/component/garmin/types/wellnessApi/core/pathSerializer.gen.d.ts.map +1 -0
  237. package/dist/component/garmin/types/wellnessApi/core/pathSerializer.gen.js +107 -0
  238. package/dist/component/garmin/types/wellnessApi/core/pathSerializer.gen.js.map +1 -0
  239. package/dist/component/garmin/types/wellnessApi/core/queryKeySerializer.gen.d.ts +19 -0
  240. package/dist/component/garmin/types/wellnessApi/core/queryKeySerializer.gen.d.ts.map +1 -0
  241. package/dist/component/garmin/types/wellnessApi/core/queryKeySerializer.gen.js +93 -0
  242. package/dist/component/garmin/types/wellnessApi/core/queryKeySerializer.gen.js.map +1 -0
  243. package/dist/component/garmin/types/wellnessApi/core/serverSentEvents.gen.d.ts +72 -0
  244. package/dist/component/garmin/types/wellnessApi/core/serverSentEvents.gen.d.ts.map +1 -0
  245. package/dist/component/garmin/types/wellnessApi/core/serverSentEvents.gen.js +134 -0
  246. package/dist/component/garmin/types/wellnessApi/core/serverSentEvents.gen.js.map +1 -0
  247. package/dist/component/garmin/types/wellnessApi/core/types.gen.d.ts +79 -0
  248. package/dist/component/garmin/types/wellnessApi/core/types.gen.d.ts.map +1 -0
  249. package/dist/component/garmin/types/wellnessApi/core/types.gen.js +3 -0
  250. package/dist/component/garmin/types/wellnessApi/core/types.gen.js.map +1 -0
  251. package/dist/component/garmin/types/wellnessApi/core/utils.gen.d.ts +20 -0
  252. package/dist/component/garmin/types/wellnessApi/core/utils.gen.d.ts.map +1 -0
  253. package/dist/component/garmin/types/wellnessApi/core/utils.gen.js +88 -0
  254. package/dist/component/garmin/types/wellnessApi/core/utils.gen.js.map +1 -0
  255. package/dist/component/garmin/types/wellnessApi/index.d.ts +3 -0
  256. package/dist/component/garmin/types/wellnessApi/index.d.ts.map +1 -0
  257. package/dist/component/garmin/types/wellnessApi/index.js +3 -0
  258. package/dist/component/garmin/types/wellnessApi/index.js.map +1 -0
  259. package/dist/component/garmin/types/wellnessApi/sdk.gen.d.ts +166 -0
  260. package/dist/component/garmin/types/wellnessApi/sdk.gen.d.ts.map +1 -0
  261. package/dist/component/garmin/types/wellnessApi/sdk.gen.js +153 -0
  262. package/dist/component/garmin/types/wellnessApi/sdk.gen.js.map +1 -0
  263. package/dist/component/garmin/types/wellnessApi/types.gen.d.ts +2733 -0
  264. package/dist/component/garmin/types/wellnessApi/types.gen.d.ts.map +1 -0
  265. package/dist/component/garmin/types/wellnessApi/types.gen.js +3 -0
  266. package/dist/component/garmin/types/wellnessApi/types.gen.js.map +1 -0
  267. package/dist/component/garmin/types/wellnessApi/zod.gen.d.ts.map +1 -0
  268. package/dist/component/garmin/types/wellnessApi/zod.gen.js.map +1 -0
  269. package/dist/component/garmin/utils.d.ts +16 -0
  270. package/dist/component/garmin/utils.d.ts.map +1 -0
  271. package/dist/component/garmin/utils.js +17 -0
  272. package/dist/component/garmin/utils.js.map +1 -0
  273. package/dist/component/garmin/webhooks.d.ts +8 -21
  274. package/dist/component/garmin/webhooks.d.ts.map +1 -1
  275. package/dist/component/garmin/webhooks.js +71 -306
  276. package/dist/component/garmin/webhooks.js.map +1 -1
  277. package/dist/component/validators/plannedWorkout.d.ts +6 -0
  278. package/dist/component/validators/plannedWorkout.d.ts.map +1 -1
  279. package/dist/component/validators/plannedWorkout.js.map +1 -1
  280. package/package.json +1 -1
  281. package/src/client/index.ts +151 -24
  282. package/src/component/_generated/api.ts +2 -0
  283. package/src/component/garmin/public.ts +4 -0
  284. package/dist/component/garmin/types/garmin.d.ts +0 -21
  285. package/dist/component/garmin/types/garmin.d.ts.map +0 -1
  286. package/dist/component/garmin/types/garmin.js +0 -6
  287. package/dist/component/garmin/types/garmin.js.map +0 -1
  288. package/dist/component/garmin/types/zod/zod.gen.d.ts.map +0 -1
  289. package/dist/component/garmin/types/zod/zod.gen.js.map +0 -1
  290. package/dist/garmin/auth.d.ts.map +0 -1
  291. package/dist/garmin/auth.js.map +0 -1
  292. package/dist/garmin/bloodPressure.d.ts +0 -28
  293. package/dist/garmin/bloodPressure.d.ts.map +0 -1
  294. package/dist/garmin/bloodPressure.js +0 -34
  295. package/dist/garmin/bloodPressure.js.map +0 -1
  296. package/dist/garmin/body.d.ts +0 -26
  297. package/dist/garmin/body.d.ts.map +0 -1
  298. package/dist/garmin/body.js +0 -44
  299. package/dist/garmin/body.js.map +0 -1
  300. package/dist/garmin/client.d.ts +0 -246
  301. package/dist/garmin/client.d.ts.map +0 -1
  302. package/dist/garmin/client.js +0 -566
  303. package/dist/garmin/client.js.map +0 -1
  304. package/dist/garmin/daily.d.ts +0 -74
  305. package/dist/garmin/daily.d.ts.map +0 -1
  306. package/dist/garmin/daily.js +0 -143
  307. package/dist/garmin/daily.js.map +0 -1
  308. package/dist/garmin/hrv.d.ts +0 -30
  309. package/dist/garmin/hrv.d.ts.map +0 -1
  310. package/dist/garmin/hrv.js +0 -45
  311. package/dist/garmin/hrv.js.map +0 -1
  312. package/dist/garmin/index.d.ts +0 -32
  313. package/dist/garmin/index.d.ts.map +0 -1
  314. package/dist/garmin/index.js +0 -27
  315. package/dist/garmin/index.js.map +0 -1
  316. package/dist/garmin/maps/activity-type.d.ts.map +0 -1
  317. package/dist/garmin/maps/activity-type.js.map +0 -1
  318. package/dist/garmin/maps/sleep-level.d.ts.map +0 -1
  319. package/dist/garmin/maps/sleep-level.js.map +0 -1
  320. package/dist/garmin/menstruation.d.ts +0 -25
  321. package/dist/garmin/menstruation.d.ts.map +0 -1
  322. package/dist/garmin/menstruation.js +0 -38
  323. package/dist/garmin/menstruation.js.map +0 -1
  324. package/dist/garmin/plannedWorkout.d.ts.map +0 -1
  325. package/dist/garmin/plannedWorkout.js.map +0 -1
  326. package/dist/garmin/pulseOx.d.ts +0 -24
  327. package/dist/garmin/pulseOx.d.ts.map +0 -1
  328. package/dist/garmin/pulseOx.js +0 -33
  329. package/dist/garmin/pulseOx.js.map +0 -1
  330. package/dist/garmin/respiration.d.ts +0 -29
  331. package/dist/garmin/respiration.d.ts.map +0 -1
  332. package/dist/garmin/respiration.js +0 -42
  333. package/dist/garmin/respiration.js.map +0 -1
  334. package/dist/garmin/skinTemp.d.ts +0 -27
  335. package/dist/garmin/skinTemp.d.ts.map +0 -1
  336. package/dist/garmin/skinTemp.js +0 -35
  337. package/dist/garmin/skinTemp.js.map +0 -1
  338. package/dist/garmin/sleep.d.ts +0 -62
  339. package/dist/garmin/sleep.d.ts.map +0 -1
  340. package/dist/garmin/sleep.js +0 -131
  341. package/dist/garmin/sleep.js.map +0 -1
  342. package/dist/garmin/stressDetails.d.ts +0 -30
  343. package/dist/garmin/stressDetails.d.ts.map +0 -1
  344. package/dist/garmin/stressDetails.js +0 -49
  345. package/dist/garmin/stressDetails.js.map +0 -1
  346. package/dist/garmin/sync.d.ts +0 -53
  347. package/dist/garmin/sync.d.ts.map +0 -1
  348. package/dist/garmin/sync.js +0 -458
  349. package/dist/garmin/sync.js.map +0 -1
  350. package/dist/garmin/types.d.ts +0 -175
  351. package/dist/garmin/types.d.ts.map +0 -1
  352. package/dist/garmin/types.js +0 -10
  353. package/dist/garmin/types.js.map +0 -1
  354. package/dist/garmin/userMetrics.d.ts +0 -23
  355. package/dist/garmin/userMetrics.d.ts.map +0 -1
  356. package/dist/garmin/userMetrics.js +0 -41
  357. package/dist/garmin/userMetrics.js.map +0 -1
  358. /package/dist/{garmin → component/garmin}/auth.js +0 -0
  359. /package/dist/component/garmin/types/{zod → wellnessApi}/zod.gen.d.ts +0 -0
  360. /package/dist/component/garmin/types/{zod → wellnessApi}/zod.gen.js +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"serverSentEvents.gen.js","sourceRoot":"","sources":["../../../../../../src/component/garmin/types/wellnessApi/core/serverSentEvents.gen.ts"],"names":[],"mappings":"AAAA,qDAAqD;AAiFrD,MAAM,CAAC,MAAM,eAAe,GAAG,CAAkB,EAC/C,SAAS,EACT,UAAU,EACV,UAAU,EACV,mBAAmB,EACnB,iBAAiB,EACjB,oBAAoB,EACpB,mBAAmB,EACnB,gBAAgB,EAChB,UAAU,EACV,GAAG,EACH,GAAG,OAAO,EACc,EAAiC,EAAE;IAC3D,IAAI,WAA+B,CAAC;IAEpC,MAAM,KAAK,GAAG,UAAU,IAAI,CAAC,CAAC,EAAU,EAAE,EAAE,CAAC,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC;IAEhG,MAAM,YAAY,GAAG,KAAK,SAAS,CAAC;QAClC,IAAI,UAAU,GAAW,oBAAoB,IAAI,IAAI,CAAC;QACtD,IAAI,OAAO,GAAG,CAAC,CAAC;QAChB,MAAM,MAAM,GAAG,OAAO,CAAC,MAAM,IAAI,IAAI,eAAe,EAAE,CAAC,MAAM,CAAC;QAE9D,OAAO,IAAI,EAAE,CAAC;YACZ,IAAI,MAAM,CAAC,OAAO;gBAAE,MAAM;YAE1B,OAAO,EAAE,C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IAAW,CAAC;4BACpB,CAAC;wBACH,CAAC;oBACH,CAAC;gBACH,CAAC;wBAAS,CAAC;oBACT,MAAM,CAAC,mBAAmB,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC;oBAClD,MAAM,CAAC,WAAW,EAAE,CAAC;gBACvB,CAAC;gBAED,MAAM,CAAC,iCAAiC;YAC1C,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBACf,kDAAkD;gBAClD,UAAU,EAAE,CAAC,KAAK,CAAC,CAAC;gBAEpB,IAAI,mBAAmB,KAAK,SAAS,IAAI,OAAO,IAAI,mBAAmB,EAAE,CAAC;oBACxE,MAAM,CAAC,0BAA0B;gBACnC,CAAC;gBAED,6DAA6D;gBAC7D,MAAM,OAAO,GAAG,IAAI,CAAC,GAAG,CAAC,UAAU,GAAG,CAAC,IAAI,CAAC,OAAO,GAAG,CAAC,CAAC,EAAE,gBAAgB,IAAI,KAAK,CAAC,CAAC;gBACrF,MAAM,KAAK,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;QACH,CAAC;IACH,CAAC,CAAC;IAEF,MAAM,MAAM,GAAG,YAAY,EAAE,CAAC;IAE9B,OAAO,EAAE,MAAM,EAAE,CAAC;AACpB,CAAC,CAAC"}
@@ -0,0 +1,79 @@
1
+ import type { Auth, AuthToken } from './auth.gen';
2
+ import type { BodySerializer, QuerySerializer, QuerySerializerOptions } from './bodySerializer.gen';
3
+ export type HttpMethod = 'connect' | 'delete' | 'get' | 'head' | 'options' | 'patch' | 'post' | 'put' | 'trace';
4
+ export type Client<RequestFn = never, Config = unknown, MethodFn = never, BuildUrlFn = never, SseFn = never> = {
5
+ /**
6
+ * Returns the final request URL.
7
+ */
8
+ buildUrl: BuildUrlFn;
9
+ getConfig: () => Config;
10
+ request: RequestFn;
11
+ setConfig: (config: Config) => Config;
12
+ } & {
13
+ [K in HttpMethod]: MethodFn;
14
+ } & ([SseFn] extends [never] ? {
15
+ sse?: never;
16
+ } : {
17
+ sse: {
18
+ [K in HttpMethod]: SseFn;
19
+ };
20
+ });
21
+ export interface Config {
22
+ /**
23
+ * Auth token or a function returning auth token. The resolved value will be
24
+ * added to the request payload as defined by its `security` array.
25
+ */
26
+ auth?: ((auth: Auth) => Promise<AuthToken> | AuthToken) | AuthToken;
27
+ /**
28
+ * A function for serializing request body parameter. By default,
29
+ * {@link JSON.stringify()} will be used.
30
+ */
31
+ bodySerializer?: BodySerializer | null;
32
+ /**
33
+ * An object containing any HTTP headers that you want to pre-populate your
34
+ * `Headers` object with.
35
+ *
36
+ * {@link https://developer.mozilla.org/docs/Web/API/Headers/Headers#init See more}
37
+ */
38
+ headers?: RequestInit['headers'] | Record<string, string | number | boolean | (string | number | boolean)[] | null | undefined | unknown>;
39
+ /**
40
+ * The request method.
41
+ *
42
+ * {@link https://developer.mozilla.org/docs/Web/API/fetch#method See more}
43
+ */
44
+ method?: Uppercase<HttpMethod>;
45
+ /**
46
+ * A function for serializing request query parameters. By default, arrays
47
+ * will be exploded in form style, objects will be exploded in deepObject
48
+ * style, and reserved characters are percent-encoded.
49
+ *
50
+ * This method will have no effect if the native `paramsSerializer()` Axios
51
+ * API function is used.
52
+ *
53
+ * {@link https://swagger.io/docs/specification/serialization/#query View examples}
54
+ */
55
+ querySerializer?: QuerySerializer | QuerySerializerOptions;
56
+ /**
57
+ * A function validating request data. This is useful if you want to ensure
58
+ * the request conforms to the desired shape, so it can be safely sent to
59
+ * the server.
60
+ */
61
+ requestValidator?: (data: unknown) => Promise<unknown>;
62
+ /**
63
+ * A function transforming response data before it's returned. This is useful
64
+ * for post-processing data, e.g., converting ISO strings into Date objects.
65
+ */
66
+ responseTransformer?: (data: unknown) => Promise<unknown>;
67
+ /**
68
+ * A function validating response data. This is useful if you want to ensure
69
+ * the response conforms to the desired shape, so it can be safely passed to
70
+ * the transformers and returned to the user.
71
+ */
72
+ responseValidator?: (data: unknown) => Promise<unknown>;
73
+ }
74
+ type IsExactlyNeverOrNeverUndefined<T> = [T] extends [never] ? true : [T] extends [never | undefined] ? [undefined] extends [T] ? false : true : false;
75
+ export type OmitNever<T extends Record<string, unknown>> = {
76
+ [K in keyof T as IsExactlyNeverOrNeverUndefined<T[K]> extends true ? never : K]: T[K];
77
+ };
78
+ export {};
79
+ //# sourceMappingURL=types.gen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.gen.d.ts","sourceRoot":"","sources":["../../../../../../src/component/garmin/types/wellnessApi/core/types.gen.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAClD,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAEpG,MAAM,MAAM,UAAU,GAClB,SAAS,GACT,QAAQ,GACR,KAAK,GACL,MAAM,GACN,SAAS,GACT,OAAO,GACP,MAAM,GACN,KAAK,GACL,OAAO,CAAC;AAEZ,MAAM,MAAM,MAAM,CAChB,SAAS,GAAG,KAAK,EACjB,MAAM,GAAG,OAAO,EAChB,QAAQ,GAAG,KAAK,EAChB,UAAU,GAAG,KAAK,EAClB,KAAK,GAAG,KAAK,IACX;IACF;;OAEG;IACH,QAAQ,EAAE,UAAU,CAAC;IACrB,SAAS,EAAE,MAAM,MAAM,CAAC;IACxB,OAAO,EAAE,SAAS,CAAC;IACnB,SAAS,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,MAAM,CAAC;CACvC,GAAG;KACD,CAAC,IAAI,UAAU,GAAG,QAAQ;CAC5B,GAAG,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,KAAK,CAAC,GAAG;IAAE,GAAG,CAAC,EAAE,KAAK,CAAA;CAAE,GAAG;IAAE,GAAG,EAAE;SAAG,CAAC,IAAI,UAAU,GAAG,KAAK;KAAE,CAAA;CAAE,CAAC,CAAC;AAExF,MAAM,WAAW,MAAM;IACrB;;;OAGG;IACH,IAAI,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,IA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AK,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACtF,CAAC"}
@@ -0,0 +1,3 @@
1
+ // This file is auto-generated by @hey-api/openapi-ts
2
+ export {};
3
+ //# sourceMappingURL=types.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.gen.js","sourceRoot":"","sources":["../../../../../../src/component/garmin/types/wellnessApi/core/types.gen.ts"],"names":[],"mappings":"AAAA,qDAAqD"}
@@ -0,0 +1,20 @@
1
+ import type { BodySerializer, QuerySerializer } from './bodySerializer.gen';
2
+ export interface PathSerializer {
3
+ path: Record<string, unknown>;
4
+ url: string;
5
+ }
6
+ export declare const PATH_PARAM_RE: RegExp;
7
+ export declare const defaultPathSerializer: ({ path, url: _url }: PathSerializer) => string;
8
+ export declare const getUrl: ({ baseUrl, path, query, querySerializer, url: _url, }: {
9
+ baseUrl?: string;
10
+ path?: Record<string, unknown>;
11
+ query?: Record<string, unknown>;
12
+ querySerializer: QuerySerializer;
13
+ url: string;
14
+ }) => string;
15
+ export declare function getValidRequestBody(options: {
16
+ body?: unknown;
17
+ bodySerializer?: BodySerializer | null;
18
+ serializedBody?: unknown;
19
+ }): unknown;
20
+ //# sourceMappingURL=utils.gen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.gen.d.ts","sourceRoot":"","sources":["../../../../../../src/component/garmin/types/wellnessApi/core/utils.gen.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAQ5E,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9B,GAAG,EAAE,MAAM,CAAC;CACb;AAED,eAAO,MAAM,aAAa,QAAgB,CAAC;AAE3C,eAAO,MAAM,qBAAqB,GAAI,qBAAqB,cAAc,WAiExE,CAAC;AAEF,eAAO,MAAM,MAAM,GAAI,uDAMpB;IACD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChC,eAAe,EAAE,eAAe,CAAC;IACjC,GAAG,EAAE,MAAM,CAAC;CACb,WAcA,CAAC;AAEF,wBAAgB,mBAAmB,CAAC,OAAO,EAAE;IAC3C,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,cAAc,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;IACvC,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,WAuBA"}
@@ -0,0 +1,88 @@
1
+ // This file is auto-generated by @hey-api/openapi-ts
2
+ import { serializeArrayParam, serializeObjectParam, serializePrimitiveParam, } from './pathSerializer.gen';
3
+ export const PATH_PARAM_RE = /\{[^{}]+\}/g;
4
+ export const defaultPathSerializer = ({ path, url: _url }) => {
5
+ let url = _url;
6
+ const matches = _url.match(PATH_PARAM_RE);
7
+ if (matches) {
8
+ for (const match of matches) {
9
+ let explode = false;
10
+ let name = match.substring(1, match.length - 1);
11
+ let style = 'simple';
12
+ if (name.endsWith('*')) {
13
+ explode = true;
14
+ name = name.substring(0, name.length - 1);
15
+ }
16
+ if (name.startsWith('.')) {
17
+ name = name.substring(1);
18
+ style = 'label';
19
+ }
20
+ else if (name.startsWith(';')) {
21
+ name = name.substring(1);
22
+ style = 'matrix';
23
+ }
24
+ const value = path[name];
25
+ if (value === undefined || value === null) {
26
+ continue;
27
+ }
28
+ if (Array.isArray(value)) {
29
+ url = url.replace(match, serializeArrayParam({ explode, name, style, value }));
30
+ continue;
31
+ }
32
+ if (typeof value === 'object') {
33
+ url = url.replace(match, serializeObjectParam({
34
+ explode,
35
+ name,
36
+ style,
37
+ value: value,
38
+ valueOnly: true,
39
+ }));
40
+ continue;
41
+ }
42
+ if (style === 'matrix') {
43
+ url = url.replace(match, `;${serializePrimitiveParam({
44
+ name,
45
+ value: value,
46
+ })}`);
47
+ continue;
48
+ }
49
+ const replaceValue = encodeURIComponent(style === 'label' ? `.${value}` : value);
50
+ url = url.replace(match, replaceValue);
51
+ }
52
+ }
53
+ return url;
54
+ };
55
+ export const getUrl = ({ baseUrl, path, query, querySerializer, url: _url, }) => {
56
+ const pathUrl = _url.startsWith('/') ? _url : `/${_url}`;
57
+ let url = (baseUrl ?? '') + pathUrl;
58
+ if (path) {
59
+ url = defaultPathSerializer({ path, url });
60
+ }
61
+ let search = query ? querySerializer(query) : '';
62
+ if (search.startsWith('?')) {
63
+ search = search.substring(1);
64
+ }
65
+ if (search) {
66
+ url += `?${search}`;
67
+ }
68
+ return url;
69
+ };
70
+ export function getValidRequestBody(options) {
71
+ const hasBody = options.body !== undefined;
72
+ const isSerializedBody = hasBody && options.bodySerializer;
73
+ if (isSerializedBody) {
74
+ if ('serializedBody' in options) {
75
+ const hasSerializedBody = options.serializedBody !== undefined && options.serializedBody !== '';
76
+ return hasSerializedBody ? options.serializedBody : null;
77
+ }
78
+ // not all clients implement a serializedBody property (i.e., client-axios)
79
+ return options.body !== '' ? options.body : null;
80
+ }
81
+ // plain/text body
82
+ if (hasBody) {
83
+ return options.body;
84
+ }
85
+ // no body was provided
86
+ return undefined;
87
+ }
88
+ //# sourceMappingURL=utils.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.gen.js","sourceRoot":"","sources":["../../../../../../src/component/garmin/types/wellnessApi/core/utils.gen.ts"],"names":[],"mappings":"AAAA,qDAAqD;AAGrD,OAAO,EAEL,mBAAmB,EACnB,oBAAoB,EACpB,uBAAuB,GACxB,MAAM,sBAAsB,CAAC;AAO9B,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAC;AAE3C,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,EAAkB,EAAE,EAAE;IAC3E,IAAI,GAAG,GAAG,IAAI,CAAC;IACf,MAAM,OAAO,GAAG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AAE,CAAC;IACjD,IAAI,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC;QAC3B,MAAM,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;IAC/B,CAAC;IACD,IAAI,MAAM,EAAE,CAAC;QACX,GAAG,IAAI,IAAI,MAAM,EAAE,CAAC;IACtB,CAAC;IACD,OAAO,GAAG,CAAC;AACb,CAAC,CAAC;AAEF,MAAM,UAAU,mBAAmB,CAAC,OAInC;IACC,MAAM,OAAO,GAAG,OAAO,CAAC,IAAI,KAAK,SAAS,CAAC;IAC3C,MAAM,gBAAgB,GAAG,OAAO,IAAI,OAAO,CAAC,cAAc,CAAC;IAE3D,IAAI,gBAAgB,EAAE,CAAC;QACrB,IAAI,gBAAgB,IAAI,OAAO,EAAE,CAAC;YAChC,MAAM,iBAAiB,GACrB,OAAO,CAAC,cAAc,KAAK,SAAS,IAAI,OAAO,CAAC,cAAc,KAAK,EAAE,CAAC;YAExE,OAAO,iBAAiB,CAAC,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC,IAAI,CAAC;QAC3D,CAAC;QAED,2EAA2E;QAC3E,OAAO,OAAO,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC;IACnD,CAAC;IAED,kBAAkB;IAClB,IAAI,OAAO,EAAE,CAAC;QACZ,OAAO,OAAO,CAAC,IAAI,CAAC;IACtB,CAAC;IAED,uBAAuB;IACvB,OAAO,SAAS,CAAC;AACnB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { activityDetails, dereg, getActivities, getActivityFile, getBackfillActivities, getBackfillActivityDetails, getBackfillAutoActivityMoveiq, getBackfillBloodPressures, getBackfillBodycomps, getBackfillDailies, getBackfillEpochs, getBackfillHealthSnapshot, getBackfillHrv, getBackfillMct, getBackfillPulseox, getBackfillRespirationEpoch, getBackfillSkinTemp, getBackfillSleeps, getBackfillStressDetails, getBackfillUserMetrics, getBloodPressures, getBodyComps, getDailies, getEpochs, getHealthsnapshot, getHrv, getManuallyUpdatedActivities, getMct, getMoveIq, getPulseox, getRespiration, getSkinTemp, getSleeps, getSolar, getStressDetails, getUserMetrics, getUserPermissions, type Options, userId } from './sdk.gen';
2
+ export type { ActivityDetailsData, ActivityDetailsError, ActivityDetailsErrors, ActivityDetailsResponse, ActivityDetailsResponses, BodyBatteryActivityEvent, BodyBatteryDynamicFeedbackEvent, ClientActivity, ClientActivityDetail, ClientAutoActivityMoveIq, ClientBloodGlucose, ClientBloodPressure, ClientBodyComp, ClientConsumerPermissions, ClientDaily, ClientDailySpo2Acclimation, ClientEpoch, ClientHealthSnapshot, ClientHrvSummary, ClientLap, ClientNaps, ClientOptions, ClientPregnancySnapshot, ClientRespiration, ClientSkinTemp, ClientSleep, ClientSleepScoreItem, ClientSolar, ClientSolarReading, ClientStress, ClientSummarizedMenstrualCycle, ClientSummarizedMenstrualCycleWritable, ClientUserId, ClientUserMetrics, ClientWeightGoalUserInput, DeregData, DeregError, DeregErrors, DeregResponse, DeregResponses, ErrorBody, GetActivitiesData, GetActivitiesError, GetActivitiesErrors, GetActivitiesResponse, GetActivitiesResponses, GetActivityFileData, GetActivityFileError, GetActivityFileErrors, GetActivityFileResponse, GetActivityFileResponses, GetBackfillActivitiesData, GetBackfillActivitiesError, GetBackfillActivitiesErrors, GetBackfillActivitiesResponses, GetBackfillActivityDetailsData, GetBackfillActivityDetailsError, GetBackfillActivityDetailsErrors, GetBackfillActivityDetailsResponses, GetBackfillAutoActivityMoveiqData, GetBackfillAutoActivityMoveiqError, GetBackfillAutoActivityMoveiqErrors, GetBackfillAutoActivityMoveiqResponses, GetBackfillBloodPressuresData, GetBackfillBloodPressuresError, GetBackfillBloodPressuresErrors, GetBackfillBloodPressuresResponses, GetBackfillBodycompsData, GetBackfillBodycompsError, GetBackfillBodycompsErrors, GetBackfillBodycompsResponses, GetBackfillDailiesData, GetBackfillDailiesError, GetBackfillDailiesErrors, GetBackfillDailiesResponses, GetBackfillEpochsData, GetBackfillEpochsError, GetBackfillEpochsErrors, GetBackfillEpochsResponses, GetBackfillHealthSnapshotData, GetBackfillHealthSnapshotError, GetBackfillHealthSnapshotErrors, GetBackfillHealthSnapshotResponses, GetBackfillHrvData, GetBackfillHrvError, GetBackfillHrvErrors, GetBackfillHrvResponses, GetBackfillMctData, GetBackfillMctError, GetBackfillMctErrors, GetBackfillMctResponses, GetBackfillPulseoxData, GetBackfillPulseoxError, GetBackfillPulseoxErrors, GetBackfillPulseoxResponses, GetBackfillRespirationEpochData, GetBackfillRespirationEpochError, GetBackfillRespirationEpochErrors, GetBackfillRespirationEpochResponses, GetBackfillSkinTempData, GetBackfillSkinTempError, GetBackfillSkinTempErrors, GetBackfillSkinTempResponses, GetBackfillSleepsData, GetBackfillSleepsError, GetBackfillSleepsErrors, GetBackfillSleepsResponses, GetBackfillStressDetailsData, GetBackfillStressDetailsError, GetBackfillStressDetailsErrors, GetBackfillStressDetailsResponses, GetBackfillUserMetricsData, GetBackfillUserMetricsError, GetBackfillUserMetricsErrors, GetBackfillUserMetricsResponses, GetBloodPressuresData, GetBloodPressuresError, GetBloodPressuresErrors, GetBloodPressuresResponse, GetBloodPressuresResponses, GetBodyCompsData, GetBodyCompsError, GetBodyCompsErrors, GetBodyCompsResponse, GetBodyCompsResponses, GetDailiesData, GetDailiesError, GetDailiesErrors, GetDailiesResponse, GetDailiesResponses, GetEpochsData, GetEpochsError, GetEpochsErrors, GetEpochsResponse, GetEpochsResponses, GetHealthsnapshotData, GetHealthsnapshotError, GetHealthsnapshotErrors, GetHealthsnapshotResponse, GetHealthsnapshotResponses, GetHrvData, GetHrvError, GetHrvErrors, GetHrvResponse, GetHrvResponses, GetManuallyUpdatedActivitiesData, GetManuallyUpdatedActivitiesError, GetManuallyUpdatedActivitiesErrors, GetManuallyUpdatedActivitiesResponse, GetManuallyUpdatedActivitiesResponses, GetMctData, GetMctError, GetMctErrors, GetMctResponse, GetMctResponses, GetMoveIqData, GetMoveIqError, GetMoveIqErrors, GetMoveIqResponse, GetMoveIqResponses, GetPulseoxData, GetPulseoxError, GetPulseoxErrors, GetPulseoxResponse, GetPulseoxResponses, GetRespirationData, GetRespirationError, GetRespirationErrors, GetRespirationResponse, GetRespirationResponses, GetSkinTempData, GetSkinTempError, GetSkinTempErrors, GetSkinTempResponse, GetSkinTempResponses, GetSleepsData, GetSleepsError, GetSleepsErrors, GetSleepsResponse, GetSleepsResponses, GetSolarData, GetSolarError, GetSolarErrors, GetSolarResponse, GetSolarResponses, GetStressDetailsData, GetStressDetailsError, GetStressDetailsErrors, GetStressDetailsResponse, GetStressDetailsResponses, GetUserMetricsData, GetUserMetricsError, GetUserMetricsErrors, GetUserMetricsResponse, GetUserMetricsResponses, GetUserPermissionsData, GetUserPermissionsError, GetUserPermissionsErrors, GetUserPermissionsResponse, GetUserPermissionsResponses, HealthSnapshotSummary, Sample, ServiceFailure, TimeRange, UserIdData, UserIdError, UserIdErrors, UserIdResponse, UserIdResponses } from './types.gen';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/component/garmin/types/wellnessApi/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,qBAAqB,EAAE,0BAA0B,EAAE,6BAA6B,EAAE,yBAAyB,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,yBAAyB,EAAE,cAAc,EAAE,cAAc,EAAE,kBAAkB,EAAE,2BAA2B,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,wBAAwB,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,EAAE,4BAA4B,EAAE,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,cAAc,EAAE,WAAW,EAAE,SA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,sBAAsB,EAAE,uBAAuB,EAAE,eAAe,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,aAAa,EAAE,cAAc,EAAE,eAAe,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,qBAAqB,EAAE,MAAM,EAAE,cAAc,EAAE,SAAS,EAAE,UAAU,EAAE,WAAW,EAAE,YAAY,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC"}
@@ -0,0 +1,3 @@
1
+ // This file is auto-generated by @hey-api/openapi-ts
2
+ export { activityDetails, dereg, getActivities, getActivityFile, getBackfillActivities, getBackfillActivityDetails, getBackfillAutoActivityMoveiq, getBackfillBloodPressures, getBackfillBodycomps, getBackfillDailies, getBackfillEpochs, getBackfillHealthSnapshot, getBackfillHrv, getBackfillMct, getBackfillPulseox, getBackfillRespirationEpoch, getBackfillSkinTemp, getBackfillSleeps, getBackfillStressDetails, getBackfillUserMetrics, getBloodPressures, getBodyComps, getDailies, getEpochs, getHealthsnapshot, getHrv, getManuallyUpdatedActivities, getMct, getMoveIq, getPulseox, getRespiration, getSkinTemp, getSleeps, getSolar, getStressDetails, getUserMetrics, getUserPermissions, userId } from './sdk.gen';
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/component/garmin/types/wellnessApi/index.ts"],"names":[],"mappings":"AAAA,qDAAqD;AAErD,OAAO,EAAE,eAAe,EAAE,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,qBAAqB,EAAE,0BAA0B,EAAE,6BAA6B,EAAE,yBAAyB,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,yBAAyB,EAAE,cAAc,EAAE,cAAc,EAAE,kBAAkB,EAAE,2BAA2B,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,wBAAwB,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,EAAE,4BAA4B,EAAE,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,cAAc,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAE,gBAAgB,EAAE,cAAc,EAAE,kBAAkB,EAAgB,MAAM,EAAE,MAAM,WAAW,CAAC"}
@@ -0,0 +1,166 @@
1
+ import type { Client, Options as Options2, TDataShape } from './client';
2
+ import type { ActivityDetailsData, ActivityDetailsErrors, ActivityDetailsResponses, DeregData, DeregErrors, DeregResponses, GetActivitiesData, GetActivitiesErrors, GetActivitiesResponses, GetActivityFileData, GetActivityFileErrors, GetActivityFileResponses, GetBackfillActivitiesData, GetBackfillActivitiesErrors, GetBackfillActivitiesResponses, GetBackfillActivityDetailsData, GetBackfillActivityDetailsErrors, GetBackfillActivityDetailsResponses, GetBackfillAutoActivityMoveiqData, GetBackfillAutoActivityMoveiqErrors, GetBackfillAutoActivityMoveiqResponses, GetBackfillBloodPressuresData, GetBackfillBloodPressuresErrors, GetBackfillBloodPressuresResponses, GetBackfillBodycompsData, GetBackfillBodycompsErrors, GetBackfillBodycompsResponses, GetBackfillDailiesData, GetBackfillDailiesErrors, GetBackfillDailiesResponses, GetBackfillEpochsData, GetBackfillEpochsErrors, GetBackfillEpochsResponses, GetBackfillHealthSnapshotData, GetBackfillHealthSnapshotErrors, GetBackfillHealthSnapshotResponses, GetBackfillHrvData, GetBackfillHrvErrors, GetBackfillHrvResponses, GetBackfillMctData, GetBackfillMctErrors, GetBackfillMctResponses, GetBackfillPulseoxData, GetBackfillPulseoxErrors, GetBackfillPulseoxResponses, GetBackfillRespirationEpochData, GetBackfillRespirationEpochErrors, GetBackfillRespirationEpochResponses, GetBackfillSkinTempData, GetBackfillSkinTempErrors, GetBackfillSkinTempResponses, GetBackfillSleepsData, GetBackfillSleepsErrors, GetBackfillSleepsResponses, GetBackfillStressDetailsData, GetBackfillStressDetailsErrors, GetBackfillStressDetailsResponses, GetBackfillUserMetricsData, GetBackfillUserMetricsErrors, GetBackfillUserMetricsResponses, GetBloodPressuresData, GetBloodPressuresErrors, GetBloodPressuresResponses, GetBodyCompsData, GetBodyCompsErrors, GetBodyCompsResponses, GetDailiesData, GetDailiesErrors, GetDailiesResponses, GetEpochsData, GetEpochsErrors, GetEpochsResponses, GetHealthsnapshotData, GetHealthsnapshotErrors, GetHealthsnapshotResponses, GetHrvData, GetHrvErrors, GetHrvResponses, GetManuallyUpdatedActivitiesData, GetManuallyUpdatedActivitiesErrors, GetManuallyUpdatedActivitiesResponses, GetMctData, GetMctErrors, GetMctResponses, GetMoveIqData, GetMoveIqErrors, GetMoveIqResponses, GetPulseoxData, GetPulseoxErrors, GetPulseoxResponses, GetRespirationData, GetRespirationErrors, GetRespirationResponses, GetSkinTempData, GetSkinTempErrors, GetSkinTempResponses, GetSleepsData, GetSleepsErrors, GetSleepsResponses, GetSolarData, GetSolarErrors, GetSolarResponses, GetStressDetailsData, GetStressDetailsErrors, GetStressDetailsResponses, GetUserMetricsData, GetUserMetricsErrors, GetUserMetricsResponses, GetUserPermissionsData, GetUserPermissionsErrors, GetUserPermissionsResponses, UserIdData, UserIdErrors, UserIdResponses } from './types.gen';
3
+ export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options2<TData, ThrowOnError> & {
4
+ /**
5
+ * You can provide a client instance returned by `createClient()` instead of
6
+ * individual options. This might be also useful if you want to implement a
7
+ * custom client.
8
+ */
9
+ client?: Client;
10
+ /**
11
+ * You can pass arbitrary values through the `meta` object. This can be
12
+ * used to access values that aren't defined as part of the SDK function.
13
+ */
14
+ meta?: Record<string, unknown>;
15
+ };
16
+ /**
17
+ * User Metrics are per-user calculations performed by Garmin based on the underlying data uploaded from the user’s device.
18
+ * This data can be specific to a single device and field availability is dependent on device model support
19
+ *
20
+ */
21
+ export declare const getUserMetrics: <ThrowOnError extends boolean = false>(options?: Options<GetUserMetricsData, ThrowOnError>) => import("./client").RequestResult<GetUserMetricsResponses, GetUserMetricsErrors, ThrowOnError, "fields">;
22
+ export declare const getUserPermissions: <ThrowOnError extends boolean = false>(options?: Options<GetUserPermissionsData, ThrowOnError>) => import("./client").RequestResult<GetUserPermissionsResponses, GetUserPermissionsErrors, ThrowOnError, "fields">;
23
+ /**
24
+ * Get the Health API ID for this user. This ID will persist across multiple User Access Tokens generated by the same user.
25
+ */
26
+ export declare const userId: <ThrowOnError extends boolean = false>(options?: Options<UserIdData, ThrowOnError>) => import("./client").RequestResult<UserIdResponses, UserIdErrors, ThrowOnError, "fields">;
27
+ /**
28
+ * Stress Details summaries contain the user’s stress level values for a given day.
29
+ * Stress levels are provided as 3-minute averages of the real-time stress scores generated on the device.
30
+ * Stress values from the Health API are exactly the stress values shown on Garmin Connect.
31
+ *
32
+ */
33
+ export declare const getStressDetails: <ThrowOnError extends boolean = false>(options?: Options<GetStressDetailsData, ThrowOnError>) => import("./client").RequestResult<GetStressDetailsResponses, GetStressDetailsErrors, ThrowOnError, "fields">;
34
+ /**
35
+ * retrieve a list of Solar summary
36
+ */
37
+ export declare const getSolar: <ThrowOnError extends boolean = false>(options?: Options<GetSolarData, ThrowOnError>) => import("./client").RequestResult<GetSolarResponses, GetSolarErrors, ThrowOnError, "fields">;
38
+ /**
39
+ * Sleep summaries are data records representing how long the user slept and the automatically classified sleep levels during that sleep event
40
+ * (e.g. light, deep periods) based on data generated by the user’s device.
41
+ * Unlike Daily summaries which are associated with a given day on a midnight-to-midnight basis,
42
+ * Sleep summaries are associated with a user’s overnight sleep range. Most will start on one calendar day and end on the next calendar day,
43
+ * but it is possible for two different Sleep summaries to begin on the same day if, for example,
44
+ * the user goes to bed after midnight, wakes up, and then goes to bed prior to midnight the next evening.
45
+ *
46
+ * Tip: Many Garmin devices attempt to auto-sync data during the night while the user is asleep and the smartphone is charging.
47
+ * This may result in an incomplete Sleep summary record. It is important to update sleep data with the most recent
48
+ * data provided on subsequent ping notifications to get an accurate and full representation of the sleep window. See the “validation” parameter for more details.
49
+ *
50
+ */
51
+ export declare const getSleeps: <ThrowOnError extends boolean = false>(options?: Options<GetSleepsData, ThrowOnError>) => import("./client").RequestResult<GetSleepsResponses, GetSleepsErrors, ThrowOnError, "fields">;
52
+ /**
53
+ * retrieve a list of skin temp summary
54
+ */
55
+ export declare const getSkinTemp: <ThrowOnError extends boolean = false>(options?: Options<GetSkinTempData, ThrowOnError>) => import("./client").RequestResult<GetSkinTempResponses, GetSkinTempErrors, ThrowOnError, "fields">;
56
+ /**
57
+ * Respiration is a feature available on some Garmin devices that tracks breathing rate throughout the day, during sleep, and during activities.
58
+ */
59
+ export declare const getRespiration: <ThrowOnError extends boolean = false>(options?: Options<GetRespirationData, ThrowOnError>) => import("./client").RequestResult<GetRespirationResponses, GetRespirationErrors, ThrowOnError, "fields">;
60
+ /**
61
+ * Pulse Ox summaries contain blood oxygen saturation data.
62
+ */
63
+ export declare const getPulseox: <ThrowOnError extends boolean = false>(options?: Options<GetPulseoxData, ThrowOnError>) => import("./client").RequestResult<GetPulseoxResponses, GetPulseoxErrors, ThrowOnError, "fields">;
64
+ /**
65
+ * Move IQ Event summaries are a feed of activities which have been automatically detected by the device based on movement patterns,
66
+ * like running or biking. These are not activities initiated by the user. Please note that wellness data, like steps and distance,
67
+ * from Move IQ events are already included in the Daily and Epoch summaries.
68
+ *
69
+ */
70
+ export declare const getMoveIq: <ThrowOnError extends boolean = false>(options?: Options<GetMoveIqData, ThrowOnError>) => import("./client").RequestResult<GetMoveIqResponses, GetMoveIqErrors, ThrowOnError, "fields">;
71
+ /**
72
+ * The Menstrual Cycle Tracking feature available on some Garmin devices allows users to track information
73
+ * about their cycle schedule and log symptoms. The MCT Summary only returns information related to cycle
74
+ * schedule and does not make the information about symptoms available.
75
+ *
76
+ */
77
+ export declare const getMct: <ThrowOnError extends boolean = false>(options?: Options<GetMctData, ThrowOnError>) => import("./client").RequestResult<GetMctResponses, GetMctErrors, ThrowOnError, "fields">;
78
+ /**
79
+ * Manual activities are created or edited by the user directly on the Connect site and not uploaded from a device.
80
+ * Manual activities can be identified by the property ‘manual’ = true and are separated out in to their own summary data type to allow greater control.
81
+ * This field will only exist if the activity is manually created or edited.
82
+ *
83
+ */
84
+ export declare const getManuallyUpdatedActivities: <ThrowOnError extends boolean = false>(options?: Options<GetManuallyUpdatedActivitiesData, ThrowOnError>) => import("./client").RequestResult<GetManuallyUpdatedActivitiesResponses, GetManuallyUpdatedActivitiesErrors, ThrowOnError, "fields">;
85
+ /**
86
+ * Heart rate variability (HRV) refers to beat-to-beat variations in heart rate and is data collected during
87
+ * the overnight sleep window for select devices. To gain a deeper understanding of your overall health,
88
+ * recovery and training performance through heart rate variability while you sleep.
89
+ *
90
+ */
91
+ export declare const getHrv: <ThrowOnError extends boolean = false>(options?: Options<GetHrvData, ThrowOnError>) => import("./client").RequestResult<GetHrvResponses, GetHrvErrors, ThrowOnError, "fields">;
92
+ /**
93
+ * The Garmin Health Snapshot is a collection of key health-related insights recorded during a two-minute session on a compatible device.
94
+ * Heart rate (HR), heart rate variability (HRV), Pulse Ox, respiration, and stress are the metrics included this summary,
95
+ * which collectively provide you a glimpse of your overall cardiovascular status.
96
+ *
97
+ */
98
+ export declare const getHealthsnapshot: <ThrowOnError extends boolean = false>(options?: Options<GetHealthsnapshotData, ThrowOnError>) => import("./client").RequestResult<GetHealthsnapshotResponses, GetHealthsnapshotErrors, ThrowOnError, "fields">;
99
+ /**
100
+ * This service provides the ability to retrieve a list of summaries containing wellness data for a specific time range.
101
+ * Epoch summary records contain much of the same data available in Daily summaries, but with 15-minute time-slice granularity.
102
+ * There is one record for each activity type monitored within an individual epoch.
103
+ *
104
+ */
105
+ export declare const getEpochs: <ThrowOnError extends boolean = false>(options?: Options<GetEpochsData, ThrowOnError>) => import("./client").RequestResult<GetEpochsResponses, GetEpochsErrors, ThrowOnError, "fields">;
106
+ /**
107
+ * Daily summaries offer a high-level view of the user’s entire day.
108
+ */
109
+ export declare const getDailies: <ThrowOnError extends boolean = false>(options?: Options<GetDailiesData, ThrowOnError>) => import("./client").RequestResult<GetDailiesResponses, GetDailiesErrors, ThrowOnError, "fields">;
110
+ /**
111
+ * Body Composition summaries contain information about the user’s biometric data, like weight or body mass index.
112
+ */
113
+ export declare const getBodyComps: <ThrowOnError extends boolean = false>(options?: Options<GetBodyCompsData, ThrowOnError>) => import("./client").RequestResult<GetBodyCompsResponses, GetBodyCompsErrors, ThrowOnError, "fields">;
114
+ /**
115
+ * retrieve a list of one or more blood pressure summaries
116
+ */
117
+ export declare const getBloodPressures: <ThrowOnError extends boolean = false>(options?: Options<GetBloodPressuresData, ThrowOnError>) => import("./client").RequestResult<GetBloodPressuresResponses, GetBloodPressuresErrors, ThrowOnError, "fields">;
118
+ export declare const getBackfillUserMetrics: <ThrowOnError extends boolean = false>(options?: Options<GetBackfillUserMetricsData, ThrowOnError>) => import("./client").RequestResult<GetBackfillUserMetricsResponses, GetBackfillUserMetricsErrors, ThrowOnError, "fields">;
119
+ export declare const getBackfillStressDetails: <ThrowOnError extends boolean = false>(options?: Options<GetBackfillStressDetailsData, ThrowOnError>) => import("./client").RequestResult<GetBackfillStressDetailsResponses, GetBackfillStressDetailsErrors, ThrowOnError, "fields">;
120
+ export declare const getBackfillSleeps: <ThrowOnError extends boolean = false>(options?: Options<GetBackfillSleepsData, ThrowOnError>) => import("./client").RequestResult<GetBackfillSleepsResponses, GetBackfillSleepsErrors, ThrowOnError, "fields">;
121
+ export declare const getBackfillSkinTemp: <ThrowOnError extends boolean = false>(options?: Options<GetBackfillSkinTempData, ThrowOnError>) => import("./client").RequestResult<GetBackfillSkinTempResponses, GetBackfillSkinTempErrors, ThrowOnError, "fields">;
122
+ export declare const getBackfillRespirationEpoch: <ThrowOnError extends boolean = false>(options?: Options<GetBackfillRespirationEpochData, ThrowOnError>) => import("./client").RequestResult<GetBackfillRespirationEpochResponses, GetBackfillRespirationEpochErrors, ThrowOnError, "fields">;
123
+ export declare const getBackfillPulseox: <ThrowOnError extends boolean = false>(options?: Options<GetBackfillPulseoxData, ThrowOnError>) => import("./client").RequestResult<GetBackfillPulseoxResponses, GetBackfillPulseoxErrors, ThrowOnError, "fields">;
124
+ export declare const getBackfillAutoActivityMoveiq: <ThrowOnError extends boolean = false>(options?: Options<GetBackfillAutoActivityMoveiqData, ThrowOnError>) => import("./client").RequestResult<GetBackfillAutoActivityMoveiqResponses, GetBackfillAutoActivityMoveiqErrors, ThrowOnError, "fields">;
125
+ export declare const getBackfillMct: <ThrowOnError extends boolean = false>(options?: Options<GetBackfillMctData, ThrowOnError>) => import("./client").RequestResult<GetBackfillMctResponses, GetBackfillMctErrors, ThrowOnError, "fields">;
126
+ export declare const getBackfillHrv: <ThrowOnError extends boolean = false>(options?: Options<GetBackfillHrvData, ThrowOnError>) => import("./client").RequestResult<GetBackfillHrvResponses, GetBackfillHrvErrors, ThrowOnError, "fields">;
127
+ export declare const getBackfillHealthSnapshot: <ThrowOnError extends boolean = false>(options?: Options<GetBackfillHealthSnapshotData, ThrowOnError>) => import("./client").RequestResult<GetBackfillHealthSnapshotResponses, GetBackfillHealthSnapshotErrors, ThrowOnError, "fields">;
128
+ export declare const getBackfillEpochs: <ThrowOnError extends boolean = false>(options?: Options<GetBackfillEpochsData, ThrowOnError>) => import("./client").RequestResult<GetBackfillEpochsResponses, GetBackfillEpochsErrors, ThrowOnError, "fields">;
129
+ export declare const getBackfillDailies: <ThrowOnError extends boolean = false>(options?: Options<GetBackfillDailiesData, ThrowOnError>) => import("./client").RequestResult<GetBackfillDailiesResponses, GetBackfillDailiesErrors, ThrowOnError, "fields">;
130
+ export declare const getBackfillBodycomps: <ThrowOnError extends boolean = false>(options?: Options<GetBackfillBodycompsData, ThrowOnError>) => import("./client").RequestResult<GetBackfillBodycompsResponses, GetBackfillBodycompsErrors, ThrowOnError, "fields">;
131
+ export declare const getBackfillBloodPressures: <ThrowOnError extends boolean = false>(options?: Options<GetBackfillBloodPressuresData, ThrowOnError>) => import("./client").RequestResult<GetBackfillBloodPressuresResponses, GetBackfillBloodPressuresErrors, ThrowOnError, "fields">;
132
+ export declare const getBackfillActivityDetails: <ThrowOnError extends boolean = false>(options?: Options<GetBackfillActivityDetailsData, ThrowOnError>) => import("./client").RequestResult<GetBackfillActivityDetailsResponses, GetBackfillActivityDetailsErrors, ThrowOnError, "fields">;
133
+ export declare const getBackfillActivities: <ThrowOnError extends boolean = false>(options?: Options<GetBackfillActivitiesData, ThrowOnError>) => import("./client").RequestResult<GetBackfillActivitiesResponses, GetBackfillActivitiesErrors, ThrowOnError, "fields">;
134
+ /**
135
+ * Activity details are also available as raw FIT, TCX, or GPX files. These are the actual files recorded by
136
+ * the wearable as part of the Fitness Activity, including GPS coordinates, all recorded sensor data,
137
+ * and any product-specific data that may not be exposed as part of the parsed Activity Details.
138
+ *
139
+ * Parsing of raw files is the responsibility of the partner. When deciding between Activity Details
140
+ * Summaries and Activity Files it is generally recommended to only choose Files if there are specific required fields or details in the Files that are not available in the Summaries
141
+ * Unlike normal Summaries, Activity Files are not available as a Push integration. Files are only available in response to a Ping by calling the specified callbackURL.
142
+ *
143
+ */
144
+ export declare const getActivityFile: <ThrowOnError extends boolean = false>(options?: Options<GetActivityFileData, ThrowOnError>) => import("./client").RequestResult<GetActivityFileResponses, GetActivityFileErrors, ThrowOnError, "fields">;
145
+ /**
146
+ * This request is to retrieve a list of one or more fitness activity details summaries from the API.
147
+ * Fitness activity details summaries represent detailed information about discrete fitness activities,
148
+ * such as running or swimming, that are specifically and intentionally started by the user on their device.
149
+ * Activity details summaries include all data recorded by the device as part of the Fitness Activity, including GPS coordinates and all recorded sensor data.
150
+ *
151
+ */
152
+ export declare const activityDetails: <ThrowOnError extends boolean = false>(options?: Options<ActivityDetailsData, ThrowOnError>) => import("./client").RequestResult<ActivityDetailsResponses, ActivityDetailsErrors, ThrowOnError, "fields">;
153
+ /**
154
+ * This request is to retrieve a list of one or more fitness activity summaries from the API.
155
+ *
156
+ * Fitness activity summaries represent high-level information from discrete fitness activities,
157
+ * such as running or swimming, that are specifically and intentionally started by the user on their device.
158
+ * For detailed activity information (e.g. heart rate, GPS track log, or other sensor information) see the Activity Details summary type.
159
+ *
160
+ */
161
+ export declare const getActivities: <ThrowOnError extends boolean = false>(options?: Options<GetActivitiesData, ThrowOnError>) => import("./client").RequestResult<GetActivitiesResponses, GetActivitiesErrors, ThrowOnError, "fields">;
162
+ /**
163
+ * Delete the provided user access token, removing the association between the user and the calling app
164
+ */
165
+ export declare const dereg: <ThrowOnError extends boolean = false>(options?: Options<DeregData, ThrowOnError>) => import("./client").RequestResult<DeregResponses, DeregErrors, ThrowOnError, "fields">;
166
+ //# sourceMappingURL=sdk.gen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sdk.gen.d.ts","sourceRoot":"","sources":["../../../../../src/component/garmin/types/wellnessApi/sdk.gen.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,OAAO,IAAI,QAAQ,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAExE,OAAO,KAAK,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,wBAAwB,EAAE,SAAS,EAAE,WAAW,EAAE,cAAc,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,2BAA2B,EAAE,8BAA8B,EAAE,8BAA8B,EAAE,gCAAgC,EAAE,mCAAmC,EAAE,iCAAiC,EAAE,mCAAmC,EAAE,sCAAsC,EAAE,6BAA6B,EAAE,+BAA+B,EAAE,kCAAkC,EAA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eAAO,MAAM,eAAe,GAAI,YAAY,SAAS,OAAO,GAAG,KAAK,EAAE,UAAU,OAAO,CAAC,mBAAmB,EAAE,YAAY,CAAC,8GAA8I,CAAC;AAEzQ;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,GAAI,YAAY,SAAS,OAAO,GAAG,KAAK,EAAE,UAAU,OAAO,CAAC,mBAAmB,EAAE,YAAY,CAAC,8GAAiJ,CAAC;AAE5Q;;;;;;;GAOG;AACH,eAAO,MAAM,aAAa,GAAI,YAAY,SAAS,OAAO,GAAG,KAAK,EAAE,UAAU,OAAO,CAAC,iBAAiB,EAAE,YAAY,CAAC,0GAAwI,CAAC;AAE/P;;GAEG;AACH,eAAO,MAAM,KAAK,GAAI,YAAY,SAAS,OAAO,GAAG,KAAK,EAAE,UAAU,OAAO,CAAC,SAAS,EAAE,YAAY,CAAC,0FAAkI,CAAC"}
@@ -0,0 +1,153 @@
1
+ // This file is auto-generated by @hey-api/openapi-ts
2
+ import { client } from './client.gen';
3
+ /**
4
+ * User Metrics are per-user calculations performed by Garmin based on the underlying data uploaded from the user’s device.
5
+ * This data can be specific to a single device and field availability is dependent on device model support
6
+ *
7
+ */
8
+ export const getUserMetrics = (options) => (options?.client ?? client).get({ url: '/rest/userMetrics', ...options });
9
+ export const getUserPermissions = (options) => (options?.client ?? client).get({ url: '/rest/user/permissions', ...options });
10
+ /**
11
+ * Get the Health API ID for this user. This ID will persist across multiple User Access Tokens generated by the same user.
12
+ */
13
+ export const userId = (options) => (options?.client ?? client).get({ url: '/rest/user/id', ...options });
14
+ /**
15
+ * Stress Details summaries contain the user’s stress level values for a given day.
16
+ * Stress levels are provided as 3-minute averages of the real-time stress scores generated on the device.
17
+ * Stress values from the Health API are exactly the stress values shown on Garmin Connect.
18
+ *
19
+ */
20
+ export const getStressDetails = (options) => (options?.client ?? client).get({ url: '/rest/stressDetails', ...options });
21
+ /**
22
+ * retrieve a list of Solar summary
23
+ */
24
+ export const getSolar = (options) => (options?.client ?? client).get({ url: '/rest/solarIntensity', ...options });
25
+ /**
26
+ * Sleep summaries are data records representing how long the user slept and the automatically classified sleep levels during that sleep event
27
+ * (e.g. light, deep periods) based on data generated by the user’s device.
28
+ * Unlike Daily summaries which are associated with a given day on a midnight-to-midnight basis,
29
+ * Sleep summaries are associated with a user’s overnight sleep range. Most will start on one calendar day and end on the next calendar day,
30
+ * but it is possible for two different Sleep summaries to begin on the same day if, for example,
31
+ * the user goes to bed after midnight, wakes up, and then goes to bed prior to midnight the next evening.
32
+ *
33
+ * Tip: Many Garmin devices attempt to auto-sync data during the night while the user is asleep and the smartphone is charging.
34
+ * This may result in an incomplete Sleep summary record. It is important to update sleep data with the most recent
35
+ * data provided on subsequent ping notifications to get an accurate and full representation of the sleep window. See the “validation” parameter for more details.
36
+ *
37
+ */
38
+ export const getSleeps = (options) => (options?.client ?? client).get({ url: '/rest/sleeps', ...options });
39
+ /**
40
+ * retrieve a list of skin temp summary
41
+ */
42
+ export const getSkinTemp = (options) => (options?.client ?? client).get({ url: '/rest/skinTemp', ...options });
43
+ /**
44
+ * Respiration is a feature available on some Garmin devices that tracks breathing rate throughout the day, during sleep, and during activities.
45
+ */
46
+ export const getRespiration = (options) => (options?.client ?? client).get({ url: '/rest/respiration', ...options });
47
+ /**
48
+ * Pulse Ox summaries contain blood oxygen saturation data.
49
+ */
50
+ export const getPulseox = (options) => (options?.client ?? client).get({ url: '/rest/pulseOx', ...options });
51
+ /**
52
+ * Move IQ Event summaries are a feed of activities which have been automatically detected by the device based on movement patterns,
53
+ * like running or biking. These are not activities initiated by the user. Please note that wellness data, like steps and distance,
54
+ * from Move IQ events are already included in the Daily and Epoch summaries.
55
+ *
56
+ */
57
+ export const getMoveIq = (options) => (options?.client ?? client).get({ url: '/rest/moveiq', ...options });
58
+ /**
59
+ * The Menstrual Cycle Tracking feature available on some Garmin devices allows users to track information
60
+ * about their cycle schedule and log symptoms. The MCT Summary only returns information related to cycle
61
+ * schedule and does not make the information about symptoms available.
62
+ *
63
+ */
64
+ export const getMct = (options) => (options?.client ?? client).get({ url: '/rest/mct', ...options });
65
+ /**
66
+ * Manual activities are created or edited by the user directly on the Connect site and not uploaded from a device.
67
+ * Manual activities can be identified by the property ‘manual’ = true and are separated out in to their own summary data type to allow greater control.
68
+ * This field will only exist if the activity is manually created or edited.
69
+ *
70
+ */
71
+ export const getManuallyUpdatedActivities = (options) => (options?.client ?? client).get({ url: '/rest/manuallyUpdatedActivities', ...options });
72
+ /**
73
+ * Heart rate variability (HRV) refers to beat-to-beat variations in heart rate and is data collected during
74
+ * the overnight sleep window for select devices. To gain a deeper understanding of your overall health,
75
+ * recovery and training performance through heart rate variability while you sleep.
76
+ *
77
+ */
78
+ export const getHrv = (options) => (options?.client ?? client).get({ url: '/rest/hrv', ...options });
79
+ /**
80
+ * The Garmin Health Snapshot is a collection of key health-related insights recorded during a two-minute session on a compatible device.
81
+ * Heart rate (HR), heart rate variability (HRV), Pulse Ox, respiration, and stress are the metrics included this summary,
82
+ * which collectively provide you a glimpse of your overall cardiovascular status.
83
+ *
84
+ */
85
+ export const getHealthsnapshot = (options) => (options?.client ?? client).get({ url: '/rest/healthSnapshot', ...options });
86
+ /**
87
+ * This service provides the ability to retrieve a list of summaries containing wellness data for a specific time range.
88
+ * Epoch summary records contain much of the same data available in Daily summaries, but with 15-minute time-slice granularity.
89
+ * There is one record for each activity type monitored within an individual epoch.
90
+ *
91
+ */
92
+ export const getEpochs = (options) => (options?.client ?? client).get({ url: '/rest/epochs', ...options });
93
+ /**
94
+ * Daily summaries offer a high-level view of the user’s entire day.
95
+ */
96
+ export const getDailies = (options) => (options?.client ?? client).get({ url: '/rest/dailies', ...options });
97
+ /**
98
+ * Body Composition summaries contain information about the user’s biometric data, like weight or body mass index.
99
+ */
100
+ export const getBodyComps = (options) => (options?.client ?? client).get({ url: '/rest/bodyComps', ...options });
101
+ /**
102
+ * retrieve a list of one or more blood pressure summaries
103
+ */
104
+ export const getBloodPressures = (options) => (options?.client ?? client).get({ url: '/rest/bloodPressures', ...options });
105
+ export const getBackfillUserMetrics = (options) => (options?.client ?? client).get({ url: '/rest/backfill/userMetrics', ...options });
106
+ export const getBackfillStressDetails = (options) => (options?.client ?? client).get({ url: '/rest/backfill/stressDetails', ...options });
107
+ export const getBackfillSleeps = (options) => (options?.client ?? client).get({ url: '/rest/backfill/sleeps', ...options });
108
+ export const getBackfillSkinTemp = (options) => (options?.client ?? client).get({ url: '/rest/backfill/skinTemp', ...options });
109
+ export const getBackfillRespirationEpoch = (options) => (options?.client ?? client).get({ url: '/rest/backfill/respiration', ...options });
110
+ export const getBackfillPulseox = (options) => (options?.client ?? client).get({ url: '/rest/backfill/pulseOx', ...options });
111
+ export const getBackfillAutoActivityMoveiq = (options) => (options?.client ?? client).get({ url: '/rest/backfill/moveiq', ...options });
112
+ export const getBackfillMct = (options) => (options?.client ?? client).get({ url: '/rest/backfill/mct', ...options });
113
+ export const getBackfillHrv = (options) => (options?.client ?? client).get({ url: '/rest/backfill/hrv', ...options });
114
+ export const getBackfillHealthSnapshot = (options) => (options?.client ?? client).get({ url: '/rest/backfill/healthSnapshot', ...options });
115
+ export const getBackfillEpochs = (options) => (options?.client ?? client).get({ url: '/rest/backfill/epochs', ...options });
116
+ export const getBackfillDailies = (options) => (options?.client ?? client).get({ url: '/rest/backfill/dailies', ...options });
117
+ export const getBackfillBodycomps = (options) => (options?.client ?? client).get({ url: '/rest/backfill/bodyComps', ...options });
118
+ export const getBackfillBloodPressures = (options) => (options?.client ?? client).get({ url: '/rest/backfill/bloodPressures', ...options });
119
+ export const getBackfillActivityDetails = (options) => (options?.client ?? client).get({ url: '/rest/backfill/activityDetails', ...options });
120
+ export const getBackfillActivities = (options) => (options?.client ?? client).get({ url: '/rest/backfill/activities', ...options });
121
+ /**
122
+ * Activity details are also available as raw FIT, TCX, or GPX files. These are the actual files recorded by
123
+ * the wearable as part of the Fitness Activity, including GPS coordinates, all recorded sensor data,
124
+ * and any product-specific data that may not be exposed as part of the parsed Activity Details.
125
+ *
126
+ * Parsing of raw files is the responsibility of the partner. When deciding between Activity Details
127
+ * Summaries and Activity Files it is generally recommended to only choose Files if there are specific required fields or details in the Files that are not available in the Summaries
128
+ * Unlike normal Summaries, Activity Files are not available as a Push integration. Files are only available in response to a Ping by calling the specified callbackURL.
129
+ *
130
+ */
131
+ export const getActivityFile = (options) => (options?.client ?? client).get({ url: '/rest/activityFile', ...options });
132
+ /**
133
+ * This request is to retrieve a list of one or more fitness activity details summaries from the API.
134
+ * Fitness activity details summaries represent detailed information about discrete fitness activities,
135
+ * such as running or swimming, that are specifically and intentionally started by the user on their device.
136
+ * Activity details summaries include all data recorded by the device as part of the Fitness Activity, including GPS coordinates and all recorded sensor data.
137
+ *
138
+ */
139
+ export const activityDetails = (options) => (options?.client ?? client).get({ url: '/rest/activityDetails', ...options });
140
+ /**
141
+ * This request is to retrieve a list of one or more fitness activity summaries from the API.
142
+ *
143
+ * Fitness activity summaries represent high-level information from discrete fitness activities,
144
+ * such as running or swimming, that are specifically and intentionally started by the user on their device.
145
+ * For detailed activity information (e.g. heart rate, GPS track log, or other sensor information) see the Activity Details summary type.
146
+ *
147
+ */
148
+ export const getActivities = (options) => (options?.client ?? client).get({ url: '/rest/activities', ...options });
149
+ /**
150
+ * Delete the provided user access token, removing the association between the user and the calling app
151
+ */
152
+ export const dereg = (options) => (options?.client ?? client).delete({ url: '/rest/user/registration', ...options });
153
+ //# sourceMappingURL=sdk.gen.js.map