@tryvital/vital-node 3.0.5 → 3.0.7

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 (227) hide show
  1. package/api/resources/activity/client/Client.js +2 -2
  2. package/api/resources/body/client/Client.js +2 -2
  3. package/api/resources/devices/client/Client.js +1 -1
  4. package/api/resources/insurance/client/Client.js +2 -2
  5. package/api/resources/introspect/client/Client.d.ts +4 -0
  6. package/api/resources/introspect/client/Client.js +73 -1
  7. package/api/resources/introspect/client/requests/IntrospectGetUserHistoricalPullsRequest.d.ts +10 -0
  8. package/api/resources/introspect/client/requests/index.d.ts +1 -0
  9. package/api/resources/labTests/client/Client.d.ts +8 -2
  10. package/api/resources/labTests/client/Client.js +88 -57
  11. package/api/resources/labTests/client/requests/RequestAppointmentRequest.d.ts +9 -0
  12. package/api/resources/labTests/client/requests/index.d.ts +1 -0
  13. package/api/resources/link/client/Client.d.ts +3 -3
  14. package/api/resources/link/client/Client.js +23 -51
  15. package/api/resources/link/client/requests/EmailAuthLink.d.ts +1 -1
  16. package/api/resources/link/client/requests/EmailProviderAuthLink.d.ts +1 -1
  17. package/api/resources/link/client/requests/IndividualProviderData.d.ts +1 -1
  18. package/api/resources/link/client/requests/LinkGenerateOauthLinkRequest.d.ts +1 -1
  19. package/api/resources/link/client/requests/LinkGetAllProvidersRequest.d.ts +1 -1
  20. package/api/resources/link/client/requests/LinkTokenStateRequest.d.ts +1 -1
  21. package/api/resources/link/client/requests/PasswordAuthLink.d.ts +1 -1
  22. package/api/resources/meal/client/Client.js +1 -1
  23. package/api/resources/profile/client/Client.js +2 -2
  24. package/api/resources/providers/client/Client.js +1 -1
  25. package/api/resources/sleep/client/Client.js +4 -4
  26. package/api/resources/team/client/Client.d.ts +1 -1
  27. package/api/resources/team/client/Client.js +9 -13
  28. package/api/resources/team/client/requests/TeamGetLinkConfigRequest.d.ts +1 -1
  29. package/api/resources/testkit/client/Client.js +2 -2
  30. package/api/resources/user/client/Client.d.ts +1 -1
  31. package/api/resources/user/client/Client.js +18 -12
  32. package/api/resources/user/client/requests/UserRefreshRequest.d.ts +6 -0
  33. package/api/resources/user/client/requests/index.d.ts +1 -0
  34. package/api/resources/vitals/client/Client.js +23 -23
  35. package/api/resources/workouts/client/Client.js +3 -3
  36. package/api/types/AppointmentEventStatus.d.ts +2 -1
  37. package/api/types/AppointmentEventStatus.js +1 -0
  38. package/api/types/AppointmentProvider.d.ts +2 -1
  39. package/api/types/AppointmentProvider.js +1 -0
  40. package/api/types/AppointmentServiceType.d.ts +11 -0
  41. package/api/types/AppointmentServiceType.js +10 -0
  42. package/api/types/ClientFacingAppointment.d.ts +3 -3
  43. package/api/types/HistoricalPullStatus.d.ts +12 -0
  44. package/api/types/HistoricalPullStatus.js +11 -0
  45. package/api/types/OrderStatus.d.ts +2 -1
  46. package/api/types/OrderStatus.js +1 -0
  47. package/api/types/PhlebotomyAreaInfo.d.ts +2 -0
  48. package/api/types/PhlebotomyProviderInfo.d.ts +8 -0
  49. package/api/types/SingleHistoricalPullStatistics.d.ts +12 -0
  50. package/api/types/SingleHistoricalPullStatistics.js +5 -0
  51. package/api/types/SingleProviderHistoricalPullResponse.d.ts +8 -0
  52. package/api/types/SingleProviderHistoricalPullResponse.js +5 -0
  53. package/api/types/SingleUserHistoricalPullResponse.d.ts +8 -0
  54. package/api/types/SingleUserHistoricalPullResponse.js +5 -0
  55. package/api/types/SingleUserResourceResponse.d.ts +2 -0
  56. package/api/types/UserHistoricalPullsResponse.d.ts +8 -0
  57. package/api/types/UserHistoricalPullsResponse.js +5 -0
  58. package/api/types/UserRefreshSuccessResponse.d.ts +1 -0
  59. package/api/types/UserSignInTokenResponse.d.ts +1 -2
  60. package/api/types/index.d.ts +7 -2
  61. package/api/types/index.js +7 -2
  62. package/core/index.d.ts +1 -0
  63. package/core/index.js +1 -0
  64. package/core/streaming-fetcher/StreamingFetcher.d.ts +30 -0
  65. package/core/streaming-fetcher/StreamingFetcher.js +79 -0
  66. package/core/streaming-fetcher/getHeader.d.ts +2 -0
  67. package/core/streaming-fetcher/getHeader.js +12 -0
  68. package/core/streaming-fetcher/index.d.ts +3 -0
  69. package/core/streaming-fetcher/index.js +7 -0
  70. package/dist/api/resources/activity/client/Client.js +2 -2
  71. package/dist/api/resources/body/client/Client.js +2 -2
  72. package/dist/api/resources/devices/client/Client.js +1 -1
  73. package/dist/api/resources/insurance/client/Client.js +2 -2
  74. package/dist/api/resources/introspect/client/Client.d.ts +4 -0
  75. package/dist/api/resources/introspect/client/Client.js +73 -1
  76. package/dist/api/resources/introspect/client/requests/IntrospectGetUserHistoricalPullsRequest.d.ts +10 -0
  77. package/dist/api/resources/introspect/client/requests/IntrospectGetUserHistoricalPullsRequest.js +5 -0
  78. package/dist/api/resources/introspect/client/requests/index.d.ts +1 -0
  79. package/dist/api/resources/labTests/client/Client.d.ts +8 -2
  80. package/dist/api/resources/labTests/client/Client.js +88 -57
  81. package/dist/api/resources/labTests/client/requests/RequestAppointmentRequest.d.ts +9 -0
  82. package/dist/api/resources/labTests/client/requests/RequestAppointmentRequest.js +5 -0
  83. package/dist/api/resources/labTests/client/requests/index.d.ts +1 -0
  84. package/dist/api/resources/link/client/Client.d.ts +3 -3
  85. package/dist/api/resources/link/client/Client.js +23 -51
  86. package/dist/api/resources/link/client/requests/EmailAuthLink.d.ts +1 -1
  87. package/dist/api/resources/link/client/requests/EmailProviderAuthLink.d.ts +1 -1
  88. package/dist/api/resources/link/client/requests/IndividualProviderData.d.ts +1 -1
  89. package/dist/api/resources/link/client/requests/LinkGenerateOauthLinkRequest.d.ts +1 -1
  90. package/dist/api/resources/link/client/requests/LinkGetAllProvidersRequest.d.ts +1 -1
  91. package/dist/api/resources/link/client/requests/LinkTokenStateRequest.d.ts +1 -1
  92. package/dist/api/resources/link/client/requests/PasswordAuthLink.d.ts +1 -1
  93. package/dist/api/resources/meal/client/Client.js +1 -1
  94. package/dist/api/resources/profile/client/Client.js +2 -2
  95. package/dist/api/resources/providers/client/Client.js +1 -1
  96. package/dist/api/resources/sleep/client/Client.js +4 -4
  97. package/dist/api/resources/team/client/Client.d.ts +1 -1
  98. package/dist/api/resources/team/client/Client.js +9 -13
  99. package/dist/api/resources/team/client/requests/TeamGetLinkConfigRequest.d.ts +1 -1
  100. package/dist/api/resources/testkit/client/Client.js +2 -2
  101. package/dist/api/resources/user/client/Client.d.ts +1 -1
  102. package/dist/api/resources/user/client/Client.js +18 -12
  103. package/dist/api/resources/user/client/requests/UserRefreshRequest.d.ts +6 -0
  104. package/dist/api/resources/user/client/requests/UserRefreshRequest.js +5 -0
  105. package/dist/api/resources/user/client/requests/index.d.ts +1 -0
  106. package/dist/api/resources/vitals/client/Client.js +23 -23
  107. package/dist/api/resources/workouts/client/Client.js +3 -3
  108. package/dist/api/types/AppointmentEventStatus.d.ts +2 -1
  109. package/dist/api/types/AppointmentEventStatus.js +1 -0
  110. package/dist/api/types/AppointmentProvider.d.ts +2 -1
  111. package/dist/api/types/AppointmentProvider.js +1 -0
  112. package/dist/api/types/AppointmentServiceType.d.ts +11 -0
  113. package/dist/api/types/AppointmentServiceType.js +10 -0
  114. package/dist/api/types/ClientFacingAppointment.d.ts +3 -3
  115. package/dist/api/types/HistoricalPullStatus.d.ts +12 -0
  116. package/dist/api/types/HistoricalPullStatus.js +11 -0
  117. package/dist/api/types/OrderStatus.d.ts +2 -1
  118. package/dist/api/types/OrderStatus.js +1 -0
  119. package/dist/api/types/PhlebotomyAreaInfo.d.ts +2 -0
  120. package/dist/api/types/PhlebotomyProviderInfo.d.ts +8 -0
  121. package/dist/api/types/PhlebotomyProviderInfo.js +5 -0
  122. package/dist/api/types/SingleHistoricalPullStatistics.d.ts +12 -0
  123. package/dist/api/types/SingleHistoricalPullStatistics.js +5 -0
  124. package/dist/api/types/SingleProviderHistoricalPullResponse.d.ts +8 -0
  125. package/dist/api/types/SingleProviderHistoricalPullResponse.js +5 -0
  126. package/dist/api/types/SingleUserHistoricalPullResponse.d.ts +8 -0
  127. package/dist/api/types/SingleUserHistoricalPullResponse.js +5 -0
  128. package/dist/api/types/SingleUserResourceResponse.d.ts +2 -0
  129. package/dist/api/types/UserHistoricalPullsResponse.d.ts +8 -0
  130. package/dist/api/types/UserHistoricalPullsResponse.js +5 -0
  131. package/dist/api/types/UserRefreshSuccessResponse.d.ts +1 -0
  132. package/dist/api/types/UserSignInTokenResponse.d.ts +1 -2
  133. package/dist/api/types/index.d.ts +7 -2
  134. package/dist/api/types/index.js +7 -2
  135. package/dist/core/index.d.ts +1 -0
  136. package/dist/core/index.js +1 -0
  137. package/dist/core/streaming-fetcher/StreamingFetcher.d.ts +30 -0
  138. package/dist/core/streaming-fetcher/StreamingFetcher.js +79 -0
  139. package/dist/core/streaming-fetcher/getHeader.d.ts +2 -0
  140. package/dist/core/streaming-fetcher/getHeader.js +12 -0
  141. package/dist/core/streaming-fetcher/index.d.ts +3 -0
  142. package/dist/core/streaming-fetcher/index.js +7 -0
  143. package/dist/serialization/resources/labTests/client/requests/RequestAppointmentRequest.d.ts +13 -0
  144. package/dist/serialization/resources/labTests/client/requests/RequestAppointmentRequest.js +43 -0
  145. package/dist/serialization/resources/labTests/client/requests/index.d.ts +1 -0
  146. package/dist/serialization/resources/labTests/client/requests/index.js +3 -1
  147. package/dist/serialization/types/AppointmentEventStatus.d.ts +1 -1
  148. package/dist/serialization/types/AppointmentEventStatus.js +1 -1
  149. package/dist/serialization/types/AppointmentProvider.d.ts +1 -1
  150. package/dist/serialization/types/AppointmentProvider.js +1 -1
  151. package/dist/serialization/types/AppointmentServiceType.d.ts +10 -0
  152. package/dist/serialization/types/{UserSignInToken.js → AppointmentServiceType.js} +2 -5
  153. package/dist/serialization/types/ClientFacingAppointment.d.ts +3 -3
  154. package/dist/serialization/types/ClientFacingAppointment.js +3 -3
  155. package/dist/serialization/types/HistoricalPullStatus.d.ts +10 -0
  156. package/{serialization/types/UserSignInToken.js → dist/serialization/types/HistoricalPullStatus.js} +2 -5
  157. package/dist/serialization/types/OrderStatus.d.ts +1 -1
  158. package/dist/serialization/types/OrderStatus.js +1 -0
  159. package/dist/serialization/types/PhlebotomyAreaInfo.d.ts +1 -0
  160. package/dist/serialization/types/PhlebotomyAreaInfo.js +10 -0
  161. package/dist/serialization/types/PhlebotomyProviderInfo.d.ts +13 -0
  162. package/dist/serialization/types/PhlebotomyProviderInfo.js +43 -0
  163. package/dist/serialization/types/SingleHistoricalPullStatistics.d.ts +17 -0
  164. package/dist/serialization/types/SingleHistoricalPullStatistics.js +47 -0
  165. package/dist/serialization/types/SingleProviderHistoricalPullResponse.d.ts +13 -0
  166. package/dist/serialization/types/SingleProviderHistoricalPullResponse.js +43 -0
  167. package/dist/serialization/types/SingleUserHistoricalPullResponse.d.ts +13 -0
  168. package/dist/serialization/types/SingleUserHistoricalPullResponse.js +43 -0
  169. package/dist/serialization/types/SingleUserResourceResponse.d.ts +1 -0
  170. package/dist/serialization/types/SingleUserResourceResponse.js +10 -0
  171. package/dist/serialization/types/UserHistoricalPullsResponse.d.ts +13 -0
  172. package/dist/serialization/types/{UserSignInTokenResponseSignInToken.js → UserHistoricalPullsResponse.js} +5 -5
  173. package/dist/serialization/types/UserRefreshSuccessResponse.d.ts +1 -0
  174. package/dist/serialization/types/UserRefreshSuccessResponse.js +1 -0
  175. package/dist/serialization/types/UserSignInTokenResponse.d.ts +1 -1
  176. package/dist/serialization/types/UserSignInTokenResponse.js +1 -10
  177. package/dist/serialization/types/index.d.ts +7 -2
  178. package/dist/serialization/types/index.js +7 -2
  179. package/package.json +1 -1
  180. package/serialization/resources/labTests/client/requests/RequestAppointmentRequest.d.ts +13 -0
  181. package/serialization/resources/labTests/client/requests/RequestAppointmentRequest.js +43 -0
  182. package/serialization/resources/labTests/client/requests/index.d.ts +1 -0
  183. package/serialization/resources/labTests/client/requests/index.js +3 -1
  184. package/serialization/types/AppointmentEventStatus.d.ts +1 -1
  185. package/serialization/types/AppointmentEventStatus.js +1 -1
  186. package/serialization/types/AppointmentProvider.d.ts +1 -1
  187. package/serialization/types/AppointmentProvider.js +1 -1
  188. package/serialization/types/AppointmentServiceType.d.ts +10 -0
  189. package/serialization/types/AppointmentServiceType.js +31 -0
  190. package/serialization/types/ClientFacingAppointment.d.ts +3 -3
  191. package/serialization/types/ClientFacingAppointment.js +3 -3
  192. package/serialization/types/HistoricalPullStatus.d.ts +10 -0
  193. package/serialization/types/HistoricalPullStatus.js +31 -0
  194. package/serialization/types/OrderStatus.d.ts +1 -1
  195. package/serialization/types/OrderStatus.js +1 -0
  196. package/serialization/types/PhlebotomyAreaInfo.d.ts +1 -0
  197. package/serialization/types/PhlebotomyAreaInfo.js +10 -0
  198. package/serialization/types/PhlebotomyProviderInfo.d.ts +13 -0
  199. package/serialization/types/PhlebotomyProviderInfo.js +43 -0
  200. package/serialization/types/SingleHistoricalPullStatistics.d.ts +17 -0
  201. package/serialization/types/SingleHistoricalPullStatistics.js +47 -0
  202. package/serialization/types/SingleProviderHistoricalPullResponse.d.ts +13 -0
  203. package/serialization/types/SingleProviderHistoricalPullResponse.js +43 -0
  204. package/serialization/types/SingleUserHistoricalPullResponse.d.ts +13 -0
  205. package/serialization/types/SingleUserHistoricalPullResponse.js +43 -0
  206. package/serialization/types/SingleUserResourceResponse.d.ts +1 -0
  207. package/serialization/types/SingleUserResourceResponse.js +10 -0
  208. package/serialization/types/UserHistoricalPullsResponse.d.ts +13 -0
  209. package/serialization/types/{UserSignInTokenResponseSignInToken.js → UserHistoricalPullsResponse.js} +5 -5
  210. package/serialization/types/UserRefreshSuccessResponse.d.ts +1 -0
  211. package/serialization/types/UserRefreshSuccessResponse.js +1 -0
  212. package/serialization/types/UserSignInTokenResponse.d.ts +1 -1
  213. package/serialization/types/UserSignInTokenResponse.js +1 -10
  214. package/serialization/types/index.d.ts +7 -2
  215. package/serialization/types/index.js +7 -2
  216. package/api/types/UserSignInToken.d.ts +0 -7
  217. package/api/types/UserSignInTokenResponseSignInToken.d.ts +0 -5
  218. package/dist/api/types/UserSignInToken.d.ts +0 -7
  219. package/dist/api/types/UserSignInTokenResponseSignInToken.d.ts +0 -5
  220. package/dist/serialization/types/UserSignInToken.d.ts +0 -13
  221. package/dist/serialization/types/UserSignInTokenResponseSignInToken.d.ts +0 -10
  222. package/serialization/types/UserSignInToken.d.ts +0 -13
  223. package/serialization/types/UserSignInTokenResponseSignInToken.d.ts +0 -10
  224. /package/api/{types/UserSignInToken.js → resources/introspect/client/requests/IntrospectGetUserHistoricalPullsRequest.js} +0 -0
  225. /package/api/{types/UserSignInTokenResponseSignInToken.js → resources/labTests/client/requests/RequestAppointmentRequest.js} +0 -0
  226. /package/{dist/api/types/UserSignInToken.js → api/resources/user/client/requests/UserRefreshRequest.js} +0 -0
  227. /package/{dist/api/types/UserSignInTokenResponseSignInToken.js → api/types/PhlebotomyProviderInfo.js} +0 -0
