@tryvital/vital-node 3.1.12 → 3.1.14

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 (453) hide show
  1. package/api/resources/activity/client/Client.js +2 -2
  2. package/api/resources/body/client/Client.js +2 -2
  3. package/api/resources/devices/client/Client.js +1 -1
  4. package/api/resources/index.d.ts +1 -0
  5. package/api/resources/index.js +1 -0
  6. package/api/resources/insurance/client/Client.js +2 -2
  7. package/api/resources/introspect/client/Client.js +2 -2
  8. package/api/resources/labTests/client/Client.d.ts +18 -0
  9. package/api/resources/labTests/client/Client.js +193 -24
  10. package/api/resources/labTests/client/requests/LabTestsGetLabelsPdfRequest.d.ts +13 -0
  11. package/api/resources/labTests/client/requests/LabTestsGetLabelsPdfRequest.js +5 -0
  12. package/api/resources/labTests/client/requests/PostOrderFhir.d.ts +9 -0
  13. package/api/resources/labTests/client/requests/PostOrderFhir.js +5 -0
  14. package/api/resources/labTests/client/requests/index.d.ts +2 -0
  15. package/api/resources/link/client/Client.js +14 -14
  16. package/api/resources/meal/client/Client.js +1 -1
  17. package/api/resources/profile/client/Client.js +2 -2
  18. package/api/resources/providers/client/Client.d.ts +2 -1
  19. package/api/resources/providers/client/Client.js +24 -6
  20. package/api/resources/providers/client/index.d.ts +1 -1
  21. package/api/resources/providers/client/index.js +15 -0
  22. package/api/resources/providers/client/requests/ProvidersGetAllRequest.d.ts +10 -0
  23. package/api/resources/providers/client/requests/ProvidersGetAllRequest.js +5 -0
  24. package/api/resources/providers/client/requests/index.d.ts +1 -0
  25. package/api/resources/providers/client/requests/index.js +2 -0
  26. package/api/resources/sleep/client/Client.js +4 -4
  27. package/api/resources/team/client/Client.js +7 -7
  28. package/api/resources/testkit/client/Client.js +2 -2
  29. package/api/resources/user/client/Client.js +12 -12
  30. package/api/resources/vitals/client/Client.js +50 -50
  31. package/api/resources/workouts/client/Client.js +3 -3
  32. package/api/types/Addres.d.ts +12 -0
  33. package/api/types/Addres.js +5 -0
  34. package/api/types/AnswerItem.d.ts +6 -0
  35. package/api/types/AnswerItem.js +5 -0
  36. package/api/types/Beneficiary.d.ts +6 -0
  37. package/api/types/Beneficiary.js +5 -0
  38. package/api/types/CodingItem1.d.ts +7 -0
  39. package/api/types/CodingItem1.js +5 -0
  40. package/api/types/High.d.ts +6 -0
  41. package/api/types/High.js +5 -0
  42. package/api/types/HistoricalPullStatus.d.ts +2 -1
  43. package/api/types/HistoricalPullStatus.js +1 -0
  44. package/api/types/HistoricalPullTimeline.d.ts +8 -0
  45. package/api/types/HistoricalPullTimeline.js +5 -0
  46. package/api/types/IdentifierItem1.d.ts +7 -0
  47. package/api/types/IdentifierItem1.js +5 -0
  48. package/api/types/InterpretationItem.d.ts +7 -0
  49. package/api/types/InterpretationItem.js +5 -0
  50. package/api/types/LabResultsFhir.d.ts +9 -0
  51. package/api/types/LabResultsFhir.js +5 -0
  52. package/api/types/Low.d.ts +6 -0
  53. package/api/types/Low.js +5 -0
  54. package/api/types/Observation.d.ts +16 -0
  55. package/api/types/Observation.js +5 -0
  56. package/api/types/ObservationEffectiveDateTime.d.ts +4 -0
  57. package/api/types/ObservationEffectiveDateTime.js +5 -0
  58. package/api/types/ObservationIssued.d.ts +4 -0
  59. package/api/types/ObservationIssued.js +5 -0
  60. package/api/types/Patient.d.ts +10 -0
  61. package/api/types/Patient.js +5 -0
  62. package/api/types/PatientBirthDate.d.ts +4 -0
  63. package/api/types/PatientBirthDate.js +5 -0
  64. package/api/types/PayorItem.d.ts +6 -0
  65. package/api/types/PayorItem.js +5 -0
  66. package/api/types/Period.d.ts +6 -0
  67. package/api/types/Period.js +5 -0
  68. package/api/types/PostOrderCoverage.d.ts +14 -0
  69. package/api/types/PostOrderCoverage.js +5 -0
  70. package/api/types/PostOrderPatient.d.ts +12 -0
  71. package/api/types/PostOrderPatient.js +5 -0
  72. package/api/types/PostOrderPatientBirthDate.d.ts +4 -0
  73. package/api/types/PostOrderPatientBirthDate.js +5 -0
  74. package/api/types/PostOrderPhysician.d.ts +11 -0
  75. package/api/types/PostOrderPhysician.js +5 -0
  76. package/api/types/PostOrderQuestionnaireResponse.d.ts +10 -0
  77. package/api/types/PostOrderQuestionnaireResponse.js +5 -0
  78. package/api/types/PostOrderServiceRequest.d.ts +13 -0
  79. package/api/types/PostOrderServiceRequest.js +5 -0
  80. package/api/types/Priority.d.ts +13 -0
  81. package/api/types/Priority.js +12 -0
  82. package/api/types/QualificationItem.d.ts +9 -0
  83. package/api/types/QualificationItem.js +5 -0
  84. package/api/types/QuestionaryItem.d.ts +9 -0
  85. package/api/types/QuestionaryItem.js +5 -0
  86. package/api/types/ReferenceRangeItem.d.ts +8 -0
  87. package/api/types/ReferenceRangeItem.js +5 -0
  88. package/api/types/Relationship.d.ts +7 -0
  89. package/api/types/Relationship.js +5 -0
  90. package/api/types/Requester.d.ts +7 -0
  91. package/api/types/Requester.js +5 -0
  92. package/api/types/SingleHistoricalPullStatistics.d.ts +1 -0
  93. package/api/types/Subject.d.ts +7 -0
  94. package/api/types/Subject.js +5 -0
  95. package/api/types/TelecomItem.d.ts +8 -0
  96. package/api/types/TelecomItem.js +5 -0
  97. package/api/types/ValueQuantity.d.ts +8 -0
  98. package/api/types/ValueQuantity.js +5 -0
  99. package/api/types/ValueRange.d.ts +8 -0
  100. package/api/types/ValueRange.js +5 -0
  101. package/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCode.d.ts +7 -0
  102. package/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCode.js +5 -0
  103. package/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCodingItem.d.ts +8 -0
  104. package/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCodingItem.js +5 -0
  105. package/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItem.d.ts +7 -0
  106. package/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItem.js +5 -0
  107. package/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItemResource.d.ts +5 -0
  108. package/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItemResource.js +5 -0
  109. package/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirIdentifierItem.d.ts +6 -0
  110. package/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirIdentifierItem.js +5 -0
  111. package/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirNameItem.d.ts +6 -0
  112. package/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirNameItem.js +5 -0
  113. package/api/types/VitalCoreSchemasRequestSchemasOrdersCode.d.ts +7 -0
  114. package/api/types/VitalCoreSchemasRequestSchemasOrdersCode.js +5 -0
  115. package/api/types/VitalCoreSchemasRequestSchemasOrdersCodingItem.d.ts +8 -0
  116. package/api/types/VitalCoreSchemasRequestSchemasOrdersCodingItem.js +5 -0
  117. package/api/types/VitalCoreSchemasRequestSchemasOrdersEntryItem.d.ts +7 -0
  118. package/api/types/VitalCoreSchemasRequestSchemasOrdersEntryItem.js +5 -0
  119. package/api/types/VitalCoreSchemasRequestSchemasOrdersEntryItemResource.d.ts +5 -0
  120. package/api/types/VitalCoreSchemasRequestSchemasOrdersEntryItemResource.js +5 -0
  121. package/api/types/VitalCoreSchemasRequestSchemasOrdersIdentifierItem.d.ts +7 -0
  122. package/api/types/VitalCoreSchemasRequestSchemasOrdersIdentifierItem.js +5 -0
  123. package/api/types/VitalCoreSchemasRequestSchemasOrdersNameItem.d.ts +8 -0
  124. package/api/types/VitalCoreSchemasRequestSchemasOrdersNameItem.js +5 -0
  125. package/api/types/index.d.ts +45 -0
  126. package/api/types/index.js +45 -0
  127. package/dist/api/resources/activity/client/Client.js +2 -2
  128. package/dist/api/resources/body/client/Client.js +2 -2
  129. package/dist/api/resources/devices/client/Client.js +1 -1
  130. package/dist/api/resources/index.d.ts +1 -0
  131. package/dist/api/resources/index.js +1 -0
  132. package/dist/api/resources/insurance/client/Client.js +2 -2
  133. package/dist/api/resources/introspect/client/Client.js +2 -2
  134. package/dist/api/resources/labTests/client/Client.d.ts +18 -0
  135. package/dist/api/resources/labTests/client/Client.js +193 -24
  136. package/dist/api/resources/labTests/client/requests/LabTestsGetLabelsPdfRequest.d.ts +13 -0
  137. package/dist/api/resources/labTests/client/requests/LabTestsGetLabelsPdfRequest.js +5 -0
  138. package/dist/api/resources/labTests/client/requests/PostOrderFhir.d.ts +9 -0
  139. package/dist/api/resources/labTests/client/requests/PostOrderFhir.js +5 -0
  140. package/dist/api/resources/labTests/client/requests/index.d.ts +2 -0
  141. package/dist/api/resources/link/client/Client.js +14 -14
  142. package/dist/api/resources/meal/client/Client.js +1 -1
  143. package/dist/api/resources/profile/client/Client.js +2 -2
  144. package/dist/api/resources/providers/client/Client.d.ts +2 -1
  145. package/dist/api/resources/providers/client/Client.js +24 -6
  146. package/dist/api/resources/providers/client/index.d.ts +1 -1
  147. package/dist/api/resources/providers/client/index.js +15 -0
  148. package/dist/api/resources/providers/client/requests/ProvidersGetAllRequest.d.ts +10 -0
  149. package/dist/api/resources/providers/client/requests/ProvidersGetAllRequest.js +5 -0
  150. package/dist/api/resources/providers/client/requests/index.d.ts +1 -0
  151. package/dist/api/resources/providers/client/requests/index.js +2 -0
  152. package/dist/api/resources/sleep/client/Client.js +4 -4
  153. package/dist/api/resources/team/client/Client.js +7 -7
  154. package/dist/api/resources/testkit/client/Client.js +2 -2
  155. package/dist/api/resources/user/client/Client.js +12 -12
  156. package/dist/api/resources/vitals/client/Client.js +50 -50
  157. package/dist/api/resources/workouts/client/Client.js +3 -3
  158. package/dist/api/types/Addres.d.ts +12 -0
  159. package/dist/api/types/Addres.js +5 -0
  160. package/dist/api/types/AnswerItem.d.ts +6 -0
  161. package/dist/api/types/AnswerItem.js +5 -0
  162. package/dist/api/types/Beneficiary.d.ts +6 -0
  163. package/dist/api/types/Beneficiary.js +5 -0
  164. package/dist/api/types/CodingItem1.d.ts +7 -0
  165. package/dist/api/types/CodingItem1.js +5 -0
  166. package/dist/api/types/High.d.ts +6 -0
  167. package/dist/api/types/High.js +5 -0
  168. package/dist/api/types/HistoricalPullStatus.d.ts +2 -1
  169. package/dist/api/types/HistoricalPullStatus.js +1 -0
  170. package/dist/api/types/HistoricalPullTimeline.d.ts +8 -0
  171. package/dist/api/types/HistoricalPullTimeline.js +5 -0
  172. package/dist/api/types/IdentifierItem1.d.ts +7 -0
  173. package/dist/api/types/IdentifierItem1.js +5 -0
  174. package/dist/api/types/InterpretationItem.d.ts +7 -0
  175. package/dist/api/types/InterpretationItem.js +5 -0
  176. package/dist/api/types/LabResultsFhir.d.ts +9 -0
  177. package/dist/api/types/LabResultsFhir.js +5 -0
  178. package/dist/api/types/Low.d.ts +6 -0
  179. package/dist/api/types/Low.js +5 -0
  180. package/dist/api/types/Observation.d.ts +16 -0
  181. package/dist/api/types/Observation.js +5 -0
  182. package/dist/api/types/ObservationEffectiveDateTime.d.ts +4 -0
  183. package/dist/api/types/ObservationEffectiveDateTime.js +5 -0
  184. package/dist/api/types/ObservationIssued.d.ts +4 -0
  185. package/dist/api/types/ObservationIssued.js +5 -0
  186. package/dist/api/types/Patient.d.ts +10 -0
  187. package/dist/api/types/Patient.js +5 -0
  188. package/dist/api/types/PatientBirthDate.d.ts +4 -0
  189. package/dist/api/types/PatientBirthDate.js +5 -0
  190. package/dist/api/types/PayorItem.d.ts +6 -0
  191. package/dist/api/types/PayorItem.js +5 -0
  192. package/dist/api/types/Period.d.ts +6 -0
  193. package/dist/api/types/Period.js +5 -0
  194. package/dist/api/types/PostOrderCoverage.d.ts +14 -0
  195. package/dist/api/types/PostOrderCoverage.js +5 -0
  196. package/dist/api/types/PostOrderPatient.d.ts +12 -0
  197. package/dist/api/types/PostOrderPatient.js +5 -0
  198. package/dist/api/types/PostOrderPatientBirthDate.d.ts +4 -0
  199. package/dist/api/types/PostOrderPatientBirthDate.js +5 -0
  200. package/dist/api/types/PostOrderPhysician.d.ts +11 -0
  201. package/dist/api/types/PostOrderPhysician.js +5 -0
  202. package/dist/api/types/PostOrderQuestionnaireResponse.d.ts +10 -0
  203. package/dist/api/types/PostOrderQuestionnaireResponse.js +5 -0
  204. package/dist/api/types/PostOrderServiceRequest.d.ts +13 -0
  205. package/dist/api/types/PostOrderServiceRequest.js +5 -0
  206. package/dist/api/types/Priority.d.ts +13 -0
  207. package/dist/api/types/Priority.js +12 -0
  208. package/dist/api/types/QualificationItem.d.ts +9 -0
  209. package/dist/api/types/QualificationItem.js +5 -0
  210. package/dist/api/types/QuestionaryItem.d.ts +9 -0
  211. package/dist/api/types/QuestionaryItem.js +5 -0
  212. package/dist/api/types/ReferenceRangeItem.d.ts +8 -0
  213. package/dist/api/types/ReferenceRangeItem.js +5 -0
  214. package/dist/api/types/Relationship.d.ts +7 -0
  215. package/dist/api/types/Relationship.js +5 -0
  216. package/dist/api/types/Requester.d.ts +7 -0
  217. package/dist/api/types/Requester.js +5 -0
  218. package/dist/api/types/SingleHistoricalPullStatistics.d.ts +1 -0
  219. package/dist/api/types/Subject.d.ts +7 -0
  220. package/dist/api/types/Subject.js +5 -0
  221. package/dist/api/types/TelecomItem.d.ts +8 -0
  222. package/dist/api/types/TelecomItem.js +5 -0
  223. package/dist/api/types/ValueQuantity.d.ts +8 -0
  224. package/dist/api/types/ValueQuantity.js +5 -0
  225. package/dist/api/types/ValueRange.d.ts +8 -0
  226. package/dist/api/types/ValueRange.js +5 -0
  227. package/dist/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCode.d.ts +7 -0
  228. package/dist/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCode.js +5 -0
  229. package/dist/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCodingItem.d.ts +8 -0
  230. package/dist/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCodingItem.js +5 -0
  231. package/dist/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItem.d.ts +7 -0
  232. package/dist/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItem.js +5 -0
  233. package/dist/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItemResource.d.ts +5 -0
  234. package/dist/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItemResource.js +5 -0
  235. package/dist/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirIdentifierItem.d.ts +6 -0
  236. package/dist/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirIdentifierItem.js +5 -0
  237. package/dist/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirNameItem.d.ts +6 -0
  238. package/dist/api/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirNameItem.js +5 -0
  239. package/dist/api/types/VitalCoreSchemasRequestSchemasOrdersCode.d.ts +7 -0
  240. package/dist/api/types/VitalCoreSchemasRequestSchemasOrdersCode.js +5 -0
  241. package/dist/api/types/VitalCoreSchemasRequestSchemasOrdersCodingItem.d.ts +8 -0
  242. package/dist/api/types/VitalCoreSchemasRequestSchemasOrdersCodingItem.js +5 -0
  243. package/dist/api/types/VitalCoreSchemasRequestSchemasOrdersEntryItem.d.ts +7 -0
  244. package/dist/api/types/VitalCoreSchemasRequestSchemasOrdersEntryItem.js +5 -0
  245. package/dist/api/types/VitalCoreSchemasRequestSchemasOrdersEntryItemResource.d.ts +5 -0
  246. package/dist/api/types/VitalCoreSchemasRequestSchemasOrdersEntryItemResource.js +5 -0
  247. package/dist/api/types/VitalCoreSchemasRequestSchemasOrdersIdentifierItem.d.ts +7 -0
  248. package/dist/api/types/VitalCoreSchemasRequestSchemasOrdersIdentifierItem.js +5 -0
  249. package/dist/api/types/VitalCoreSchemasRequestSchemasOrdersNameItem.d.ts +8 -0
  250. package/dist/api/types/VitalCoreSchemasRequestSchemasOrdersNameItem.js +5 -0
  251. package/dist/api/types/index.d.ts +45 -0
  252. package/dist/api/types/index.js +45 -0
  253. package/dist/serialization/resources/labTests/client/requests/PostOrderFhir.d.ts +15 -0
  254. package/dist/serialization/resources/labTests/client/requests/PostOrderFhir.js +36 -0
  255. package/dist/serialization/resources/labTests/client/requests/index.d.ts +1 -0
  256. package/dist/serialization/resources/labTests/client/requests/index.js +3 -1
  257. package/dist/serialization/types/Addres.d.ts +18 -0
  258. package/dist/serialization/types/Addres.js +39 -0
  259. package/dist/serialization/types/AnswerItem.d.ts +12 -0
  260. package/dist/serialization/types/AnswerItem.js +33 -0
  261. package/dist/serialization/types/Beneficiary.d.ts +12 -0
  262. package/dist/serialization/types/Beneficiary.js +33 -0
  263. package/dist/serialization/types/CodingItem1.d.ts +13 -0
  264. package/dist/serialization/types/CodingItem1.js +34 -0
  265. package/dist/serialization/types/High.d.ts +12 -0
  266. package/dist/serialization/types/High.js +33 -0
  267. package/dist/serialization/types/HistoricalPullStatus.d.ts +1 -1
  268. package/dist/serialization/types/HistoricalPullStatus.js +1 -1
  269. package/dist/serialization/types/HistoricalPullTimeline.d.ts +14 -0
  270. package/dist/serialization/types/HistoricalPullTimeline.js +35 -0
  271. package/dist/serialization/types/IdentifierItem1.d.ts +13 -0
  272. package/dist/serialization/types/IdentifierItem1.js +34 -0
  273. package/dist/serialization/types/InterpretationItem.d.ts +13 -0
  274. package/dist/serialization/types/InterpretationItem.js +34 -0
  275. package/dist/serialization/types/LabResultsFhir.d.ts +15 -0
  276. package/dist/serialization/types/LabResultsFhir.js +36 -0
  277. package/dist/serialization/types/Low.d.ts +12 -0
  278. package/dist/serialization/types/Low.js +33 -0
  279. package/dist/serialization/types/Observation.d.ts +28 -0
  280. package/dist/serialization/types/Observation.js +49 -0
  281. package/dist/serialization/types/ObservationEffectiveDateTime.d.ts +10 -0
  282. package/dist/serialization/types/ObservationEffectiveDateTime.js +31 -0
  283. package/dist/serialization/types/ObservationIssued.d.ts +10 -0
  284. package/dist/serialization/types/ObservationIssued.js +31 -0
  285. package/dist/serialization/types/Patient.d.ts +18 -0
  286. package/dist/serialization/types/Patient.js +39 -0
  287. package/dist/serialization/types/PatientBirthDate.d.ts +10 -0
  288. package/dist/serialization/types/PatientBirthDate.js +31 -0
  289. package/dist/serialization/types/PayorItem.d.ts +12 -0
  290. package/dist/serialization/types/PayorItem.js +33 -0
  291. package/dist/serialization/types/Period.d.ts +12 -0
  292. package/dist/serialization/types/Period.js +33 -0
  293. package/dist/serialization/types/PostOrderCoverage.d.ts +23 -0
  294. package/dist/serialization/types/PostOrderCoverage.js +44 -0
  295. package/dist/serialization/types/PostOrderPatient.d.ts +21 -0
  296. package/dist/serialization/types/PostOrderPatient.js +42 -0
  297. package/dist/serialization/types/PostOrderPatientBirthDate.d.ts +10 -0
  298. package/dist/serialization/types/PostOrderPatientBirthDate.js +31 -0
  299. package/dist/serialization/types/PostOrderPhysician.d.ts +20 -0
  300. package/dist/serialization/types/PostOrderPhysician.js +41 -0
  301. package/dist/serialization/types/PostOrderQuestionnaireResponse.d.ts +16 -0
  302. package/dist/serialization/types/PostOrderQuestionnaireResponse.js +37 -0
  303. package/dist/serialization/types/PostOrderServiceRequest.d.ts +22 -0
  304. package/dist/serialization/types/PostOrderServiceRequest.js +43 -0
  305. package/dist/serialization/types/Priority.d.ts +10 -0
  306. package/dist/serialization/types/Priority.js +36 -0
  307. package/dist/serialization/types/QualificationItem.d.ts +17 -0
  308. package/dist/serialization/types/QualificationItem.js +38 -0
  309. package/dist/serialization/types/QuestionaryItem.d.ts +15 -0
  310. package/dist/serialization/types/QuestionaryItem.js +36 -0
  311. package/dist/serialization/types/ReferenceRangeItem.d.ts +15 -0
  312. package/dist/serialization/types/ReferenceRangeItem.js +36 -0
  313. package/dist/serialization/types/Relationship.d.ts +13 -0
  314. package/dist/serialization/types/Relationship.js +34 -0
  315. package/dist/serialization/types/Requester.d.ts +13 -0
  316. package/dist/serialization/types/Requester.js +34 -0
  317. package/dist/serialization/types/SingleHistoricalPullStatistics.d.ts +2 -0
  318. package/dist/serialization/types/SingleHistoricalPullStatistics.js +2 -0
  319. package/dist/serialization/types/Subject.d.ts +13 -0
  320. package/dist/serialization/types/Subject.js +34 -0
  321. package/dist/serialization/types/TelecomItem.d.ts +14 -0
  322. package/dist/serialization/types/TelecomItem.js +35 -0
  323. package/dist/serialization/types/ValueQuantity.d.ts +14 -0
  324. package/dist/serialization/types/ValueQuantity.js +35 -0
  325. package/dist/serialization/types/ValueRange.d.ts +14 -0
  326. package/dist/serialization/types/ValueRange.js +35 -0
  327. package/dist/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCode.d.ts +13 -0
  328. package/dist/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCode.js +34 -0
  329. package/dist/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCodingItem.d.ts +14 -0
  330. package/dist/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCodingItem.js +35 -0
  331. package/dist/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItem.d.ts +13 -0
  332. package/dist/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItem.js +34 -0
  333. package/dist/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItemResource.d.ts +12 -0
  334. package/dist/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItemResource.js +33 -0
  335. package/dist/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirIdentifierItem.d.ts +12 -0
  336. package/dist/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirIdentifierItem.js +33 -0
  337. package/dist/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirNameItem.d.ts +12 -0
  338. package/dist/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirNameItem.js +33 -0
  339. package/dist/serialization/types/VitalCoreSchemasRequestSchemasOrdersCode.d.ts +13 -0
  340. package/dist/serialization/types/VitalCoreSchemasRequestSchemasOrdersCode.js +34 -0
  341. package/dist/serialization/types/VitalCoreSchemasRequestSchemasOrdersCodingItem.d.ts +14 -0
  342. package/dist/serialization/types/VitalCoreSchemasRequestSchemasOrdersCodingItem.js +35 -0
  343. package/dist/serialization/types/VitalCoreSchemasRequestSchemasOrdersEntryItem.d.ts +13 -0
  344. package/dist/serialization/types/VitalCoreSchemasRequestSchemasOrdersEntryItem.js +34 -0
  345. package/dist/serialization/types/VitalCoreSchemasRequestSchemasOrdersEntryItemResource.d.ts +15 -0
  346. package/dist/serialization/types/VitalCoreSchemasRequestSchemasOrdersEntryItemResource.js +42 -0
  347. package/dist/serialization/types/VitalCoreSchemasRequestSchemasOrdersIdentifierItem.d.ts +13 -0
  348. package/dist/serialization/types/VitalCoreSchemasRequestSchemasOrdersIdentifierItem.js +34 -0
  349. package/dist/serialization/types/VitalCoreSchemasRequestSchemasOrdersNameItem.d.ts +14 -0
  350. package/dist/serialization/types/VitalCoreSchemasRequestSchemasOrdersNameItem.js +35 -0
  351. package/dist/serialization/types/index.d.ts +45 -0
  352. package/dist/serialization/types/index.js +45 -0
  353. package/package.json +1 -1
  354. package/serialization/resources/labTests/client/requests/PostOrderFhir.d.ts +15 -0
  355. package/serialization/resources/labTests/client/requests/PostOrderFhir.js +36 -0
  356. package/serialization/resources/labTests/client/requests/index.d.ts +1 -0
  357. package/serialization/resources/labTests/client/requests/index.js +3 -1
  358. package/serialization/types/Addres.d.ts +18 -0
  359. package/serialization/types/Addres.js +39 -0
  360. package/serialization/types/AnswerItem.d.ts +12 -0
  361. package/serialization/types/AnswerItem.js +33 -0
  362. package/serialization/types/Beneficiary.d.ts +12 -0
  363. package/serialization/types/Beneficiary.js +33 -0
  364. package/serialization/types/CodingItem1.d.ts +13 -0
  365. package/serialization/types/CodingItem1.js +34 -0
  366. package/serialization/types/High.d.ts +12 -0
  367. package/serialization/types/High.js +33 -0
  368. package/serialization/types/HistoricalPullStatus.d.ts +1 -1
  369. package/serialization/types/HistoricalPullStatus.js +1 -1
  370. package/serialization/types/HistoricalPullTimeline.d.ts +14 -0
  371. package/serialization/types/HistoricalPullTimeline.js +35 -0
  372. package/serialization/types/IdentifierItem1.d.ts +13 -0
  373. package/serialization/types/IdentifierItem1.js +34 -0
  374. package/serialization/types/InterpretationItem.d.ts +13 -0
  375. package/serialization/types/InterpretationItem.js +34 -0
  376. package/serialization/types/LabResultsFhir.d.ts +15 -0
  377. package/serialization/types/LabResultsFhir.js +36 -0
  378. package/serialization/types/Low.d.ts +12 -0
  379. package/serialization/types/Low.js +33 -0
  380. package/serialization/types/Observation.d.ts +28 -0
  381. package/serialization/types/Observation.js +49 -0
  382. package/serialization/types/ObservationEffectiveDateTime.d.ts +10 -0
  383. package/serialization/types/ObservationEffectiveDateTime.js +31 -0
  384. package/serialization/types/ObservationIssued.d.ts +10 -0
  385. package/serialization/types/ObservationIssued.js +31 -0
  386. package/serialization/types/Patient.d.ts +18 -0
  387. package/serialization/types/Patient.js +39 -0
  388. package/serialization/types/PatientBirthDate.d.ts +10 -0
  389. package/serialization/types/PatientBirthDate.js +31 -0
  390. package/serialization/types/PayorItem.d.ts +12 -0
  391. package/serialization/types/PayorItem.js +33 -0
  392. package/serialization/types/Period.d.ts +12 -0
  393. package/serialization/types/Period.js +33 -0
  394. package/serialization/types/PostOrderCoverage.d.ts +23 -0
  395. package/serialization/types/PostOrderCoverage.js +44 -0
  396. package/serialization/types/PostOrderPatient.d.ts +21 -0
  397. package/serialization/types/PostOrderPatient.js +42 -0
  398. package/serialization/types/PostOrderPatientBirthDate.d.ts +10 -0
  399. package/serialization/types/PostOrderPatientBirthDate.js +31 -0
  400. package/serialization/types/PostOrderPhysician.d.ts +20 -0
  401. package/serialization/types/PostOrderPhysician.js +41 -0
  402. package/serialization/types/PostOrderQuestionnaireResponse.d.ts +16 -0
  403. package/serialization/types/PostOrderQuestionnaireResponse.js +37 -0
  404. package/serialization/types/PostOrderServiceRequest.d.ts +22 -0
  405. package/serialization/types/PostOrderServiceRequest.js +43 -0
  406. package/serialization/types/Priority.d.ts +10 -0
  407. package/serialization/types/Priority.js +36 -0
  408. package/serialization/types/QualificationItem.d.ts +17 -0
  409. package/serialization/types/QualificationItem.js +38 -0
  410. package/serialization/types/QuestionaryItem.d.ts +15 -0
  411. package/serialization/types/QuestionaryItem.js +36 -0
  412. package/serialization/types/ReferenceRangeItem.d.ts +15 -0
  413. package/serialization/types/ReferenceRangeItem.js +36 -0
  414. package/serialization/types/Relationship.d.ts +13 -0
  415. package/serialization/types/Relationship.js +34 -0
  416. package/serialization/types/Requester.d.ts +13 -0
  417. package/serialization/types/Requester.js +34 -0
  418. package/serialization/types/SingleHistoricalPullStatistics.d.ts +2 -0
  419. package/serialization/types/SingleHistoricalPullStatistics.js +2 -0
  420. package/serialization/types/Subject.d.ts +13 -0
  421. package/serialization/types/Subject.js +34 -0
  422. package/serialization/types/TelecomItem.d.ts +14 -0
  423. package/serialization/types/TelecomItem.js +35 -0
  424. package/serialization/types/ValueQuantity.d.ts +14 -0
  425. package/serialization/types/ValueQuantity.js +35 -0
  426. package/serialization/types/ValueRange.d.ts +14 -0
  427. package/serialization/types/ValueRange.js +35 -0
  428. package/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCode.d.ts +13 -0
  429. package/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCode.js +34 -0
  430. package/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCodingItem.d.ts +14 -0
  431. package/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirCodingItem.js +35 -0
  432. package/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItem.d.ts +13 -0
  433. package/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItem.js +34 -0
  434. package/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItemResource.d.ts +12 -0
  435. package/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirEntryItemResource.js +33 -0
  436. package/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirIdentifierItem.d.ts +12 -0
  437. package/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirIdentifierItem.js +33 -0
  438. package/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirNameItem.d.ts +12 -0
  439. package/serialization/types/VitalCoreProvidersLabTestLabsSchemasResultsFhirNameItem.js +33 -0
  440. package/serialization/types/VitalCoreSchemasRequestSchemasOrdersCode.d.ts +13 -0
  441. package/serialization/types/VitalCoreSchemasRequestSchemasOrdersCode.js +34 -0
  442. package/serialization/types/VitalCoreSchemasRequestSchemasOrdersCodingItem.d.ts +14 -0
  443. package/serialization/types/VitalCoreSchemasRequestSchemasOrdersCodingItem.js +35 -0
  444. package/serialization/types/VitalCoreSchemasRequestSchemasOrdersEntryItem.d.ts +13 -0
  445. package/serialization/types/VitalCoreSchemasRequestSchemasOrdersEntryItem.js +34 -0
  446. package/serialization/types/VitalCoreSchemasRequestSchemasOrdersEntryItemResource.d.ts +15 -0
  447. package/serialization/types/VitalCoreSchemasRequestSchemasOrdersEntryItemResource.js +42 -0
  448. package/serialization/types/VitalCoreSchemasRequestSchemasOrdersIdentifierItem.d.ts +13 -0
  449. package/serialization/types/VitalCoreSchemasRequestSchemasOrdersIdentifierItem.js +34 -0
  450. package/serialization/types/VitalCoreSchemasRequestSchemasOrdersNameItem.d.ts +14 -0
  451. package/serialization/types/VitalCoreSchemasRequestSchemasOrdersNameItem.js +35 -0
  452. package/serialization/types/index.d.ts +45 -0
  453. package/serialization/types/index.js +45 -0
