@tryvital/vital-node 3.1.2 → 3.1.4

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 (935) hide show
  1. package/Client.d.ts +1 -0
  2. package/api/errors/BadRequestError.d.ts +1 -2
  3. package/api/resources/activity/client/Client.d.ts +4 -0
  4. package/api/resources/activity/client/Client.js +8 -12
  5. package/api/resources/body/client/Client.d.ts +4 -0
  6. package/api/resources/body/client/Client.js +8 -12
  7. package/api/resources/devices/client/Client.d.ts +5 -1
  8. package/api/resources/devices/client/Client.js +8 -7
  9. package/api/resources/insurance/client/Client.d.ts +4 -0
  10. package/api/resources/insurance/client/Client.js +8 -12
  11. package/api/resources/introspect/client/Client.d.ts +4 -0
  12. package/api/resources/introspect/client/Client.js +8 -12
  13. package/api/resources/labTests/client/Client.d.ts +7 -3
  14. package/api/resources/labTests/client/Client.js +33 -147
  15. package/api/resources/link/client/Client.d.ts +11 -14
  16. package/api/resources/link/client/Client.js +30 -111
  17. package/api/resources/link/client/requests/EmailAuthLink.d.ts +0 -1
  18. package/api/resources/link/client/requests/EmailProviderAuthLink.d.ts +0 -1
  19. package/api/resources/link/client/requests/IndividualProviderData.d.ts +0 -1
  20. package/api/resources/link/client/requests/PasswordAuthLink.d.ts +0 -2
  21. package/api/resources/link/client/requests/index.d.ts +0 -3
  22. package/api/resources/meal/client/Client.d.ts +4 -0
  23. package/api/resources/meal/client/Client.js +7 -6
  24. package/api/resources/profile/client/Client.d.ts +4 -0
  25. package/api/resources/profile/client/Client.js +8 -12
  26. package/api/resources/providers/client/Client.d.ts +4 -0
  27. package/api/resources/providers/client/Client.js +7 -6
  28. package/api/resources/sleep/client/Client.d.ts +4 -0
  29. package/api/resources/sleep/client/Client.js +10 -24
  30. package/api/resources/team/client/Client.d.ts +8 -4
  31. package/api/resources/team/client/Client.js +17 -48
  32. package/api/resources/team/client/requests/index.d.ts +0 -1
  33. package/api/resources/testkit/client/Client.d.ts +4 -0
  34. package/api/resources/testkit/client/Client.js +8 -12
  35. package/api/resources/testkit/client/requests/RegisterTestkitRequest.d.ts +1 -0
  36. package/api/resources/user/client/Client.d.ts +6 -1
  37. package/api/resources/user/client/Client.js +23 -79
  38. package/api/resources/user/client/requests/UserCreateBody.d.ts +4 -0
  39. package/api/resources/user/client/requests/UserPatchBody.d.ts +4 -0
  40. package/api/resources/vitals/client/Client.d.ts +4 -0
  41. package/api/resources/vitals/client/Client.js +56 -300
  42. package/api/resources/workouts/client/Client.d.ts +4 -0
  43. package/api/resources/workouts/client/Client.js +9 -18
  44. package/api/types/Availability.d.ts +11 -0
  45. package/api/types/Availability.js +10 -0
  46. package/api/types/ClientFacingProviderWithStatus.d.ts +2 -0
  47. package/api/types/ClientFacingTeam.d.ts +7 -1
  48. package/api/types/ClientFacingUser.d.ts +4 -0
  49. package/api/types/ClientUserIdConflict.d.ts +9 -0
  50. package/api/types/ConnectionStatus.d.ts +4 -0
  51. package/api/types/ConnectionStatusState.d.ts +8 -0
  52. package/api/types/ConnectionStatusState.js +10 -0
  53. package/api/types/LibreConfig.d.ts +1 -0
  54. package/api/types/OrderStatus.d.ts +2 -1
  55. package/api/types/OrderStatus.js +1 -0
  56. package/api/types/ProviderLinkResponse.d.ts +3 -0
  57. package/api/types/ProviderLinkResponseState.d.ts +8 -0
  58. package/api/types/ProviderLinkResponseState.js +10 -0
  59. package/api/types/Region.d.ts +2 -1
  60. package/api/types/Region.js +1 -0
  61. package/api/types/ResourceAvailability.d.ts +8 -0
  62. package/api/types/ScopeRequirementsGrants.d.ts +8 -0
  63. package/api/types/ScopeRequirementsStr.d.ts +7 -0
  64. package/api/types/TeamConfig.d.ts +1 -0
  65. package/api/types/index.d.ts +7 -0
  66. package/api/types/index.js +7 -0
  67. package/core/fetcher/Fetcher.d.ts +1 -1
  68. package/core/fetcher/Fetcher.js +32 -18
  69. package/core/index.d.ts +1 -0
  70. package/core/index.js +1 -0
  71. package/core/runtime/index.d.ts +1 -0
  72. package/core/runtime/index.js +5 -0
  73. package/core/runtime/runtime.d.ts +8 -0
  74. package/core/runtime/runtime.js +82 -0
  75. package/core/schemas/builders/object/object.js +11 -15
  76. package/dist/Client.d.ts +1 -0
  77. package/dist/api/errors/BadRequestError.d.ts +1 -2
  78. package/dist/api/resources/activity/client/Client.d.ts +4 -0
  79. package/dist/api/resources/activity/client/Client.js +8 -12
  80. package/dist/api/resources/body/client/Client.d.ts +4 -0
  81. package/dist/api/resources/body/client/Client.js +8 -12
  82. package/dist/api/resources/devices/client/Client.d.ts +5 -1
  83. package/dist/api/resources/devices/client/Client.js +8 -7
  84. package/dist/api/resources/insurance/client/Client.d.ts +4 -0
  85. package/dist/api/resources/insurance/client/Client.js +8 -12
  86. package/dist/api/resources/introspect/client/Client.d.ts +4 -0
  87. package/dist/api/resources/introspect/client/Client.js +8 -12
  88. package/dist/api/resources/labTests/client/Client.d.ts +7 -3
  89. package/dist/api/resources/labTests/client/Client.js +33 -147
  90. package/dist/api/resources/link/client/Client.d.ts +11 -14
  91. package/dist/api/resources/link/client/Client.js +30 -111
  92. package/dist/api/resources/link/client/requests/EmailAuthLink.d.ts +0 -1
  93. package/dist/api/resources/link/client/requests/EmailProviderAuthLink.d.ts +0 -1
  94. package/dist/api/resources/link/client/requests/IndividualProviderData.d.ts +0 -1
  95. package/dist/api/resources/link/client/requests/PasswordAuthLink.d.ts +0 -2
  96. package/dist/api/resources/link/client/requests/index.d.ts +0 -3
  97. package/dist/api/resources/meal/client/Client.d.ts +4 -0
  98. package/dist/api/resources/meal/client/Client.js +7 -6
  99. package/dist/api/resources/profile/client/Client.d.ts +4 -0
  100. package/dist/api/resources/profile/client/Client.js +8 -12
  101. package/dist/api/resources/providers/client/Client.d.ts +4 -0
  102. package/dist/api/resources/providers/client/Client.js +7 -6
  103. package/dist/api/resources/sleep/client/Client.d.ts +4 -0
  104. package/dist/api/resources/sleep/client/Client.js +10 -24
  105. package/dist/api/resources/team/client/Client.d.ts +8 -4
  106. package/dist/api/resources/team/client/Client.js +17 -48
  107. package/dist/api/resources/team/client/requests/index.d.ts +0 -1
  108. package/dist/api/resources/testkit/client/Client.d.ts +4 -0
  109. package/dist/api/resources/testkit/client/Client.js +8 -12
  110. package/dist/api/resources/testkit/client/requests/RegisterTestkitRequest.d.ts +1 -0
  111. package/dist/api/resources/user/client/Client.d.ts +6 -1
  112. package/dist/api/resources/user/client/Client.js +23 -79
  113. package/dist/api/resources/user/client/requests/UserCreateBody.d.ts +4 -0
  114. package/dist/api/resources/user/client/requests/UserPatchBody.d.ts +4 -0
  115. package/dist/api/resources/vitals/client/Client.d.ts +4 -0
  116. package/dist/api/resources/vitals/client/Client.js +56 -300
  117. package/dist/api/resources/workouts/client/Client.d.ts +4 -0
  118. package/dist/api/resources/workouts/client/Client.js +9 -18
  119. package/dist/api/types/Availability.d.ts +11 -0
  120. package/dist/api/types/Availability.js +10 -0
  121. package/dist/api/types/ClientFacingProviderWithStatus.d.ts +2 -0
  122. package/dist/api/types/ClientFacingTeam.d.ts +7 -1
  123. package/dist/api/types/ClientFacingUser.d.ts +4 -0
  124. package/dist/api/types/ClientUserIdConflict.d.ts +9 -0
  125. package/dist/api/types/ConnectionStatus.d.ts +4 -0
  126. package/dist/api/types/ConnectionStatusState.d.ts +8 -0
  127. package/dist/api/types/ConnectionStatusState.js +10 -0
  128. package/dist/api/types/LibreConfig.d.ts +1 -0
  129. package/dist/api/types/OrderStatus.d.ts +2 -1
  130. package/dist/api/types/OrderStatus.js +1 -0
  131. package/dist/api/types/ProviderLinkResponse.d.ts +3 -0
  132. package/dist/api/types/ProviderLinkResponseState.d.ts +8 -0
  133. package/dist/api/types/ProviderLinkResponseState.js +10 -0
  134. package/dist/api/types/Region.d.ts +2 -1
  135. package/dist/api/types/Region.js +1 -0
  136. package/dist/api/types/ResourceAvailability.d.ts +8 -0
  137. package/dist/api/types/ScopeRequirementsGrants.d.ts +8 -0
  138. package/dist/api/types/ScopeRequirementsStr.d.ts +7 -0
  139. package/dist/api/types/TeamConfig.d.ts +1 -0
  140. package/dist/api/types/index.d.ts +7 -0
  141. package/dist/api/types/index.js +7 -0
  142. package/dist/core/fetcher/Fetcher.d.ts +1 -1
  143. package/dist/core/fetcher/Fetcher.js +32 -18
  144. package/dist/core/index.d.ts +1 -0
  145. package/dist/core/index.js +1 -0
  146. package/dist/core/runtime/index.d.ts +1 -0
  147. package/dist/core/runtime/index.js +5 -0
  148. package/dist/core/runtime/runtime.d.ts +8 -0
  149. package/dist/core/runtime/runtime.js +82 -0
  150. package/dist/core/schemas/builders/object/object.js +11 -15
  151. package/dist/serialization/resources/insurance/client/searchDiagnosis.d.ts +2 -1
  152. package/dist/serialization/resources/insurance/client/searchDiagnosis.js +2 -10
  153. package/dist/serialization/resources/insurance/client/searchPayorInfo.d.ts +2 -1
  154. package/dist/serialization/resources/insurance/client/searchPayorInfo.js +2 -10
  155. package/dist/serialization/resources/labTests/client/get.d.ts +2 -1
  156. package/dist/serialization/resources/labTests/client/get.js +2 -10
  157. package/dist/serialization/resources/labTests/client/getLabs.d.ts +2 -1
  158. package/dist/serialization/resources/labTests/client/getLabs.js +2 -10
  159. package/dist/serialization/resources/labTests/client/getPhlebotomyAppointmentCancellationReason.d.ts +2 -1
  160. package/dist/serialization/resources/labTests/client/getPhlebotomyAppointmentCancellationReason.js +2 -10
  161. package/dist/serialization/resources/labTests/client/requests/CreateLabTestRequest.d.ts +4 -2
  162. package/dist/serialization/resources/labTests/client/requests/CreateLabTestRequest.js +4 -11
  163. package/dist/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +10 -5
  164. package/dist/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.js +10 -18
  165. package/dist/serialization/resources/labTests/client/requests/RequestAppointmentRequest.d.ts +4 -2
  166. package/dist/serialization/resources/labTests/client/requests/RequestAppointmentRequest.js +4 -11
  167. package/dist/serialization/resources/link/client/getAllProviders.d.ts +2 -1
  168. package/dist/serialization/resources/link/client/getAllProviders.js +2 -10
  169. package/dist/serialization/resources/link/client/requests/BeginLinkTokenRequest.d.ts +2 -1
  170. package/dist/serialization/resources/link/client/requests/BeginLinkTokenRequest.js +2 -10
  171. package/dist/serialization/resources/link/client/requests/DemoConnectionCreationPayload.d.ts +2 -1
  172. package/dist/serialization/resources/link/client/requests/DemoConnectionCreationPayload.js +2 -10
  173. package/dist/serialization/resources/link/client/requests/EmailAuthLink.d.ts +7 -4
  174. package/dist/serialization/resources/link/client/requests/EmailAuthLink.js +6 -12
  175. package/dist/serialization/resources/link/client/requests/EmailProviderAuthLink.d.ts +5 -3
  176. package/dist/serialization/resources/link/client/requests/EmailProviderAuthLink.js +4 -11
  177. package/dist/serialization/resources/link/client/requests/IndividualProviderData.d.ts +1 -1
  178. package/dist/serialization/resources/link/client/requests/LinkTokenExchange.d.ts +3 -2
  179. package/dist/serialization/resources/link/client/requests/LinkTokenExchange.js +3 -13
  180. package/dist/serialization/resources/link/client/requests/PasswordAuthLink.d.ts +5 -3
  181. package/dist/serialization/resources/link/client/requests/PasswordAuthLink.js +4 -11
  182. package/dist/serialization/resources/providers/client/getAll.d.ts +2 -1
  183. package/dist/serialization/resources/providers/client/getAll.js +2 -10
  184. package/dist/serialization/resources/team/client/getPhysicians.d.ts +2 -1
  185. package/dist/serialization/resources/team/client/getPhysicians.js +2 -10
  186. package/dist/serialization/resources/team/client/getUserById.d.ts +2 -1
  187. package/dist/serialization/resources/team/client/getUserById.js +2 -10
  188. package/dist/serialization/resources/testkit/client/requests/CreateRegistrableTestkitOrderRequest.d.ts +2 -1
  189. package/dist/serialization/resources/testkit/client/requests/CreateRegistrableTestkitOrderRequest.js +2 -10
  190. package/dist/serialization/resources/testkit/client/requests/RegisterTestkitRequest.d.ts +10 -4
  191. package/dist/serialization/resources/testkit/client/requests/RegisterTestkitRequest.js +10 -17
  192. package/dist/serialization/resources/user/client/getConnectedProviders.d.ts +2 -1
  193. package/dist/serialization/resources/user/client/getConnectedProviders.js +2 -10
  194. package/dist/serialization/resources/user/client/requests/UserCreateBody.d.ts +2 -0
  195. package/dist/serialization/resources/user/client/requests/UserCreateBody.js +2 -0
  196. package/dist/serialization/resources/user/client/requests/UserPatchBody.d.ts +2 -0
  197. package/dist/serialization/resources/user/client/requests/UserPatchBody.js +2 -0
  198. package/dist/serialization/resources/vitals/client/bloodOxygen.d.ts +2 -1
  199. package/dist/serialization/resources/vitals/client/bloodOxygen.js +2 -10
  200. package/dist/serialization/resources/vitals/client/bloodPressure.d.ts +2 -1
  201. package/dist/serialization/resources/vitals/client/bloodPressure.js +2 -10
  202. package/dist/serialization/resources/vitals/client/bodyFat.d.ts +2 -1
  203. package/dist/serialization/resources/vitals/client/bodyFat.js +2 -10
  204. package/dist/serialization/resources/vitals/client/bodyWeight.d.ts +2 -1
  205. package/dist/serialization/resources/vitals/client/bodyWeight.js +2 -10
  206. package/dist/serialization/resources/vitals/client/caffeine.d.ts +2 -1
  207. package/dist/serialization/resources/vitals/client/caffeine.js +2 -10
  208. package/dist/serialization/resources/vitals/client/caloriesActive.d.ts +2 -1
  209. package/dist/serialization/resources/vitals/client/caloriesActive.js +2 -10
  210. package/dist/serialization/resources/vitals/client/caloriesBasal.d.ts +2 -1
  211. package/dist/serialization/resources/vitals/client/caloriesBasal.js +2 -10
  212. package/dist/serialization/resources/vitals/client/cholesterol.d.ts +2 -1
  213. package/dist/serialization/resources/vitals/client/cholesterol.js +2 -10
  214. package/dist/serialization/resources/vitals/client/cholesterolHdl.d.ts +2 -1
  215. package/dist/serialization/resources/vitals/client/cholesterolHdl.js +2 -10
  216. package/dist/serialization/resources/vitals/client/cholesterolLdl.d.ts +2 -1
  217. package/dist/serialization/resources/vitals/client/cholesterolLdl.js +2 -10
  218. package/dist/serialization/resources/vitals/client/cholesterolTotal.d.ts +2 -1
  219. package/dist/serialization/resources/vitals/client/cholesterolTotal.js +2 -10
  220. package/dist/serialization/resources/vitals/client/cholesterolTriglycerides.d.ts +2 -1
  221. package/dist/serialization/resources/vitals/client/cholesterolTriglycerides.js +2 -10
  222. package/dist/serialization/resources/vitals/client/distance.d.ts +2 -1
  223. package/dist/serialization/resources/vitals/client/distance.js +2 -10
  224. package/dist/serialization/resources/vitals/client/electrocardiogramVoltage.d.ts +2 -1
  225. package/dist/serialization/resources/vitals/client/electrocardiogramVoltage.js +2 -10
  226. package/dist/serialization/resources/vitals/client/floorsClimbed.d.ts +2 -1
  227. package/dist/serialization/resources/vitals/client/floorsClimbed.js +2 -10
  228. package/dist/serialization/resources/vitals/client/glucose.d.ts +2 -1
  229. package/dist/serialization/resources/vitals/client/glucose.js +2 -10
  230. package/dist/serialization/resources/vitals/client/heartrate.d.ts +2 -1
  231. package/dist/serialization/resources/vitals/client/heartrate.js +2 -10
  232. package/dist/serialization/resources/vitals/client/hrv.d.ts +2 -1
  233. package/dist/serialization/resources/vitals/client/hrv.js +2 -10
  234. package/dist/serialization/resources/vitals/client/hypnogram.d.ts +2 -1
  235. package/dist/serialization/resources/vitals/client/hypnogram.js +2 -10
  236. package/dist/serialization/resources/vitals/client/ige.d.ts +2 -1
  237. package/dist/serialization/resources/vitals/client/ige.js +2 -10
  238. package/dist/serialization/resources/vitals/client/igg.d.ts +2 -1
  239. package/dist/serialization/resources/vitals/client/igg.js +2 -10
  240. package/dist/serialization/resources/vitals/client/mindfulnessMinutes.d.ts +2 -1
  241. package/dist/serialization/resources/vitals/client/mindfulnessMinutes.js +2 -10
  242. package/dist/serialization/resources/vitals/client/respiratoryRate.d.ts +2 -1
  243. package/dist/serialization/resources/vitals/client/respiratoryRate.js +2 -10
  244. package/dist/serialization/resources/vitals/client/steps.d.ts +2 -1
  245. package/dist/serialization/resources/vitals/client/steps.js +2 -10
  246. package/dist/serialization/resources/vitals/client/stressLevel.d.ts +2 -1
  247. package/dist/serialization/resources/vitals/client/stressLevel.js +2 -10
  248. package/dist/serialization/resources/vitals/client/vo2Max.d.ts +2 -1
  249. package/dist/serialization/resources/vitals/client/vo2Max.js +2 -10
  250. package/dist/serialization/resources/vitals/client/water.d.ts +2 -1
  251. package/dist/serialization/resources/vitals/client/water.js +2 -10
  252. package/dist/serialization/types/ActivityV2InDb.d.ts +2 -1
  253. package/dist/serialization/types/ActivityV2InDb.js +2 -10
  254. package/dist/serialization/types/AppointmentAvailabilitySlots.d.ts +2 -1
  255. package/dist/serialization/types/AppointmentAvailabilitySlots.js +2 -10
  256. package/dist/serialization/types/AreaInfo.d.ts +2 -1
  257. package/dist/serialization/types/AreaInfo.js +2 -10
  258. package/dist/serialization/types/Availability.d.ts +10 -0
  259. package/dist/serialization/types/Availability.js +31 -0
  260. package/dist/serialization/types/BiomarkerResult.d.ts +2 -1
  261. package/dist/serialization/types/BiomarkerResult.js +2 -10
  262. package/dist/serialization/types/BodyV2InDb.d.ts +2 -1
  263. package/dist/serialization/types/BodyV2InDb.js +2 -10
  264. package/dist/serialization/types/ClientActivityResponse.d.ts +2 -1
  265. package/dist/serialization/types/ClientActivityResponse.js +2 -10
  266. package/dist/serialization/types/ClientBodyResponse.d.ts +2 -1
  267. package/dist/serialization/types/ClientBodyResponse.js +2 -10
  268. package/dist/serialization/types/ClientFacingActivity.d.ts +4 -2
  269. package/dist/serialization/types/ClientFacingActivity.js +4 -11
  270. package/dist/serialization/types/ClientFacingAppointment.d.ts +14 -7
  271. package/dist/serialization/types/ClientFacingAppointment.js +14 -16
  272. package/dist/serialization/types/ClientFacingAppointmentEvent.d.ts +2 -1
  273. package/dist/serialization/types/ClientFacingAppointmentEvent.js +2 -10
  274. package/dist/serialization/types/ClientFacingAtHomePhlebotomyOrderDetails.d.ts +2 -1
  275. package/dist/serialization/types/ClientFacingAtHomePhlebotomyOrderDetails.js +2 -10
  276. package/dist/serialization/types/ClientFacingBody.d.ts +2 -1
  277. package/dist/serialization/types/ClientFacingBody.js +2 -10
  278. package/dist/serialization/types/ClientFacingFood.d.ts +6 -3
  279. package/dist/serialization/types/ClientFacingFood.js +6 -12
  280. package/dist/serialization/types/ClientFacingLab.d.ts +4 -2
  281. package/dist/serialization/types/ClientFacingLab.js +4 -11
  282. package/dist/serialization/types/ClientFacingLabTest.d.ts +10 -5
  283. package/dist/serialization/types/ClientFacingLabTest.js +10 -16
  284. package/dist/serialization/types/ClientFacingMarker.d.ts +2 -1
  285. package/dist/serialization/types/ClientFacingMarker.js +2 -10
  286. package/dist/serialization/types/ClientFacingMarkerComplete.d.ts +4 -2
  287. package/dist/serialization/types/ClientFacingMarkerComplete.js +4 -11
  288. package/dist/serialization/types/ClientFacingMealResponse.d.ts +2 -1
  289. package/dist/serialization/types/ClientFacingMealResponse.js +2 -10
  290. package/dist/serialization/types/ClientFacingOrder.d.ts +16 -8
  291. package/dist/serialization/types/ClientFacingOrder.js +16 -17
  292. package/dist/serialization/types/ClientFacingOrderDetails.d.ts +6 -3
  293. package/dist/serialization/types/ClientFacingOrderDetails.js +6 -12
  294. package/dist/serialization/types/ClientFacingOrderEvent.d.ts +2 -1
  295. package/dist/serialization/types/ClientFacingOrderEvent.js +2 -10
  296. package/dist/serialization/types/ClientFacingPayorSearchResponse.d.ts +2 -1
  297. package/dist/serialization/types/ClientFacingPayorSearchResponse.js +2 -10
  298. package/dist/serialization/types/ClientFacingProfile.d.ts +2 -1
  299. package/dist/serialization/types/ClientFacingProfile.js +2 -10
  300. package/dist/serialization/types/ClientFacingProviderDetailed.d.ts +4 -2
  301. package/dist/serialization/types/ClientFacingProviderDetailed.js +4 -13
  302. package/dist/serialization/types/ClientFacingProviderWithStatus.d.ts +2 -0
  303. package/dist/serialization/types/ClientFacingProviderWithStatus.js +2 -0
  304. package/dist/serialization/types/ClientFacingResult.d.ts +2 -1
  305. package/dist/serialization/types/ClientFacingResult.js +2 -10
  306. package/dist/serialization/types/ClientFacingSleep.d.ts +4 -2
  307. package/dist/serialization/types/ClientFacingSleep.js +4 -11
  308. package/dist/serialization/types/ClientFacingSleepStream.d.ts +8 -4
  309. package/dist/serialization/types/ClientFacingSleepStream.js +8 -21
  310. package/dist/serialization/types/ClientFacingTeam.d.ts +7 -4
  311. package/dist/serialization/types/ClientFacingTeam.js +7 -15
  312. package/dist/serialization/types/ClientFacingTestKitOrderDetails.d.ts +2 -1
  313. package/dist/serialization/types/ClientFacingTestKitOrderDetails.js +2 -10
  314. package/dist/serialization/types/ClientFacingTestkitOrder.d.ts +2 -1
  315. package/dist/serialization/types/ClientFacingTestkitOrder.js +2 -10
  316. package/dist/serialization/types/ClientFacingUser.d.ts +8 -3
  317. package/dist/serialization/types/ClientFacingUser.js +8 -12
  318. package/dist/serialization/types/ClientFacingWalkInOrderDetails.d.ts +2 -1
  319. package/dist/serialization/types/ClientFacingWalkInOrderDetails.js +2 -10
  320. package/dist/serialization/types/ClientFacingWorkout.d.ts +4 -2
  321. package/dist/serialization/types/ClientFacingWorkout.js +4 -11
  322. package/dist/serialization/types/ClientSleepResponse.d.ts +2 -1
  323. package/dist/serialization/types/ClientSleepResponse.js +2 -10
  324. package/dist/serialization/types/ClientUserIdConflict.d.ts +15 -0
  325. package/dist/serialization/types/ClientUserIdConflict.js +36 -0
  326. package/dist/serialization/types/ClientWorkoutResponse.d.ts +2 -1
  327. package/dist/serialization/types/ClientWorkoutResponse.js +2 -10
  328. package/dist/serialization/types/ConnectedSourceClientFacing.d.ts +3 -2
  329. package/dist/serialization/types/ConnectedSourceClientFacing.js +3 -11
  330. package/dist/serialization/types/ConnectionStatus.d.ts +4 -0
  331. package/dist/serialization/types/ConnectionStatus.js +4 -0
  332. package/dist/serialization/types/ConnectionStatusState.d.ts +10 -0
  333. package/dist/serialization/types/ConnectionStatusState.js +31 -0
  334. package/dist/serialization/types/Consent.d.ts +2 -1
  335. package/dist/serialization/types/Consent.js +2 -10
  336. package/dist/serialization/types/DaySlots.d.ts +2 -1
  337. package/dist/serialization/types/DaySlots.js +2 -10
  338. package/dist/serialization/types/DeviceV2InDb.d.ts +2 -1
  339. package/dist/serialization/types/DeviceV2InDb.js +2 -10
  340. package/dist/serialization/types/EventDestinationPreferences.d.ts +4 -2
  341. package/dist/serialization/types/EventDestinationPreferences.js +4 -11
  342. package/dist/serialization/types/GetMarkersResponse.d.ts +2 -1
  343. package/dist/serialization/types/GetMarkersResponse.js +2 -10
  344. package/dist/serialization/types/GetOrdersResponse.d.ts +2 -1
  345. package/dist/serialization/types/GetOrdersResponse.js +2 -10
  346. package/dist/serialization/types/GroupedBloodOxygen.d.ts +4 -2
  347. package/dist/serialization/types/GroupedBloodOxygen.js +4 -11
  348. package/dist/serialization/types/GroupedBloodOxygenResponse.d.ts +2 -1
  349. package/dist/serialization/types/GroupedBloodOxygenResponse.js +2 -10
  350. package/dist/serialization/types/GroupedBloodPressure.d.ts +4 -2
  351. package/dist/serialization/types/GroupedBloodPressure.js +4 -11
  352. package/dist/serialization/types/GroupedBloodPressureResponse.d.ts +2 -1
  353. package/dist/serialization/types/GroupedBloodPressureResponse.js +2 -10
  354. package/dist/serialization/types/GroupedBodyFat.d.ts +4 -2
  355. package/dist/serialization/types/GroupedBodyFat.js +4 -11
  356. package/dist/serialization/types/GroupedBodyFatResponse.d.ts +2 -1
  357. package/dist/serialization/types/GroupedBodyFatResponse.js +2 -10
  358. package/dist/serialization/types/GroupedBodyWeight.d.ts +4 -2
  359. package/dist/serialization/types/GroupedBodyWeight.js +4 -11
  360. package/dist/serialization/types/GroupedBodyWeightResponse.d.ts +2 -1
  361. package/dist/serialization/types/GroupedBodyWeightResponse.js +2 -10
  362. package/dist/serialization/types/GroupedCaffeine.d.ts +4 -2
  363. package/dist/serialization/types/GroupedCaffeine.js +4 -11
  364. package/dist/serialization/types/GroupedCaffeineResponse.d.ts +2 -1
  365. package/dist/serialization/types/GroupedCaffeineResponse.js +2 -10
  366. package/dist/serialization/types/GroupedCaloriesActive.d.ts +4 -2
  367. package/dist/serialization/types/GroupedCaloriesActive.js +4 -11
  368. package/dist/serialization/types/GroupedCaloriesActiveResponse.d.ts +2 -1
  369. package/dist/serialization/types/GroupedCaloriesActiveResponse.js +2 -10
  370. package/dist/serialization/types/GroupedCaloriesBasal.d.ts +4 -2
  371. package/dist/serialization/types/GroupedCaloriesBasal.js +4 -11
  372. package/dist/serialization/types/GroupedCaloriesBasalResponse.d.ts +2 -1
  373. package/dist/serialization/types/GroupedCaloriesBasalResponse.js +2 -10
  374. package/dist/serialization/types/GroupedCholesterol.d.ts +4 -2
  375. package/dist/serialization/types/GroupedCholesterol.js +4 -11
  376. package/dist/serialization/types/GroupedCholesterolResponse.d.ts +2 -1
  377. package/dist/serialization/types/GroupedCholesterolResponse.js +2 -10
  378. package/dist/serialization/types/GroupedDistance.d.ts +4 -2
  379. package/dist/serialization/types/GroupedDistance.js +4 -11
  380. package/dist/serialization/types/GroupedDistanceResponse.d.ts +2 -1
  381. package/dist/serialization/types/GroupedDistanceResponse.js +2 -10
  382. package/dist/serialization/types/GroupedElectrocardiogramVoltage.d.ts +4 -2
  383. package/dist/serialization/types/GroupedElectrocardiogramVoltage.js +4 -11
  384. package/dist/serialization/types/GroupedElectrocardiogramVoltageResponse.d.ts +2 -1
  385. package/dist/serialization/types/GroupedElectrocardiogramVoltageResponse.js +2 -10
  386. package/dist/serialization/types/GroupedFloorsClimbed.d.ts +4 -2
  387. package/dist/serialization/types/GroupedFloorsClimbed.js +4 -11
  388. package/dist/serialization/types/GroupedFloorsClimbedResponse.d.ts +2 -1
  389. package/dist/serialization/types/GroupedFloorsClimbedResponse.js +2 -10
  390. package/dist/serialization/types/GroupedGlucose.d.ts +4 -2
  391. package/dist/serialization/types/GroupedGlucose.js +4 -11
  392. package/dist/serialization/types/GroupedGlucoseResponse.d.ts +2 -1
  393. package/dist/serialization/types/GroupedGlucoseResponse.js +2 -10
  394. package/dist/serialization/types/GroupedHeartRate.d.ts +4 -2
  395. package/dist/serialization/types/GroupedHeartRate.js +4 -11
  396. package/dist/serialization/types/GroupedHeartRateResponse.d.ts +2 -1
  397. package/dist/serialization/types/GroupedHeartRateResponse.js +2 -10
  398. package/dist/serialization/types/GroupedHrv.d.ts +4 -2
  399. package/dist/serialization/types/GroupedHrv.js +4 -11
  400. package/dist/serialization/types/GroupedHrvResponse.d.ts +2 -1
  401. package/dist/serialization/types/GroupedHrvResponse.js +2 -10
  402. package/dist/serialization/types/GroupedHypnogram.d.ts +4 -2
  403. package/dist/serialization/types/GroupedHypnogram.js +4 -11
  404. package/dist/serialization/types/GroupedHypnogramResponse.d.ts +2 -1
  405. package/dist/serialization/types/GroupedHypnogramResponse.js +2 -10
  406. package/dist/serialization/types/GroupedIge.d.ts +4 -2
  407. package/dist/serialization/types/GroupedIge.js +4 -11
  408. package/dist/serialization/types/GroupedIgeResponse.d.ts +2 -1
  409. package/dist/serialization/types/GroupedIgeResponse.js +2 -10
  410. package/dist/serialization/types/GroupedIgg.d.ts +4 -2
  411. package/dist/serialization/types/GroupedIgg.js +4 -11
  412. package/dist/serialization/types/GroupedIggResponse.d.ts +2 -1
  413. package/dist/serialization/types/GroupedIggResponse.js +2 -10
  414. package/dist/serialization/types/GroupedMindfulnessMinutes.d.ts +4 -2
  415. package/dist/serialization/types/GroupedMindfulnessMinutes.js +4 -11
  416. package/dist/serialization/types/GroupedMindfulnessMinutesResponse.d.ts +2 -1
  417. package/dist/serialization/types/GroupedMindfulnessMinutesResponse.js +2 -10
  418. package/dist/serialization/types/GroupedRespiratoryRate.d.ts +4 -2
  419. package/dist/serialization/types/GroupedRespiratoryRate.js +4 -11
  420. package/dist/serialization/types/GroupedRespiratoryRateResponse.d.ts +2 -1
  421. package/dist/serialization/types/GroupedRespiratoryRateResponse.js +2 -10
  422. package/dist/serialization/types/GroupedSteps.d.ts +4 -2
  423. package/dist/serialization/types/GroupedSteps.js +4 -11
  424. package/dist/serialization/types/GroupedStepsResponse.d.ts +2 -1
  425. package/dist/serialization/types/GroupedStepsResponse.js +2 -10
  426. package/dist/serialization/types/GroupedStressLevel.d.ts +4 -2
  427. package/dist/serialization/types/GroupedStressLevel.js +4 -11
  428. package/dist/serialization/types/GroupedStressLevelResponse.d.ts +2 -1
  429. package/dist/serialization/types/GroupedStressLevelResponse.js +2 -10
  430. package/dist/serialization/types/GroupedVo2Max.d.ts +4 -2
  431. package/dist/serialization/types/GroupedVo2Max.js +4 -11
  432. package/dist/serialization/types/GroupedVo2MaxResponse.d.ts +2 -1
  433. package/dist/serialization/types/GroupedVo2MaxResponse.js +2 -10
  434. package/dist/serialization/types/GroupedWater.d.ts +4 -2
  435. package/dist/serialization/types/GroupedWater.js +4 -11
  436. package/dist/serialization/types/GroupedWaterResponse.d.ts +2 -1
  437. package/dist/serialization/types/GroupedWaterResponse.js +2 -10
  438. package/dist/serialization/types/HealthInsuranceCreateRequest.d.ts +10 -5
  439. package/dist/serialization/types/HealthInsuranceCreateRequest.js +10 -16
  440. package/dist/serialization/types/HealthInsuranceCreateRequestBackImage.d.ts +4 -2
  441. package/dist/serialization/types/HealthInsuranceCreateRequestBackImage.js +4 -11
  442. package/dist/serialization/types/HealthInsuranceCreateRequestFrontImage.d.ts +4 -2
  443. package/dist/serialization/types/HealthInsuranceCreateRequestFrontImage.js +4 -11
  444. package/dist/serialization/types/HealthInsuranceCreateRequestPatientSignatureImage.d.ts +4 -2
  445. package/dist/serialization/types/HealthInsuranceCreateRequestPatientSignatureImage.js +4 -11
  446. package/dist/serialization/types/HttpValidationError.d.ts +2 -1
  447. package/dist/serialization/types/HttpValidationError.js +2 -12
  448. package/dist/serialization/types/LabResultsRaw.d.ts +4 -2
  449. package/dist/serialization/types/LabResultsRaw.js +4 -11
  450. package/dist/serialization/types/LabResultsRawResults.d.ts +2 -1
  451. package/dist/serialization/types/LabResultsRawResults.js +2 -10
  452. package/dist/serialization/types/LastAttempt.d.ts +2 -1
  453. package/dist/serialization/types/LastAttempt.js +2 -10
  454. package/dist/serialization/types/LibreConfig.d.ts +1 -0
  455. package/dist/serialization/types/LibreConfig.js +1 -0
  456. package/dist/serialization/types/Macros.d.ts +2 -1
  457. package/dist/serialization/types/Macros.js +2 -10
  458. package/dist/serialization/types/MealInDbBaseClientFacingSource.d.ts +10 -5
  459. package/dist/serialization/types/MealInDbBaseClientFacingSource.js +10 -16
  460. package/dist/serialization/types/MetricsResult.d.ts +2 -1
  461. package/dist/serialization/types/MetricsResult.js +2 -12
  462. package/dist/serialization/types/OrderStatus.d.ts +1 -1
  463. package/dist/serialization/types/OrderStatus.js +1 -0
  464. package/dist/serialization/types/PaginatedUsersResponse.d.ts +2 -1
  465. package/dist/serialization/types/PaginatedUsersResponse.js +2 -10
  466. package/dist/serialization/types/PatientDetails.d.ts +2 -1
  467. package/dist/serialization/types/PatientDetails.js +2 -10
  468. package/dist/serialization/types/PersonDetails.d.ts +2 -1
  469. package/dist/serialization/types/PersonDetails.js +2 -10
  470. package/dist/serialization/types/PhlebotomyAreaInfo.d.ts +2 -1
  471. package/dist/serialization/types/PhlebotomyAreaInfo.js +2 -10
  472. package/dist/serialization/types/PhlebotomyProviderInfo.d.ts +4 -2
  473. package/dist/serialization/types/PhlebotomyProviderInfo.js +4 -11
  474. package/dist/serialization/types/PhysicianCreateRequest.d.ts +2 -1
  475. package/dist/serialization/types/PhysicianCreateRequest.js +2 -10
  476. package/dist/serialization/types/PhysicianCreateRequestSignatureImage.d.ts +4 -2
  477. package/dist/serialization/types/PhysicianCreateRequestSignatureImage.js +4 -11
  478. package/dist/serialization/types/PostOrderResponse.d.ts +2 -1
  479. package/dist/serialization/types/PostOrderResponse.js +2 -10
  480. package/dist/serialization/types/ProfileInDb.d.ts +2 -1
  481. package/dist/serialization/types/ProfileInDb.js +2 -10
  482. package/dist/serialization/types/ProviderLinkResponse.d.ts +6 -1
  483. package/dist/serialization/types/ProviderLinkResponse.js +6 -10
  484. package/dist/serialization/types/ProviderLinkResponseState.d.ts +10 -0
  485. package/dist/serialization/types/ProviderLinkResponseState.js +31 -0
  486. package/dist/serialization/types/RawActivity.d.ts +2 -1
  487. package/dist/serialization/types/RawActivity.js +2 -10
  488. package/dist/serialization/types/RawBody.d.ts +2 -1
  489. package/dist/serialization/types/RawBody.js +2 -10
  490. package/dist/serialization/types/RawDevices.d.ts +2 -1
  491. package/dist/serialization/types/RawDevices.js +2 -10
  492. package/dist/serialization/types/RawProfile.d.ts +2 -1
  493. package/dist/serialization/types/RawProfile.js +2 -10
  494. package/dist/serialization/types/RawSleep.d.ts +2 -1
  495. package/dist/serialization/types/RawSleep.js +2 -10
  496. package/dist/serialization/types/RawWorkout.d.ts +2 -1
  497. package/dist/serialization/types/RawWorkout.js +2 -10
  498. package/dist/serialization/types/Region.d.ts +1 -1
  499. package/dist/serialization/types/Region.js +1 -0
  500. package/dist/serialization/types/ResourceAvailability.d.ts +15 -0
  501. package/dist/serialization/types/ResourceAvailability.js +36 -0
  502. package/dist/serialization/types/ScopeRequirementsGrants.d.ts +14 -0
  503. package/dist/serialization/types/ScopeRequirementsGrants.js +35 -0
  504. package/dist/serialization/types/ScopeRequirementsStr.d.ts +13 -0
  505. package/dist/serialization/types/ScopeRequirementsStr.js +34 -0
  506. package/dist/serialization/types/SingleHistoricalPullStatistics.d.ts +2 -1
  507. package/dist/serialization/types/SingleHistoricalPullStatistics.js +2 -10
  508. package/dist/serialization/types/SingleProviderHistoricalPullResponse.d.ts +4 -2
  509. package/dist/serialization/types/SingleProviderHistoricalPullResponse.js +4 -11
  510. package/dist/serialization/types/SingleResourceStatistics.d.ts +2 -1
  511. package/dist/serialization/types/SingleResourceStatistics.js +2 -10
  512. package/dist/serialization/types/SingleUserHistoricalPullResponse.d.ts +2 -1
  513. package/dist/serialization/types/SingleUserHistoricalPullResponse.js +2 -10
  514. package/dist/serialization/types/SingleUserResourceResponse.d.ts +2 -1
  515. package/dist/serialization/types/SingleUserResourceResponse.js +2 -10
  516. package/dist/serialization/types/SleepV2InDb.d.ts +2 -1
  517. package/dist/serialization/types/SleepV2InDb.js +2 -10
  518. package/dist/serialization/types/Source.d.ts +4 -2
  519. package/dist/serialization/types/Source.js +4 -11
  520. package/dist/serialization/types/SourceLink.d.ts +2 -1
  521. package/dist/serialization/types/SourceLink.js +2 -10
  522. package/dist/serialization/types/TeamConfig.d.ts +5 -2
  523. package/dist/serialization/types/TeamConfig.js +5 -11
  524. package/dist/serialization/types/UserHistoricalPullsResponse.d.ts +2 -1
  525. package/dist/serialization/types/UserHistoricalPullsResponse.js +2 -10
  526. package/dist/serialization/types/UserResourcesResponse.d.ts +2 -1
  527. package/dist/serialization/types/UserResourcesResponse.js +2 -10
  528. package/dist/serialization/types/ValidationError.d.ts +2 -1
  529. package/dist/serialization/types/ValidationError.js +2 -10
  530. package/dist/serialization/types/WorkoutV2InDb.d.ts +4 -2
  531. package/dist/serialization/types/WorkoutV2InDb.js +4 -11
  532. package/dist/serialization/types/index.d.ts +7 -0
  533. package/dist/serialization/types/index.js +7 -0
  534. package/jest.config.js +5 -0
  535. package/package.json +6 -2
  536. package/serialization/resources/insurance/client/searchDiagnosis.d.ts +2 -1
  537. package/serialization/resources/insurance/client/searchDiagnosis.js +2 -10
  538. package/serialization/resources/insurance/client/searchPayorInfo.d.ts +2 -1
  539. package/serialization/resources/insurance/client/searchPayorInfo.js +2 -10
  540. package/serialization/resources/labTests/client/get.d.ts +2 -1
  541. package/serialization/resources/labTests/client/get.js +2 -10
  542. package/serialization/resources/labTests/client/getLabs.d.ts +2 -1
  543. package/serialization/resources/labTests/client/getLabs.js +2 -10
  544. package/serialization/resources/labTests/client/getPhlebotomyAppointmentCancellationReason.d.ts +2 -1
  545. package/serialization/resources/labTests/client/getPhlebotomyAppointmentCancellationReason.js +2 -10
  546. package/serialization/resources/labTests/client/requests/CreateLabTestRequest.d.ts +4 -2
  547. package/serialization/resources/labTests/client/requests/CreateLabTestRequest.js +4 -11
  548. package/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +10 -5
  549. package/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.js +10 -18
  550. package/serialization/resources/labTests/client/requests/RequestAppointmentRequest.d.ts +4 -2
  551. package/serialization/resources/labTests/client/requests/RequestAppointmentRequest.js +4 -11
  552. package/serialization/resources/link/client/getAllProviders.d.ts +2 -1
  553. package/serialization/resources/link/client/getAllProviders.js +2 -10
  554. package/serialization/resources/link/client/requests/BeginLinkTokenRequest.d.ts +2 -1
  555. package/serialization/resources/link/client/requests/BeginLinkTokenRequest.js +2 -10
  556. package/serialization/resources/link/client/requests/DemoConnectionCreationPayload.d.ts +2 -1
  557. package/serialization/resources/link/client/requests/DemoConnectionCreationPayload.js +2 -10
  558. package/serialization/resources/link/client/requests/EmailAuthLink.d.ts +7 -4
  559. package/serialization/resources/link/client/requests/EmailAuthLink.js +6 -12
  560. package/serialization/resources/link/client/requests/EmailProviderAuthLink.d.ts +5 -3
  561. package/serialization/resources/link/client/requests/EmailProviderAuthLink.js +4 -11
  562. package/serialization/resources/link/client/requests/IndividualProviderData.d.ts +1 -1
  563. package/serialization/resources/link/client/requests/LinkTokenExchange.d.ts +3 -2
  564. package/serialization/resources/link/client/requests/LinkTokenExchange.js +3 -13
  565. package/serialization/resources/link/client/requests/PasswordAuthLink.d.ts +5 -3
  566. package/serialization/resources/link/client/requests/PasswordAuthLink.js +4 -11
  567. package/serialization/resources/providers/client/getAll.d.ts +2 -1
  568. package/serialization/resources/providers/client/getAll.js +2 -10
  569. package/serialization/resources/team/client/getPhysicians.d.ts +2 -1
  570. package/serialization/resources/team/client/getPhysicians.js +2 -10
  571. package/serialization/resources/team/client/getUserById.d.ts +2 -1
  572. package/serialization/resources/team/client/getUserById.js +2 -10
  573. package/serialization/resources/testkit/client/requests/CreateRegistrableTestkitOrderRequest.d.ts +2 -1
  574. package/serialization/resources/testkit/client/requests/CreateRegistrableTestkitOrderRequest.js +2 -10
  575. package/serialization/resources/testkit/client/requests/RegisterTestkitRequest.d.ts +10 -4
  576. package/serialization/resources/testkit/client/requests/RegisterTestkitRequest.js +10 -17
  577. package/serialization/resources/user/client/getConnectedProviders.d.ts +2 -1
  578. package/serialization/resources/user/client/getConnectedProviders.js +2 -10
  579. package/serialization/resources/user/client/requests/UserCreateBody.d.ts +2 -0
  580. package/serialization/resources/user/client/requests/UserCreateBody.js +2 -0
  581. package/serialization/resources/user/client/requests/UserPatchBody.d.ts +2 -0
  582. package/serialization/resources/user/client/requests/UserPatchBody.js +2 -0
  583. package/serialization/resources/vitals/client/bloodOxygen.d.ts +2 -1
  584. package/serialization/resources/vitals/client/bloodOxygen.js +2 -10
  585. package/serialization/resources/vitals/client/bloodPressure.d.ts +2 -1
  586. package/serialization/resources/vitals/client/bloodPressure.js +2 -10
  587. package/serialization/resources/vitals/client/bodyFat.d.ts +2 -1
  588. package/serialization/resources/vitals/client/bodyFat.js +2 -10
  589. package/serialization/resources/vitals/client/bodyWeight.d.ts +2 -1
  590. package/serialization/resources/vitals/client/bodyWeight.js +2 -10
  591. package/serialization/resources/vitals/client/caffeine.d.ts +2 -1
  592. package/serialization/resources/vitals/client/caffeine.js +2 -10
  593. package/serialization/resources/vitals/client/caloriesActive.d.ts +2 -1
  594. package/serialization/resources/vitals/client/caloriesActive.js +2 -10
  595. package/serialization/resources/vitals/client/caloriesBasal.d.ts +2 -1
  596. package/serialization/resources/vitals/client/caloriesBasal.js +2 -10
  597. package/serialization/resources/vitals/client/cholesterol.d.ts +2 -1
  598. package/serialization/resources/vitals/client/cholesterol.js +2 -10
  599. package/serialization/resources/vitals/client/cholesterolHdl.d.ts +2 -1
  600. package/serialization/resources/vitals/client/cholesterolHdl.js +2 -10
  601. package/serialization/resources/vitals/client/cholesterolLdl.d.ts +2 -1
  602. package/serialization/resources/vitals/client/cholesterolLdl.js +2 -10
  603. package/serialization/resources/vitals/client/cholesterolTotal.d.ts +2 -1
  604. package/serialization/resources/vitals/client/cholesterolTotal.js +2 -10
  605. package/serialization/resources/vitals/client/cholesterolTriglycerides.d.ts +2 -1
  606. package/serialization/resources/vitals/client/cholesterolTriglycerides.js +2 -10
  607. package/serialization/resources/vitals/client/distance.d.ts +2 -1
  608. package/serialization/resources/vitals/client/distance.js +2 -10
  609. package/serialization/resources/vitals/client/electrocardiogramVoltage.d.ts +2 -1
  610. package/serialization/resources/vitals/client/electrocardiogramVoltage.js +2 -10
  611. package/serialization/resources/vitals/client/floorsClimbed.d.ts +2 -1
  612. package/serialization/resources/vitals/client/floorsClimbed.js +2 -10
  613. package/serialization/resources/vitals/client/glucose.d.ts +2 -1
  614. package/serialization/resources/vitals/client/glucose.js +2 -10
  615. package/serialization/resources/vitals/client/heartrate.d.ts +2 -1
  616. package/serialization/resources/vitals/client/heartrate.js +2 -10
  617. package/serialization/resources/vitals/client/hrv.d.ts +2 -1
  618. package/serialization/resources/vitals/client/hrv.js +2 -10
  619. package/serialization/resources/vitals/client/hypnogram.d.ts +2 -1
  620. package/serialization/resources/vitals/client/hypnogram.js +2 -10
  621. package/serialization/resources/vitals/client/ige.d.ts +2 -1
  622. package/serialization/resources/vitals/client/ige.js +2 -10
  623. package/serialization/resources/vitals/client/igg.d.ts +2 -1
  624. package/serialization/resources/vitals/client/igg.js +2 -10
  625. package/serialization/resources/vitals/client/mindfulnessMinutes.d.ts +2 -1
  626. package/serialization/resources/vitals/client/mindfulnessMinutes.js +2 -10
  627. package/serialization/resources/vitals/client/respiratoryRate.d.ts +2 -1
  628. package/serialization/resources/vitals/client/respiratoryRate.js +2 -10
  629. package/serialization/resources/vitals/client/steps.d.ts +2 -1
  630. package/serialization/resources/vitals/client/steps.js +2 -10
  631. package/serialization/resources/vitals/client/stressLevel.d.ts +2 -1
  632. package/serialization/resources/vitals/client/stressLevel.js +2 -10
  633. package/serialization/resources/vitals/client/vo2Max.d.ts +2 -1
  634. package/serialization/resources/vitals/client/vo2Max.js +2 -10
  635. package/serialization/resources/vitals/client/water.d.ts +2 -1
  636. package/serialization/resources/vitals/client/water.js +2 -10
  637. package/serialization/types/ActivityV2InDb.d.ts +2 -1
  638. package/serialization/types/ActivityV2InDb.js +2 -10
  639. package/serialization/types/AppointmentAvailabilitySlots.d.ts +2 -1
  640. package/serialization/types/AppointmentAvailabilitySlots.js +2 -10
  641. package/serialization/types/AreaInfo.d.ts +2 -1
  642. package/serialization/types/AreaInfo.js +2 -10
  643. package/serialization/types/Availability.d.ts +10 -0
  644. package/serialization/types/Availability.js +31 -0
  645. package/serialization/types/BiomarkerResult.d.ts +2 -1
  646. package/serialization/types/BiomarkerResult.js +2 -10
  647. package/serialization/types/BodyV2InDb.d.ts +2 -1
  648. package/serialization/types/BodyV2InDb.js +2 -10
  649. package/serialization/types/ClientActivityResponse.d.ts +2 -1
  650. package/serialization/types/ClientActivityResponse.js +2 -10
  651. package/serialization/types/ClientBodyResponse.d.ts +2 -1
  652. package/serialization/types/ClientBodyResponse.js +2 -10
  653. package/serialization/types/ClientFacingActivity.d.ts +4 -2
  654. package/serialization/types/ClientFacingActivity.js +4 -11
  655. package/serialization/types/ClientFacingAppointment.d.ts +14 -7
  656. package/serialization/types/ClientFacingAppointment.js +14 -16
  657. package/serialization/types/ClientFacingAppointmentEvent.d.ts +2 -1
  658. package/serialization/types/ClientFacingAppointmentEvent.js +2 -10
  659. package/serialization/types/ClientFacingAtHomePhlebotomyOrderDetails.d.ts +2 -1
  660. package/serialization/types/ClientFacingAtHomePhlebotomyOrderDetails.js +2 -10
  661. package/serialization/types/ClientFacingBody.d.ts +2 -1
  662. package/serialization/types/ClientFacingBody.js +2 -10
  663. package/serialization/types/ClientFacingFood.d.ts +6 -3
  664. package/serialization/types/ClientFacingFood.js +6 -12
  665. package/serialization/types/ClientFacingLab.d.ts +4 -2
  666. package/serialization/types/ClientFacingLab.js +4 -11
  667. package/serialization/types/ClientFacingLabTest.d.ts +10 -5
  668. package/serialization/types/ClientFacingLabTest.js +10 -16
  669. package/serialization/types/ClientFacingMarker.d.ts +2 -1
  670. package/serialization/types/ClientFacingMarker.js +2 -10
  671. package/serialization/types/ClientFacingMarkerComplete.d.ts +4 -2
  672. package/serialization/types/ClientFacingMarkerComplete.js +4 -11
  673. package/serialization/types/ClientFacingMealResponse.d.ts +2 -1
  674. package/serialization/types/ClientFacingMealResponse.js +2 -10
  675. package/serialization/types/ClientFacingOrder.d.ts +16 -8
  676. package/serialization/types/ClientFacingOrder.js +16 -17
  677. package/serialization/types/ClientFacingOrderDetails.d.ts +6 -3
  678. package/serialization/types/ClientFacingOrderDetails.js +6 -12
  679. package/serialization/types/ClientFacingOrderEvent.d.ts +2 -1
  680. package/serialization/types/ClientFacingOrderEvent.js +2 -10
  681. package/serialization/types/ClientFacingPayorSearchResponse.d.ts +2 -1
  682. package/serialization/types/ClientFacingPayorSearchResponse.js +2 -10
  683. package/serialization/types/ClientFacingProfile.d.ts +2 -1
  684. package/serialization/types/ClientFacingProfile.js +2 -10
  685. package/serialization/types/ClientFacingProviderDetailed.d.ts +4 -2
  686. package/serialization/types/ClientFacingProviderDetailed.js +4 -13
  687. package/serialization/types/ClientFacingProviderWithStatus.d.ts +2 -0
  688. package/serialization/types/ClientFacingProviderWithStatus.js +2 -0
  689. package/serialization/types/ClientFacingResult.d.ts +2 -1
  690. package/serialization/types/ClientFacingResult.js +2 -10
  691. package/serialization/types/ClientFacingSleep.d.ts +4 -2
  692. package/serialization/types/ClientFacingSleep.js +4 -11
  693. package/serialization/types/ClientFacingSleepStream.d.ts +8 -4
  694. package/serialization/types/ClientFacingSleepStream.js +8 -21
  695. package/serialization/types/ClientFacingTeam.d.ts +7 -4
  696. package/serialization/types/ClientFacingTeam.js +7 -15
  697. package/serialization/types/ClientFacingTestKitOrderDetails.d.ts +2 -1
  698. package/serialization/types/ClientFacingTestKitOrderDetails.js +2 -10
  699. package/serialization/types/ClientFacingTestkitOrder.d.ts +2 -1
  700. package/serialization/types/ClientFacingTestkitOrder.js +2 -10
  701. package/serialization/types/ClientFacingUser.d.ts +8 -3
  702. package/serialization/types/ClientFacingUser.js +8 -12
  703. package/serialization/types/ClientFacingWalkInOrderDetails.d.ts +2 -1
  704. package/serialization/types/ClientFacingWalkInOrderDetails.js +2 -10
  705. package/serialization/types/ClientFacingWorkout.d.ts +4 -2
  706. package/serialization/types/ClientFacingWorkout.js +4 -11
  707. package/serialization/types/ClientSleepResponse.d.ts +2 -1
  708. package/serialization/types/ClientSleepResponse.js +2 -10
  709. package/serialization/types/ClientUserIdConflict.d.ts +15 -0
  710. package/serialization/types/ClientUserIdConflict.js +36 -0
  711. package/serialization/types/ClientWorkoutResponse.d.ts +2 -1
  712. package/serialization/types/ClientWorkoutResponse.js +2 -10
  713. package/serialization/types/ConnectedSourceClientFacing.d.ts +3 -2
  714. package/serialization/types/ConnectedSourceClientFacing.js +3 -11
  715. package/serialization/types/ConnectionStatus.d.ts +4 -0
  716. package/serialization/types/ConnectionStatus.js +4 -0
  717. package/serialization/types/ConnectionStatusState.d.ts +10 -0
  718. package/serialization/types/ConnectionStatusState.js +31 -0
  719. package/serialization/types/Consent.d.ts +2 -1
  720. package/serialization/types/Consent.js +2 -10
  721. package/serialization/types/DaySlots.d.ts +2 -1
  722. package/serialization/types/DaySlots.js +2 -10
  723. package/serialization/types/DeviceV2InDb.d.ts +2 -1
  724. package/serialization/types/DeviceV2InDb.js +2 -10
  725. package/serialization/types/EventDestinationPreferences.d.ts +4 -2
  726. package/serialization/types/EventDestinationPreferences.js +4 -11
  727. package/serialization/types/GetMarkersResponse.d.ts +2 -1
  728. package/serialization/types/GetMarkersResponse.js +2 -10
  729. package/serialization/types/GetOrdersResponse.d.ts +2 -1
  730. package/serialization/types/GetOrdersResponse.js +2 -10
  731. package/serialization/types/GroupedBloodOxygen.d.ts +4 -2
  732. package/serialization/types/GroupedBloodOxygen.js +4 -11
  733. package/serialization/types/GroupedBloodOxygenResponse.d.ts +2 -1
  734. package/serialization/types/GroupedBloodOxygenResponse.js +2 -10
  735. package/serialization/types/GroupedBloodPressure.d.ts +4 -2
  736. package/serialization/types/GroupedBloodPressure.js +4 -11
  737. package/serialization/types/GroupedBloodPressureResponse.d.ts +2 -1
  738. package/serialization/types/GroupedBloodPressureResponse.js +2 -10
  739. package/serialization/types/GroupedBodyFat.d.ts +4 -2
  740. package/serialization/types/GroupedBodyFat.js +4 -11
  741. package/serialization/types/GroupedBodyFatResponse.d.ts +2 -1
  742. package/serialization/types/GroupedBodyFatResponse.js +2 -10
  743. package/serialization/types/GroupedBodyWeight.d.ts +4 -2
  744. package/serialization/types/GroupedBodyWeight.js +4 -11
  745. package/serialization/types/GroupedBodyWeightResponse.d.ts +2 -1
  746. package/serialization/types/GroupedBodyWeightResponse.js +2 -10
  747. package/serialization/types/GroupedCaffeine.d.ts +4 -2
  748. package/serialization/types/GroupedCaffeine.js +4 -11
  749. package/serialization/types/GroupedCaffeineResponse.d.ts +2 -1
  750. package/serialization/types/GroupedCaffeineResponse.js +2 -10
  751. package/serialization/types/GroupedCaloriesActive.d.ts +4 -2
  752. package/serialization/types/GroupedCaloriesActive.js +4 -11
  753. package/serialization/types/GroupedCaloriesActiveResponse.d.ts +2 -1
  754. package/serialization/types/GroupedCaloriesActiveResponse.js +2 -10
  755. package/serialization/types/GroupedCaloriesBasal.d.ts +4 -2
  756. package/serialization/types/GroupedCaloriesBasal.js +4 -11
  757. package/serialization/types/GroupedCaloriesBasalResponse.d.ts +2 -1
  758. package/serialization/types/GroupedCaloriesBasalResponse.js +2 -10
  759. package/serialization/types/GroupedCholesterol.d.ts +4 -2
  760. package/serialization/types/GroupedCholesterol.js +4 -11
  761. package/serialization/types/GroupedCholesterolResponse.d.ts +2 -1
  762. package/serialization/types/GroupedCholesterolResponse.js +2 -10
  763. package/serialization/types/GroupedDistance.d.ts +4 -2
  764. package/serialization/types/GroupedDistance.js +4 -11
  765. package/serialization/types/GroupedDistanceResponse.d.ts +2 -1
  766. package/serialization/types/GroupedDistanceResponse.js +2 -10
  767. package/serialization/types/GroupedElectrocardiogramVoltage.d.ts +4 -2
  768. package/serialization/types/GroupedElectrocardiogramVoltage.js +4 -11
  769. package/serialization/types/GroupedElectrocardiogramVoltageResponse.d.ts +2 -1
  770. package/serialization/types/GroupedElectrocardiogramVoltageResponse.js +2 -10
  771. package/serialization/types/GroupedFloorsClimbed.d.ts +4 -2
  772. package/serialization/types/GroupedFloorsClimbed.js +4 -11
  773. package/serialization/types/GroupedFloorsClimbedResponse.d.ts +2 -1
  774. package/serialization/types/GroupedFloorsClimbedResponse.js +2 -10
  775. package/serialization/types/GroupedGlucose.d.ts +4 -2
  776. package/serialization/types/GroupedGlucose.js +4 -11
  777. package/serialization/types/GroupedGlucoseResponse.d.ts +2 -1
  778. package/serialization/types/GroupedGlucoseResponse.js +2 -10
  779. package/serialization/types/GroupedHeartRate.d.ts +4 -2
  780. package/serialization/types/GroupedHeartRate.js +4 -11
  781. package/serialization/types/GroupedHeartRateResponse.d.ts +2 -1
  782. package/serialization/types/GroupedHeartRateResponse.js +2 -10
  783. package/serialization/types/GroupedHrv.d.ts +4 -2
  784. package/serialization/types/GroupedHrv.js +4 -11
  785. package/serialization/types/GroupedHrvResponse.d.ts +2 -1
  786. package/serialization/types/GroupedHrvResponse.js +2 -10
  787. package/serialization/types/GroupedHypnogram.d.ts +4 -2
  788. package/serialization/types/GroupedHypnogram.js +4 -11
  789. package/serialization/types/GroupedHypnogramResponse.d.ts +2 -1
  790. package/serialization/types/GroupedHypnogramResponse.js +2 -10
  791. package/serialization/types/GroupedIge.d.ts +4 -2
  792. package/serialization/types/GroupedIge.js +4 -11
  793. package/serialization/types/GroupedIgeResponse.d.ts +2 -1
  794. package/serialization/types/GroupedIgeResponse.js +2 -10
  795. package/serialization/types/GroupedIgg.d.ts +4 -2
  796. package/serialization/types/GroupedIgg.js +4 -11
  797. package/serialization/types/GroupedIggResponse.d.ts +2 -1
  798. package/serialization/types/GroupedIggResponse.js +2 -10
  799. package/serialization/types/GroupedMindfulnessMinutes.d.ts +4 -2
  800. package/serialization/types/GroupedMindfulnessMinutes.js +4 -11
  801. package/serialization/types/GroupedMindfulnessMinutesResponse.d.ts +2 -1
  802. package/serialization/types/GroupedMindfulnessMinutesResponse.js +2 -10
  803. package/serialization/types/GroupedRespiratoryRate.d.ts +4 -2
  804. package/serialization/types/GroupedRespiratoryRate.js +4 -11
  805. package/serialization/types/GroupedRespiratoryRateResponse.d.ts +2 -1
  806. package/serialization/types/GroupedRespiratoryRateResponse.js +2 -10
  807. package/serialization/types/GroupedSteps.d.ts +4 -2
  808. package/serialization/types/GroupedSteps.js +4 -11
  809. package/serialization/types/GroupedStepsResponse.d.ts +2 -1
  810. package/serialization/types/GroupedStepsResponse.js +2 -10
  811. package/serialization/types/GroupedStressLevel.d.ts +4 -2
  812. package/serialization/types/GroupedStressLevel.js +4 -11
  813. package/serialization/types/GroupedStressLevelResponse.d.ts +2 -1
  814. package/serialization/types/GroupedStressLevelResponse.js +2 -10
  815. package/serialization/types/GroupedVo2Max.d.ts +4 -2
  816. package/serialization/types/GroupedVo2Max.js +4 -11
  817. package/serialization/types/GroupedVo2MaxResponse.d.ts +2 -1
  818. package/serialization/types/GroupedVo2MaxResponse.js +2 -10
  819. package/serialization/types/GroupedWater.d.ts +4 -2
  820. package/serialization/types/GroupedWater.js +4 -11
  821. package/serialization/types/GroupedWaterResponse.d.ts +2 -1
  822. package/serialization/types/GroupedWaterResponse.js +2 -10
  823. package/serialization/types/HealthInsuranceCreateRequest.d.ts +10 -5
  824. package/serialization/types/HealthInsuranceCreateRequest.js +10 -16
  825. package/serialization/types/HealthInsuranceCreateRequestBackImage.d.ts +4 -2
  826. package/serialization/types/HealthInsuranceCreateRequestBackImage.js +4 -11
  827. package/serialization/types/HealthInsuranceCreateRequestFrontImage.d.ts +4 -2
  828. package/serialization/types/HealthInsuranceCreateRequestFrontImage.js +4 -11
  829. package/serialization/types/HealthInsuranceCreateRequestPatientSignatureImage.d.ts +4 -2
  830. package/serialization/types/HealthInsuranceCreateRequestPatientSignatureImage.js +4 -11
  831. package/serialization/types/HttpValidationError.d.ts +2 -1
  832. package/serialization/types/HttpValidationError.js +2 -12
  833. package/serialization/types/LabResultsRaw.d.ts +4 -2
  834. package/serialization/types/LabResultsRaw.js +4 -11
  835. package/serialization/types/LabResultsRawResults.d.ts +2 -1
  836. package/serialization/types/LabResultsRawResults.js +2 -10
  837. package/serialization/types/LastAttempt.d.ts +2 -1
  838. package/serialization/types/LastAttempt.js +2 -10
  839. package/serialization/types/LibreConfig.d.ts +1 -0
  840. package/serialization/types/LibreConfig.js +1 -0
  841. package/serialization/types/Macros.d.ts +2 -1
  842. package/serialization/types/Macros.js +2 -10
  843. package/serialization/types/MealInDbBaseClientFacingSource.d.ts +10 -5
  844. package/serialization/types/MealInDbBaseClientFacingSource.js +10 -16
  845. package/serialization/types/MetricsResult.d.ts +2 -1
  846. package/serialization/types/MetricsResult.js +2 -12
  847. package/serialization/types/OrderStatus.d.ts +1 -1
  848. package/serialization/types/OrderStatus.js +1 -0
  849. package/serialization/types/PaginatedUsersResponse.d.ts +2 -1
  850. package/serialization/types/PaginatedUsersResponse.js +2 -10
  851. package/serialization/types/PatientDetails.d.ts +2 -1
  852. package/serialization/types/PatientDetails.js +2 -10
  853. package/serialization/types/PersonDetails.d.ts +2 -1
  854. package/serialization/types/PersonDetails.js +2 -10
  855. package/serialization/types/PhlebotomyAreaInfo.d.ts +2 -1
  856. package/serialization/types/PhlebotomyAreaInfo.js +2 -10
  857. package/serialization/types/PhlebotomyProviderInfo.d.ts +4 -2
  858. package/serialization/types/PhlebotomyProviderInfo.js +4 -11
  859. package/serialization/types/PhysicianCreateRequest.d.ts +2 -1
  860. package/serialization/types/PhysicianCreateRequest.js +2 -10
  861. package/serialization/types/PhysicianCreateRequestSignatureImage.d.ts +4 -2
  862. package/serialization/types/PhysicianCreateRequestSignatureImage.js +4 -11
  863. package/serialization/types/PostOrderResponse.d.ts +2 -1
  864. package/serialization/types/PostOrderResponse.js +2 -10
  865. package/serialization/types/ProfileInDb.d.ts +2 -1
  866. package/serialization/types/ProfileInDb.js +2 -10
  867. package/serialization/types/ProviderLinkResponse.d.ts +6 -1
  868. package/serialization/types/ProviderLinkResponse.js +6 -10
  869. package/serialization/types/ProviderLinkResponseState.d.ts +10 -0
  870. package/serialization/types/ProviderLinkResponseState.js +31 -0
  871. package/serialization/types/RawActivity.d.ts +2 -1
  872. package/serialization/types/RawActivity.js +2 -10
  873. package/serialization/types/RawBody.d.ts +2 -1
  874. package/serialization/types/RawBody.js +2 -10
  875. package/serialization/types/RawDevices.d.ts +2 -1
  876. package/serialization/types/RawDevices.js +2 -10
  877. package/serialization/types/RawProfile.d.ts +2 -1
  878. package/serialization/types/RawProfile.js +2 -10
  879. package/serialization/types/RawSleep.d.ts +2 -1
  880. package/serialization/types/RawSleep.js +2 -10
  881. package/serialization/types/RawWorkout.d.ts +2 -1
  882. package/serialization/types/RawWorkout.js +2 -10
  883. package/serialization/types/Region.d.ts +1 -1
  884. package/serialization/types/Region.js +1 -0
  885. package/serialization/types/ResourceAvailability.d.ts +15 -0
  886. package/serialization/types/ResourceAvailability.js +36 -0
  887. package/serialization/types/ScopeRequirementsGrants.d.ts +14 -0
  888. package/serialization/types/ScopeRequirementsGrants.js +35 -0
  889. package/serialization/types/ScopeRequirementsStr.d.ts +13 -0
  890. package/serialization/types/ScopeRequirementsStr.js +34 -0
  891. package/serialization/types/SingleHistoricalPullStatistics.d.ts +2 -1
  892. package/serialization/types/SingleHistoricalPullStatistics.js +2 -10
  893. package/serialization/types/SingleProviderHistoricalPullResponse.d.ts +4 -2
  894. package/serialization/types/SingleProviderHistoricalPullResponse.js +4 -11
  895. package/serialization/types/SingleResourceStatistics.d.ts +2 -1
  896. package/serialization/types/SingleResourceStatistics.js +2 -10
  897. package/serialization/types/SingleUserHistoricalPullResponse.d.ts +2 -1
  898. package/serialization/types/SingleUserHistoricalPullResponse.js +2 -10
  899. package/serialization/types/SingleUserResourceResponse.d.ts +2 -1
  900. package/serialization/types/SingleUserResourceResponse.js +2 -10
  901. package/serialization/types/SleepV2InDb.d.ts +2 -1
  902. package/serialization/types/SleepV2InDb.js +2 -10
  903. package/serialization/types/Source.d.ts +4 -2
  904. package/serialization/types/Source.js +4 -11
  905. package/serialization/types/SourceLink.d.ts +2 -1
  906. package/serialization/types/SourceLink.js +2 -10
  907. package/serialization/types/TeamConfig.d.ts +5 -2
  908. package/serialization/types/TeamConfig.js +5 -11
  909. package/serialization/types/UserHistoricalPullsResponse.d.ts +2 -1
  910. package/serialization/types/UserHistoricalPullsResponse.js +2 -10
  911. package/serialization/types/UserResourcesResponse.d.ts +2 -1
  912. package/serialization/types/UserResourcesResponse.js +2 -10
  913. package/serialization/types/ValidationError.d.ts +2 -1
  914. package/serialization/types/ValidationError.js +2 -10
  915. package/serialization/types/WorkoutV2InDb.d.ts +4 -2
  916. package/serialization/types/WorkoutV2InDb.js +4 -11
  917. package/serialization/types/index.d.ts +7 -0
  918. package/serialization/types/index.js +7 -0
  919. package/tests/client.test.ts +11 -0
  920. package/api/resources/link/client/requests/LinkGenerateOauthLinkRequest.d.ts +0 -6
  921. package/api/resources/link/client/requests/LinkGetAllProvidersRequest.d.ts +0 -10
  922. package/api/resources/link/client/requests/LinkTokenStateRequest.d.ts +0 -10
  923. package/api/resources/team/client/requests/TeamGetLinkConfigRequest.d.ts +0 -10
  924. package/dist/api/resources/link/client/requests/LinkGenerateOauthLinkRequest.d.ts +0 -6
  925. package/dist/api/resources/link/client/requests/LinkGetAllProvidersRequest.d.ts +0 -10
  926. package/dist/api/resources/link/client/requests/LinkTokenStateRequest.d.ts +0 -10
  927. package/dist/api/resources/team/client/requests/TeamGetLinkConfigRequest.d.ts +0 -10
  928. /package/api/{resources/link/client/requests/LinkGenerateOauthLinkRequest.js → types/ClientUserIdConflict.js} +0 -0
  929. /package/api/{resources/link/client/requests/LinkGetAllProvidersRequest.js → types/ResourceAvailability.js} +0 -0
  930. /package/api/{resources/link/client/requests/LinkTokenStateRequest.js → types/ScopeRequirementsGrants.js} +0 -0
  931. /package/api/{resources/team/client/requests/TeamGetLinkConfigRequest.js → types/ScopeRequirementsStr.js} +0 -0
  932. /package/dist/api/{resources/link/client/requests/LinkGenerateOauthLinkRequest.js → types/ClientUserIdConflict.js} +0 -0
  933. /package/dist/api/{resources/link/client/requests/LinkGetAllProvidersRequest.js → types/ResourceAvailability.js} +0 -0
  934. /package/dist/api/{resources/link/client/requests/LinkTokenStateRequest.js → types/ScopeRequirementsGrants.js} +0 -0
  935. /package/dist/api/{resources/team/client/requests/TeamGetLinkConfigRequest.js → types/ScopeRequirementsStr.js} +0 -0