@@ -73,7 +73,7 @@ class Vitals {
73
73
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
74
74
  "X-Fern-Language": "JavaScript",
75
75
  "X-Fern-SDK-Name": "@tryvital/vital-node",
76
- "X-Fern-SDK-Version": "3.0.5",
76
+ "X-Fern-SDK-Version": "3.0.7",
77
77
  },
78
78
  contentType: "application/json",
79
79
  queryParameters: _queryParams,
@@ -141,7 +141,7 @@ class Vitals {
141
141
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
142
142
  "X-Fern-Language": "JavaScript",
143
143
  "X-Fern-SDK-Name": "@tryvital/vital-node",
144
- "X-Fern-SDK-Version": "3.0.5",
144
+ "X-Fern-SDK-Version": "3.0.7",
145
145
  },
146
146
  contentType: "application/json",
147
147
  queryParameters: _queryParams,
@@ -209,7 +209,7 @@ class Vitals {
209
209
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
210
210
  "X-Fern-Language": "JavaScript",
211
211
  "X-Fern-SDK-Name": "@tryvital/vital-node",
212
- "X-Fern-SDK-Version": "3.0.5",
212
+ "X-Fern-SDK-Version": "3.0.7",
213
213
  },
214
214
  contentType: "application/json",
215
215
  queryParameters: _queryParams,