@@ -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.12", "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.14", "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.12", "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.14", "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.12", "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.14", "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.12", "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.14", "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.12", "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.14", "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.12", "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.14", "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.12", "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.14", "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.12", "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.14", "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.12", "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.14", "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.12", "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.14", "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.12", "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.14", "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.12", "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.14", "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.12", "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.14", "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.12", "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.14", "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.12", "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.14", "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.12", "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.14", "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.12", "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.14", "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.12", "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.14", "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,6 +1108,120 @@ 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
+ /**
1169
+ * This endpoint returns the printed labels for the order.
1170
+ * @throws {@link Vital.UnprocessableEntityError}
1171
+ */
1172
+ getLabelsPdf(orderId, request, requestOptions) {
1173
+ var _a;
1174
+ return __awaiter(this, void 0, void 0, function* () {
1175
+ const { numberOfLabels, collectionDate } = request;
1176
+ const _queryParams = {};
1177
+ if (numberOfLabels != null) {
1178
+ _queryParams["number_of_labels"] = numberOfLabels.toString();
1179
+ }
1180
+ _queryParams["collection_date"] = collectionDate.toISOString();
1181
+ const _response = yield core.fetcher({
1182
+ 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
+ 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())),
1185
+ contentType: "application/json",
1186
+ queryParameters: _queryParams,
1187
+ responseType: "streaming",
1188
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1189
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1190
+ });
1191
+ if (_response.ok) {
1192
+ return _response.body;
1193
+ }
1194
+ if (_response.error.reason === "status-code") {
1195
+ switch (_response.error.statusCode) {
1196
+ case 422:
1197
+ throw new Vital.UnprocessableEntityError(yield serializers.HttpValidationError.parseOrThrow(_response.error.body, {
1198
+ unrecognizedObjectKeys: "passthrough",
1199
+ allowUnrecognizedUnionMembers: true,
1200
+ allowUnrecognizedEnumValues: true,
1201
+ breadcrumbsPrefix: ["response"],
1202
+ }));
1203
+ default:
1204
+ throw new errors.VitalError({
1205
+ statusCode: _response.error.statusCode,
1206
+ body: _response.error.body,
1207
+ });
1208
+ }
1209
+ }
1210
+ switch (_response.error.reason) {
1211
+ case "non-json":
1212
+ throw new errors.VitalError({
1213
+ statusCode: _response.error.statusCode,
1214
+ body: _response.error.rawBody,
1215
+ });
1216
+ case "timeout":
1217
+ throw new errors.VitalTimeoutError();
1218
+ case "unknown":
1219
+ throw new errors.VitalError({
1220
+ message: _response.error.errorMessage,
1221
+ });
1222
+ }
1223
+ });
1224
+ }
1111
1225
  /**
1112
1226
  * GET requisition pdf for an order
1113
1227
  * @throws {@link Vital.UnprocessableEntityError}
@@ -1118,7 +1232,7 @@ class LabTests {
1118
1232
  const _response = yield core.fetcher({
1119
1233
  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`),
1120
1234
  method: "GET",
1121
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
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())),
1122
1236
  contentType: "application/json",
1123
1237
  responseType: "streaming",
1124
1238
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1168,7 +1282,7 @@ class LabTests {
1168
1282
  const _response = yield core.fetcher({
1169
1283
  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}`),
1170
1284
  method: "GET",
1171
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
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())),
1172
1286
  contentType: "application/json",
1173
1287
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1174
1288
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -1212,6 +1326,61 @@ class LabTests {
1212
1326
  }
1213
1327
  });
1214
1328
  }
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
+ }
1215
1384
  /**
1216
1385
  * POST create new order
1217
1386
  * @throws {@link Vital.UnprocessableEntityError}
@@ -1222,7 +1391,7 @@ class LabTests {
1222
1391
  const _response = yield core.fetcher({
1223
1392
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/order"),
1224
1393
  method: "POST",
1225
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
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())),
1226
1395
  contentType: "application/json",
1227
1396
  body: yield serializers.CreateOrderRequestCompatible.jsonOrThrow(request, {
1228
1397
  unrecognizedObjectKeys: "strip",
@@ -1279,7 +1448,7 @@ class LabTests {
1279
1448
  const _response = yield core.fetcher({
1280
1449
  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`),
1281
1450
  method: "POST",
1282
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
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())),
1283
1452
  contentType: "application/json",
1284
1453
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1285
1454
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -1344,7 +1513,7 @@ class LabTests {
1344
1513
  const _response = yield core.fetcher({
1345
1514
  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`),
1346
1515
  method: "POST",
1347
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
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())),
1348
1517
  contentType: "application/json",
1349
1518
  queryParameters: _queryParams,
1350
1519
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1425,7 +1594,7 @@ class LabTests {
1425
1594
  const _response = yield core.fetcher({
1426
1595
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/orders"),
1427
1596
  method: "GET",
1428
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
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())),
1429
1598
  contentType: "application/json",
1430
1599
  queryParameters: _queryParams,
1431
1600
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface LabTestsGetLabelsPdfRequest {
5
+ /**
6
+ * Number of labels to generate
7
+ */
8
+ numberOfLabels?: number;
9
+ /**
10
+ * Collection date
11
+ */
12
+ collectionDate: Date;
13
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vital from "../../../..";
5
+ export interface PostOrderFhir {
6
+ resourceType: string;
7
+ type: string;
8
+ entry: Vital.VitalCoreSchemasRequestSchemasOrdersEntryItem[];
9
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -6,6 +6,8 @@ export { RequestAppointmentRequest } from "./RequestAppointmentRequest";
6
6
  export { AppointmentRescheduleRequest } from "./AppointmentRescheduleRequest";
7
7
  export { AppointmentCancelRequest } from "./AppointmentCancelRequest";
8
8
  export { LabTestsGetAreaInfoRequest } from "./LabTestsGetAreaInfoRequest";
9
+ export { LabTestsGetLabelsPdfRequest } from "./LabTestsGetLabelsPdfRequest";
10
+ export { PostOrderFhir } from "./PostOrderFhir";
9
11
  export { CreateOrderRequestCompatible } from "./CreateOrderRequestCompatible";
10
12
  export { LabTestsSimulateOrderProcessRequest } from "./LabTestsSimulateOrderProcessRequest";
11
13
  export { LabTestsGetOrdersRequest } from "./LabTestsGetOrdersRequest";
@@ -80,7 +80,7 @@ class Link {
80
80
  const _response = yield core.fetcher({
81
81
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/link/token"),
82
82
  method: "POST",
83
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
83
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
84
84
  contentType: "application/json",
85
85
  body: yield serializers.LinkTokenExchange.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
86
86
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -139,7 +139,7 @@ class Link {
139
139
  const _response = yield core.fetcher({
140
140
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/link/token/isValid"),
141
141
  method: "POST",
142
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
142
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
143
143
  contentType: "application/json",
144
144
  body: yield serializers.LinkTokenBase.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
145
145
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -205,7 +205,7 @@ class Link {
205
205
  const _response = yield core.fetcher({
206
206
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/link/code/create"),
207
207
  method: "POST",
208
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
208
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
209
209
  contentType: "application/json",
210
210
  queryParameters: _queryParams,
211
211
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -267,7 +267,7 @@ class Link {
267
267
  const _response = yield core.fetcher({
268
268
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/link/start"),
269
269
  method: "POST",
270
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
270
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
271
271
  contentType: "application/json",
272
272
  body: yield serializers.BeginLinkTokenRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
273
273
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -327,7 +327,7 @@ class Link {
327
327
  const _response = yield core.fetcher({
328
328
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/link/state"),
329
329
  method: "GET",
330
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined }, (yield this._getCustomAuthorizationHeaders())),
330
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined }, (yield this._getCustomAuthorizationHeaders())),
331
331
  contentType: "application/json",
332
332
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
333
333
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -389,7 +389,7 @@ class Link {
389
389
  const _response = yield core.fetcher({
390
390
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/link/auth/email"),
391
391
  method: "POST",
392
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined }, (yield this._getCustomAuthorizationHeaders())),
392
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined }, (yield this._getCustomAuthorizationHeaders())),
393
393
  contentType: "application/json",
394
394
  body: yield serializers.EmailAuthLink.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }),
395
395
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -453,7 +453,7 @@ class Link {
453
453
  const _response = yield core.fetcher({
454
454
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/link/auth"),
455
455
  method: "POST",
456
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined }, (yield this._getCustomAuthorizationHeaders())),
456
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined }, (yield this._getCustomAuthorizationHeaders())),
457
457
  contentType: "application/json",
458
458
  body: yield serializers.PasswordAuthLink.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }),
459
459
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -512,7 +512,7 @@ class Link {
512
512
  const _response = yield core.fetcher({
513
513
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/link/provider/oauth/${yield serializers.OAuthProviders.jsonOrThrow(oauthProvider)}`),
514
514
  method: "GET",
515
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined }, (yield this._getCustomAuthorizationHeaders())),
515
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined }, (yield this._getCustomAuthorizationHeaders())),
516
516
  contentType: "application/json",
517
517
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
518
518
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -573,7 +573,7 @@ class Link {
573
573
  const _response = yield core.fetcher({
574
574
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/link/provider/password/${yield serializers.PasswordProviders.jsonOrThrow(provider)}`),
575
575
  method: "POST",
576
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined }, (yield this._getCustomAuthorizationHeaders())),
576
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined }, (yield this._getCustomAuthorizationHeaders())),
577
577
  contentType: "application/json",
578
578
  body: yield serializers.IndividualProviderData.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }),
579
579
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -634,7 +634,7 @@ class Link {
634
634
  const _response = yield core.fetcher({
635
635
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/link/provider/password/${yield serializers.PasswordProviders.jsonOrThrow(provider)}/complete_mfa`),
636
636
  method: "POST",
637
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined }, (yield this._getCustomAuthorizationHeaders())),
637
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined }, (yield this._getCustomAuthorizationHeaders())),
638
638
  contentType: "application/json",
639
639
  body: yield serializers.CompletePasswordProviderMfaBody.jsonOrThrow(_body, {
640
640
  unrecognizedObjectKeys: "strip",
@@ -697,7 +697,7 @@ class Link {
697
697
  const _response = yield core.fetcher({
698
698
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/link/provider/email/${yield serializers.EmailProviders.jsonOrThrow(provider)}`),
699
699
  method: "POST",
700
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined }, (yield this._getCustomAuthorizationHeaders())),
700
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined }, (yield this._getCustomAuthorizationHeaders())),
701
701
  contentType: "application/json",
702
702
  body: yield serializers.EmailProviderAuthLink.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }),
703
703
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -756,7 +756,7 @@ class Link {
756
756
  const _response = yield core.fetcher({
757
757
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/link/providers"),
758
758
  method: "GET",
759
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined }, (yield this._getCustomAuthorizationHeaders())),
759
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined }, (yield this._getCustomAuthorizationHeaders())),
760
760
  contentType: "application/json",
761
761
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
762
762
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -814,7 +814,7 @@ class Link {
814
814
  const _response = yield core.fetcher({
815
815
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/link/provider/manual/${yield serializers.ManualProviders.jsonOrThrow(provider)}`),
816
816
  method: "POST",
817
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
817
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
818
818
  contentType: "application/json",
819
819
  body: yield serializers.ManualConnectionData.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
820
820
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -875,7 +875,7 @@ class Link {
875
875
  const _response = yield core.fetcher({
876
876
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/link/connect/demo"),
877
877
  method: "POST",
878
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
878
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
879
879
  contentType: "application/json",
880
880
  body: yield serializers.DemoConnectionCreationPayload.jsonOrThrow(request, {
881
881
  unrecognizedObjectKeys: "strip",