@tryvital/vital-node 3.1.381 → 3.1.382

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 (122) hide show
  1. package/Client.d.ts +18 -18
  2. package/Client.js +54 -54
  3. package/api/resources/activity/client/Client.js +2 -2
  4. package/api/resources/aggregate/client/Client.d.ts +1 -1
  5. package/api/resources/aggregate/client/Client.js +4 -4
  6. package/api/resources/aggregate/client/requests/QueryBatch.d.ts +1 -1
  7. package/api/resources/body/client/Client.js +2 -2
  8. package/api/resources/devices/client/Client.js +1 -1
  9. package/api/resources/electrocardiogram/client/Client.js +1 -1
  10. package/api/resources/index.d.ts +13 -13
  11. package/api/resources/index.js +14 -14
  12. package/api/resources/insurance/client/Client.js +3 -3
  13. package/api/resources/introspect/client/Client.js +2 -2
  14. package/api/resources/labTests/client/Client.d.ts +0 -1
  15. package/api/resources/labTests/client/Client.js +41 -42
  16. package/api/resources/link/client/Client.js +19 -19
  17. package/api/resources/meal/client/Client.js +1 -1
  18. package/api/resources/menstrualCycle/client/Client.js +1 -1
  19. package/api/resources/order/client/Client.js +1 -1
  20. package/api/resources/payor/client/Client.js +1 -1
  21. package/api/resources/profile/client/Client.js +2 -2
  22. package/api/resources/providers/client/Client.js +1 -1
  23. package/api/resources/sleep/client/Client.d.ts +12 -12
  24. package/api/resources/sleep/client/Client.js +34 -34
  25. package/api/resources/sleepCycle/client/Client.js +1 -1
  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 +18 -18
  29. package/api/resources/vitals/client/Client.js +78 -78
  30. package/api/resources/workouts/client/Client.d.ts +10 -10
  31. package/api/resources/workouts/client/Client.js +34 -34
  32. package/api/types/AggregateExprArg.d.ts +1 -1
  33. package/api/types/AsleepAtValueMacroExpr.d.ts +7 -0
  34. package/api/types/AsleepAtValueMacroExpr.js +5 -0
  35. package/api/types/AwakeAtValueMacroExpr.d.ts +7 -0
  36. package/api/types/AwakeAtValueMacroExpr.js +5 -0
  37. package/api/types/QueryGroupByItem.d.ts +1 -1
  38. package/api/types/QuerySelectItem.d.ts +1 -1
  39. package/api/types/SleepColumnExprSleep.d.ts +2 -1
  40. package/api/types/SleepColumnExprSleep.js +1 -0
  41. package/api/types/index.d.ts +2 -0
  42. package/api/types/index.js +2 -0
  43. package/dist/Client.d.ts +18 -18
  44. package/dist/Client.js +54 -54
  45. package/dist/api/resources/activity/client/Client.js +2 -2
  46. package/dist/api/resources/aggregate/client/Client.d.ts +1 -1
  47. package/dist/api/resources/aggregate/client/Client.js +4 -4
  48. package/dist/api/resources/aggregate/client/requests/QueryBatch.d.ts +1 -1
  49. package/dist/api/resources/body/client/Client.js +2 -2
  50. package/dist/api/resources/devices/client/Client.js +1 -1
  51. package/dist/api/resources/electrocardiogram/client/Client.js +1 -1
  52. package/dist/api/resources/index.d.ts +13 -13
  53. package/dist/api/resources/index.js +14 -14
  54. package/dist/api/resources/insurance/client/Client.js +3 -3
  55. package/dist/api/resources/introspect/client/Client.js +2 -2
  56. package/dist/api/resources/labTests/client/Client.d.ts +0 -1
  57. package/dist/api/resources/labTests/client/Client.js +41 -42
  58. package/dist/api/resources/link/client/Client.js +19 -19
  59. package/dist/api/resources/meal/client/Client.js +1 -1
  60. package/dist/api/resources/menstrualCycle/client/Client.js +1 -1
  61. package/dist/api/resources/order/client/Client.js +1 -1
  62. package/dist/api/resources/payor/client/Client.js +1 -1
  63. package/dist/api/resources/profile/client/Client.js +2 -2
  64. package/dist/api/resources/providers/client/Client.js +1 -1
  65. package/dist/api/resources/sleep/client/Client.d.ts +12 -12
  66. package/dist/api/resources/sleep/client/Client.js +34 -34
  67. package/dist/api/resources/sleepCycle/client/Client.js +1 -1
  68. package/dist/api/resources/team/client/Client.js +7 -7
  69. package/dist/api/resources/testkit/client/Client.js +2 -2
  70. package/dist/api/resources/user/client/Client.js +18 -18
  71. package/dist/api/resources/vitals/client/Client.js +78 -78
  72. package/dist/api/resources/workouts/client/Client.d.ts +10 -10
  73. package/dist/api/resources/workouts/client/Client.js +34 -34
  74. package/dist/api/types/AggregateExprArg.d.ts +1 -1
  75. package/dist/api/types/AsleepAtValueMacroExpr.d.ts +7 -0
  76. package/dist/api/types/AsleepAtValueMacroExpr.js +5 -0
  77. package/dist/api/types/AwakeAtValueMacroExpr.d.ts +7 -0
  78. package/dist/api/types/AwakeAtValueMacroExpr.js +5 -0
  79. package/dist/api/types/QueryGroupByItem.d.ts +1 -1
  80. package/dist/api/types/QuerySelectItem.d.ts +1 -1
  81. package/dist/api/types/SleepColumnExprSleep.d.ts +2 -1
  82. package/dist/api/types/SleepColumnExprSleep.js +1 -0
  83. package/dist/api/types/index.d.ts +2 -0
  84. package/dist/api/types/index.js +2 -0
  85. package/dist/serialization/resources/index.d.ts +5 -5
  86. package/dist/serialization/resources/index.js +6 -6
  87. package/dist/serialization/types/AggregateExprArg.d.ts +3 -1
  88. package/dist/serialization/types/AggregateExprArg.js +4 -0
  89. package/dist/serialization/types/AsleepAtValueMacroExpr.d.ts +13 -0
  90. package/dist/serialization/types/AsleepAtValueMacroExpr.js +34 -0
  91. package/dist/serialization/types/AwakeAtValueMacroExpr.d.ts +13 -0
  92. package/dist/serialization/types/AwakeAtValueMacroExpr.js +34 -0
  93. package/dist/serialization/types/QueryGroupByItem.d.ts +3 -1
  94. package/dist/serialization/types/QueryGroupByItem.js +4 -0
  95. package/dist/serialization/types/QuerySelectItem.d.ts +3 -1
  96. package/dist/serialization/types/QuerySelectItem.js +4 -0
  97. package/dist/serialization/types/SleepColumnExprSleep.d.ts +1 -1
  98. package/dist/serialization/types/SleepColumnExprSleep.js +1 -0
  99. package/dist/serialization/types/index.d.ts +2 -0
  100. package/dist/serialization/types/index.js +2 -0
  101. package/dist/version.d.ts +1 -1
  102. package/dist/version.js +1 -1
  103. package/package.json +1 -1
  104. package/reference.md +1947 -1947
  105. package/serialization/resources/index.d.ts +5 -5
  106. package/serialization/resources/index.js +6 -6
  107. package/serialization/types/AggregateExprArg.d.ts +3 -1
  108. package/serialization/types/AggregateExprArg.js +4 -0
  109. package/serialization/types/AsleepAtValueMacroExpr.d.ts +13 -0
  110. package/serialization/types/AsleepAtValueMacroExpr.js +34 -0
  111. package/serialization/types/AwakeAtValueMacroExpr.d.ts +13 -0
  112. package/serialization/types/AwakeAtValueMacroExpr.js +34 -0
  113. package/serialization/types/QueryGroupByItem.d.ts +3 -1
  114. package/serialization/types/QueryGroupByItem.js +4 -0
  115. package/serialization/types/QuerySelectItem.d.ts +3 -1
  116. package/serialization/types/QuerySelectItem.js +4 -0
  117. package/serialization/types/SleepColumnExprSleep.d.ts +1 -1
  118. package/serialization/types/SleepColumnExprSleep.js +1 -0
  119. package/serialization/types/index.d.ts +2 -0
  120. package/serialization/types/index.js +2 -0
  121. package/version.d.ts +1 -1
  122. package/version.js +1 -1