@@ -277,7 +277,7 @@ class Vitals {
277
277
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
278
278
  "X-Fern-Language": "JavaScript",
279
279
  "X-Fern-SDK-Name": "@tryvital/vital-node",
280
- "X-Fern-SDK-Version": "3.0.5",
280
+ "X-Fern-SDK-Version": "3.0.7",
281
281
  },
282
282
  contentType: "application/json",
283
283
  queryParameters: _queryParams,
@@ -345,7 +345,7 @@ class Vitals {
345
345
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
346
346
  "X-Fern-Language": "JavaScript",
347
347
  "X-Fern-SDK-Name": "@tryvital/vital-node",
348
- "X-Fern-SDK-Version": "3.0.5",
348
+ "X-Fern-SDK-Version": "3.0.7",
349
349
  },
350
350
  contentType: "application/json",
351
351
  queryParameters: _queryParams,
@@ -413,7 +413,7 @@ class Vitals {
413
413
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
414
414
  "X-Fern-Language": "JavaScript",
415
415
  "X-Fern-SDK-Name": "@tryvital/vital-node",
416
- "X-Fern-SDK-Version": "3.0.5",
416
+ "X-Fern-SDK-Version": "3.0.7",
417
417
  },
418
418
  contentType: "application/json",
419
419
  queryParameters: _queryParams,
