@tryvital/vital-node 3.1.13 → 3.1.15

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 (445) hide show
  1. package/api/resources/activity/client/Client.js +2 -2
  2. package/api/resources/body/client/Client.js +2 -2
  3. package/api/resources/devices/client/Client.js +1 -1
  4. package/api/resources/index.d.ts +1 -0
  5. package/api/resources/index.js +1 -0
  6. package/api/resources/insurance/client/Client.js +2 -2
  7. package/api/resources/introspect/client/Client.js +2 -2
  8. package/api/resources/labTests/client/Client.d.ts +2 -2
  9. package/api/resources/labTests/client/Client.js +28 -30
  10. package/api/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +1 -2
  11. package/api/resources/labTests/client/requests/LabTestsGetLabelsPdfRequest.d.ts +1 -1
  12. package/api/resources/link/client/Client.js +14 -14
  13. package/api/resources/meal/client/Client.js +1 -1
  14. package/api/resources/profile/client/Client.js +2 -2
  15. package/api/resources/providers/client/Client.d.ts +2 -1
  16. package/api/resources/providers/client/Client.js +24 -6
  17. package/api/resources/providers/client/index.d.ts +1 -1
  18. package/api/resources/providers/client/index.js +15 -0
  19. package/api/resources/providers/client/requests/ProvidersGetAllRequest.d.ts +10 -0
  20. package/api/resources/providers/client/requests/index.d.ts +1 -0
  21. package/api/resources/providers/client/requests/index.js +2 -0
  22. package/api/resources/sleep/client/Client.js +4 -4
  23. package/api/resources/team/client/Client.d.ts +2 -5
  24. package/api/resources/team/client/Client.js +13 -30
  25. package/api/resources/team/client/requests/index.d.ts +0 -1
  26. package/api/resources/testkit/client/Client.js +2 -2
  27. package/api/resources/testkit/client/requests/RegisterTestkitRequest.d.ts +1 -1
  28. package/api/resources/user/client/Client.js +12 -12
  29. package/api/resources/user/client/requests/UserCreateBody.d.ts +0 -8
  30. package/api/resources/user/client/requests/UserPatchBody.d.ts +0 -8
  31. package/api/resources/vitals/client/Client.js +50 -50
  32. package/api/resources/workouts/client/Client.js +3 -3
  33. package/api/types/AppointmentEventStatus.d.ts +0 -3
  34. package/api/types/AppointmentProvider.d.ts +0 -3
  35. package/api/types/AppointmentServiceType.d.ts +0 -3
  36. package/api/types/AppointmentStatus.d.ts +0 -3
  37. package/api/types/AppointmentType.d.ts +0 -3
  38. package/api/types/AttemptStatus.d.ts +0 -3
  39. package/api/types/AuthType.d.ts +0 -3
  40. package/api/types/Availability.d.ts +0 -3
  41. package/api/types/ClientFacingActivity.d.ts +0 -12
  42. package/api/types/ClientFacingAppointment.d.ts +0 -2
  43. package/api/types/ClientFacingBloodOxygenTimeseries.d.ts +0 -3
  44. package/api/types/ClientFacingBloodPressureTimeseries.d.ts +0 -3
  45. package/api/types/ClientFacingBody.d.ts +0 -2
  46. package/api/types/ClientFacingBodyFatTimeseries.d.ts +0 -3
  47. package/api/types/ClientFacingBodyWeightTimeseries.d.ts +0 -3
  48. package/api/types/ClientFacingCaffeineTimeseries.d.ts +0 -3
  49. package/api/types/ClientFacingCaloriesActiveTimeseries.d.ts +0 -3
  50. package/api/types/ClientFacingCaloriesBasalTimeseries.d.ts +0 -3
  51. package/api/types/ClientFacingCholesterolTimeseries.d.ts +0 -3
  52. package/api/types/ClientFacingDistanceTimeseries.d.ts +0 -3
  53. package/api/types/ClientFacingElectrocardiogramVoltageTimeseries.d.ts +2 -4
  54. package/api/types/ClientFacingFloorsClimbedTimeseries.d.ts +0 -3
  55. package/api/types/ClientFacingGlucoseTimeseries.d.ts +0 -3
  56. package/api/types/ClientFacingHeartRate.d.ts +0 -4
  57. package/api/types/ClientFacingHeartRateTimeseries.d.ts +0 -3
  58. package/api/types/ClientFacingHrvTimeseries.d.ts +0 -3
  59. package/api/types/ClientFacingHypnogramTimeseries.d.ts +0 -3
  60. package/api/types/ClientFacingIgeTimeseries.d.ts +0 -3
  61. package/api/types/ClientFacingIggTimeseries.d.ts +0 -3
  62. package/api/types/ClientFacingLabTest.d.ts +7 -0
  63. package/api/types/ClientFacingMindfulnessMinutesTimeseries.d.ts +0 -3
  64. package/api/types/ClientFacingOrder.d.ts +1 -9
  65. package/api/types/ClientFacingProviderDetailed.d.ts +0 -1
  66. package/api/types/ClientFacingResource.d.ts +0 -3
  67. package/api/types/ClientFacingRespiratoryRateTimeseries.d.ts +0 -3
  68. package/api/types/ClientFacingSampleGroupingKeys.d.ts +4 -0
  69. package/api/types/ClientFacingShipment.d.ts +0 -7
  70. package/api/types/ClientFacingSleep.d.ts +0 -11
  71. package/api/types/ClientFacingSource.d.ts +0 -1
  72. package/api/types/ClientFacingStepsTimeseries.d.ts +0 -3
  73. package/api/types/ClientFacingStream.d.ts +19 -10
  74. package/api/types/ClientFacingStreamAltitude.d.ts +7 -0
  75. package/api/types/ClientFacingStreamCadence.d.ts +7 -0
  76. package/api/types/ClientFacingStreamDistance.d.ts +7 -0
  77. package/api/types/ClientFacingStreamDistance.js +5 -0
  78. package/api/types/ClientFacingStreamHeartrate.d.ts +7 -0
  79. package/api/types/ClientFacingStreamHeartrate.js +5 -0
  80. package/api/types/ClientFacingStreamLat.d.ts +7 -0
  81. package/api/types/ClientFacingStreamLat.js +5 -0
  82. package/api/types/ClientFacingStreamLng.d.ts +7 -0
  83. package/api/types/ClientFacingStreamLng.js +5 -0
  84. package/api/types/ClientFacingStreamPower.d.ts +7 -0
  85. package/api/types/ClientFacingStreamPower.js +5 -0
  86. package/api/types/ClientFacingStreamResistance.d.ts +7 -0
  87. package/api/types/ClientFacingStreamResistance.js +5 -0
  88. package/api/types/ClientFacingStreamVelocitySmooth.d.ts +7 -0
  89. package/api/types/ClientFacingStreamVelocitySmooth.js +5 -0
  90. package/api/types/ClientFacingStressLevelTimeseries.d.ts +0 -3
  91. package/api/types/ClientFacingTestkitOrder.d.ts +0 -1
  92. package/api/types/ClientFacingUser.d.ts +0 -7
  93. package/api/types/ClientFacingVo2MaxTimeseries.d.ts +0 -3
  94. package/api/types/ClientFacingWaterTimeseries.d.ts +0 -3
  95. package/api/types/ClientFacingWorkout.d.ts +1 -18
  96. package/api/types/ConsentType.d.ts +0 -3
  97. package/api/types/DelegatedFlowType.d.ts +0 -3
  98. package/api/types/DemoProviders.d.ts +0 -3
  99. package/api/types/EmailProviders.d.ts +0 -3
  100. package/api/types/Fats.d.ts +0 -6
  101. package/api/types/Gender.d.ts +0 -3
  102. package/api/types/GroupedBloodOxygenResponse.d.ts +0 -1
  103. package/api/types/GroupedBloodPressureResponse.d.ts +0 -1
  104. package/api/types/GroupedBodyFatResponse.d.ts +0 -1
  105. package/api/types/GroupedBodyWeightResponse.d.ts +0 -1
  106. package/api/types/GroupedCaffeineResponse.d.ts +0 -1
  107. package/api/types/GroupedCaloriesActiveResponse.d.ts +0 -1
  108. package/api/types/GroupedCaloriesBasalResponse.d.ts +0 -1
  109. package/api/types/GroupedCholesterolResponse.d.ts +0 -1
  110. package/api/types/GroupedDistanceResponse.d.ts +0 -1
  111. package/api/types/GroupedElectrocardiogramVoltageResponse.d.ts +0 -1
  112. package/api/types/GroupedFloorsClimbedResponse.d.ts +0 -1
  113. package/api/types/GroupedGlucoseResponse.d.ts +0 -1
  114. package/api/types/GroupedHeartRateResponse.d.ts +0 -1
  115. package/api/types/GroupedHrvResponse.d.ts +0 -1
  116. package/api/types/GroupedHypnogramResponse.d.ts +0 -1
  117. package/api/types/GroupedIgeResponse.d.ts +0 -1
  118. package/api/types/GroupedIggResponse.d.ts +0 -1
  119. package/api/types/GroupedMindfulnessMinutesResponse.d.ts +0 -1
  120. package/api/types/GroupedRespiratoryRateResponse.d.ts +0 -1
  121. package/api/types/GroupedStepsResponse.d.ts +0 -1
  122. package/api/types/GroupedStressLevelResponse.d.ts +0 -1
  123. package/api/types/GroupedVo2MaxResponse.d.ts +0 -1
  124. package/api/types/GroupedWaterResponse.d.ts +0 -1
  125. package/api/types/HealthInsuranceCreateRequest.d.ts +0 -7
  126. package/api/types/HealthInsuranceCreateRequestBackImage.d.ts +1 -9
  127. package/api/types/HealthInsuranceCreateRequestFrontImage.d.ts +1 -9
  128. package/api/types/HealthInsuranceCreateRequestPatientSignatureImage.d.ts +1 -9
  129. package/api/types/HistoricalPullStatus.d.ts +0 -3
  130. package/api/types/Jpeg.d.ts +1 -0
  131. package/api/types/LabTestStatus.d.ts +0 -3
  132. package/api/types/Labs.d.ts +13 -0
  133. package/api/types/Labs.js +15 -0
  134. package/api/types/Macros.d.ts +0 -6
  135. package/api/types/ManualProviders.d.ts +0 -3
  136. package/api/types/MarkerType.d.ts +0 -3
  137. package/api/types/Micros.d.ts +3 -6
  138. package/api/types/OAuthProviders.d.ts +0 -3
  139. package/api/types/OrderStatus.d.ts +0 -3
  140. package/api/types/OrderTopLevelStatus.d.ts +0 -3
  141. package/api/types/PasswordProviders.d.ts +0 -3
  142. package/api/types/PatientAddressCompatibleInput.d.ts +13 -0
  143. package/api/types/PatientAddressCompatibleInput.js +5 -0
  144. package/api/types/{PatientAddressCompatible.d.ts → PatientAddressCompatibleOutput.d.ts} +1 -1
  145. package/api/types/PatientAddressCompatibleOutput.js +5 -0
  146. package/api/types/PhysicianCreateRequestSignatureImage.d.ts +1 -9
  147. package/api/types/Png.d.ts +1 -0
  148. package/api/types/ProviderLinkResponse.d.ts +1 -1
  149. package/api/types/Providers.d.ts +0 -3
  150. package/api/types/QuestionType.d.ts +0 -3
  151. package/api/types/Region.d.ts +0 -3
  152. package/api/types/ResponsibleRelationship.d.ts +0 -3
  153. package/api/types/ResultType.d.ts +0 -3
  154. package/api/types/SourceAuthType.d.ts +0 -3
  155. package/api/types/SourceType.d.ts +0 -3
  156. package/api/types/TimeseriesResource.d.ts +0 -3
  157. package/api/types/UsAddress.d.ts +0 -1
  158. package/api/types/index.d.ts +59 -47
  159. package/api/types/index.js +59 -47
  160. package/dist/api/resources/activity/client/Client.js +2 -2
  161. package/dist/api/resources/body/client/Client.js +2 -2
  162. package/dist/api/resources/devices/client/Client.js +1 -1
  163. package/dist/api/resources/index.d.ts +1 -0
  164. package/dist/api/resources/index.js +1 -0
  165. package/dist/api/resources/insurance/client/Client.js +2 -2
  166. package/dist/api/resources/introspect/client/Client.js +2 -2
  167. package/dist/api/resources/labTests/client/Client.d.ts +2 -2
  168. package/dist/api/resources/labTests/client/Client.js +28 -30
  169. package/dist/api/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +1 -2
  170. package/dist/api/resources/labTests/client/requests/LabTestsGetLabelsPdfRequest.d.ts +1 -1
  171. package/dist/api/resources/link/client/Client.js +14 -14
  172. package/dist/api/resources/meal/client/Client.js +1 -1
  173. package/dist/api/resources/profile/client/Client.js +2 -2
  174. package/dist/api/resources/providers/client/Client.d.ts +2 -1
  175. package/dist/api/resources/providers/client/Client.js +24 -6
  176. package/dist/api/resources/providers/client/index.d.ts +1 -1
  177. package/dist/api/resources/providers/client/index.js +15 -0
  178. package/dist/api/resources/providers/client/requests/ProvidersGetAllRequest.d.ts +10 -0
  179. package/dist/api/resources/providers/client/requests/ProvidersGetAllRequest.js +5 -0
  180. package/dist/api/resources/providers/client/requests/index.d.ts +1 -0
  181. package/dist/api/resources/providers/client/requests/index.js +2 -0
  182. package/dist/api/resources/sleep/client/Client.js +4 -4
  183. package/dist/api/resources/team/client/Client.d.ts +2 -5
  184. package/dist/api/resources/team/client/Client.js +13 -30
  185. package/dist/api/resources/team/client/requests/index.d.ts +0 -1
  186. package/dist/api/resources/testkit/client/Client.js +2 -2
  187. package/dist/api/resources/testkit/client/requests/RegisterTestkitRequest.d.ts +1 -1
  188. package/dist/api/resources/user/client/Client.js +12 -12
  189. package/dist/api/resources/user/client/requests/UserCreateBody.d.ts +0 -8
  190. package/dist/api/resources/user/client/requests/UserPatchBody.d.ts +0 -8
  191. package/dist/api/resources/vitals/client/Client.js +50 -50
  192. package/dist/api/resources/workouts/client/Client.js +3 -3
  193. package/dist/api/types/AppointmentEventStatus.d.ts +0 -3
  194. package/dist/api/types/AppointmentProvider.d.ts +0 -3
  195. package/dist/api/types/AppointmentServiceType.d.ts +0 -3
  196. package/dist/api/types/AppointmentStatus.d.ts +0 -3
  197. package/dist/api/types/AppointmentType.d.ts +0 -3
  198. package/dist/api/types/AttemptStatus.d.ts +0 -3
  199. package/dist/api/types/AuthType.d.ts +0 -3
  200. package/dist/api/types/Availability.d.ts +0 -3
  201. package/dist/api/types/ClientFacingActivity.d.ts +0 -12
  202. package/dist/api/types/ClientFacingAppointment.d.ts +0 -2
  203. package/dist/api/types/ClientFacingBloodOxygenTimeseries.d.ts +0 -3
  204. package/dist/api/types/ClientFacingBloodPressureTimeseries.d.ts +0 -3
  205. package/dist/api/types/ClientFacingBody.d.ts +0 -2
  206. package/dist/api/types/ClientFacingBodyFatTimeseries.d.ts +0 -3
  207. package/dist/api/types/ClientFacingBodyWeightTimeseries.d.ts +0 -3
  208. package/dist/api/types/ClientFacingCaffeineTimeseries.d.ts +0 -3
  209. package/dist/api/types/ClientFacingCaloriesActiveTimeseries.d.ts +0 -3
  210. package/dist/api/types/ClientFacingCaloriesBasalTimeseries.d.ts +0 -3
  211. package/dist/api/types/ClientFacingCholesterolTimeseries.d.ts +0 -3
  212. package/dist/api/types/ClientFacingDistanceTimeseries.d.ts +0 -3
  213. package/dist/api/types/ClientFacingElectrocardiogramVoltageTimeseries.d.ts +2 -4
  214. package/dist/api/types/ClientFacingFloorsClimbedTimeseries.d.ts +0 -3
  215. package/dist/api/types/ClientFacingGlucoseTimeseries.d.ts +0 -3
  216. package/dist/api/types/ClientFacingHeartRate.d.ts +0 -4
  217. package/dist/api/types/ClientFacingHeartRateTimeseries.d.ts +0 -3
  218. package/dist/api/types/ClientFacingHrvTimeseries.d.ts +0 -3
  219. package/dist/api/types/ClientFacingHypnogramTimeseries.d.ts +0 -3
  220. package/dist/api/types/ClientFacingIgeTimeseries.d.ts +0 -3
  221. package/dist/api/types/ClientFacingIggTimeseries.d.ts +0 -3
  222. package/dist/api/types/ClientFacingLabTest.d.ts +7 -0
  223. package/dist/api/types/ClientFacingMindfulnessMinutesTimeseries.d.ts +0 -3
  224. package/dist/api/types/ClientFacingOrder.d.ts +1 -9
  225. package/dist/api/types/ClientFacingProviderDetailed.d.ts +0 -1
  226. package/dist/api/types/ClientFacingResource.d.ts +0 -3
  227. package/dist/api/types/ClientFacingRespiratoryRateTimeseries.d.ts +0 -3
  228. package/dist/api/types/ClientFacingSampleGroupingKeys.d.ts +4 -0
  229. package/dist/api/types/ClientFacingSampleGroupingKeys.js +5 -0
  230. package/dist/api/types/ClientFacingShipment.d.ts +0 -7
  231. package/dist/api/types/ClientFacingSleep.d.ts +0 -11
  232. package/dist/api/types/ClientFacingSource.d.ts +0 -1
  233. package/dist/api/types/ClientFacingStepsTimeseries.d.ts +0 -3
  234. package/dist/api/types/ClientFacingStream.d.ts +19 -10
  235. package/dist/api/types/ClientFacingStreamAltitude.d.ts +7 -0
  236. package/dist/api/types/ClientFacingStreamAltitude.js +5 -0
  237. package/dist/api/types/ClientFacingStreamCadence.d.ts +7 -0
  238. package/dist/api/types/ClientFacingStreamCadence.js +5 -0
  239. package/dist/api/types/ClientFacingStreamDistance.d.ts +7 -0
  240. package/dist/api/types/ClientFacingStreamDistance.js +5 -0
  241. package/dist/api/types/ClientFacingStreamHeartrate.d.ts +7 -0
  242. package/dist/api/types/ClientFacingStreamHeartrate.js +5 -0
  243. package/dist/api/types/ClientFacingStreamLat.d.ts +7 -0
  244. package/dist/api/types/ClientFacingStreamLat.js +5 -0
  245. package/dist/api/types/ClientFacingStreamLng.d.ts +7 -0
  246. package/dist/api/types/ClientFacingStreamLng.js +5 -0
  247. package/dist/api/types/ClientFacingStreamPower.d.ts +7 -0
  248. package/dist/api/types/ClientFacingStreamPower.js +5 -0
  249. package/dist/api/types/ClientFacingStreamResistance.d.ts +7 -0
  250. package/dist/api/types/ClientFacingStreamResistance.js +5 -0
  251. package/dist/api/types/ClientFacingStreamVelocitySmooth.d.ts +7 -0
  252. package/dist/api/types/ClientFacingStreamVelocitySmooth.js +5 -0
  253. package/dist/api/types/ClientFacingStressLevelTimeseries.d.ts +0 -3
  254. package/dist/api/types/ClientFacingTestkitOrder.d.ts +0 -1
  255. package/dist/api/types/ClientFacingUser.d.ts +0 -7
  256. package/dist/api/types/ClientFacingVo2MaxTimeseries.d.ts +0 -3
  257. package/dist/api/types/ClientFacingWaterTimeseries.d.ts +0 -3
  258. package/dist/api/types/ClientFacingWorkout.d.ts +1 -18
  259. package/dist/api/types/ConsentType.d.ts +0 -3
  260. package/dist/api/types/DelegatedFlowType.d.ts +0 -3
  261. package/dist/api/types/DemoProviders.d.ts +0 -3
  262. package/dist/api/types/EmailProviders.d.ts +0 -3
  263. package/dist/api/types/Fats.d.ts +0 -6
  264. package/dist/api/types/Gender.d.ts +0 -3
  265. package/dist/api/types/GroupedBloodOxygenResponse.d.ts +0 -1
  266. package/dist/api/types/GroupedBloodPressureResponse.d.ts +0 -1
  267. package/dist/api/types/GroupedBodyFatResponse.d.ts +0 -1
  268. package/dist/api/types/GroupedBodyWeightResponse.d.ts +0 -1
  269. package/dist/api/types/GroupedCaffeineResponse.d.ts +0 -1
  270. package/dist/api/types/GroupedCaloriesActiveResponse.d.ts +0 -1
  271. package/dist/api/types/GroupedCaloriesBasalResponse.d.ts +0 -1
  272. package/dist/api/types/GroupedCholesterolResponse.d.ts +0 -1
  273. package/dist/api/types/GroupedDistanceResponse.d.ts +0 -1
  274. package/dist/api/types/GroupedElectrocardiogramVoltageResponse.d.ts +0 -1
  275. package/dist/api/types/GroupedFloorsClimbedResponse.d.ts +0 -1
  276. package/dist/api/types/GroupedGlucoseResponse.d.ts +0 -1
  277. package/dist/api/types/GroupedHeartRateResponse.d.ts +0 -1
  278. package/dist/api/types/GroupedHrvResponse.d.ts +0 -1
  279. package/dist/api/types/GroupedHypnogramResponse.d.ts +0 -1
  280. package/dist/api/types/GroupedIgeResponse.d.ts +0 -1
  281. package/dist/api/types/GroupedIggResponse.d.ts +0 -1
  282. package/dist/api/types/GroupedMindfulnessMinutesResponse.d.ts +0 -1
  283. package/dist/api/types/GroupedRespiratoryRateResponse.d.ts +0 -1
  284. package/dist/api/types/GroupedStepsResponse.d.ts +0 -1
  285. package/dist/api/types/GroupedStressLevelResponse.d.ts +0 -1
  286. package/dist/api/types/GroupedVo2MaxResponse.d.ts +0 -1
  287. package/dist/api/types/GroupedWaterResponse.d.ts +0 -1
  288. package/dist/api/types/HealthInsuranceCreateRequest.d.ts +0 -7
  289. package/dist/api/types/HealthInsuranceCreateRequestBackImage.d.ts +1 -9
  290. package/dist/api/types/HealthInsuranceCreateRequestFrontImage.d.ts +1 -9
  291. package/dist/api/types/HealthInsuranceCreateRequestPatientSignatureImage.d.ts +1 -9
  292. package/dist/api/types/HistoricalPullStatus.d.ts +0 -3
  293. package/dist/api/types/Jpeg.d.ts +1 -0
  294. package/dist/api/types/LabTestStatus.d.ts +0 -3
  295. package/dist/api/types/Labs.d.ts +13 -0
  296. package/dist/api/types/Labs.js +15 -0
  297. package/dist/api/types/Macros.d.ts +0 -6
  298. package/dist/api/types/ManualProviders.d.ts +0 -3
  299. package/dist/api/types/MarkerType.d.ts +0 -3
  300. package/dist/api/types/Micros.d.ts +3 -6
  301. package/dist/api/types/OAuthProviders.d.ts +0 -3
  302. package/dist/api/types/OrderStatus.d.ts +0 -3
  303. package/dist/api/types/OrderTopLevelStatus.d.ts +0 -3
  304. package/dist/api/types/PasswordProviders.d.ts +0 -3
  305. package/dist/api/types/PatientAddressCompatibleInput.d.ts +13 -0
  306. package/dist/api/types/PatientAddressCompatibleInput.js +5 -0
  307. package/dist/api/types/{PatientAddressCompatible.d.ts → PatientAddressCompatibleOutput.d.ts} +1 -1
  308. package/dist/api/types/PatientAddressCompatibleOutput.js +5 -0
  309. package/dist/api/types/PhysicianCreateRequestSignatureImage.d.ts +1 -9
  310. package/dist/api/types/Png.d.ts +1 -0
  311. package/dist/api/types/ProviderLinkResponse.d.ts +1 -1
  312. package/dist/api/types/Providers.d.ts +0 -3
  313. package/dist/api/types/QuestionType.d.ts +0 -3
  314. package/dist/api/types/Region.d.ts +0 -3
  315. package/dist/api/types/ResponsibleRelationship.d.ts +0 -3
  316. package/dist/api/types/ResultType.d.ts +0 -3
  317. package/dist/api/types/SourceAuthType.d.ts +0 -3
  318. package/dist/api/types/SourceType.d.ts +0 -3
  319. package/dist/api/types/TimeseriesResource.d.ts +0 -3
  320. package/dist/api/types/UsAddress.d.ts +0 -1
  321. package/dist/api/types/index.d.ts +59 -47
  322. package/dist/api/types/index.js +59 -47
  323. package/dist/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +2 -2
  324. package/dist/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.js +2 -2
  325. package/dist/serialization/resources/testkit/client/requests/RegisterTestkitRequest.d.ts +2 -2
  326. package/dist/serialization/resources/testkit/client/requests/RegisterTestkitRequest.js +2 -2
  327. package/dist/serialization/types/ClientFacingElectrocardiogramVoltageTimeseries.d.ts +1 -1
  328. package/dist/serialization/types/ClientFacingElectrocardiogramVoltageTimeseries.js +2 -2
  329. package/dist/serialization/types/ClientFacingOrder.d.ts +2 -2
  330. package/dist/serialization/types/ClientFacingOrder.js +2 -2
  331. package/dist/serialization/types/ClientFacingSampleGroupingKeys.d.ts +10 -0
  332. package/dist/serialization/types/ClientFacingSampleGroupingKeys.js +31 -0
  333. package/dist/serialization/types/ClientFacingStream.d.ts +18 -9
  334. package/dist/serialization/types/ClientFacingStream.js +18 -9
  335. package/dist/serialization/types/ClientFacingStreamAltitude.d.ts +10 -0
  336. package/dist/serialization/types/ClientFacingStreamAltitude.js +34 -0
  337. package/dist/serialization/types/ClientFacingStreamCadence.d.ts +10 -0
  338. package/dist/serialization/types/ClientFacingStreamCadence.js +34 -0
  339. package/dist/serialization/types/ClientFacingStreamDistance.d.ts +10 -0
  340. package/dist/serialization/types/ClientFacingStreamDistance.js +34 -0
  341. package/dist/serialization/types/ClientFacingStreamHeartrate.d.ts +10 -0
  342. package/dist/serialization/types/ClientFacingStreamHeartrate.js +34 -0
  343. package/dist/serialization/types/ClientFacingStreamLat.d.ts +10 -0
  344. package/dist/serialization/types/ClientFacingStreamLat.js +34 -0
  345. package/dist/serialization/types/ClientFacingStreamLng.d.ts +10 -0
  346. package/dist/serialization/types/ClientFacingStreamLng.js +34 -0
  347. package/dist/serialization/types/ClientFacingStreamPower.d.ts +10 -0
  348. package/dist/serialization/types/ClientFacingStreamPower.js +34 -0
  349. package/dist/serialization/types/ClientFacingStreamResistance.d.ts +10 -0
  350. package/dist/serialization/types/ClientFacingStreamResistance.js +34 -0
  351. package/dist/serialization/types/ClientFacingStreamVelocitySmooth.d.ts +10 -0
  352. package/dist/serialization/types/ClientFacingStreamVelocitySmooth.js +34 -0
  353. package/dist/serialization/types/ClientFacingWorkout.d.ts +1 -0
  354. package/dist/serialization/types/ClientFacingWorkout.js +1 -0
  355. package/dist/serialization/types/HealthInsuranceCreateRequestBackImage.d.ts +1 -7
  356. package/dist/serialization/types/HealthInsuranceCreateRequestBackImage.js +1 -9
  357. package/dist/serialization/types/HealthInsuranceCreateRequestFrontImage.d.ts +1 -7
  358. package/dist/serialization/types/HealthInsuranceCreateRequestFrontImage.js +1 -9
  359. package/dist/serialization/types/HealthInsuranceCreateRequestPatientSignatureImage.d.ts +1 -7
  360. package/dist/serialization/types/HealthInsuranceCreateRequestPatientSignatureImage.js +1 -9
  361. package/dist/serialization/types/Jpeg.d.ts +1 -0
  362. package/dist/serialization/types/Jpeg.js +1 -0
  363. package/dist/serialization/types/Labs.d.ts +10 -0
  364. package/dist/serialization/types/Labs.js +39 -0
  365. package/dist/serialization/types/Micros.d.ts +3 -3
  366. package/dist/serialization/types/Micros.js +3 -3
  367. package/dist/serialization/types/PatientAddressCompatibleInput.d.ts +19 -0
  368. package/dist/serialization/types/PatientAddressCompatibleInput.js +40 -0
  369. package/dist/serialization/types/{PatientAddressCompatible.d.ts → PatientAddressCompatibleOutput.d.ts} +2 -2
  370. package/dist/serialization/types/{PatientAddressCompatible.js → PatientAddressCompatibleOutput.js} +2 -2
  371. package/dist/serialization/types/PhysicianCreateRequestSignatureImage.d.ts +1 -7
  372. package/dist/serialization/types/PhysicianCreateRequestSignatureImage.js +1 -9
  373. package/dist/serialization/types/Png.d.ts +1 -0
  374. package/dist/serialization/types/Png.js +1 -0
  375. package/dist/serialization/types/ProfileInDb.d.ts +1 -1
  376. package/dist/serialization/types/ProfileInDb.js +1 -1
  377. package/dist/serialization/types/ProviderLinkResponse.d.ts +1 -1
  378. package/dist/serialization/types/ProviderLinkResponse.js +1 -1
  379. package/dist/serialization/types/index.d.ts +59 -47
  380. package/dist/serialization/types/index.js +59 -47
  381. package/package.json +1 -1
  382. package/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +2 -2
  383. package/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.js +2 -2
  384. package/serialization/resources/testkit/client/requests/RegisterTestkitRequest.d.ts +2 -2
  385. package/serialization/resources/testkit/client/requests/RegisterTestkitRequest.js +2 -2
  386. package/serialization/types/ClientFacingElectrocardiogramVoltageTimeseries.d.ts +1 -1
  387. package/serialization/types/ClientFacingElectrocardiogramVoltageTimeseries.js +2 -2
  388. package/serialization/types/ClientFacingOrder.d.ts +2 -2
  389. package/serialization/types/ClientFacingOrder.js +2 -2
  390. package/serialization/types/ClientFacingSampleGroupingKeys.d.ts +10 -0
  391. package/serialization/types/ClientFacingSampleGroupingKeys.js +31 -0
  392. package/serialization/types/ClientFacingStream.d.ts +18 -9
  393. package/serialization/types/ClientFacingStream.js +18 -9
  394. package/serialization/types/ClientFacingStreamAltitude.d.ts +10 -0
  395. package/serialization/types/ClientFacingStreamAltitude.js +34 -0
  396. package/serialization/types/ClientFacingStreamCadence.d.ts +10 -0
  397. package/serialization/types/ClientFacingStreamCadence.js +34 -0
  398. package/serialization/types/ClientFacingStreamDistance.d.ts +10 -0
  399. package/serialization/types/ClientFacingStreamDistance.js +34 -0
  400. package/serialization/types/ClientFacingStreamHeartrate.d.ts +10 -0
  401. package/serialization/types/ClientFacingStreamHeartrate.js +34 -0
  402. package/serialization/types/ClientFacingStreamLat.d.ts +10 -0
  403. package/serialization/types/ClientFacingStreamLat.js +34 -0
  404. package/serialization/types/ClientFacingStreamLng.d.ts +10 -0
  405. package/serialization/types/ClientFacingStreamLng.js +34 -0
  406. package/serialization/types/ClientFacingStreamPower.d.ts +10 -0
  407. package/serialization/types/ClientFacingStreamPower.js +34 -0
  408. package/serialization/types/ClientFacingStreamResistance.d.ts +10 -0
  409. package/serialization/types/ClientFacingStreamResistance.js +34 -0
  410. package/serialization/types/ClientFacingStreamVelocitySmooth.d.ts +10 -0
  411. package/serialization/types/ClientFacingStreamVelocitySmooth.js +34 -0
  412. package/serialization/types/ClientFacingWorkout.d.ts +1 -0
  413. package/serialization/types/ClientFacingWorkout.js +1 -0
  414. package/serialization/types/HealthInsuranceCreateRequestBackImage.d.ts +1 -7
  415. package/serialization/types/HealthInsuranceCreateRequestBackImage.js +1 -9
  416. package/serialization/types/HealthInsuranceCreateRequestFrontImage.d.ts +1 -7
  417. package/serialization/types/HealthInsuranceCreateRequestFrontImage.js +1 -9
  418. package/serialization/types/HealthInsuranceCreateRequestPatientSignatureImage.d.ts +1 -7
  419. package/serialization/types/HealthInsuranceCreateRequestPatientSignatureImage.js +1 -9
  420. package/serialization/types/Jpeg.d.ts +1 -0
  421. package/serialization/types/Jpeg.js +1 -0
  422. package/serialization/types/Labs.d.ts +10 -0
  423. package/serialization/types/Labs.js +39 -0
  424. package/serialization/types/Micros.d.ts +3 -3
  425. package/serialization/types/Micros.js +3 -3
  426. package/serialization/types/PatientAddressCompatibleInput.d.ts +19 -0
  427. package/serialization/types/PatientAddressCompatibleInput.js +40 -0
  428. package/serialization/types/{PatientAddressCompatible.d.ts → PatientAddressCompatibleOutput.d.ts} +2 -2
  429. package/serialization/types/{PatientAddressCompatible.js → PatientAddressCompatibleOutput.js} +2 -2
  430. package/serialization/types/PhysicianCreateRequestSignatureImage.d.ts +1 -7
  431. package/serialization/types/PhysicianCreateRequestSignatureImage.js +1 -9
  432. package/serialization/types/Png.d.ts +1 -0
  433. package/serialization/types/Png.js +1 -0
  434. package/serialization/types/ProfileInDb.d.ts +1 -1
  435. package/serialization/types/ProfileInDb.js +1 -1
  436. package/serialization/types/ProviderLinkResponse.d.ts +1 -1
  437. package/serialization/types/ProviderLinkResponse.js +1 -1
  438. package/serialization/types/index.d.ts +59 -47
  439. package/serialization/types/index.js +59 -47
  440. package/api/resources/team/client/requests/TeamUpdateSourcePrioritiesRequest.d.ts +0 -12
  441. package/dist/api/resources/team/client/requests/TeamUpdateSourcePrioritiesRequest.d.ts +0 -12
  442. /package/api/resources/{team/client/requests/TeamUpdateSourcePrioritiesRequest.js → providers/client/requests/ProvidersGetAllRequest.js} +0 -0
  443. /package/api/types/{PatientAddressCompatible.js → ClientFacingSampleGroupingKeys.js} +0 -0
  444. /package/{dist/api/resources/team/client/requests/TeamUpdateSourcePrioritiesRequest.js → api/types/ClientFacingStreamAltitude.js} +0 -0
  445. /package/{dist/api/types/PatientAddressCompatible.js → api/types/ClientFacingStreamCadence.js} +0 -0