@@ -79,7 +79,7 @@ class LabTests {
79
79
  const _response = yield core.fetcher({
80
80
  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"),
81
81
  method: "POST",
82
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.381", "User-Agent": "@tryvital/vital-node/3.1.381", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
82
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.382", "User-Agent": "@tryvital/vital-node/3.1.382", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
83
83
  contentType: "application/json",
84
84
  queryParameters: _queryParams,
85
85
  requestType: "json",
@@ -147,7 +147,7 @@ class LabTests {
147
147
  const _response = yield core.fetcher({
148
148
  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`),
149
149
  method: "POST",
150
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.381", "User-Agent": "@tryvital/vital-node/3.1.381", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
150
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.382", "User-Agent": "@tryvital/vital-node/3.1.382", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
151
151
  contentType: "application/json",
152
152
  requestType: "json",
153
153
  body: serializers.AppointmentBookingRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -220,7 +220,7 @@ class LabTests {
220
220
  const _response = yield core.fetcher({
221
221
  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`),
222
222
  method: "POST",
223
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.381", "User-Agent": "@tryvital/vital-node/3.1.381", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
223
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.382", "User-Agent": "@tryvital/vital-node/3.1.382", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
224
224
  contentType: "application/json",
225
225
  requestType: "json",
226
226
  body: serializers.RequestAppointmentRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -287,7 +287,7 @@ class LabTests {
287
287
  const _response = yield core.fetcher({
288
288
  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`),
289
289
  method: "PATCH",
290
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.381", "User-Agent": "@tryvital/vital-node/3.1.381", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
290
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.382", "User-Agent": "@tryvital/vital-node/3.1.382", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
291
291
  contentType: "application/json",
292
292
  requestType: "json",
293
293
  body: serializers.AppointmentRescheduleRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -354,7 +354,7 @@ class LabTests {
354
354
  const _response = yield core.fetcher({
355
355
  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`),
356
356
  method: "PATCH",
357
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.381", "User-Agent": "@tryvital/vital-node/3.1.381", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
357
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.382", "User-Agent": "@tryvital/vital-node/3.1.382", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
358
358
  contentType: "application/json",
359
359
  requestType: "json",
360
360
  body: serializers.ApiApiV1EndpointsVitalApiLabTestingOrdersHelpersAppointmentCancelRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -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/order/phlebotomy/appointment/cancellation-reasons"),
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.381", "User-Agent": "@tryvital/vital-node/3.1.381", "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.382", "User-Agent": "@tryvital/vital-node/3.1.382", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
419
419
  contentType: "application/json",
420
420
  requestType: "json",
421
421
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -468,7 +468,7 @@ class LabTests {
468
468
  const _response = yield core.fetcher({
469
469
  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`),
470
470
  method: "GET",
471
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.381", "User-Agent": "@tryvital/vital-node/3.1.381", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
471
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.382", "User-Agent": "@tryvital/vital-node/3.1.382", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
472
472
  contentType: "application/json",
473
473
  requestType: "json",
474
474
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -554,7 +554,7 @@ class LabTests {
554
554
  const _response = yield core.fetcher({
555
555
  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"),
556
556
  method: "GET",
557
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.381", "User-Agent": "@tryvital/vital-node/3.1.381", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
557
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.382", "User-Agent": "@tryvital/vital-node/3.1.382", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
558
558
  contentType: "application/json",
559
559
  queryParameters: _queryParams,
560
560
  requestType: "json",
@@ -634,7 +634,7 @@ class LabTests {
634
634
  const _response = yield core.fetcher({
635
635
  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"),
636
636
  method: "GET",
637
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.381", "User-Agent": "@tryvital/vital-node/3.1.381", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
637
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.382", "User-Agent": "@tryvital/vital-node/3.1.382", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
638
638
  contentType: "application/json",
639
639
  queryParameters: _queryParams,
640
640
  requestType: "json",
@@ -710,7 +710,7 @@ class LabTests {
710
710
  const _response = yield core.fetcher({
711
711
  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`),
712
712
  method: "GET",
713
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.381", "User-Agent": "@tryvital/vital-node/3.1.381", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
713
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.382", "User-Agent": "@tryvital/vital-node/3.1.382", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
714
714
  contentType: "application/json",
715
715
  queryParameters: _queryParams,
716
716
  requestType: "json",
@@ -767,7 +767,7 @@ class LabTests {
767
767
  const _response = yield core.fetcher({
768
768
  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`),
769
769
  method: "GET",
770
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.381", "User-Agent": "@tryvital/vital-node/3.1.381", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
770
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.382", "User-Agent": "@tryvital/vital-node/3.1.382", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
771
771
  contentType: "application/json",
772
772
  requestType: "json",
773
773
  responseType: "streaming",
@@ -827,7 +827,7 @@ class LabTests {
827
827
  const _response = yield core.fetcher({
828
828
  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`),
829
829
  method: "GET",
830
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.381", "User-Agent": "@tryvital/vital-node/3.1.381", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
830
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.382", "User-Agent": "@tryvital/vital-node/3.1.382", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
831
831
  contentType: "application/json",
832
832
  requestType: "json",
833
833
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -890,7 +890,7 @@ class LabTests {
890
890
  const _response = yield core.fetcher({
891
891
  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`),
892
892
  method: "GET",
893
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.381", "User-Agent": "@tryvital/vital-node/3.1.381", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
893
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.382", "User-Agent": "@tryvital/vital-node/3.1.382", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
894
894
  contentType: "application/json",
895
895
  requestType: "json",
896
896
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -952,7 +952,7 @@ class LabTests {
952
952
  const _response = yield core.fetcher({
953
953
  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`),
954
954
  method: "GET",
955
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.381", "User-Agent": "@tryvital/vital-node/3.1.381", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
955
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.382", "User-Agent": "@tryvital/vital-node/3.1.382", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
956
956
  contentType: "application/json",
957
957
  queryParameters: _queryParams,
958
958
  requestType: "json",
@@ -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/psc/appointment/availability"),
1034
1034
  method: "POST",
1035
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.381", "User-Agent": "@tryvital/vital-node/3.1.381", "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.382", "User-Agent": "@tryvital/vital-node/3.1.382", "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
  requestType: "json",
@@ -1097,7 +1097,7 @@ class LabTests {
1097
1097
  const _response = yield core.fetcher({
1098
1098
  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/appointment/book`),
1099
1099
  method: "POST",
1100
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.381", "User-Agent": "@tryvital/vital-node/3.1.381", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1100
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.382", "User-Agent": "@tryvital/vital-node/3.1.382", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1101
1101
  contentType: "application/json",
1102
1102
  requestType: "json",
1103
1103
  body: serializers.AppointmentBookingRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -1162,7 +1162,7 @@ class LabTests {
1162
1162
  const _response = yield core.fetcher({
1163
1163
  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/appointment/reschedule`),
1164
1164
  method: "PATCH",
1165
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.381", "User-Agent": "@tryvital/vital-node/3.1.381", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1165
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.382", "User-Agent": "@tryvital/vital-node/3.1.382", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1166
1166
  contentType: "application/json",
1167
1167
  requestType: "json",
1168
1168
  body: serializers.AppointmentRescheduleRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -1227,7 +1227,7 @@ class LabTests {
1227
1227
  const _response = yield core.fetcher({
1228
1228
  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/appointment/cancel`),
1229
1229
  method: "PATCH",
1230
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.381", "User-Agent": "@tryvital/vital-node/3.1.381", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1230
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.382", "User-Agent": "@tryvital/vital-node/3.1.382", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1231
1231
  contentType: "application/json",
1232
1232
  requestType: "json",
1233
1233
  body: serializers.VitalCoreClientsLabTestGetlabsSchemaAppointmentCancelRequest.jsonOrThrow(request, {
@@ -1288,7 +1288,7 @@ class LabTests {
1288
1288
  const _response = yield core.fetcher({
1289
1289
  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/appointment/cancellation-reasons"),
1290
1290
  method: "GET",
1291
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.381", "User-Agent": "@tryvital/vital-node/3.1.381", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1291
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.382", "User-Agent": "@tryvital/vital-node/3.1.382", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1292
1292
  contentType: "application/json",
1293
1293
  requestType: "json",
1294
1294
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1341,7 +1341,7 @@ class LabTests {
1341
1341
  const _response = yield core.fetcher({
1342
1342
  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/appointment`),
1343
1343
  method: "GET",
1344
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.381", "User-Agent": "@tryvital/vital-node/3.1.381", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1344
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.382", "User-Agent": "@tryvital/vital-node/3.1.382", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1345
1345
  contentType: "application/json",
1346
1346
  requestType: "json",
1347
1347
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1397,7 +1397,7 @@ class LabTests {
1397
1397
  const _response = yield core.fetcher({
1398
1398
  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)}/collection_instruction_pdf`),
1399
1399
  method: "GET",
1400
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.381", "User-Agent": "@tryvital/vital-node/3.1.381", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1400
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.382", "User-Agent": "@tryvital/vital-node/3.1.382", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1401
1401
  contentType: "application/json",
1402
1402
  requestType: "json",
1403
1403
  responseType: "streaming",
@@ -1449,7 +1449,7 @@ class LabTests {
1449
1449
  const _response = yield core.fetcher({
1450
1450
  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`),
1451
1451
  method: "GET",
1452
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.381", "User-Agent": "@tryvital/vital-node/3.1.381", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1452
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.382", "User-Agent": "@tryvital/vital-node/3.1.382", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1453
1453
  contentType: "application/json",
1454
1454
  requestType: "json",
1455
1455
  responseType: "streaming",
@@ -1501,7 +1501,7 @@ class LabTests {
1501
1501
  const _response = yield core.fetcher({
1502
1502
  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)}/abn_pdf`),
1503
1503
  method: "GET",
1504
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.381", "User-Agent": "@tryvital/vital-node/3.1.381", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1504
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.382", "User-Agent": "@tryvital/vital-node/3.1.382", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1505
1505
  contentType: "application/json",
1506
1506
  requestType: "json",
1507
1507
  responseType: "streaming",
@@ -1560,7 +1560,7 @@ class LabTests {
1560
1560
  const _response = yield core.fetcher({
1561
1561
  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)}`),
1562
1562
  method: "GET",
1563
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.381", "User-Agent": "@tryvital/vital-node/3.1.381", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1563
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.382", "User-Agent": "@tryvital/vital-node/3.1.382", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1564
1564
  contentType: "application/json",
1565
1565
  requestType: "json",
1566
1566
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1638,7 +1638,7 @@ class LabTests {
1638
1638
  const _response = yield core.fetcher({
1639
1639
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/order"),
1640
1640
  method: "POST",
1641
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.381", "User-Agent": "@tryvital/vital-node/3.1.381", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1641
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.382", "User-Agent": "@tryvital/vital-node/3.1.382", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1642
1642
  contentType: "application/json",
1643
1643
  requestType: "json",
1644
1644
  body: serializers.CreateOrderRequestCompatible.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -1722,7 +1722,7 @@ class LabTests {
1722
1722
  const _response = yield core.fetcher({
1723
1723
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/order/import"),
1724
1724
  method: "POST",
1725
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.381", "User-Agent": "@tryvital/vital-node/3.1.381", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1725
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.382", "User-Agent": "@tryvital/vital-node/3.1.382", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1726
1726
  contentType: "application/json",
1727
1727
  requestType: "json",
1728
1728
  body: serializers.ImportOrderBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -1786,7 +1786,7 @@ class LabTests {
1786
1786
  const _response = yield core.fetcher({
1787
1787
  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`),
1788
1788
  method: "POST",
1789
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.381", "User-Agent": "@tryvital/vital-node/3.1.381", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1789
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.382", "User-Agent": "@tryvital/vital-node/3.1.382", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1790
1790
  contentType: "application/json",
1791
1791
  requestType: "json",
1792
1792
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1860,7 +1860,7 @@ class LabTests {
1860
1860
  const _response = yield core.fetcher({
1861
1861
  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`),
1862
1862
  method: "POST",
1863
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.381", "User-Agent": "@tryvital/vital-node/3.1.381", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1863
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.382", "User-Agent": "@tryvital/vital-node/3.1.382", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1864
1864
  contentType: "application/json",
1865
1865
  queryParameters: _queryParams,
1866
1866
  requestType: "json",
@@ -1924,7 +1924,7 @@ class LabTests {
1924
1924
  const _response = yield core.fetcher({
1925
1925
  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)}/draw_completed`),
1926
1926
  method: "PATCH",
1927
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.381", "User-Agent": "@tryvital/vital-node/3.1.381", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1927
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.382", "User-Agent": "@tryvital/vital-node/3.1.382", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1928
1928
  contentType: "application/json",
1929
1929
  requestType: "json",
1930
1930
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -2063,7 +2063,7 @@ class LabTests {
2063
2063
  const _response = yield core.fetcher({
2064
2064
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/orders"),
2065
2065
  method: "GET",
2066
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.381", "User-Agent": "@tryvital/vital-node/3.1.381", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2066
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.382", "User-Agent": "@tryvital/vital-node/3.1.382", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2067
2067
  contentType: "application/json",
2068
2068
  queryParameters: _queryParams,
2069
2069
  requestType: "json",
@@ -2166,7 +2166,7 @@ class LabTests {
2166
2166
  const _response = yield core.fetcher({
2167
2167
  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"),
2168
2168
  method: "GET",
2169
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.381", "User-Agent": "@tryvital/vital-node/3.1.381", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2169
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.382", "User-Agent": "@tryvital/vital-node/3.1.382", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2170
2170
  contentType: "application/json",
2171
2171
  queryParameters: _queryParams,
2172
2172
  requestType: "json",
@@ -2232,7 +2232,7 @@ class LabTests {
2232
2232
  const _response = yield core.fetcher({
2233
2233
  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"),
2234
2234
  method: "POST",
2235
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.381", "User-Agent": "@tryvital/vital-node/3.1.381", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2235
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.382", "User-Agent": "@tryvital/vital-node/3.1.382", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2236
2236
  contentType: "application/json",
2237
2237
  requestType: "json",
2238
2238
  body: serializers.CreateLabTestRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -2296,7 +2296,7 @@ class LabTests {
2296
2296
  const _response = yield core.fetcher({
2297
2297
  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)}`),
2298
2298
  method: "GET",
2299
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.381", "User-Agent": "@tryvital/vital-node/3.1.381", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2299
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.382", "User-Agent": "@tryvital/vital-node/3.1.382", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2300
2300
  contentType: "application/json",
2301
2301
  requestType: "json",
2302
2302
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -2358,7 +2358,7 @@ class LabTests {
2358
2358
  const _response = yield core.fetcher({
2359
2359
  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)}`),
2360
2360
  method: "PATCH",
2361
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.381", "User-Agent": "@tryvital/vital-node/3.1.381", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2361
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.382", "User-Agent": "@tryvital/vital-node/3.1.382", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2362
2362
  contentType: "application/json",
2363
2363
  requestType: "json",
2364
2364
  body: serializers.UpdateLabTestRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -2444,7 +2444,7 @@ class LabTests {
2444
2444
  const _response = yield core.fetcher({
2445
2445
  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"),
2446
2446
  method: "GET",
2447
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.381", "User-Agent": "@tryvital/vital-node/3.1.381", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2447
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.382", "User-Agent": "@tryvital/vital-node/3.1.382", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2448
2448
  contentType: "application/json",
2449
2449
  queryParameters: _queryParams,
2450
2450
  requestType: "json",
@@ -2516,7 +2516,7 @@ class LabTests {
2516
2516
  const _response = yield core.fetcher({
2517
2517
  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/list_order_set_markers"),
2518
2518
  method: "POST",
2519
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.381", "User-Agent": "@tryvital/vital-node/3.1.381", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2519
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.382", "User-Agent": "@tryvital/vital-node/3.1.382", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2520
2520
  contentType: "application/json",
2521
2521
  queryParameters: _queryParams,
2522
2522
  requestType: "json",
@@ -2588,7 +2588,7 @@ class LabTests {
2588
2588
  const _response = yield core.fetcher({
2589
2589
  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`),
2590
2590
  method: "GET",
2591
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.381", "User-Agent": "@tryvital/vital-node/3.1.381", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2591
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.382", "User-Agent": "@tryvital/vital-node/3.1.382", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2592
2592
  contentType: "application/json",
2593
2593
  queryParameters: _queryParams,
2594
2594
  requestType: "json",
@@ -2653,7 +2653,7 @@ class LabTests {
2653
2653
  const _response = yield core.fetcher({
2654
2654
  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)}`),
2655
2655
  method: "GET",
2656
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.381", "User-Agent": "@tryvital/vital-node/3.1.381", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2656
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.382", "User-Agent": "@tryvital/vital-node/3.1.382", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2657
2657
  contentType: "application/json",
2658
2658
  requestType: "json",
2659
2659
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -2713,7 +2713,7 @@ class LabTests {
2713
2713
  const _response = yield core.fetcher({
2714
2714
  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"),
2715
2715
  method: "GET",
2716
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.381", "User-Agent": "@tryvital/vital-node/3.1.381", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2716
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.382", "User-Agent": "@tryvital/vital-node/3.1.382", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2717
2717
  contentType: "application/json",
2718
2718
  requestType: "json",
2719
2719
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -2811,7 +2811,7 @@ class LabTests {
2811
2811
  const _response = yield core.fetcher({
2812
2812
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/lab_test"),
2813
2813
  method: "GET",
2814
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.381", "User-Agent": "@tryvital/vital-node/3.1.381", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2814
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.382", "User-Agent": "@tryvital/vital-node/3.1.382", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2815
2815
  contentType: "application/json",
2816
2816
  queryParameters: _queryParams,
2817
2817
  requestType: "json",
@@ -2859,7 +2859,6 @@ class LabTests {
2859
2859
  });
2860
2860
  }
2861
2861
  /**
2862
- * GET collection instructions for a lab test
2863
2862
  * @throws {@link Vital.UnprocessableEntityError}
2864
2863
  */
2865
2864
  getLabTestCollectionInstructionPdf(labTestId, requestOptions) {
@@ -2868,7 +2867,7 @@ class LabTests {
2868
2867
  const _response = yield core.fetcher({
2869
2868
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/lab_test/${encodeURIComponent(labTestId)}/collection_instruction_pdf`),
2870
2869
  method: "GET",
2871
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.381", "User-Agent": "@tryvital/vital-node/3.1.381", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2870
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.382", "User-Agent": "@tryvital/vital-node/3.1.382", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2872
2871
  contentType: "application/json",
2873
2872
  requestType: "json",
2874
2873
  responseType: "streaming",