@tryvital/vital-node 3.1.72 → 3.1.73

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 (255) hide show
  1. package/api/resources/activity/client/Client.js +2 -2
  2. package/api/resources/aggregate/client/Client.d.ts +13 -8
  3. package/api/resources/aggregate/client/Client.js +14 -9
  4. package/api/resources/aggregate/client/requests/Query.d.ts +13 -8
  5. package/api/resources/body/client/Client.js +2 -2
  6. package/api/resources/devices/client/Client.js +1 -1
  7. package/api/resources/insurance/client/Client.js +2 -2
  8. package/api/resources/introspect/client/Client.js +2 -2
  9. package/api/resources/labTests/client/Client.js +27 -27
  10. package/api/resources/link/client/Client.js +14 -14
  11. package/api/resources/meal/client/Client.js +1 -1
  12. package/api/resources/menstrualCycle/client/Client.js +1 -1
  13. package/api/resources/profile/client/Client.js +2 -2
  14. package/api/resources/providers/client/Client.js +1 -1
  15. package/api/resources/sleep/client/Client.js +4 -4
  16. package/api/resources/team/client/Client.js +7 -7
  17. package/api/resources/testkit/client/Client.js +2 -2
  18. package/api/resources/user/client/Client.js +16 -16
  19. package/api/resources/vitals/client/Client.js +56 -56
  20. package/api/resources/workouts/client/Client.js +3 -3
  21. package/api/types/{ActivitySelector.d.ts → ActivityColumnExpr.d.ts} +2 -2
  22. package/{dist/api/types/ActivitySelectorActivity.d.ts → api/types/ActivityColumnExprActivity.d.ts} +2 -2
  23. package/{dist/api/types/ActivitySelectorActivity.js → api/types/ActivityColumnExprActivity.js} +2 -2
  24. package/api/types/AggregateExpr.d.ts +8 -0
  25. package/api/types/AggregateExprArg.d.ts +5 -0
  26. package/api/types/{ReducerFunction.d.ts → AggregateExprFunc.d.ts} +2 -2
  27. package/{dist/api/types/ReducerFunction.js → api/types/AggregateExprFunc.js} +2 -2
  28. package/api/types/DatePartExpr.d.ts +8 -0
  29. package/api/types/DatePartExprArg.d.ts +5 -0
  30. package/api/types/DatePartExprDatePart.d.ts +15 -0
  31. package/{dist/api/types/SwizzlingBinGranularity.js → api/types/DatePartExprDatePart.js} +6 -2
  32. package/api/types/DateTruncExpr.d.ts +8 -0
  33. package/api/types/DateTruncExprArg.d.ts +5 -0
  34. package/api/types/GroupKeyColumnExpr.d.ts +7 -0
  35. package/api/types/GroupKeyColumnExprGroupKey.d.ts +4 -0
  36. package/{dist/api/types/Reducer.d.ts → api/types/IndexColumnExpr.d.ts} +2 -2
  37. package/api/types/IndexColumnExprIndex.d.ts +8 -0
  38. package/api/types/IndexColumnExprIndex.js +10 -0
  39. package/api/types/LabTestSampleType.d.ts +2 -1
  40. package/api/types/LabTestSampleType.js +1 -0
  41. package/api/types/Labs.d.ts +2 -1
  42. package/api/types/Labs.js +1 -0
  43. package/api/types/QueryInstruction.d.ts +2 -4
  44. package/api/types/{QueryInstructionSelect.d.ts → QueryInstructionGroupByItem.d.ts} +1 -1
  45. package/api/types/QueryInstructionSelectItem.d.ts +5 -0
  46. package/api/types/Question.d.ts +1 -0
  47. package/api/types/{SleepSelector.d.ts → SleepColumnExpr.d.ts} +2 -2
  48. package/api/types/SleepColumnExpr.js +5 -0
  49. package/api/types/{SleepSelectorSleep.d.ts → SleepColumnExprSleep.d.ts} +2 -2
  50. package/{dist/api/types/SleepSelectorSleep.js → api/types/SleepColumnExprSleep.js} +2 -2
  51. package/api/types/TimeseriesMetricPoint.d.ts +1 -0
  52. package/api/types/index.d.ts +18 -10
  53. package/api/types/index.js +18 -10
  54. package/dist/api/resources/activity/client/Client.js +2 -2
  55. package/dist/api/resources/aggregate/client/Client.d.ts +13 -8
  56. package/dist/api/resources/aggregate/client/Client.js +14 -9
  57. package/dist/api/resources/aggregate/client/requests/Query.d.ts +13 -8
  58. package/dist/api/resources/body/client/Client.js +2 -2
  59. package/dist/api/resources/devices/client/Client.js +1 -1
  60. package/dist/api/resources/insurance/client/Client.js +2 -2
  61. package/dist/api/resources/introspect/client/Client.js +2 -2
  62. package/dist/api/resources/labTests/client/Client.js +27 -27
  63. package/dist/api/resources/link/client/Client.js +14 -14
  64. package/dist/api/resources/meal/client/Client.js +1 -1
  65. package/dist/api/resources/menstrualCycle/client/Client.js +1 -1
  66. package/dist/api/resources/profile/client/Client.js +2 -2
  67. package/dist/api/resources/providers/client/Client.js +1 -1
  68. package/dist/api/resources/sleep/client/Client.js +4 -4
  69. package/dist/api/resources/team/client/Client.js +7 -7
  70. package/dist/api/resources/testkit/client/Client.js +2 -2
  71. package/dist/api/resources/user/client/Client.js +16 -16
  72. package/dist/api/resources/vitals/client/Client.js +56 -56
  73. package/dist/api/resources/workouts/client/Client.js +3 -3
  74. package/dist/api/types/{ActivitySelector.d.ts → ActivityColumnExpr.d.ts} +2 -2
  75. package/dist/api/types/ActivityColumnExpr.js +5 -0
  76. package/{api/types/ActivitySelectorActivity.d.ts → dist/api/types/ActivityColumnExprActivity.d.ts} +2 -2
  77. package/{api/types/ActivitySelectorActivity.js → dist/api/types/ActivityColumnExprActivity.js} +2 -2
  78. package/dist/api/types/AggregateExpr.d.ts +8 -0
  79. package/dist/api/types/AggregateExpr.js +5 -0
  80. package/dist/api/types/AggregateExprArg.d.ts +5 -0
  81. package/dist/api/types/AggregateExprArg.js +5 -0
  82. package/dist/api/types/{ReducerFunction.d.ts → AggregateExprFunc.d.ts} +2 -2
  83. package/{api/types/ReducerFunction.js → dist/api/types/AggregateExprFunc.js} +2 -2
  84. package/dist/api/types/DatePartExpr.d.ts +8 -0
  85. package/dist/api/types/DatePartExpr.js +5 -0
  86. package/dist/api/types/DatePartExprArg.d.ts +5 -0
  87. package/dist/api/types/DatePartExprArg.js +5 -0
  88. package/dist/api/types/DatePartExprDatePart.d.ts +15 -0
  89. package/{api/types/SwizzlingBinGranularity.js → dist/api/types/DatePartExprDatePart.js} +6 -2
  90. package/dist/api/types/DateTruncExpr.d.ts +8 -0
  91. package/dist/api/types/DateTruncExpr.js +5 -0
  92. package/dist/api/types/DateTruncExprArg.d.ts +5 -0
  93. package/dist/api/types/DateTruncExprArg.js +5 -0
  94. package/dist/api/types/GroupKeyColumnExpr.d.ts +7 -0
  95. package/dist/api/types/GroupKeyColumnExpr.js +5 -0
  96. package/dist/api/types/GroupKeyColumnExprGroupKey.d.ts +4 -0
  97. package/dist/api/types/GroupKeyColumnExprGroupKey.js +5 -0
  98. package/dist/api/types/{SleepSelector.d.ts → IndexColumnExpr.d.ts} +2 -2
  99. package/dist/api/types/IndexColumnExpr.js +5 -0
  100. package/dist/api/types/IndexColumnExprIndex.d.ts +8 -0
  101. package/dist/api/types/IndexColumnExprIndex.js +10 -0
  102. package/dist/api/types/LabTestSampleType.d.ts +2 -1
  103. package/dist/api/types/LabTestSampleType.js +1 -0
  104. package/dist/api/types/Labs.d.ts +2 -1
  105. package/dist/api/types/Labs.js +1 -0
  106. package/dist/api/types/QueryInstruction.d.ts +2 -4
  107. package/{api/types/QueryInstructionPartitionBy.d.ts → dist/api/types/QueryInstructionGroupByItem.d.ts} +1 -1
  108. package/dist/api/types/QueryInstructionGroupByItem.js +5 -0
  109. package/dist/api/types/QueryInstructionSelectItem.d.ts +5 -0
  110. package/dist/api/types/QueryInstructionSelectItem.js +5 -0
  111. package/dist/api/types/Question.d.ts +1 -0
  112. package/{api/types/Reducer.d.ts → dist/api/types/SleepColumnExpr.d.ts} +2 -2
  113. package/dist/api/types/SleepColumnExpr.js +5 -0
  114. package/dist/api/types/{SleepSelectorSleep.d.ts → SleepColumnExprSleep.d.ts} +2 -2
  115. package/{api/types/SleepSelectorSleep.js → dist/api/types/SleepColumnExprSleep.js} +2 -2
  116. package/dist/api/types/TimeseriesMetricPoint.d.ts +1 -0
  117. package/dist/api/types/index.d.ts +18 -10
  118. package/dist/api/types/index.js +18 -10
  119. package/dist/serialization/types/ActivityColumnExpr.d.ts +13 -0
  120. package/dist/serialization/types/{ActivitySelector.js → ActivityColumnExpr.js} +4 -4
  121. package/{serialization/types/ActivitySelectorActivity.d.ts → dist/serialization/types/ActivityColumnExprActivity.d.ts} +2 -2
  122. package/dist/serialization/types/{ActivitySelectorActivity.js → ActivityColumnExprActivity.js} +2 -2
  123. package/dist/serialization/types/AggregateExpr.d.ts +15 -0
  124. package/dist/serialization/types/AggregateExpr.js +36 -0
  125. package/dist/serialization/types/AggregateExprArg.d.ts +14 -0
  126. package/dist/serialization/types/{QueryInstructionSelect.js → AggregateExprArg.js} +6 -4
  127. package/{serialization/types/ReducerFunction.d.ts → dist/serialization/types/AggregateExprFunc.d.ts} +2 -2
  128. package/{serialization/types/ReducerFunction.js → dist/serialization/types/AggregateExprFunc.js} +2 -2
  129. package/dist/serialization/types/DatePartExpr.d.ts +15 -0
  130. package/dist/serialization/types/DatePartExpr.js +36 -0
  131. package/dist/serialization/types/DatePartExprArg.d.ts +12 -0
  132. package/{serialization/types/QueryInstructionPartitionBy.js → dist/serialization/types/DatePartExprArg.js} +3 -3
  133. package/dist/serialization/types/DatePartExprDatePart.d.ts +10 -0
  134. package/dist/serialization/types/DatePartExprDatePart.js +41 -0
  135. package/dist/serialization/types/DateTruncExpr.d.ts +15 -0
  136. package/dist/serialization/types/DateTruncExpr.js +36 -0
  137. package/dist/serialization/types/DateTruncExprArg.d.ts +12 -0
  138. package/dist/serialization/types/DateTruncExprArg.js +33 -0
  139. package/dist/serialization/types/GroupKeyColumnExpr.d.ts +13 -0
  140. package/dist/serialization/types/GroupKeyColumnExpr.js +34 -0
  141. package/dist/serialization/types/GroupKeyColumnExprGroupKey.d.ts +10 -0
  142. package/dist/serialization/types/{Reducer.js → GroupKeyColumnExprGroupKey.js} +2 -5
  143. package/dist/serialization/types/IndexColumnExpr.d.ts +13 -0
  144. package/dist/serialization/types/{SleepSelector.js → IndexColumnExpr.js} +4 -4
  145. package/dist/serialization/types/IndexColumnExprIndex.d.ts +10 -0
  146. package/dist/serialization/types/{SwizzlingBinGranularity.js → IndexColumnExprIndex.js} +2 -2
  147. package/dist/serialization/types/LabTestSampleType.d.ts +1 -1
  148. package/dist/serialization/types/LabTestSampleType.js +1 -1
  149. package/dist/serialization/types/Labs.d.ts +1 -1
  150. package/dist/serialization/types/Labs.js +1 -0
  151. package/dist/serialization/types/QueryInstruction.d.ts +4 -8
  152. package/dist/serialization/types/QueryInstruction.js +4 -8
  153. package/dist/serialization/types/QueryInstructionGroupByItem.d.ts +12 -0
  154. package/dist/serialization/types/QueryInstructionGroupByItem.js +33 -0
  155. package/dist/serialization/types/QueryInstructionSelectItem.d.ts +15 -0
  156. package/dist/serialization/types/QueryInstructionSelectItem.js +42 -0
  157. package/dist/serialization/types/Question.d.ts +1 -0
  158. package/dist/serialization/types/Question.js +1 -0
  159. package/dist/serialization/types/SleepColumnExpr.d.ts +13 -0
  160. package/{serialization/types/SleepSelector.js → dist/serialization/types/SleepColumnExpr.js} +4 -4
  161. package/dist/serialization/types/{SleepSelectorSleep.d.ts → SleepColumnExprSleep.d.ts} +2 -2
  162. package/{serialization/types/SleepSelectorSleep.js → dist/serialization/types/SleepColumnExprSleep.js} +2 -2
  163. package/dist/serialization/types/TimeseriesMetricPoint.d.ts +1 -0
  164. package/dist/serialization/types/TimeseriesMetricPoint.js +1 -0
  165. package/dist/serialization/types/index.d.ts +18 -10
  166. package/dist/serialization/types/index.js +18 -10
  167. package/dist/version.d.ts +1 -1
  168. package/dist/version.js +1 -1
  169. package/package.json +1 -1
  170. package/reference.md +15 -8
  171. package/serialization/types/ActivityColumnExpr.d.ts +13 -0
  172. package/serialization/types/{ActivitySelector.js → ActivityColumnExpr.js} +4 -4
  173. package/{dist/serialization/types/ActivitySelectorActivity.d.ts → serialization/types/ActivityColumnExprActivity.d.ts} +2 -2
  174. package/serialization/types/{ActivitySelectorActivity.js → ActivityColumnExprActivity.js} +2 -2
  175. package/serialization/types/AggregateExpr.d.ts +15 -0
  176. package/serialization/types/AggregateExpr.js +36 -0
  177. package/serialization/types/AggregateExprArg.d.ts +14 -0
  178. package/serialization/types/AggregateExprArg.js +35 -0
  179. package/{dist/serialization/types/ReducerFunction.d.ts → serialization/types/AggregateExprFunc.d.ts} +2 -2
  180. package/{dist/serialization/types/ReducerFunction.js → serialization/types/AggregateExprFunc.js} +2 -2
  181. package/serialization/types/DatePartExpr.d.ts +15 -0
  182. package/serialization/types/DatePartExpr.js +36 -0
  183. package/serialization/types/DatePartExprArg.d.ts +12 -0
  184. package/{dist/serialization/types/QueryInstructionPartitionBy.js → serialization/types/DatePartExprArg.js} +3 -3
  185. package/serialization/types/DatePartExprDatePart.d.ts +10 -0
  186. package/serialization/types/DatePartExprDatePart.js +41 -0
  187. package/serialization/types/DateTruncExpr.d.ts +15 -0
  188. package/serialization/types/DateTruncExpr.js +36 -0
  189. package/serialization/types/DateTruncExprArg.d.ts +12 -0
  190. package/serialization/types/DateTruncExprArg.js +33 -0
  191. package/serialization/types/GroupKeyColumnExpr.d.ts +13 -0
  192. package/serialization/types/GroupKeyColumnExpr.js +34 -0
  193. package/serialization/types/GroupKeyColumnExprGroupKey.d.ts +10 -0
  194. package/serialization/types/{Reducer.js → GroupKeyColumnExprGroupKey.js} +2 -5
  195. package/serialization/types/IndexColumnExpr.d.ts +13 -0
  196. package/serialization/types/IndexColumnExpr.js +34 -0
  197. package/serialization/types/IndexColumnExprIndex.d.ts +10 -0
  198. package/serialization/types/{SwizzlingBinGranularity.js → IndexColumnExprIndex.js} +2 -2
  199. package/serialization/types/LabTestSampleType.d.ts +1 -1
  200. package/serialization/types/LabTestSampleType.js +1 -1
  201. package/serialization/types/Labs.d.ts +1 -1
  202. package/serialization/types/Labs.js +1 -0
  203. package/serialization/types/QueryInstruction.d.ts +4 -8
  204. package/serialization/types/QueryInstruction.js +4 -8
  205. package/serialization/types/QueryInstructionGroupByItem.d.ts +12 -0
  206. package/serialization/types/QueryInstructionGroupByItem.js +33 -0
  207. package/serialization/types/QueryInstructionSelectItem.d.ts +15 -0
  208. package/serialization/types/QueryInstructionSelectItem.js +42 -0
  209. package/serialization/types/Question.d.ts +1 -0
  210. package/serialization/types/Question.js +1 -0
  211. package/serialization/types/SleepColumnExpr.d.ts +13 -0
  212. package/serialization/types/SleepColumnExpr.js +34 -0
  213. package/serialization/types/{SleepSelectorSleep.d.ts → SleepColumnExprSleep.d.ts} +2 -2
  214. package/{dist/serialization/types/SleepSelectorSleep.js → serialization/types/SleepColumnExprSleep.js} +2 -2
  215. package/serialization/types/TimeseriesMetricPoint.d.ts +1 -0
  216. package/serialization/types/TimeseriesMetricPoint.js +1 -0
  217. package/serialization/types/index.d.ts +18 -10
  218. package/serialization/types/index.js +18 -10
  219. package/version.d.ts +1 -1
  220. package/version.js +1 -1
  221. package/api/types/Swizzling.d.ts +0 -36
  222. package/api/types/SwizzlingBinGranularity.d.ts +0 -11
  223. package/dist/api/types/QueryInstructionPartitionBy.d.ts +0 -5
  224. package/dist/api/types/QueryInstructionSelect.d.ts +0 -5
  225. package/dist/api/types/Swizzling.d.ts +0 -36
  226. package/dist/api/types/SwizzlingBinGranularity.d.ts +0 -11
  227. package/dist/serialization/types/ActivitySelector.d.ts +0 -13
  228. package/dist/serialization/types/QueryInstructionPartitionBy.d.ts +0 -12
  229. package/dist/serialization/types/QueryInstructionSelect.d.ts +0 -12
  230. package/dist/serialization/types/Reducer.d.ts +0 -13
  231. package/dist/serialization/types/SleepSelector.d.ts +0 -13
  232. package/dist/serialization/types/Swizzling.d.ts +0 -16
  233. package/dist/serialization/types/Swizzling.js +0 -37
  234. package/dist/serialization/types/SwizzlingBinGranularity.d.ts +0 -10
  235. package/serialization/types/ActivitySelector.d.ts +0 -13
  236. package/serialization/types/QueryInstructionPartitionBy.d.ts +0 -12
  237. package/serialization/types/QueryInstructionSelect.d.ts +0 -12
  238. package/serialization/types/QueryInstructionSelect.js +0 -33
  239. package/serialization/types/Reducer.d.ts +0 -13
  240. package/serialization/types/SleepSelector.d.ts +0 -13
  241. package/serialization/types/Swizzling.d.ts +0 -16
  242. package/serialization/types/Swizzling.js +0 -37
  243. package/serialization/types/SwizzlingBinGranularity.d.ts +0 -10
  244. /package/api/types/{ActivitySelector.js → ActivityColumnExpr.js} +0 -0
  245. /package/api/types/{QueryInstructionPartitionBy.js → AggregateExpr.js} +0 -0
  246. /package/api/types/{QueryInstructionSelect.js → AggregateExprArg.js} +0 -0
  247. /package/api/types/{Reducer.js → DatePartExpr.js} +0 -0
  248. /package/api/types/{SleepSelector.js → DatePartExprArg.js} +0 -0
  249. /package/api/types/{Swizzling.js → DateTruncExpr.js} +0 -0
  250. /package/{dist/api/types/ActivitySelector.js → api/types/DateTruncExprArg.js} +0 -0
  251. /package/{dist/api/types/QueryInstructionPartitionBy.js → api/types/GroupKeyColumnExpr.js} +0 -0
  252. /package/{dist/api/types/QueryInstructionSelect.js → api/types/GroupKeyColumnExprGroupKey.js} +0 -0
  253. /package/{dist/api/types/Reducer.js → api/types/IndexColumnExpr.js} +0 -0
  254. /package/{dist/api/types/SleepSelector.js → api/types/QueryInstructionGroupByItem.js} +0 -0
  255. /package/{dist/api/types/Swizzling.js → api/types/QueryInstructionSelectItem.js} +0 -0
