@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 Activity {
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/activity/${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 Activity {
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/activity/${userId}/raw`),
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,
@@ -73,7 +73,7 @@ class Body {
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/body/${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 Body {
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/body/${userId}/raw`),
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,
@@ -67,7 +67,7 @@ class Devices {
67
67
  const _response = yield core.fetcher({
68
68
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/devices/${userId}/raw`),
69
69
  method: "GET",
70
- 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())),
70
+ 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())),
71
71
  contentType: "application/json",
72
72
  queryParameters: _queryParams,
73
73
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -25,6 +25,7 @@ export * from "./meal/client/requests";
25
25
  export * from "./vitals/client/requests";
26
26
  export * from "./user/client/requests";
27
27
  export * from "./team/client/requests";
28
+ export * from "./providers/client/requests";
28
29
  export * from "./introspect/client/requests";
29
30
  export * from "./labTests/client/requests";
30
31
  export * from "./testkit/client/requests";
@@ -54,6 +54,7 @@ __exportStar(require("./meal/client/requests"), exports);
54
54
  __exportStar(require("./vitals/client/requests"), exports);
55
55
  __exportStar(require("./user/client/requests"), exports);
56
56
  __exportStar(require("./team/client/requests"), exports);
57
+ __exportStar(require("./providers/client/requests"), exports);
57
58
  __exportStar(require("./introspect/client/requests"), exports);
58
59
  __exportStar(require("./labTests/client/requests"), exports);
59
60
  __exportStar(require("./testkit/client/requests"), exports);
@@ -63,7 +63,7 @@ class Insurance {
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, "v3/insurance/search/payor"),
65
65
  method: "POST",
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 }, (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 }, (yield this._getCustomAuthorizationHeaders())),
67
67
  contentType: "application/json",
68
68
  body: yield serializers.PayorSearchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
69
69
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -125,7 +125,7 @@ class Insurance {
125
125
  const _response = yield core.fetcher({
126
126
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/insurance/search/diagnosis"),
127
127
  method: "GET",
128
- 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())),
128
+ 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())),
129
129
  contentType: "application/json",
130
130
  queryParameters: _queryParams,
131
131
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -75,7 +75,7 @@ class Introspect {
75
75
  const _response = yield core.fetcher({
76
76
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/introspect/resources"),
77
77
  method: "GET",
78
- 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())),
78
+ 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())),
79
79
  contentType: "application/json",
80
80
  queryParameters: _queryParams,
81
81
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -146,7 +146,7 @@ class Introspect {
146
146
  const _response = yield core.fetcher({
147
147
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/introspect/historical_pull"),
148
148
  method: "GET",
149
- 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())),
149
+ 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())),
150
150
  contentType: "application/json",
151
151
  queryParameters: _queryParams,
152
152
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -190,10 +190,10 @@ export declare class LabTests {
190
190
  */
191
191
  getResultRaw(orderId: string, requestOptions?: LabTests.RequestOptions): Promise<Vital.LabResultsRaw>;
192
192
  /**
193
- * This endpoint returns the lab results for the order.
193
+ * This endpoint returns the printed labels for the order.
194
194
  * @throws {@link Vital.UnprocessableEntityError}
195
195
  */
196
- getLabelsPdf(orderId: string, request?: Vital.LabTestsGetLabelsPdfRequest, requestOptions?: LabTests.RequestOptions): Promise<stream.Readable>;
196
+ getLabelsPdf(orderId: string, request: Vital.LabTestsGetLabelsPdfRequest, requestOptions?: LabTests.RequestOptions): Promise<stream.Readable>;
197
197
  /**
198
198
  * GET requisition pdf for an order
199
199
  * @throws {@link Vital.UnprocessableEntityError}
@@ -61,7 +61,7 @@ class LabTests {
61
61
  const _response = yield core.fetcher({
62
62
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/lab_tests"),
63
63
  method: "GET",
64
- 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())),
64
+ 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())),
65
65
  contentType: "application/json",
66
66
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
67
67
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -114,7 +114,7 @@ class LabTests {
114
114
  const _response = yield core.fetcher({
115
115
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/lab_tests"),
116
116
  method: "POST",
117
- 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())),
117
+ 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())),
118
118
  contentType: "application/json",
119
119
  body: yield serializers.CreateLabTestRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
120
120
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -191,7 +191,7 @@ class LabTests {
191
191
  const _response = yield core.fetcher({
192
192
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/lab_tests/markers"),
193
193
  method: "GET",
194
- 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())),
194
+ 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())),
195
195
  contentType: "application/json",
196
196
  queryParameters: _queryParams,
197
197
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -256,7 +256,7 @@ class LabTests {
256
256
  const _response = yield core.fetcher({
257
257
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/lab_tests/${labTestId}/markers`),
258
258
  method: "GET",
259
- 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())),
259
+ 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())),
260
260
  contentType: "application/json",
