@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
@@ -73,7 +73,7 @@ class Meal {
73
73
  const _response = yield core.fetcher({
74
74
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/meal/${userId}`),
75
75
  method: "GET",
76
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.12", "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.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
77
77
  contentType: "application/json",
78
78
  queryParameters: _queryParams,
79
79
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -67,7 +67,7 @@ class Profile {
67
67
  const _response = yield core.fetcher({
68
68
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/profile/${userId}`),
69
69
  method: "GET",
70
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.12", "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.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
71
71
  contentType: "application/json",
72
72
  queryParameters: _queryParams,
73
73
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -130,7 +130,7 @@ class Profile {
130
130
  const _response = yield core.fetcher({
131
131
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/profile/${userId}/raw`),
132
132
  method: "GET",
133
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
133
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
134
134
  contentType: "application/json",
135
135
  queryParameters: _queryParams,
136
136
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -19,11 +19,12 @@ export declare class Providers {
19
19
  constructor(_options: Providers.Options);
20
20
  /**
21
21
  * Get Provider list
22
+ * @throws {@link Vital.UnprocessableEntityError}
22
23
  *
23
24
  * @example
24
25
  * await vital.providers.getAll()
25
26
  */
26
- getAll(requestOptions?: Providers.RequestOptions): Promise<Vital.ClientFacingProviderDetailed[]>;
27
+ getAll(request?: Vital.ProvidersGetAllRequest, requestOptions?: Providers.RequestOptions): Promise<Vital.ClientFacingProviderDetailed[]>;
27
28
  protected _getCustomAuthorizationHeaders(): Promise<{
28
29
  "x-vital-api-key": string;
29
30
  }>;
@@ -41,6 +41,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
41
41
  exports.Providers = void 0;
42
42
  const environments = __importStar(require("../../../../environments"));
43
43
  const core = __importStar(require("../../../../core"));
44
+ const Vital = __importStar(require("../../.."));
44
45
  const url_join_1 = __importDefault(require("url-join"));
45
46
  const serializers = __importStar(require("../../../../serialization"));
46
47
  const errors = __importStar(require("../../../../errors"));
@@ -50,18 +51,25 @@ class Providers {
50
51
  }
51
52
  /**
52
53
  * Get Provider list
54
+ * @throws {@link Vital.UnprocessableEntityError}
53
55
  *
54
56
  * @example
55
57
  * await vital.providers.getAll()
56
58
  */
57
- getAll(requestOptions) {
59
+ getAll(request = {}, requestOptions) {
58
60
  var _a;
59
61
  return __awaiter(this, void 0, void 0, function* () {
62
+ const { sourceType } = request;
63
+ const _queryParams = {};
64
+ if (sourceType != null) {
65
+ _queryParams["source_type"] = sourceType;
66
+ }
60
67
  const _response = yield core.fetcher({
61
68
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/providers"),
62
69
  method: "GET",
63
- 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())),
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())),
64
71
  contentType: "application/json",
72
+ queryParameters: _queryParams,
65
73
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
66
74
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
67
75
  });
@@ -74,10 +82,20 @@ class Providers {
74
82
  });
75
83
  }
76
84
  if (_response.error.reason === "status-code") {
77
- throw new errors.VitalError({
78
- statusCode: _response.error.statusCode,
79
- body: _response.error.body,
80
- });
85
+ switch (_response.error.statusCode) {
86
+ case 422:
87
+ throw new Vital.UnprocessableEntityError(yield serializers.HttpValidationError.parseOrThrow(_response.error.body, {
88
+ unrecognizedObjectKeys: "passthrough",
89
+ allowUnrecognizedUnionMembers: true,
90
+ allowUnrecognizedEnumValues: true,
91
+ breadcrumbsPrefix: ["response"],
92
+ }));
93
+ default:
94
+ throw new errors.VitalError({
95
+ statusCode: _response.error.statusCode,
96
+ body: _response.error.body,
97
+ });
98
+ }
81
99
  }
82
100
  switch (_response.error.reason) {
83
101
  case "non-json":
@@ -1 +1 @@
1
- export {};
1
+ export * from "./requests";
@@ -1,2 +1,17 @@
1
1
  "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
2
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./requests"), exports);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {}
7
+ */
8
+ export interface ProvidersGetAllRequest {
9
+ sourceType?: string;
10
+ }
@@ -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 @@
1
+ export { ProvidersGetAllRequest } from "./ProvidersGetAllRequest";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -73,7 +73,7 @@ class Sleep {
73
73
  const _response = yield core.fetcher({
74
74
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/sleep/${userId}`),
75
75
  method: "GET",
76
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.12", "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.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
77
77
  contentType: "application/json",
78
78
  queryParameters: _queryParams,
79
79
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -142,7 +142,7 @@ class Sleep {
142
142
  const _response = yield core.fetcher({
143
143
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/sleep/${userId}/stream`),
144
144
  method: "GET",
145
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.12", "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.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
146
146
  contentType: "application/json",
147
147
  queryParameters: _queryParams,
148
148
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -211,7 +211,7 @@ class Sleep {
211
211
  const _response = yield core.fetcher({
212
212
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/sleep/${userId}/raw`),
213
213
  method: "GET",
214
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
214
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
215
215
  contentType: "application/json",
216
216
  queryParameters: _queryParams,
217
217
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -269,7 +269,7 @@ class Sleep {
269
269
  const _response = yield core.fetcher({
270
270
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/sleep/${sleepId}/stream`),
271
271
  method: "GET",
272
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
272
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
273
273
  contentType: "application/json",
274
274
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
275
275
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -63,7 +63,7 @@ class Team {
63
63
  const _response = yield core.fetcher({
64
64
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/team/link/config"),
65
65
  method: "GET",
66
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.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())),
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, "x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined }, (yield this._getCustomAuthorizationHeaders())),
67
67
  contentType: "application/json",
68
68
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
69
69
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -120,7 +120,7 @@ class Team {
120
120
  const _response = yield core.fetcher({
121
121
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/team/${teamId}`),
122
122
  method: "GET",
123
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
123
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
124
124
  contentType: "application/json",
125
125
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
126
126
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -182,7 +182,7 @@ class Team {
182
182
  const _response = yield core.fetcher({
183
183
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/team/users/search"),
184
184
  method: "GET",
185
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
185
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
186
186
  contentType: "application/json",
187
187
  queryParameters: _queryParams,
188
188
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -233,7 +233,7 @@ class Team {
233
233
  const _response = yield core.fetcher({
234
234
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/team/svix/url"),
235
235
  method: "GET",
236
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
236
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
237
237
  contentType: "application/json",
238
238
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
239
239
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -285,7 +285,7 @@ class Team {
285
285
  const _response = yield core.fetcher({
286
286
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/team/source/priorities"),
287
287
  method: "GET",
288
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
288
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
289
289
  contentType: "application/json",
290
290
  queryParameters: _queryParams,
291
291
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -348,7 +348,7 @@ class Team {
348
348
  const _response = yield core.fetcher({
349
349
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/team/source/priorities"),
350
350
  method: "PATCH",
351
- 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())),
351
+ 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())),
352
352
  contentType: "application/json",
353
353
  queryParameters: _queryParams,
354
354
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -405,7 +405,7 @@ class Team {
405
405
  const _response = yield core.fetcher({
406
406
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/team/${teamId}/physicians`),
407
407
  method: "GET",
408
- 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())),
408
+ 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())),
409
409
  contentType: "application/json",
410
410
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
411
411
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -58,7 +58,7 @@ class Testkit {
58
58
  const _response = yield core.fetcher({
59
59
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/order/testkit/register"),
60
60
  method: "POST",
61
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
61
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
62
62
  contentType: "application/json",
63
63
  body: yield serializers.RegisterTestkitRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
64
64
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -113,7 +113,7 @@ class Testkit {
113
113
  const _response = yield core.fetcher({
114
114
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/order/testkit"),
115
115
  method: "POST",
116
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
116
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
117
117
  contentType: "application/json",
118
118
  body: yield serializers.CreateRegistrableTestkitOrderRequest.jsonOrThrow(request, {
119
119
  unrecognizedObjectKeys: "strip",
@@ -70,7 +70,7 @@ class User {
70
70
  const _response = yield core.fetcher({
71
71
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/user"),
72
72
  method: "GET",
73
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
73
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
74
74
  contentType: "application/json",
75
75
  queryParameters: _queryParams,
76
76
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -131,7 +131,7 @@ class User {
131
131
  const _response = yield core.fetcher({
132
132
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/user"),
133
133
  method: "POST",
134
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
134
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
135
135
  contentType: "application/json",
136
136
  body: yield serializers.UserCreateBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
137
137
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -190,7 +190,7 @@ class User {
190
190
  const _response = yield core.fetcher({
191
191
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/user/metrics"),
192
192
  method: "GET",
193
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
193
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
194
194
  contentType: "application/json",
195
195
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
196
196
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -236,7 +236,7 @@ class User {
236
236
  const _response = yield core.fetcher({
237
237
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/user/${userId}/sign_in_token`),
238
238
  method: "POST",
239
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
239
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
240
240
  contentType: "application/json",
241
241
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
242
242
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -293,7 +293,7 @@ class User {
293
293
  const _response = yield core.fetcher({
294
294
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/user/providers/${userId}`),
295
295
  method: "GET",
296
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
296
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
297
297
  contentType: "application/json",
298
298
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
299
299
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -350,7 +350,7 @@ class User {
350
350
  const _response = yield core.fetcher({
351
351
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/user/${userId}`),
352
352
  method: "GET",
353
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
353
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
354
354
  contentType: "application/json",
355
355
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
356
356
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -406,7 +406,7 @@ class User {
406
406
  const _response = yield core.fetcher({
407
407
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/user/${userId}`),
408
408
  method: "DELETE",
409
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
409
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
410
410
  contentType: "application/json",
411
411
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
412
412
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -462,7 +462,7 @@ class User {
462
462
  const _response = yield core.fetcher({
463
463
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/user/${userId}`),
464
464
  method: "PATCH",
465
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
465
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
466
466
  contentType: "application/json",
467
467
  body: yield serializers.UserPatchBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
468
468
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -515,7 +515,7 @@ class User {
515
515
  const _response = yield core.fetcher({
516
516
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/user/resolve/${clientUserId}`),
517
517
  method: "GET",
518
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
518
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
519
519
  contentType: "application/json",
520
520
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
521
521
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -571,7 +571,7 @@ class User {
571
571
  const _response = yield core.fetcher({
572
572
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/user/${userId}/${yield serializers.Providers.jsonOrThrow(provider)}`),
573
573
  method: "DELETE",
574
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
574
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
575
575
  contentType: "application/json",
576
576
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
577
577
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -635,7 +635,7 @@ class User {
635
635
  const _response = yield core.fetcher({
636
636
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/user/undo_delete"),
637
637
  method: "POST",
638
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
638
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
639
639
  contentType: "application/json",
640
640
  queryParameters: _queryParams,
641
641
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -699,7 +699,7 @@ class User {
699
699
  const _response = yield core.fetcher({
700
700
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/user/refresh/${userId}`),
701
701
  method: "POST",
702
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
702
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.14", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
703
703
  contentType: "application/json",
704
704
  queryParameters: _queryParams,
705
705
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,