@@ -78,7 +78,7 @@ class Activity {
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/summary/activity/${encodeURIComponent(userId)}`),
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.72", "User-Agent": "@tryvital/vital-node/3.1.72", "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.73", "User-Agent": "@tryvital/vital-node/3.1.73", "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
  requestType: "json",
@@ -154,7 +154,7 @@ class Activity {
154
154
  const _response = yield core.fetcher({
155
155
  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/${encodeURIComponent(userId)}/raw`),
156
156
  method: "GET",
157
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.72", "User-Agent": "@tryvital/vital-node/3.1.72", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
157
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
158
158
  contentType: "application/json",
159
159
  queryParameters: _queryParams,
160
160
  requestType: "json",
@@ -38,14 +38,19 @@ export declare class Aggregate {
38
38
  * }
39
39
  * },
40
40
  * instructions: [{
41
- * select: {
42
- * sleep: Vital.SleepSelectorSleep.SessionStart
43
- * },
44
- * partitionBy: {
45
- * unit: Vital.PeriodUnit.Minute
46
- * },
47
- * reduceBy: [{
48
- * function: Vital.ReducerFunction.Mean
41
+ * select: [{
42
+ * arg: {
43
+ * sleep: Vital.SleepColumnExprSleep.SessionStart
44
+ * },
45
+ * func: Vital.AggregateExprFunc.Mean
46
+ * }],
47
+ * groupBy: [{
48
+ * dateTrunc: {
49
+ * unit: Vital.PeriodUnit.Minute
50
+ * },
51
+ * arg: {
52
+ * index: Vital.IndexColumnExprIndex.Sleep
53
+ * }
49
54
  * }]
50
55
  * }]
51
56
  * })