@@ -481,7 +481,7 @@ class Vitals {
481
481
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
482
482
  "X-Fern-Language": "JavaScript",
483
483
  "X-Fern-SDK-Name": "@tryvital/vital-node",
484
- "X-Fern-SDK-Version": "3.0.5",
484
+ "X-Fern-SDK-Version": "3.0.7",
485
485
  },
486
486
  contentType: "application/json",
487
487
  queryParameters: _queryParams,
@@ -549,7 +549,7 @@ class Vitals {
549
549
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
550
550
  "X-Fern-Language": "JavaScript",
551
551
  "X-Fern-SDK-Name": "@tryvital/vital-node",
552
- "X-Fern-SDK-Version": "3.0.5",
552
+ "X-Fern-SDK-Version": "3.0.7",
553
553
  },
554
554
  contentType: "application/json",
555
555
  queryParameters: _queryParams,
@@ -617,7 +617,7 @@ class Vitals {
617
617
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
618
618
  "X-Fern-Language": "JavaScript",
619
619
  "X-Fern-SDK-Name": "@tryvital/vital-node",
620
- "X-Fern-SDK-Version": "3.0.5",
620
+ "X-Fern-SDK-Version": "3.0.7",
621
621
  },
622
622
  contentType: "application/json",
623
623
  queryParameters: _queryParams,
@@ -685,7 +685,7 @@ class Vitals {
685
685
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
686
686
  "X-Fern-Language": "JavaScript",
687
687
  "X-Fern-SDK-Name": "@tryvital/vital-node",
688
- "X-Fern-SDK-Version": "3.0.5",
688
+ "X-Fern-SDK-Version": "3.0.7",
689
689
  },
690
690
  contentType: "application/json",
691
691
  queryParameters: _queryParams,
@@ -753,7 +753,7 @@ class Vitals {
753
753
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
754
754
  "X-Fern-Language": "JavaScript",
755
755
  "X-Fern-SDK-Name": "@tryvital/vital-node",
756
- "X-Fern-SDK-Version": "3.0.5",
756
+ "X-Fern-SDK-Version": "3.0.7",
757
757
  },
