@tryvital/vital-node 3.1.505 → 3.1.507

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 (62) hide show
  1. package/api/resources/activity/client/Client.js +2 -2
  2. package/api/resources/aggregate/client/Client.js +3 -3
  3. package/api/resources/body/client/Client.js +2 -2
  4. package/api/resources/devices/client/Client.js +1 -1
  5. package/api/resources/electrocardiogram/client/Client.js +1 -1
  6. package/api/resources/insurance/client/Client.js +3 -3
  7. package/api/resources/introspect/client/Client.js +2 -2
  8. package/api/resources/labReport/client/Client.d.ts +3 -1
  9. package/api/resources/labReport/client/Client.js +6 -3
  10. package/api/resources/labReport/client/requests/BodyCreateLabReportParserJob.d.ts +4 -1
  11. package/api/resources/labTests/client/Client.js +42 -42
  12. package/api/resources/link/client/Client.js +19 -19
  13. package/api/resources/meal/client/Client.js +1 -1
  14. package/api/resources/menstrualCycle/client/Client.js +1 -1
  15. package/api/resources/order/client/Client.js +1 -1
  16. package/api/resources/payor/client/Client.js +1 -1
  17. package/api/resources/profile/client/Client.js +2 -2
  18. package/api/resources/providers/client/Client.js +1 -1
  19. package/api/resources/sleep/client/Client.js +3 -3
  20. package/api/resources/sleepCycle/client/Client.js +1 -1
  21. package/api/resources/team/client/Client.js +7 -7
  22. package/api/resources/testkit/client/Client.js +2 -2
  23. package/api/resources/user/client/Client.js +19 -19
  24. package/api/resources/vitals/client/Client.js +78 -78
  25. package/api/resources/workouts/client/Client.js +3 -3
  26. package/api/types/ParsingJob.d.ts +1 -0
  27. package/dist/api/resources/activity/client/Client.js +2 -2
  28. package/dist/api/resources/aggregate/client/Client.js +3 -3
  29. package/dist/api/resources/body/client/Client.js +2 -2
  30. package/dist/api/resources/devices/client/Client.js +1 -1
  31. package/dist/api/resources/electrocardiogram/client/Client.js +1 -1
  32. package/dist/api/resources/insurance/client/Client.js +3 -3
  33. package/dist/api/resources/introspect/client/Client.js +2 -2
  34. package/dist/api/resources/labReport/client/Client.d.ts +3 -1
  35. package/dist/api/resources/labReport/client/Client.js +6 -3
  36. package/dist/api/resources/labReport/client/requests/BodyCreateLabReportParserJob.d.ts +4 -1
  37. package/dist/api/resources/labTests/client/Client.js +42 -42
  38. package/dist/api/resources/link/client/Client.js +19 -19
  39. package/dist/api/resources/meal/client/Client.js +1 -1
  40. package/dist/api/resources/menstrualCycle/client/Client.js +1 -1
  41. package/dist/api/resources/order/client/Client.js +1 -1
  42. package/dist/api/resources/payor/client/Client.js +1 -1
  43. package/dist/api/resources/profile/client/Client.js +2 -2
  44. package/dist/api/resources/providers/client/Client.js +1 -1
  45. package/dist/api/resources/sleep/client/Client.js +3 -3
  46. package/dist/api/resources/sleepCycle/client/Client.js +1 -1
  47. package/dist/api/resources/team/client/Client.js +7 -7
  48. package/dist/api/resources/testkit/client/Client.js +2 -2
  49. package/dist/api/resources/user/client/Client.js +19 -19
  50. package/dist/api/resources/vitals/client/Client.js +78 -78
  51. package/dist/api/resources/workouts/client/Client.js +3 -3
  52. package/dist/api/types/ParsingJob.d.ts +1 -0
  53. package/dist/serialization/types/ParsingJob.d.ts +1 -0
  54. package/dist/serialization/types/ParsingJob.js +1 -0
  55. package/dist/version.d.ts +1 -1
  56. package/dist/version.js +1 -1
  57. package/package.json +1 -1
  58. package/reference.md +3 -1
  59. package/serialization/types/ParsingJob.d.ts +1 -0
  60. package/serialization/types/ParsingJob.js +1 -0
  61. package/version.d.ts +1 -1
  62. package/version.js +1 -1