@@ -66,14 +66,19 @@ class Aggregate {
66
66
  * }
67
67
  * },
68
68
  * instructions: [{
69
- * select: {
70
- * sleep: Vital.SleepSelectorSleep.SessionStart
71
- * },
72
- * partitionBy: {
73
- * unit: Vital.PeriodUnit.Minute
74
- * },
75
- * reduceBy: [{
76
- * function: Vital.ReducerFunction.Mean
69
+ * select: [{
70
+ * arg: {
71
+ * sleep: Vital.SleepColumnExprSleep.SessionStart
72
+ * },
73
+ * func: Vital.AggregateExprFunc.Mean
74
+ * }],
75
+ * groupBy: [{
76
+ * dateTrunc: {
77
+ * unit: Vital.PeriodUnit.Minute
78
+ * },
79
+ * arg: {
80
+ * index: Vital.IndexColumnExprIndex.Sleep
81
+ * }
77
82
  * }]
78
83
  * }]
79
84
  * })
@@ -84,7 +89,7 @@ class Aggregate {
84
89
  const _response = yield core.fetcher({
85
90
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `aggregate/v1/query_one/${encodeURIComponent(userId)}`),
86
91
  method: "POST",
87
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.72", "User-Agent": "@tryvital/vital-node/3.1.72", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, accept: "*/*" }, (yield this._getCustomAuthorizationHeaders())),
92
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, accept: "*/*" }, (yield this._getCustomAuthorizationHeaders())),
88
93
  contentType: "application/json",
89
94
  requestType: "json",
90
95
  body: serializers.Query.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -13,14 +13,19 @@ import * as Vital from "../../../../index";
13
13
  * }
14
14
  * },