@@ -25,19 +25,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  __setModuleDefault(result, mod);
26
26
  return result;
27
27
  };
28
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
- return new (P || (P = Promise))(function (resolve, reject) {
31
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
- step((generator = generator.apply(thisArg, _arguments || [])).next());
35
- });
36
- };
37
28
  Object.defineProperty(exports, "__esModule", { value: true });
38
29
  exports.LabResultsRawResults = void 0;
39
30
  const core = __importStar(require("../../core"));
31
+ const BiomarkerResult_1 = require("./BiomarkerResult");
40
32
  exports.LabResultsRawResults = core.serialization.undiscriminatedUnion([
41
- core.serialization.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).BiomarkerResult; }))),
33
+ core.serialization.list(BiomarkerResult_1.BiomarkerResult),
42
34
  core.serialization.record(core.serialization.string(), core.serialization.unknown()),
43
35
  ]);
@@ -4,10 +4,11 @@
4
4
  import * as serializers from "..";
5
5
  import * as Vital from "../../api";
6
6
  import * as core from "../../core";
7
+ import { AttemptStatus } from "./AttemptStatus";
7
8
  export declare const LastAttempt: core.serialization.ObjectSchema<serializers.LastAttempt.Raw, Vital.LastAttempt>;
8
9
  export declare namespace LastAttempt {
9
10
  interface Raw {
10
11
  timestamp: string;
11
- status: serializers.AttemptStatus.Raw;
12
+ status: AttemptStatus.Raw;
12
13
  }
13
14
  }
