@kingstinct/react-native-healthkit 9.0.0 → 9.0.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 (441) hide show
  1. package/README.md +192 -0
  2. package/app.plugin.js +0 -1
  3. package/ios/Helpers.swift +33 -37
  4. package/ios/WorkoutProxy.swift +7 -0
  5. package/lib/commonjs/hooks/useCategorySampleById.js +36 -0
  6. package/lib/commonjs/hooks/useHealthkitAuthorization.js +34 -0
  7. package/lib/commonjs/hooks/useIsHealthDataAvailable.js +23 -0
  8. package/lib/commonjs/hooks/useMostRecentCategorySample.js +21 -0
  9. package/lib/commonjs/hooks/useMostRecentQuantitySample.js +22 -0
  10. package/lib/commonjs/hooks/useMostRecentWorkout.js +31 -0
  11. package/lib/commonjs/hooks/useQuantitySampleById.js +34 -0
  12. package/lib/commonjs/hooks/useSources.js +17 -0
  13. package/lib/commonjs/hooks/useStatisticsForQuantity.js +26 -0
  14. package/lib/commonjs/hooks/useSubscribeToChanges.js +20 -0
  15. package/lib/commonjs/hooks/useWorkoutById.js +46 -0
  16. package/lib/commonjs/index.ios.js +144 -0
  17. package/lib/commonjs/index.js +210 -0
  18. package/lib/commonjs/modules.js +12 -0
  19. package/lib/commonjs/specs/CategoryTypeModule.nitro.js +5 -0
  20. package/lib/commonjs/specs/CharacteristicTypeModule.nitro.js +2 -0
  21. package/lib/commonjs/specs/CoreModule.nitro.js +2 -0
  22. package/lib/commonjs/specs/CorrelationTypeModule.nitro.js +2 -0
  23. package/lib/commonjs/specs/HeartbeatSeriesModule.nitro.js +2 -0
  24. package/lib/commonjs/specs/QuantityTypeModule.nitro.js +2 -0
  25. package/lib/commonjs/specs/SourceProxy.nitro.js +2 -0
  26. package/lib/commonjs/specs/StateOfMindModule.nitro.js +2 -0
  27. package/lib/commonjs/specs/WorkoutProxy.nitro.js +2 -0
  28. package/lib/commonjs/specs/WorkoutSessionModule.nitro.js +19 -0
  29. package/lib/commonjs/specs/WorkoutsModule.nitro.js +2 -0
  30. package/lib/commonjs/types/Auth.js +21 -0
  31. package/lib/commonjs/types/Background.js +13 -0
  32. package/lib/commonjs/types/CategoryType.js +101 -0
  33. package/lib/commonjs/types/CategoryTypeIdentifier.js +2 -0
  34. package/lib/commonjs/types/Characteristics.js +48 -0
  35. package/lib/commonjs/types/Constants.js +23 -0
  36. package/lib/commonjs/types/CorrelationType.js +2 -0
  37. package/lib/commonjs/types/Device.js +2 -0
  38. package/lib/commonjs/types/HeartbeatSeries.js +2 -0
  39. package/lib/commonjs/types/InterfaceVerification.js +24 -0
  40. package/lib/commonjs/types/InterfaceVerificationExample.js +33 -0
  41. package/lib/commonjs/types/QuantitySample.js +2 -0
  42. package/lib/commonjs/types/QuantityType.js +17 -0
  43. package/lib/commonjs/types/QuantityTypeIdentifier.js +2 -0
  44. package/lib/commonjs/types/QueryOptions.js +2 -0
  45. package/lib/commonjs/types/Shared.js +13 -0
  46. package/lib/commonjs/types/Source.js +2 -0
  47. package/lib/commonjs/types/StateOfMind.js +90 -0
  48. package/lib/commonjs/types/Subscriptons.js +2 -0
  49. package/lib/commonjs/types/Units.js +2 -0
  50. package/lib/commonjs/types/WeatherCondition.js +35 -0
  51. package/lib/commonjs/types/WorkoutKit.js +12 -0
  52. package/lib/commonjs/types/Workouts.js +150 -0
  53. package/lib/commonjs/utils/getCategorySampleById.js +12 -0
  54. package/lib/commonjs/utils/getMostRecentCategorySample.js +12 -0
  55. package/lib/commonjs/utils/getMostRecentQuantitySample.js +11 -0
  56. package/lib/commonjs/utils/getMostRecentWorkout.js +13 -0
  57. package/lib/commonjs/utils/getPreferredUnit.js +12 -0
  58. package/lib/commonjs/utils/getQuantitySampleById.js +14 -0
  59. package/lib/commonjs/utils/getWorkoutById.js +15 -0
  60. package/lib/commonjs/utils/subscribeToChanges.js +11 -0
  61. package/lib/module/hooks/useCategorySampleById.js +30 -0
  62. package/lib/module/hooks/useHealthkitAuthorization.js +30 -0
  63. package/lib/module/hooks/useIsHealthDataAvailable.js +19 -0
  64. package/lib/module/hooks/useMostRecentCategorySample.js +15 -0
  65. package/lib/module/hooks/useMostRecentQuantitySample.js +16 -0
  66. package/lib/module/hooks/useMostRecentWorkout.js +25 -0
  67. package/lib/module/hooks/useQuantitySampleById.js +28 -0
  68. package/lib/module/hooks/useSources.js +14 -0
  69. package/lib/module/hooks/useStatisticsForQuantity.js +20 -0
  70. package/lib/module/hooks/useSubscribeToChanges.js +17 -0
  71. package/lib/module/hooks/useWorkoutById.js +40 -0
  72. package/lib/module/index.ios.js +126 -0
  73. package/lib/module/index.js +202 -0
  74. package/lib/module/modules.js +9 -0
  75. package/lib/module/specs/CategoryTypeModule.nitro.js +4 -0
  76. package/lib/module/specs/CharacteristicTypeModule.nitro.js +1 -0
  77. package/lib/module/specs/CoreModule.nitro.js +1 -0
  78. package/lib/module/specs/CorrelationTypeModule.nitro.js +1 -0
  79. package/lib/module/specs/HeartbeatSeriesModule.nitro.js +1 -0
  80. package/lib/module/specs/QuantityTypeModule.nitro.js +1 -0
  81. package/lib/module/specs/SourceProxy.nitro.js +1 -0
  82. package/lib/module/specs/StateOfMindModule.nitro.js +1 -0
  83. package/lib/module/specs/WorkoutProxy.nitro.js +1 -0
  84. package/lib/module/specs/WorkoutSessionModule.nitro.js +16 -0
  85. package/lib/module/specs/WorkoutsModule.nitro.js +1 -0
  86. package/lib/module/types/Auth.js +18 -0
  87. package/lib/module/types/Background.js +10 -0
  88. package/lib/module/types/CategoryType.js +98 -0
  89. package/lib/module/types/CategoryTypeIdentifier.js +1 -0
  90. package/lib/module/types/Characteristics.js +45 -0
  91. package/lib/module/types/Constants.js +20 -0
  92. package/lib/module/types/CorrelationType.js +1 -0
  93. package/lib/module/types/Device.js +1 -0
  94. package/lib/module/types/HeartbeatSeries.js +1 -0
  95. package/lib/module/types/InterfaceVerification.js +23 -0
  96. package/lib/module/types/InterfaceVerificationExample.js +32 -0
  97. package/lib/module/types/QuantitySample.js +1 -0
  98. package/lib/module/types/QuantityType.js +14 -0
  99. package/lib/module/types/QuantityTypeIdentifier.js +1 -0
  100. package/lib/module/types/QueryOptions.js +1 -0
  101. package/lib/module/types/Shared.js +10 -0
  102. package/lib/module/types/Source.js +1 -0
  103. package/lib/module/types/StateOfMind.js +87 -0
  104. package/lib/module/types/Subscriptons.js +1 -0
  105. package/lib/module/types/Units.js +1 -0
  106. package/lib/module/types/WeatherCondition.js +32 -0
  107. package/lib/module/types/WorkoutKit.js +9 -0
  108. package/lib/module/types/Workouts.js +147 -0
  109. package/lib/module/utils/getCategorySampleById.js +9 -0
  110. package/lib/module/utils/getMostRecentCategorySample.js +9 -0
  111. package/lib/module/utils/getMostRecentQuantitySample.js +9 -0
  112. package/lib/module/utils/getMostRecentWorkout.js +11 -0
  113. package/lib/module/utils/getPreferredUnit.js +10 -0
  114. package/lib/module/utils/getQuantitySampleById.js +12 -0
  115. package/lib/module/utils/getWorkoutById.js +13 -0
  116. package/lib/module/utils/subscribeToChanges.js +7 -0
  117. package/lib/typescript/hooks/useCategorySampleById.d.ts +11 -0
  118. package/lib/typescript/hooks/useHealthkitAuthorization.d.ts +9 -0
  119. package/lib/typescript/hooks/useIsHealthDataAvailable.d.ts +7 -0
  120. package/lib/typescript/hooks/useMostRecentCategorySample.d.ts +7 -0
  121. package/lib/typescript/hooks/useMostRecentQuantitySample.d.ts +7 -0
  122. package/lib/typescript/hooks/useMostRecentWorkout.d.ts +9 -0
  123. package/lib/typescript/hooks/useQuantitySampleById.d.ts +14 -0
  124. package/lib/typescript/hooks/useSources.d.ts +4 -0
  125. package/lib/typescript/hooks/useStatisticsForQuantity.d.ts +4 -0
  126. package/lib/typescript/hooks/useSubscribeToChanges.d.ts +4 -0
  127. package/lib/typescript/hooks/useWorkoutById.d.ts +13 -0
  128. package/lib/typescript/index.d.ts +74 -0
  129. package/lib/typescript/index.ios.d.ts +142 -0
  130. package/lib/typescript/modules.d.ts +16 -0
  131. package/lib/typescript/specs/CategoryTypeModule.nitro.d.ts +16 -0
  132. package/lib/typescript/specs/CharacteristicTypeModule.nitro.d.ts +16 -0
  133. package/lib/typescript/specs/CoreModule.nitro.d.ts +60 -0
  134. package/lib/typescript/specs/CorrelationTypeModule.nitro.d.ts +8 -0
  135. package/lib/typescript/specs/HeartbeatSeriesModule.nitro.d.ts +9 -0
  136. package/lib/typescript/specs/QuantityTypeModule.nitro.d.ts +16 -0
  137. package/lib/typescript/specs/SourceProxy.nitro.d.ts +14 -0
  138. package/lib/typescript/specs/StateOfMindModule.nitro.d.ts +9 -0
  139. package/lib/typescript/specs/WorkoutProxy.nitro.d.ts +10 -0
  140. package/lib/typescript/specs/WorkoutSessionModule.nitro.d.ts +47 -0
  141. package/lib/typescript/specs/WorkoutsModule.nitro.d.ts +13 -0
  142. package/lib/typescript/types/Auth.d.ts +16 -0
  143. package/lib/typescript/types/Background.d.ts +9 -0
  144. package/lib/typescript/types/CategoryType.d.ts +144 -0
  145. package/lib/typescript/types/CategoryTypeIdentifier.d.ts +31 -0
  146. package/lib/typescript/types/Characteristics.d.ts +41 -0
  147. package/lib/typescript/types/Constants.d.ts +20 -0
  148. package/lib/typescript/types/CorrelationType.d.ts +21 -0
  149. package/lib/typescript/types/Device.d.ts +13 -0
  150. package/lib/typescript/types/HeartbeatSeries.d.ts +25 -0
  151. package/lib/typescript/types/InterfaceVerification.d.ts +73 -0
  152. package/lib/typescript/types/InterfaceVerificationExample.d.ts +58 -0
  153. package/lib/typescript/types/QuantitySample.d.ts +27 -0
  154. package/lib/typescript/types/QuantityType.d.ts +63 -0
  155. package/lib/typescript/types/QuantityTypeIdentifier.d.ts +659 -0
  156. package/lib/typescript/types/QueryOptions.d.ts +47 -0
  157. package/lib/typescript/types/Shared.d.ts +39 -0
  158. package/lib/typescript/types/Source.d.ts +10 -0
  159. package/lib/typescript/types/StateOfMind.d.ts +103 -0
  160. package/lib/typescript/types/Subscriptons.d.ts +8 -0
  161. package/lib/typescript/types/Units.d.ts +97 -0
  162. package/lib/typescript/types/WeatherCondition.d.ts +30 -0
  163. package/lib/typescript/types/WorkoutKit.d.ts +16 -0
  164. package/lib/typescript/types/Workouts.d.ts +254 -0
  165. package/lib/typescript/utils/getCategorySampleById.d.ts +3 -0
  166. package/lib/typescript/utils/getMostRecentCategorySample.d.ts +3 -0
  167. package/lib/typescript/utils/getMostRecentQuantitySample.d.ts +3 -0
  168. package/lib/typescript/utils/getMostRecentWorkout.d.ts +3 -0
  169. package/lib/typescript/utils/getPreferredUnit.d.ts +3 -0
  170. package/lib/typescript/utils/getQuantitySampleById.d.ts +3 -0
  171. package/lib/typescript/utils/getWorkoutById.d.ts +3 -0
  172. package/lib/typescript/utils/subscribeToChanges.d.ts +5 -0
  173. package/nitrogen/generated/.gitattributes +1 -0
  174. package/nitrogen/generated/ios/ReactNativeHealthkit+autolinking.rb +60 -0
  175. package/nitrogen/generated/ios/ReactNativeHealthkit-Swift-Cxx-Bridge.cpp +450 -0
  176. package/nitrogen/generated/ios/ReactNativeHealthkit-Swift-Cxx-Bridge.hpp +2570 -0
  177. package/nitrogen/generated/ios/ReactNativeHealthkit-Swift-Cxx-Umbrella.hpp +326 -0
  178. package/nitrogen/generated/ios/ReactNativeHealthkitAutolinking.mm +89 -0
  179. package/nitrogen/generated/ios/ReactNativeHealthkitAutolinking.swift +130 -0
  180. package/nitrogen/generated/ios/c++/HybridCategoryTypeModuleSpecSwift.cpp +11 -0
  181. package/nitrogen/generated/ios/c++/HybridCategoryTypeModuleSpecSwift.hpp +146 -0
  182. package/nitrogen/generated/ios/c++/HybridCharacteristicTypeModuleSpecSwift.cpp +11 -0
  183. package/nitrogen/generated/ios/c++/HybridCharacteristicTypeModuleSpecSwift.hpp +155 -0
  184. package/nitrogen/generated/ios/c++/HybridCoreModuleSpecSwift.cpp +11 -0
  185. package/nitrogen/generated/ios/c++/HybridCoreModuleSpecSwift.hpp +300 -0
  186. package/nitrogen/generated/ios/c++/HybridCorrelationTypeModuleSpecSwift.cpp +11 -0
  187. package/nitrogen/generated/ios/c++/HybridCorrelationTypeModuleSpecSwift.hpp +120 -0
  188. package/nitrogen/generated/ios/c++/HybridHeartbeatSeriesModuleSpecSwift.cpp +11 -0
  189. package/nitrogen/generated/ios/c++/HybridHeartbeatSeriesModuleSpecSwift.hpp +138 -0
  190. package/nitrogen/generated/ios/c++/HybridQuantityTypeModuleSpecSwift.cpp +11 -0
  191. package/nitrogen/generated/ios/c++/HybridQuantityTypeModuleSpecSwift.hpp +196 -0
  192. package/nitrogen/generated/ios/c++/HybridSourceProxySpecSwift.cpp +11 -0
  193. package/nitrogen/generated/ios/c++/HybridSourceProxySpecSwift.hpp +77 -0
  194. package/nitrogen/generated/ios/c++/HybridStateOfMindModuleSpecSwift.cpp +11 -0
  195. package/nitrogen/generated/ios/c++/HybridStateOfMindModuleSpecSwift.hpp +138 -0
  196. package/nitrogen/generated/ios/c++/HybridWorkoutProxySpecSwift.cpp +11 -0
  197. package/nitrogen/generated/ios/c++/HybridWorkoutProxySpecSwift.hpp +196 -0
  198. package/nitrogen/generated/ios/c++/HybridWorkoutSessionModuleSpecSwift.cpp +11 -0
  199. package/nitrogen/generated/ios/c++/HybridWorkoutSessionModuleSpecSwift.hpp +107 -0
  200. package/nitrogen/generated/ios/c++/HybridWorkoutsModuleSpecSwift.cpp +11 -0
  201. package/nitrogen/generated/ios/c++/HybridWorkoutsModuleSpecSwift.hpp +172 -0
  202. package/nitrogen/generated/ios/swift/AuthorizationRequestStatus.swift +44 -0
  203. package/nitrogen/generated/ios/swift/AuthorizationStatus.swift +44 -0
  204. package/nitrogen/generated/ios/swift/BiologicalSex.swift +48 -0
  205. package/nitrogen/generated/ios/swift/BloodType.swift +68 -0
  206. package/nitrogen/generated/ios/swift/CategorySample.swift +148 -0
  207. package/nitrogen/generated/ios/swift/CategorySampleForSaving.swift +108 -0
  208. package/nitrogen/generated/ios/swift/CategorySamplesWithAnchorResponse.swift +81 -0
  209. package/nitrogen/generated/ios/swift/CategoryTypeIdentifier.swift +288 -0
  210. package/nitrogen/generated/ios/swift/ComparisonPredicateOperator.swift +88 -0
  211. package/nitrogen/generated/ios/swift/CorrelationObject.swift +16 -0
  212. package/nitrogen/generated/ios/swift/CorrelationSample.swift +117 -0
  213. package/nitrogen/generated/ios/swift/CorrelationTypeIdentifier.swift +40 -0
  214. package/nitrogen/generated/ios/swift/DeletedSample.swift +64 -0
  215. package/nitrogen/generated/ios/swift/Device.swift +256 -0
  216. package/nitrogen/generated/ios/swift/FilterForSamples.swift +21 -0
  217. package/nitrogen/generated/ios/swift/FilterForSamplesAnd.swift +94 -0
  218. package/nitrogen/generated/ios/swift/FilterForSamplesOr.swift +94 -0
  219. package/nitrogen/generated/ios/swift/FitzpatrickSkinType.swift +60 -0
  220. package/nitrogen/generated/ios/swift/Func_void_AuthorizationRequestStatus.swift +46 -0
  221. package/nitrogen/generated/ios/swift/Func_void_BiologicalSex.swift +46 -0
  222. package/nitrogen/generated/ios/swift/Func_void_BloodType.swift +46 -0
  223. package/nitrogen/generated/ios/swift/Func_void_CategorySamplesWithAnchorResponse.swift +46 -0
  224. package/nitrogen/generated/ios/swift/Func_void_FitzpatrickSkinType.swift +46 -0
  225. package/nitrogen/generated/ios/swift/Func_void_HeartbeatSeriesSamplesWithAnchorResponse.swift +46 -0
  226. package/nitrogen/generated/ios/swift/Func_void_OnChangeCallbackArgs.swift +46 -0
  227. package/nitrogen/generated/ios/swift/Func_void_QuantitySamplesWithAnchorResponse.swift +46 -0
  228. package/nitrogen/generated/ios/swift/Func_void_QueryStatisticsResponse.swift +46 -0
  229. package/nitrogen/generated/ios/swift/Func_void_QueryWorkoutSamplesWithAnchorResponse.swift +46 -0
  230. package/nitrogen/generated/ios/swift/Func_void_WheelchairUse.swift +46 -0
  231. package/nitrogen/generated/ios/swift/Func_void_WorkoutEventType.swift +46 -0
  232. package/nitrogen/generated/ios/swift/Func_void_WorkoutSessionState_WorkoutSessionState_std__chrono__system_clock__time_point.swift +46 -0
  233. package/nitrogen/generated/ios/swift/Func_void_bool.swift +46 -0
  234. package/nitrogen/generated/ios/swift/Func_void_double.swift +46 -0
  235. package/nitrogen/generated/ios/swift/Func_void_std__chrono__system_clock__time_point.swift +46 -0
  236. package/nitrogen/generated/ios/swift/Func_void_std__exception_ptr.swift +46 -0
  237. package/nitrogen/generated/ios/swift/Func_void_std__optional_WorkoutPlan_.swift +52 -0
  238. package/nitrogen/generated/ios/swift/Func_void_std__string.swift +46 -0
  239. package/nitrogen/generated/ios/swift/Func_void_std__unordered_map_std__string__bool_.swift +54 -0
  240. package/nitrogen/generated/ios/swift/Func_void_std__vector_CategorySample_.swift +46 -0
  241. package/nitrogen/generated/ios/swift/Func_void_std__vector_CorrelationSample_.swift +46 -0
  242. package/nitrogen/generated/ios/swift/Func_void_std__vector_HeartbeatSeriesSample_.swift +46 -0
  243. package/nitrogen/generated/ios/swift/Func_void_std__vector_IdentifierWithUnit_.swift +46 -0
  244. package/nitrogen/generated/ios/swift/Func_void_std__vector_QuantitySample_.swift +46 -0
  245. package/nitrogen/generated/ios/swift/Func_void_std__vector_QueryStatisticsResponse_.swift +46 -0
  246. package/nitrogen/generated/ios/swift/Func_void_std__vector_RemoteSessionSharableData_.swift +46 -0
  247. package/nitrogen/generated/ios/swift/Func_void_std__vector_StateOfMindSample_.swift +46 -0
  248. package/nitrogen/generated/ios/swift/Func_void_std__vector_WorkoutRoute_.swift +46 -0
  249. package/nitrogen/generated/ios/swift/Func_void_std__vector_std__shared_ptr_margelo__nitro__healthkit__HybridSourceProxySpec__.swift +50 -0
  250. package/nitrogen/generated/ios/swift/Func_void_std__vector_std__shared_ptr_margelo__nitro__healthkit__HybridWorkoutProxySpec__.swift +50 -0
  251. package/nitrogen/generated/ios/swift/Heartbeat.swift +46 -0
  252. package/nitrogen/generated/ios/swift/HeartbeatSeriesSample.swift +167 -0
  253. package/nitrogen/generated/ios/swift/HeartbeatSeriesSamplesWithAnchorResponse.swift +81 -0
  254. package/nitrogen/generated/ios/swift/HybridCategoryTypeModuleSpec.swift +50 -0
  255. package/nitrogen/generated/ios/swift/HybridCategoryTypeModuleSpec_cxx.swift +171 -0
  256. package/nitrogen/generated/ios/swift/HybridCharacteristicTypeModuleSpec.swift +57 -0
  257. package/nitrogen/generated/ios/swift/HybridCharacteristicTypeModuleSpec_cxx.swift +257 -0
  258. package/nitrogen/generated/ios/swift/HybridCoreModuleSpec.swift +69 -0
  259. package/nitrogen/generated/ios/swift/HybridCoreModuleSpec_cxx.swift +523 -0
  260. package/nitrogen/generated/ios/swift/HybridCorrelationTypeModuleSpec.swift +49 -0
  261. package/nitrogen/generated/ios/swift/HybridCorrelationTypeModuleSpec_cxx.swift +158 -0
  262. package/nitrogen/generated/ios/swift/HybridHeartbeatSeriesModuleSpec.swift +49 -0
  263. package/nitrogen/generated/ios/swift/HybridHeartbeatSeriesModuleSpec_cxx.swift +152 -0
  264. package/nitrogen/generated/ios/swift/HybridQuantityTypeModuleSpec.swift +54 -0
  265. package/nitrogen/generated/ios/swift/HybridQuantityTypeModuleSpec_cxx.swift +285 -0
  266. package/nitrogen/generated/ios/swift/HybridSourceProxySpec.swift +48 -0
  267. package/nitrogen/generated/ios/swift/HybridSourceProxySpec_cxx.swift +125 -0
  268. package/nitrogen/generated/ios/swift/HybridStateOfMindModuleSpec.swift +49 -0
  269. package/nitrogen/generated/ios/swift/HybridStateOfMindModuleSpec_cxx.swift +158 -0
  270. package/nitrogen/generated/ios/swift/HybridWorkoutProxySpec.swift +64 -0
  271. package/nitrogen/generated/ios/swift/HybridWorkoutProxySpec_cxx.swift +351 -0
  272. package/nitrogen/generated/ios/swift/HybridWorkoutSessionModuleSpec.swift +49 -0
  273. package/nitrogen/generated/ios/swift/HybridWorkoutSessionModuleSpec_cxx.swift +133 -0
  274. package/nitrogen/generated/ios/swift/HybridWorkoutsModuleSpec.swift +51 -0
  275. package/nitrogen/generated/ios/swift/HybridWorkoutsModuleSpec_cxx.swift +187 -0
  276. package/nitrogen/generated/ios/swift/IdentifierWithUnit.swift +46 -0
  277. package/nitrogen/generated/ios/swift/IntervalComponents.swift +139 -0
  278. package/nitrogen/generated/ios/swift/LocationForSaving.swift +112 -0
  279. package/nitrogen/generated/ios/swift/ObjectTypeIdentifier.swift +820 -0
  280. package/nitrogen/generated/ios/swift/OnChangeCallbackArgs.swift +64 -0
  281. package/nitrogen/generated/ios/swift/PredicateForSamples.swift +19 -0
  282. package/nitrogen/generated/ios/swift/PredicateForWorkouts.swift +21 -0
  283. package/nitrogen/generated/ios/swift/PredicateForWorkoutsAnd.swift +108 -0
  284. package/nitrogen/generated/ios/swift/PredicateForWorkoutsOr.swift +108 -0
  285. package/nitrogen/generated/ios/swift/PredicateFromWorkout.swift +45 -0
  286. package/nitrogen/generated/ios/swift/PredicateWithMetadataKey.swift +35 -0
  287. package/nitrogen/generated/ios/swift/PredicateWithStartAndEnd.swift +128 -0
  288. package/nitrogen/generated/ios/swift/PredicateWithUUID.swift +35 -0
  289. package/nitrogen/generated/ios/swift/PredicateWithUUIDs.swift +47 -0
  290. package/nitrogen/generated/ios/swift/Quantity.swift +46 -0
  291. package/nitrogen/generated/ios/swift/QuantityDateInterval.swift +46 -0
  292. package/nitrogen/generated/ios/swift/QuantitySample.swift +159 -0
  293. package/nitrogen/generated/ios/swift/QuantitySampleForSaving.swift +119 -0
  294. package/nitrogen/generated/ios/swift/QuantitySamplesWithAnchorResponse.swift +81 -0
  295. package/nitrogen/generated/ios/swift/QuantityTypeIdentifier.swift +508 -0
  296. package/nitrogen/generated/ios/swift/QueryOptionsWithAnchor.swift +166 -0
  297. package/nitrogen/generated/ios/swift/QueryOptionsWithAnchorAndUnit.swift +195 -0
  298. package/nitrogen/generated/ios/swift/QueryOptionsWithSortOrder.swift +160 -0
  299. package/nitrogen/generated/ios/swift/QueryOptionsWithSortOrderAndUnit.swift +189 -0
  300. package/nitrogen/generated/ios/swift/QueryStatisticsResponse.swift +227 -0
  301. package/nitrogen/generated/ios/swift/QueryWorkoutSamplesWithAnchorResponse.swift +91 -0
  302. package/nitrogen/generated/ios/swift/RemoteSessionSharableData.swift +46 -0
  303. package/nitrogen/generated/ios/swift/SampleForSaving.swift +16 -0
  304. package/nitrogen/generated/ios/swift/SampleTypeIdentifier.swift +792 -0
  305. package/nitrogen/generated/ios/swift/SampleTypeIdentifierWriteable.swift +772 -0
  306. package/nitrogen/generated/ios/swift/Source.swift +46 -0
  307. package/nitrogen/generated/ios/swift/SourceRevision.swift +150 -0
  308. package/nitrogen/generated/ios/swift/StateOfMindAssociation.swift +104 -0
  309. package/nitrogen/generated/ios/swift/StateOfMindKind.swift +40 -0
  310. package/nitrogen/generated/ios/swift/StateOfMindLabel.swift +184 -0
  311. package/nitrogen/generated/ios/swift/StateOfMindSample.swift +223 -0
  312. package/nitrogen/generated/ios/swift/StateOfMindValenceClassification.swift +60 -0
  313. package/nitrogen/generated/ios/swift/StatisticsOptions.swift +60 -0
  314. package/nitrogen/generated/ios/swift/StatisticsQueryOptions.swift +129 -0
  315. package/nitrogen/generated/ios/swift/UpdateFrequency.swift +48 -0
  316. package/nitrogen/generated/ios/swift/Variant_PredicateWithUUID_PredicateWithUUIDs_PredicateWithMetadataKey_PredicateWithStartAndEnd_PredicateFromWorkout.swift +19 -0
  317. package/nitrogen/generated/ios/swift/Variant_PredicateWithUUID_PredicateWithUUIDs_PredicateWithMetadataKey_PredicateWithStartAndEnd_PredicateFromWorkout_FilterForSamplesAnd_FilterForSamplesOr.swift +21 -0
  318. package/nitrogen/generated/ios/swift/Variant_PredicateWithUUID_PredicateWithUUIDs_PredicateWithMetadataKey_PredicateWithStartAndEnd_PredicateFromWorkout_WorkoutActivityTypePredicate_WorkoutDurationPredicate_PredicateForWorkoutsOr_PredicateForWorkoutsAnd.swift +23 -0
  319. package/nitrogen/generated/ios/swift/WheelchairUse.swift +44 -0
  320. package/nitrogen/generated/ios/swift/WorkoutActivity.swift +68 -0
  321. package/nitrogen/generated/ios/swift/WorkoutActivityType.swift +368 -0
  322. package/nitrogen/generated/ios/swift/WorkoutActivityTypePredicate.swift +35 -0
  323. package/nitrogen/generated/ios/swift/WorkoutConfiguration.swift +58 -0
  324. package/nitrogen/generated/ios/swift/WorkoutDurationPredicate.swift +46 -0
  325. package/nitrogen/generated/ios/swift/WorkoutEvent.swift +57 -0
  326. package/nitrogen/generated/ios/swift/WorkoutEventType.swift +64 -0
  327. package/nitrogen/generated/ios/swift/WorkoutPlan.swift +46 -0
  328. package/nitrogen/generated/ios/swift/WorkoutQueryOptions.swift +232 -0
  329. package/nitrogen/generated/ios/swift/WorkoutQueryOptionsWithAnchor.swift +238 -0
  330. package/nitrogen/generated/ios/swift/WorkoutRoute.swift +99 -0
  331. package/nitrogen/generated/ios/swift/WorkoutRouteLocation.swift +146 -0
  332. package/nitrogen/generated/ios/swift/WorkoutSample.swift +364 -0
  333. package/nitrogen/generated/ios/swift/WorkoutSessionLocationType.swift +44 -0
  334. package/nitrogen/generated/ios/swift/WorkoutSessionMirroringStartHandlerOptions.swift +118 -0
  335. package/nitrogen/generated/ios/swift/WorkoutSessionState.swift +56 -0
  336. package/nitrogen/generated/ios/swift/WorkoutTotals.swift +70 -0
  337. package/nitrogen/generated/shared/c++/AuthorizationRequestStatus.hpp +65 -0
  338. package/nitrogen/generated/shared/c++/AuthorizationStatus.hpp +65 -0
  339. package/nitrogen/generated/shared/c++/BiologicalSex.hpp +66 -0
  340. package/nitrogen/generated/shared/c++/BloodType.hpp +71 -0
  341. package/nitrogen/generated/shared/c++/CategorySample.hpp +110 -0
  342. package/nitrogen/generated/shared/c++/CategorySampleForSaving.hpp +98 -0
  343. package/nitrogen/generated/shared/c++/CategorySamplesWithAnchorResponse.hpp +83 -0
  344. package/nitrogen/generated/shared/c++/CategoryTypeIdentifier.hpp +326 -0
  345. package/nitrogen/generated/shared/c++/ComparisonPredicateOperator.hpp +76 -0
  346. package/nitrogen/generated/shared/c++/CorrelationSample.hpp +98 -0
  347. package/nitrogen/generated/shared/c++/CorrelationTypeIdentifier.hpp +78 -0
  348. package/nitrogen/generated/shared/c++/DeletedSample.hpp +76 -0
  349. package/nitrogen/generated/shared/c++/Device.hpp +98 -0
  350. package/nitrogen/generated/shared/c++/FilterForSamplesAnd.hpp +84 -0
  351. package/nitrogen/generated/shared/c++/FilterForSamplesOr.hpp +84 -0
  352. package/nitrogen/generated/shared/c++/FitzpatrickSkinType.hpp +69 -0
  353. package/nitrogen/generated/shared/c++/Heartbeat.hpp +73 -0
  354. package/nitrogen/generated/shared/c++/HeartbeatSeriesSample.hpp +107 -0
  355. package/nitrogen/generated/shared/c++/HeartbeatSeriesSamplesWithAnchorResponse.hpp +83 -0
  356. package/nitrogen/generated/shared/c++/HybridCategoryTypeModuleSpec.cpp +23 -0
  357. package/nitrogen/generated/shared/c++/HybridCategoryTypeModuleSpec.hpp +84 -0
  358. package/nitrogen/generated/shared/c++/HybridCharacteristicTypeModuleSpec.cpp +30 -0
  359. package/nitrogen/generated/shared/c++/HybridCharacteristicTypeModuleSpec.hpp +83 -0
  360. package/nitrogen/generated/shared/c++/HybridCoreModuleSpec.cpp +42 -0
  361. package/nitrogen/generated/shared/c++/HybridCoreModuleSpec.hpp +140 -0
  362. package/nitrogen/generated/shared/c++/HybridCorrelationTypeModuleSpec.cpp +22 -0
  363. package/nitrogen/generated/shared/c++/HybridCorrelationTypeModuleSpec.hpp +80 -0
  364. package/nitrogen/generated/shared/c++/HybridHeartbeatSeriesModuleSpec.cpp +22 -0
  365. package/nitrogen/generated/shared/c++/HybridHeartbeatSeriesModuleSpec.hpp +76 -0
  366. package/nitrogen/generated/shared/c++/HybridQuantityTypeModuleSpec.cpp +27 -0
  367. package/nitrogen/generated/shared/c++/HybridQuantityTypeModuleSpec.hpp +123 -0
  368. package/nitrogen/generated/shared/c++/HybridSourceProxySpec.cpp +22 -0
  369. package/nitrogen/generated/shared/c++/HybridSourceProxySpec.hpp +65 -0
  370. package/nitrogen/generated/shared/c++/HybridStateOfMindModuleSpec.cpp +22 -0
  371. package/nitrogen/generated/shared/c++/HybridStateOfMindModuleSpec.hpp +83 -0
  372. package/nitrogen/generated/shared/c++/HybridWorkoutProxySpec.cpp +38 -0
  373. package/nitrogen/generated/shared/c++/HybridWorkoutProxySpec.hpp +114 -0
  374. package/nitrogen/generated/shared/c++/HybridWorkoutSessionModuleSpec.cpp +22 -0
  375. package/nitrogen/generated/shared/c++/HybridWorkoutSessionModuleSpec.hpp +68 -0
  376. package/nitrogen/generated/shared/c++/HybridWorkoutsModuleSpec.cpp +24 -0
  377. package/nitrogen/generated/shared/c++/HybridWorkoutsModuleSpec.hpp +95 -0
  378. package/nitrogen/generated/shared/c++/IdentifierWithUnit.hpp +73 -0
  379. package/nitrogen/generated/shared/c++/IntervalComponents.hpp +85 -0
  380. package/nitrogen/generated/shared/c++/LocationForSaving.hpp +97 -0
  381. package/nitrogen/generated/shared/c++/ObjectTypeIdentifier.hpp +858 -0
  382. package/nitrogen/generated/shared/c++/OnChangeCallbackArgs.hpp +76 -0
  383. package/nitrogen/generated/shared/c++/PredicateForWorkoutsAnd.hpp +90 -0
  384. package/nitrogen/generated/shared/c++/PredicateForWorkoutsOr.hpp +90 -0
  385. package/nitrogen/generated/shared/c++/PredicateFromWorkout.hpp +71 -0
  386. package/nitrogen/generated/shared/c++/PredicateWithMetadataKey.hpp +69 -0
  387. package/nitrogen/generated/shared/c++/PredicateWithStartAndEnd.hpp +82 -0
  388. package/nitrogen/generated/shared/c++/PredicateWithUUID.hpp +69 -0
  389. package/nitrogen/generated/shared/c++/PredicateWithUUIDs.hpp +70 -0
  390. package/nitrogen/generated/shared/c++/Quantity.hpp +73 -0
  391. package/nitrogen/generated/shared/c++/QuantityDateInterval.hpp +73 -0
  392. package/nitrogen/generated/shared/c++/QuantitySample.hpp +114 -0
  393. package/nitrogen/generated/shared/c++/QuantitySampleForSaving.hpp +103 -0
  394. package/nitrogen/generated/shared/c++/QuantitySamplesWithAnchorResponse.hpp +83 -0
  395. package/nitrogen/generated/shared/c++/QuantityTypeIdentifier.hpp +546 -0
  396. package/nitrogen/generated/shared/c++/QueryOptionsWithAnchor.hpp +99 -0
  397. package/nitrogen/generated/shared/c++/QueryOptionsWithAnchorAndUnit.hpp +103 -0
  398. package/nitrogen/generated/shared/c++/QueryOptionsWithSortOrder.hpp +98 -0
  399. package/nitrogen/generated/shared/c++/QueryOptionsWithSortOrderAndUnit.hpp +103 -0
  400. package/nitrogen/generated/shared/c++/QueryStatisticsResponse.hpp +98 -0
  401. package/nitrogen/generated/shared/c++/QueryWorkoutSamplesWithAnchorResponse.hpp +84 -0
  402. package/nitrogen/generated/shared/c++/RemoteSessionSharableData.hpp +75 -0
  403. package/nitrogen/generated/shared/c++/SampleTypeIdentifier.hpp +830 -0
  404. package/nitrogen/generated/shared/c++/SampleTypeIdentifierWriteable.hpp +810 -0
  405. package/nitrogen/generated/shared/c++/Source.hpp +73 -0
  406. package/nitrogen/generated/shared/c++/SourceRevision.hpp +85 -0
  407. package/nitrogen/generated/shared/c++/StateOfMindAssociation.hpp +80 -0
  408. package/nitrogen/generated/shared/c++/StateOfMindKind.hpp +64 -0
  409. package/nitrogen/generated/shared/c++/StateOfMindLabel.hpp +100 -0
  410. package/nitrogen/generated/shared/c++/StateOfMindSample.hpp +132 -0
  411. package/nitrogen/generated/shared/c++/StateOfMindValenceClassification.hpp +69 -0
  412. package/nitrogen/generated/shared/c++/StatisticsOptions.hpp +98 -0
  413. package/nitrogen/generated/shared/c++/StatisticsQueryOptions.hpp +89 -0
  414. package/nitrogen/generated/shared/c++/UpdateFrequency.hpp +66 -0
  415. package/nitrogen/generated/shared/c++/WheelchairUse.hpp +65 -0
  416. package/nitrogen/generated/shared/c++/WorkoutActivity.hpp +82 -0
  417. package/nitrogen/generated/shared/c++/WorkoutActivityType.hpp +146 -0
  418. package/nitrogen/generated/shared/c++/WorkoutActivityTypePredicate.hpp +70 -0
  419. package/nitrogen/generated/shared/c++/WorkoutConfiguration.hpp +78 -0
  420. package/nitrogen/generated/shared/c++/WorkoutDurationPredicate.hpp +74 -0
  421. package/nitrogen/generated/shared/c++/WorkoutEvent.hpp +79 -0
  422. package/nitrogen/generated/shared/c++/WorkoutEventType.hpp +70 -0
  423. package/nitrogen/generated/shared/c++/WorkoutPlan.hpp +75 -0
  424. package/nitrogen/generated/shared/c++/WorkoutQueryOptions.hpp +113 -0
  425. package/nitrogen/generated/shared/c++/WorkoutQueryOptionsWithAnchor.hpp +113 -0
  426. package/nitrogen/generated/shared/c++/WorkoutRoute.hpp +81 -0
  427. package/nitrogen/generated/shared/c++/WorkoutRouteLocation.hpp +106 -0
  428. package/nitrogen/generated/shared/c++/WorkoutSample.hpp +144 -0
  429. package/nitrogen/generated/shared/c++/WorkoutSessionLocationType.hpp +65 -0
  430. package/nitrogen/generated/shared/c++/WorkoutSessionMirroringStartHandlerOptions.hpp +92 -0
  431. package/nitrogen/generated/shared/c++/WorkoutSessionState.hpp +68 -0
  432. package/nitrogen/generated/shared/c++/WorkoutTotals.hpp +73 -0
  433. package/package.json +35 -12
  434. package/src/hooks/useCategorySampleById.ts +41 -0
  435. package/src/hooks/useQuantitySampleById.ts +44 -0
  436. package/src/hooks/useWorkoutById.ts +55 -0
  437. package/src/index.ios.ts +1 -9
  438. package/src/index.ts +4 -16
  439. package/src/utils/getCategorySampleById.ts +16 -0
  440. package/src/utils/getQuantitySampleById.ts +20 -0
  441. package/src/utils/getWorkoutById.ts +20 -0
