@tryvital/vital-node 3.1.306 → 3.1.308

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 (89) 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/labTests/client/Client.js +41 -41
  9. package/api/resources/link/client/Client.js +19 -19
  10. package/api/resources/meal/client/Client.js +1 -1
  11. package/api/resources/menstrualCycle/client/Client.js +1 -1
  12. package/api/resources/order/client/Client.js +1 -1
  13. package/api/resources/payor/client/Client.js +1 -1
  14. package/api/resources/profile/client/Client.js +2 -2
  15. package/api/resources/providers/client/Client.js +1 -1
  16. package/api/resources/sleep/client/Client.js +4 -4
  17. package/api/resources/sleepCycle/client/Client.js +1 -1
  18. package/api/resources/team/client/Client.js +7 -7
  19. package/api/resources/testkit/client/Client.js +2 -2
  20. package/api/resources/user/client/Client.js +16 -16
  21. package/api/resources/vitals/client/Client.js +78 -78
  22. package/api/resources/workouts/client/Client.js +3 -3
  23. package/api/types/ClientFacingOrder.d.ts +2 -0
  24. package/api/types/ClientFacingPayor.d.ts +2 -0
  25. package/api/types/ClientFacingPayorCodeSource.d.ts +11 -0
  26. package/api/types/ClientFacingPayorCodeSource.js +10 -0
  27. package/api/types/ClientFacingPayorSearchResponse.d.ts +2 -0
  28. package/api/types/ClientFacingPayorSearchResponseDeprecated.d.ts +2 -0
  29. package/api/types/index.d.ts +1 -0
  30. package/api/types/index.js +1 -0
  31. package/dist/api/resources/activity/client/Client.js +2 -2
  32. package/dist/api/resources/aggregate/client/Client.js +3 -3
  33. package/dist/api/resources/body/client/Client.js +2 -2
  34. package/dist/api/resources/devices/client/Client.js +1 -1
  35. package/dist/api/resources/electrocardiogram/client/Client.js +1 -1
  36. package/dist/api/resources/insurance/client/Client.js +3 -3
  37. package/dist/api/resources/introspect/client/Client.js +2 -2
  38. package/dist/api/resources/labTests/client/Client.js +41 -41
  39. package/dist/api/resources/link/client/Client.js +19 -19
  40. package/dist/api/resources/meal/client/Client.js +1 -1
  41. package/dist/api/resources/menstrualCycle/client/Client.js +1 -1
  42. package/dist/api/resources/order/client/Client.js +1 -1
  43. package/dist/api/resources/payor/client/Client.js +1 -1
  44. package/dist/api/resources/profile/client/Client.js +2 -2
  45. package/dist/api/resources/providers/client/Client.js +1 -1
  46. package/dist/api/resources/sleep/client/Client.js +4 -4
  47. package/dist/api/resources/sleepCycle/client/Client.js +1 -1
  48. package/dist/api/resources/team/client/Client.js +7 -7
  49. package/dist/api/resources/testkit/client/Client.js +2 -2
  50. package/dist/api/resources/user/client/Client.js +16 -16
  51. package/dist/api/resources/vitals/client/Client.js +78 -78
  52. package/dist/api/resources/workouts/client/Client.js +3 -3
  53. package/dist/api/types/ClientFacingOrder.d.ts +2 -0
  54. package/dist/api/types/ClientFacingPayor.d.ts +2 -0
  55. package/dist/api/types/ClientFacingPayorCodeSource.d.ts +11 -0
  56. package/dist/api/types/ClientFacingPayorCodeSource.js +10 -0
  57. package/dist/api/types/ClientFacingPayorSearchResponse.d.ts +2 -0
  58. package/dist/api/types/ClientFacingPayorSearchResponseDeprecated.d.ts +2 -0
  59. package/dist/api/types/index.d.ts +1 -0
  60. package/dist/api/types/index.js +1 -0
  61. package/dist/serialization/types/ClientFacingOrder.d.ts +1 -0
  62. package/dist/serialization/types/ClientFacingOrder.js +1 -0
  63. package/dist/serialization/types/ClientFacingPayor.d.ts +2 -0
  64. package/dist/serialization/types/ClientFacingPayor.js +2 -0
  65. package/dist/serialization/types/ClientFacingPayorCodeSource.d.ts +10 -0
  66. package/dist/serialization/types/ClientFacingPayorCodeSource.js +31 -0
  67. package/dist/serialization/types/ClientFacingPayorSearchResponse.d.ts +2 -0
  68. package/dist/serialization/types/ClientFacingPayorSearchResponse.js +2 -0
  69. package/dist/serialization/types/ClientFacingPayorSearchResponseDeprecated.d.ts +2 -0
  70. package/dist/serialization/types/ClientFacingPayorSearchResponseDeprecated.js +2 -0
  71. package/dist/serialization/types/index.d.ts +1 -0
  72. package/dist/serialization/types/index.js +1 -0
  73. package/dist/version.d.ts +1 -1
  74. package/dist/version.js +1 -1
  75. package/package.json +1 -1
  76. package/serialization/types/ClientFacingOrder.d.ts +1 -0
  77. package/serialization/types/ClientFacingOrder.js +1 -0
  78. package/serialization/types/ClientFacingPayor.d.ts +2 -0
  79. package/serialization/types/ClientFacingPayor.js +2 -0
  80. package/serialization/types/ClientFacingPayorCodeSource.d.ts +10 -0
  81. package/serialization/types/ClientFacingPayorCodeSource.js +31 -0
  82. package/serialization/types/ClientFacingPayorSearchResponse.d.ts +2 -0
  83. package/serialization/types/ClientFacingPayorSearchResponse.js +2 -0
  84. package/serialization/types/ClientFacingPayorSearchResponseDeprecated.d.ts +2 -0
  85. package/serialization/types/ClientFacingPayorSearchResponseDeprecated.js +2 -0
  86. package/serialization/types/index.d.ts +1 -0
  87. package/serialization/types/index.js +1 -0
  88. package/version.d.ts +1 -1
  89. package/version.js +1 -1