@@ -25,19 +25,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  __setModuleDefault(result, mod);
26
26
  return result;
27
27
  };
28
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
- return new (P || (P = Promise))(function (resolve, reject) {
31
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
- step((generator = generator.apply(thisArg, _arguments || [])).next());
35
- });
36
- };
37
28
  Object.defineProperty(exports, "__esModule", { value: true });
38
29
  exports.LastAttempt = void 0;
39
30
  const core = __importStar(require("../../core"));
31
+ const AttemptStatus_1 = require("./AttemptStatus");
40
32
  exports.LastAttempt = core.serialization.object({
41
33
  timestamp: core.serialization.date(),
42
- status: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).AttemptStatus; })),
34
+ status: AttemptStatus_1.AttemptStatus,
43
35
  });
@@ -8,5 +8,6 @@ export declare const LibreConfig: core.serialization.ObjectSchema<serializers.Li
8
8
  export declare namespace LibreConfig {
9
9
  interface Raw {
10
10
  practice_id: Record<string, unknown>;
11
+ strip_tz?: boolean | null;
11
12
  }
12
13
  }
@@ -30,4 +30,5 @@ exports.LibreConfig = void 0;
30
30
  const core = __importStar(require("../../core"));
31
31
  exports.LibreConfig = core.serialization.object({
32
32
  practiceId: core.serialization.property("practice_id", core.serialization.record(core.serialization.string(), core.serialization.unknown())),
33
+ stripTz: core.serialization.property("strip_tz", core.serialization.boolean().optional()),
33
34
  });