261
261
  queryParameters: _queryParams,
262
262
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -314,7 +314,7 @@ class LabTests {
314
314
  const _response = yield core.fetcher({
315
315
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/lab_tests/${labId}/markers/${providerId}`),
316
316
  method: "GET",
317
- 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())),
317
+ 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())),
318
318
  contentType: "application/json",
319
319
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
320
320
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -370,7 +370,7 @@ class LabTests {
370
370
  const _response = yield core.fetcher({
371
371
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/lab_tests/labs"),
372
372
  method: "GET",
373
- 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())),
373
+ 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())),
374
374
  contentType: "application/json",
375
375
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
376
376
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -417,7 +417,7 @@ class LabTests {
417
417
  const _response = yield core.fetcher({
418
418
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/lab_tests/${labTestId}`),
419
419
  method: "GET",
420
- 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())),
420
+ 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())),
421
421
  contentType: "application/json",
422
422
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
423
423
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -480,7 +480,7 @@ class LabTests {
480
480
  const _response = yield core.fetcher({
481
481
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/order/phlebotomy/appointment/availability"),
482
482
  method: "POST",
483
- 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())),
483
+ 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())),
484
484
  contentType: "application/json",
485
485
  body: yield serializers.UsAddress.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
486
486
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -540,7 +540,7 @@ class LabTests {
540
540
  const _response = yield core.fetcher({
541
541
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}/phlebotomy/appointment/book`),
542
542
  method: "POST",
543
- 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())),
543
+ 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())),
544
544
  contentType: "application/json",
545
545
  body: yield serializers.AppointmentBookingRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
546
546
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -606,7 +606,7 @@ class LabTests {
606
606
  const _response = yield core.fetcher({
607
607
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}/phlebotomy/appointment/request`),
608
608
  method: "POST",
609
- 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())),
609
+ 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())),
610
610
  contentType: "application/json",
611
611
  body: yield serializers.RequestAppointmentRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
612
612
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -666,7 +666,7 @@ class LabTests {
666
666
  const _response = yield core.fetcher({
667
667
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}/phlebotomy/appointment/reschedule`),
668
668
  method: "PATCH",
669
- 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())),
669
+ 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())),
670
670
  contentType: "application/json",
671
671
  body: yield serializers.AppointmentRescheduleRequest.jsonOrThrow(request, {
672
672
  unrecognizedObjectKeys: "strip",
@@ -728,7 +728,7 @@ class LabTests {
728
728
  const _response = yield core.fetcher({
729
729
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}/phlebotomy/appointment/cancel`),
730
730
  method: "PATCH",
731
- 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())),
731
+ 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())),
732
732
  contentType: "application/json",
733
733
  body: yield serializers.AppointmentCancelRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
734
734
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -785,7 +785,7 @@ class LabTests {
785
785
  const _response = yield core.fetcher({
786
786
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/order/phlebotomy/appointment/cancellation-reasons"),
787
787
  method: "GET",
788
- 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())),
788
+ 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())),
789
789
  contentType: "application/json",
790
790
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
791
791
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -832,7 +832,7 @@ class LabTests {
832
832
  const _response = yield core.fetcher({
833
833
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}/phlebotomy/appointment`),
834
834
  method: "GET",
835
- 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())),
835
+ 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())),
836
836
  contentType: "application/json",
837
837
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
838
838
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -898,7 +898,7 @@ class LabTests {
898
898
  const _response = yield core.fetcher({
899
899
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/order/area/info"),
900
900
  method: "GET",
901
- 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())),
901
+ 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())),
902
902
  contentType: "application/json",
903
903
  queryParameters: _queryParams,
904
904
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -953,7 +953,7 @@ class LabTests {
953
953
  const _response = yield core.fetcher({
954
954
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}/result/pdf`),
955
955
  method: "GET",
956
- 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())),
956
+ 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())),
957
957
  contentType: "application/json",
958
958
  responseType: "streaming",
959
959
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1007,7 +1007,7 @@ class LabTests {
1007
1007
  const _response = yield core.fetcher({
1008
1008
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}/result/metadata`),
1009
1009
  method: "GET",
1010
- 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())),
1010
+ 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())),
1011
1011
  contentType: "application/json",
1012
1012
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1013
1013
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -1064,7 +1064,7 @@ class LabTests {
1064
1064
  const _response = yield core.fetcher({
1065
1065
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}/result`),
1066
1066
  method: "GET",
1067
- 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())),
1067
+ 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())),
1068
1068
  contentType: "application/json",
1069
1069
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1070
1070
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -1109,10 +1109,10 @@ class LabTests {
1109
1109
  });
1110
1110
  }
1111
1111
  /**
1112
- * This endpoint returns the lab results for the order.
1112
+ * This endpoint returns the printed labels for the order.
1113
1113
  * @throws {@link Vital.UnprocessableEntityError}
1114
1114
  */