@@ -106,7 +106,7 @@ class LabTests {
106
106
  const _response = yield core.fetcher({
107
107
  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"),
108
108
  method: "GET",
109
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.505", "User-Agent": "@tryvital/vital-node/3.1.505", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
109
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.507", "User-Agent": "@tryvital/vital-node/3.1.507", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
110
110
  contentType: "application/json",
111
111
  queryParameters: _queryParams,
112
112
  requestType: "json",
@@ -172,7 +172,7 @@ class LabTests {
172
172
  const _response = yield core.fetcher({
173
173
  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"),
174
174
  method: "POST",
175
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.505", "User-Agent": "@tryvital/vital-node/3.1.505", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
175
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.507", "User-Agent": "@tryvital/vital-node/3.1.507", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
176
176
  contentType: "application/json",
177
177
  requestType: "json",
178
178
  body: serializers.CreateLabTestRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -242,7 +242,7 @@ class LabTests {
242
242
  const _response = yield core.fetcher({
243
243
  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)}`),
244
244
  method: "GET",
245
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.505", "User-Agent": "@tryvital/vital-node/3.1.505", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
245
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.507", "User-Agent": "@tryvital/vital-node/3.1.507", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
246
246
  contentType: "application/json",
247
247
  queryParameters: _queryParams,
248
248
  requestType: "json",
@@ -305,7 +305,7 @@ class LabTests {
305
305
  const _response = yield core.fetcher({
306
306
  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)}`),
307
307
  method: "PATCH",
308
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.505", "User-Agent": "@tryvital/vital-node/3.1.505", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
308
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.507", "User-Agent": "@tryvital/vital-node/3.1.507", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
309
309
  contentType: "application/json",
310
310
  requestType: "json",
311
311
  body: serializers.UpdateLabTestRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -389,7 +389,7 @@ class LabTests {
389
389
  const _response = yield core.fetcher({
390
390
  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"),
391
391
  method: "GET",
392
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.505", "User-Agent": "@tryvital/vital-node/3.1.505", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
392
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.507", "User-Agent": "@tryvital/vital-node/3.1.507", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
393
393
  contentType: "application/json",
394
394
  queryParameters: _queryParams,
395
395
  requestType: "json",
@@ -461,7 +461,7 @@ class LabTests {
461
461
  const _response = yield core.fetcher({
462
462
  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"),
463
463
  method: "POST",
464
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.505", "User-Agent": "@tryvital/vital-node/3.1.505", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
464
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.507", "User-Agent": "@tryvital/vital-node/3.1.507", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
465
465
  contentType: "application/json",
466
466
  queryParameters: _queryParams,
467
467
  requestType: "json",
@@ -536,7 +536,7 @@ class LabTests {
536
536
  const _response = yield core.fetcher({
537
537
  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`),
538
538
  method: "GET",
539
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.505", "User-Agent": "@tryvital/vital-node/3.1.505", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
539
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.507", "User-Agent": "@tryvital/vital-node/3.1.507", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
540
540
  contentType: "application/json",
541
541
  queryParameters: _queryParams,
542
542
  requestType: "json",
@@ -607,7 +607,7 @@ class LabTests {
607
607
  const _response = yield core.fetcher({
608
608
  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)}`),
609
609
  method: "GET",
610
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.505", "User-Agent": "@tryvital/vital-node/3.1.505", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
610
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.507", "User-Agent": "@tryvital/vital-node/3.1.507", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
611
611
  contentType: "application/json",
612
612
  queryParameters: _queryParams,
613
613
  requestType: "json",
@@ -668,7 +668,7 @@ class LabTests {
668
668
  const _response = yield core.fetcher({
669
669
  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"),
670
670
  method: "GET",
671
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.505", "User-Agent": "@tryvital/vital-node/3.1.505", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
671
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.507", "User-Agent": "@tryvital/vital-node/3.1.507", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
672
672
  contentType: "application/json",
673
673
  requestType: "json",
674
674
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -756,7 +756,7 @@ class LabTests {
756
756
  const _response = yield core.fetcher({
757
757
  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"),
758
758
  method: "GET",
759
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.505", "User-Agent": "@tryvital/vital-node/3.1.505", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
759
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.507", "User-Agent": "@tryvital/vital-node/3.1.507", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
760
760
  contentType: "application/json",
761
761
  queryParameters: _queryParams,
762
762
  requestType: "json",
@@ -812,7 +812,7 @@ class LabTests {
812
812
  const _response = yield core.fetcher({
813
813
  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`),
814
814
  method: "GET",
815
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.505", "User-Agent": "@tryvital/vital-node/3.1.505", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
815
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.507", "User-Agent": "@tryvital/vital-node/3.1.507", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
816
816
  contentType: "application/json",
817
817
  requestType: "json",
818
818
  responseType: "streaming",
@@ -927,7 +927,7 @@ class LabTests {
927
927
  const _response = yield core.fetcher({
928
928
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/orders"),
929
929
  method: "GET",
930
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.505", "User-Agent": "@tryvital/vital-node/3.1.505", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
930
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.507", "User-Agent": "@tryvital/vital-node/3.1.507", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
931
931
  contentType: "application/json",
932
932
  queryParameters: _queryParams,
933
933
  requestType: "json",
@@ -1004,7 +1004,7 @@ class LabTests {
1004
1004
  const _response = yield core.fetcher({
1005
1005
  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"),
1006
1006
  method: "POST",
1007
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.505", "User-Agent": "@tryvital/vital-node/3.1.505", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1007
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.507", "User-Agent": "@tryvital/vital-node/3.1.507", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1008
1008
  contentType: "application/json",
1009
1009
  queryParameters: _queryParams,
1010
1010
  requestType: "json",
@@ -1074,7 +1074,7 @@ class LabTests {
1074
1074
  const _response = yield core.fetcher({
1075
1075
  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`),
1076
1076
  method: "POST",
1077
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.505", "User-Agent": "@tryvital/vital-node/3.1.505", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1077
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.507", "User-Agent": "@tryvital/vital-node/3.1.507", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1078
1078
  contentType: "application/json",
1079
1079
  requestType: "json",
1080
1080
  body: serializers.AppointmentBookingRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -1147,7 +1147,7 @@ class LabTests {
1147
1147
  const _response = yield core.fetcher({
1148
1148
  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`),
1149
1149
  method: "POST",
1150
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.505", "User-Agent": "@tryvital/vital-node/3.1.505", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1150
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.507", "User-Agent": "@tryvital/vital-node/3.1.507", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1151
1151
  contentType: "application/json",
1152
1152
  requestType: "json",
1153
1153
  body: serializers.RequestAppointmentRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -1216,7 +1216,7 @@ class LabTests {
1216
1216
  const _response = yield core.fetcher({
1217
1217
  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`),
1218
1218
  method: "PATCH",
1219
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.505", "User-Agent": "@tryvital/vital-node/3.1.505", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1219
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.507", "User-Agent": "@tryvital/vital-node/3.1.507", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1220
1220
  contentType: "application/json",
1221
1221
  requestType: "json",
1222
1222
  body: serializers.AppointmentRescheduleRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -1283,7 +1283,7 @@ class LabTests {
1283
1283
  const _response = yield core.fetcher({
1284
1284
  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`),
1285
1285
  method: "PATCH",
1286
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.505", "User-Agent": "@tryvital/vital-node/3.1.505", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1286
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.507", "User-Agent": "@tryvital/vital-node/3.1.507", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1287
1287
  contentType: "application/json",
1288
1288
  requestType: "json",
1289
1289
  body: serializers.ApiApiV1EndpointsVitalApiLabTestingOrdersHelpersAppointmentCancelRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -1344,7 +1344,7 @@ class LabTests {
1344
1344
  const _response = yield core.fetcher({
1345
1345
  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"),
1346
1346
  method: "GET",
1347
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.505", "User-Agent": "@tryvital/vital-node/3.1.505", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1347
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.507", "User-Agent": "@tryvital/vital-node/3.1.507", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1348
1348
  contentType: "application/json",
1349
1349
  requestType: "json",
1350
1350
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1398,7 +1398,7 @@ class LabTests {
1398
1398
  const _response = yield core.fetcher({
1399
1399
  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`),
1400
1400
  method: "GET",
1401
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.505", "User-Agent": "@tryvital/vital-node/3.1.505", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1401
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.507", "User-Agent": "@tryvital/vital-node/3.1.507", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1402
1402
  contentType: "application/json",
1403
1403
  requestType: "json",
1404
1404
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1482,7 +1482,7 @@ class LabTests {
1482
1482
  const _response = yield core.fetcher({
1483
1483
  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"),
1484
1484
  method: "GET",
1485
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.505", "User-Agent": "@tryvital/vital-node/3.1.505", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1485
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.507", "User-Agent": "@tryvital/vital-node/3.1.507", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1486
1486
  contentType: "application/json",
1487
1487
  queryParameters: _queryParams,
1488
1488
  requestType: "json",
@@ -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/psc/info"),
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.505", "User-Agent": "@tryvital/vital-node/3.1.505", "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.507", "User-Agent": "@tryvital/vital-node/3.1.507", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1564
1564
  contentType: "application/json",
1565
1565
  queryParameters: _queryParams,
1566
1566
  requestType: "json",
@@ -1631,7 +1631,7 @@ class LabTests {
1631
1631
  const _response = yield core.fetcher({
1632
1632
  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`),
1633
1633
  method: "GET",
1634
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.505", "User-Agent": "@tryvital/vital-node/3.1.505", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1634
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.507", "User-Agent": "@tryvital/vital-node/3.1.507", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1635
1635
  contentType: "application/json",
1636
1636
  queryParameters: _queryParams,
1637
1637
  requestType: "json",
@@ -1688,7 +1688,7 @@ class LabTests {
1688
1688
  const _response = yield core.fetcher({
1689
1689
  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`),
1690
1690
  method: "GET",
1691
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.505", "User-Agent": "@tryvital/vital-node/3.1.505", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1691
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.507", "User-Agent": "@tryvital/vital-node/3.1.507", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1692
1692
  contentType: "application/json",
1693
1693
  requestType: "json",
1694
1694
  responseType: "streaming",
@@ -1749,7 +1749,7 @@ class LabTests {
1749
1749
  const _response = yield core.fetcher({
1750
1750
  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`),
1751
1751
  method: "GET",
1752
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.505", "User-Agent": "@tryvital/vital-node/3.1.505", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1752
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.507", "User-Agent": "@tryvital/vital-node/3.1.507", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1753
1753
  contentType: "application/json",
1754
1754
  requestType: "json",
1755
1755
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1813,7 +1813,7 @@ class LabTests {
1813
1813
  const _response = yield core.fetcher({
1814
1814
  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`),
1815
1815
  method: "GET",
1816
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.505", "User-Agent": "@tryvital/vital-node/3.1.505", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1816
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.507", "User-Agent": "@tryvital/vital-node/3.1.507", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1817
1817
  contentType: "application/json",
1818
1818
  requestType: "json",
1819
1819
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1875,7 +1875,7 @@ class LabTests {
1875
1875
  const _response = yield core.fetcher({
1876
1876
  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`),
1877
1877
  method: "GET",
1878
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.505", "User-Agent": "@tryvital/vital-node/3.1.505", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1878
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.507", "User-Agent": "@tryvital/vital-node/3.1.507", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1879
1879
  contentType: "application/json",
1880
1880
  queryParameters: _queryParams,
1881
1881
  requestType: "json",
@@ -1951,7 +1951,7 @@ class LabTests {
1951
1951
  const _response = yield core.fetcher({
1952
1952
  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"),
1953
1953
  method: "POST",
1954
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.505", "User-Agent": "@tryvital/vital-node/3.1.505", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1954
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.507", "User-Agent": "@tryvital/vital-node/3.1.507", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1955
1955
  contentType: "application/json",
1956
1956
  queryParameters: _queryParams,
1957
1957
  requestType: "json",
@@ -2025,7 +2025,7 @@ class LabTests {
2025
2025
  const _response = yield core.fetcher({
2026
2026
  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`),
2027
2027
  method: "POST",
2028
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.505", "User-Agent": "@tryvital/vital-node/3.1.505", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2028
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.507", "User-Agent": "@tryvital/vital-node/3.1.507", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2029
2029
  contentType: "application/json",
2030
2030
  requestType: "json",
2031
2031
  body: serializers.AppointmentBookingRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -2092,7 +2092,7 @@ class LabTests {
2092
2092
  const _response = yield core.fetcher({
2093
2093
  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`),
2094
2094
  method: "PATCH",
2095
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.505", "User-Agent": "@tryvital/vital-node/3.1.505", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2095
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.507", "User-Agent": "@tryvital/vital-node/3.1.507", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2096
2096
  contentType: "application/json",
2097
2097
  requestType: "json",
2098
2098
  body: serializers.AppointmentRescheduleRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -2157,7 +2157,7 @@ class LabTests {
2157
2157
  const _response = yield core.fetcher({
2158
2158
  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`),
2159
2159
  method: "PATCH",
2160
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.505", "User-Agent": "@tryvital/vital-node/3.1.505", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2160
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.507", "User-Agent": "@tryvital/vital-node/3.1.507", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2161
2161
  contentType: "application/json",
2162
2162
  requestType: "json",
2163
2163
  body: serializers.VitalCoreClientsLabTestGetlabsSchemaAppointmentCancelRequest.jsonOrThrow(request, {
@@ -2218,7 +2218,7 @@ class LabTests {
2218
2218
  const _response = yield core.fetcher({
2219
2219
  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"),
2220
2220
  method: "GET",
2221
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.505", "User-Agent": "@tryvital/vital-node/3.1.505", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2221
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.507", "User-Agent": "@tryvital/vital-node/3.1.507", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2222
2222
  contentType: "application/json",
2223
2223
  requestType: "json",
2224
2224
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -2272,7 +2272,7 @@ class LabTests {
2272
2272
  const _response = yield core.fetcher({
2273
2273
  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`),
2274
2274
  method: "GET",
2275
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.505", "User-Agent": "@tryvital/vital-node/3.1.505", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2275
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.507", "User-Agent": "@tryvital/vital-node/3.1.507", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2276
2276
  contentType: "application/json",
2277
2277
  requestType: "json",
2278
2278
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -2328,7 +2328,7 @@ class LabTests {
2328
2328
  const _response = yield core.fetcher({
2329
2329
  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`),
2330
2330
  method: "GET",
2331
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.505", "User-Agent": "@tryvital/vital-node/3.1.505", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2331
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.507", "User-Agent": "@tryvital/vital-node/3.1.507", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2332
2332
  contentType: "application/json",
2333
2333
  requestType: "json",
2334
2334
  responseType: "streaming",
@@ -2380,7 +2380,7 @@ class LabTests {
2380
2380
  const _response = yield core.fetcher({
2381
2381
  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`),
2382
2382
  method: "GET",
2383
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.505", "User-Agent": "@tryvital/vital-node/3.1.505", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2383
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.507", "User-Agent": "@tryvital/vital-node/3.1.507", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2384
2384
  contentType: "application/json",
2385
2385
  requestType: "json",
2386
2386
  responseType: "streaming",
@@ -2432,7 +2432,7 @@ class LabTests {
2432
2432
  const _response = yield core.fetcher({
2433
2433
  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`),
2434
2434
  method: "GET",
2435
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.505", "User-Agent": "@tryvital/vital-node/3.1.505", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2435
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.507", "User-Agent": "@tryvital/vital-node/3.1.507", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2436
2436
  contentType: "application/json",
2437
2437
  requestType: "json",
2438
2438
  responseType: "streaming",
@@ -2492,7 +2492,7 @@ class LabTests {
2492
2492
  const _response = yield core.fetcher({
2493
2493
  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)}`),
2494
2494
  method: "GET",
2495
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.505", "User-Agent": "@tryvital/vital-node/3.1.505", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2495
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.507", "User-Agent": "@tryvital/vital-node/3.1.507", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2496
2496
  contentType: "application/json",
2497
2497
  requestType: "json",
2498
2498
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -2571,7 +2571,7 @@ class LabTests {
2571
2571
  const _response = yield core.fetcher({
2572
2572
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/order"),
2573
2573
  method: "POST",
2574
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.505", "User-Agent": "@tryvital/vital-node/3.1.505", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "X-Idempotency-Key": idempotencyKey != null ? idempotencyKey : undefined, "X-Idempotency-Error": idempotencyError != null ? idempotencyError : undefined }, (yield this._getCustomAuthorizationHeaders())),
2574
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.507", "User-Agent": "@tryvital/vital-node/3.1.507", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "X-Idempotency-Key": idempotencyKey != null ? idempotencyKey : undefined, "X-Idempotency-Error": idempotencyError != null ? idempotencyError : undefined }, (yield this._getCustomAuthorizationHeaders())),
2575
2575
  contentType: "application/json",
2576
2576
  requestType: "json",
2577
2577
  body: serializers.CreateOrderRequestCompatible.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }),
@@ -2655,7 +2655,7 @@ class LabTests {
2655
2655
  const _response = yield core.fetcher({
2656
2656
  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"),
2657
2657
  method: "POST",
2658
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.505", "User-Agent": "@tryvital/vital-node/3.1.505", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2658
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.507", "User-Agent": "@tryvital/vital-node/3.1.507", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2659
2659
  contentType: "application/json",
2660
2660
  requestType: "json",
2661
2661
  body: serializers.ImportOrderBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -2720,7 +2720,7 @@ class LabTests {
2720
2720
  const _response = yield core.fetcher({
2721
2721
  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`),
2722
2722
  method: "POST",
2723
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.505", "User-Agent": "@tryvital/vital-node/3.1.505", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2723
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.507", "User-Agent": "@tryvital/vital-node/3.1.507", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2724
2724
  contentType: "application/json",
2725
2725
  requestType: "json",
2726
2726
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -2794,7 +2794,7 @@ class LabTests {
2794
2794
  const _response = yield core.fetcher({
2795
2795
  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`),
2796
2796
  method: "POST",
2797
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.505", "User-Agent": "@tryvital/vital-node/3.1.505", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2797
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.507", "User-Agent": "@tryvital/vital-node/3.1.507", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2798
2798
  contentType: "application/json",
2799
2799
  queryParameters: _queryParams,
2800
2800
  requestType: "json",
@@ -2859,7 +2859,7 @@ class LabTests {
2859
2859
  const _response = yield core.fetcher({
2860
2860
  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`),
2861
2861
  method: "PATCH",
2862
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.505", "User-Agent": "@tryvital/vital-node/3.1.505", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2862
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.507", "User-Agent": "@tryvital/vital-node/3.1.507", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2863
2863
  contentType: "application/json",
2864
2864
  requestType: "json",
2865
2865
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -2922,7 +2922,7 @@ class LabTests {
2922
2922
  const _response = yield core.fetcher({
2923
2923
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/insurance/validate_icd_codes"),
2924
2924
  method: "POST",
2925
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.505", "User-Agent": "@tryvital/vital-node/3.1.505", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2925
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.507", "User-Agent": "@tryvital/vital-node/3.1.507", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2926
2926
  contentType: "application/json",
2927
2927
  requestType: "json",
2928
2928
  body: serializers.ValidateIcdCodesBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),