@@ -4,12 +4,13 @@
4
4
  import * as serializers from "..";
5
5
  import * as Vital from "../../api";
6
6
  import * as core from "../../core";
7
+ import { Fats } from "./Fats";
7
8
  export declare const Macros: core.serialization.ObjectSchema<serializers.Macros.Raw, Vital.Macros>;
8
9
  export declare namespace Macros {
9
10
  interface Raw {
10
11
  carbs?: number | null;
11
12
  protein?: number | null;
12
- fats?: serializers.Fats.Raw | null;
13
+ fats?: Fats.Raw | null;
13
14
  alcohol?: number | null;
14
15
  water?: number | null;
15
16
  fibre?: number | null;
@@ -25,22 +25,14 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  __setModuleDefault(result, mod);
26
26
  return result;
27
27
  };
28
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
- return new (P || (P = Promise))(function (resolve, reject) {
31
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
- step((generator = generator.apply(thisArg, _arguments || [])).next());
35
- });
36
- };
37
28
  Object.defineProperty(exports, "__esModule", { value: true });
38
29
  exports.Macros = void 0;
39
30
  const core = __importStar(require("../../core"));
31
+ const Fats_1 = require("./Fats");
40
32
  exports.Macros = core.serialization.object({
41
33
  carbs: core.serialization.number().optional(),
42
34
  protein: core.serialization.number().optional(),
43
- fats: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).Fats; })).optional(),
35
+ fats: Fats_1.Fats.optional(),
44
36
  alcohol: core.serialization.number().optional(),
