@tryvital/vital-node 3.1.41 → 3.1.43

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 (233) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +21 -16
  3. package/api/resources/activity/client/Client.js +2 -2
  4. package/api/resources/body/client/Client.js +2 -2
  5. package/api/resources/devices/client/Client.js +1 -1
  6. package/api/resources/index.d.ts +2 -0
  7. package/api/resources/index.js +3 -1
  8. package/api/resources/insurance/client/Client.js +2 -2
  9. package/api/resources/introspect/client/Client.js +2 -2
  10. package/api/resources/labTests/client/Client.js +27 -27
  11. package/api/resources/link/client/Client.js +14 -14
  12. package/api/resources/meal/client/Client.js +1 -1
  13. package/api/resources/menstrualCycle/client/Client.d.ts +32 -0
  14. package/api/resources/menstrualCycle/client/Client.js +127 -0
  15. package/api/resources/menstrualCycle/client/index.d.ts +1 -0
  16. package/api/resources/menstrualCycle/client/index.js +17 -0
  17. package/api/resources/menstrualCycle/client/requests/MenstrualCycleGetRequest.d.ts +17 -0
  18. package/api/resources/menstrualCycle/client/requests/MenstrualCycleGetRequest.js +5 -0
  19. package/api/resources/menstrualCycle/client/requests/index.d.ts +1 -0
  20. package/api/resources/menstrualCycle/client/requests/index.js +2 -0
  21. package/api/resources/menstrualCycle/index.d.ts +1 -0
  22. package/api/resources/menstrualCycle/index.js +17 -0
  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.js +7 -7
  27. package/api/resources/testkit/client/Client.js +2 -2
  28. package/api/resources/user/client/Client.js +12 -12
  29. package/api/resources/vitals/client/Client.js +52 -52
  30. package/api/resources/workouts/client/Client.js +3 -3
  31. package/api/types/BasalBodyTemperatureEntry.d.ts +7 -0
  32. package/api/types/BasalBodyTemperatureEntry.js +5 -0
  33. package/api/types/CervicalMucusEntry.d.ts +8 -0
  34. package/api/types/CervicalMucusEntry.js +5 -0
  35. package/api/types/CervicalMucusEntryQuality.d.ts +11 -0
  36. package/api/types/CervicalMucusEntryQuality.js +13 -0
  37. package/api/types/ClientFacingSource.d.ts +3 -3
  38. package/api/types/ContraceptiveEntry.d.ts +8 -0
  39. package/api/types/ContraceptiveEntry.js +5 -0
  40. package/api/types/ContraceptiveEntryType.d.ts +13 -0
  41. package/api/types/ContraceptiveEntryType.js +15 -0
  42. package/api/types/DetectedDeviationEntry.d.ts +8 -0
  43. package/api/types/DetectedDeviationEntry.js +5 -0
  44. package/api/types/DetectedDeviationEntryDeviation.d.ts +10 -0
  45. package/api/types/DetectedDeviationEntryDeviation.js +12 -0
  46. package/api/types/HomePregnancyTestEntry.d.ts +8 -0
  47. package/api/types/HomePregnancyTestEntry.js +5 -0
  48. package/api/types/HomePregnancyTestEntryTestResult.d.ts +9 -0
  49. package/api/types/HomePregnancyTestEntryTestResult.js +11 -0
  50. package/api/types/HomeProgesteroneTestEntry.d.ts +8 -0
  51. package/api/types/HomeProgesteroneTestEntry.js +5 -0
  52. package/api/types/HomeProgesteroneTestEntryTestResult.d.ts +9 -0
  53. package/api/types/HomeProgesteroneTestEntryTestResult.js +11 -0
  54. package/api/types/IntermenstrualBleedingEntry.d.ts +6 -0
  55. package/api/types/IntermenstrualBleedingEntry.js +5 -0
  56. package/api/types/MenstrualCycle.d.ts +21 -0
  57. package/api/types/MenstrualCycle.js +5 -0
  58. package/api/types/MenstrualCycleResponse.d.ts +7 -0
  59. package/api/types/MenstrualCycleResponse.js +5 -0
  60. package/api/types/MenstrualFlowEntry.d.ts +8 -0
  61. package/api/types/MenstrualFlowEntry.js +5 -0
  62. package/api/types/MenstrualFlowEntryFlow.d.ts +11 -0
  63. package/api/types/MenstrualFlowEntryFlow.js +13 -0
  64. package/api/types/OvulationTestEntry.d.ts +8 -0
  65. package/api/types/OvulationTestEntry.js +5 -0
  66. package/api/types/OvulationTestEntryTestResult.d.ts +10 -0
  67. package/api/types/OvulationTestEntryTestResult.js +12 -0
  68. package/api/types/PscInfo.d.ts +1 -1
  69. package/api/types/SexualActivityEntry.d.ts +7 -0
  70. package/api/types/SexualActivityEntry.js +5 -0
  71. package/api/types/index.d.ts +19 -0
  72. package/api/types/index.js +19 -0
  73. package/dist/Client.d.ts +3 -0
  74. package/dist/Client.js +21 -16
  75. package/dist/api/resources/activity/client/Client.js +2 -2
  76. package/dist/api/resources/body/client/Client.js +2 -2
  77. package/dist/api/resources/devices/client/Client.js +1 -1
  78. package/dist/api/resources/index.d.ts +2 -0
  79. package/dist/api/resources/index.js +3 -1
  80. package/dist/api/resources/insurance/client/Client.js +2 -2
  81. package/dist/api/resources/introspect/client/Client.js +2 -2
  82. package/dist/api/resources/labTests/client/Client.js +27 -27
  83. package/dist/api/resources/link/client/Client.js +14 -14
  84. package/dist/api/resources/meal/client/Client.js +1 -1
  85. package/dist/api/resources/menstrualCycle/client/Client.d.ts +32 -0
  86. package/dist/api/resources/menstrualCycle/client/Client.js +127 -0
  87. package/dist/api/resources/menstrualCycle/client/index.d.ts +1 -0
  88. package/dist/api/resources/menstrualCycle/client/index.js +17 -0
  89. package/dist/api/resources/menstrualCycle/client/requests/MenstrualCycleGetRequest.d.ts +17 -0
  90. package/dist/api/resources/menstrualCycle/client/requests/MenstrualCycleGetRequest.js +5 -0
  91. package/dist/api/resources/menstrualCycle/client/requests/index.d.ts +1 -0
  92. package/dist/api/resources/menstrualCycle/client/requests/index.js +2 -0
  93. package/dist/api/resources/menstrualCycle/index.d.ts +1 -0
  94. package/dist/api/resources/menstrualCycle/index.js +17 -0
  95. package/dist/api/resources/profile/client/Client.js +2 -2
  96. package/dist/api/resources/providers/client/Client.js +1 -1
  97. package/dist/api/resources/sleep/client/Client.js +4 -4
  98. package/dist/api/resources/team/client/Client.js +7 -7
  99. package/dist/api/resources/testkit/client/Client.js +2 -2
  100. package/dist/api/resources/user/client/Client.js +12 -12
  101. package/dist/api/resources/vitals/client/Client.js +52 -52
  102. package/dist/api/resources/workouts/client/Client.js +3 -3
  103. package/dist/api/types/BasalBodyTemperatureEntry.d.ts +7 -0
  104. package/dist/api/types/BasalBodyTemperatureEntry.js +5 -0
  105. package/dist/api/types/CervicalMucusEntry.d.ts +8 -0
  106. package/dist/api/types/CervicalMucusEntry.js +5 -0
  107. package/dist/api/types/CervicalMucusEntryQuality.d.ts +11 -0
  108. package/dist/api/types/CervicalMucusEntryQuality.js +13 -0
  109. package/dist/api/types/ClientFacingSource.d.ts +3 -3
  110. package/dist/api/types/ContraceptiveEntry.d.ts +8 -0
  111. package/dist/api/types/ContraceptiveEntry.js +5 -0
  112. package/dist/api/types/ContraceptiveEntryType.d.ts +13 -0
  113. package/dist/api/types/ContraceptiveEntryType.js +15 -0
  114. package/dist/api/types/DetectedDeviationEntry.d.ts +8 -0
  115. package/dist/api/types/DetectedDeviationEntry.js +5 -0
  116. package/dist/api/types/DetectedDeviationEntryDeviation.d.ts +10 -0
  117. package/dist/api/types/DetectedDeviationEntryDeviation.js +12 -0
  118. package/dist/api/types/HomePregnancyTestEntry.d.ts +8 -0
  119. package/dist/api/types/HomePregnancyTestEntry.js +5 -0
  120. package/dist/api/types/HomePregnancyTestEntryTestResult.d.ts +9 -0
  121. package/dist/api/types/HomePregnancyTestEntryTestResult.js +11 -0
  122. package/dist/api/types/HomeProgesteroneTestEntry.d.ts +8 -0
  123. package/dist/api/types/HomeProgesteroneTestEntry.js +5 -0
  124. package/dist/api/types/HomeProgesteroneTestEntryTestResult.d.ts +9 -0
  125. package/dist/api/types/HomeProgesteroneTestEntryTestResult.js +11 -0
  126. package/dist/api/types/IntermenstrualBleedingEntry.d.ts +6 -0
  127. package/dist/api/types/IntermenstrualBleedingEntry.js +5 -0
  128. package/dist/api/types/MenstrualCycle.d.ts +21 -0
  129. package/dist/api/types/MenstrualCycle.js +5 -0
  130. package/dist/api/types/MenstrualCycleResponse.d.ts +7 -0
  131. package/dist/api/types/MenstrualCycleResponse.js +5 -0
  132. package/dist/api/types/MenstrualFlowEntry.d.ts +8 -0
  133. package/dist/api/types/MenstrualFlowEntry.js +5 -0
  134. package/dist/api/types/MenstrualFlowEntryFlow.d.ts +11 -0
  135. package/dist/api/types/MenstrualFlowEntryFlow.js +13 -0
  136. package/dist/api/types/OvulationTestEntry.d.ts +8 -0
  137. package/dist/api/types/OvulationTestEntry.js +5 -0
  138. package/dist/api/types/OvulationTestEntryTestResult.d.ts +10 -0
  139. package/dist/api/types/OvulationTestEntryTestResult.js +12 -0
  140. package/dist/api/types/PscInfo.d.ts +1 -1
  141. package/dist/api/types/SexualActivityEntry.d.ts +7 -0
  142. package/dist/api/types/SexualActivityEntry.js +5 -0
  143. package/dist/api/types/index.d.ts +19 -0
  144. package/dist/api/types/index.js +19 -0
  145. package/dist/serialization/types/BasalBodyTemperatureEntry.d.ts +13 -0
  146. package/dist/serialization/types/BasalBodyTemperatureEntry.js +34 -0
  147. package/dist/serialization/types/CervicalMucusEntry.d.ts +14 -0
  148. package/dist/serialization/types/CervicalMucusEntry.js +35 -0
  149. package/dist/serialization/types/CervicalMucusEntryQuality.d.ts +10 -0
  150. package/dist/serialization/types/CervicalMucusEntryQuality.js +31 -0
  151. package/dist/serialization/types/ClientFacingSource.d.ts +3 -3
  152. package/dist/serialization/types/ClientFacingSource.js +3 -3
  153. package/dist/serialization/types/ContraceptiveEntry.d.ts +14 -0
  154. package/dist/serialization/types/ContraceptiveEntry.js +35 -0
  155. package/dist/serialization/types/ContraceptiveEntryType.d.ts +10 -0
  156. package/dist/serialization/types/ContraceptiveEntryType.js +31 -0
  157. package/dist/serialization/types/DetectedDeviationEntry.d.ts +14 -0
  158. package/dist/serialization/types/DetectedDeviationEntry.js +35 -0
  159. package/dist/serialization/types/DetectedDeviationEntryDeviation.d.ts +10 -0
  160. package/dist/serialization/types/DetectedDeviationEntryDeviation.js +36 -0
  161. package/dist/serialization/types/HomePregnancyTestEntry.d.ts +14 -0
  162. package/dist/serialization/types/HomePregnancyTestEntry.js +35 -0
  163. package/dist/serialization/types/HomePregnancyTestEntryTestResult.d.ts +10 -0
  164. package/dist/serialization/types/HomePregnancyTestEntryTestResult.js +31 -0
  165. package/dist/serialization/types/HomeProgesteroneTestEntry.d.ts +14 -0
  166. package/dist/serialization/types/HomeProgesteroneTestEntry.js +35 -0
  167. package/dist/serialization/types/HomeProgesteroneTestEntryTestResult.d.ts +10 -0
  168. package/dist/serialization/types/HomeProgesteroneTestEntryTestResult.js +31 -0
  169. package/dist/serialization/types/IntermenstrualBleedingEntry.d.ts +12 -0
  170. package/dist/serialization/types/IntermenstrualBleedingEntry.js +33 -0
  171. package/dist/serialization/types/MenstrualCycle.d.ts +37 -0
  172. package/dist/serialization/types/MenstrualCycle.js +58 -0
  173. package/dist/serialization/types/MenstrualCycleResponse.d.ts +13 -0
  174. package/dist/serialization/types/MenstrualCycleResponse.js +34 -0
  175. package/dist/serialization/types/MenstrualFlowEntry.d.ts +14 -0
  176. package/dist/serialization/types/MenstrualFlowEntry.js +35 -0
  177. package/dist/serialization/types/MenstrualFlowEntryFlow.d.ts +10 -0
  178. package/dist/serialization/types/MenstrualFlowEntryFlow.js +31 -0
  179. package/dist/serialization/types/OvulationTestEntry.d.ts +14 -0
  180. package/dist/serialization/types/OvulationTestEntry.js +35 -0
  181. package/dist/serialization/types/OvulationTestEntryTestResult.d.ts +10 -0
  182. package/dist/serialization/types/OvulationTestEntryTestResult.js +31 -0
  183. package/dist/serialization/types/PscInfo.d.ts +1 -1
  184. package/dist/serialization/types/PscInfo.js +1 -1
  185. package/dist/serialization/types/SexualActivityEntry.d.ts +13 -0
  186. package/dist/serialization/types/SexualActivityEntry.js +34 -0
  187. package/dist/serialization/types/index.d.ts +19 -0
  188. package/dist/serialization/types/index.js +19 -0
  189. package/package.json +1 -1
  190. package/serialization/types/BasalBodyTemperatureEntry.d.ts +13 -0
  191. package/serialization/types/BasalBodyTemperatureEntry.js +34 -0
  192. package/serialization/types/CervicalMucusEntry.d.ts +14 -0
  193. package/serialization/types/CervicalMucusEntry.js +35 -0
  194. package/serialization/types/CervicalMucusEntryQuality.d.ts +10 -0
  195. package/serialization/types/CervicalMucusEntryQuality.js +31 -0
  196. package/serialization/types/ClientFacingSource.d.ts +3 -3
  197. package/serialization/types/ClientFacingSource.js +3 -3
  198. package/serialization/types/ContraceptiveEntry.d.ts +14 -0
  199. package/serialization/types/ContraceptiveEntry.js +35 -0
  200. package/serialization/types/ContraceptiveEntryType.d.ts +10 -0
  201. package/serialization/types/ContraceptiveEntryType.js +31 -0
  202. package/serialization/types/DetectedDeviationEntry.d.ts +14 -0
  203. package/serialization/types/DetectedDeviationEntry.js +35 -0
  204. package/serialization/types/DetectedDeviationEntryDeviation.d.ts +10 -0
  205. package/serialization/types/DetectedDeviationEntryDeviation.js +36 -0
  206. package/serialization/types/HomePregnancyTestEntry.d.ts +14 -0
  207. package/serialization/types/HomePregnancyTestEntry.js +35 -0
  208. package/serialization/types/HomePregnancyTestEntryTestResult.d.ts +10 -0
  209. package/serialization/types/HomePregnancyTestEntryTestResult.js +31 -0
  210. package/serialization/types/HomeProgesteroneTestEntry.d.ts +14 -0
  211. package/serialization/types/HomeProgesteroneTestEntry.js +35 -0
  212. package/serialization/types/HomeProgesteroneTestEntryTestResult.d.ts +10 -0
  213. package/serialization/types/HomeProgesteroneTestEntryTestResult.js +31 -0
  214. package/serialization/types/IntermenstrualBleedingEntry.d.ts +12 -0
  215. package/serialization/types/IntermenstrualBleedingEntry.js +33 -0
  216. package/serialization/types/MenstrualCycle.d.ts +37 -0
  217. package/serialization/types/MenstrualCycle.js +58 -0
  218. package/serialization/types/MenstrualCycleResponse.d.ts +13 -0
  219. package/serialization/types/MenstrualCycleResponse.js +34 -0
  220. package/serialization/types/MenstrualFlowEntry.d.ts +14 -0
  221. package/serialization/types/MenstrualFlowEntry.js +35 -0
  222. package/serialization/types/MenstrualFlowEntryFlow.d.ts +10 -0
  223. package/serialization/types/MenstrualFlowEntryFlow.js +31 -0
  224. package/serialization/types/OvulationTestEntry.d.ts +14 -0
  225. package/serialization/types/OvulationTestEntry.js +35 -0
  226. package/serialization/types/OvulationTestEntryTestResult.d.ts +10 -0
  227. package/serialization/types/OvulationTestEntryTestResult.js +31 -0
  228. package/serialization/types/PscInfo.d.ts +1 -1
  229. package/serialization/types/PscInfo.js +1 -1
  230. package/serialization/types/SexualActivityEntry.d.ts +13 -0
  231. package/serialization/types/SexualActivityEntry.js +34 -0
  232. package/serialization/types/index.d.ts +19 -0
  233. package/serialization/types/index.js +19 -0
