@tryvital/vital-node 3.1.14 → 3.1.16

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 (759) 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/insurance/client/Client.js +2 -2
  5. package/api/resources/introspect/client/Client.js +2 -2
  6. package/api/resources/labTests/client/Client.d.ts +0 -13
  7. package/api/resources/labTests/client/Client.js +25 -137
  8. package/api/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +1 -2
  9. package/api/resources/labTests/client/requests/index.d.ts +0 -1
  10. package/api/resources/link/client/Client.js +14 -14
  11. package/api/resources/meal/client/Client.js +1 -1
  12. package/api/resources/profile/client/Client.js +2 -2
  13. package/api/resources/providers/client/Client.js +1 -1
  14. package/api/resources/sleep/client/Client.js +4 -4
  15. package/api/resources/team/client/Client.d.ts +2 -5
  16. package/api/resources/team/client/Client.js +13 -30
  17. package/api/resources/team/client/requests/index.d.ts +0 -1
  18. package/api/resources/testkit/client/Client.js +2 -2
  19. package/api/resources/testkit/client/requests/RegisterTestkitRequest.d.ts +1 -1
  20. package/api/resources/user/client/Client.js +12 -12
  21. package/api/resources/user/client/requests/UserCreateBody.d.ts +0 -8
  22. package/api/resources/user/client/requests/UserPatchBody.d.ts +0 -8
  23. package/api/resources/vitals/client/Client.js +50 -50
  24. package/api/resources/workouts/client/Client.js +3 -3
  25. package/api/types/AppointmentEventStatus.d.ts +0 -3
  26. package/api/types/AppointmentProvider.d.ts +0 -3
  27. package/api/types/AppointmentServiceType.d.ts +0 -3
  28. package/api/types/AppointmentStatus.d.ts +0 -3
  29. package/api/types/AppointmentType.d.ts +0 -3
  30. package/api/types/AttemptStatus.d.ts +0 -3
  31. package/api/types/AuthType.d.ts +0 -3
  32. package/api/types/Availability.d.ts +0 -3
  33. package/api/types/ClientFacingActivity.d.ts +0 -12
  34. package/api/types/ClientFacingAppointment.d.ts +0 -2
  35. package/api/types/ClientFacingBloodOxygenTimeseries.d.ts +0 -3
  36. package/api/types/ClientFacingBloodPressureTimeseries.d.ts +0 -3
  37. package/api/types/ClientFacingBody.d.ts +0 -2
  38. package/api/types/ClientFacingBodyFatTimeseries.d.ts +0 -3
  39. package/api/types/ClientFacingBodyWeightTimeseries.d.ts +0 -3
  40. package/api/types/ClientFacingCaffeineTimeseries.d.ts +0 -3
  41. package/api/types/ClientFacingCaloriesActiveTimeseries.d.ts +0 -3
  42. package/api/types/ClientFacingCaloriesBasalTimeseries.d.ts +0 -3
  43. package/api/types/ClientFacingCholesterolTimeseries.d.ts +0 -3
  44. package/api/types/ClientFacingDistanceTimeseries.d.ts +0 -3
  45. package/api/types/ClientFacingElectrocardiogramVoltageTimeseries.d.ts +2 -4
  46. package/api/types/ClientFacingFloorsClimbedTimeseries.d.ts +0 -3
  47. package/api/types/ClientFacingGlucoseTimeseries.d.ts +0 -3
  48. package/api/types/ClientFacingHeartRate.d.ts +0 -4
  49. package/api/types/ClientFacingHeartRateTimeseries.d.ts +0 -3
  50. package/api/types/ClientFacingHrvTimeseries.d.ts +0 -3
  51. package/api/types/ClientFacingHypnogramTimeseries.d.ts +0 -3
  52. package/api/types/ClientFacingIgeTimeseries.d.ts +0 -3
  53. package/api/types/ClientFacingIggTimeseries.d.ts +0 -3
  54. package/api/types/ClientFacingLabTest.d.ts +7 -0
  55. package/api/types/ClientFacingMindfulnessMinutesTimeseries.d.ts +0 -3
  56. package/api/types/ClientFacingOrder.d.ts +1 -9
  57. package/api/types/ClientFacingProviderDetailed.d.ts +0 -1
  58. package/api/types/ClientFacingResource.d.ts +0 -3
  59. package/api/types/ClientFacingRespiratoryRateTimeseries.d.ts +0 -3
  60. package/api/types/{Beneficiary.d.ts → ClientFacingSampleGroupingKeys.d.ts} +1 -3
  61. package/api/types/ClientFacingShipment.d.ts +0 -7
  62. package/api/types/ClientFacingSleep.d.ts +0 -11
  63. package/api/types/ClientFacingSource.d.ts +0 -1
  64. package/api/types/ClientFacingStepsTimeseries.d.ts +0 -3
  65. package/api/types/ClientFacingStream.d.ts +19 -10
  66. package/api/types/ClientFacingStreamAltitude.d.ts +7 -0
  67. package/api/types/ClientFacingStreamCadence.d.ts +7 -0
  68. package/api/types/ClientFacingStreamDistance.d.ts +7 -0
  69. package/api/types/ClientFacingStreamHeartrate.d.ts +7 -0
  70. package/api/types/ClientFacingStreamLat.d.ts +7 -0
  71. package/api/types/ClientFacingStreamLng.d.ts +7 -0
  72. package/api/types/ClientFacingStreamPower.d.ts +7 -0
  73. package/api/types/ClientFacingStreamResistance.d.ts +7 -0
  74. package/api/types/{PostOrderPatientBirthDate.d.ts → ClientFacingStreamVelocitySmooth.d.ts} +4 -1
  75. package/api/types/ClientFacingStressLevelTimeseries.d.ts +0 -3
  76. package/api/types/ClientFacingTestkitOrder.d.ts +0 -1
  77. package/api/types/ClientFacingUser.d.ts +0 -7
  78. package/api/types/ClientFacingVo2MaxTimeseries.d.ts +0 -3
  79. package/api/types/ClientFacingWaterTimeseries.d.ts +0 -3
  80. package/api/types/ClientFacingWorkout.d.ts +1 -18
  81. package/api/types/ConsentType.d.ts +0 -3
  82. package/api/types/DelegatedFlowType.d.ts +0 -3
  83. package/api/types/DemoProviders.d.ts +0 -3
  84. package/api/types/EmailProviders.d.ts +0 -3
  85. package/api/types/Fats.d.ts +0 -6
  86. package/api/types/Gender.d.ts +0 -3
  87. package/api/types/GroupedBloodOxygenResponse.d.ts +0 -1
  88. package/api/types/GroupedBloodPressureResponse.d.ts +0 -1
  89. package/api/types/GroupedBodyFatResponse.d.ts +0 -1
  90. package/api/types/GroupedBodyWeightResponse.d.ts +0 -1
  91. package/api/types/GroupedCaffeineResponse.d.ts +0 -1
  92. package/api/types/GroupedCaloriesActiveResponse.d.ts +0 -1
  93. package/api/types/GroupedCaloriesBasalResponse.d.ts +0 -1
  94. package/api/types/GroupedCholesterolResponse.d.ts +0 -1
  95. package/api/types/GroupedDistanceResponse.d.ts +0 -1
  96. package/api/types/GroupedElectrocardiogramVoltageResponse.d.ts +0 -1
  97. package/api/types/GroupedFloorsClimbedResponse.d.ts +0 -1
  98. package/api/types/GroupedGlucoseResponse.d.ts +0 -1
  99. package/api/types/GroupedHeartRateResponse.d.ts +0 -1
  100. package/api/types/GroupedHrvResponse.d.ts +0 -1
  101. package/api/types/GroupedHypnogramResponse.d.ts +0 -1
  102. package/api/types/GroupedIgeResponse.d.ts +0 -1
  103. package/api/types/GroupedIggResponse.d.ts +0 -1
  104. package/api/types/GroupedMindfulnessMinutesResponse.d.ts +0 -1
  105. package/api/types/GroupedRespiratoryRateResponse.d.ts +0 -1
  106. package/api/types/GroupedStepsResponse.d.ts +0 -1
  107. package/api/types/GroupedStressLevelResponse.d.ts +0 -1
  108. package/api/types/GroupedVo2MaxResponse.d.ts +0 -1
  109. package/api/types/GroupedWaterResponse.d.ts +0 -1
  110. package/api/types/HealthInsuranceCreateRequest.d.ts +0 -7
  111. package/api/types/HealthInsuranceCreateRequestBackImage.d.ts +1 -9
  112. package/api/types/HealthInsuranceCreateRequestFrontImage.d.ts +1 -9
  113. package/api/types/HealthInsuranceCreateRequestPatientSignatureImage.d.ts +1 -9
  114. package/api/types/HistoricalPullStatus.d.ts +0 -3
  115. package/api/types/Jpeg.d.ts +1 -0
  116. package/api/types/LabTestStatus.d.ts +0 -3
  117. package/api/types/Labs.d.ts +13 -0
  118. package/api/types/Labs.js +15 -0
  119. package/api/types/Macros.d.ts +0 -6
  120. package/api/types/ManualProviders.d.ts +0 -3
  121. package/api/types/MarkerType.d.ts +0 -3
  122. package/api/types/Micros.d.ts +3 -6
  123. package/api/types/OAuthProviders.d.ts +0 -3
  124. package/api/types/OrderStatus.d.ts +0 -3
  125. package/api/types/OrderTopLevelStatus.d.ts +0 -3
  126. package/api/types/PasswordProviders.d.ts +0 -3
  127. package/api/types/PatientAddressCompatibleInput.d.ts +13 -0
  128. package/api/types/{PatientAddressCompatible.d.ts → PatientAddressCompatibleOutput.d.ts} +1 -1
  129. package/api/types/PhysicianCreateRequestSignatureImage.d.ts +1 -9
  130. package/api/types/Png.d.ts +1 -0
  131. package/api/types/ProviderLinkResponse.d.ts +1 -1
  132. package/api/types/Providers.d.ts +0 -3
  133. package/api/types/QuestionType.d.ts +0 -3
  134. package/api/types/Region.d.ts +0 -3
  135. package/api/types/ResponsibleRelationship.d.ts +0 -3
  136. package/api/types/ResultType.d.ts +0 -3
  137. package/api/types/SourceAuthType.d.ts +0 -3
  138. package/api/types/SourceType.d.ts +0 -3
  139. package/api/types/TimeseriesResource.d.ts +0 -3
  140. package/api/types/UsAddress.d.ts +0 -1
  141. package/api/types/index.d.ts +59 -91
  142. package/api/types/index.js +59 -91
  143. package/dist/api/resources/activity/client/Client.js +2 -2
  144. package/dist/api/resources/body/client/Client.js +2 -2
  145. package/dist/api/resources/devices/client/Client.js +1 -1
  146. package/dist/api/resources/insurance/client/Client.js +2 -2
  147. package/dist/api/resources/introspect/client/Client.js +2 -2
  148. package/dist/api/resources/labTests/client/Client.d.ts +0 -13
  149. package/dist/api/resources/labTests/client/Client.js +25 -137
  150. package/dist/api/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +1 -2
  151. package/dist/api/resources/labTests/client/requests/index.d.ts +0 -1
  152. package/dist/api/resources/link/client/Client.js +14 -14
  153. package/dist/api/resources/meal/client/Client.js +1 -1
  154. package/dist/api/resources/profile/client/Client.js +2 -2
  155. package/dist/api/resources/providers/client/Client.js +1 -1
  156. package/dist/api/resources/sleep/client/Client.js +4 -4
  157. package/dist/api/resources/team/client/Client.d.ts +2 -5
  158. package/dist/api/resources/team/client/Client.js +13 -30
  159. package/dist/api/resources/team/client/requests/index.d.ts +0 -1
  160. package/dist/api/resources/testkit/client/Client.js +2 -2
  161. package/dist/api/resources/testkit/client/requests/RegisterTestkitRequest.d.ts +1 -1
  162. package/dist/api/resources/user/client/Client.js +12 -12
  163. package/dist/api/resources/user/client/requests/UserCreateBody.d.ts +0 -8
  164. package/dist/api/resources/user/client/requests/UserPatchBody.d.ts +0 -8
  165. package/dist/api/resources/vitals/client/Client.js +50 -50
  166. package/dist/api/resources/workouts/client/Client.js +3 -3
  167. package/dist/api/types/AppointmentEventStatus.d.ts +0 -3
  168. package/dist/api/types/AppointmentProvider.d.ts +0 -3
  169. package/dist/api/types/AppointmentServiceType.d.ts +0 -3
  170. package/dist/api/types/AppointmentStatus.d.ts +0 -3
  171. package/dist/api/types/AppointmentType.d.ts +0 -3
  172. package/dist/api/types/AttemptStatus.d.ts +0 -3
  173. package/dist/api/types/AuthType.d.ts +0 -3
  174. package/dist/api/types/Availability.d.ts +0 -3
  175. package/dist/api/types/ClientFacingActivity.d.ts +0 -12
  176. package/dist/api/types/ClientFacingAppointment.d.ts +0 -2
  177. package/dist/api/types/ClientFacingBloodOxygenTimeseries.d.ts +0 -3
  178. package/dist/api/types/ClientFacingBloodPressureTimeseries.d.ts +0 -3
  179. package/dist/api/types/ClientFacingBody.d.ts +0 -2
  180. package/dist/api/types/ClientFacingBodyFatTimeseries.d.ts +0 -3
  181. package/dist/api/types/ClientFacingBodyWeightTimeseries.d.ts +0 -3
  182. package/dist/api/types/ClientFacingCaffeineTimeseries.d.ts +0 -3
  183. package/dist/api/types/ClientFacingCaloriesActiveTimeseries.d.ts +0 -3
  184. package/dist/api/types/ClientFacingCaloriesBasalTimeseries.d.ts +0 -3
  185. package/dist/api/types/ClientFacingCholesterolTimeseries.d.ts +0 -3
  186. package/dist/api/types/ClientFacingDistanceTimeseries.d.ts +0 -3
  187. package/dist/api/types/ClientFacingElectrocardiogramVoltageTimeseries.d.ts +2 -4
  188. package/dist/api/types/ClientFacingFloorsClimbedTimeseries.d.ts +0 -3
  189. package/dist/api/types/ClientFacingGlucoseTimeseries.d.ts +0 -3
  190. package/dist/api/types/ClientFacingHeartRate.d.ts +0 -4
  191. package/dist/api/types/ClientFacingHeartRateTimeseries.d.ts +0 -3
  192. package/dist/api/types/ClientFacingHrvTimeseries.d.ts +0 -3
  193. package/dist/api/types/ClientFacingHypnogramTimeseries.d.ts +0 -3
  194. package/dist/api/types/ClientFacingIgeTimeseries.d.ts +0 -3
  195. package/dist/api/types/ClientFacingIggTimeseries.d.ts +0 -3
  196. package/dist/api/types/ClientFacingLabTest.d.ts +7 -0
  197. package/dist/api/types/ClientFacingMindfulnessMinutesTimeseries.d.ts +0 -3
  198. package/dist/api/types/ClientFacingOrder.d.ts +1 -9
  199. package/dist/api/types/ClientFacingProviderDetailed.d.ts +0 -1
  200. package/dist/api/types/ClientFacingResource.d.ts +0 -3
  201. package/dist/api/types/ClientFacingRespiratoryRateTimeseries.d.ts +0 -3
  202. package/{api/types/Low.d.ts → dist/api/types/ClientFacingSampleGroupingKeys.d.ts} +1 -3
  203. package/dist/api/types/ClientFacingShipment.d.ts +0 -7
  204. package/dist/api/types/ClientFacingSleep.d.ts +0 -11
  205. package/dist/api/types/ClientFacingSource.d.ts +0 -1
  206. package/dist/api/types/ClientFacingStepsTimeseries.d.ts +0 -3
  207. package/dist/api/types/ClientFacingStream.d.ts +19 -10
  208. package/dist/api/types/ClientFacingStreamAltitude.d.ts +7 -0
  209. package/dist/api/types/ClientFacingStreamCadence.d.ts +7 -0
  210. package/dist/api/types/ClientFacingStreamDistance.d.ts +7 -0
  211. package/dist/api/types/ClientFacingStreamHeartrate.d.ts +7 -0
  212. package/dist/api/types/ClientFacingStreamLat.d.ts +7 -0
  213. package/dist/api/types/ClientFacingStreamLng.d.ts +7 -0
  214. package/dist/api/types/ClientFacingStreamPower.d.ts +7 -0
  215. package/dist/api/types/ClientFacingStreamResistance.d.ts +7 -0
  216. package/dist/api/types/{PostOrderPatientBirthDate.d.ts → ClientFacingStreamVelocitySmooth.d.ts} +4 -1
  217. package/dist/api/types/ClientFacingStressLevelTimeseries.d.ts +0 -3
  218. package/dist/api/types/ClientFacingTestkitOrder.d.ts +0 -1
  219. package/dist/api/types/ClientFacingUser.d.ts +0 -7
  220. package/dist/api/types/ClientFacingVo2MaxTimeseries.d.ts +0 -3
  221. package/dist/api/types/ClientFacingWaterTimeseries.d.ts +0 -3
  222. package/dist/api/types/ClientFacingWorkout.d.ts +1 -18
  223. package/dist/api/types/ConsentType.d.ts +0 -3
  224. package/dist/api/types/DelegatedFlowType.d.ts +0 -3
  225. package/dist/api/types/DemoProviders.d.ts +0 -3
  226. package/dist/api/types/EmailProviders.d.ts +0 -3
  227. package/dist/api/types/Fats.d.ts +0 -6
  228. package/dist/api/types/Gender.d.ts +0 -3
  229. package/dist/api/types/GroupedBloodOxygenResponse.d.ts +0 -1
  230. package/dist/api/types/GroupedBloodPressureResponse.d.ts +0 -1
  231. package/dist/api/types/GroupedBodyFatResponse.d.ts +0 -1
  232. package/dist/api/types/GroupedBodyWeightResponse.d.ts +0 -1
  233. package/dist/api/types/GroupedCaffeineResponse.d.ts +0 -1
  234. package/dist/api/types/GroupedCaloriesActiveResponse.d.ts +0 -1
  235. package/dist/api/types/GroupedCaloriesBasalResponse.d.ts +0 -1
  236. package/dist/api/types/GroupedCholesterolResponse.d.ts +0 -1
  237. package/dist/api/types/GroupedDistanceResponse.d.ts +0 -1
  238. package/dist/api/types/GroupedElectrocardiogramVoltageResponse.d.ts +0 -1
  239. package/dist/api/types/GroupedFloorsClimbedResponse.d.ts +0 -1
  240. package/dist/api/types/GroupedGlucoseResponse.d.ts +0 -1
  241. package/dist/api/types/GroupedHeartRateResponse.d.ts +0 -1
  242. package/dist/api/types/GroupedHrvResponse.d.ts +0 -1
  243. package/dist/api/types/GroupedHypnogramResponse.d.ts +0 -1
  244. package/dist/api/types/GroupedIgeResponse.d.ts +0 -1
  245. package/dist/api/types/GroupedIggResponse.d.ts +0 -1
  246. package/dist/api/types/GroupedMindfulnessMinutesResponse.d.ts +0 -1
  247. package/dist/api/types/GroupedRespiratoryRateResponse.d.ts +0 -1
  248. package/dist/api/types/GroupedStepsResponse.d.ts +0 -1
  249. package/dist/api/types/GroupedStressLevelResponse.d.ts +0 -1
  250. package/dist/api/types/GroupedVo2MaxResponse.d.ts +0 -1
  251. package/dist/api/types/GroupedWaterResponse.d.ts +0 -1
  252. package/dist/api/types/HealthInsuranceCreateRequest.d.ts +0 -7
  253. package/dist/api/types/HealthInsuranceCreateRequestBackImage.d.ts +1 -9
  254. package/dist/api/types/HealthInsuranceCreateRequestFrontImage.d.ts +1 -9
  255. package/dist/api/types/HealthInsuranceCreateRequestPatientSignatureImage.d.ts +1 -9
  256. package/dist/api/types/HistoricalPullStatus.d.ts +0 -3
  257. package/dist/api/types/Jpeg.d.ts +1 -0
  258. package/dist/api/types/LabTestStatus.d.ts +0 -3
  259. package/dist/api/types/Labs.d.ts +13 -0
  260. package/dist/api/types/Labs.js +15 -0
  261. package/dist/api/types/Macros.d.ts +0 -6
  262. package/dist/api/types/ManualProviders.d.ts +0 -3
  263. package/dist/api/types/MarkerType.d.ts +0 -3
  264. package/dist/api/types/Micros.d.ts +3 -6
  265. package/dist/api/types/OAuthProviders.d.ts +0 -3
  266. package/dist/api/types/OrderStatus.d.ts +0 -3
  267. package/dist/api/types/OrderTopLevelStatus.d.ts +0 -3
  268. package/dist/api/types/PasswordProviders.d.ts +0 -3
  269. package/dist/api/types/PatientAddressCompatibleInput.d.ts +13 -0
  270. package/dist/api/types/{PatientAddressCompatible.d.ts → PatientAddressCompatibleOutput.d.ts} +1 -1
  271. package/dist/api/types/PhysicianCreateRequestSignatureImage.d.ts +1 -9
  272. package/dist/api/types/Png.d.ts +1 -0
  273. package/dist/api/types/ProviderLinkResponse.d.ts +1 -1
  274. package/dist/api/types/Providers.d.ts +0 -3
  275. package/dist/api/types/QuestionType.d.ts +0 -3
  276. package/dist/api/types/Region.d.ts +0 -3
  277. package/dist/api/types/ResponsibleRelationship.d.ts +0 -3
  278. package/dist/api/types/ResultType.d.ts +0 -3
  279. package/dist/api/types/SourceAuthType.d.ts +0 -3
  280. package/dist/api/types/SourceType.d.ts +0 -3
  281. package/dist/api/types/TimeseriesResource.d.ts +0 -3
  282. package/dist/api/types/UsAddress.d.ts +0 -1
  283. package/dist/api/types/index.d.ts +59 -91
  284. package/dist/api/types/index.js +59 -91
  285. package/dist/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +2 -2
  286. package/dist/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.js +2 -2
  287. package/dist/serialization/resources/labTests/client/requests/index.d.ts +0 -1
  288. package/dist/serialization/resources/labTests/client/requests/index.js +1 -3
  289. package/dist/serialization/resources/testkit/client/requests/RegisterTestkitRequest.d.ts +2 -2
  290. package/dist/serialization/resources/testkit/client/requests/RegisterTestkitRequest.js +2 -2
  291. package/dist/serialization/types/ClientFacingElectrocardiogramVoltageTimeseries.d.ts +1 -1
  292. package/dist/serialization/types/ClientFacingElectrocardiogramVoltageTimeseries.js +2 -2
  293. package/dist/serialization/types/ClientFacingOrder.d.ts +2 -2
  294. package/dist/serialization/types/ClientFacingOrder.js +2 -2
  295. package/dist/serialization/types/ClientFacingSampleGroupingKeys.d.ts +10 -0
  296. package/dist/serialization/types/{Low.js → ClientFacingSampleGroupingKeys.js} +2 -4
  297. package/dist/serialization/types/ClientFacingStream.d.ts +18 -9
  298. package/dist/serialization/types/ClientFacingStream.js +18 -9
  299. package/dist/serialization/types/ClientFacingStreamAltitude.d.ts +10 -0
  300. package/dist/serialization/types/ClientFacingStreamAltitude.js +34 -0
  301. package/dist/serialization/types/ClientFacingStreamCadence.d.ts +10 -0
  302. package/dist/serialization/types/ClientFacingStreamCadence.js +34 -0
  303. package/dist/serialization/types/ClientFacingStreamDistance.d.ts +10 -0
  304. package/dist/serialization/types/ClientFacingStreamDistance.js +34 -0
  305. package/dist/serialization/types/ClientFacingStreamHeartrate.d.ts +10 -0
  306. package/dist/serialization/types/ClientFacingStreamHeartrate.js +34 -0
  307. package/dist/serialization/types/ClientFacingStreamLat.d.ts +10 -0
  308. package/dist/serialization/types/{AnswerItem.js → ClientFacingStreamLat.js} +5 -4
  309. package/dist/serialization/types/ClientFacingStreamLng.d.ts +10 -0
  310. package/dist/serialization/types/{Beneficiary.js → ClientFacingStreamLng.js} +5 -4
  311. package/dist/serialization/types/ClientFacingStreamPower.d.ts +10 -0
  312. package/dist/serialization/types/ClientFacingStreamPower.js +34 -0
  313. package/dist/serialization/types/ClientFacingStreamResistance.d.ts +10 -0
  314. package/dist/serialization/types/ClientFacingStreamResistance.js +34 -0
  315. package/dist/serialization/types/ClientFacingStreamVelocitySmooth.d.ts +10 -0
  316. package/dist/serialization/types/ClientFacingStreamVelocitySmooth.js +34 -0
  317. package/dist/serialization/types/ClientFacingWorkout.d.ts +1 -0
  318. package/dist/serialization/types/ClientFacingWorkout.js +1 -0
  319. package/dist/serialization/types/HealthInsuranceCreateRequestBackImage.d.ts +1 -7
  320. package/dist/serialization/types/HealthInsuranceCreateRequestBackImage.js +1 -9
  321. package/dist/serialization/types/HealthInsuranceCreateRequestFrontImage.d.ts +1 -7
  322. package/dist/serialization/types/HealthInsuranceCreateRequestFrontImage.js +1 -9
  323. package/dist/serialization/types/HealthInsuranceCreateRequestPatientSignatureImage.d.ts +1 -7
  324. package/dist/serialization/types/HealthInsuranceCreateRequestPatientSignatureImage.js +1 -9
  325. package/dist/serialization/types/Jpeg.d.ts +1 -0
  326. package/dist/serialization/types/Jpeg.js +1 -0
  327. package/dist/serialization/types/Labs.d.ts +10 -0
  328. package/dist/serialization/types/{Priority.js → Labs.js} +9 -6
  329. package/dist/serialization/types/Micros.d.ts +3 -3
  330. package/dist/serialization/types/Micros.js +3 -3
  331. package/dist/serialization/types/PatientAddressCompatibleInput.d.ts +19 -0
  332. package/dist/serialization/types/{Addres.js → PatientAddressCompatibleInput.js} +7 -6
  333. package/dist/serialization/types/{PatientAddressCompatible.d.ts → PatientAddressCompatibleOutput.d.ts} +2 -2
  334. package/dist/serialization/types/{PatientAddressCompatible.js → PatientAddressCompatibleOutput.js} +2 -2
  335. package/dist/serialization/types/PhysicianCreateRequestSignatureImage.d.ts +1 -7
  336. package/dist/serialization/types/PhysicianCreateRequestSignatureImage.js +1 -9
  337. package/dist/serialization/types/Png.d.ts +1 -0
  338. package/dist/serialization/types/Png.js +1 -0
  339. package/dist/serialization/types/ProfileInDb.d.ts +1 -1
  340. package/dist/serialization/types/ProfileInDb.js +1 -1
  341. package/dist/serialization/types/ProviderLinkResponse.d.ts +1 -1
  342. package/dist/serialization/types/ProviderLinkResponse.js +1 -1
  343. package/dist/serialization/types/index.d.ts +59 -91
  344. package/dist/serialization/types/index.js +59 -91
  345. package/package.json +1 -1
  346. package/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +2 -2
  347. package/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.js +2 -2
  348. package/serialization/resources/labTests/client/requests/index.d.ts +0 -1
  349. package/serialization/resources/labTests/client/requests/index.js +1 -3
  350. package/serialization/resources/testkit/client/requests/RegisterTestkitRequest.d.ts +2 -2
  351. package/serialization/resources/testkit/client/requests/RegisterTestkitRequest.js +2 -2
  352. package/serialization/types/ClientFacingElectrocardiogramVoltageTimeseries.d.ts +1 -1
  353. package/serialization/types/ClientFacingElectrocardiogramVoltageTimeseries.js +2 -2
  354. package/serialization/types/ClientFacingOrder.d.ts +2 -2
  355. package/serialization/types/ClientFacingOrder.js +2 -2
  356. package/serialization/types/ClientFacingSampleGroupingKeys.d.ts +10 -0
  357. package/{dist/serialization/types/High.js → serialization/types/ClientFacingSampleGroupingKeys.js} +2 -4
  358. package/serialization/types/ClientFacingStream.d.ts +18 -9
  359. package/serialization/types/ClientFacingStream.js +18 -9
  360. package/serialization/types/ClientFacingStreamAltitude.d.ts +10 -0
  361. package/serialization/types/ClientFacingStreamAltitude.js +34 -0
  362. package/serialization/types/ClientFacingStreamCadence.d.ts +10 -0
  363. package/serialization/types/ClientFacingStreamCadence.js +34 -0
  364. package/serialization/types/ClientFacingStreamDistance.d.ts +10 -0
  365. package/serialization/types/ClientFacingStreamDistance.js +34 -0
  366. package/serialization/types/ClientFacingStreamHeartrate.d.ts +10 -0
  367. package/serialization/types/ClientFacingStreamHeartrate.js +34 -0
  368. package/serialization/types/ClientFacingStreamLat.d.ts +10 -0
  369. package/serialization/types/ClientFacingStreamLat.js +34 -0
  370. package/serialization/types/ClientFacingStreamLng.d.ts +10 -0
  371. package/serialization/types/ClientFacingStreamLng.js +34 -0
  372. package/serialization/types/ClientFacingStreamPower.d.ts +10 -0
  373. package/serialization/types/ClientFacingStreamPower.js +34 -0
  374. package/serialization/types/ClientFacingStreamResistance.d.ts +10 -0
  375. package/serialization/types/ClientFacingStreamResistance.js +34 -0
  376. package/serialization/types/ClientFacingStreamVelocitySmooth.d.ts +10 -0
  377. package/serialization/types/ClientFacingStreamVelocitySmooth.js +34 -0
  378. package/serialization/types/ClientFacingWorkout.d.ts +1 -0
  379. package/serialization/types/ClientFacingWorkout.js +1 -0
  380. package/serialization/types/HealthInsuranceCreateRequestBackImage.d.ts +1 -7
  381. package/serialization/types/HealthInsuranceCreateRequestBackImage.js +1 -9
  382. package/serialization/types/HealthInsuranceCreateRequestFrontImage.d.ts +1 -7
  383. package/serialization/types/HealthInsuranceCreateRequestFrontImage.js +1 -9
  384. package/serialization/types/HealthInsuranceCreateRequestPatientSignatureImage.d.ts +1 -7
  385. package/serialization/types/HealthInsuranceCreateRequestPatientSignatureImage.js +1 -9
  386. package/serialization/types/Jpeg.d.ts +1 -0
  387. package/serialization/types/Jpeg.js +1 -0
  388. package/serialization/types/Labs.d.ts +10 -0
  389. package/serialization/types/{Priority.js → Labs.js} +9 -6
  390. package/serialization/types/Micros.d.ts +3 -3
  391. package/serialization/types/Micros.js +3 -3
  392. package/serialization/types/PatientAddressCompatibleInput.d.ts +19 -0
  393. package/serialization/types/{Addres.js → PatientAddressCompatibleInput.js} +7 -6
  394. package/serialization/types/{PatientAddressCompatible.d.ts → PatientAddressCompatibleOutput.d.ts} +2 -2
  395. package/serialization/types/{PatientAddressCompatible.js → PatientAddressCompatibleOutput.js} +2 -2
  396. package/serialization/types/PhysicianCreateRequestSignatureImage.d.ts +1 -7
  397. package/serialization/types/PhysicianCreateRequestSignatureImage.js +1 -9
  398. package/serialization/types/Png.d.ts +1 -0
  399. package/serialization/types/Png.js +1 -0
  400. package/serialization/types/ProfileInDb.d.ts +1 -1
  401. package/serialization/types/ProfileInDb.js +1 -1
  402. package/serialization/types/ProviderLinkResponse.d.ts +1 -1
  403. package/serialization/types/ProviderLinkResponse.js +1 -1
  404. package/serialization/types/index.d.ts +59 -91
  405. package/serialization/types/index.js +59 -91
  406. package/api/resources/labTests/client/requests/PostOrderFhir.d.ts +0 -9
  407. package/api/resources/team/client/requests/TeamUpdateSourcePrioritiesRequest.d.ts +0 -12
  408. package/api/types/Addres.d.ts +0 -12
  409. package/api/types/AnswerItem.d.ts +0 -6
  410. package/api/types/CodingItem1.d.ts +0 -7
  411. package/api/types/High.d.ts +0 -6
  412. package/api/types/IdentifierItem1.d.ts +0 -7
  413. package/api/types/InterpretationItem.d.ts +0 -7
  414. package/api/types/LabResultsFhir.d.ts +0 -9
  415. package/api/types/Observation.d.ts +0 -16
  416. package/api/types/ObservationEffectiveDateTime.d.ts +0 -4
  417. package/api/types/ObservationIssued.d.ts +0 -4
  418. package/api/types/Patient.d.ts +0 -10
  419. package/api/types/PatientBirthDate.d.ts +0 -4
  420. package/api/types/PayorItem.d.ts +0 -6
  421. package/api/types/Period.d.ts +0 -6
  422. package/api/types/PostOrderCoverage.d.ts +0 -14
  423. package/api/types/PostOrderPatient.d.ts +0 -12
  424. package/api/types/PostOrderPhysician.d.ts +0 -11
  425. package/api/types/PostOrderQuestionnaireResponse.d.ts +0 -10
  426. package/api/types/PostOrderServiceRequest.d.ts +0 -13
  427. package/api/types/PostOrderServiceRequest.js +0 -5
  428. package/api/types/Priority.d.ts +0 -13
  429. package/api/types/Priority.js +0 -12
  430. package/api/types/QualificationItem.d.ts +0 -9
  431. package/api/types/QualificationItem.js +0 -5
  432. package/api/types/QuestionaryItem.d.ts +0 -9
  433. package/api/types/QuestionaryItem.js +0 -5
  434. package/api/types/ReferenceRangeItem.d.ts +0 -8
  435. package/api/types/ReferenceRangeItem.js +0 -5
  436. package/api/types/Relationship.d.ts +0 -7
  437. package/api/types/Relationship.js +0 -5
  438. package/api/types/Requester.d.ts +0 -7
  439. package/api/types/Requester.js +0 -5
  440. package/api/types/Subject.d.ts +0 -7
  441. package/api/types/Subject.js +0 -5
  442. package/api/types/TelecomItem.d.ts +0 -8
  443. package/api/types/TelecomItem.js +0 -5
  444. package/api/types/ValueQuantity.d.ts +0 -8
  445. package/api/types/ValueQuantity.js +0 -5
  446. package/api/types/ValueRange.d.ts +0 -8
  447. package/api/types/ValueRange.js +0 -5
  448. package/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCode.d.ts +0 -7
  449. package/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCode.js +0 -5
  450. package/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCodingItem.d.ts +0 -8
  451. package/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCodingItem.js +0 -5
  452. package/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItem.d.ts +0 -7
  453. package/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItem.js +0 -5
  454. package/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItemResource.d.ts +0 -5
  455. package/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItemResource.js +0 -5
  456. package/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirIdentifierItem.d.ts +0 -6
  457. package/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirIdentifierItem.js +0 -5
  458. package/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirNameItem.d.ts +0 -6
  459. package/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirNameItem.js +0 -5
  460. package/api/types/VitalCoreSchemasRequestSchemasOrdersCode.d.ts +0 -7
  461. package/api/types/VitalCoreSchemasRequestSchemasOrdersCode.js +0 -5
  462. package/api/types/VitalCoreSchemasRequestSchemasOrdersCodingItem.d.ts +0 -8
  463. package/api/types/VitalCoreSchemasRequestSchemasOrdersCodingItem.js +0 -5
  464. package/api/types/VitalCoreSchemasRequestSchemasOrdersEntryItem.d.ts +0 -7
  465. package/api/types/VitalCoreSchemasRequestSchemasOrdersEntryItem.js +0 -5
  466. package/api/types/VitalCoreSchemasRequestSchemasOrdersEntryItemResource.d.ts +0 -5
  467. package/api/types/VitalCoreSchemasRequestSchemasOrdersEntryItemResource.js +0 -5
  468. package/api/types/VitalCoreSchemasRequestSchemasOrdersIdentifierItem.d.ts +0 -7
  469. package/api/types/VitalCoreSchemasRequestSchemasOrdersIdentifierItem.js +0 -5
  470. package/api/types/VitalCoreSchemasRequestSchemasOrdersNameItem.d.ts +0 -8
  471. package/api/types/VitalCoreSchemasRequestSchemasOrdersNameItem.js +0 -5
  472. package/dist/api/resources/labTests/client/requests/PostOrderFhir.d.ts +0 -9
  473. package/dist/api/resources/labTests/client/requests/PostOrderFhir.js +0 -5
  474. package/dist/api/resources/team/client/requests/TeamUpdateSourcePrioritiesRequest.d.ts +0 -12
  475. package/dist/api/resources/team/client/requests/TeamUpdateSourcePrioritiesRequest.js +0 -5
  476. package/dist/api/types/Addres.d.ts +0 -12
  477. package/dist/api/types/Addres.js +0 -5
  478. package/dist/api/types/AnswerItem.d.ts +0 -6
  479. package/dist/api/types/AnswerItem.js +0 -5
  480. package/dist/api/types/Beneficiary.d.ts +0 -6
  481. package/dist/api/types/Beneficiary.js +0 -5
  482. package/dist/api/types/CodingItem1.d.ts +0 -7
  483. package/dist/api/types/CodingItem1.js +0 -5
  484. package/dist/api/types/High.d.ts +0 -6
  485. package/dist/api/types/High.js +0 -5
  486. package/dist/api/types/IdentifierItem1.d.ts +0 -7
  487. package/dist/api/types/IdentifierItem1.js +0 -5
  488. package/dist/api/types/InterpretationItem.d.ts +0 -7
  489. package/dist/api/types/InterpretationItem.js +0 -5
  490. package/dist/api/types/LabResultsFhir.d.ts +0 -9
  491. package/dist/api/types/LabResultsFhir.js +0 -5
  492. package/dist/api/types/Low.d.ts +0 -6
  493. package/dist/api/types/Low.js +0 -5
  494. package/dist/api/types/Observation.d.ts +0 -16
  495. package/dist/api/types/Observation.js +0 -5
  496. package/dist/api/types/ObservationEffectiveDateTime.d.ts +0 -4
  497. package/dist/api/types/ObservationEffectiveDateTime.js +0 -5
  498. package/dist/api/types/ObservationIssued.d.ts +0 -4
  499. package/dist/api/types/ObservationIssued.js +0 -5
  500. package/dist/api/types/Patient.d.ts +0 -10
  501. package/dist/api/types/Patient.js +0 -5
  502. package/dist/api/types/PatientAddressCompatible.js +0 -5
  503. package/dist/api/types/PatientBirthDate.d.ts +0 -4
  504. package/dist/api/types/PatientBirthDate.js +0 -5
  505. package/dist/api/types/PayorItem.d.ts +0 -6
  506. package/dist/api/types/PayorItem.js +0 -5
  507. package/dist/api/types/Period.d.ts +0 -6
  508. package/dist/api/types/Period.js +0 -5
  509. package/dist/api/types/PostOrderCoverage.d.ts +0 -14
  510. package/dist/api/types/PostOrderCoverage.js +0 -5
  511. package/dist/api/types/PostOrderPatient.d.ts +0 -12
  512. package/dist/api/types/PostOrderPatient.js +0 -5
  513. package/dist/api/types/PostOrderPatientBirthDate.js +0 -5
  514. package/dist/api/types/PostOrderPhysician.d.ts +0 -11
  515. package/dist/api/types/PostOrderPhysician.js +0 -5
  516. package/dist/api/types/PostOrderQuestionnaireResponse.d.ts +0 -10
  517. package/dist/api/types/PostOrderQuestionnaireResponse.js +0 -5
  518. package/dist/api/types/PostOrderServiceRequest.d.ts +0 -13
  519. package/dist/api/types/PostOrderServiceRequest.js +0 -5
  520. package/dist/api/types/Priority.d.ts +0 -13
  521. package/dist/api/types/Priority.js +0 -12
  522. package/dist/api/types/QualificationItem.d.ts +0 -9
  523. package/dist/api/types/QualificationItem.js +0 -5
  524. package/dist/api/types/QuestionaryItem.d.ts +0 -9
  525. package/dist/api/types/QuestionaryItem.js +0 -5
  526. package/dist/api/types/ReferenceRangeItem.d.ts +0 -8
  527. package/dist/api/types/ReferenceRangeItem.js +0 -5
  528. package/dist/api/types/Relationship.d.ts +0 -7
  529. package/dist/api/types/Relationship.js +0 -5
  530. package/dist/api/types/Requester.d.ts +0 -7
  531. package/dist/api/types/Requester.js +0 -5
  532. package/dist/api/types/Subject.d.ts +0 -7
  533. package/dist/api/types/Subject.js +0 -5
  534. package/dist/api/types/TelecomItem.d.ts +0 -8
  535. package/dist/api/types/TelecomItem.js +0 -5
  536. package/dist/api/types/ValueQuantity.d.ts +0 -8
  537. package/dist/api/types/ValueQuantity.js +0 -5
  538. package/dist/api/types/ValueRange.d.ts +0 -8
  539. package/dist/api/types/ValueRange.js +0 -5
  540. package/dist/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCode.d.ts +0 -7
  541. package/dist/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCode.js +0 -5
  542. package/dist/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCodingItem.d.ts +0 -8
  543. package/dist/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCodingItem.js +0 -5
  544. package/dist/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItem.d.ts +0 -7
  545. package/dist/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItem.js +0 -5
  546. package/dist/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItemResource.d.ts +0 -5
  547. package/dist/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItemResource.js +0 -5
  548. package/dist/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirIdentifierItem.d.ts +0 -6
  549. package/dist/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirIdentifierItem.js +0 -5
  550. package/dist/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirNameItem.d.ts +0 -6
  551. package/dist/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirNameItem.js +0 -5
  552. package/dist/api/types/VitalCoreSchemasRequestSchemasOrdersCode.d.ts +0 -7
  553. package/dist/api/types/VitalCoreSchemasRequestSchemasOrdersCode.js +0 -5
  554. package/dist/api/types/VitalCoreSchemasRequestSchemasOrdersCodingItem.d.ts +0 -8
  555. package/dist/api/types/VitalCoreSchemasRequestSchemasOrdersCodingItem.js +0 -5
  556. package/dist/api/types/VitalCoreSchemasRequestSchemasOrdersEntryItem.d.ts +0 -7
  557. package/dist/api/types/VitalCoreSchemasRequestSchemasOrdersEntryItem.js +0 -5
  558. package/dist/api/types/VitalCoreSchemasRequestSchemasOrdersEntryItemResource.d.ts +0 -5
  559. package/dist/api/types/VitalCoreSchemasRequestSchemasOrdersEntryItemResource.js +0 -5
  560. package/dist/api/types/VitalCoreSchemasRequestSchemasOrdersIdentifierItem.d.ts +0 -7
  561. package/dist/api/types/VitalCoreSchemasRequestSchemasOrdersIdentifierItem.js +0 -5
  562. package/dist/api/types/VitalCoreSchemasRequestSchemasOrdersNameItem.d.ts +0 -8
  563. package/dist/api/types/VitalCoreSchemasRequestSchemasOrdersNameItem.js +0 -5
  564. package/dist/serialization/resources/labTests/client/requests/PostOrderFhir.d.ts +0 -15
  565. package/dist/serialization/resources/labTests/client/requests/PostOrderFhir.js +0 -36
  566. package/dist/serialization/types/Addres.d.ts +0 -18
  567. package/dist/serialization/types/AnswerItem.d.ts +0 -12
  568. package/dist/serialization/types/Beneficiary.d.ts +0 -12
  569. package/dist/serialization/types/CodingItem1.d.ts +0 -13
  570. package/dist/serialization/types/CodingItem1.js +0 -34
  571. package/dist/serialization/types/High.d.ts +0 -12
  572. package/dist/serialization/types/IdentifierItem1.d.ts +0 -13
  573. package/dist/serialization/types/IdentifierItem1.js +0 -34
  574. package/dist/serialization/types/InterpretationItem.d.ts +0 -13
  575. package/dist/serialization/types/InterpretationItem.js +0 -34
  576. package/dist/serialization/types/LabResultsFhir.d.ts +0 -15
  577. package/dist/serialization/types/LabResultsFhir.js +0 -36
  578. package/dist/serialization/types/Low.d.ts +0 -12
  579. package/dist/serialization/types/Observation.d.ts +0 -28
  580. package/dist/serialization/types/Observation.js +0 -49
  581. package/dist/serialization/types/ObservationEffectiveDateTime.d.ts +0 -10
  582. package/dist/serialization/types/ObservationEffectiveDateTime.js +0 -31
  583. package/dist/serialization/types/ObservationIssued.d.ts +0 -10
  584. package/dist/serialization/types/ObservationIssued.js +0 -31
  585. package/dist/serialization/types/Patient.d.ts +0 -18
  586. package/dist/serialization/types/Patient.js +0 -39
  587. package/dist/serialization/types/PatientBirthDate.d.ts +0 -10
  588. package/dist/serialization/types/PatientBirthDate.js +0 -31
  589. package/dist/serialization/types/PayorItem.d.ts +0 -12
  590. package/dist/serialization/types/PayorItem.js +0 -33
  591. package/dist/serialization/types/Period.d.ts +0 -12
  592. package/dist/serialization/types/Period.js +0 -33
  593. package/dist/serialization/types/PostOrderCoverage.d.ts +0 -23
  594. package/dist/serialization/types/PostOrderCoverage.js +0 -44
  595. package/dist/serialization/types/PostOrderPatient.d.ts +0 -21
  596. package/dist/serialization/types/PostOrderPatient.js +0 -42
  597. package/dist/serialization/types/PostOrderPatientBirthDate.d.ts +0 -10
  598. package/dist/serialization/types/PostOrderPatientBirthDate.js +0 -31
  599. package/dist/serialization/types/PostOrderPhysician.d.ts +0 -20
  600. package/dist/serialization/types/PostOrderPhysician.js +0 -41
  601. package/dist/serialization/types/PostOrderQuestionnaireResponse.d.ts +0 -16
  602. package/dist/serialization/types/PostOrderQuestionnaireResponse.js +0 -37
  603. package/dist/serialization/types/PostOrderServiceRequest.d.ts +0 -22
  604. package/dist/serialization/types/PostOrderServiceRequest.js +0 -43
  605. package/dist/serialization/types/Priority.d.ts +0 -10
  606. package/dist/serialization/types/QualificationItem.d.ts +0 -17
  607. package/dist/serialization/types/QualificationItem.js +0 -38
  608. package/dist/serialization/types/QuestionaryItem.d.ts +0 -15
  609. package/dist/serialization/types/QuestionaryItem.js +0 -36
  610. package/dist/serialization/types/ReferenceRangeItem.d.ts +0 -15
  611. package/dist/serialization/types/ReferenceRangeItem.js +0 -36
  612. package/dist/serialization/types/Relationship.d.ts +0 -13
  613. package/dist/serialization/types/Relationship.js +0 -34
  614. package/dist/serialization/types/Requester.d.ts +0 -13
  615. package/dist/serialization/types/Requester.js +0 -34
  616. package/dist/serialization/types/Subject.d.ts +0 -13
  617. package/dist/serialization/types/Subject.js +0 -34
  618. package/dist/serialization/types/TelecomItem.d.ts +0 -14
  619. package/dist/serialization/types/TelecomItem.js +0 -35
  620. package/dist/serialization/types/ValueQuantity.d.ts +0 -14
  621. package/dist/serialization/types/ValueQuantity.js +0 -35
  622. package/dist/serialization/types/ValueRange.d.ts +0 -14
  623. package/dist/serialization/types/ValueRange.js +0 -35
  624. package/dist/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCode.d.ts +0 -13
  625. package/dist/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCode.js +0 -34
  626. package/dist/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCodingItem.d.ts +0 -14
  627. package/dist/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCodingItem.js +0 -35
  628. package/dist/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItem.d.ts +0 -13
  629. package/dist/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItem.js +0 -34
  630. package/dist/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItemResource.d.ts +0 -12
  631. package/dist/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItemResource.js +0 -33
  632. package/dist/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirIdentifierItem.d.ts +0 -12
  633. package/dist/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirIdentifierItem.js +0 -33
  634. package/dist/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirNameItem.d.ts +0 -12
  635. package/dist/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirNameItem.js +0 -33
  636. package/dist/serialization/types/VitalCoreSchemasRequestSchemasOrdersCode.d.ts +0 -13
  637. package/dist/serialization/types/VitalCoreSchemasRequestSchemasOrdersCode.js +0 -34
  638. package/dist/serialization/types/VitalCoreSchemasRequestSchemasOrdersCodingItem.d.ts +0 -14
  639. package/dist/serialization/types/VitalCoreSchemasRequestSchemasOrdersCodingItem.js +0 -35
  640. package/dist/serialization/types/VitalCoreSchemasRequestSchemasOrdersEntryItem.d.ts +0 -13
  641. package/dist/serialization/types/VitalCoreSchemasRequestSchemasOrdersEntryItem.js +0 -34
  642. package/dist/serialization/types/VitalCoreSchemasRequestSchemasOrdersEntryItemResource.d.ts +0 -15
  643. package/dist/serialization/types/VitalCoreSchemasRequestSchemasOrdersEntryItemResource.js +0 -42
  644. package/dist/serialization/types/VitalCoreSchemasRequestSchemasOrdersIdentifierItem.d.ts +0 -13
  645. package/dist/serialization/types/VitalCoreSchemasRequestSchemasOrdersIdentifierItem.js +0 -34
  646. package/dist/serialization/types/VitalCoreSchemasRequestSchemasOrdersNameItem.d.ts +0 -14
  647. package/dist/serialization/types/VitalCoreSchemasRequestSchemasOrdersNameItem.js +0 -35
  648. package/serialization/resources/labTests/client/requests/PostOrderFhir.d.ts +0 -15
  649. package/serialization/resources/labTests/client/requests/PostOrderFhir.js +0 -36
  650. package/serialization/types/Addres.d.ts +0 -18
  651. package/serialization/types/AnswerItem.d.ts +0 -12
  652. package/serialization/types/AnswerItem.js +0 -33
  653. package/serialization/types/Beneficiary.d.ts +0 -12
  654. package/serialization/types/Beneficiary.js +0 -33
  655. package/serialization/types/CodingItem1.d.ts +0 -13
  656. package/serialization/types/CodingItem1.js +0 -34
  657. package/serialization/types/High.d.ts +0 -12
  658. package/serialization/types/High.js +0 -33
  659. package/serialization/types/IdentifierItem1.d.ts +0 -13
  660. package/serialization/types/IdentifierItem1.js +0 -34
  661. package/serialization/types/InterpretationItem.d.ts +0 -13
  662. package/serialization/types/InterpretationItem.js +0 -34
  663. package/serialization/types/LabResultsFhir.d.ts +0 -15
  664. package/serialization/types/LabResultsFhir.js +0 -36
  665. package/serialization/types/Low.d.ts +0 -12
  666. package/serialization/types/Low.js +0 -33
  667. package/serialization/types/Observation.d.ts +0 -28
  668. package/serialization/types/Observation.js +0 -49
  669. package/serialization/types/ObservationEffectiveDateTime.d.ts +0 -10
  670. package/serialization/types/ObservationEffectiveDateTime.js +0 -31
  671. package/serialization/types/ObservationIssued.d.ts +0 -10
  672. package/serialization/types/ObservationIssued.js +0 -31
  673. package/serialization/types/Patient.d.ts +0 -18
  674. package/serialization/types/Patient.js +0 -39
  675. package/serialization/types/PatientBirthDate.d.ts +0 -10
  676. package/serialization/types/PatientBirthDate.js +0 -31
  677. package/serialization/types/PayorItem.d.ts +0 -12
  678. package/serialization/types/PayorItem.js +0 -33
  679. package/serialization/types/Period.d.ts +0 -12
  680. package/serialization/types/Period.js +0 -33
  681. package/serialization/types/PostOrderCoverage.d.ts +0 -23
  682. package/serialization/types/PostOrderCoverage.js +0 -44
  683. package/serialization/types/PostOrderPatient.d.ts +0 -21
  684. package/serialization/types/PostOrderPatient.js +0 -42
  685. package/serialization/types/PostOrderPatientBirthDate.d.ts +0 -10
  686. package/serialization/types/PostOrderPatientBirthDate.js +0 -31
  687. package/serialization/types/PostOrderPhysician.d.ts +0 -20
  688. package/serialization/types/PostOrderPhysician.js +0 -41
  689. package/serialization/types/PostOrderQuestionnaireResponse.d.ts +0 -16
  690. package/serialization/types/PostOrderQuestionnaireResponse.js +0 -37
  691. package/serialization/types/PostOrderServiceRequest.d.ts +0 -22
  692. package/serialization/types/PostOrderServiceRequest.js +0 -43
  693. package/serialization/types/Priority.d.ts +0 -10
  694. package/serialization/types/QualificationItem.d.ts +0 -17
  695. package/serialization/types/QualificationItem.js +0 -38
  696. package/serialization/types/QuestionaryItem.d.ts +0 -15
  697. package/serialization/types/QuestionaryItem.js +0 -36
  698. package/serialization/types/ReferenceRangeItem.d.ts +0 -15
  699. package/serialization/types/ReferenceRangeItem.js +0 -36
  700. package/serialization/types/Relationship.d.ts +0 -13
  701. package/serialization/types/Relationship.js +0 -34
  702. package/serialization/types/Requester.d.ts +0 -13
  703. package/serialization/types/Requester.js +0 -34
  704. package/serialization/types/Subject.d.ts +0 -13
  705. package/serialization/types/Subject.js +0 -34
  706. package/serialization/types/TelecomItem.d.ts +0 -14
  707. package/serialization/types/TelecomItem.js +0 -35
  708. package/serialization/types/ValueQuantity.d.ts +0 -14
  709. package/serialization/types/ValueQuantity.js +0 -35
  710. package/serialization/types/ValueRange.d.ts +0 -14
  711. package/serialization/types/ValueRange.js +0 -35
  712. package/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCode.d.ts +0 -13
  713. package/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCode.js +0 -34
  714. package/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCodingItem.d.ts +0 -14
  715. package/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCodingItem.js +0 -35
  716. package/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItem.d.ts +0 -13
  717. package/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItem.js +0 -34
  718. package/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItemResource.d.ts +0 -12
  719. package/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItemResource.js +0 -33
  720. package/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirIdentifierItem.d.ts +0 -12
  721. package/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirIdentifierItem.js +0 -33
  722. package/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirNameItem.d.ts +0 -12
  723. package/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirNameItem.js +0 -33
  724. package/serialization/types/VitalCoreSchemasRequestSchemasOrdersCode.d.ts +0 -13
  725. package/serialization/types/VitalCoreSchemasRequestSchemasOrdersCode.js +0 -34
  726. package/serialization/types/VitalCoreSchemasRequestSchemasOrdersCodingItem.d.ts +0 -14
  727. package/serialization/types/VitalCoreSchemasRequestSchemasOrdersCodingItem.js +0 -35
  728. package/serialization/types/VitalCoreSchemasRequestSchemasOrdersEntryItem.d.ts +0 -13
  729. package/serialization/types/VitalCoreSchemasRequestSchemasOrdersEntryItem.js +0 -34
  730. package/serialization/types/VitalCoreSchemasRequestSchemasOrdersEntryItemResource.d.ts +0 -15
  731. package/serialization/types/VitalCoreSchemasRequestSchemasOrdersEntryItemResource.js +0 -42
  732. package/serialization/types/VitalCoreSchemasRequestSchemasOrdersIdentifierItem.d.ts +0 -13
  733. package/serialization/types/VitalCoreSchemasRequestSchemasOrdersIdentifierItem.js +0 -34
  734. package/serialization/types/VitalCoreSchemasRequestSchemasOrdersNameItem.d.ts +0 -14
  735. package/serialization/types/VitalCoreSchemasRequestSchemasOrdersNameItem.js +0 -35
  736. /package/api/{resources/labTests/client/requests/PostOrderFhir.js → types/ClientFacingSampleGroupingKeys.js} +0 -0
  737. /package/api/{resources/team/client/requests/TeamUpdateSourcePrioritiesRequest.js → types/ClientFacingStreamAltitude.js} +0 -0
  738. /package/api/types/{Addres.js → ClientFacingStreamCadence.js} +0 -0
  739. /package/api/types/{AnswerItem.js → ClientFacingStreamDistance.js} +0 -0
  740. /package/api/types/{Beneficiary.js → ClientFacingStreamHeartrate.js} +0 -0
  741. /package/api/types/{CodingItem1.js → ClientFacingStreamLat.js} +0 -0
  742. /package/api/types/{High.js → ClientFacingStreamLng.js} +0 -0
  743. /package/api/types/{IdentifierItem1.js → ClientFacingStreamPower.js} +0 -0
  744. /package/api/types/{InterpretationItem.js → ClientFacingStreamResistance.js} +0 -0
  745. /package/api/types/{LabResultsFhir.js → ClientFacingStreamVelocitySmooth.js} +0 -0
  746. /package/api/types/{Low.js → PatientAddressCompatibleInput.js} +0 -0
  747. /package/api/types/{Observation.js → PatientAddressCompatibleOutput.js} +0 -0
  748. /package/{api/types/ObservationEffectiveDateTime.js → dist/api/types/ClientFacingSampleGroupingKeys.js} +0 -0
  749. /package/{api/types/ObservationIssued.js → dist/api/types/ClientFacingStreamAltitude.js} +0 -0
  750. /package/{api/types/Patient.js → dist/api/types/ClientFacingStreamCadence.js} +0 -0
  751. /package/{api/types/PatientAddressCompatible.js → dist/api/types/ClientFacingStreamDistance.js} +0 -0
  752. /package/{api/types/PatientBirthDate.js → dist/api/types/ClientFacingStreamHeartrate.js} +0 -0
  753. /package/{api/types/PayorItem.js → dist/api/types/ClientFacingStreamLat.js} +0 -0
  754. /package/{api/types/Period.js → dist/api/types/ClientFacingStreamLng.js} +0 -0
  755. /package/{api/types/PostOrderCoverage.js → dist/api/types/ClientFacingStreamPower.js} +0 -0
  756. /package/{api/types/PostOrderPatient.js → dist/api/types/ClientFacingStreamResistance.js} +0 -0
  757. /package/{api/types/PostOrderPatientBirthDate.js → dist/api/types/ClientFacingStreamVelocitySmooth.js} +0 -0
  758. /package/{api/types/PostOrderPhysician.js → dist/api/types/PatientAddressCompatibleInput.js} +0 -0
  759. /package/{api/types/PostOrderQuestionnaireResponse.js → dist/api/types/PatientAddressCompatibleOutput.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.14", "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.16", "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.14", "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.16", "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.14", "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.16", "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.14", "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.16", "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.14", "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.16", "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,
@@ -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.14", "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.16", "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.14", "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.16", "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.14", "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.16", "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.14", "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.16", "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,
@@ -189,14 +189,6 @@ export declare class LabTests {
189
189
  * await vital.labTests.getResultRaw("order_id")
190
190
  */
191
191
  getResultRaw(orderId: string, requestOptions?: LabTests.RequestOptions): Promise<Vital.LabResultsRaw>;
192
- /**
193
- * Return both metadata and raw json test data
194
- * @throws {@link Vital.UnprocessableEntityError}
195
- *
196
- * @example
197
- * await vital.labTests.getResultRawFhir("order_id")
198
- */
199
- getResultRawFhir(orderId: string, requestOptions?: LabTests.RequestOptions): Promise<Vital.LabResultsFhir>;
200
192
  /**
201
193
  * This endpoint returns the printed labels for the order.
202
194
  * @throws {@link Vital.UnprocessableEntityError}
@@ -212,11 +204,6 @@ export declare class LabTests {
212
204
  * @throws {@link Vital.UnprocessableEntityError}
213
205
  */
214
206
  getOrder(orderId: string, requestOptions?: LabTests.RequestOptions): Promise<Vital.ClientFacingOrder>;
215
- /**
216
- * POST create new order
217
- * @throws {@link Vital.UnprocessableEntityError}
218
- */
219
- createOrderFhir(request: Vital.PostOrderFhir, requestOptions?: LabTests.RequestOptions): Promise<Vital.PostOrderResponse>;
220
207
  /**
221
208
  * POST create new order
222
209
  * @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.14", "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.16", "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.14", "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.16", "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.14", "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.16", "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.14", "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.16", "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.14", "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.16", "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.14", "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.16", "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.14", "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.16", "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.14", "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.16", "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.14", "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.16", "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.14", "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.16", "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.14", "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.16", "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.14", "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.16", "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.14", "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.16", "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.14", "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.16", "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.14", "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.16", "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.14", "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.16", "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.14", "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.16", "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.14", "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.16", "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,
@@ -1108,63 +1108,6 @@ class LabTests {
1108
1108
  }
1109
1109
  });
1110
1110
  }
1111
- /**
1112
- * Return both metadata and raw json test data
1113
- * @throws {@link Vital.UnprocessableEntityError}
1114
- *
1115
- * @example
1116
- * await vital.labTests.getResultRawFhir("order_id")
1117
- */
1118
- getResultRawFhir(orderId, requestOptions) {
1119
- var _a;
1120
- return __awaiter(this, void 0, void 0, function* () {
1121
- const _response = yield core.fetcher({
1122
- 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/fhir`),
1123
- method: "GET",
1124
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1125
- contentType: "application/json",
1126
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1127
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1128
- });
1129
- if (_response.ok) {
1130
- return yield serializers.LabResultsFhir.parseOrThrow(_response.body, {
1131
- unrecognizedObjectKeys: "passthrough",
1132
- allowUnrecognizedUnionMembers: true,
1133
- allowUnrecognizedEnumValues: true,
1134
- breadcrumbsPrefix: ["response"],
1135
- });
1136
- }
1137
- if (_response.error.reason === "status-code") {
1138
- switch (_response.error.statusCode) {
1139
- case 422:
1140
- throw new Vital.UnprocessableEntityError(yield serializers.HttpValidationError.parseOrThrow(_response.error.body, {
1141
- unrecognizedObjectKeys: "passthrough",
1142
- allowUnrecognizedUnionMembers: true,
1143
- allowUnrecognizedEnumValues: true,
1144
- breadcrumbsPrefix: ["response"],
1145
- }));
1146
- default:
1147
- throw new errors.VitalError({
1148
- statusCode: _response.error.statusCode,
1149
- body: _response.error.body,
1150
- });
1151
- }
1152
- }
1153
- switch (_response.error.reason) {
1154
- case "non-json":
1155
- throw new errors.VitalError({
1156
- statusCode: _response.error.statusCode,
1157
- body: _response.error.rawBody,
1158
- });
1159
- case "timeout":
1160
- throw new errors.VitalTimeoutError();
1161
- case "unknown":
1162
- throw new errors.VitalError({
1163
- message: _response.error.errorMessage,
1164
- });
1165
- }
1166
- });
1167
- }
1168
1111
  /**
1169
1112
  * This endpoint returns the printed labels for the order.
1170
1113
  * @throws {@link Vital.UnprocessableEntityError}
@@ -1181,7 +1124,7 @@ class LabTests {
1181
1124
  const _response = yield core.fetcher({
1182
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`),
1183
1126
  method: "GET",
1184
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "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.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1185
1128
  contentType: "application/json",
1186
1129
  queryParameters: _queryParams,
1187
1130
  responseType: "streaming",
@@ -1232,7 +1175,7 @@ class LabTests {
1232
1175
  const _response = yield core.fetcher({
1233
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`),
1234
1177
  method: "GET",
1235
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "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.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1236
1179
  contentType: "application/json",
1237
1180
  responseType: "streaming",
1238
1181
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1282,7 +1225,7 @@ class LabTests {
1282
1225
  const _response = yield core.fetcher({
1283
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}`),
1284
1227
  method: "GET",
1285
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "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.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1286
1229
  contentType: "application/json",
1287
1230
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1288
1231
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -1326,61 +1269,6 @@ class LabTests {
1326
1269
  }
1327
1270
  });
1328
1271
  }
1329
- /**
1330
- * POST create new order
1331
- * @throws {@link Vital.UnprocessableEntityError}
1332
- */
1333
- createOrderFhir(request, requestOptions) {
1334
- var _a;
1335
- return __awaiter(this, void 0, void 0, function* () {
1336
- const _response = yield core.fetcher({
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/fhir"),
1338
- method: "POST",
1339
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1340
- contentType: "application/json",
1341
- body: yield serializers.PostOrderFhir.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
1342
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1343
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1344
- });
1345
- if (_response.ok) {
1346
- return yield serializers.PostOrderResponse.parseOrThrow(_response.body, {
1347
- unrecognizedObjectKeys: "passthrough",
1348
- allowUnrecognizedUnionMembers: true,
1349
- allowUnrecognizedEnumValues: true,
1350
- breadcrumbsPrefix: ["response"],
1351
- });
1352
- }
1353
- if (_response.error.reason === "status-code") {
1354
- switch (_response.error.statusCode) {
1355
- case 422:
1356
- throw new Vital.UnprocessableEntityError(yield serializers.HttpValidationError.parseOrThrow(_response.error.body, {
1357
- unrecognizedObjectKeys: "passthrough",
1358
- allowUnrecognizedUnionMembers: true,
1359
- allowUnrecognizedEnumValues: true,
1360
- breadcrumbsPrefix: ["response"],
1361
- }));
1362
- default:
1363
- throw new errors.VitalError({
1364
- statusCode: _response.error.statusCode,
1365
- body: _response.error.body,
1366
- });
1367
- }
1368
- }
1369
- switch (_response.error.reason) {
1370
- case "non-json":
1371
- throw new errors.VitalError({
1372
- statusCode: _response.error.statusCode,
1373
- body: _response.error.rawBody,
1374
- });
1375
- case "timeout":
1376
- throw new errors.VitalTimeoutError();
1377
- case "unknown":
1378
- throw new errors.VitalError({
1379
- message: _response.error.errorMessage,
1380
- });
1381
- }
1382
- });
1383
- }
1384
1272
  /**
1385
1273
  * POST create new order
1386
1274
  * @throws {@link Vital.UnprocessableEntityError}
@@ -1391,7 +1279,7 @@ class LabTests {
1391
1279
  const _response = yield core.fetcher({
1392
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"),
1393
1281
  method: "POST",
1394
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "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.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1395
1283
  contentType: "application/json",
1396
1284
  body: yield serializers.CreateOrderRequestCompatible.jsonOrThrow(request, {
1397
1285
  unrecognizedObjectKeys: "strip",
@@ -1448,7 +1336,7 @@ class LabTests {
1448
1336
  const _response = yield core.fetcher({
1449
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`),
1450
1338
  method: "POST",
1451
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "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.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1452
1340
  contentType: "application/json",
1453
1341
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1454
1342
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -1513,7 +1401,7 @@ class LabTests {
1513
1401
  const _response = yield core.fetcher({
1514
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`),
1515
1403
  method: "POST",
1516
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "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.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1517
1405
  contentType: "application/json",
1518
1406
  queryParameters: _queryParams,
1519
1407
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1594,7 +1482,7 @@ class LabTests {
1594
1482
  const _response = yield core.fetcher({
1595
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"),
1596
1484
  method: "GET",
1597
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "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.16", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1598
1486
  contentType: "application/json",
1599
1487
  queryParameters: _queryParams,
1600
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
  }
@@ -7,7 +7,6 @@ export { AppointmentRescheduleRequest } from "./AppointmentRescheduleRequest";
7
7
  export { AppointmentCancelRequest } from "./AppointmentCancelRequest";
8
8
  export { LabTestsGetAreaInfoRequest } from "./LabTestsGetAreaInfoRequest";
9
9
  export { LabTestsGetLabelsPdfRequest } from "./LabTestsGetLabelsPdfRequest";
10
- export { PostOrderFhir } from "./PostOrderFhir";
11
10
  export { CreateOrderRequestCompatible } from "./CreateOrderRequestCompatible";
12
11
  export { LabTestsSimulateOrderProcessRequest } from "./LabTestsSimulateOrderProcessRequest";
13
12
  export { LabTestsGetOrdersRequest } from "./LabTestsGetOrdersRequest";