45
37
  water: core.serialization.number().optional(),
46
38
  fibre: core.serialization.number().optional(),
@@ -4,6 +4,11 @@
4
4
  import * as serializers from "..";
5
5
  import * as Vital from "../../api";
6
6
  import * as core from "../../core";
7
+ import { Energy } from "./Energy";
8
+ import { Macros } from "./Macros";
9
+ import { Micros } from "./Micros";
10
+ import { ClientFacingFood } from "./ClientFacingFood";
11
+ import { ClientFacingSource } from "./ClientFacingSource";
7
12
  export declare const MealInDbBaseClientFacingSource: core.serialization.ObjectSchema<serializers.MealInDbBaseClientFacingSource.Raw, Vital.MealInDbBaseClientFacingSource>;
8
13
  export declare namespace MealInDbBaseClientFacingSource {
9
14
  interface Raw {
@@ -14,11 +19,11 @@ export declare namespace MealInDbBaseClientFacingSource {
14
19
  provider_id: string;
15
20
  timestamp: string;
16
21
  name: string;
17
- energy?: serializers.Energy.Raw | null;
18
- macros?: serializers.Macros.Raw | null;
19
- micros?: serializers.Micros.Raw | null;
20
- data?: Record<string, serializers.ClientFacingFood.Raw> | null;
21
- source: serializers.ClientFacingSource.Raw;
22
+ energy?: Energy.Raw | null;
23
+ macros?: Macros.Raw | null;
24
+ micros?: Micros.Raw | null;
25
+ data?: Record<string, ClientFacingFood.Raw> | null;
26
+ source: ClientFacingSource.Raw;
22
27
  created_at: string;
23
28
  updated_at: string;
24
29
  }
@@ -25,18 +25,14 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  __setModuleDefault(result, mod);
26
26
  return result;
27
27
  };
28
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
- return new (P || (P = Promise))(function (resolve, reject) {
31
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
- step((generator = generator.apply(thisArg, _arguments || [])).next());
35
- });
36
- };
37
28
  Object.defineProperty(exports, "__esModule", { value: true });