15
15
  * instructions: [{
16
- * select: {
17
- * sleep: Vital.SleepSelectorSleep.SessionStart
18
- * },
19
- * partitionBy: {
20
- * unit: Vital.PeriodUnit.Minute
21
- * },
22
- * reduceBy: [{
23
- * function: Vital.ReducerFunction.Mean
16
+ * select: [{
17
+ * arg: {
18
+ * sleep: Vital.SleepColumnExprSleep.SessionStart
19
+ * },
20
+ * func: Vital.AggregateExprFunc.Mean
21
+ * }],
22
+ * groupBy: [{
23
+ * dateTrunc: {
24
+ * unit: Vital.PeriodUnit.Minute
25
+ * },
26
+ * arg: {
27
+ * index: Vital.IndexColumnExprIndex.Sleep
28
+ * }
24
29
  * }]
25
30
  * }]
26
31
  * }
@@ -78,7 +78,7 @@ class Body {
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/summary/body/${encodeURIComponent(userId)}`),
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.72", "User-Agent": "@tryvital/vital-node/3.1.72", "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.73", "User-Agent": "@tryvital/vital-node/3.1.73", "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
  requestType: "json",
@@ -154,7 +154,7 @@ class Body {
154
154
  const _response = yield core.fetcher({
155
155
  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/${encodeURIComponent(userId)}/raw`),
156
156
  method: "GET",
157
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.72", "User-Agent": "@tryvital/vital-node/3.1.72", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
157
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
158
158
  contentType: "application/json",
159
159
  queryParameters: _queryParams,
160
160
  requestType: "json",
@@ -72,7 +72,7 @@ class Devices {
72
72
  const _response = yield core.fetcher({
73
73
  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/${encodeURIComponent(userId)}/raw`),
74
74
  method: "GET",
75
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.72", "User-Agent": "@tryvital/vital-node/3.1.72", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
75
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
76
76
  contentType: "application/json",
77
77
  queryParameters: _queryParams,
78
78
  requestType: "json",
@@ -66,7 +66,7 @@ class Insurance {
66
66
  const _response = yield core.fetcher({
67
67
  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"),
68
68
  method: "POST",
69
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.72", "User-Agent": "@tryvital/vital-node/3.1.72", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
69
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
70
70
  contentType: "application/json",
71
71
  requestType: "json",
72
72
  body: serializers.PayorSearchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -133,7 +133,7 @@ class Insurance {
133
133
  const _response = yield core.fetcher({
134
134
  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"),
135
135
  method: "GET",
136
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.72", "User-Agent": "@tryvital/vital-node/3.1.72", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
136
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
137
137
  contentType: "application/json",
138
138
  queryParameters: _queryParams,
139
139
  requestType: "json",
@@ -81,7 +81,7 @@ class Introspect {
81
81
  const _response = yield core.fetcher({
82
82
  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"),
83
83
  method: "GET",
84
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.72", "User-Agent": "@tryvital/vital-node/3.1.72", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
84
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
85
85
  contentType: "application/json",
86
86
  queryParameters: _queryParams,
87
87
  requestType: "json",
@@ -160,7 +160,7 @@ class Introspect {
160
160
  const _response = yield core.fetcher({
161
161
  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"),
162
162
  method: "GET",
163
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.72", "User-Agent": "@tryvital/vital-node/3.1.72", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
163
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
164
164
  contentType: "application/json",
165
165
  queryParameters: _queryParams,
166
166
  requestType: "json",
@@ -63,7 +63,7 @@ class LabTests {
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/lab_tests"),
65
65
  method: "GET",
66
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.72", "User-Agent": "@tryvital/vital-node/3.1.72", "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.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
67
67
  contentType: "application/json",
68
68
  requestType: "json",
69
69
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -118,7 +118,7 @@ class LabTests {
118
118
  const _response = yield core.fetcher({
119
119
  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"),
120
120
  method: "POST",
121
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.72", "User-Agent": "@tryvital/vital-node/3.1.72", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
121
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
122
122
  contentType: "application/json",
123
123
  requestType: "json",
124
124
  body: serializers.CreateLabTestRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -204,7 +204,7 @@ class LabTests {
204
204
  const _response = yield core.fetcher({
205
205
  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"),
206
206
  method: "GET",
207
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.72", "User-Agent": "@tryvital/vital-node/3.1.72", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
207
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
208
208
  contentType: "application/json",
209
209
  queryParameters: _queryParams,
210
210
  requestType: "json",
@@ -275,7 +275,7 @@ class LabTests {
275
275
  const _response = yield core.fetcher({
276
276
  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/${encodeURIComponent(labTestId)}/markers`),
277
277
  method: "GET",
278
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.72", "User-Agent": "@tryvital/vital-node/3.1.72", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
278
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
279
279
  contentType: "application/json",
280
280
  queryParameters: _queryParams,
281
281
  requestType: "json",
@@ -340,7 +340,7 @@ class LabTests {
340
340
  const _response = yield core.fetcher({
341
341
  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/${encodeURIComponent(labId)}/markers/${encodeURIComponent(providerId)}`),
342
342
  method: "GET",
343
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.72", "User-Agent": "@tryvital/vital-node/3.1.72", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
343
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
344
344
  contentType: "application/json",
345
345
  requestType: "json",
346
346
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -400,7 +400,7 @@ class LabTests {
400
400
  const _response = yield core.fetcher({
401
401
  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"),
402
402
  method: "GET",
403
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.72", "User-Agent": "@tryvital/vital-node/3.1.72", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
403
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
404
404
  contentType: "application/json",
405
405
  requestType: "json",
406
406
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -453,7 +453,7 @@ class LabTests {
453
453
  const _response = yield core.fetcher({
454
454
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/lab_tests/${encodeURIComponent(labTestId)}`),
455
455
  method: "GET",
456
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.72", "User-Agent": "@tryvital/vital-node/3.1.72", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
456
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
457
457
  contentType: "application/json",
458
458
  requestType: "json",
459
459
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -522,7 +522,7 @@ class LabTests {
522
522
  const _response = yield core.fetcher({
523
523
  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"),
524
524
  method: "POST",
525
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.72", "User-Agent": "@tryvital/vital-node/3.1.72", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
525
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
526
526
  contentType: "application/json",
527
527
  requestType: "json",
528
528
  body: serializers.UsAddress.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -589,7 +589,7 @@ class LabTests {
589
589
  const _response = yield core.fetcher({
590
590
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${encodeURIComponent(orderId)}/phlebotomy/appointment/book`),
591
591
  method: "POST",
592
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.72", "User-Agent": "@tryvital/vital-node/3.1.72", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
592
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
593
593
  contentType: "application/json",
594
594
  requestType: "json",
595
595
  body: serializers.AppointmentBookingRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -662,7 +662,7 @@ class LabTests {
662
662
  const _response = yield core.fetcher({
663
663
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${encodeURIComponent(orderId)}/phlebotomy/appointment/request`),
664
664
  method: "POST",
665
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.72", "User-Agent": "@tryvital/vital-node/3.1.72", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
665
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
666
666
  contentType: "application/json",
667
667
  requestType: "json",
668
668
  body: serializers.RequestAppointmentRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -729,7 +729,7 @@ class LabTests {
729
729
  const _response = yield core.fetcher({
730
730
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${encodeURIComponent(orderId)}/phlebotomy/appointment/reschedule`),
731
731
  method: "PATCH",
732
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.72", "User-Agent": "@tryvital/vital-node/3.1.72", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
732
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
733
733
  contentType: "application/json",
734
734
  requestType: "json",
735
735
  body: serializers.AppointmentRescheduleRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -796,7 +796,7 @@ class LabTests {
796
796
  const _response = yield core.fetcher({
797
797
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${encodeURIComponent(orderId)}/phlebotomy/appointment/cancel`),
798
798
  method: "PATCH",
799
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.72", "User-Agent": "@tryvital/vital-node/3.1.72", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
799
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
800
800
  contentType: "application/json",
801
801
  requestType: "json",
802
802
  body: serializers.AppointmentCancelRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -857,7 +857,7 @@ class LabTests {
857
857
  const _response = yield core.fetcher({
858
858
  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"),
859
859
  method: "GET",
860
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.72", "User-Agent": "@tryvital/vital-node/3.1.72", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
860
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
861
861
  contentType: "application/json",
862
862
  requestType: "json",
863
863
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -910,7 +910,7 @@ class LabTests {
910
910
  const _response = yield core.fetcher({
911
911
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${encodeURIComponent(orderId)}/phlebotomy/appointment`),
912
912
  method: "GET",
913
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.72", "User-Agent": "@tryvital/vital-node/3.1.72", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
913
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
914
914
  contentType: "application/json",
915
915
  requestType: "json",
916
916
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -989,7 +989,7 @@ class LabTests {
989
989
  const _response = yield core.fetcher({
990
990
  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"),
991
991
  method: "GET",
992
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.72", "User-Agent": "@tryvital/vital-node/3.1.72", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
992
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
993
993
  contentType: "application/json",
994
994
  queryParameters: _queryParams,
995
995
  requestType: "json",
@@ -1061,7 +1061,7 @@ class LabTests {
1061
1061
  const _response = yield core.fetcher({
1062
1062
  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"),
1063
1063
  method: "GET",
1064
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.72", "User-Agent": "@tryvital/vital-node/3.1.72", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1064
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1065
1065
  contentType: "application/json",
1066
1066
  queryParameters: _queryParams,
1067
1067
  requestType: "json",
@@ -1129,7 +1129,7 @@ class LabTests {
1129
1129
  const _response = yield core.fetcher({
1130
1130
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${encodeURIComponent(orderId)}/psc/info`),
1131
1131
  method: "GET",
1132
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.72", "User-Agent": "@tryvital/vital-node/3.1.72", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1132
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1133
1133
  contentType: "application/json",
1134
1134
  queryParameters: _queryParams,
1135
1135
  requestType: "json",
@@ -1186,7 +1186,7 @@ class LabTests {
1186
1186
  const _response = yield core.fetcher({
1187
1187
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${encodeURIComponent(orderId)}/result/pdf`),
1188
1188
  method: "GET",
1189
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.72", "User-Agent": "@tryvital/vital-node/3.1.72", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1189
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1190
1190
  contentType: "application/json",
1191
1191
  requestType: "json",
1192
1192
  responseType: "streaming",
@@ -1246,7 +1246,7 @@ class LabTests {
1246
1246
  const _response = yield core.fetcher({
1247
1247
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${encodeURIComponent(orderId)}/result/metadata`),
1248
1248
  method: "GET",
1249
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.72", "User-Agent": "@tryvital/vital-node/3.1.72", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1249
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1250
1250
  contentType: "application/json",
1251
1251
  requestType: "json",
1252
1252
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -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/${encodeURIComponent(orderId)}/result`),
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.72", "User-Agent": "@tryvital/vital-node/3.1.72", "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.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1313
1313
  contentType: "application/json",
1314
1314
  requestType: "json",
1315
1315
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1371,7 +1371,7 @@ class LabTests {
1371
1371
  const _response = yield core.fetcher({
1372
1372
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${encodeURIComponent(orderId)}/labels/pdf`),
1373
1373
  method: "GET",
1374
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.72", "User-Agent": "@tryvital/vital-node/3.1.72", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1374
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1375
1375
  contentType: "application/json",
1376
1376
  queryParameters: _queryParams,
1377
1377
  requestType: "json",
@@ -1424,7 +1424,7 @@ class LabTests {
1424
1424
  const _response = yield core.fetcher({
1425
1425
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${encodeURIComponent(orderId)}/requisition/pdf`),
1426
1426
  method: "GET",
1427
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.72", "User-Agent": "@tryvital/vital-node/3.1.72", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1427
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1428
1428
  contentType: "application/json",
1429
1429
  requestType: "json",
1430
1430
  responseType: "streaming",
@@ -1483,7 +1483,7 @@ class LabTests {
1483
1483
  const _response = yield core.fetcher({
1484
1484
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${encodeURIComponent(orderId)}`),
1485
1485
  method: "GET",
1486
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.72", "User-Agent": "@tryvital/vital-node/3.1.72", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1486
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1487
1487
  contentType: "application/json",
1488
1488
  requestType: "json",
1489
1489
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1563,7 +1563,7 @@ class LabTests {
1563
1563
  const _response = yield core.fetcher({
1564
1564
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/order"),
1565
1565
  method: "POST",
1566
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.72", "User-Agent": "@tryvital/vital-node/3.1.72", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1566
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1567
1567
  contentType: "application/json",
1568
1568
  requestType: "json",
1569
1569
  body: serializers.CreateOrderRequestCompatible.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -1627,7 +1627,7 @@ class LabTests {
1627
1627
  const _response = yield core.fetcher({
1628
1628
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${encodeURIComponent(orderId)}/cancel`),
1629
1629
  method: "POST",
1630
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.72", "User-Agent": "@tryvital/vital-node/3.1.72", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1630
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1631
1631
  contentType: "application/json",
1632
1632
  requestType: "json",
1633
1633
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1699,7 +1699,7 @@ class LabTests {
1699
1699
  const _response = yield core.fetcher({
1700
1700
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/order/${encodeURIComponent(orderId)}/test`),
1701
1701
  method: "POST",
1702
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.72", "User-Agent": "@tryvital/vital-node/3.1.72", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1702
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1703
1703
  contentType: "application/json",
1704
1704
  queryParameters: _queryParams,
1705
1705
  requestType: "json",
@@ -1804,7 +1804,7 @@ class LabTests {
1804
1804
  const _response = yield core.fetcher({
1805
1805
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/orders"),
1806
1806
  method: "GET",
1807
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.72", "User-Agent": "@tryvital/vital-node/3.1.72", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1807
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.73", "User-Agent": "@tryvital/vital-node/3.1.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1808
1808
  contentType: "application/json",
1809
1809
  queryParameters: _queryParams,
1810
1810
  requestType: "json",