@@ -0,0 +1,858 @@
1
+ ///
2
+ /// ObjectTypeIdentifier.hpp
3
+ /// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
4
+ /// https://github.com/mrousavy/nitro
5
+ /// Copyright © 2025 Marc Rousavy @ Margelo
6
+ ///
7
+
8
+ #pragma once
9
+
10
+ #if __has_include(<NitroModules/NitroHash.hpp>)
11
+ #include <NitroModules/NitroHash.hpp>
12
+ #else
13
+ #error NitroModules cannot be found! Are you sure you installed NitroModules properly?
14
+ #endif
15
+ #if __has_include(<NitroModules/JSIConverter.hpp>)
16
+ #include <NitroModules/JSIConverter.hpp>
17
+ #else
18
+ #error NitroModules cannot be found! Are you sure you installed NitroModules properly?
19
+ #endif
20
+ #if __has_include(<NitroModules/NitroDefines.hpp>)
21
+ #include <NitroModules/NitroDefines.hpp>
22
+ #else
23
+ #error NitroModules cannot be found! Are you sure you installed NitroModules properly?
24
+ #endif
25
+
26
+ namespace margelo::nitro::healthkit {
27
+
28
+ /**
29
+ * An enum which can be represented as a JavaScript union (ObjectTypeIdentifier).
30
+ */
31
+ enum class ObjectTypeIdentifier {
32
+ HKCATEGORYTYPEIDENTIFIERAPPLESTANDHOUR SWIFT_NAME(hkcategorytypeidentifierapplestandhour) = 0,
33
+ HKCATEGORYTYPEIDENTIFIERHIGHHEARTRATEEVENT SWIFT_NAME(hkcategorytypeidentifierhighheartrateevent) = 1,
34
+ HKCATEGORYTYPEIDENTIFIERLOWHEARTRATEEVENT SWIFT_NAME(hkcategorytypeidentifierlowheartrateevent) = 2,
35
+ HKCATEGORYTYPEIDENTIFIERHEADPHONEAUDIOEXPOSUREEVENT SWIFT_NAME(hkcategorytypeidentifierheadphoneaudioexposureevent) = 3,
36
+ HKCATEGORYTYPEIDENTIFIERSLEEPANALYSIS SWIFT_NAME(hkcategorytypeidentifiersleepanalysis) = 4,
37
+ HKCATEGORYTYPEIDENTIFIERCERVICALMUCUSQUALITY SWIFT_NAME(hkcategorytypeidentifiercervicalmucusquality) = 5,
38
+ HKCATEGORYTYPEIDENTIFIEROVULATIONTESTRESULT SWIFT_NAME(hkcategorytypeidentifierovulationtestresult) = 6,
39
+ HKCATEGORYTYPEIDENTIFIERMENSTRUALFLOW SWIFT_NAME(hkcategorytypeidentifiermenstrualflow) = 7,
40
+ HKCATEGORYTYPEIDENTIFIERINTERMENSTRUALBLEEDING SWIFT_NAME(hkcategorytypeidentifierintermenstrualbleeding) = 8,
41
+ HKCATEGORYTYPEIDENTIFIERSEXUALACTIVITY SWIFT_NAME(hkcategorytypeidentifiersexualactivity) = 9,
42
+ HKCATEGORYTYPEIDENTIFIERMINDFULSESSION SWIFT_NAME(hkcategorytypeidentifiermindfulsession) = 10,
43
+ HKCATEGORYTYPEIDENTIFIERIRREGULARHEARTRHYTHMEVENT SWIFT_NAME(hkcategorytypeidentifierirregularheartrhythmevent) = 11,
44
+ HKCATEGORYTYPEIDENTIFIERAUDIOEXPOSUREEVENT SWIFT_NAME(hkcategorytypeidentifieraudioexposureevent) = 12,
45
+ HKCATEGORYTYPEIDENTIFIERTOOTHBRUSHINGEVENT SWIFT_NAME(hkcategorytypeidentifiertoothbrushingevent) = 13,
46
+ HKCATEGORYTYPEIDENTIFIERLOWCARDIOFITNESSEVENT SWIFT_NAME(hkcategorytypeidentifierlowcardiofitnessevent) = 14,
47
+ HKCATEGORYTYPEIDENTIFIERCONTRACEPTIVE SWIFT_NAME(hkcategorytypeidentifiercontraceptive) = 15,
48
+ HKCATEGORYTYPEIDENTIFIERLACTATION SWIFT_NAME(hkcategorytypeidentifierlactation) = 16,
49
+ HKCATEGORYTYPEIDENTIFIERPREGNANCY SWIFT_NAME(hkcategorytypeidentifierpregnancy) = 17,
50
+ HKCATEGORYTYPEIDENTIFIERPREGNANCYTESTRESULT SWIFT_NAME(hkcategorytypeidentifierpregnancytestresult) = 18,
51
+ HKCATEGORYTYPEIDENTIFIERPROGESTERONETESTRESULT SWIFT_NAME(hkcategorytypeidentifierprogesteronetestresult) = 19,
52
+ HKCATEGORYTYPEIDENTIFIERENVIRONMENTALAUDIOEXPOSUREEVENT SWIFT_NAME(hkcategorytypeidentifierenvironmentalaudioexposureevent) = 20,
53
+ HKCATEGORYTYPEIDENTIFIERAPPLEWALKINGSTEADINESSEVENT SWIFT_NAME(hkcategorytypeidentifierapplewalkingsteadinessevent) = 21,
54
+ HKCATEGORYTYPEIDENTIFIERHANDWASHINGEVENT SWIFT_NAME(hkcategorytypeidentifierhandwashingevent) = 22,
55
+ HKCATEGORYTYPEIDENTIFIERABDOMINALCRAMPS SWIFT_NAME(hkcategorytypeidentifierabdominalcramps) = 23,
56
+ HKCATEGORYTYPEIDENTIFIERACNE SWIFT_NAME(hkcategorytypeidentifieracne) = 24,
57
+ HKCATEGORYTYPEIDENTIFIERAPPETITECHANGES SWIFT_NAME(hkcategorytypeidentifierappetitechanges) = 25,
58
+ HKCATEGORYTYPEIDENTIFIERBLADDERINCONTINENCE SWIFT_NAME(hkcategorytypeidentifierbladderincontinence) = 26,
59
+ HKCATEGORYTYPEIDENTIFIERBLOATING SWIFT_NAME(hkcategorytypeidentifierbloating) = 27,
60
+ HKCATEGORYTYPEIDENTIFIERBREASTPAIN SWIFT_NAME(hkcategorytypeidentifierbreastpain) = 28,
61
+ HKCATEGORYTYPEIDENTIFIERCHESTTIGHTNESSORPAIN SWIFT_NAME(hkcategorytypeidentifierchesttightnessorpain) = 29,
62
+ HKCATEGORYTYPEIDENTIFIERCHILLS SWIFT_NAME(hkcategorytypeidentifierchills) = 30,
63
+ HKCATEGORYTYPEIDENTIFIERCONSTIPATION SWIFT_NAME(hkcategorytypeidentifierconstipation) = 31,
64
+ HKCATEGORYTYPEIDENTIFIERCOUGHING SWIFT_NAME(hkcategorytypeidentifiercoughing) = 32,
65
+ HKCATEGORYTYPEIDENTIFIERDIARRHEA SWIFT_NAME(hkcategorytypeidentifierdiarrhea) = 33,
66
+ HKCATEGORYTYPEIDENTIFIERDIZZINESS SWIFT_NAME(hkcategorytypeidentifierdizziness) = 34,
67
+ HKCATEGORYTYPEIDENTIFIERDRYSKIN SWIFT_NAME(hkcategorytypeidentifierdryskin) = 35,
68
+ HKCATEGORYTYPEIDENTIFIERFAINTING SWIFT_NAME(hkcategorytypeidentifierfainting) = 36,
69
+ HKCATEGORYTYPEIDENTIFIERFATIGUE SWIFT_NAME(hkcategorytypeidentifierfatigue) = 37,
70
+ HKCATEGORYTYPEIDENTIFIERFEVER SWIFT_NAME(hkcategorytypeidentifierfever) = 38,
71
+ HKCATEGORYTYPEIDENTIFIERGENERALIZEDBODYACHE SWIFT_NAME(hkcategorytypeidentifiergeneralizedbodyache) = 39,
72
+ HKCATEGORYTYPEIDENTIFIERHAIRLOSS SWIFT_NAME(hkcategorytypeidentifierhairloss) = 40,
73
+ HKCATEGORYTYPEIDENTIFIERHEADACHE SWIFT_NAME(hkcategorytypeidentifierheadache) = 41,
74
+ HKCATEGORYTYPEIDENTIFIERHEARTBURN SWIFT_NAME(hkcategorytypeidentifierheartburn) = 42,
75
+ HKCATEGORYTYPEIDENTIFIERHOTFLASHES SWIFT_NAME(hkcategorytypeidentifierhotflashes) = 43,
76
+ HKCATEGORYTYPEIDENTIFIERLOSSOFSMELL SWIFT_NAME(hkcategorytypeidentifierlossofsmell) = 44,
77
+ HKCATEGORYTYPEIDENTIFIERLOSSOFTASTE SWIFT_NAME(hkcategorytypeidentifierlossoftaste) = 45,
78
+ HKCATEGORYTYPEIDENTIFIERLOWERBACKPAIN SWIFT_NAME(hkcategorytypeidentifierlowerbackpain) = 46,
79
+ HKCATEGORYTYPEIDENTIFIERMEMORYLAPSE SWIFT_NAME(hkcategorytypeidentifiermemorylapse) = 47,
80
+ HKCATEGORYTYPEIDENTIFIERMOODCHANGES SWIFT_NAME(hkcategorytypeidentifiermoodchanges) = 48,
81
+ HKCATEGORYTYPEIDENTIFIERNAUSEA SWIFT_NAME(hkcategorytypeidentifiernausea) = 49,
82
+ HKCATEGORYTYPEIDENTIFIERNIGHTSWEATS SWIFT_NAME(hkcategorytypeidentifiernightsweats) = 50,
83
+ HKCATEGORYTYPEIDENTIFIERPELVICPAIN SWIFT_NAME(hkcategorytypeidentifierpelvicpain) = 51,
84
+ HKCATEGORYTYPEIDENTIFIERRAPIDPOUNDINGORFLUTTERINGHEARTBEAT SWIFT_NAME(hkcategorytypeidentifierrapidpoundingorflutteringheartbeat) = 52,
85
+ HKCATEGORYTYPEIDENTIFIERRUNNYNOSE SWIFT_NAME(hkcategorytypeidentifierrunnynose) = 53,
86
+ HKCATEGORYTYPEIDENTIFIERSHORTNESSOFBREATH SWIFT_NAME(hkcategorytypeidentifiershortnessofbreath) = 54,
87
+ HKCATEGORYTYPEIDENTIFIERSINUSCONGESTION SWIFT_NAME(hkcategorytypeidentifiersinuscongestion) = 55,
88
+ HKCATEGORYTYPEIDENTIFIERSKIPPEDHEARTBEAT SWIFT_NAME(hkcategorytypeidentifierskippedheartbeat) = 56,
89
+ HKCATEGORYTYPEIDENTIFIERSLEEPCHANGES SWIFT_NAME(hkcategorytypeidentifiersleepchanges) = 57,
90
+ HKCATEGORYTYPEIDENTIFIERSORETHROAT SWIFT_NAME(hkcategorytypeidentifiersorethroat) = 58,
91
+ HKCATEGORYTYPEIDENTIFIERVAGINALDRYNESS SWIFT_NAME(hkcategorytypeidentifiervaginaldryness) = 59,
92
+ HKCATEGORYTYPEIDENTIFIERVOMITING SWIFT_NAME(hkcategorytypeidentifiervomiting) = 60,
93
+ HKCATEGORYTYPEIDENTIFIERWHEEZING SWIFT_NAME(hkcategorytypeidentifierwheezing) = 61,
94
+ HKCATEGORYTYPEIDENTIFIERBLEEDINGAFTERPREGNANCY SWIFT_NAME(hkcategorytypeidentifierbleedingafterpregnancy) = 62,
95
+ HKCATEGORYTYPEIDENTIFIERBLEEDINGDURINGPREGNANCY SWIFT_NAME(hkcategorytypeidentifierbleedingduringpregnancy) = 63,
96
+ HKCHARACTERISTICTYPEIDENTIFIERFITZPATRICKSKINTYPE SWIFT_NAME(hkcharacteristictypeidentifierfitzpatrickskintype) = 64,
97
+ HKCHARACTERISTICTYPEIDENTIFIERBIOLOGICALSEX SWIFT_NAME(hkcharacteristictypeidentifierbiologicalsex) = 65,
98
+ HKCHARACTERISTICTYPEIDENTIFIERBLOODTYPE SWIFT_NAME(hkcharacteristictypeidentifierbloodtype) = 66,
99
+ HKCHARACTERISTICTYPEIDENTIFIERDATEOFBIRTH SWIFT_NAME(hkcharacteristictypeidentifierdateofbirth) = 67,
100
+ HKCHARACTERISTICTYPEIDENTIFIERWHEELCHAIRUSE SWIFT_NAME(hkcharacteristictypeidentifierwheelchairuse) = 68,
101
+ HKCHARACTERISTICTYPEIDENTIFIERACTIVITYMOVEMODE SWIFT_NAME(hkcharacteristictypeidentifieractivitymovemode) = 69,
102
+ HKCORRELATIONTYPEIDENTIFIERBLOODPRESSURE SWIFT_NAME(hkcorrelationtypeidentifierbloodpressure) = 70,
103
+ HKCORRELATIONTYPEIDENTIFIERFOOD SWIFT_NAME(hkcorrelationtypeidentifierfood) = 71,
104
+ HKQUANTITYTYPEIDENTIFIERWALKINGHEARTRATEAVERAGE SWIFT_NAME(hkquantitytypeidentifierwalkingheartrateaverage) = 72,
105
+ HKQUANTITYTYPEIDENTIFIERBODYMASSINDEX SWIFT_NAME(hkquantitytypeidentifierbodymassindex) = 73,
106
+ HKQUANTITYTYPEIDENTIFIERBODYFATPERCENTAGE SWIFT_NAME(hkquantitytypeidentifierbodyfatpercentage) = 74,
107
+ HKQUANTITYTYPEIDENTIFIERHEIGHT SWIFT_NAME(hkquantitytypeidentifierheight) = 75,
108
+ HKQUANTITYTYPEIDENTIFIERBODYMASS SWIFT_NAME(hkquantitytypeidentifierbodymass) = 76,
109
+ HKQUANTITYTYPEIDENTIFIERLEANBODYMASS SWIFT_NAME(hkquantitytypeidentifierleanbodymass) = 77,
110
+ HKQUANTITYTYPEIDENTIFIERWAISTCIRCUMFERENCE SWIFT_NAME(hkquantitytypeidentifierwaistcircumference) = 78,
111
+ HKQUANTITYTYPEIDENTIFIERSTEPCOUNT SWIFT_NAME(hkquantitytypeidentifierstepcount) = 79,
112
+ HKQUANTITYTYPEIDENTIFIERDISTANCEWALKINGRUNNING SWIFT_NAME(hkquantitytypeidentifierdistancewalkingrunning) = 80,
113
+ HKQUANTITYTYPEIDENTIFIERDISTANCECYCLING SWIFT_NAME(hkquantitytypeidentifierdistancecycling) = 81,
114
+ HKQUANTITYTYPEIDENTIFIERDISTANCEWHEELCHAIR SWIFT_NAME(hkquantitytypeidentifierdistancewheelchair) = 82,
115
+ HKQUANTITYTYPEIDENTIFIERBASALENERGYBURNED SWIFT_NAME(hkquantitytypeidentifierbasalenergyburned) = 83,
116
+ HKQUANTITYTYPEIDENTIFIERACTIVEENERGYBURNED SWIFT_NAME(hkquantitytypeidentifieractiveenergyburned) = 84,
117
+ HKQUANTITYTYPEIDENTIFIERFLIGHTSCLIMBED SWIFT_NAME(hkquantitytypeidentifierflightsclimbed) = 85,
118
+ HKQUANTITYTYPEIDENTIFIERNIKEFUEL SWIFT_NAME(hkquantitytypeidentifiernikefuel) = 86,
119
+ HKQUANTITYTYPEIDENTIFIERAPPLEEXERCISETIME SWIFT_NAME(hkquantitytypeidentifierappleexercisetime) = 87,
120
+ HKQUANTITYTYPEIDENTIFIERPUSHCOUNT SWIFT_NAME(hkquantitytypeidentifierpushcount) = 88,
121
+ HKQUANTITYTYPEIDENTIFIERDISTANCESWIMMING SWIFT_NAME(hkquantitytypeidentifierdistanceswimming) = 89,
122
+ HKQUANTITYTYPEIDENTIFIERSWIMMINGSTROKECOUNT SWIFT_NAME(hkquantitytypeidentifierswimmingstrokecount) = 90,
123
+ HKQUANTITYTYPEIDENTIFIERVO2MAX SWIFT_NAME(hkquantitytypeidentifiervo2max) = 91,
124
+ HKQUANTITYTYPEIDENTIFIERDISTANCEDOWNHILLSNOWSPORTS SWIFT_NAME(hkquantitytypeidentifierdistancedownhillsnowsports) = 92,
125
+ HKQUANTITYTYPEIDENTIFIERAPPLESTANDTIME SWIFT_NAME(hkquantitytypeidentifierapplestandtime) = 93,
126
+ HKQUANTITYTYPEIDENTIFIERHEARTRATE SWIFT_NAME(hkquantitytypeidentifierheartrate) = 94,
127
+ HKQUANTITYTYPEIDENTIFIERBODYTEMPERATURE SWIFT_NAME(hkquantitytypeidentifierbodytemperature) = 95,
128
+ HKQUANTITYTYPEIDENTIFIERBASALBODYTEMPERATURE SWIFT_NAME(hkquantitytypeidentifierbasalbodytemperature) = 96,
129
+ HKQUANTITYTYPEIDENTIFIERBLOODPRESSURESYSTOLIC SWIFT_NAME(hkquantitytypeidentifierbloodpressuresystolic) = 97,
130
+ HKQUANTITYTYPEIDENTIFIERBLOODPRESSUREDIASTOLIC SWIFT_NAME(hkquantitytypeidentifierbloodpressurediastolic) = 98,
131
+ HKQUANTITYTYPEIDENTIFIERRESPIRATORYRATE SWIFT_NAME(hkquantitytypeidentifierrespiratoryrate) = 99,
132
+ HKQUANTITYTYPEIDENTIFIERRESTINGHEARTRATE SWIFT_NAME(hkquantitytypeidentifierrestingheartrate) = 100,
133
+ HKQUANTITYTYPEIDENTIFIERHEARTRATEVARIABILITYSDNN SWIFT_NAME(hkquantitytypeidentifierheartratevariabilitysdnn) = 101,
134
+ HKQUANTITYTYPEIDENTIFIEROXYGENSATURATION SWIFT_NAME(hkquantitytypeidentifieroxygensaturation) = 102,
135
+ HKQUANTITYTYPEIDENTIFIERPERIPHERALPERFUSIONINDEX SWIFT_NAME(hkquantitytypeidentifierperipheralperfusionindex) = 103,
136
+ HKQUANTITYTYPEIDENTIFIERBLOODGLUCOSE SWIFT_NAME(hkquantitytypeidentifierbloodglucose) = 104,
137
+ HKQUANTITYTYPEIDENTIFIERNUMBEROFTIMESFALLEN SWIFT_NAME(hkquantitytypeidentifiernumberoftimesfallen) = 105,
138
+ HKQUANTITYTYPEIDENTIFIERELECTRODERMALACTIVITY SWIFT_NAME(hkquantitytypeidentifierelectrodermalactivity) = 106,
139
+ HKQUANTITYTYPEIDENTIFIERINHALERUSAGE SWIFT_NAME(hkquantitytypeidentifierinhalerusage) = 107,
140
+ HKQUANTITYTYPEIDENTIFIERINSULINDELIVERY SWIFT_NAME(hkquantitytypeidentifierinsulindelivery) = 108,
141
+ HKQUANTITYTYPEIDENTIFIERBLOODALCOHOLCONTENT SWIFT_NAME(hkquantitytypeidentifierbloodalcoholcontent) = 109,
142
+ HKQUANTITYTYPEIDENTIFIERFORCEDVITALCAPACITY SWIFT_NAME(hkquantitytypeidentifierforcedvitalcapacity) = 110,
143
+ HKQUANTITYTYPEIDENTIFIERFORCEDEXPIRATORYVOLUME1 SWIFT_NAME(hkquantitytypeidentifierforcedexpiratoryvolume1) = 111,
144
+ HKQUANTITYTYPEIDENTIFIERPEAKEXPIRATORYFLOWRATE SWIFT_NAME(hkquantitytypeidentifierpeakexpiratoryflowrate) = 112,
145
+ HKQUANTITYTYPEIDENTIFIERENVIRONMENTALAUDIOEXPOSURE SWIFT_NAME(hkquantitytypeidentifierenvironmentalaudioexposure) = 113,
146
+ HKQUANTITYTYPEIDENTIFIERHEADPHONEAUDIOEXPOSURE SWIFT_NAME(hkquantitytypeidentifierheadphoneaudioexposure) = 114,
147
+ HKQUANTITYTYPEIDENTIFIERDIETARYFATTOTAL SWIFT_NAME(hkquantitytypeidentifierdietaryfattotal) = 115,
148
+ HKQUANTITYTYPEIDENTIFIERDIETARYFATPOLYUNSATURATED SWIFT_NAME(hkquantitytypeidentifierdietaryfatpolyunsaturated) = 116,
149
+ HKQUANTITYTYPEIDENTIFIERDIETARYFATMONOUNSATURATED SWIFT_NAME(hkquantitytypeidentifierdietaryfatmonounsaturated) = 117,
150
+ HKQUANTITYTYPEIDENTIFIERDIETARYFATSATURATED SWIFT_NAME(hkquantitytypeidentifierdietaryfatsaturated) = 118,
151
+ HKQUANTITYTYPEIDENTIFIERDIETARYCHOLESTEROL SWIFT_NAME(hkquantitytypeidentifierdietarycholesterol) = 119,
152
+ HKQUANTITYTYPEIDENTIFIERDIETARYSODIUM SWIFT_NAME(hkquantitytypeidentifierdietarysodium) = 120,
153
+ HKQUANTITYTYPEIDENTIFIERDIETARYCARBOHYDRATES SWIFT_NAME(hkquantitytypeidentifierdietarycarbohydrates) = 121,
154
+ HKQUANTITYTYPEIDENTIFIERDIETARYFIBER SWIFT_NAME(hkquantitytypeidentifierdietaryfiber) = 122,
155
+ HKQUANTITYTYPEIDENTIFIERDIETARYSUGAR SWIFT_NAME(hkquantitytypeidentifierdietarysugar) = 123,
156
+ HKQUANTITYTYPEIDENTIFIERDIETARYENERGYCONSUMED SWIFT_NAME(hkquantitytypeidentifierdietaryenergyconsumed) = 124,
157
+ HKQUANTITYTYPEIDENTIFIERDIETARYPROTEIN SWIFT_NAME(hkquantitytypeidentifierdietaryprotein) = 125,
158
+ HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINA SWIFT_NAME(hkquantitytypeidentifierdietaryvitamina) = 126,
159
+ HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINB6 SWIFT_NAME(hkquantitytypeidentifierdietaryvitaminb6) = 127,
160
+ HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINB12 SWIFT_NAME(hkquantitytypeidentifierdietaryvitaminb12) = 128,
161
+ HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINC SWIFT_NAME(hkquantitytypeidentifierdietaryvitaminc) = 129,
162
+ HKQUANTITYTYPEIDENTIFIERDIETARYVITAMIND SWIFT_NAME(hkquantitytypeidentifierdietaryvitamind) = 130,
163
+ HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINE SWIFT_NAME(hkquantitytypeidentifierdietaryvitamine) = 131,
164
+ HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINK SWIFT_NAME(hkquantitytypeidentifierdietaryvitamink) = 132,
165
+ HKQUANTITYTYPEIDENTIFIERDIETARYCALCIUM SWIFT_NAME(hkquantitytypeidentifierdietarycalcium) = 133,
166
+ HKQUANTITYTYPEIDENTIFIERDIETARYIRON SWIFT_NAME(hkquantitytypeidentifierdietaryiron) = 134,
167
+ HKQUANTITYTYPEIDENTIFIERDIETARYTHIAMIN SWIFT_NAME(hkquantitytypeidentifierdietarythiamin) = 135,
168
+ HKQUANTITYTYPEIDENTIFIERDIETARYRIBOFLAVIN SWIFT_NAME(hkquantitytypeidentifierdietaryriboflavin) = 136,
169
+ HKQUANTITYTYPEIDENTIFIERDIETARYNIACIN SWIFT_NAME(hkquantitytypeidentifierdietaryniacin) = 137,
170
+ HKQUANTITYTYPEIDENTIFIERDIETARYFOLATE SWIFT_NAME(hkquantitytypeidentifierdietaryfolate) = 138,
171
+ HKQUANTITYTYPEIDENTIFIERDIETARYBIOTIN SWIFT_NAME(hkquantitytypeidentifierdietarybiotin) = 139,
172
+ HKQUANTITYTYPEIDENTIFIERDIETARYPANTOTHENICACID SWIFT_NAME(hkquantitytypeidentifierdietarypantothenicacid) = 140,
173
+ HKQUANTITYTYPEIDENTIFIERDIETARYPHOSPHORUS SWIFT_NAME(hkquantitytypeidentifierdietaryphosphorus) = 141,
174
+ HKQUANTITYTYPEIDENTIFIERDIETARYIODINE SWIFT_NAME(hkquantitytypeidentifierdietaryiodine) = 142,
175
+ HKQUANTITYTYPEIDENTIFIERDIETARYMAGNESIUM SWIFT_NAME(hkquantitytypeidentifierdietarymagnesium) = 143,
176
+ HKQUANTITYTYPEIDENTIFIERDIETARYZINC SWIFT_NAME(hkquantitytypeidentifierdietaryzinc) = 144,
177
+ HKQUANTITYTYPEIDENTIFIERDIETARYSELENIUM SWIFT_NAME(hkquantitytypeidentifierdietaryselenium) = 145,
178
+ HKQUANTITYTYPEIDENTIFIERDIETARYCOPPER SWIFT_NAME(hkquantitytypeidentifierdietarycopper) = 146,
179
+ HKQUANTITYTYPEIDENTIFIERDIETARYMANGANESE SWIFT_NAME(hkquantitytypeidentifierdietarymanganese) = 147,
180
+ HKQUANTITYTYPEIDENTIFIERDIETARYCHROMIUM SWIFT_NAME(hkquantitytypeidentifierdietarychromium) = 148,
181
+ HKQUANTITYTYPEIDENTIFIERDIETARYMOLYBDENUM SWIFT_NAME(hkquantitytypeidentifierdietarymolybdenum) = 149,
182
+ HKQUANTITYTYPEIDENTIFIERDIETARYCHLORIDE SWIFT_NAME(hkquantitytypeidentifierdietarychloride) = 150,
183
+ HKQUANTITYTYPEIDENTIFIERDIETARYPOTASSIUM SWIFT_NAME(hkquantitytypeidentifierdietarypotassium) = 151,
184
+ HKQUANTITYTYPEIDENTIFIERDIETARYCAFFEINE SWIFT_NAME(hkquantitytypeidentifierdietarycaffeine) = 152,
185
+ HKQUANTITYTYPEIDENTIFIERDIETARYWATER SWIFT_NAME(hkquantitytypeidentifierdietarywater) = 153,
186
+ HKQUANTITYTYPEIDENTIFIERSIXMINUTEWALKTESTDISTANCE SWIFT_NAME(hkquantitytypeidentifiersixminutewalktestdistance) = 154,
187
+ HKQUANTITYTYPEIDENTIFIERWALKINGSPEED SWIFT_NAME(hkquantitytypeidentifierwalkingspeed) = 155,
188
+ HKQUANTITYTYPEIDENTIFIERWALKINGSTEPLENGTH SWIFT_NAME(hkquantitytypeidentifierwalkingsteplength) = 156,
189
+ HKQUANTITYTYPEIDENTIFIERWALKINGASYMMETRYPERCENTAGE SWIFT_NAME(hkquantitytypeidentifierwalkingasymmetrypercentage) = 157,
190
+ HKQUANTITYTYPEIDENTIFIERWALKINGDOUBLESUPPORTPERCENTAGE SWIFT_NAME(hkquantitytypeidentifierwalkingdoublesupportpercentage) = 158,
191
+ HKQUANTITYTYPEIDENTIFIERSTAIRASCENTSPEED SWIFT_NAME(hkquantitytypeidentifierstairascentspeed) = 159,
192
+ HKQUANTITYTYPEIDENTIFIERSTAIRDESCENTSPEED SWIFT_NAME(hkquantitytypeidentifierstairdescentspeed) = 160,
193
+ HKQUANTITYTYPEIDENTIFIERUVEXPOSURE SWIFT_NAME(hkquantitytypeidentifieruvexposure) = 161,
194
+ HKQUANTITYTYPEIDENTIFIERAPPLEMOVETIME SWIFT_NAME(hkquantitytypeidentifierapplemovetime) = 162,
195
+ HKQUANTITYTYPEIDENTIFIERAPPLEWALKINGSTEADINESS SWIFT_NAME(hkquantitytypeidentifierapplewalkingsteadiness) = 163,
196
+ HKQUANTITYTYPEIDENTIFIERNUMBEROFALCOHOLICBEVERAGES SWIFT_NAME(hkquantitytypeidentifiernumberofalcoholicbeverages) = 164,
197
+ HKQUANTITYTYPEIDENTIFIERATRIALFIBRILLATIONBURDEN SWIFT_NAME(hkquantitytypeidentifieratrialfibrillationburden) = 165,
198
+ HKQUANTITYTYPEIDENTIFIERUNDERWATERDEPTH SWIFT_NAME(hkquantitytypeidentifierunderwaterdepth) = 166,
199
+ HKQUANTITYTYPEIDENTIFIERWATERTEMPERATURE SWIFT_NAME(hkquantitytypeidentifierwatertemperature) = 167,
200
+ HKQUANTITYTYPEIDENTIFIERAPPLESLEEPINGWRISTTEMPERATURE SWIFT_NAME(hkquantitytypeidentifierapplesleepingwristtemperature) = 168,
201
+ HKQUANTITYTYPEIDENTIFIERTIMEINDAYLIGHT SWIFT_NAME(hkquantitytypeidentifiertimeindaylight) = 169,
202
+ HKQUANTITYTYPEIDENTIFIERPHYSICALEFFORT SWIFT_NAME(hkquantitytypeidentifierphysicaleffort) = 170,
203
+ HKQUANTITYTYPEIDENTIFIERCYCLINGSPEED SWIFT_NAME(hkquantitytypeidentifiercyclingspeed) = 171,
204
+ HKQUANTITYTYPEIDENTIFIERCYCLINGPOWER SWIFT_NAME(hkquantitytypeidentifiercyclingpower) = 172,
205
+ HKQUANTITYTYPEIDENTIFIERCYCLINGFUNCTIONALTHRESHOLDPOWER SWIFT_NAME(hkquantitytypeidentifiercyclingfunctionalthresholdpower) = 173,
206
+ HKQUANTITYTYPEIDENTIFIERCYCLINGCADENCE SWIFT_NAME(hkquantitytypeidentifiercyclingcadence) = 174,
207
+ HKQUANTITYTYPEIDENTIFIERENVIRONMENTALSOUNDREDUCTION SWIFT_NAME(hkquantitytypeidentifierenvironmentalsoundreduction) = 175,
208
+ HKQUANTITYTYPEIDENTIFIERHEARTRATERECOVERYONEMINUTE SWIFT_NAME(hkquantitytypeidentifierheartraterecoveryoneminute) = 176,
209
+ HKQUANTITYTYPEIDENTIFIERRUNNINGGROUNDCONTACTTIME SWIFT_NAME(hkquantitytypeidentifierrunninggroundcontacttime) = 177,
210
+ HKQUANTITYTYPEIDENTIFIERRUNNINGSTRIDELENGTH SWIFT_NAME(hkquantitytypeidentifierrunningstridelength) = 178,
211
+ HKQUANTITYTYPEIDENTIFIERRUNNINGPOWER SWIFT_NAME(hkquantitytypeidentifierrunningpower) = 179,
212
+ HKQUANTITYTYPEIDENTIFIERRUNNINGVERTICALOSCILLATION SWIFT_NAME(hkquantitytypeidentifierrunningverticaloscillation) = 180,
213
+ HKQUANTITYTYPEIDENTIFIERRUNNINGSPEED SWIFT_NAME(hkquantitytypeidentifierrunningspeed) = 181,
214
+ HKQUANTITYTYPEIDENTIFIERCROSSCOUNTRYSKIINGSPEED SWIFT_NAME(hkquantitytypeidentifiercrosscountryskiingspeed) = 182,
215
+ HKQUANTITYTYPEIDENTIFIERDISTANCECROSSCOUNTRYSKIING SWIFT_NAME(hkquantitytypeidentifierdistancecrosscountryskiing) = 183,
216
+ HKQUANTITYTYPEIDENTIFIERDISTANCEPADDLESPORTS SWIFT_NAME(hkquantitytypeidentifierdistancepaddlesports) = 184,
217
+ HKQUANTITYTYPEIDENTIFIERDISTANCEROWING SWIFT_NAME(hkquantitytypeidentifierdistancerowing) = 185,
218
+ HKQUANTITYTYPEIDENTIFIERDISTANCESKATINGSPORTS SWIFT_NAME(hkquantitytypeidentifierdistanceskatingsports) = 186,
219
+ HKQUANTITYTYPEIDENTIFIERESTIMATEDWORKOUTEFFORTSCORE SWIFT_NAME(hkquantitytypeidentifierestimatedworkouteffortscore) = 187,
220
+ HKQUANTITYTYPEIDENTIFIERPADDLESPORTSSPEED SWIFT_NAME(hkquantitytypeidentifierpaddlesportsspeed) = 188,
221
+ HKQUANTITYTYPEIDENTIFIERROWINGSPEED SWIFT_NAME(hkquantitytypeidentifierrowingspeed) = 189,
222
+ HKQUANTITYTYPEIDENTIFIERWORKOUTEFFORTSCORE SWIFT_NAME(hkquantitytypeidentifierworkouteffortscore) = 190,
223
+ HKSTATEOFMINDTYPEIDENTIFIER SWIFT_NAME(hkstateofmindtypeidentifier) = 191,
224
+ HKAUDIOGRAMSAMPLETYPE SWIFT_NAME(hkaudiogramsampletype) = 192,
225
+ HKDATATYPEIDENTIFIERHEARTBEATSERIES SWIFT_NAME(hkdatatypeidentifierheartbeatseries) = 193,
226
+ HKWORKOUTROUTETYPEIDENTIFIER SWIFT_NAME(hkworkoutroutetypeidentifier) = 194,
227
+ HKWORKOUTTYPEIDENTIFIER SWIFT_NAME(hkworkouttypeidentifier) = 195,
228
+ ACTIVITYSUMMARYTYPEIDENTIFIER SWIFT_NAME(activitysummarytypeidentifier) = 196,
229
+ } CLOSED_ENUM;
230
+
231
+ } // namespace margelo::nitro::healthkit
232
+
233
+ namespace margelo::nitro {
234
+
235
+ using namespace margelo::nitro::healthkit;
236
+
237
+ // C++ ObjectTypeIdentifier <> JS ObjectTypeIdentifier (union)
238
+ template <>
239
+ struct JSIConverter<ObjectTypeIdentifier> final {
240
+ static inline ObjectTypeIdentifier fromJSI(jsi::Runtime& runtime, const jsi::Value& arg) {
241
+ std::string unionValue = JSIConverter<std::string>::fromJSI(runtime, arg);
242
+ switch (hashString(unionValue.c_str(), unionValue.size())) {
243
+ case hashString("HKCategoryTypeIdentifierAppleStandHour"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERAPPLESTANDHOUR;
244
+ case hashString("HKCategoryTypeIdentifierHighHeartRateEvent"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERHIGHHEARTRATEEVENT;
245
+ case hashString("HKCategoryTypeIdentifierLowHeartRateEvent"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERLOWHEARTRATEEVENT;
246
+ case hashString("HKCategoryTypeIdentifierHeadphoneAudioExposureEvent"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERHEADPHONEAUDIOEXPOSUREEVENT;
247
+ case hashString("HKCategoryTypeIdentifierSleepAnalysis"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERSLEEPANALYSIS;
248
+ case hashString("HKCategoryTypeIdentifierCervicalMucusQuality"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERCERVICALMUCUSQUALITY;
249
+ case hashString("HKCategoryTypeIdentifierOvulationTestResult"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIEROVULATIONTESTRESULT;
250
+ case hashString("HKCategoryTypeIdentifierMenstrualFlow"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERMENSTRUALFLOW;
251
+ case hashString("HKCategoryTypeIdentifierIntermenstrualBleeding"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERINTERMENSTRUALBLEEDING;
252
+ case hashString("HKCategoryTypeIdentifierSexualActivity"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERSEXUALACTIVITY;
253
+ case hashString("HKCategoryTypeIdentifierMindfulSession"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERMINDFULSESSION;
254
+ case hashString("HKCategoryTypeIdentifierIrregularHeartRhythmEvent"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERIRREGULARHEARTRHYTHMEVENT;
255
+ case hashString("HKCategoryTypeIdentifierAudioExposureEvent"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERAUDIOEXPOSUREEVENT;
256
+ case hashString("HKCategoryTypeIdentifierToothbrushingEvent"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERTOOTHBRUSHINGEVENT;
257
+ case hashString("HKCategoryTypeIdentifierLowCardioFitnessEvent"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERLOWCARDIOFITNESSEVENT;
258
+ case hashString("HKCategoryTypeIdentifierContraceptive"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERCONTRACEPTIVE;
259
+ case hashString("HKCategoryTypeIdentifierLactation"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERLACTATION;
260
+ case hashString("HKCategoryTypeIdentifierPregnancy"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERPREGNANCY;
261
+ case hashString("HKCategoryTypeIdentifierPregnancyTestResult"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERPREGNANCYTESTRESULT;
262
+ case hashString("HKCategoryTypeIdentifierProgesteroneTestResult"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERPROGESTERONETESTRESULT;
263
+ case hashString("HKCategoryTypeIdentifierEnvironmentalAudioExposureEvent"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERENVIRONMENTALAUDIOEXPOSUREEVENT;
264
+ case hashString("HKCategoryTypeIdentifierAppleWalkingSteadinessEvent"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERAPPLEWALKINGSTEADINESSEVENT;
265
+ case hashString("HKCategoryTypeIdentifierHandwashingEvent"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERHANDWASHINGEVENT;
266
+ case hashString("HKCategoryTypeIdentifierAbdominalCramps"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERABDOMINALCRAMPS;
267
+ case hashString("HKCategoryTypeIdentifierAcne"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERACNE;
268
+ case hashString("HKCategoryTypeIdentifierAppetiteChanges"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERAPPETITECHANGES;
269
+ case hashString("HKCategoryTypeIdentifierBladderIncontinence"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERBLADDERINCONTINENCE;
270
+ case hashString("HKCategoryTypeIdentifierBloating"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERBLOATING;
271
+ case hashString("HKCategoryTypeIdentifierBreastPain"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERBREASTPAIN;
272
+ case hashString("HKCategoryTypeIdentifierChestTightnessOrPain"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERCHESTTIGHTNESSORPAIN;
273
+ case hashString("HKCategoryTypeIdentifierChills"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERCHILLS;
274
+ case hashString("HKCategoryTypeIdentifierConstipation"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERCONSTIPATION;
275
+ case hashString("HKCategoryTypeIdentifierCoughing"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERCOUGHING;
276
+ case hashString("HKCategoryTypeIdentifierDiarrhea"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERDIARRHEA;
277
+ case hashString("HKCategoryTypeIdentifierDizziness"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERDIZZINESS;
278
+ case hashString("HKCategoryTypeIdentifierDrySkin"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERDRYSKIN;
279
+ case hashString("HKCategoryTypeIdentifierFainting"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERFAINTING;
280
+ case hashString("HKCategoryTypeIdentifierFatigue"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERFATIGUE;
281
+ case hashString("HKCategoryTypeIdentifierFever"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERFEVER;
282
+ case hashString("HKCategoryTypeIdentifierGeneralizedBodyAche"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERGENERALIZEDBODYACHE;
283
+ case hashString("HKCategoryTypeIdentifierHairLoss"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERHAIRLOSS;
284
+ case hashString("HKCategoryTypeIdentifierHeadache"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERHEADACHE;
285
+ case hashString("HKCategoryTypeIdentifierHeartburn"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERHEARTBURN;
286
+ case hashString("HKCategoryTypeIdentifierHotFlashes"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERHOTFLASHES;
287
+ case hashString("HKCategoryTypeIdentifierLossOfSmell"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERLOSSOFSMELL;
288
+ case hashString("HKCategoryTypeIdentifierLossOfTaste"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERLOSSOFTASTE;
289
+ case hashString("HKCategoryTypeIdentifierLowerBackPain"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERLOWERBACKPAIN;
290
+ case hashString("HKCategoryTypeIdentifierMemoryLapse"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERMEMORYLAPSE;
291
+ case hashString("HKCategoryTypeIdentifierMoodChanges"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERMOODCHANGES;
292
+ case hashString("HKCategoryTypeIdentifierNausea"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERNAUSEA;
293
+ case hashString("HKCategoryTypeIdentifierNightSweats"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERNIGHTSWEATS;
294
+ case hashString("HKCategoryTypeIdentifierPelvicPain"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERPELVICPAIN;
295
+ case hashString("HKCategoryTypeIdentifierRapidPoundingOrFlutteringHeartbeat"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERRAPIDPOUNDINGORFLUTTERINGHEARTBEAT;
296
+ case hashString("HKCategoryTypeIdentifierRunnyNose"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERRUNNYNOSE;
297
+ case hashString("HKCategoryTypeIdentifierShortnessOfBreath"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERSHORTNESSOFBREATH;
298
+ case hashString("HKCategoryTypeIdentifierSinusCongestion"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERSINUSCONGESTION;
299
+ case hashString("HKCategoryTypeIdentifierSkippedHeartbeat"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERSKIPPEDHEARTBEAT;
300
+ case hashString("HKCategoryTypeIdentifierSleepChanges"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERSLEEPCHANGES;
301
+ case hashString("HKCategoryTypeIdentifierSoreThroat"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERSORETHROAT;
302
+ case hashString("HKCategoryTypeIdentifierVaginalDryness"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERVAGINALDRYNESS;
303
+ case hashString("HKCategoryTypeIdentifierVomiting"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERVOMITING;
304
+ case hashString("HKCategoryTypeIdentifierWheezing"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERWHEEZING;
305
+ case hashString("HKCategoryTypeIdentifierBleedingAfterPregnancy"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERBLEEDINGAFTERPREGNANCY;
306
+ case hashString("HKCategoryTypeIdentifierBleedingDuringPregnancy"): return ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERBLEEDINGDURINGPREGNANCY;
307
+ case hashString("HKCharacteristicTypeIdentifierFitzpatrickSkinType"): return ObjectTypeIdentifier::HKCHARACTERISTICTYPEIDENTIFIERFITZPATRICKSKINTYPE;
308
+ case hashString("HKCharacteristicTypeIdentifierBiologicalSex"): return ObjectTypeIdentifier::HKCHARACTERISTICTYPEIDENTIFIERBIOLOGICALSEX;
309
+ case hashString("HKCharacteristicTypeIdentifierBloodType"): return ObjectTypeIdentifier::HKCHARACTERISTICTYPEIDENTIFIERBLOODTYPE;
310
+ case hashString("HKCharacteristicTypeIdentifierDateOfBirth"): return ObjectTypeIdentifier::HKCHARACTERISTICTYPEIDENTIFIERDATEOFBIRTH;
311
+ case hashString("HKCharacteristicTypeIdentifierWheelchairUse"): return ObjectTypeIdentifier::HKCHARACTERISTICTYPEIDENTIFIERWHEELCHAIRUSE;
312
+ case hashString("HKCharacteristicTypeIdentifierActivityMoveMode"): return ObjectTypeIdentifier::HKCHARACTERISTICTYPEIDENTIFIERACTIVITYMOVEMODE;
313
+ case hashString("HKCorrelationTypeIdentifierBloodPressure"): return ObjectTypeIdentifier::HKCORRELATIONTYPEIDENTIFIERBLOODPRESSURE;
314
+ case hashString("HKCorrelationTypeIdentifierFood"): return ObjectTypeIdentifier::HKCORRELATIONTYPEIDENTIFIERFOOD;
315
+ case hashString("HKQuantityTypeIdentifierWalkingHeartRateAverage"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWALKINGHEARTRATEAVERAGE;
316
+ case hashString("HKQuantityTypeIdentifierBodyMassIndex"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBODYMASSINDEX;
317
+ case hashString("HKQuantityTypeIdentifierBodyFatPercentage"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBODYFATPERCENTAGE;
318
+ case hashString("HKQuantityTypeIdentifierHeight"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERHEIGHT;
319
+ case hashString("HKQuantityTypeIdentifierBodyMass"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBODYMASS;
320
+ case hashString("HKQuantityTypeIdentifierLeanBodyMass"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERLEANBODYMASS;
321
+ case hashString("HKQuantityTypeIdentifierWaistCircumference"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWAISTCIRCUMFERENCE;
322
+ case hashString("HKQuantityTypeIdentifierStepCount"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERSTEPCOUNT;
323
+ case hashString("HKQuantityTypeIdentifierDistanceWalkingRunning"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCEWALKINGRUNNING;
324
+ case hashString("HKQuantityTypeIdentifierDistanceCycling"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCECYCLING;
325
+ case hashString("HKQuantityTypeIdentifierDistanceWheelchair"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCEWHEELCHAIR;
326
+ case hashString("HKQuantityTypeIdentifierBasalEnergyBurned"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBASALENERGYBURNED;
327
+ case hashString("HKQuantityTypeIdentifierActiveEnergyBurned"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERACTIVEENERGYBURNED;
328
+ case hashString("HKQuantityTypeIdentifierFlightsClimbed"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERFLIGHTSCLIMBED;
329
+ case hashString("HKQuantityTypeIdentifierNikeFuel"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERNIKEFUEL;
330
+ case hashString("HKQuantityTypeIdentifierAppleExerciseTime"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERAPPLEEXERCISETIME;
331
+ case hashString("HKQuantityTypeIdentifierPushCount"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERPUSHCOUNT;
332
+ case hashString("HKQuantityTypeIdentifierDistanceSwimming"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCESWIMMING;
333
+ case hashString("HKQuantityTypeIdentifierSwimmingStrokeCount"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERSWIMMINGSTROKECOUNT;
334
+ case hashString("HKQuantityTypeIdentifierVO2Max"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERVO2MAX;
335
+ case hashString("HKQuantityTypeIdentifierDistanceDownhillSnowSports"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCEDOWNHILLSNOWSPORTS;
336
+ case hashString("HKQuantityTypeIdentifierAppleStandTime"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERAPPLESTANDTIME;
337
+ case hashString("HKQuantityTypeIdentifierHeartRate"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERHEARTRATE;
338
+ case hashString("HKQuantityTypeIdentifierBodyTemperature"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBODYTEMPERATURE;
339
+ case hashString("HKQuantityTypeIdentifierBasalBodyTemperature"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBASALBODYTEMPERATURE;
340
+ case hashString("HKQuantityTypeIdentifierBloodPressureSystolic"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBLOODPRESSURESYSTOLIC;
341
+ case hashString("HKQuantityTypeIdentifierBloodPressureDiastolic"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBLOODPRESSUREDIASTOLIC;
342
+ case hashString("HKQuantityTypeIdentifierRespiratoryRate"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRESPIRATORYRATE;
343
+ case hashString("HKQuantityTypeIdentifierRestingHeartRate"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRESTINGHEARTRATE;
344
+ case hashString("HKQuantityTypeIdentifierHeartRateVariabilitySDNN"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERHEARTRATEVARIABILITYSDNN;
345
+ case hashString("HKQuantityTypeIdentifierOxygenSaturation"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIEROXYGENSATURATION;
346
+ case hashString("HKQuantityTypeIdentifierPeripheralPerfusionIndex"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERPERIPHERALPERFUSIONINDEX;
347
+ case hashString("HKQuantityTypeIdentifierBloodGlucose"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBLOODGLUCOSE;
348
+ case hashString("HKQuantityTypeIdentifierNumberOfTimesFallen"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERNUMBEROFTIMESFALLEN;
349
+ case hashString("HKQuantityTypeIdentifierElectrodermalActivity"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERELECTRODERMALACTIVITY;
350
+ case hashString("HKQuantityTypeIdentifierInhalerUsage"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERINHALERUSAGE;
351
+ case hashString("HKQuantityTypeIdentifierInsulinDelivery"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERINSULINDELIVERY;
352
+ case hashString("HKQuantityTypeIdentifierBloodAlcoholContent"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBLOODALCOHOLCONTENT;
353
+ case hashString("HKQuantityTypeIdentifierForcedVitalCapacity"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERFORCEDVITALCAPACITY;
354
+ case hashString("HKQuantityTypeIdentifierForcedExpiratoryVolume1"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERFORCEDEXPIRATORYVOLUME1;
355
+ case hashString("HKQuantityTypeIdentifierPeakExpiratoryFlowRate"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERPEAKEXPIRATORYFLOWRATE;
356
+ case hashString("HKQuantityTypeIdentifierEnvironmentalAudioExposure"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERENVIRONMENTALAUDIOEXPOSURE;
357
+ case hashString("HKQuantityTypeIdentifierHeadphoneAudioExposure"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERHEADPHONEAUDIOEXPOSURE;
358
+ case hashString("HKQuantityTypeIdentifierDietaryFatTotal"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYFATTOTAL;
359
+ case hashString("HKQuantityTypeIdentifierDietaryFatPolyunsaturated"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYFATPOLYUNSATURATED;
360
+ case hashString("HKQuantityTypeIdentifierDietaryFatMonounsaturated"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYFATMONOUNSATURATED;
361
+ case hashString("HKQuantityTypeIdentifierDietaryFatSaturated"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYFATSATURATED;
362
+ case hashString("HKQuantityTypeIdentifierDietaryCholesterol"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCHOLESTEROL;
363
+ case hashString("HKQuantityTypeIdentifierDietarySodium"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYSODIUM;
364
+ case hashString("HKQuantityTypeIdentifierDietaryCarbohydrates"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCARBOHYDRATES;
365
+ case hashString("HKQuantityTypeIdentifierDietaryFiber"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYFIBER;
366
+ case hashString("HKQuantityTypeIdentifierDietarySugar"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYSUGAR;
367
+ case hashString("HKQuantityTypeIdentifierDietaryEnergyConsumed"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYENERGYCONSUMED;
368
+ case hashString("HKQuantityTypeIdentifierDietaryProtein"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYPROTEIN;
369
+ case hashString("HKQuantityTypeIdentifierDietaryVitaminA"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINA;
370
+ case hashString("HKQuantityTypeIdentifierDietaryVitaminB6"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINB6;
371
+ case hashString("HKQuantityTypeIdentifierDietaryVitaminB12"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINB12;
372
+ case hashString("HKQuantityTypeIdentifierDietaryVitaminC"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINC;
373
+ case hashString("HKQuantityTypeIdentifierDietaryVitaminD"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMIND;
374
+ case hashString("HKQuantityTypeIdentifierDietaryVitaminE"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINE;
375
+ case hashString("HKQuantityTypeIdentifierDietaryVitaminK"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINK;
376
+ case hashString("HKQuantityTypeIdentifierDietaryCalcium"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCALCIUM;
377
+ case hashString("HKQuantityTypeIdentifierDietaryIron"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYIRON;
378
+ case hashString("HKQuantityTypeIdentifierDietaryThiamin"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYTHIAMIN;
379
+ case hashString("HKQuantityTypeIdentifierDietaryRiboflavin"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYRIBOFLAVIN;
380
+ case hashString("HKQuantityTypeIdentifierDietaryNiacin"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYNIACIN;
381
+ case hashString("HKQuantityTypeIdentifierDietaryFolate"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYFOLATE;
382
+ case hashString("HKQuantityTypeIdentifierDietaryBiotin"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYBIOTIN;
383
+ case hashString("HKQuantityTypeIdentifierDietaryPantothenicAcid"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYPANTOTHENICACID;
384
+ case hashString("HKQuantityTypeIdentifierDietaryPhosphorus"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYPHOSPHORUS;
385
+ case hashString("HKQuantityTypeIdentifierDietaryIodine"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYIODINE;
386
+ case hashString("HKQuantityTypeIdentifierDietaryMagnesium"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYMAGNESIUM;
387
+ case hashString("HKQuantityTypeIdentifierDietaryZinc"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYZINC;
388
+ case hashString("HKQuantityTypeIdentifierDietarySelenium"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYSELENIUM;
389
+ case hashString("HKQuantityTypeIdentifierDietaryCopper"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCOPPER;
390
+ case hashString("HKQuantityTypeIdentifierDietaryManganese"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYMANGANESE;
391
+ case hashString("HKQuantityTypeIdentifierDietaryChromium"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCHROMIUM;
392
+ case hashString("HKQuantityTypeIdentifierDietaryMolybdenum"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYMOLYBDENUM;
393
+ case hashString("HKQuantityTypeIdentifierDietaryChloride"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCHLORIDE;
394
+ case hashString("HKQuantityTypeIdentifierDietaryPotassium"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYPOTASSIUM;
395
+ case hashString("HKQuantityTypeIdentifierDietaryCaffeine"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCAFFEINE;
396
+ case hashString("HKQuantityTypeIdentifierDietaryWater"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYWATER;
397
+ case hashString("HKQuantityTypeIdentifierSixMinuteWalkTestDistance"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERSIXMINUTEWALKTESTDISTANCE;
398
+ case hashString("HKQuantityTypeIdentifierWalkingSpeed"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWALKINGSPEED;
399
+ case hashString("HKQuantityTypeIdentifierWalkingStepLength"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWALKINGSTEPLENGTH;
400
+ case hashString("HKQuantityTypeIdentifierWalkingAsymmetryPercentage"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWALKINGASYMMETRYPERCENTAGE;
401
+ case hashString("HKQuantityTypeIdentifierWalkingDoubleSupportPercentage"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWALKINGDOUBLESUPPORTPERCENTAGE;
402
+ case hashString("HKQuantityTypeIdentifierStairAscentSpeed"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERSTAIRASCENTSPEED;
403
+ case hashString("HKQuantityTypeIdentifierStairDescentSpeed"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERSTAIRDESCENTSPEED;
404
+ case hashString("HKQuantityTypeIdentifierUVExposure"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERUVEXPOSURE;
405
+ case hashString("HKQuantityTypeIdentifierAppleMoveTime"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERAPPLEMOVETIME;
406
+ case hashString("HKQuantityTypeIdentifierAppleWalkingSteadiness"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERAPPLEWALKINGSTEADINESS;
407
+ case hashString("HKQuantityTypeIdentifierNumberOfAlcoholicBeverages"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERNUMBEROFALCOHOLICBEVERAGES;
408
+ case hashString("HKQuantityTypeIdentifierAtrialFibrillationBurden"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERATRIALFIBRILLATIONBURDEN;
409
+ case hashString("HKQuantityTypeIdentifierUnderwaterDepth"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERUNDERWATERDEPTH;
410
+ case hashString("HKQuantityTypeIdentifierWaterTemperature"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWATERTEMPERATURE;
411
+ case hashString("HKQuantityTypeIdentifierAppleSleepingWristTemperature"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERAPPLESLEEPINGWRISTTEMPERATURE;
412
+ case hashString("HKQuantityTypeIdentifierTimeInDaylight"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERTIMEINDAYLIGHT;
413
+ case hashString("HKQuantityTypeIdentifierPhysicalEffort"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERPHYSICALEFFORT;
414
+ case hashString("HKQuantityTypeIdentifierCyclingSpeed"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERCYCLINGSPEED;
415
+ case hashString("HKQuantityTypeIdentifierCyclingPower"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERCYCLINGPOWER;
416
+ case hashString("HKQuantityTypeIdentifierCyclingFunctionalThresholdPower"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERCYCLINGFUNCTIONALTHRESHOLDPOWER;
417
+ case hashString("HKQuantityTypeIdentifierCyclingCadence"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERCYCLINGCADENCE;
418
+ case hashString("HKQuantityTypeIdentifierEnvironmentalSoundReduction"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERENVIRONMENTALSOUNDREDUCTION;
419
+ case hashString("HKQuantityTypeIdentifierHeartRateRecoveryOneMinute"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERHEARTRATERECOVERYONEMINUTE;
420
+ case hashString("HKQuantityTypeIdentifierRunningGroundContactTime"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRUNNINGGROUNDCONTACTTIME;
421
+ case hashString("HKQuantityTypeIdentifierRunningStrideLength"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRUNNINGSTRIDELENGTH;
422
+ case hashString("HKQuantityTypeIdentifierRunningPower"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRUNNINGPOWER;
423
+ case hashString("HKQuantityTypeIdentifierRunningVerticalOscillation"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRUNNINGVERTICALOSCILLATION;
424
+ case hashString("HKQuantityTypeIdentifierRunningSpeed"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRUNNINGSPEED;
425
+ case hashString("HKQuantityTypeIdentifierCrossCountrySkiingSpeed"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERCROSSCOUNTRYSKIINGSPEED;
426
+ case hashString("HKQuantityTypeIdentifierDistanceCrossCountrySkiing"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCECROSSCOUNTRYSKIING;
427
+ case hashString("HKQuantityTypeIdentifierDistancePaddleSports"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCEPADDLESPORTS;
428
+ case hashString("HKQuantityTypeIdentifierDistanceRowing"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCEROWING;
429
+ case hashString("HKQuantityTypeIdentifierDistanceSkatingSports"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCESKATINGSPORTS;
430
+ case hashString("HKQuantityTypeIdentifierEstimatedWorkoutEffortScore"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERESTIMATEDWORKOUTEFFORTSCORE;
431
+ case hashString("HKQuantityTypeIdentifierPaddleSportsSpeed"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERPADDLESPORTSSPEED;
432
+ case hashString("HKQuantityTypeIdentifierRowingSpeed"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERROWINGSPEED;
433
+ case hashString("HKQuantityTypeIdentifierWorkoutEffortScore"): return ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWORKOUTEFFORTSCORE;
434
+ case hashString("HKStateOfMindTypeIdentifier"): return ObjectTypeIdentifier::HKSTATEOFMINDTYPEIDENTIFIER;
435
+ case hashString("HKAudiogramSampleType"): return ObjectTypeIdentifier::HKAUDIOGRAMSAMPLETYPE;
436
+ case hashString("HKDataTypeIdentifierHeartbeatSeries"): return ObjectTypeIdentifier::HKDATATYPEIDENTIFIERHEARTBEATSERIES;
437
+ case hashString("HKWorkoutRouteTypeIdentifier"): return ObjectTypeIdentifier::HKWORKOUTROUTETYPEIDENTIFIER;
438
+ case hashString("HKWorkoutTypeIdentifier"): return ObjectTypeIdentifier::HKWORKOUTTYPEIDENTIFIER;
439
+ case hashString("ActivitySummaryTypeIdentifier"): return ObjectTypeIdentifier::ACTIVITYSUMMARYTYPEIDENTIFIER;
440
+ default: [[unlikely]]
441
+ throw std::invalid_argument("Cannot convert \"" + unionValue + "\" to enum ObjectTypeIdentifier - invalid value!");
442
+ }
443
+ }
444
+ static inline jsi::Value toJSI(jsi::Runtime& runtime, ObjectTypeIdentifier arg) {
445
+ switch (arg) {
446
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERAPPLESTANDHOUR: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierAppleStandHour");
447
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERHIGHHEARTRATEEVENT: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierHighHeartRateEvent");
448
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERLOWHEARTRATEEVENT: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierLowHeartRateEvent");
449
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERHEADPHONEAUDIOEXPOSUREEVENT: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierHeadphoneAudioExposureEvent");
450
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERSLEEPANALYSIS: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierSleepAnalysis");
451
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERCERVICALMUCUSQUALITY: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierCervicalMucusQuality");
452
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIEROVULATIONTESTRESULT: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierOvulationTestResult");
453
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERMENSTRUALFLOW: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierMenstrualFlow");
454
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERINTERMENSTRUALBLEEDING: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierIntermenstrualBleeding");
455
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERSEXUALACTIVITY: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierSexualActivity");
456
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERMINDFULSESSION: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierMindfulSession");
457
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERIRREGULARHEARTRHYTHMEVENT: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierIrregularHeartRhythmEvent");
458
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERAUDIOEXPOSUREEVENT: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierAudioExposureEvent");
459
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERTOOTHBRUSHINGEVENT: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierToothbrushingEvent");
460
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERLOWCARDIOFITNESSEVENT: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierLowCardioFitnessEvent");
461
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERCONTRACEPTIVE: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierContraceptive");
462
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERLACTATION: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierLactation");
463
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERPREGNANCY: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierPregnancy");
464
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERPREGNANCYTESTRESULT: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierPregnancyTestResult");
465
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERPROGESTERONETESTRESULT: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierProgesteroneTestResult");
466
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERENVIRONMENTALAUDIOEXPOSUREEVENT: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierEnvironmentalAudioExposureEvent");
467
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERAPPLEWALKINGSTEADINESSEVENT: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierAppleWalkingSteadinessEvent");
468
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERHANDWASHINGEVENT: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierHandwashingEvent");
469
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERABDOMINALCRAMPS: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierAbdominalCramps");
470
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERACNE: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierAcne");
471
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERAPPETITECHANGES: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierAppetiteChanges");
472
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERBLADDERINCONTINENCE: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierBladderIncontinence");
473
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERBLOATING: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierBloating");
474
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERBREASTPAIN: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierBreastPain");
475
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERCHESTTIGHTNESSORPAIN: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierChestTightnessOrPain");
476
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERCHILLS: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierChills");
477
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERCONSTIPATION: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierConstipation");
478
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERCOUGHING: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierCoughing");
479
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERDIARRHEA: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierDiarrhea");
480
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERDIZZINESS: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierDizziness");
481
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERDRYSKIN: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierDrySkin");
482
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERFAINTING: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierFainting");
483
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERFATIGUE: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierFatigue");
484
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERFEVER: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierFever");
485
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERGENERALIZEDBODYACHE: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierGeneralizedBodyAche");
486
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERHAIRLOSS: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierHairLoss");
487
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERHEADACHE: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierHeadache");
488
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERHEARTBURN: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierHeartburn");
489
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERHOTFLASHES: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierHotFlashes");
490
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERLOSSOFSMELL: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierLossOfSmell");
491
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERLOSSOFTASTE: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierLossOfTaste");
492
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERLOWERBACKPAIN: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierLowerBackPain");
493
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERMEMORYLAPSE: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierMemoryLapse");
494
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERMOODCHANGES: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierMoodChanges");
495
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERNAUSEA: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierNausea");
496
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERNIGHTSWEATS: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierNightSweats");
497
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERPELVICPAIN: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierPelvicPain");
498
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERRAPIDPOUNDINGORFLUTTERINGHEARTBEAT: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierRapidPoundingOrFlutteringHeartbeat");
499
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERRUNNYNOSE: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierRunnyNose");
500
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERSHORTNESSOFBREATH: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierShortnessOfBreath");
501
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERSINUSCONGESTION: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierSinusCongestion");
502
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERSKIPPEDHEARTBEAT: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierSkippedHeartbeat");
503
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERSLEEPCHANGES: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierSleepChanges");
504
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERSORETHROAT: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierSoreThroat");
505
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERVAGINALDRYNESS: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierVaginalDryness");
506
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERVOMITING: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierVomiting");
507
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERWHEEZING: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierWheezing");
508
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERBLEEDINGAFTERPREGNANCY: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierBleedingAfterPregnancy");
509
+ case ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERBLEEDINGDURINGPREGNANCY: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierBleedingDuringPregnancy");
510
+ case ObjectTypeIdentifier::HKCHARACTERISTICTYPEIDENTIFIERFITZPATRICKSKINTYPE: return JSIConverter<std::string>::toJSI(runtime, "HKCharacteristicTypeIdentifierFitzpatrickSkinType");
511
+ case ObjectTypeIdentifier::HKCHARACTERISTICTYPEIDENTIFIERBIOLOGICALSEX: return JSIConverter<std::string>::toJSI(runtime, "HKCharacteristicTypeIdentifierBiologicalSex");
512
+ case ObjectTypeIdentifier::HKCHARACTERISTICTYPEIDENTIFIERBLOODTYPE: return JSIConverter<std::string>::toJSI(runtime, "HKCharacteristicTypeIdentifierBloodType");
513
+ case ObjectTypeIdentifier::HKCHARACTERISTICTYPEIDENTIFIERDATEOFBIRTH: return JSIConverter<std::string>::toJSI(runtime, "HKCharacteristicTypeIdentifierDateOfBirth");
514
+ case ObjectTypeIdentifier::HKCHARACTERISTICTYPEIDENTIFIERWHEELCHAIRUSE: return JSIConverter<std::string>::toJSI(runtime, "HKCharacteristicTypeIdentifierWheelchairUse");
515
+ case ObjectTypeIdentifier::HKCHARACTERISTICTYPEIDENTIFIERACTIVITYMOVEMODE: return JSIConverter<std::string>::toJSI(runtime, "HKCharacteristicTypeIdentifierActivityMoveMode");
516
+ case ObjectTypeIdentifier::HKCORRELATIONTYPEIDENTIFIERBLOODPRESSURE: return JSIConverter<std::string>::toJSI(runtime, "HKCorrelationTypeIdentifierBloodPressure");
517
+ case ObjectTypeIdentifier::HKCORRELATIONTYPEIDENTIFIERFOOD: return JSIConverter<std::string>::toJSI(runtime, "HKCorrelationTypeIdentifierFood");
518
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWALKINGHEARTRATEAVERAGE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierWalkingHeartRateAverage");
519
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBODYMASSINDEX: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBodyMassIndex");
520
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBODYFATPERCENTAGE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBodyFatPercentage");
521
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERHEIGHT: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierHeight");
522
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBODYMASS: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBodyMass");
523
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERLEANBODYMASS: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierLeanBodyMass");
524
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWAISTCIRCUMFERENCE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierWaistCircumference");
525
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERSTEPCOUNT: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierStepCount");
526
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCEWALKINGRUNNING: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDistanceWalkingRunning");
527
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCECYCLING: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDistanceCycling");
528
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCEWHEELCHAIR: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDistanceWheelchair");
529
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBASALENERGYBURNED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBasalEnergyBurned");
530
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERACTIVEENERGYBURNED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierActiveEnergyBurned");
531
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERFLIGHTSCLIMBED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierFlightsClimbed");
532
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERNIKEFUEL: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierNikeFuel");
533
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERAPPLEEXERCISETIME: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierAppleExerciseTime");
534
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERPUSHCOUNT: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierPushCount");
535
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCESWIMMING: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDistanceSwimming");
536
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERSWIMMINGSTROKECOUNT: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierSwimmingStrokeCount");
537
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERVO2MAX: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierVO2Max");
538
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCEDOWNHILLSNOWSPORTS: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDistanceDownhillSnowSports");
539
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERAPPLESTANDTIME: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierAppleStandTime");
540
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERHEARTRATE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierHeartRate");
541
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBODYTEMPERATURE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBodyTemperature");
542
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBASALBODYTEMPERATURE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBasalBodyTemperature");
543
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBLOODPRESSURESYSTOLIC: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBloodPressureSystolic");
544
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBLOODPRESSUREDIASTOLIC: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBloodPressureDiastolic");
545
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRESPIRATORYRATE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierRespiratoryRate");
546
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRESTINGHEARTRATE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierRestingHeartRate");
547
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERHEARTRATEVARIABILITYSDNN: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierHeartRateVariabilitySDNN");
548
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIEROXYGENSATURATION: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierOxygenSaturation");
549
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERPERIPHERALPERFUSIONINDEX: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierPeripheralPerfusionIndex");
550
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBLOODGLUCOSE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBloodGlucose");
551
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERNUMBEROFTIMESFALLEN: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierNumberOfTimesFallen");
552
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERELECTRODERMALACTIVITY: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierElectrodermalActivity");
553
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERINHALERUSAGE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierInhalerUsage");
554
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERINSULINDELIVERY: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierInsulinDelivery");
555
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBLOODALCOHOLCONTENT: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBloodAlcoholContent");
556
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERFORCEDVITALCAPACITY: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierForcedVitalCapacity");
557
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERFORCEDEXPIRATORYVOLUME1: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierForcedExpiratoryVolume1");
558
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERPEAKEXPIRATORYFLOWRATE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierPeakExpiratoryFlowRate");
559
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERENVIRONMENTALAUDIOEXPOSURE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierEnvironmentalAudioExposure");
560
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERHEADPHONEAUDIOEXPOSURE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierHeadphoneAudioExposure");
561
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYFATTOTAL: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryFatTotal");
562
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYFATPOLYUNSATURATED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryFatPolyunsaturated");
563
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYFATMONOUNSATURATED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryFatMonounsaturated");
564
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYFATSATURATED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryFatSaturated");
565
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCHOLESTEROL: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryCholesterol");
566
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYSODIUM: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietarySodium");
567
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCARBOHYDRATES: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryCarbohydrates");
568
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYFIBER: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryFiber");
569
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYSUGAR: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietarySugar");
570
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYENERGYCONSUMED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryEnergyConsumed");
571
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYPROTEIN: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryProtein");
572
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINA: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryVitaminA");
573
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINB6: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryVitaminB6");
574
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINB12: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryVitaminB12");
575
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINC: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryVitaminC");
576
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMIND: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryVitaminD");
577
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryVitaminE");
578
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINK: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryVitaminK");
579
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCALCIUM: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryCalcium");
580
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYIRON: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryIron");
581
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYTHIAMIN: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryThiamin");
582
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYRIBOFLAVIN: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryRiboflavin");
583
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYNIACIN: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryNiacin");
584
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYFOLATE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryFolate");
585
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYBIOTIN: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryBiotin");
586
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYPANTOTHENICACID: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryPantothenicAcid");
587
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYPHOSPHORUS: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryPhosphorus");
588
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYIODINE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryIodine");
589
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYMAGNESIUM: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryMagnesium");
590
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYZINC: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryZinc");
591
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYSELENIUM: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietarySelenium");
592
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCOPPER: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryCopper");
593
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYMANGANESE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryManganese");
594
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCHROMIUM: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryChromium");
595
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYMOLYBDENUM: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryMolybdenum");
596
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCHLORIDE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryChloride");
597
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYPOTASSIUM: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryPotassium");
598
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCAFFEINE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryCaffeine");
599
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYWATER: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryWater");
600
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERSIXMINUTEWALKTESTDISTANCE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierSixMinuteWalkTestDistance");
601
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWALKINGSPEED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierWalkingSpeed");
602
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWALKINGSTEPLENGTH: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierWalkingStepLength");
603
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWALKINGASYMMETRYPERCENTAGE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierWalkingAsymmetryPercentage");
604
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWALKINGDOUBLESUPPORTPERCENTAGE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierWalkingDoubleSupportPercentage");
605
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERSTAIRASCENTSPEED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierStairAscentSpeed");
606
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERSTAIRDESCENTSPEED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierStairDescentSpeed");
607
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERUVEXPOSURE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierUVExposure");
608
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERAPPLEMOVETIME: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierAppleMoveTime");
609
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERAPPLEWALKINGSTEADINESS: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierAppleWalkingSteadiness");
610
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERNUMBEROFALCOHOLICBEVERAGES: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierNumberOfAlcoholicBeverages");
611
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERATRIALFIBRILLATIONBURDEN: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierAtrialFibrillationBurden");
612
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERUNDERWATERDEPTH: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierUnderwaterDepth");
613
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWATERTEMPERATURE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierWaterTemperature");
614
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERAPPLESLEEPINGWRISTTEMPERATURE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierAppleSleepingWristTemperature");
615
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERTIMEINDAYLIGHT: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierTimeInDaylight");
616
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERPHYSICALEFFORT: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierPhysicalEffort");
617
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERCYCLINGSPEED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierCyclingSpeed");
618
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERCYCLINGPOWER: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierCyclingPower");
619
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERCYCLINGFUNCTIONALTHRESHOLDPOWER: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierCyclingFunctionalThresholdPower");
620
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERCYCLINGCADENCE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierCyclingCadence");
621
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERENVIRONMENTALSOUNDREDUCTION: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierEnvironmentalSoundReduction");
622
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERHEARTRATERECOVERYONEMINUTE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierHeartRateRecoveryOneMinute");
623
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRUNNINGGROUNDCONTACTTIME: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierRunningGroundContactTime");
624
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRUNNINGSTRIDELENGTH: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierRunningStrideLength");
625
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRUNNINGPOWER: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierRunningPower");
626
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRUNNINGVERTICALOSCILLATION: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierRunningVerticalOscillation");
627
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRUNNINGSPEED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierRunningSpeed");
628
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERCROSSCOUNTRYSKIINGSPEED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierCrossCountrySkiingSpeed");
629
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCECROSSCOUNTRYSKIING: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDistanceCrossCountrySkiing");
630
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCEPADDLESPORTS: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDistancePaddleSports");
631
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCEROWING: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDistanceRowing");
632
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCESKATINGSPORTS: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDistanceSkatingSports");
633
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERESTIMATEDWORKOUTEFFORTSCORE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierEstimatedWorkoutEffortScore");
634
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERPADDLESPORTSSPEED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierPaddleSportsSpeed");
635
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERROWINGSPEED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierRowingSpeed");
636
+ case ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWORKOUTEFFORTSCORE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierWorkoutEffortScore");
637
+ case ObjectTypeIdentifier::HKSTATEOFMINDTYPEIDENTIFIER: return JSIConverter<std::string>::toJSI(runtime, "HKStateOfMindTypeIdentifier");
638
+ case ObjectTypeIdentifier::HKAUDIOGRAMSAMPLETYPE: return JSIConverter<std::string>::toJSI(runtime, "HKAudiogramSampleType");
639
+ case ObjectTypeIdentifier::HKDATATYPEIDENTIFIERHEARTBEATSERIES: return JSIConverter<std::string>::toJSI(runtime, "HKDataTypeIdentifierHeartbeatSeries");
640
+ case ObjectTypeIdentifier::HKWORKOUTROUTETYPEIDENTIFIER: return JSIConverter<std::string>::toJSI(runtime, "HKWorkoutRouteTypeIdentifier");
641
+ case ObjectTypeIdentifier::HKWORKOUTTYPEIDENTIFIER: return JSIConverter<std::string>::toJSI(runtime, "HKWorkoutTypeIdentifier");
642
+ case ObjectTypeIdentifier::ACTIVITYSUMMARYTYPEIDENTIFIER: return JSIConverter<std::string>::toJSI(runtime, "ActivitySummaryTypeIdentifier");
643
+ default: [[unlikely]]
644
+ throw std::invalid_argument("Cannot convert ObjectTypeIdentifier to JS - invalid value: "
645
+ + std::to_string(static_cast<int>(arg)) + "!");
646
+ }
647
+ }
648
+ static inline bool canConvert(jsi::Runtime& runtime, const jsi::Value& value) {
649
+ if (!value.isString()) {
650
+ return false;
651
+ }
652
+ std::string unionValue = JSIConverter<std::string>::fromJSI(runtime, value);
653
+ switch (hashString(unionValue.c_str(), unionValue.size())) {
654
+ case hashString("HKCategoryTypeIdentifierAppleStandHour"):
655
+ case hashString("HKCategoryTypeIdentifierHighHeartRateEvent"):
656
+ case hashString("HKCategoryTypeIdentifierLowHeartRateEvent"):
657
+ case hashString("HKCategoryTypeIdentifierHeadphoneAudioExposureEvent"):
658
+ case hashString("HKCategoryTypeIdentifierSleepAnalysis"):
659
+ case hashString("HKCategoryTypeIdentifierCervicalMucusQuality"):
660
+ case hashString("HKCategoryTypeIdentifierOvulationTestResult"):
661
+ case hashString("HKCategoryTypeIdentifierMenstrualFlow"):
662
+ case hashString("HKCategoryTypeIdentifierIntermenstrualBleeding"):
663
+ case hashString("HKCategoryTypeIdentifierSexualActivity"):
664
+ case hashString("HKCategoryTypeIdentifierMindfulSession"):
665
+ case hashString("HKCategoryTypeIdentifierIrregularHeartRhythmEvent"):
666
+ case hashString("HKCategoryTypeIdentifierAudioExposureEvent"):
667
+ case hashString("HKCategoryTypeIdentifierToothbrushingEvent"):
668
+ case hashString("HKCategoryTypeIdentifierLowCardioFitnessEvent"):
669
+ case hashString("HKCategoryTypeIdentifierContraceptive"):
670
+ case hashString("HKCategoryTypeIdentifierLactation"):
671
+ case hashString("HKCategoryTypeIdentifierPregnancy"):
672
+ case hashString("HKCategoryTypeIdentifierPregnancyTestResult"):
673
+ case hashString("HKCategoryTypeIdentifierProgesteroneTestResult"):
674
+ case hashString("HKCategoryTypeIdentifierEnvironmentalAudioExposureEvent"):
675
+ case hashString("HKCategoryTypeIdentifierAppleWalkingSteadinessEvent"):
676
+ case hashString("HKCategoryTypeIdentifierHandwashingEvent"):
677
+ case hashString("HKCategoryTypeIdentifierAbdominalCramps"):
678
+ case hashString("HKCategoryTypeIdentifierAcne"):
679
+ case hashString("HKCategoryTypeIdentifierAppetiteChanges"):
680
+ case hashString("HKCategoryTypeIdentifierBladderIncontinence"):
681
+ case hashString("HKCategoryTypeIdentifierBloating"):
682
+ case hashString("HKCategoryTypeIdentifierBreastPain"):
683
+ case hashString("HKCategoryTypeIdentifierChestTightnessOrPain"):
684
+ case hashString("HKCategoryTypeIdentifierChills"):
685
+ case hashString("HKCategoryTypeIdentifierConstipation"):
686
+ case hashString("HKCategoryTypeIdentifierCoughing"):
687
+ case hashString("HKCategoryTypeIdentifierDiarrhea"):
688
+ case hashString("HKCategoryTypeIdentifierDizziness"):
689
+ case hashString("HKCategoryTypeIdentifierDrySkin"):
690
+ case hashString("HKCategoryTypeIdentifierFainting"):
691
+ case hashString("HKCategoryTypeIdentifierFatigue"):
692
+ case hashString("HKCategoryTypeIdentifierFever"):
693
+ case hashString("HKCategoryTypeIdentifierGeneralizedBodyAche"):
694
+ case hashString("HKCategoryTypeIdentifierHairLoss"):
695
+ case hashString("HKCategoryTypeIdentifierHeadache"):
696
+ case hashString("HKCategoryTypeIdentifierHeartburn"):
697
+ case hashString("HKCategoryTypeIdentifierHotFlashes"):
698
+ case hashString("HKCategoryTypeIdentifierLossOfSmell"):
699
+ case hashString("HKCategoryTypeIdentifierLossOfTaste"):
700
+ case hashString("HKCategoryTypeIdentifierLowerBackPain"):
701
+ case hashString("HKCategoryTypeIdentifierMemoryLapse"):
702
+ case hashString("HKCategoryTypeIdentifierMoodChanges"):
703
+ case hashString("HKCategoryTypeIdentifierNausea"):
704
+ case hashString("HKCategoryTypeIdentifierNightSweats"):
705
+ case hashString("HKCategoryTypeIdentifierPelvicPain"):
706
+ case hashString("HKCategoryTypeIdentifierRapidPoundingOrFlutteringHeartbeat"):
707
+ case hashString("HKCategoryTypeIdentifierRunnyNose"):
708
+ case hashString("HKCategoryTypeIdentifierShortnessOfBreath"):
709
+ case hashString("HKCategoryTypeIdentifierSinusCongestion"):
710
+ case hashString("HKCategoryTypeIdentifierSkippedHeartbeat"):
711
+ case hashString("HKCategoryTypeIdentifierSleepChanges"):
712
+ case hashString("HKCategoryTypeIdentifierSoreThroat"):
713
+ case hashString("HKCategoryTypeIdentifierVaginalDryness"):
714
+ case hashString("HKCategoryTypeIdentifierVomiting"):
715
+ case hashString("HKCategoryTypeIdentifierWheezing"):
716
+ case hashString("HKCategoryTypeIdentifierBleedingAfterPregnancy"):
717
+ case hashString("HKCategoryTypeIdentifierBleedingDuringPregnancy"):
718
+ case hashString("HKCharacteristicTypeIdentifierFitzpatrickSkinType"):
719
+ case hashString("HKCharacteristicTypeIdentifierBiologicalSex"):
720
+ case hashString("HKCharacteristicTypeIdentifierBloodType"):
721
+ case hashString("HKCharacteristicTypeIdentifierDateOfBirth"):
722
+ case hashString("HKCharacteristicTypeIdentifierWheelchairUse"):
723
+ case hashString("HKCharacteristicTypeIdentifierActivityMoveMode"):
724
+ case hashString("HKCorrelationTypeIdentifierBloodPressure"):
725
+ case hashString("HKCorrelationTypeIdentifierFood"):
726
+ case hashString("HKQuantityTypeIdentifierWalkingHeartRateAverage"):
727
+ case hashString("HKQuantityTypeIdentifierBodyMassIndex"):
728
+ case hashString("HKQuantityTypeIdentifierBodyFatPercentage"):
729
+ case hashString("HKQuantityTypeIdentifierHeight"):
730
+ case hashString("HKQuantityTypeIdentifierBodyMass"):
731
+ case hashString("HKQuantityTypeIdentifierLeanBodyMass"):
732
+ case hashString("HKQuantityTypeIdentifierWaistCircumference"):
733
+ case hashString("HKQuantityTypeIdentifierStepCount"):
734
+ case hashString("HKQuantityTypeIdentifierDistanceWalkingRunning"):
735
+ case hashString("HKQuantityTypeIdentifierDistanceCycling"):
736
+ case hashString("HKQuantityTypeIdentifierDistanceWheelchair"):
737
+ case hashString("HKQuantityTypeIdentifierBasalEnergyBurned"):
738
+ case hashString("HKQuantityTypeIdentifierActiveEnergyBurned"):
739
+ case hashString("HKQuantityTypeIdentifierFlightsClimbed"):
740
+ case hashString("HKQuantityTypeIdentifierNikeFuel"):
741
+ case hashString("HKQuantityTypeIdentifierAppleExerciseTime"):
742
+ case hashString("HKQuantityTypeIdentifierPushCount"):
743
+ case hashString("HKQuantityTypeIdentifierDistanceSwimming"):
744
+ case hashString("HKQuantityTypeIdentifierSwimmingStrokeCount"):
745
+ case hashString("HKQuantityTypeIdentifierVO2Max"):
746
+ case hashString("HKQuantityTypeIdentifierDistanceDownhillSnowSports"):
747
+ case hashString("HKQuantityTypeIdentifierAppleStandTime"):
748
+ case hashString("HKQuantityTypeIdentifierHeartRate"):
749
+ case hashString("HKQuantityTypeIdentifierBodyTemperature"):
750
+ case hashString("HKQuantityTypeIdentifierBasalBodyTemperature"):
751
+ case hashString("HKQuantityTypeIdentifierBloodPressureSystolic"):
752
+ case hashString("HKQuantityTypeIdentifierBloodPressureDiastolic"):
753
+ case hashString("HKQuantityTypeIdentifierRespiratoryRate"):
754
+ case hashString("HKQuantityTypeIdentifierRestingHeartRate"):
755
+ case hashString("HKQuantityTypeIdentifierHeartRateVariabilitySDNN"):
756
+ case hashString("HKQuantityTypeIdentifierOxygenSaturation"):
757
+ case hashString("HKQuantityTypeIdentifierPeripheralPerfusionIndex"):
758
+ case hashString("HKQuantityTypeIdentifierBloodGlucose"):
759
+ case hashString("HKQuantityTypeIdentifierNumberOfTimesFallen"):
760
+ case hashString("HKQuantityTypeIdentifierElectrodermalActivity"):
761
+ case hashString("HKQuantityTypeIdentifierInhalerUsage"):
762
+ case hashString("HKQuantityTypeIdentifierInsulinDelivery"):
763
+ case hashString("HKQuantityTypeIdentifierBloodAlcoholContent"):
764
+ case hashString("HKQuantityTypeIdentifierForcedVitalCapacity"):
765
+ case hashString("HKQuantityTypeIdentifierForcedExpiratoryVolume1"):
766
+ case hashString("HKQuantityTypeIdentifierPeakExpiratoryFlowRate"):
767
+ case hashString("HKQuantityTypeIdentifierEnvironmentalAudioExposure"):
768
+ case hashString("HKQuantityTypeIdentifierHeadphoneAudioExposure"):
769
+ case hashString("HKQuantityTypeIdentifierDietaryFatTotal"):
770
+ case hashString("HKQuantityTypeIdentifierDietaryFatPolyunsaturated"):
771
+ case hashString("HKQuantityTypeIdentifierDietaryFatMonounsaturated"):
772
+ case hashString("HKQuantityTypeIdentifierDietaryFatSaturated"):
773
+ case hashString("HKQuantityTypeIdentifierDietaryCholesterol"):
774
+ case hashString("HKQuantityTypeIdentifierDietarySodium"):
775
+ case hashString("HKQuantityTypeIdentifierDietaryCarbohydrates"):
776
+ case hashString("HKQuantityTypeIdentifierDietaryFiber"):
777
+ case hashString("HKQuantityTypeIdentifierDietarySugar"):
778
+ case hashString("HKQuantityTypeIdentifierDietaryEnergyConsumed"):
779
+ case hashString("HKQuantityTypeIdentifierDietaryProtein"):
780
+ case hashString("HKQuantityTypeIdentifierDietaryVitaminA"):
781
+ case hashString("HKQuantityTypeIdentifierDietaryVitaminB6"):
782
+ case hashString("HKQuantityTypeIdentifierDietaryVitaminB12"):
783
+ case hashString("HKQuantityTypeIdentifierDietaryVitaminC"):
784
+ case hashString("HKQuantityTypeIdentifierDietaryVitaminD"):
785
+ case hashString("HKQuantityTypeIdentifierDietaryVitaminE"):
786
+ case hashString("HKQuantityTypeIdentifierDietaryVitaminK"):
787
+ case hashString("HKQuantityTypeIdentifierDietaryCalcium"):
788
+ case hashString("HKQuantityTypeIdentifierDietaryIron"):
789
+ case hashString("HKQuantityTypeIdentifierDietaryThiamin"):
790
+ case hashString("HKQuantityTypeIdentifierDietaryRiboflavin"):
791
+ case hashString("HKQuantityTypeIdentifierDietaryNiacin"):
792
+ case hashString("HKQuantityTypeIdentifierDietaryFolate"):
793
+ case hashString("HKQuantityTypeIdentifierDietaryBiotin"):
794
+ case hashString("HKQuantityTypeIdentifierDietaryPantothenicAcid"):
795
+ case hashString("HKQuantityTypeIdentifierDietaryPhosphorus"):
796
+ case hashString("HKQuantityTypeIdentifierDietaryIodine"):
797
+ case hashString("HKQuantityTypeIdentifierDietaryMagnesium"):
798
+ case hashString("HKQuantityTypeIdentifierDietaryZinc"):
799
+ case hashString("HKQuantityTypeIdentifierDietarySelenium"):
800
+ case hashString("HKQuantityTypeIdentifierDietaryCopper"):
801
+ case hashString("HKQuantityTypeIdentifierDietaryManganese"):
802
+ case hashString("HKQuantityTypeIdentifierDietaryChromium"):
803
+ case hashString("HKQuantityTypeIdentifierDietaryMolybdenum"):
804
+ case hashString("HKQuantityTypeIdentifierDietaryChloride"):
805
+ case hashString("HKQuantityTypeIdentifierDietaryPotassium"):
806
+ case hashString("HKQuantityTypeIdentifierDietaryCaffeine"):
807
+ case hashString("HKQuantityTypeIdentifierDietaryWater"):
808
+ case hashString("HKQuantityTypeIdentifierSixMinuteWalkTestDistance"):
809
+ case hashString("HKQuantityTypeIdentifierWalkingSpeed"):
810
+ case hashString("HKQuantityTypeIdentifierWalkingStepLength"):
811
+ case hashString("HKQuantityTypeIdentifierWalkingAsymmetryPercentage"):
812
+ case hashString("HKQuantityTypeIdentifierWalkingDoubleSupportPercentage"):
813
+ case hashString("HKQuantityTypeIdentifierStairAscentSpeed"):
814
+ case hashString("HKQuantityTypeIdentifierStairDescentSpeed"):
815
+ case hashString("HKQuantityTypeIdentifierUVExposure"):
816
+ case hashString("HKQuantityTypeIdentifierAppleMoveTime"):
817
+ case hashString("HKQuantityTypeIdentifierAppleWalkingSteadiness"):
818
+ case hashString("HKQuantityTypeIdentifierNumberOfAlcoholicBeverages"):
819
+ case hashString("HKQuantityTypeIdentifierAtrialFibrillationBurden"):
820
+ case hashString("HKQuantityTypeIdentifierUnderwaterDepth"):
821
+ case hashString("HKQuantityTypeIdentifierWaterTemperature"):
822
+ case hashString("HKQuantityTypeIdentifierAppleSleepingWristTemperature"):
823
+ case hashString("HKQuantityTypeIdentifierTimeInDaylight"):
824
+ case hashString("HKQuantityTypeIdentifierPhysicalEffort"):
825
+ case hashString("HKQuantityTypeIdentifierCyclingSpeed"):
826
+ case hashString("HKQuantityTypeIdentifierCyclingPower"):
827
+ case hashString("HKQuantityTypeIdentifierCyclingFunctionalThresholdPower"):
828
+ case hashString("HKQuantityTypeIdentifierCyclingCadence"):
829
+ case hashString("HKQuantityTypeIdentifierEnvironmentalSoundReduction"):
830
+ case hashString("HKQuantityTypeIdentifierHeartRateRecoveryOneMinute"):
831
+ case hashString("HKQuantityTypeIdentifierRunningGroundContactTime"):
832
+ case hashString("HKQuantityTypeIdentifierRunningStrideLength"):
833
+ case hashString("HKQuantityTypeIdentifierRunningPower"):
834
+ case hashString("HKQuantityTypeIdentifierRunningVerticalOscillation"):
835
+ case hashString("HKQuantityTypeIdentifierRunningSpeed"):
836
+ case hashString("HKQuantityTypeIdentifierCrossCountrySkiingSpeed"):
837
+ case hashString("HKQuantityTypeIdentifierDistanceCrossCountrySkiing"):
838
+ case hashString("HKQuantityTypeIdentifierDistancePaddleSports"):
839
+ case hashString("HKQuantityTypeIdentifierDistanceRowing"):
840
+ case hashString("HKQuantityTypeIdentifierDistanceSkatingSports"):
841
+ case hashString("HKQuantityTypeIdentifierEstimatedWorkoutEffortScore"):
842
+ case hashString("HKQuantityTypeIdentifierPaddleSportsSpeed"):
843
+ case hashString("HKQuantityTypeIdentifierRowingSpeed"):
844
+ case hashString("HKQuantityTypeIdentifierWorkoutEffortScore"):
845
+ case hashString("HKStateOfMindTypeIdentifier"):
846
+ case hashString("HKAudiogramSampleType"):
847
+ case hashString("HKDataTypeIdentifierHeartbeatSeries"):
848
+ case hashString("HKWorkoutRouteTypeIdentifier"):
849
+ case hashString("HKWorkoutTypeIdentifier"):
850
+ case hashString("ActivitySummaryTypeIdentifier"):
851
+ return true;
852
+ default:
853
+ return false;
854
+ }
855
+ }
856
+ };
857
+
858
+ } // namespace margelo::nitro