38
29
  exports.MealInDbBaseClientFacingSource = void 0;
39
30
  const core = __importStar(require("../../core"));
31
+ const Energy_1 = require("./Energy");
32
+ const Macros_1 = require("./Macros");
33
+ const Micros_1 = require("./Micros");
34
+ const ClientFacingFood_1 = require("./ClientFacingFood");
35
+ const ClientFacingSource_1 = require("./ClientFacingSource");
40
36
  exports.MealInDbBaseClientFacingSource = core.serialization.object({
41
37
  id: core.serialization.string(),
42
38
  userId: core.serialization.property("user_id", core.serialization.string()),
@@ -45,13 +41,11 @@ exports.MealInDbBaseClientFacingSource = core.serialization.object({
45
41
  providerId: core.serialization.property("provider_id", core.serialization.string()),
46
42
  timestamp: core.serialization.date(),
47
43
  name: core.serialization.string(),
48
- energy: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).Energy; })).optional(),
49
- macros: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).Macros; })).optional(),
50
- micros: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).Micros; })).optional(),
51
- data: core.serialization
52
- .record(core.serialization.string(), core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ClientFacingFood; })))
53
- .optional(),
54
- source: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ClientFacingSource; })),
44
+ energy: Energy_1.Energy.optional(),
45
+ macros: Macros_1.Macros.optional(),
46
+ micros: Micros_1.Micros.optional(),
47
+ data: core.serialization.record(core.serialization.string(), ClientFacingFood_1.ClientFacingFood).optional(),
48
+ source: ClientFacingSource_1.ClientFacingSource,
55
49
  createdAt: core.serialization.property("created_at", core.serialization.date()),
