@nativesquare/soma 0.14.1 → 0.16.0

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 (118) hide show
  1. package/dist/client/garmin.d.ts +31 -0
  2. package/dist/client/garmin.d.ts.map +1 -1
  3. package/dist/client/garmin.js +34 -0
  4. package/dist/client/garmin.js.map +1 -1
  5. package/dist/client/healthkit.d.ts +267 -0
  6. package/dist/client/healthkit.d.ts.map +1 -0
  7. package/dist/client/healthkit.js +600 -0
  8. package/dist/client/healthkit.js.map +1 -0
  9. package/dist/client/index.d.ts +3 -0
  10. package/dist/client/index.d.ts.map +1 -1
  11. package/dist/client/index.js +4 -0
  12. package/dist/client/index.js.map +1 -1
  13. package/dist/component/_generated/api.d.ts +26 -0
  14. package/dist/component/_generated/api.d.ts.map +1 -1
  15. package/dist/component/_generated/api.js.map +1 -1
  16. package/dist/component/healthkit/index.d.ts +14 -0
  17. package/dist/component/healthkit/index.d.ts.map +1 -0
  18. package/dist/{healthkit → component/healthkit}/index.js +11 -11
  19. package/dist/component/healthkit/index.js.map +1 -0
  20. package/dist/component/healthkit/transform/activity.d.ts +19 -0
  21. package/dist/component/healthkit/transform/activity.d.ts.map +1 -0
  22. package/dist/{healthkit → component/healthkit/transform}/activity.js +1 -1
  23. package/dist/component/healthkit/transform/activity.js.map +1 -0
  24. package/dist/{healthkit → component/healthkit/transform}/athlete.d.ts +3 -9
  25. package/dist/component/healthkit/transform/athlete.d.ts.map +1 -0
  26. package/dist/component/healthkit/transform/athlete.js.map +1 -0
  27. package/dist/component/healthkit/transform/body.d.ts +25 -0
  28. package/dist/component/healthkit/transform/body.d.ts.map +1 -0
  29. package/dist/component/healthkit/transform/body.js.map +1 -0
  30. package/dist/component/healthkit/transform/daily.d.ts +36 -0
  31. package/dist/component/healthkit/transform/daily.d.ts.map +1 -0
  32. package/dist/component/healthkit/transform/daily.js.map +1 -0
  33. package/dist/{healthkit/maps/activity-type.d.ts → component/healthkit/transform/maps/activityType.d.ts} +1 -1
  34. package/dist/component/healthkit/transform/maps/activityType.d.ts.map +1 -0
  35. package/dist/{healthkit/maps/activity-type.js → component/healthkit/transform/maps/activityType.js} +1 -1
  36. package/dist/component/healthkit/transform/maps/activityType.js.map +1 -0
  37. package/dist/{healthkit/maps/menstruation-flow.d.ts → component/healthkit/transform/maps/menstruationFlow.d.ts} +1 -1
  38. package/dist/component/healthkit/transform/maps/menstruationFlow.d.ts.map +1 -0
  39. package/dist/{healthkit/maps/menstruation-flow.js → component/healthkit/transform/maps/menstruationFlow.js} +2 -2
  40. package/dist/component/healthkit/transform/maps/menstruationFlow.js.map +1 -0
  41. package/dist/{healthkit/maps/sleep-level.d.ts → component/healthkit/transform/maps/sleepLevel.d.ts} +1 -1
  42. package/dist/component/healthkit/transform/maps/sleepLevel.d.ts.map +1 -0
  43. package/dist/{healthkit/maps/sleep-level.js → component/healthkit/transform/maps/sleepLevel.js} +2 -2
  44. package/dist/component/healthkit/transform/maps/sleepLevel.js.map +1 -0
  45. package/dist/{healthkit → component/healthkit/transform}/menstruation.d.ts +3 -17
  46. package/dist/component/healthkit/transform/menstruation.d.ts.map +1 -0
  47. package/dist/{healthkit → component/healthkit/transform}/menstruation.js +1 -1
  48. package/dist/component/healthkit/transform/menstruation.js.map +1 -0
  49. package/dist/component/healthkit/transform/nutrition.d.ts +25 -0
  50. package/dist/component/healthkit/transform/nutrition.d.ts.map +1 -0
  51. package/dist/component/healthkit/transform/nutrition.js.map +1 -0
  52. package/dist/component/healthkit/transform/sleep.d.ts +22 -0
  53. package/dist/component/healthkit/transform/sleep.d.ts.map +1 -0
  54. package/dist/{healthkit → component/healthkit/transform}/sleep.js +2 -2
  55. package/dist/component/healthkit/transform/sleep.js.map +1 -0
  56. package/dist/{healthkit → component/healthkit/transform}/utils.d.ts +1 -1
  57. package/dist/component/healthkit/transform/utils.d.ts.map +1 -0
  58. package/dist/component/healthkit/transform/utils.js.map +1 -0
  59. package/dist/component/healthkit/types.d.ts.map +1 -0
  60. package/dist/component/healthkit/types.js.map +1 -0
  61. package/package.json +3 -3
  62. package/src/client/garmin.ts +42 -0
  63. package/src/client/healthkit.ts +791 -0
  64. package/src/client/index.ts +4 -0
  65. package/src/component/_generated/api.ts +26 -0
  66. package/src/{healthkit → component/healthkit}/index.ts +46 -59
  67. package/src/component/healthkit/transform/activity.ts +115 -0
  68. package/src/{healthkit → component/healthkit/transform}/athlete.ts +4 -8
  69. package/src/{healthkit → component/healthkit/transform}/body.ts +3 -7
  70. package/src/{healthkit → component/healthkit/transform}/daily.ts +4 -10
  71. package/src/{healthkit/maps/menstruation-flow.ts → component/healthkit/transform/maps/menstruationFlow.ts} +1 -1
  72. package/src/{healthkit/maps/sleep-level.ts → component/healthkit/transform/maps/sleepLevel.ts} +1 -1
  73. package/src/{healthkit → component/healthkit/transform}/menstruation.ts +4 -8
  74. package/src/{healthkit → component/healthkit/transform}/nutrition.ts +3 -7
  75. package/src/{healthkit → component/healthkit/transform}/sleep.ts +5 -9
  76. package/src/{healthkit → component/healthkit/transform}/utils.ts +1 -1
  77. package/dist/healthkit/activity.d.ts +0 -75
  78. package/dist/healthkit/activity.d.ts.map +0 -1
  79. package/dist/healthkit/activity.js.map +0 -1
  80. package/dist/healthkit/athlete.d.ts.map +0 -1
  81. package/dist/healthkit/athlete.js.map +0 -1
  82. package/dist/healthkit/body.d.ts +0 -102
  83. package/dist/healthkit/body.d.ts.map +0 -1
  84. package/dist/healthkit/body.js.map +0 -1
  85. package/dist/healthkit/daily.d.ts +0 -119
  86. package/dist/healthkit/daily.d.ts.map +0 -1
  87. package/dist/healthkit/daily.js.map +0 -1
  88. package/dist/healthkit/index.d.ts +0 -21
  89. package/dist/healthkit/index.d.ts.map +0 -1
  90. package/dist/healthkit/index.js.map +0 -1
  91. package/dist/healthkit/maps/activity-type.d.ts.map +0 -1
  92. package/dist/healthkit/maps/activity-type.js.map +0 -1
  93. package/dist/healthkit/maps/menstruation-flow.d.ts.map +0 -1
  94. package/dist/healthkit/maps/menstruation-flow.js.map +0 -1
  95. package/dist/healthkit/maps/sleep-level.d.ts.map +0 -1
  96. package/dist/healthkit/maps/sleep-level.js.map +0 -1
  97. package/dist/healthkit/menstruation.d.ts.map +0 -1
  98. package/dist/healthkit/menstruation.js.map +0 -1
  99. package/dist/healthkit/nutrition.d.ts +0 -77
  100. package/dist/healthkit/nutrition.d.ts.map +0 -1
  101. package/dist/healthkit/nutrition.js.map +0 -1
  102. package/dist/healthkit/sleep.d.ts +0 -60
  103. package/dist/healthkit/sleep.d.ts.map +0 -1
  104. package/dist/healthkit/sleep.js.map +0 -1
  105. package/dist/healthkit/types.d.ts.map +0 -1
  106. package/dist/healthkit/types.js.map +0 -1
  107. package/dist/healthkit/utils.d.ts.map +0 -1
  108. package/dist/healthkit/utils.js.map +0 -1
  109. package/src/healthkit/activity.ts +0 -120
  110. /package/dist/{healthkit → component/healthkit/transform}/athlete.js +0 -0
  111. /package/dist/{healthkit → component/healthkit/transform}/body.js +0 -0
  112. /package/dist/{healthkit → component/healthkit/transform}/daily.js +0 -0
  113. /package/dist/{healthkit → component/healthkit/transform}/nutrition.js +0 -0
  114. /package/dist/{healthkit → component/healthkit/transform}/utils.js +0 -0
  115. /package/dist/{healthkit → component/healthkit}/types.d.ts +0 -0
  116. /package/dist/{healthkit → component/healthkit}/types.js +0 -0
  117. /package/src/{healthkit/maps/activity-type.ts → component/healthkit/transform/maps/activityType.ts} +0 -0
  118. /package/src/{healthkit → component/healthkit}/types.ts +0 -0
File without changes