1115
- getLabelsPdf(orderId, request = {}, requestOptions) {
1115
+ getLabelsPdf(orderId, request, requestOptions) {
1116
1116
  var _a;
1117
1117
  return __awaiter(this, void 0, void 0, function* () {
1118
1118
  const { numberOfLabels, collectionDate } = request;
@@ -1120,13 +1120,11 @@ class LabTests {
1120
1120
  if (numberOfLabels != null) {
1121
1121
  _queryParams["number_of_labels"] = numberOfLabels.toString();
1122
1122
  }
1123
- if (collectionDate != null) {
1124
- _queryParams["collection_date"] = collectionDate.toISOString();
1125
- }
1123
+ _queryParams["collection_date"] = collectionDate.toISOString();
1126
1124
  const _response = yield core.fetcher({
1127
1125
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}/labels/pdf`),
1128
1126
  method: "GET",
1129
- 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())),
1127
+ 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())),
1130
1128
  contentType: "application/json",
1131
1129
  queryParameters: _queryParams,
1132
1130
  responseType: "streaming",
@@ -1177,7 +1175,7 @@ class LabTests {
1177
1175
  const _response = yield core.fetcher({
1178
1176
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}/requisition/pdf`),
1179
1177
  method: "GET",
1180
- 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())),
1178
+ 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())),
1181
1179
  contentType: "application/json",
1182
1180
  responseType: "streaming",
1183
1181
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1227,7 +1225,7 @@ class LabTests {
1227
1225
  const _response = yield core.fetcher({
1228
1226
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}`),
1229
1227
  method: "GET",
1230
- 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())),
1228
+ 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())),
1231
1229
  contentType: "application/json",
1232
1230
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1233
1231
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -1281,7 +1279,7 @@ class LabTests {
1281
1279
  const _response = yield core.fetcher({
1282
1280
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/order"),
1283
1281
  method: "POST",
1284
- 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())),
1282
+ 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())),
1285
1283
  contentType: "application/json",
1286
1284
  body: yield serializers.CreateOrderRequestCompatible.jsonOrThrow(request, {
1287
1285
  unrecognizedObjectKeys: "strip",
@@ -1338,7 +1336,7 @@ class LabTests {
1338
1336
  const _response = yield core.fetcher({
1339
1337
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}/cancel`),
1340
1338
  method: "POST",
1341
- 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())),
1339
+ 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())),
1342
1340
  contentType: "application/json",
1343
1341
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1344
1342
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -1403,7 +1401,7 @@ class LabTests {
1403
1401
  const _response = yield core.fetcher({
1404
1402
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}/test`),
1405
1403
  method: "POST",
1406
- 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())),
1404
+ 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())),
1407
1405
  contentType: "application/json",
1408
1406
  queryParameters: _queryParams,
1409
1407
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1484,7 +1482,7 @@ class LabTests {
1484
1482
  const _response = yield core.fetcher({
1485
1483
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/orders"),
1486
1484
  method: "GET",
1487
- 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())),
1485
+ 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())),
1488
1486
  contentType: "application/json",
1489
1487
  queryParameters: _queryParams,
1490
1488
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -10,9 +10,8 @@ export interface CreateOrderRequestCompatible {
10
10
  /** Defines whether order is priority or not. For some labs, this refers to a STAT order. */
11
11
  priority?: boolean;
12
12
  consents?: Vital.Consent[];
13
- /** Schedule an Order to be processed in a future date. */
14
13
  activateBy?: string;
15
14
  aoeAnswers?: Vital.AoEAnswer[];
16
15
  patientDetails: Vital.PatientDetails;
17
- patientAddress: Vital.PatientAddressCompatible;
16
+ patientAddress: Vital.PatientAddressCompatibleInput;
18
17
  }
@@ -9,5 +9,5 @@ export interface LabTestsGetLabelsPdfRequest {
9
9
  /**
10
10
  * Collection date
11
11
  */
12
- collectionDate?: Date;
12
+ collectionDate: Date;
13
13
  }
@@ -80,7 +80,7 @@ class Link {
80
80
  const _response = yield core.fetcher({
81
81
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/link/token"),
82
82
  method: "POST",
83
- 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())),
83
+ 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())),
84
84
  contentType: "application/json",
85
85
  body: yield serializers.LinkTokenExchange.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
86
86
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -139,7 +139,7 @@ class Link {
139
139
  const _response = yield core.fetcher({
140
140
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/link/token/isValid"),
141
141
  method: "POST",
142
- 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())),
142
+ 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())),
143
143
  contentType: "application/json",
144
144
  body: yield serializers.LinkTokenBase.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
145
145
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -205,7 +205,7 @@ class Link {
205
205
  const _response = yield core.fetcher({
206
206
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/link/code/create"),
207
207
  method: "POST",
208
- 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())),
208
+ 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())),
209
209
  contentType: "application/json",
210
210
  queryParameters: _queryParams,
211
211
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -267,7 +267,7 @@ class Link {
267
267
  const _response = yield core.fetcher({
268
268
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/link/start"),
269
269
  method: "POST",
270
- 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())),
270
+ 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())),
271
271
  contentType: "application/json",
272
272
  body: yield serializers.BeginLinkTokenRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
273
273
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -327,7 +327,7 @@ class Link {
327
327
  const _response = yield core.fetcher({
328
328
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/link/state"),
329
329
  method: "GET",
330
- 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())),
330
+ 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())),
331
331
  contentType: "application/json",
332
332
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
333
333
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -389,7 +389,7 @@ class Link {
389
389
  const _response = yield core.fetcher({
390
390
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/link/auth/email"),
391
391
  method: "POST",
392
- 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())),
392
+ 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())),
393
393
  contentType: "application/json",
394
394
  body: yield serializers.EmailAuthLink.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }),
395
395
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -453,7 +453,7 @@ class Link {
453
453
  const _response = yield core.fetcher({
454
454
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/link/auth"),
455
455
  method: "POST",
456
- 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())),
456
+ 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())),
457
457
  contentType: "application/json",
458
458
  body: yield serializers.PasswordAuthLink.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }),
459
459
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -512,7 +512,7 @@ class Link {
512
512
  const _response = yield core.fetcher({
513
513
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/link/provider/oauth/${yield serializers.OAuthProviders.jsonOrThrow(oauthProvider)}`),
514
514
  method: "GET",
515
- 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())),
515
+ 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())),
516
516
  contentType: "application/json",