56
50
  updatedAt: core.serialization.property("updated_at", core.serialization.date()),
57
51
  });
@@ -4,6 +4,7 @@
4
4
  import * as serializers from "..";
5
5
  import * as Vital from "../../api";
6
6
  import * as core from "../../core";
7
+ import { TimeseriesMetricPoint } from "./TimeseriesMetricPoint";
7
8
  export declare const MetricsResult: core.serialization.ObjectSchema<serializers.MetricsResult.Raw, Vital.MetricsResult>;
8
9
  export declare namespace MetricsResult {
9
10
  interface Raw {
@@ -11,7 +12,7 @@ export declare namespace MetricsResult {
11
12
  number_of_connected_sources?: number | null;
12
13
  number_of_users?: number | null;
13
14
  number_of_errored_connected_sources?: number | null;
14
- number_of_connected_sources_by_week?: serializers.TimeseriesMetricPoint.Raw[] | null;
15
+ number_of_connected_sources_by_week?: TimeseriesMetricPoint.Raw[] | null;
15
16
  number_of_ordered_tests?: number | null;
16
17
  }
17
18
  }
@@ -25,25 +25,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  __setModuleDefault(result, mod);
26
26
  return result;
27
27
  };
28
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
- return new (P || (P = Promise))(function (resolve, reject) {
31
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
- step((generator = generator.apply(thisArg, _arguments || [])).next());
35
- });
36
- };
37
28
  Object.defineProperty(exports, "__esModule", { value: true });
38
29
  exports.MetricsResult = void 0;
39
30
  const core = __importStar(require("../../core"));
31
+ const TimeseriesMetricPoint_1 = require("./TimeseriesMetricPoint");
40
32
  exports.MetricsResult = core.serialization.object({
41
33
  teamId: core.serialization.property("team_id", core.serialization.string()),
42
34
  numberOfConnectedSources: core.serialization.property("number_of_connected_sources", core.serialization.number().optional()),
43
35
  numberOfUsers: core.serialization.property("number_of_users", core.serialization.number().optional()),
44
36
  numberOfErroredConnectedSources: core.serialization.property("number_of_errored_connected_sources", core.serialization.number().optional()),
45
- numberOfConnectedSourcesByWeek: core.serialization.property("number_of_connected_sources_by_week", core.serialization
46
- .list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).TimeseriesMetricPoint; })))
47
- .optional()),
37
+ numberOfConnectedSourcesByWeek: core.serialization.property("number_of_connected_sources_by_week", core.serialization.list(TimeseriesMetricPoint_1.TimeseriesMetricPoint).optional()),
48
38
  numberOfOrderedTests: core.serialization.property("number_of_ordered_tests", core.serialization.number().optional()),
49
39
  });
@@ -6,5 +6,5 @@ import * as Vital from "../../api";
6
6
  import * as core from "../../core";
7
7
  export declare const OrderStatus: core.serialization.Schema<serializers.OrderStatus.Raw, Vital.OrderStatus>;
8
8
  export declare namespace OrderStatus {
9
- type Raw = "received.walk_in_test.ordered" | "received.walk_in_test.requisition_created" | "completed.walk_in_test.completed" | "sample_with_lab.walk_in_test.partial_results" | "failed.walk_in_test.sample_error" | "cancelled.walk_in_test.cancelled" | "received.at_home_phlebotomy.ordered" | "received.at_home_phlebotomy.requisition_created" | "collecting_sample.at_home_phlebotomy.appointment_pending" | "collecting_sample.at_home_phlebotomy.appointment_scheduled" | "collecting_sample.at_home_phlebotomy.draw_completed" | "collecting_sample.at_home_phlebotomy.appointment_cancelled" | "completed.at_home_phlebotomy.completed" | "sample_with_lab.at_home_phlebotomy.partial_results" | "cancelled.at_home_phlebotomy.cancelled" | "received.testkit.ordered" | "received.testkit.awaiting_registration" | "received.testkit.requisition_created" | "received.testkit.registered" | "collecting_sample.testkit.transit_customer" | "collecting_sample.testkit.out_for_delivery" | "collecting_sample.testkit.with_customer" | "collecting_sample.testkit.transit_lab" | "sample_with_lab.testkit.delivered_to_lab" | "completed.testkit.completed" | "failed.testkit.failure_to_deliver_to_customer" | "failed.testkit.failure_to_deliver_to_lab" | "failed.testkit.sample_error" | "failed.testkit.lost" | "cancelled.testkit.cancelled" | "cancelled.testkit.do_not_process";
9
+ type Raw = "received.walk_in_test.ordered" | "received.walk_in_test.requisition_created" | "completed.walk_in_test.completed" | "sample_with_lab.walk_in_test.partial_results" | "failed.walk_in_test.sample_error" | "cancelled.walk_in_test.cancelled" | "received.at_home_phlebotomy.ordered" | "received.at_home_phlebotomy.requisition_created" | "collecting_sample.at_home_phlebotomy.appointment_pending" | "collecting_sample.at_home_phlebotomy.appointment_scheduled" | "collecting_sample.at_home_phlebotomy.draw_completed" | "collecting_sample.at_home_phlebotomy.appointment_cancelled" | "completed.at_home_phlebotomy.completed" | "sample_with_lab.at_home_phlebotomy.partial_results" | "cancelled.at_home_phlebotomy.cancelled" | "failed.at_home_phlebotomy.sample_error" | "received.testkit.ordered" | "received.testkit.awaiting_registration" | "received.testkit.requisition_created" | "received.testkit.registered" | "collecting_sample.testkit.transit_customer" | "collecting_sample.testkit.out_for_delivery" | "collecting_sample.testkit.with_customer" | "collecting_sample.testkit.transit_lab" | "sample_with_lab.testkit.delivered_to_lab" | "completed.testkit.completed" | "failed.testkit.failure_to_deliver_to_customer" | "failed.testkit.failure_to_deliver_to_lab" | "failed.testkit.sample_error" | "failed.testkit.lost" | "cancelled.testkit.cancelled" | "cancelled.testkit.do_not_process";
10
10
  }
@@ -44,6 +44,7 @@ exports.OrderStatus = core.serialization.enum_([
44
44
  "completed.at_home_phlebotomy.completed",
45
45
  "sample_with_lab.at_home_phlebotomy.partial_results",
46
46
  "cancelled.at_home_phlebotomy.cancelled",
47
+ "failed.at_home_phlebotomy.sample_error",
47
48
  "received.testkit.ordered",
48
49
  "received.testkit.awaiting_registration",
49
50
  "received.testkit.requisition_created",
@@ -4,10 +4,11 @@
4
4
  import * as serializers from "..";
5
5
  import * as Vital from "../../api";
6
6
  import * as core from "../../core";
7
+ import { ClientFacingUser } from "./ClientFacingUser";
7
8
  export declare const PaginatedUsersResponse: core.serialization.ObjectSchema<serializers.PaginatedUsersResponse.Raw, Vital.PaginatedUsersResponse>;
8
9
  export declare namespace PaginatedUsersResponse {
9
10
  interface Raw {
10
- users: serializers.ClientFacingUser.Raw[];
11
+ users: ClientFacingUser.Raw[];
11
12
  total: number;
12
13
  offset: number;
13
14
  limit: number;
@@ -25,20 +25,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  __setModuleDefault(result, mod);
26
26
  return result;
27
27
  };
28
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
- return new (P || (P = Promise))(function (resolve, reject) {
31
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
- step((generator = generator.apply(thisArg, _arguments || [])).next());
35
- });
36
- };
37
28
  Object.defineProperty(exports, "__esModule", { value: true });
38
29
  exports.PaginatedUsersResponse = void 0;
39
30
  const core = __importStar(require("../../core"));
31
+ const ClientFacingUser_1 = require("./ClientFacingUser");
40
32
  exports.PaginatedUsersResponse = core.serialization.object({
41
- users: core.serialization.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ClientFacingUser; }))),
33
+ users: core.serialization.list(ClientFacingUser_1.ClientFacingUser),
42
34
  total: core.serialization.number(),
43
35
  offset: core.serialization.number(),
44
36
  limit: core.serialization.number(),
@@ -4,13 +4,14 @@
4
4
  import * as serializers from "..";
5
5
  import * as Vital from "../../api";
6
6
  import * as core from "../../core";
7
+ import { Gender } from "./Gender";
7
8
  export declare const PatientDetails: core.serialization.ObjectSchema<serializers.PatientDetails.Raw, Vital.PatientDetails>;
