@tryvital/vital-node 3.1.229 → 3.1.231

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 (96) hide show
  1. package/api/resources/activity/client/Client.js +2 -2
  2. package/api/resources/aggregate/client/Client.js +2 -2
  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 +37 -37
  9. package/api/resources/link/client/Client.d.ts +10 -0
  10. package/api/resources/link/client/Client.js +86 -19
  11. package/api/resources/link/client/requests/LinkListBulkOpsRequest.d.ts +10 -0
  12. package/api/resources/link/client/requests/LinkListBulkOpsRequest.js +5 -0
  13. package/api/resources/link/client/requests/index.d.ts +1 -0
  14. package/api/resources/meal/client/Client.js +1 -1
  15. package/api/resources/menstrualCycle/client/Client.js +1 -1
  16. package/api/resources/order/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 +4 -4
  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 +16 -16
  24. package/api/resources/vitals/client/Client.js +75 -75
  25. package/api/resources/workouts/client/Client.js +3 -3
  26. package/api/types/BulkOp.d.ts +13 -0
  27. package/api/types/BulkOp.js +5 -0
  28. package/api/types/BulkOpStatus.d.ts +10 -0
  29. package/api/types/BulkOpStatus.js +12 -0
  30. package/api/types/BulkOpType.d.ts +8 -0
  31. package/api/types/BulkOpType.js +10 -0
  32. package/api/types/BulkOpsResponse.d.ts +8 -0
  33. package/api/types/BulkOpsResponse.js +5 -0
  34. package/api/types/index.d.ts +4 -0
  35. package/api/types/index.js +4 -0
  36. package/dist/api/resources/activity/client/Client.js +2 -2
  37. package/dist/api/resources/aggregate/client/Client.js +2 -2
  38. package/dist/api/resources/body/client/Client.js +2 -2
  39. package/dist/api/resources/devices/client/Client.js +1 -1
  40. package/dist/api/resources/electrocardiogram/client/Client.js +1 -1
  41. package/dist/api/resources/insurance/client/Client.js +3 -3
  42. package/dist/api/resources/introspect/client/Client.js +2 -2
  43. package/dist/api/resources/labTests/client/Client.js +37 -37
  44. package/dist/api/resources/link/client/Client.d.ts +10 -0
  45. package/dist/api/resources/link/client/Client.js +86 -19
  46. package/dist/api/resources/link/client/requests/LinkListBulkOpsRequest.d.ts +10 -0
  47. package/dist/api/resources/link/client/requests/LinkListBulkOpsRequest.js +5 -0
  48. package/dist/api/resources/link/client/requests/index.d.ts +1 -0
  49. package/dist/api/resources/meal/client/Client.js +1 -1
  50. package/dist/api/resources/menstrualCycle/client/Client.js +1 -1
  51. package/dist/api/resources/order/client/Client.js +1 -1
  52. package/dist/api/resources/profile/client/Client.js +2 -2
  53. package/dist/api/resources/providers/client/Client.js +1 -1
  54. package/dist/api/resources/sleep/client/Client.js +4 -4
  55. package/dist/api/resources/sleepCycle/client/Client.js +1 -1
  56. package/dist/api/resources/team/client/Client.js +7 -7
  57. package/dist/api/resources/testkit/client/Client.js +2 -2
  58. package/dist/api/resources/user/client/Client.js +16 -16
  59. package/dist/api/resources/vitals/client/Client.js +75 -75
  60. package/dist/api/resources/workouts/client/Client.js +3 -3
  61. package/dist/api/types/BulkOp.d.ts +13 -0
  62. package/dist/api/types/BulkOp.js +5 -0
  63. package/dist/api/types/BulkOpStatus.d.ts +10 -0
  64. package/dist/api/types/BulkOpStatus.js +12 -0
  65. package/dist/api/types/BulkOpType.d.ts +8 -0
  66. package/dist/api/types/BulkOpType.js +10 -0
  67. package/dist/api/types/BulkOpsResponse.d.ts +8 -0
  68. package/dist/api/types/BulkOpsResponse.js +5 -0
  69. package/dist/api/types/index.d.ts +4 -0
  70. package/dist/api/types/index.js +4 -0
  71. package/dist/serialization/types/BulkOp.d.ts +21 -0
  72. package/dist/serialization/types/BulkOp.js +42 -0
  73. package/dist/serialization/types/BulkOpStatus.d.ts +10 -0
  74. package/dist/serialization/types/BulkOpStatus.js +31 -0
  75. package/dist/serialization/types/BulkOpType.d.ts +10 -0
  76. package/dist/serialization/types/BulkOpType.js +31 -0
  77. package/dist/serialization/types/BulkOpsResponse.d.ts +14 -0
  78. package/dist/serialization/types/BulkOpsResponse.js +35 -0
  79. package/dist/serialization/types/index.d.ts +4 -0
  80. package/dist/serialization/types/index.js +4 -0
  81. package/dist/version.d.ts +1 -1
  82. package/dist/version.js +1 -1
  83. package/package.json +1 -1
  84. package/reference.md +48 -0
  85. package/serialization/types/BulkOp.d.ts +21 -0
  86. package/serialization/types/BulkOp.js +42 -0
  87. package/serialization/types/BulkOpStatus.d.ts +10 -0
  88. package/serialization/types/BulkOpStatus.js +31 -0
  89. package/serialization/types/BulkOpType.d.ts +10 -0
  90. package/serialization/types/BulkOpType.js +31 -0
  91. package/serialization/types/BulkOpsResponse.d.ts +14 -0
  92. package/serialization/types/BulkOpsResponse.js +35 -0
  93. package/serialization/types/index.d.ts +4 -0
  94. package/serialization/types/index.js +4 -0
  95. package/version.d.ts +1 -1
  96. 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.229", "User-Agent": "@tryvital/vital-node/3.1.229", "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.231", "User-Agent": "@tryvital/vital-node/3.1.231", "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.229", "User-Agent": "@tryvital/vital-node/3.1.229", "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.231", "User-Agent": "@tryvital/vital-node/3.1.231", "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.229", "User-Agent": "@tryvital/vital-node/3.1.229", "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.231", "User-Agent": "@tryvital/vital-node/3.1.231", "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,
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vital from "../index";
5
+ export interface BulkOp {
6
+ type: Vital.BulkOpType;
7
+ status: Vital.BulkOpStatus;
8
+ provider: Vital.Providers;
9
+ pending: number;
10
+ processed: number;
11
+ startedAt: Date;
12
+ endedAt?: Date;
13
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type BulkOpStatus = "in_progress" | "success" | "failure" | "aborted";
5
+ export declare const BulkOpStatus: {
6
+ readonly InProgress: "in_progress";
7
+ readonly Success: "success";
8
+ readonly Failure: "failure";
9
+ readonly Aborted: "aborted";
10
+ };
@@ -0,0 +1,12 @@
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.BulkOpStatus = void 0;
7
+ exports.BulkOpStatus = {
8
+ InProgress: "in_progress",
9
+ Success: "success",
10
+ Failure: "failure",
11
+ Aborted: "aborted",
12
+ };
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type BulkOpType = "link_bulk_import" | "link_bulk_historical_trigger";
5
+ export declare const BulkOpType: {
6
+ readonly LinkBulkImport: "link_bulk_import";
7
+ readonly LinkBulkHistoricalTrigger: "link_bulk_historical_trigger";
8
+ };
@@ -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.BulkOpType = void 0;
7
+ exports.BulkOpType = {
8
+ LinkBulkImport: "link_bulk_import",
9
+ LinkBulkHistoricalTrigger: "link_bulk_historical_trigger",
10
+ };
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vital from "../index";
5
+ export interface BulkOpsResponse {
6
+ data: Vital.BulkOp[];
7
+ nextCursor?: string;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -34,6 +34,10 @@ export * from "./BodyColumnExpr";
34
34
  export * from "./BodyV2InDb";
35
35
  export * from "./BulkExportConnectionsResponse";
36
36
  export * from "./BulkImportConnectionsResponse";
37
+ export * from "./BulkOpType";
38
+ export * from "./BulkOpStatus";
39
+ export * from "./BulkOp";
40
+ export * from "./BulkOpsResponse";
37
41
  export * from "./CervicalMucusEntryQuality";
38
42
  export * from "./CervicalMucusEntry";
39
43
  export * from "./ChronotypeValueMacroExpr";
@@ -50,6 +50,10 @@ __exportStar(require("./BodyColumnExpr"), exports);
50
50
  __exportStar(require("./BodyV2InDb"), exports);
51
51
  __exportStar(require("./BulkExportConnectionsResponse"), exports);
52
52
  __exportStar(require("./BulkImportConnectionsResponse"), exports);
53
+ __exportStar(require("./BulkOpType"), exports);
54
+ __exportStar(require("./BulkOpStatus"), exports);
55
+ __exportStar(require("./BulkOp"), exports);
56
+ __exportStar(require("./BulkOpsResponse"), exports);
53
57
  __exportStar(require("./CervicalMucusEntryQuality"), exports);
54
58
  __exportStar(require("./CervicalMucusEntry"), exports);
55
59
  __exportStar(require("./ChronotypeValueMacroExpr"), 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.229", "User-Agent": "@tryvital/vital-node/3.1.229", "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.231", "User-Agent": "@tryvital/vital-node/3.1.231", "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.229", "User-Agent": "@tryvital/vital-node/3.1.229", "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.231", "User-Agent": "@tryvital/vital-node/3.1.231", "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.229", "User-Agent": "@tryvital/vital-node/3.1.229", "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.231", "User-Agent": "@tryvital/vital-node/3.1.231", "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.229", "User-Agent": "@tryvital/vital-node/3.1.229", "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.231", "User-Agent": "@tryvital/vital-node/3.1.231", "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,
@@ -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.229", "User-Agent": "@tryvital/vital-node/3.1.229", "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.231", "User-Agent": "@tryvital/vital-node/3.1.231", "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.229", "User-Agent": "@tryvital/vital-node/3.1.229", "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.231", "User-Agent": "@tryvital/vital-node/3.1.231", "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.229", "User-Agent": "@tryvital/vital-node/3.1.229", "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.231", "User-Agent": "@tryvital/vital-node/3.1.231", "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.229", "User-Agent": "@tryvital/vital-node/3.1.229", "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.231", "User-Agent": "@tryvital/vital-node/3.1.231", "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.229", "User-Agent": "@tryvital/vital-node/3.1.229", "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.231", "User-Agent": "@tryvital/vital-node/3.1.231", "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.229", "User-Agent": "@tryvital/vital-node/3.1.229", "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.231", "User-Agent": "@tryvital/vital-node/3.1.231", "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.229", "User-Agent": "@tryvital/vital-node/3.1.229", "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.231", "User-Agent": "@tryvital/vital-node/3.1.231", "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.229", "User-Agent": "@tryvital/vital-node/3.1.229", "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.231", "User-Agent": "@tryvital/vital-node/3.1.231", "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.229", "User-Agent": "@tryvital/vital-node/3.1.229", "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.231", "User-Agent": "@tryvital/vital-node/3.1.231", "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",