758
758
  contentType: "application/json",
759
759
  queryParameters: _queryParams,
@@ -821,7 +821,7 @@ class Vitals {
821
821
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
822
822
  "X-Fern-Language": "JavaScript",
823
823
  "X-Fern-SDK-Name": "@tryvital/vital-node",
824
- "X-Fern-SDK-Version": "3.0.5",
824
+ "X-Fern-SDK-Version": "3.0.7",
825
825
  },
826
826
  contentType: "application/json",
827
827
  queryParameters: _queryParams,
@@ -889,7 +889,7 @@ class Vitals {
889
889
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
890
890
  "X-Fern-Language": "JavaScript",
891
891
  "X-Fern-SDK-Name": "@tryvital/vital-node",
892
- "X-Fern-SDK-Version": "3.0.5",
892
+ "X-Fern-SDK-Version": "3.0.7",
893
893
  },
894
894
  contentType: "application/json",
895
895
  queryParameters: _queryParams,
@@ -957,7 +957,7 @@ class Vitals {
957
957
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
958
958
  "X-Fern-Language": "JavaScript",
959
959
  "X-Fern-SDK-Name": "@tryvital/vital-node",
960
- "X-Fern-SDK-Version": "3.0.5",
960
+ "X-Fern-SDK-Version": "3.0.7",
961
961
  },
962
962
  contentType: "application/json",
963
963
  queryParameters: _queryParams,
@@ -1025,7 +1025,7 @@ class Vitals {
1025
1025
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
1026
1026
  "X-Fern-Language": "JavaScript",
1027
1027
  "X-Fern-SDK-Name": "@tryvital/vital-node",
1028
- "X-Fern-SDK-Version": "3.0.5",
1028
+ "X-Fern-SDK-Version": "3.0.7",
1029
1029
  },
1030
1030
  contentType: "application/json",
1031
1031
  queryParameters: _queryParams,
@@ -1093,7 +1093,7 @@ class Vitals {
1093
1093
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
1094
1094
  "X-Fern-Language": "JavaScript",
1095
1095
  "X-Fern-SDK-Name": "@tryvital/vital-node",
1096
- "X-Fern-SDK-Version": "3.0.5",
1096
+ "X-Fern-SDK-Version": "3.0.7",
1097
1097
  },
1098
1098
  contentType: "application/json",
1099
1099
  queryParameters: _queryParams,
@@ -1161,7 +1161,7 @@ class Vitals {
1161
1161
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
1162
1162
  "X-Fern-Language": "JavaScript",
1163
1163
  "X-Fern-SDK-Name": "@tryvital/vital-node",
1164
- "X-Fern-SDK-Version": "3.0.5",
1164
+ "X-Fern-SDK-Version": "3.0.7",
1165
1165
  },
1166
1166
  contentType: "application/json",
1167
1167
  queryParameters: _queryParams,
@@ -1229,7 +1229,7 @@ class Vitals {
1229
1229
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
1230
1230
  "X-Fern-Language": "JavaScript",
1231
1231
  "X-Fern-SDK-Name": "@tryvital/vital-node",
1232
- "X-Fern-SDK-Version": "3.0.5",
1232
+ "X-Fern-SDK-Version": "3.0.7",
1233
1233
  },
1234
1234
  contentType: "application/json",
1235
1235
  queryParameters: _queryParams,
@@ -1297,7 +1297,7 @@ class Vitals {
1297
1297
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
1298
1298
  "X-Fern-Language": "JavaScript",
1299
1299
  "X-Fern-SDK-Name": "@tryvital/vital-node",
1300
- "X-Fern-SDK-Version": "3.0.5",
1300
+ "X-Fern-SDK-Version": "3.0.7",
1301
1301
  },
1302
1302
  contentType: "application/json",
1303
1303
  queryParameters: _queryParams,
@@ -1365,7 +1365,7 @@ class Vitals {
1365
1365
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
1366
1366
  "X-Fern-Language": "JavaScript",
1367
1367
  "X-Fern-SDK-Name": "@tryvital/vital-node",
1368
- "X-Fern-SDK-Version": "3.0.5",
1368
+ "X-Fern-SDK-Version": "3.0.7",
1369
1369
  },
1370
1370
  contentType: "application/json",
1371
1371
  queryParameters: _queryParams,
@@ -1433,7 +1433,7 @@ class Vitals {
1433
1433
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
1434
1434
  "X-Fern-Language": "JavaScript",
1435
1435
  "X-Fern-SDK-Name": "@tryvital/vital-node",
1436
- "X-Fern-SDK-Version": "3.0.5",
1436
+ "X-Fern-SDK-Version": "3.0.7",
1437
1437
  },
1438
1438
  contentType: "application/json",
1439
1439
  queryParameters: _queryParams,
@@ -1501,7 +1501,7 @@ class Vitals {
1501
1501
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
1502
1502
  "X-Fern-Language": "JavaScript",
1503
1503
  "X-Fern-SDK-Name": "@tryvital/vital-node",
1504
- "X-Fern-SDK-Version": "3.0.5",
1504
+ "X-Fern-SDK-Version": "3.0.7",
1505
1505
  },
1506
1506
  contentType: "application/json",
1507
1507
  queryParameters: _queryParams,
@@ -1569,7 +1569,7 @@ class Vitals {
1569
1569
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
1570
1570
  "X-Fern-Language": "JavaScript",
1571
1571
  "X-Fern-SDK-Name": "@tryvital/vital-node",
1572
- "X-Fern-SDK-Version": "3.0.5",
1572
+ "X-Fern-SDK-Version": "3.0.7",
1573
1573
  },
1574
1574
  contentType: "application/json",
1575
1575
  queryParameters: _queryParams,