8
9
  export declare namespace PatientDetails {
9
10
  interface Raw {
10
11
  first_name: string;
11
12
  last_name: string;
12
13
  dob: string;
13
- gender: serializers.Gender.Raw;
14
+ gender: Gender.Raw;
14
15
  phone_number: string;
15
16
  email: string;
16
17
  }
@@ -25,23 +25,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  __setModuleDefault(result, mod);
26
26
  return result;
27
27
  };
28
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
- return new (P || (P = Promise))(function (resolve, reject) {
31
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
- step((generator = generator.apply(thisArg, _arguments || [])).next());
35
- });
36
- };
37
28
  Object.defineProperty(exports, "__esModule", { value: true });
38
29
  exports.PatientDetails = void 0;
39
30
  const core = __importStar(require("../../core"));
31
+ const Gender_1 = require("./Gender");
40
32
  exports.PatientDetails = core.serialization.object({
41
33
  firstName: core.serialization.property("first_name", core.serialization.string()),
42
34
  lastName: core.serialization.property("last_name", core.serialization.string()),
43
35
  dob: core.serialization.date(),
44
- gender: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).Gender; })),
36
+ gender: Gender_1.Gender,
45
37
  phoneNumber: core.serialization.property("phone_number", core.serialization.string()),
46
38
  email: core.serialization.string(),
47
39
  });
@@ -4,12 +4,13 @@
4
4
  import * as serializers from "..";
5
5
  import * as Vital from "../../api";
6
6
  import * as core from "../../core";
7
+ import { Address } from "./Address";
7
8
  export declare const PersonDetails: core.serialization.ObjectSchema<serializers.PersonDetails.Raw, Vital.PersonDetails>;
8
9
  export declare namespace PersonDetails {
9
10
  interface Raw {
10
11
  first_name: string;
11
12
  last_name: string;
12
- address: serializers.Address.Raw;
13
+ address: Address.Raw;
13
14
  phone_number: string;
14
15
  phone_type?: string | null;
15
16
  }
@@ -25,22 +25,14 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  __setModuleDefault(result, mod);
26
26
  return result;
27
27
  };
28
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
- return new (P || (P = Promise))(function (resolve, reject) {
31
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
- step((generator = generator.apply(thisArg, _arguments || [])).next());
35
- });
36
- };
37
28
  Object.defineProperty(exports, "__esModule", { value: true });
38
29
  exports.PersonDetails = void 0;
39
30
  const core = __importStar(require("../../core"));
31
+ const Address_1 = require("./Address");
40
32
  exports.PersonDetails = core.serialization.object({
41
33
  firstName: core.serialization.property("first_name", core.serialization.string()),
42
34
  lastName: core.serialization.property("last_name", core.serialization.string()),
43
- address: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).Address; })),
35
+ address: Address_1.Address,
44
36
  phoneNumber: core.serialization.property("phone_number", core.serialization.string()),
45
37
  phoneType: core.serialization.property("phone_type", core.serialization.string().optional()),
46
38
  });
@@ -4,10 +4,11 @@
4
4
  import * as serializers from "..";
5
5
  import * as Vital from "../../api";
6
6
  import * as core from "../../core";
7
+ import { PhlebotomyProviderInfo } from "./PhlebotomyProviderInfo";
7
8
  export declare const PhlebotomyAreaInfo: core.serialization.ObjectSchema<serializers.PhlebotomyAreaInfo.Raw, Vital.PhlebotomyAreaInfo>;
8
9
  export declare namespace PhlebotomyAreaInfo {
9
10
  interface Raw {
10
11
  is_served: boolean;
11
- providers: serializers.PhlebotomyProviderInfo.Raw[];
12
+ providers: PhlebotomyProviderInfo.Raw[];
12
13
  }
13
14
  }
@@ -25,19 +25,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  __setModuleDefault(result, mod);
26
26
  return result;
27
27
  };
28
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
- return new (P || (P = Promise))(function (resolve, reject) {
31
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
- step((generator = generator.apply(thisArg, _arguments || [])).next());
35
- });
36
- };
37
28
  Object.defineProperty(exports, "__esModule", { value: true });
38
29
  exports.PhlebotomyAreaInfo = void 0;
39
30
  const core = __importStar(require("../../core"));
31
+ const PhlebotomyProviderInfo_1 = require("./PhlebotomyProviderInfo");
40
32
  exports.PhlebotomyAreaInfo = core.serialization.object({
41
33
  isServed: core.serialization.property("is_served", core.serialization.boolean()),
42
- providers: core.serialization.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).PhlebotomyProviderInfo; }))),
34
+ providers: core.serialization.list(PhlebotomyProviderInfo_1.PhlebotomyProviderInfo),
43
35
  });
@@ -4,10 +4,12 @@
4
4
  import * as serializers from "..";
5
5
  import * as Vital from "../../api";
6
6
  import * as core from "../../core";
7
+ import { AppointmentProvider } from "./AppointmentProvider";
8
+ import { AppointmentServiceType } from "./AppointmentServiceType";
7
9
  export declare const PhlebotomyProviderInfo: core.serialization.ObjectSchema<serializers.PhlebotomyProviderInfo.Raw, Vital.PhlebotomyProviderInfo>;
8
10
  export declare namespace PhlebotomyProviderInfo {
9
11
  interface Raw {
10
- name: serializers.AppointmentProvider.Raw;
11
- service_types: serializers.AppointmentServiceType.Raw[];
12
+ name: AppointmentProvider.Raw;
13
+ service_types: AppointmentServiceType.Raw[];
12
14
  }
13
15
  }
@@ -25,19 +25,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  __setModuleDefault(result, mod);
26
26
  return result;
27
27
  };
28
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
- return new (P || (P = Promise))(function (resolve, reject) {
31
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
- step((generator = generator.apply(thisArg, _arguments || [])).next());
35
- });
36
- };
37
28
  Object.defineProperty(exports, "__esModule", { value: true });
38
29
  exports.PhlebotomyProviderInfo = void 0;
39
30
  const core = __importStar(require("../../core"));
31
+ const AppointmentProvider_1 = require("./AppointmentProvider");
32
+ const AppointmentServiceType_1 = require("./AppointmentServiceType");
40
33
  exports.PhlebotomyProviderInfo = core.serialization.object({
41
- name: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).AppointmentProvider; })),
42
- serviceTypes: core.serialization.property("service_types", core.serialization.list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).AppointmentServiceType; })))),
34
+ name: AppointmentProvider_1.AppointmentProvider,
35
+ serviceTypes: core.serialization.property("service_types", core.serialization.list(AppointmentServiceType_1.AppointmentServiceType)),
43
36
  });
@@ -4,6 +4,7 @@
4
4
  import * as serializers from "..";
5
5
  import * as Vital from "../../api";
6
6
  import * as core from "../../core";
7
+ import { PhysicianCreateRequestSignatureImage } from "./PhysicianCreateRequestSignatureImage";
7
8
  export declare const PhysicianCreateRequest: core.serialization.ObjectSchema<serializers.PhysicianCreateRequest.Raw, Vital.PhysicianCreateRequest>;
8
9
  export declare namespace PhysicianCreateRequest {
9
10
  interface Raw {
@@ -12,6 +13,6 @@ export declare namespace PhysicianCreateRequest {
12
13
  email?: string | null;
13
14
  npi: string;
14
15
  licensed_states?: string[] | null;
15
- signature_image?: serializers.PhysicianCreateRequestSignatureImage.Raw | null;
16
+ signature_image?: PhysicianCreateRequestSignatureImage.Raw | null;
16
17
  }
17
18
  }
@@ -25,23 +25,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  __setModuleDefault(result, mod);
26
26
  return result;
27
27
  };
28
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
- return new (P || (P = Promise))(function (resolve, reject) {
31
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
- step((generator = generator.apply(thisArg, _arguments || [])).next());
35
- });
36
- };
37
28
  Object.defineProperty(exports, "__esModule", { value: true });
38
29
  exports.PhysicianCreateRequest = void 0;
39
30
  const core = __importStar(require("../../core"));
31
+ const PhysicianCreateRequestSignatureImage_1 = require("./PhysicianCreateRequestSignatureImage");
40
32
  exports.PhysicianCreateRequest = core.serialization.object({
41
33
  firstName: core.serialization.property("first_name", core.serialization.string()),
42
34
  lastName: core.serialization.property("last_name", core.serialization.string()),
43
35
  email: core.serialization.string().optional(),
44
36
  npi: core.serialization.string(),
45
37
  licensedStates: core.serialization.property("licensed_states", core.serialization.list(core.serialization.string()).optional()),
46
- signatureImage: core.serialization.property("signature_image", core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).PhysicianCreateRequestSignatureImage; })).optional()),
38
+ signatureImage: core.serialization.property("signature_image", PhysicianCreateRequestSignatureImage_1.PhysicianCreateRequestSignatureImage.optional()),
47
39
  });
@@ -4,13 +4,15 @@
4
4
  import * as serializers from "..";
5
5
  import * as Vital from "../../api";
6
6
  import * as core from "../../core";
7
+ import { Jpeg } from "./Jpeg";
8
+ import { Png } from "./Png";
7
9
  export declare const PhysicianCreateRequestSignatureImage: core.serialization.Schema<serializers.PhysicianCreateRequestSignatureImage.Raw, Vital.PhysicianCreateRequestSignatureImage>;
8
10
  export declare namespace PhysicianCreateRequestSignatureImage {
9
11
  type Raw = PhysicianCreateRequestSignatureImage.ImageJpeg | PhysicianCreateRequestSignatureImage.ImagePng;
10
- interface ImageJpeg extends serializers.Jpeg.Raw {
12
+ interface ImageJpeg extends Jpeg.Raw {
11
13
  content_type: "image/jpeg";
12
14
  }
13
- interface ImagePng extends serializers.Png.Raw {
15
+ interface ImagePng extends Png.Raw {
14
16
  content_type: "image/png";
15
17
  }
16
18
  }
@@ -25,22 +25,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  __setModuleDefault(result, mod);
26
26
  return result;
27
27
  };
28
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
- return new (P || (P = Promise))(function (resolve, reject) {
31
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
- step((generator = generator.apply(thisArg, _arguments || [])).next());
35
- });
36
- };
37
28
  Object.defineProperty(exports, "__esModule", { value: true });
38
29
  exports.PhysicianCreateRequestSignatureImage = void 0;
39
30
  const core = __importStar(require("../../core"));
31
+ const Jpeg_1 = require("./Jpeg");
32
+ const Png_1 = require("./Png");
40
33
  exports.PhysicianCreateRequestSignatureImage = core.serialization
41
34
  .union(core.serialization.discriminant("contentType", "content_type"), {
42
- "image/jpeg": core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).Jpeg; })),
43
- "image/png": core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).Png; })),
35
+ "image/jpeg": Jpeg_1.Jpeg,
36
+ "image/png": Png_1.Png,
44
37
  })
45
38
  .transform({
46
39
  transform: (value) => value,
@@ -4,10 +4,11 @@
4
4
  import * as serializers from "..";
5
5
  import * as Vital from "../../api";
6
6
  import * as core from "../../core";
7
+ import { ClientFacingOrder } from "./ClientFacingOrder";
7
8
  export declare const PostOrderResponse: core.serialization.ObjectSchema<serializers.PostOrderResponse.Raw, Vital.PostOrderResponse>;
8
9
  export declare namespace PostOrderResponse {
9
10
  interface Raw {
10
- order: serializers.ClientFacingOrder.Raw;
11
+ order: ClientFacingOrder.Raw;
11
12
  status: string;
12
13
  message: string;
13
14
  }
@@ -25,20 +25,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  __setModuleDefault(result, mod);
26
26
  return result;
27
27
  };
28
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
- return new (P || (P = Promise))(function (resolve, reject) {
31
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
- step((generator = generator.apply(thisArg, _arguments || [])).next());
35
- });
36
- };
37
28
  Object.defineProperty(exports, "__esModule", { value: true });
38
29
  exports.PostOrderResponse = void 0;
39
30
  const core = __importStar(require("../../core"));
31
+ const ClientFacingOrder_1 = require("./ClientFacingOrder");
40
32
  exports.PostOrderResponse = core.serialization.object({
41
- order: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ClientFacingOrder; })),
33
+ order: ClientFacingOrder_1.ClientFacingOrder,
42
34
  status: core.serialization.string(),
43
35
  message: core.serialization.string(),
44
36
  });
@@ -4,6 +4,7 @@
4
4
  import * as serializers from "..";
5
5
  import * as Vital from "../../api";
6
6
  import * as core from "../../core";
7
+ import { ClientFacingProvider } from "./ClientFacingProvider";
7
8
  export declare const ProfileInDb: core.serialization.ObjectSchema<serializers.ProfileInDb.Raw, Vital.ProfileInDb>;
8
9
  export declare namespace ProfileInDb {
9
10
  interface Raw {
@@ -12,7 +13,7 @@ export declare namespace ProfileInDb {
12
13
  source_id: number;
13
14
  priority_id?: number | null;
14
15
  id: string;
15
- source: serializers.ClientFacingProvider.Raw;
16
+ source: ClientFacingProvider.Raw;
16
17
  updated_at?: string | null;
17
18
  }
18
19
  }