@@ -78,7 +78,7 @@ class Workouts {
78
78
  const _response = yield core.fetcher({
79
79
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/workouts/${encodeURIComponent(userId)}`),
80
80
  method: "GET",
81
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.306", "User-Agent": "@tryvital/vital-node/3.1.306", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
81
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.308", "User-Agent": "@tryvital/vital-node/3.1.308", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
82
82
  contentType: "application/json",
83
83
  queryParameters: _queryParams,
84
84
  requestType: "json",
@@ -154,7 +154,7 @@ class Workouts {
154
154
  const _response = yield core.fetcher({
155
155
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/workouts/${encodeURIComponent(userId)}/raw`),
156
156
  method: "GET",
157
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.306", "User-Agent": "@tryvital/vital-node/3.1.306", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
157
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.308", "User-Agent": "@tryvital/vital-node/3.1.308", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
158
158
  contentType: "application/json",
159
159
  queryParameters: _queryParams,
160
160
  requestType: "json",
@@ -216,7 +216,7 @@ class Workouts {
216
216
  const _response = yield core.fetcher({
217
217
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/workouts/${encodeURIComponent(workoutId)}/stream`),
218
218
  method: "GET",
219
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.306", "User-Agent": "@tryvital/vital-node/3.1.306", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
219
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.308", "User-Agent": "@tryvital/vital-node/3.1.308", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
220
220
  contentType: "application/json",
221
221
  requestType: "json",
222
222
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -44,6 +44,8 @@ export interface ClientFacingOrder {
44
44
  hasAbn: boolean;
45
45
  /** Interpretation of the order result. Can be one of (normal, abnormal, critical). */
46
46
  interpretation?: Vital.Interpretation;
47
+ /** Defines whether the order result has missing biomarkers. */
48
+ hasMissingResults?: boolean;
47
49
  /** The common-case date by which the order result is expected to be available. */
48
50
  expectedResultByDate?: string;
49
51
  /** The latest date by which the order result is expected to be available. */
@@ -11,4 +11,6 @@ export interface ClientFacingPayor {
11
11
  aliases: string[];
12
12
  /** Insurance business address returned for the insurance information. */
13
13
  orgAddress: Vital.Address;
14
+ /** The source of the payor, can be one of (platform, team). */
15
+ source: Vital.ClientFacingPayorCodeSource;
14
16
  }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * ℹ️ This enum is non-exhaustive.
6
+ */
7
+ export declare type ClientFacingPayorCodeSource = "platform" | "team";
8
+ export declare const ClientFacingPayorCodeSource: {
9
+ readonly Platform: "platform";
10
+ readonly Team: "team";
11
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.ClientFacingPayorCodeSource = void 0;
7
+ exports.ClientFacingPayorCodeSource = {
8
+ Platform: "platform",
9
+ Team: "team",
10
+ };
@@ -11,4 +11,6 @@ export interface ClientFacingPayorSearchResponse {
11
11
  aliases: string[];
12
12
  /** Insurance business address returned for the insurance information. */
13
13
  orgAddress: Vital.Address;
14
+ /** The source of the payor, can be one of (platform, team). */
15
+ source: Vital.ClientFacingPayorCodeSource;
14
16
  }
@@ -11,4 +11,6 @@ export interface ClientFacingPayorSearchResponseDeprecated {
11
11
  aliases: string[];
12
12
  /** Insurance business address returned for the insurance information. */
13
13
  orgAddress: Vital.Address;
14
+ /** The source of the payor, can be one of (platform, team). */
15
+ source: Vital.ClientFacingPayorCodeSource;
14
16
  }
@@ -124,6 +124,7 @@ export * from "./ClientFacingOrder";
124
124
  export * from "./ClientFacingOrderEvent";
125
125
  export * from "./ClientFacingPatientDetailsCompatible";
126
126
  export * from "./ClientFacingPayor";
127
+ export * from "./ClientFacingPayorCodeSource";
127
128
  export * from "./ClientFacingPayorSearchResponse";
128
129
  export * from "./ClientFacingPayorSearchResponseDeprecated";
129
130
  export * from "./ClientFacingPeakExpiratoryFlowRateSample";
@@ -140,6 +140,7 @@ __exportStar(require("./ClientFacingOrder"), exports);
140
140
  __exportStar(require("./ClientFacingOrderEvent"), exports);
141
141
  __exportStar(require("./ClientFacingPatientDetailsCompatible"), exports);
142
142
  __exportStar(require("./ClientFacingPayor"), exports);
143
+ __exportStar(require("./ClientFacingPayorCodeSource"), exports);
143
144
  __exportStar(require("./ClientFacingPayorSearchResponse"), exports);
144
145
  __exportStar(require("./ClientFacingPayorSearchResponseDeprecated"), exports);
145
146
  __exportStar(require("./ClientFacingPeakExpiratoryFlowRateSample"), exports);
@@ -78,7 +78,7 @@ class Activity {
78
78
  const _response = yield core.fetcher({
79
79
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/activity/${encodeURIComponent(userId)}`),
80
80
  method: "GET",
81
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.306", "User-Agent": "@tryvital/vital-node/3.1.306", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
81
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.308", "User-Agent": "@tryvital/vital-node/3.1.308", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
82
82
  contentType: "application/json",
83
83
  queryParameters: _queryParams,
84
84
  requestType: "json",
@@ -154,7 +154,7 @@ class Activity {
154
154
  const _response = yield core.fetcher({
155
155
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/activity/${encodeURIComponent(userId)}/raw`),
156
156
  method: "GET",
157
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.306", "User-Agent": "@tryvital/vital-node/3.1.306", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
157
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.308", "User-Agent": "@tryvital/vital-node/3.1.308", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
158
158
  contentType: "application/json",
159
159
  queryParameters: _queryParams,
160
160
  requestType: "json",
@@ -81,7 +81,7 @@ class Aggregate {
81
81
  const _response = yield core.fetcher({
82
82
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `aggregate/v1/user/${encodeURIComponent(userId)}/query`),
83
83
  method: "POST",
84
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.306", "User-Agent": "@tryvital/vital-node/3.1.306", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, accept: "*/*" }, (yield this._getCustomAuthorizationHeaders())),
84
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.308", "User-Agent": "@tryvital/vital-node/3.1.308", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, accept: "*/*" }, (yield this._getCustomAuthorizationHeaders())),
85
85
  contentType: "application/json",
86
86
  requestType: "json",
87
87
  body: serializers.QueryBatch.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -144,7 +144,7 @@ class Aggregate {
144
144
  const _response = yield core.fetcher({
145
145
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `aggregate/v1/user/${encodeURIComponent(userId)}/continuous_query/${encodeURIComponent(queryIdOrSlug)}/result_table`),
146
146
  method: "GET",
147
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.306", "User-Agent": "@tryvital/vital-node/3.1.306", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, accept: "*/*" }, (yield this._getCustomAuthorizationHeaders())),
147
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.308", "User-Agent": "@tryvital/vital-node/3.1.308", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, accept: "*/*" }, (yield this._getCustomAuthorizationHeaders())),
148
148
  contentType: "application/json",
149
149
  requestType: "json",
150
150
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -215,7 +215,7 @@ class Aggregate {
215
215
  const _response = yield core.fetcher({
216
216
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `aggregate/v1/user/${encodeURIComponent(userId)}/continuous_query/${encodeURIComponent(queryIdOrSlug)}/task_history`),
217
217
  method: "GET",
218
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.306", "User-Agent": "@tryvital/vital-node/3.1.306", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
218
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.308", "User-Agent": "@tryvital/vital-node/3.1.308", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
219
219
  contentType: "application/json",
220
220
  queryParameters: _queryParams,
221
221
  requestType: "json",
@@ -78,7 +78,7 @@ class Body {
78
78
  const _response = yield core.fetcher({
79
79
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/body/${encodeURIComponent(userId)}`),
80
80
  method: "GET",
81
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.306", "User-Agent": "@tryvital/vital-node/3.1.306", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
81
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.308", "User-Agent": "@tryvital/vital-node/3.1.308", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
82
82
  contentType: "application/json",
83
83
  queryParameters: _queryParams,
84
84
  requestType: "json",
@@ -154,7 +154,7 @@ class Body {
154
154
  const _response = yield core.fetcher({
155
155
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/body/${encodeURIComponent(userId)}/raw`),
156
156
  method: "GET",
157
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.306", "User-Agent": "@tryvital/vital-node/3.1.306", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
157
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.308", "User-Agent": "@tryvital/vital-node/3.1.308", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
158
158
  contentType: "application/json",
159
159
  queryParameters: _queryParams,
160
160
  requestType: "json",
@@ -72,7 +72,7 @@ class Devices {
72
72
  const _response = yield core.fetcher({
73
73
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/devices/${encodeURIComponent(userId)}/raw`),
74
74
  method: "GET",
75
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.306", "User-Agent": "@tryvital/vital-node/3.1.306", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
75
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.308", "User-Agent": "@tryvital/vital-node/3.1.308", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
76
76
  contentType: "application/json",
77
77
  queryParameters: _queryParams,
78
78
  requestType: "json",
@@ -78,7 +78,7 @@ class Electrocardiogram {
78
78
  const _response = yield core.fetcher({
79
79
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/electrocardiogram/${encodeURIComponent(userId)}`),
80
80
  method: "GET",
81
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.306", "User-Agent": "@tryvital/vital-node/3.1.306", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
81
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.308", "User-Agent": "@tryvital/vital-node/3.1.308", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
82
82
  contentType: "application/json",
83
83
  queryParameters: _queryParams,
84
84
  requestType: "json",
@@ -75,7 +75,7 @@ class Insurance {
75
75
  const _response = yield core.fetcher({
76
76
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/insurance/search/payor"),
77
77
  method: "GET",
78
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.306", "User-Agent": "@tryvital/vital-node/3.1.306", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
78
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.308", "User-Agent": "@tryvital/vital-node/3.1.308", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
79
79
  contentType: "application/json",
80
80
  queryParameters: _queryParams,
81
81
  requestType: "json",
@@ -137,7 +137,7 @@ class Insurance {
137
137
  const _response = yield core.fetcher({
138
138
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/insurance/search/payor"),
139
139
  method: "POST",
140
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.306", "User-Agent": "@tryvital/vital-node/3.1.306", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
140
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.308", "User-Agent": "@tryvital/vital-node/3.1.308", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
141
141
  contentType: "application/json",
142
142
  requestType: "json",
143
143
  body: serializers.PayorSearchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -204,7 +204,7 @@ class Insurance {
204
204
  const _response = yield core.fetcher({
205
205
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v3/insurance/search/diagnosis"),
206
206
  method: "GET",
207
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.306", "User-Agent": "@tryvital/vital-node/3.1.306", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
207
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.308", "User-Agent": "@tryvital/vital-node/3.1.308", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
208
208
  contentType: "application/json",
209
209
  queryParameters: _queryParams,
210
210
  requestType: "json",
@@ -81,7 +81,7 @@ class Introspect {
81
81
  const _response = yield core.fetcher({
82
82
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/introspect/resources"),
83
83
  method: "GET",
84
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.306", "User-Agent": "@tryvital/vital-node/3.1.306", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
84
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.308", "User-Agent": "@tryvital/vital-node/3.1.308", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
85
85
  contentType: "application/json",
86
86
  queryParameters: _queryParams,
87
87
  requestType: "json",
@@ -160,7 +160,7 @@ class Introspect {
160
160
  const _response = yield core.fetcher({
161
161
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/introspect/historical_pull"),
162
162
  method: "GET",
163
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.306", "User-Agent": "@tryvital/vital-node/3.1.306", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
163
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.308", "User-Agent": "@tryvital/vital-node/3.1.308", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
164
164
  contentType: "application/json",
165
165
  queryParameters: _queryParams,
166
166
  requestType: "json",