@@ -73,7 +73,7 @@ class Workouts {
73
73
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
74
74
  "X-Fern-Language": "JavaScript",
75
75
  "X-Fern-SDK-Name": "@tryvital/vital-node",
76
- "X-Fern-SDK-Version": "3.0.5",
76
+ "X-Fern-SDK-Version": "3.0.7",
77
77
  },
78
78
  contentType: "application/json",
79
79
  queryParameters: _queryParams,
@@ -141,7 +141,7 @@ class Workouts {
141
141
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
142
142
  "X-Fern-Language": "JavaScript",
143
143
  "X-Fern-SDK-Name": "@tryvital/vital-node",
144
- "X-Fern-SDK-Version": "3.0.5",
144
+ "X-Fern-SDK-Version": "3.0.7",
145
145
  },
146
146
  contentType: "application/json",
147
147
  queryParameters: _queryParams,
@@ -199,7 +199,7 @@ class Workouts {
199
199
  "x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
200
200
  "X-Fern-Language": "JavaScript",
201
201
  "X-Fern-SDK-Name": "@tryvital/vital-node",
202
- "X-Fern-SDK-Version": "3.0.5",
202
+ "X-Fern-SDK-Version": "3.0.7",
203
203
  },
204
204
  contentType: "application/json",
205
205
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -4,8 +4,9 @@
4
4
  /**
5
5
  * An enumeration.
6
6
  */