package/Client.d.ts CHANGED
@@ -11,6 +11,7 @@ import { Workouts } from "./api/resources/workouts/client/Client";
11
11
  import { Sleep } from "./api/resources/sleep/client/Client";
12
12
  import { Body } from "./api/resources/body/client/Client";
13
13
  import { Meal } from "./api/resources/meal/client/Client";
14
+ import { MenstrualCycle } from "./api/resources/menstrualCycle/client/Client";
14
15
  import { Vitals } from "./api/resources/vitals/client/Client";
15
16
  import { User } from "./api/resources/user/client/Client";
16
17
  import { Team } from "./api/resources/team/client/Client";
@@ -48,6 +49,8 @@ export declare class VitalClient {
48
49
  get body(): Body;
49
50
  protected _meal: Meal | undefined;
50
51
  get meal(): Meal;
52
+ protected _menstrualCycle: MenstrualCycle | undefined;
53
+ get menstrualCycle(): MenstrualCycle;
51
54
  protected _vitals: Vitals | undefined;
52
55
  get vitals(): Vitals;
53
56
  protected _user: User | undefined;
package/Client.js CHANGED
@@ -12,14 +12,15 @@ const Client_5 = require("./api/resources/workouts/client/Client");
12
12
  const Client_6 = require("./api/resources/sleep/client/Client");
13
13
  const Client_7 = require("./api/resources/body/client/Client");
14
14
  const Client_8 = require("./api/resources/meal/client/Client");
15
- const Client_9 = require("./api/resources/vitals/client/Client");
16
- const Client_10 = require("./api/resources/user/client/Client");
17
- const Client_11 = require("./api/resources/team/client/Client");
18
- const Client_12 = require("./api/resources/providers/client/Client");
19
- const Client_13 = require("./api/resources/introspect/client/Client");
20
- const Client_14 = require("./api/resources/labTests/client/Client");
21
- const Client_15 = require("./api/resources/testkit/client/Client");
22
- const Client_16 = require("./api/resources/insurance/client/Client");
15
+ const Client_9 = require("./api/resources/menstrualCycle/client/Client");
16
+ const Client_10 = require("./api/resources/vitals/client/Client");
17
+ const Client_11 = require("./api/resources/user/client/Client");
18
+ const Client_12 = require("./api/resources/team/client/Client");
19
+ const Client_13 = require("./api/resources/providers/client/Client");
20
+ const Client_14 = require("./api/resources/introspect/client/Client");
21
+ const Client_15 = require("./api/resources/labTests/client/Client");
22
+ const Client_16 = require("./api/resources/testkit/client/Client");
23
+ const Client_17 = require("./api/resources/insurance/client/Client");
23
24
  class VitalClient {
24
25
  constructor(_options) {
25
26
  this._options = _options;
@@ -56,37 +57,41 @@ class VitalClient {
56
57
  var _a;
57
58
  return ((_a = this._meal) !== null && _a !== void 0 ? _a : (this._meal = new Client_8.Meal(this._options)));
58
59
  }
60
+ get menstrualCycle() {
61
+ var _a;
62
+ return ((_a = this._menstrualCycle) !== null && _a !== void 0 ? _a : (this._menstrualCycle = new Client_9.MenstrualCycle(this._options)));
63
+ }
59
64
  get vitals() {
60
65
  var _a;
61
- return ((_a = this._vitals) !== null && _a !== void 0 ? _a : (this._vitals = new Client_9.Vitals(this._options)));
66
+ return ((_a = this._vitals) !== null && _a !== void 0 ? _a : (this._vitals = new Client_10.Vitals(this._options)));
62
67
  }
63
68
  get user() {
64
69
  var _a;
65
- return ((_a = this._user) !== null && _a !== void 0 ? _a : (this._user = new Client_10.User(this._options)));
70
+ return ((_a = this._user) !== null && _a !== void 0 ? _a : (this._user = new Client_11.User(this._options)));
66
71
  }
67
72
  get team() {
68
73
  var _a;
69
- return ((_a = this._team) !== null && _a !== void 0 ? _a : (this._team = new Client_11.Team(this._options)));
74
+ return ((_a = this._team) !== null && _a !== void 0 ? _a : (this._team = new Client_12.Team(this._options)));
70
75
  }
71
76
  get providers() {
72
77
  var _a;
73
- return ((_a = this._providers) !== null && _a !== void 0 ? _a : (this._providers = new Client_12.Providers(this._options)));
78
+ return ((_a = this._providers) !== null && _a !== void 0 ? _a : (this._providers = new Client_13.Providers(this._options)));
74
79
  }
75
80
  get introspect() {
76
81
  var _a;
77
- return ((_a = this._introspect) !== null && _a !== void 0 ? _a : (this._introspect = new Client_13.Introspect(this._options)));
82
+ return ((_a = this._introspect) !== null && _a !== void 0 ? _a : (this._introspect = new Client_14.Introspect(this._options)));
78
83
  }
79
84
  get labTests() {
80
85
  var _a;
81
- return ((_a = this._labTests) !== null && _a !== void 0 ? _a : (this._labTests = new Client_14.LabTests(this._options)));
86
+ return ((_a = this._labTests) !== null && _a !== void 0 ? _a : (this._labTests = new Client_15.LabTests(this._options)));
82
87
  }
83
88
  get testkit() {
84
89
  var _a;
85
- return ((_a = this._testkit) !== null && _a !== void 0 ? _a : (this._testkit = new Client_15.Testkit(this._options)));
90
+ return ((_a = this._testkit) !== null && _a !== void 0 ? _a : (this._testkit = new Client_16.Testkit(this._options)));
86
91
  }
87
92
  get insurance() {
88
93
  var _a;
89
- return ((_a = this._insurance) !== null && _a !== void 0 ? _a : (this._insurance = new Client_16.Insurance(this._options)));
94
+ return ((_a = this._insurance) !== null && _a !== void 0 ? _a : (this._insurance = new Client_17.Insurance(this._options)));
90
95
  }
91
96
  }
92
97
  exports.VitalClient = VitalClient;
@@ -73,7 +73,7 @@ class Activity {
73
73
  const _response = yield core.fetcher({
74
74
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/activity/${userId}`),
75
75
  method: "GET",
76
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
76
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
77
77
  contentType: "application/json",
78
78
  queryParameters: _queryParams,
79
79
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -142,7 +142,7 @@ class Activity {
142
142
  const _response = yield core.fetcher({
143
143
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/activity/${userId}/raw`),
144
144
  method: "GET",
145
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
145
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
146
146
  contentType: "application/json",
147
147
  queryParameters: _queryParams,
148
148
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -73,7 +73,7 @@ class Body {
73
73
  const _response = yield core.fetcher({
74
74
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/body/${userId}`),
75
75
  method: "GET",
76
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
76
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
77
77
  contentType: "application/json",
78
78
  queryParameters: _queryParams,
79
79
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -142,7 +142,7 @@ class Body {
142
142
  const _response = yield core.fetcher({
143
143
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/body/${userId}/raw`),
144
144
  method: "GET",
145
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
145
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
146
146
  contentType: "application/json",
147
147
  queryParameters: _queryParams,
148
148
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -67,7 +67,7 @@ class Devices {
67
67
  const _response = yield core.fetcher({
68
68
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/devices/${userId}/raw`),
69
69
  method: "GET",
70
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
70
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
71
71
  contentType: "application/json",
72
72
  queryParameters: _queryParams,
73
73
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -6,6 +6,7 @@ export * as workouts from "./workouts";
6
6
  export * as sleep from "./sleep";
7
7
  export * as body from "./body";
8
8
  export * as meal from "./meal";
9
+ export * as menstrualCycle from "./menstrualCycle";
9
10
  export * as vitals from "./vitals";
10
11
  export * as user from "./user";
11
12
  export * as team from "./team";
@@ -22,6 +23,7 @@ export * from "./workouts/client/requests";
22
23
  export * from "./sleep/client/requests";
23
24
  export * from "./body/client/requests";
24
25
  export * from "./meal/client/requests";
26
+ export * from "./menstrualCycle/client/requests";
25
27
  export * from "./vitals/client/requests";
26
28
  export * from "./user/client/requests";
27
29
  export * from "./team/client/requests";
@@ -26,7 +26,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
26
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.insurance = exports.testkit = exports.labTests = exports.introspect = exports.providers = exports.team = exports.user = exports.vitals = exports.meal = exports.body = exports.sleep = exports.workouts = exports.activity = exports.devices = exports.profile = exports.link = void 0;
29
+ exports.insurance = exports.testkit = exports.labTests = exports.introspect = exports.providers = exports.team = exports.user = exports.vitals = exports.menstrualCycle = exports.meal = exports.body = exports.sleep = exports.workouts = exports.activity = exports.devices = exports.profile = exports.link = void 0;
30
30
  exports.link = __importStar(require("./link"));
31
31
  exports.profile = __importStar(require("./profile"));
32
32
  exports.devices = __importStar(require("./devices"));
@@ -35,6 +35,7 @@ exports.workouts = __importStar(require("./workouts"));
35
35
  exports.sleep = __importStar(require("./sleep"));
36
36
  exports.body = __importStar(require("./body"));
37
37
  exports.meal = __importStar(require("./meal"));
38
+ exports.menstrualCycle = __importStar(require("./menstrualCycle"));
38
39
  exports.vitals = __importStar(require("./vitals"));
39
40
  exports.user = __importStar(require("./user"));
40
41
  exports.team = __importStar(require("./team"));
@@ -51,6 +52,7 @@ __exportStar(require("./workouts/client/requests"), exports);
51
52
  __exportStar(require("./sleep/client/requests"), exports);
52
53
  __exportStar(require("./body/client/requests"), exports);
53
54
  __exportStar(require("./meal/client/requests"), exports);
55
+ __exportStar(require("./menstrualCycle/client/requests"), exports);
54
56
  __exportStar(require("./vitals/client/requests"), exports);
55
57
  __exportStar(require("./user/client/requests"), exports);
56
58
  __exportStar(require("./team/client/requests"), exports);
@@ -63,7 +63,7 @@ class Insurance {
63
63
  const _response = yield core.fetcher({
64
64
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/insurance/search/payor"),
65
65
  method: "POST",
66
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
66
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
67
67
  contentType: "application/json",
68
68
  body: yield serializers.PayorSearchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
69
69
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -125,7 +125,7 @@ class Insurance {
125
125
  const _response = yield core.fetcher({
126
126
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/insurance/search/diagnosis"),
127
127
  method: "GET",
128
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
128
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
129
129
  contentType: "application/json",
130
130
  queryParameters: _queryParams,
131
131
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -78,7 +78,7 @@ class Introspect {
78
78
  const _response = yield core.fetcher({
79
79
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/introspect/resources"),
80
80
  method: "GET",
81
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
81
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
82
82
  contentType: "application/json",
83
83
  queryParameters: _queryParams,
84
84
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -152,7 +152,7 @@ class Introspect {
152
152
  const _response = yield core.fetcher({
153
153
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/introspect/historical_pull"),
154
154
  method: "GET",
155
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
155
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
156
156
  contentType: "application/json",
157
157
  queryParameters: _queryParams,
158
158
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -61,7 +61,7 @@ class LabTests {
61
61
  const _response = yield core.fetcher({
62
62
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/lab_tests"),
63
63
  method: "GET",
64
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
64
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
65
65
  contentType: "application/json",
66
66
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
67
67
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -112,7 +112,7 @@ class LabTests {
112
112
  const _response = yield core.fetcher({
113
113
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/lab_tests"),
114
114
  method: "POST",
115
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
115
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
116
116
  contentType: "application/json",
117
117
  body: yield serializers.CreateLabTestRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
118
118
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -189,7 +189,7 @@ class LabTests {
189
189
  const _response = yield core.fetcher({
190
190
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/lab_tests/markers"),
191
191
  method: "GET",
192
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
192
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
193
193
  contentType: "application/json",
194
194
  queryParameters: _queryParams,
195
195
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -254,7 +254,7 @@ class LabTests {
254
254
  const _response = yield core.fetcher({
255
255
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/lab_tests/${labTestId}/markers`),
256
256
  method: "GET",
257
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
257
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
258
258
  contentType: "application/json",
259
259
  queryParameters: _queryParams,
260
260
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -312,7 +312,7 @@ class LabTests {
312
312
  const _response = yield core.fetcher({
313
313
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/lab_tests/${labId}/markers/${providerId}`),
314
314
  method: "GET",
315
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
315
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
316
316
  contentType: "application/json",
317
317
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
318
318
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -368,7 +368,7 @@ class LabTests {
368
368
  const _response = yield core.fetcher({
369
369
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/lab_tests/labs"),
370
370
  method: "GET",
371
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
371
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
372
372
  contentType: "application/json",
373
373
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
374
374
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -415,7 +415,7 @@ class LabTests {
415
415
  const _response = yield core.fetcher({
416
416
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/lab_tests/${labTestId}`),
417
417
  method: "GET",
418
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
418
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
419
419
  contentType: "application/json",
420
420
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
421
421
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -478,7 +478,7 @@ class LabTests {
478
478
  const _response = yield core.fetcher({
479
479
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/order/phlebotomy/appointment/availability"),
480
480
  method: "POST",
481
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
481
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
482
482
  contentType: "application/json",
483
483
  body: yield serializers.UsAddress.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
484
484
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -538,7 +538,7 @@ class LabTests {
538
538
  const _response = yield core.fetcher({
539
539
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}/phlebotomy/appointment/book`),
540
540
  method: "POST",
541
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
541
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
542
542
  contentType: "application/json",
543
543
  body: yield serializers.AppointmentBookingRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
544
544
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -604,7 +604,7 @@ class LabTests {
604
604
  const _response = yield core.fetcher({
605
605
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}/phlebotomy/appointment/request`),
606
606
  method: "POST",
607
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
607
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
608
608
  contentType: "application/json",
609
609
  body: yield serializers.RequestAppointmentRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
610
610
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -664,7 +664,7 @@ class LabTests {
664
664
  const _response = yield core.fetcher({
665
665
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}/phlebotomy/appointment/reschedule`),
666
666
  method: "PATCH",
667
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
667
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
668
668
  contentType: "application/json",
669
669
  body: yield serializers.AppointmentRescheduleRequest.jsonOrThrow(request, {
670
670
  unrecognizedObjectKeys: "strip",
@@ -726,7 +726,7 @@ class LabTests {
726
726
  const _response = yield core.fetcher({
727
727
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}/phlebotomy/appointment/cancel`),
728
728
  method: "PATCH",
729
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
729
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
730
730
  contentType: "application/json",
731
731
  body: yield serializers.AppointmentCancelRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
732
732
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -783,7 +783,7 @@ class LabTests {
783
783
  const _response = yield core.fetcher({
784
784
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/order/phlebotomy/appointment/cancellation-reasons"),
785
785
  method: "GET",
786
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
786
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
787
787
  contentType: "application/json",
788
788
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
789
789
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -830,7 +830,7 @@ class LabTests {
830
830
  const _response = yield core.fetcher({
831
831
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}/phlebotomy/appointment`),
832
832
  method: "GET",
833
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
833
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
834
834
  contentType: "application/json",
835
835
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
836
836
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -903,7 +903,7 @@ class LabTests {
903
903
  const _response = yield core.fetcher({
904
904
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/order/area/info"),
905
905
  method: "GET",
906
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
906
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
907
907
  contentType: "application/json",
908
908
  queryParameters: _queryParams,
909
909
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -970,7 +970,7 @@ class LabTests {
970
970
  const _response = yield core.fetcher({
971
971
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/order/psc/info"),
972
972
  method: "GET",
973
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
973
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
974
974
  contentType: "application/json",
975
975
  queryParameters: _queryParams,
976
976
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1032,7 +1032,7 @@ class LabTests {
1032
1032
  const _response = yield core.fetcher({
1033
1033
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}/psc/info`),
1034
1034
  method: "GET",
1035
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1035
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1036
1036
  contentType: "application/json",
1037
1037
  queryParameters: _queryParams,
1038
1038
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1087,7 +1087,7 @@ class LabTests {
1087
1087
  const _response = yield core.fetcher({
1088
1088
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}/result/pdf`),
1089
1089
  method: "GET",
1090
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1090
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1091
1091
  contentType: "application/json",
1092
1092
  responseType: "streaming",
1093
1093
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1141,7 +1141,7 @@ class LabTests {
1141
1141
  const _response = yield core.fetcher({
1142
1142
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}/result/metadata`),
1143
1143
  method: "GET",
1144
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1144
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1145
1145
  contentType: "application/json",
1146
1146
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1147
1147
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -1198,7 +1198,7 @@ class LabTests {
1198
1198
  const _response = yield core.fetcher({
1199
1199
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}/result`),
1200
1200
  method: "GET",
1201
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1201
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1202
1202
  contentType: "application/json",
1203
1203
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1204
1204
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -1258,7 +1258,7 @@ class LabTests {
1258
1258
  const _response = yield core.fetcher({
1259
1259
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}/labels/pdf`),
1260
1260
  method: "GET",
1261
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1261
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1262
1262
  contentType: "application/json",
1263
1263
  queryParameters: _queryParams,
1264
1264
  responseType: "streaming",
@@ -1309,7 +1309,7 @@ class LabTests {
1309
1309
  const _response = yield core.fetcher({
1310
1310
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}/requisition/pdf`),
1311
1311
  method: "GET",
1312
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1312
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1313
1313
  contentType: "application/json",
1314
1314
  responseType: "streaming",
1315
1315
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1359,7 +1359,7 @@ class LabTests {
1359
1359
  const _response = yield core.fetcher({
1360
1360
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}`),
1361
1361
  method: "GET",
1362
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1362
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1363
1363
  contentType: "application/json",
1364
1364
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1365
1365
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -1413,7 +1413,7 @@ class LabTests {
1413
1413
  const _response = yield core.fetcher({
1414
1414
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/order"),
1415
1415
  method: "POST",
1416
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1416
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1417
1417
  contentType: "application/json",
1418
1418
  body: yield serializers.CreateOrderRequestCompatible.jsonOrThrow(request, {
1419
1419
  unrecognizedObjectKeys: "strip",
@@ -1470,7 +1470,7 @@ class LabTests {
1470
1470
  const _response = yield core.fetcher({
1471
1471
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}/cancel`),
1472
1472
  method: "POST",
1473
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1473
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1474
1474
  contentType: "application/json",
1475
1475
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1476
1476
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -1535,7 +1535,7 @@ class LabTests {
1535
1535
  const _response = yield core.fetcher({
1536
1536
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${orderId}/test`),
1537
1537
  method: "POST",
1538
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1538
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1539
1539
  contentType: "application/json",
1540
1540
  queryParameters: _queryParams,
1541
1541
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1619,7 +1619,7 @@ class LabTests {
1619
1619
  const _response = yield core.fetcher({
1620
1620
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/orders"),
1621
1621
  method: "GET",
1622
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.41", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1622
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.43", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1623
1623
  contentType: "application/json",
1624
1624
  queryParameters: _queryParams,
1625
1625
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,