@@ -73,7 +73,7 @@ class Sleep {
73
73
  const _response = yield core.fetcher({
74
74
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/sleep/${userId}`),
75
75
  method: "GET",
76
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
76
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
77
77
  contentType: "application/json",
78
78
  queryParameters: _queryParams,
79
79
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -142,7 +142,7 @@ class Sleep {
142
142
  const _response = yield core.fetcher({
143
143
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/sleep/${userId}/stream`),
144
144
  method: "GET",
145
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
145
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
146
146
  contentType: "application/json",
147
147
  queryParameters: _queryParams,
148
148
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -211,7 +211,7 @@ class Sleep {
211
211
  const _response = yield core.fetcher({
212
212
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/sleep/${userId}/raw`),
213
213
  method: "GET",
214
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
214
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
215
215
  contentType: "application/json",
216
216
  queryParameters: _queryParams,
217
217
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -269,7 +269,7 @@ class Sleep {
269
269
  const _response = yield core.fetcher({
270
270
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/sleep/${sleepId}/stream`),
271
271
  method: "GET",
272
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
272
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
273
273
  contentType: "application/json",
274
274
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
275
275
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -52,14 +52,11 @@ export declare class Team {
52
52
  getSourcePriorities(request?: Vital.TeamGetSourcePrioritiesRequest, requestOptions?: Team.RequestOptions): Promise<Record<string, unknown>[]>;
53
53
  /**
54
54
  * Patch source priorities.
55
- * @throws {@link Vital.UnprocessableEntityError}
56
55
  *
57
56
  * @example
58
- * await vital.team.updateSourcePriorities({
59
- * teamId: "team_id"
60
- * })
57
+ * await vital.team.updateSourcePriorities()
61
58
  */
62
- updateSourcePriorities(request: Vital.TeamUpdateSourcePrioritiesRequest, requestOptions?: Team.RequestOptions): Promise<Record<string, unknown>[]>;
59
+ updateSourcePriorities(requestOptions?: Team.RequestOptions): Promise<Record<string, unknown>[]>;
63
60
  /**
64
61
  * @throws {@link Vital.UnprocessableEntityError}
65
62
  *
@@ -63,7 +63,7 @@ class Team {
63
63
  const _response = yield core.fetcher({
64
64
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/team/link/config"),
65
65
  method: "GET",
66
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined }, (yield this._getCustomAuthorizationHeaders())),
66
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined }, (yield this._getCustomAuthorizationHeaders())),
67
67
  contentType: "application/json",
68
68
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
69
69
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -120,7 +120,7 @@ class Team {
120
120
  const _response = yield core.fetcher({
121
121
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/team/${teamId}`),
122
122
  method: "GET",
123
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
123
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
124
124
  contentType: "application/json",
125
125
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
126
126
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -182,7 +182,7 @@ class Team {
182
182
  const _response = yield core.fetcher({
183
183
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/team/users/search"),
184
184
  method: "GET",
185
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
185
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
186
186
  contentType: "application/json",
187
187
  queryParameters: _queryParams,
188
188
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -233,7 +233,7 @@ class Team {
233
233
  const _response = yield core.fetcher({
234
234
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/team/svix/url"),
235
235
  method: "GET",
236
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
236
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
237
237
  contentType: "application/json",
238
238
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
239
239
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -285,7 +285,7 @@ class Team {
285
285
  const _response = yield core.fetcher({
286
286
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/team/source/priorities"),
287
287
  method: "GET",
288
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
288
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
289
289
  contentType: "application/json",
290
290
  queryParameters: _queryParams,
291
291
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -332,25 +332,18 @@ class Team {
332
332
  }
333
333
  /**
334
334
  * Patch source priorities.
335
- * @throws {@link Vital.UnprocessableEntityError}
336
335
  *
337
336
  * @example
338
- * await vital.team.updateSourcePriorities({
339
- * teamId: "team_id"
340
- * })
337
+ * await vital.team.updateSourcePriorities()
341
338
  */
342
- updateSourcePriorities(request, requestOptions) {
339
+ updateSourcePriorities(requestOptions) {
343
340
  var _a;
344
341
  return __awaiter(this, void 0, void 0, function* () {
345
- const { teamId } = request;
346
- const _queryParams = {};
347
- _queryParams["team_id"] = teamId;
348
342
  const _response = yield core.fetcher({
349
343
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/team/source/priorities"),
350
344
  method: "PATCH",
351
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
345
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
352
346
  contentType: "application/json",
353
- queryParameters: _queryParams,
354
347
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
355
348
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
356
349
  });
@@ -363,20 +356,10 @@ class Team {
363
356
  });
364
357
  }
365
358
  if (_response.error.reason === "status-code") {
366
- switch (_response.error.statusCode) {
367
- case 422:
368
- throw new Vital.UnprocessableEntityError(yield serializers.HttpValidationError.parseOrThrow(_response.error.body, {
369
- unrecognizedObjectKeys: "passthrough",
370
- allowUnrecognizedUnionMembers: true,
371
- allowUnrecognizedEnumValues: true,
372
- breadcrumbsPrefix: ["response"],
373
- }));
374
- default:
375
- throw new errors.VitalError({
376
- statusCode: _response.error.statusCode,
377
- body: _response.error.body,
378
- });
379
- }
359
+ throw new errors.VitalError({
360
+ statusCode: _response.error.statusCode,
361
+ body: _response.error.body,
362
+ });
380
363
  }
381
364
  switch (_response.error.reason) {
382
365
  case "non-json":
@@ -405,7 +388,7 @@ class Team {
405
388
  const _response = yield core.fetcher({
406
389
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/team/${teamId}/physicians`),
407
390
  method: "GET",
408
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
391
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
409
392
  contentType: "application/json",
410
393
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
411
394
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -1,4 +1,3 @@
1
1
  export { TeamGetLinkConfigRequest } from "./TeamGetLinkConfigRequest";
2
2
  export { TeamGetUserByIdRequest } from "./TeamGetUserByIdRequest";
3
3
  export { TeamGetSourcePrioritiesRequest } from "./TeamGetSourcePrioritiesRequest";
4
- export { TeamUpdateSourcePrioritiesRequest } from "./TeamUpdateSourcePrioritiesRequest";
@@ -58,7 +58,7 @@ class Testkit {
58
58
  const _response = yield core.fetcher({
59
59
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/order/testkit/register"),
60
60
  method: "POST",
61
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
61
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
62
62
  contentType: "application/json",
63
63
  body: yield serializers.RegisterTestkitRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
64
64
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -113,7 +113,7 @@ class Testkit {
113
113
  const _response = yield core.fetcher({
114
114
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/order/testkit"),
115
115
  method: "POST",
116
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
116
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
117
117
  contentType: "application/json",
118
118
  body: yield serializers.CreateRegistrableTestkitOrderRequest.jsonOrThrow(request, {
119
119
  unrecognizedObjectKeys: "strip",
@@ -6,7 +6,7 @@ export interface RegisterTestkitRequest {
6
6
  userId: string;
7
7
  sampleId: string;
8
8
  patientDetails: Vital.PatientDetails;
9
- patientAddress: Vital.PatientAddressCompatible;
9
+ patientAddress: Vital.PatientAddressCompatibleInput;
10
10
  physician?: Vital.PhysicianCreateRequestBase;
11
11
  healthInsurance?: Vital.HealthInsuranceCreateRequest;
12
12
  consents?: Vital.Consent[];
@@ -70,7 +70,7 @@ class User {
70
70
  const _response = yield core.fetcher({
71
71
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/user"),
72
72
  method: "GET",
73
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
73
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
74
74
  contentType: "application/json",
75
75
  queryParameters: _queryParams,
76
76
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -131,7 +131,7 @@ class User {
131
131
  const _response = yield core.fetcher({
132
132
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/user"),
133
133
  method: "POST",
134
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
134
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
135
135
  contentType: "application/json",
136
136
  body: yield serializers.UserCreateBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
137
137
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -190,7 +190,7 @@ class User {
190
190
  const _response = yield core.fetcher({
191
191
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/user/metrics"),
192
192
  method: "GET",
193
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
193
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
194
194
  contentType: "application/json",
195
195
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
196
196
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -236,7 +236,7 @@ class User {
236
236
  const _response = yield core.fetcher({
237
237
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/user/${userId}/sign_in_token`),
238
238
  method: "POST",
239
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
239
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
240
240
  contentType: "application/json",
241
241
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
242
242
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -293,7 +293,7 @@ class User {
293
293
  const _response = yield core.fetcher({
294
294
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/user/providers/${userId}`),
295
295
  method: "GET",
296
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
296
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
297
297
  contentType: "application/json",
298
298
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
299
299
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -350,7 +350,7 @@ class User {
350
350
  const _response = yield core.fetcher({
351
351
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/user/${userId}`),
352
352
  method: "GET",
353
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
353
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
354
354
  contentType: "application/json",
355
355
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
356
356
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -406,7 +406,7 @@ class User {
406
406
  const _response = yield core.fetcher({
407
407
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/user/${userId}`),
408
408
  method: "DELETE",
409
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
409
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
410
410
  contentType: "application/json",
411
411
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
412
412
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -462,7 +462,7 @@ class User {
462
462
  const _response = yield core.fetcher({
463
463
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/user/${userId}`),
464
464
  method: "PATCH",
465
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
465
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
466
466
  contentType: "application/json",
467
467
  body: yield serializers.UserPatchBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
468
468
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -515,7 +515,7 @@ class User {
515
515
  const _response = yield core.fetcher({
516
516
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/user/resolve/${clientUserId}`),
517
517
  method: "GET",
518
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
518
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
519
519
  contentType: "application/json",
520
520
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
521
521
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -571,7 +571,7 @@ class User {
571
571
  const _response = yield core.fetcher({
572
572
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/user/${userId}/${yield serializers.Providers.jsonOrThrow(provider)}`),
573
573
  method: "DELETE",
574
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
574
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
575
575
  contentType: "application/json",
576
576
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
577
577
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -635,7 +635,7 @@ class User {
635
635
  const _response = yield core.fetcher({
636
636
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/user/undo_delete"),
637
637
  method: "POST",
638
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
638
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
639
639
  contentType: "application/json",
640
640
  queryParameters: _queryParams,
641
641
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -699,7 +699,7 @@ class User {
699
699
  const _response = yield core.fetcher({
700
700
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/user/refresh/${userId}`),
701
701
  method: "POST",
702
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.13", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
702
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
703
703
  contentType: "application/json",
704
704
  queryParameters: _queryParams,
705
705
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -10,16 +10,8 @@
10
10
  export interface UserCreateBody {
11
11
  /** A unique ID representing the end user. Typically this will be a user ID from your application. Personally identifiable information, such as an email address or phone number, should not be used in the client_user_id. */
12
12
  clientUserId: string;
13
- /**
14
- * Fallback time zone of the user, in the form of a valid IANA tzdatabase identifier (e.g., `Europe/London` or `America/Los_Angeles`).
15
- * Used when pulling data from sources that are completely time zone agnostic (e.g., all time is relative to UTC clock, without any time zone attributions on data points).
16
- *
17
- */
18
13
  fallbackTimeZone?: string;
19
- /** Fallback date of birth of the user, in YYYY-mm-dd format. Used for calculating max heartrate for providers that don not provide users' age. */
20
14
  fallbackBirthDate?: string;
21
- /** Starting bound for user data ingestion. Data older than this date will not be ingested. */
22
15
  ingestionStart?: string;
23
- /** Ending bound for user data ingestion. Data from this date or later will not be ingested and the connection will be deregistered. */
24
16
  ingestionEnd?: string;
25
17
  }
@@ -6,16 +6,8 @@
6
6
  * {}
7
7
  */
8
8
  export interface UserPatchBody {
9
- /**
10
- * Fallback time zone of the user, in the form of a valid IANA tzdatabase identifier (e.g., `Europe/London` or `America/Los_Angeles`).
11
- * Used when pulling data from sources that are completely time zone agnostic (e.g., all time is relative to UTC clock, without any time zone attributions on data points).
12
- *
13
- */
14
9
  fallbackTimeZone?: string;
15
- /** Fallback date of birth of the user, in YYYY-mm-dd format. Used for calculating max heartrate for providers that don not provide users' age. */
16
10
  fallbackBirthDate?: string;
17
- /** Starting bound for user data ingestion. Data older than this date will not be ingested. */
18
11
  ingestionStart?: string;
19
- /** Ending bound for user data ingestion. Data from this date or later will not be ingested and the connection will be deregistered. */
20
12
  ingestionEnd?: string;
21
13
  }