7
- export declare type AppointmentEventStatus = "scheduled" | "completed" | "cancelled" | "in_progress";
7
+ export declare type AppointmentEventStatus = "pending" | "scheduled" | "completed" | "cancelled" | "in_progress";
8
8
  export declare const AppointmentEventStatus: {
9
+ readonly Pending: "pending";
9
10
  readonly Scheduled: "scheduled";
10
11
  readonly Completed: "completed";
11
12
  readonly Cancelled: "cancelled";
@@ -5,6 +5,7 @@
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.AppointmentEventStatus = void 0;
7
7
  exports.AppointmentEventStatus = {
8
+ Pending: "pending",
8
9
  Scheduled: "scheduled",
9
10
  Completed: "completed",
10
11
  Cancelled: "cancelled",
@@ -4,8 +4,9 @@
4
4
  /**
5
5
  * An enumeration.
6
6
  */
7
- export declare type AppointmentProvider = "getlabs" | "axlehealth";
7
+ export declare type AppointmentProvider = "getlabs" | "axlehealth" | "phlebfinders";
8
8
  export declare const AppointmentProvider: {
9
9
  readonly Getlabs: "getlabs";
10
10
  readonly Axlehealth: "axlehealth";
11
+ readonly Phlebfinders: "phlebfinders";
11
12
  };
@@ -7,4 +7,5 @@ exports.AppointmentProvider = void 0;
7
7
  exports.AppointmentProvider = {
8
8
  Getlabs: "getlabs",
9
9
  Axlehealth: "axlehealth",
10
+ Phlebfinders: "phlebfinders",
10
11
  };
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * An enumeration.
6
+ */
7
+ export declare type AppointmentServiceType = "appointment-ready" | "appointment-request";
8
+ export declare const AppointmentServiceType: {
9
+ readonly AppointmentReady: "appointment-ready";
10
+ readonly AppointmentRequest: "appointment-request";
11
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.AppointmentServiceType = void 0;
7
+ exports.AppointmentServiceType = {
8
+ AppointmentReady: "appointment-ready",
9
+ AppointmentRequest: "appointment-request",
10
+ };
@@ -9,10 +9,10 @@ export interface ClientFacingAppointment {
9
9
  address: Vital.UsAddress;
10
10
  location: Vital.LngLat;
11
11
  /** Time is in UTC */
12
- startAt: Date;
12
+ startAt?: Date;
13
13
  /** Time is in UTC */
14
- endAt: Date;
15
- ianaTimezone: string;
14
+ endAt?: Date;
15
+ ianaTimezone?: string;
16
16
  type: Vital.AppointmentType;
17
17
  provider: Vital.AppointmentProvider;
18
18
  status: Vital.AppointmentStatus;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * An enumeration.
6
+ */
7
+ export declare type HistoricalPullStatus = "success" | "failure" | "in_progress";
8
+ export declare const HistoricalPullStatus: {
9
+ readonly Success: "success";
10
+ readonly Failure: "failure";
11
+ readonly InProgress: "in_progress";
12
+ };
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.HistoricalPullStatus = void 0;
7
+ exports.HistoricalPullStatus = {
8
+ Success: "success",
9
+ Failure: "failure",
10
+ InProgress: "in_progress",
11
+ };
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * An enumeration.
6
6
  */
7
- export declare type OrderStatus = "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_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";
7
+ export declare type OrderStatus = "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";
8
8
  export declare const OrderStatus: {
9
9
  readonly ReceivedWalkInTestOrdered: "received.walk_in_test.ordered";
10
10
  readonly ReceivedWalkInTestRequisitionCreated: "received.walk_in_test.requisition_created";
@@ -14,6 +14,7 @@ export declare const OrderStatus: {
14
14
  readonly CancelledWalkInTestCancelled: "cancelled.walk_in_test.cancelled";
15
15
  readonly ReceivedAtHomePhlebotomyOrdered: "received.at_home_phlebotomy.ordered";
16
16
  readonly ReceivedAtHomePhlebotomyRequisitionCreated: "received.at_home_phlebotomy.requisition_created";
17
+ readonly CollectingSampleAtHomePhlebotomyAppointmentPending: "collecting_sample.at_home_phlebotomy.appointment_pending";
17
18
  readonly CollectingSampleAtHomePhlebotomyAppointmentScheduled: "collecting_sample.at_home_phlebotomy.appointment_scheduled";
18
19
  readonly CollectingSampleAtHomePhlebotomyDrawCompleted: "collecting_sample.at_home_phlebotomy.draw_completed";
19
20
  readonly CollectingSampleAtHomePhlebotomyAppointmentCancelled: "collecting_sample.at_home_phlebotomy.appointment_cancelled";
@@ -13,6 +13,7 @@ exports.OrderStatus = {
13
13
  CancelledWalkInTestCancelled: "cancelled.walk_in_test.cancelled",
14
14
  ReceivedAtHomePhlebotomyOrdered: "received.at_home_phlebotomy.ordered",
15
15
  ReceivedAtHomePhlebotomyRequisitionCreated: "received.at_home_phlebotomy.requisition_created",
16
+ CollectingSampleAtHomePhlebotomyAppointmentPending: "collecting_sample.at_home_phlebotomy.appointment_pending",
16
17
  CollectingSampleAtHomePhlebotomyAppointmentScheduled: "collecting_sample.at_home_phlebotomy.appointment_scheduled",
17
18
  CollectingSampleAtHomePhlebotomyDrawCompleted: "collecting_sample.at_home_phlebotomy.draw_completed",
18
19
  CollectingSampleAtHomePhlebotomyAppointmentCancelled: "collecting_sample.at_home_phlebotomy.appointment_cancelled",
@@ -1,6 +1,8 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ import * as Vital from "..";
4
5
  export interface PhlebotomyAreaInfo {
5
6
  isServed: boolean;
7
+ providers: Vital.PhlebotomyProviderInfo[];
6
8
  }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vital from "..";
5
+ export interface PhlebotomyProviderInfo {
6
+ name: Vital.AppointmentProvider;
7
+ serviceTypes: Vital.AppointmentServiceType[];
8
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vital from "..";
5
+ export interface SingleHistoricalPullStatistics {
6
+ status: Vital.HistoricalPullStatus;
7
+ rangeStart?: Date;
8
+ rangeEnd?: Date;
9
+ daysWithData?: number;
10
+ release: string;
11
+ traceId?: string;
12
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vital from "..";
5
+ export interface SingleProviderHistoricalPullResponse {
6
+ pulled: Record<string, Vital.SingleHistoricalPullStatistics>;
7
+ notPulled: Vital.ClientFacingResource[];
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vital from "..";
5
+ export interface SingleUserHistoricalPullResponse {
6
+ userId: string;
7
+ provider: Record<string, Vital.SingleProviderHistoricalPullResponse>;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +1,8 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ import * as Vital from "..";
4
5
  export interface SingleUserResourceResponse {
5
6
  userId: string;
7
+ provider: Record<string, Record<string, Vital.SingleResourceStatistics>>;
6
8
  }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vital from "..";
5
+ export interface UserHistoricalPullsResponse {
6
+ data: Vital.SingleUserHistoricalPullResponse[];
7
+ next?: string;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -7,5 +7,6 @@ export interface UserRefreshSuccessResponse {
7
7
  /** A unique ID representing the end user. Typically this will be a user ID from your application. Personally identifiable information, such as an email address or phone number, should not be used in the client_user_id. */
8
8
  userId: string;
9
9
  refreshedSources: string[];
10
+ inProgressSources: string[];
10
11
  failedSources: string[];
11
12
  }
@@ -1,8 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as Vital from "..";
5
4
  export interface UserSignInTokenResponse {
6
5
  userId: string;
7
- signInToken: Vital.UserSignInTokenResponseSignInToken;
6
+ signInToken: string;
8
7
  }
@@ -4,6 +4,7 @@ export * from "./Address";
4
4
  export * from "./AppointmentAvailabilitySlots";
5
5
  export * from "./AppointmentEventStatus";
6
6
  export * from "./AppointmentProvider";
7
+ export * from "./AppointmentServiceType";
7
8
  export * from "./AppointmentStatus";
8
9
  export * from "./AppointmentType";
9
10
  export * from "./AreaInfo";
@@ -101,6 +102,7 @@ export * from "./HealthInsuranceCreateRequest";
101
102
  export * from "./HealthInsuranceCreateRequestFrontImage";
102
103
  export * from "./HealthInsuranceCreateRequestBackImage";
103
104
  export * from "./HealthInsuranceCreateRequestPatientSignatureImage";
105
+ export * from "./HistoricalPullStatus";
104
106
  export * from "./Jpeg";
105
107
  export * from "./LabResultsMetadata";
106
108
  export * from "./LabResultsRaw";
@@ -127,6 +129,7 @@ export * from "./PatientAddressCompatible";
127
129
  export * from "./PatientDetails";
128
130
  export * from "./PersonDetails";
129
131
  export * from "./PhlebotomyAreaInfo";
132
+ export * from "./PhlebotomyProviderInfo";
130
133
  export * from "./PhysicianCreateRequest";
131
134
  export * from "./PhysicianCreateRequestSignatureImage";
132
135
  export * from "./PhysicianCreateRequestBase";
@@ -145,7 +148,10 @@ export * from "./Region";
145
148
  export * from "./ResponsibleRelationship";
146
149
  export * from "./ResultType";
147
150
  export * from "./ShippingAddress";
151
+ export * from "./SingleHistoricalPullStatistics";
152
+ export * from "./SingleProviderHistoricalPullResponse";
148
153
  export * from "./SingleResourceStatistics";
154
+ export * from "./SingleUserHistoricalPullResponse";
149
155
  export * from "./SingleUserResourceResponse";
150
156
  export * from "./SleepV2InDb";
151
157
  export * from "./Source";
@@ -156,12 +162,11 @@ export * from "./TeamConfig";
156
162
  export * from "./TimeSlot";
157
163
  export * from "./TimeseriesMetricPoint";
158
164
  export * from "./TimeseriesResource";
165
+ export * from "./UserHistoricalPullsResponse";
159
166
  export * from "./UserRefreshErrorResponse";
160
167
  export * from "./UserRefreshSuccessResponse";
161
168
  export * from "./UserResourcesResponse";
162
- export * from "./UserSignInToken";
163
169
  export * from "./UserSignInTokenResponse";
164
- export * from "./UserSignInTokenResponseSignInToken";
165
170
  export * from "./UserSuccessResponse";
166
171
  export * from "./ValidationError";
167
172
  export * from "./ValidationErrorLocItem";
@@ -20,6 +20,7 @@ __exportStar(require("./Address"), exports);
20
20
  __exportStar(require("./AppointmentAvailabilitySlots"), exports);
21
21
  __exportStar(require("./AppointmentEventStatus"), exports);
22
22
  __exportStar(require("./AppointmentProvider"), exports);
23
+ __exportStar(require("./AppointmentServiceType"), exports);
23
24
  __exportStar(require("./AppointmentStatus"), exports);
24
25
  __exportStar(require("./AppointmentType"), exports);
25
26
  __exportStar(require("./AreaInfo"), exports);
@@ -117,6 +118,7 @@ __exportStar(require("./HealthInsuranceCreateRequest"), exports);
117
118
  __exportStar(require("./HealthInsuranceCreateRequestFrontImage"), exports);
118
119
  __exportStar(require("./HealthInsuranceCreateRequestBackImage"), exports);
119
120
  __exportStar(require("./HealthInsuranceCreateRequestPatientSignatureImage"), exports);
121
+ __exportStar(require("./HistoricalPullStatus"), exports);
120
122
  __exportStar(require("./Jpeg"), exports);
121
123
  __exportStar(require("./LabResultsMetadata"), exports);
122
124
  __exportStar(require("./LabResultsRaw"), exports);
@@ -143,6 +145,7 @@ __exportStar(require("./PatientAddressCompatible"), exports);
143
145
  __exportStar(require("./PatientDetails"), exports);
144
146
  __exportStar(require("./PersonDetails"), exports);
145
147
  __exportStar(require("./PhlebotomyAreaInfo"), exports);
148
+ __exportStar(require("./PhlebotomyProviderInfo"), exports);
146
149
  __exportStar(require("./PhysicianCreateRequest"), exports);
147
150
  __exportStar(require("./PhysicianCreateRequestSignatureImage"), exports);
148
151
  __exportStar(require("./PhysicianCreateRequestBase"), exports);
@@ -161,7 +164,10 @@ __exportStar(require("./Region"), exports);
161
164
  __exportStar(require("./ResponsibleRelationship"), exports);
162
165
  __exportStar(require("./ResultType"), exports);
163
166
  __exportStar(require("./ShippingAddress"), exports);
167
+ __exportStar(require("./SingleHistoricalPullStatistics"), exports);
168
+ __exportStar(require("./SingleProviderHistoricalPullResponse"), exports);
164
169
  __exportStar(require("./SingleResourceStatistics"), exports);
170
+ __exportStar(require("./SingleUserHistoricalPullResponse"), exports);
165
171
  __exportStar(require("./SingleUserResourceResponse"), exports);
166
172
  __exportStar(require("./SleepV2InDb"), exports);
167
173
  __exportStar(require("./Source"), exports);
@@ -172,12 +178,11 @@ __exportStar(require("./TeamConfig"), exports);
172
178
  __exportStar(require("./TimeSlot"), exports);
173
179
  __exportStar(require("./TimeseriesMetricPoint"), exports);
174
180
  __exportStar(require("./TimeseriesResource"), exports);
181
+ __exportStar(require("./UserHistoricalPullsResponse"), exports);
175
182
  __exportStar(require("./UserRefreshErrorResponse"), exports);
176
183
  __exportStar(require("./UserRefreshSuccessResponse"), exports);
177
184
  __exportStar(require("./UserResourcesResponse"), exports);
178
- __exportStar(require("./UserSignInToken"), exports);
179
185
  __exportStar(require("./UserSignInTokenResponse"), exports);
180
- __exportStar(require("./UserSignInTokenResponseSignInToken"), exports);
181
186
  __exportStar(require("./UserSuccessResponse"), exports);
182
187
  __exportStar(require("./ValidationError"), exports);
183
188
  __exportStar(require("./ValidationErrorLocItem"), exports);
package/core/index.d.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  export * from "./fetcher";
2
+ export * from "./streaming-fetcher";
2
3
  export * as serialization from "./schemas";
package/core/index.js CHANGED
@@ -28,4 +28,5 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.serialization = void 0;
30
30
  __exportStar(require("./fetcher"), exports);
31
+ __exportStar(require("./streaming-fetcher"), exports);
31
32
  exports.serialization = __importStar(require("./schemas"));
@@ -0,0 +1,30 @@
1
+ /// <reference types="node" />
2
+ import { default as URLSearchParams } from "@ungap/url-search-params";
3
+ import { AxiosAdapter } from "axios";
4
+ import { Readable } from "stream";
5
+ export declare type StreamingFetchFunction = (args: StreamingFetcher.Args) => Promise<StreamingFetcher.Response>;
6
+ export declare namespace StreamingFetcher {
7
+ interface Args {
8
+ url: string;
9
+ method: string;
10
+ headers?: Record<string, string | undefined>;
11
+ queryParameters?: URLSearchParams;
12
+ body?: unknown;
13
+ timeoutMs?: number;
14
+ withCredentials?: boolean;
15
+ adapter?: AxiosAdapter;
16
+ onUploadProgress?: (event: ProgressEvent) => void;
17
+ onDownloadProgress?: (event: ProgressEvent) => void;
18
+ onData?: (data: unknown) => void;
19
+ onError?: (err: unknown) => void;
20
+ onFinish?: () => void;
21
+ abortController?: AbortController;
22
+ responseChunkPrefix?: string;
23
+ terminator?: string;
24
+ }
25
+ interface Response {
26
+ data: Readable;
27
+ headers: Record<string, any>;
28
+ }
29
+ }
30
+ export declare const streamingFetcher: StreamingFetchFunction;