517
517
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
518
518
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -573,7 +573,7 @@ class Link {
573
573
  const _response = yield core.fetcher({
574
574
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/link/provider/password/${yield serializers.PasswordProviders.jsonOrThrow(provider)}`),
575
575
  method: "POST",
576
- 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())),
576
+ 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())),
577
577
  contentType: "application/json",
578
578
  body: yield serializers.IndividualProviderData.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }),
579
579
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -634,7 +634,7 @@ class Link {
634
634
  const _response = yield core.fetcher({
635
635
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/link/provider/password/${yield serializers.PasswordProviders.jsonOrThrow(provider)}/complete_mfa`),
636
636
  method: "POST",
637
- 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())),
637
+ 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())),
638
638
  contentType: "application/json",
639
639
  body: yield serializers.CompletePasswordProviderMfaBody.jsonOrThrow(_body, {
640
640
  unrecognizedObjectKeys: "strip",
@@ -697,7 +697,7 @@ class Link {
697
697
  const _response = yield core.fetcher({
698
698
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/link/provider/email/${yield serializers.EmailProviders.jsonOrThrow(provider)}`),
699
699
  method: "POST",
700
- 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())),
700
+ 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())),
701
701
  contentType: "application/json",
702
702
  body: yield serializers.EmailProviderAuthLink.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }),
703
703
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -756,7 +756,7 @@ class Link {
756
756
  const _response = yield core.fetcher({
757
757
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/link/providers"),
758
758
  method: "GET",
759
- 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())),
759
+ 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())),
760
760
  contentType: "application/json",
761
761
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
762
762
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -814,7 +814,7 @@ class Link {
814
814
  const _response = yield core.fetcher({
815
815
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/link/provider/manual/${yield serializers.ManualProviders.jsonOrThrow(provider)}`),
816
816
  method: "POST",
817
- 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())),
817
+ 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())),
818
818
  contentType: "application/json",
819
819
  body: yield serializers.ManualConnectionData.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
820
820
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -875,7 +875,7 @@ class Link {
875
875
  const _response = yield core.fetcher({
876
876
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/link/connect/demo"),
877
877
  method: "POST",
878
- 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())),
878
+ 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())),
879
879
  contentType: "application/json",
880
880
  body: yield serializers.DemoConnectionCreationPayload.jsonOrThrow(request, {
881
881
  unrecognizedObjectKeys: "strip",
@@ -73,7 +73,7 @@ class Meal {
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/meal/${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,
@@ -67,7 +67,7 @@ class Profile {
67
67
  const _response = yield core.fetcher({
68
68
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/profile/${userId}`),
69
69
  method: "GET",
70
- 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())),
70
+ 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())),
71
71
  contentType: "application/json",
72
72
  queryParameters: _queryParams,
73
73
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -130,7 +130,7 @@ class Profile {
130
130
  const _response = yield core.fetcher({
131
131
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/profile/${userId}/raw`),
132
132
  method: "GET",
133
- 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())),
133
+ 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())),
134
134
  contentType: "application/json",
135
135
  queryParameters: _queryParams,
136
136
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,