@tryvital/vital-node 3.1.134 → 3.1.136

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 (158) hide show
  1. package/api/resources/activity/client/Client.js +2 -2
  2. package/api/resources/aggregate/client/Client.js +1 -1
  3. package/api/resources/body/client/Client.js +2 -2
  4. package/api/resources/devices/client/Client.js +1 -1
  5. package/api/resources/insurance/client/Client.js +2 -2
  6. package/api/resources/introspect/client/Client.js +2 -2
  7. package/api/resources/labTests/client/Client.js +34 -34
  8. package/api/resources/link/client/Client.js +14 -14
  9. package/api/resources/meal/client/Client.js +1 -1
  10. package/api/resources/menstrualCycle/client/Client.js +1 -1
  11. package/api/resources/profile/client/Client.js +2 -2
  12. package/api/resources/providers/client/Client.js +1 -1
  13. package/api/resources/sleep/client/Client.js +4 -4
  14. package/api/resources/sleepCycle/client/Client.js +1 -1
  15. package/api/resources/team/client/Client.js +7 -7
  16. package/api/resources/testkit/client/Client.js +2 -2
  17. package/api/resources/user/client/Client.js +16 -16
  18. package/api/resources/vitals/client/Client.d.ts +26 -0
  19. package/api/resources/vitals/client/Client.js +216 -56
  20. package/api/resources/vitals/client/requests/VitalsAfibBurdenGroupedRequest.d.ts +31 -0
  21. package/api/resources/vitals/client/requests/VitalsAfibBurdenGroupedRequest.js +5 -0
  22. package/api/resources/vitals/client/requests/VitalsHeartRateAlertGroupedRequest.d.ts +31 -0
  23. package/api/resources/vitals/client/requests/VitalsHeartRateAlertGroupedRequest.js +5 -0
  24. package/api/resources/vitals/client/requests/index.d.ts +2 -0
  25. package/api/resources/workouts/client/Client.js +3 -3
  26. package/api/types/AggregateExprArg.d.ts +1 -1
  27. package/api/types/ChronotypeValueMacroExpr.d.ts +7 -0
  28. package/api/types/ChronotypeValueMacroExpr.js +5 -0
  29. package/api/types/ClientFacingAFibBurdenSample.d.ts +20 -0
  30. package/api/types/ClientFacingAFibBurdenSample.js +5 -0
  31. package/api/types/ClientFacingGroupedTimeseriesResponseClientFacingAFibBurdenSample.d.ts +12 -0
  32. package/api/types/ClientFacingGroupedTimeseriesResponseClientFacingAFibBurdenSample.js +5 -0
  33. package/api/types/ClientFacingGroupedTimeseriesResponseClientFacingHeartRateAlertSample.d.ts +12 -0
  34. package/api/types/ClientFacingGroupedTimeseriesResponseClientFacingHeartRateAlertSample.js +5 -0
  35. package/api/types/ClientFacingHeartRateAlertSample.d.ts +19 -0
  36. package/api/types/ClientFacingHeartRateAlertSample.js +5 -0
  37. package/api/types/ClientFacingHeartRateAlertSampleType.d.ts +9 -0
  38. package/api/types/ClientFacingHeartRateAlertSampleType.js +11 -0
  39. package/api/types/ClientFacingResource.d.ts +3 -1
  40. package/api/types/ClientFacingResource.js +2 -0
  41. package/api/types/ClientFacingSleepCycle.d.ts +9 -0
  42. package/api/types/ClientFacingTimeseriesGroupClientFacingAFibBurdenSample.d.ts +8 -0
  43. package/api/types/ClientFacingTimeseriesGroupClientFacingAFibBurdenSample.js +5 -0
  44. package/api/types/ClientFacingTimeseriesGroupClientFacingHeartRateAlertSample.d.ts +8 -0
  45. package/api/types/ClientFacingTimeseriesGroupClientFacingHeartRateAlertSample.js +5 -0
  46. package/api/types/QueryInstructionSelectItem.d.ts +1 -1
  47. package/api/types/TimeseriesResource.d.ts +3 -1
  48. package/api/types/TimeseriesResource.js +2 -0
  49. package/api/types/index.d.ts +8 -0
  50. package/api/types/index.js +8 -0
  51. package/dist/api/resources/activity/client/Client.js +2 -2
  52. package/dist/api/resources/aggregate/client/Client.js +1 -1
  53. package/dist/api/resources/body/client/Client.js +2 -2
  54. package/dist/api/resources/devices/client/Client.js +1 -1
  55. package/dist/api/resources/insurance/client/Client.js +2 -2
  56. package/dist/api/resources/introspect/client/Client.js +2 -2
  57. package/dist/api/resources/labTests/client/Client.js +34 -34
  58. package/dist/api/resources/link/client/Client.js +14 -14
  59. package/dist/api/resources/meal/client/Client.js +1 -1
  60. package/dist/api/resources/menstrualCycle/client/Client.js +1 -1
  61. package/dist/api/resources/profile/client/Client.js +2 -2
  62. package/dist/api/resources/providers/client/Client.js +1 -1
  63. package/dist/api/resources/sleep/client/Client.js +4 -4
  64. package/dist/api/resources/sleepCycle/client/Client.js +1 -1
  65. package/dist/api/resources/team/client/Client.js +7 -7
  66. package/dist/api/resources/testkit/client/Client.js +2 -2
  67. package/dist/api/resources/user/client/Client.js +16 -16
  68. package/dist/api/resources/vitals/client/Client.d.ts +26 -0
  69. package/dist/api/resources/vitals/client/Client.js +216 -56
  70. package/dist/api/resources/vitals/client/requests/VitalsAfibBurdenGroupedRequest.d.ts +31 -0
  71. package/dist/api/resources/vitals/client/requests/VitalsAfibBurdenGroupedRequest.js +5 -0
  72. package/dist/api/resources/vitals/client/requests/VitalsHeartRateAlertGroupedRequest.d.ts +31 -0
  73. package/dist/api/resources/vitals/client/requests/VitalsHeartRateAlertGroupedRequest.js +5 -0
  74. package/dist/api/resources/vitals/client/requests/index.d.ts +2 -0
  75. package/dist/api/resources/workouts/client/Client.js +3 -3
  76. package/dist/api/types/AggregateExprArg.d.ts +1 -1
  77. package/dist/api/types/ChronotypeValueMacroExpr.d.ts +7 -0
  78. package/dist/api/types/ChronotypeValueMacroExpr.js +5 -0
  79. package/dist/api/types/ClientFacingAFibBurdenSample.d.ts +20 -0
  80. package/dist/api/types/ClientFacingAFibBurdenSample.js +5 -0
  81. package/dist/api/types/ClientFacingGroupedTimeseriesResponseClientFacingAFibBurdenSample.d.ts +12 -0
  82. package/dist/api/types/ClientFacingGroupedTimeseriesResponseClientFacingAFibBurdenSample.js +5 -0
  83. package/dist/api/types/ClientFacingGroupedTimeseriesResponseClientFacingHeartRateAlertSample.d.ts +12 -0
  84. package/dist/api/types/ClientFacingGroupedTimeseriesResponseClientFacingHeartRateAlertSample.js +5 -0
  85. package/dist/api/types/ClientFacingHeartRateAlertSample.d.ts +19 -0
  86. package/dist/api/types/ClientFacingHeartRateAlertSample.js +5 -0
  87. package/dist/api/types/ClientFacingHeartRateAlertSampleType.d.ts +9 -0
  88. package/dist/api/types/ClientFacingHeartRateAlertSampleType.js +11 -0
  89. package/dist/api/types/ClientFacingResource.d.ts +3 -1
  90. package/dist/api/types/ClientFacingResource.js +2 -0
  91. package/dist/api/types/ClientFacingSleepCycle.d.ts +9 -0
  92. package/dist/api/types/ClientFacingTimeseriesGroupClientFacingAFibBurdenSample.d.ts +8 -0
  93. package/dist/api/types/ClientFacingTimeseriesGroupClientFacingAFibBurdenSample.js +5 -0
  94. package/dist/api/types/ClientFacingTimeseriesGroupClientFacingHeartRateAlertSample.d.ts +8 -0
  95. package/dist/api/types/ClientFacingTimeseriesGroupClientFacingHeartRateAlertSample.js +5 -0
  96. package/dist/api/types/QueryInstructionSelectItem.d.ts +1 -1
  97. package/dist/api/types/TimeseriesResource.d.ts +3 -1
  98. package/dist/api/types/TimeseriesResource.js +2 -0
  99. package/dist/api/types/index.d.ts +8 -0
  100. package/dist/api/types/index.js +8 -0
  101. package/dist/serialization/types/AggregateExprArg.d.ts +2 -1
  102. package/dist/serialization/types/AggregateExprArg.js +2 -0
  103. package/dist/serialization/types/ChronotypeValueMacroExpr.d.ts +13 -0
  104. package/dist/serialization/types/ChronotypeValueMacroExpr.js +34 -0
  105. package/dist/serialization/types/ClientFacingAFibBurdenSample.d.ts +19 -0
  106. package/dist/serialization/types/ClientFacingAFibBurdenSample.js +40 -0
  107. package/dist/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingAFibBurdenSample.d.ts +15 -0
  108. package/dist/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingAFibBurdenSample.js +36 -0
  109. package/dist/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingHeartRateAlertSample.d.ts +15 -0
  110. package/dist/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingHeartRateAlertSample.js +36 -0
  111. package/dist/serialization/types/ClientFacingHeartRateAlertSample.d.ts +20 -0
  112. package/dist/serialization/types/ClientFacingHeartRateAlertSample.js +41 -0
  113. package/dist/serialization/types/ClientFacingHeartRateAlertSampleType.d.ts +10 -0
  114. package/dist/serialization/types/ClientFacingHeartRateAlertSampleType.js +31 -0
  115. package/dist/serialization/types/ClientFacingResource.d.ts +1 -1
  116. package/dist/serialization/types/ClientFacingResource.js +2 -0
  117. package/dist/serialization/types/ClientFacingTimeseriesGroupClientFacingAFibBurdenSample.d.ts +15 -0
  118. package/dist/serialization/types/ClientFacingTimeseriesGroupClientFacingAFibBurdenSample.js +36 -0
  119. package/dist/serialization/types/ClientFacingTimeseriesGroupClientFacingHeartRateAlertSample.d.ts +15 -0
  120. package/dist/serialization/types/ClientFacingTimeseriesGroupClientFacingHeartRateAlertSample.js +36 -0
  121. package/dist/serialization/types/QueryInstructionSelectItem.d.ts +2 -1
  122. package/dist/serialization/types/QueryInstructionSelectItem.js +2 -0
  123. package/dist/serialization/types/TimeseriesResource.d.ts +1 -1
  124. package/dist/serialization/types/TimeseriesResource.js +2 -0
  125. package/dist/serialization/types/index.d.ts +8 -0
  126. package/dist/serialization/types/index.js +8 -0
  127. package/dist/version.d.ts +1 -1
  128. package/dist/version.js +1 -1
  129. package/package.json +1 -1
  130. package/reference.md +116 -0
  131. package/serialization/types/AggregateExprArg.d.ts +2 -1
  132. package/serialization/types/AggregateExprArg.js +2 -0
  133. package/serialization/types/ChronotypeValueMacroExpr.d.ts +13 -0
  134. package/serialization/types/ChronotypeValueMacroExpr.js +34 -0
  135. package/serialization/types/ClientFacingAFibBurdenSample.d.ts +19 -0
  136. package/serialization/types/ClientFacingAFibBurdenSample.js +40 -0
  137. package/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingAFibBurdenSample.d.ts +15 -0
  138. package/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingAFibBurdenSample.js +36 -0
  139. package/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingHeartRateAlertSample.d.ts +15 -0
  140. package/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingHeartRateAlertSample.js +36 -0
  141. package/serialization/types/ClientFacingHeartRateAlertSample.d.ts +20 -0
  142. package/serialization/types/ClientFacingHeartRateAlertSample.js +41 -0
  143. package/serialization/types/ClientFacingHeartRateAlertSampleType.d.ts +10 -0
  144. package/serialization/types/ClientFacingHeartRateAlertSampleType.js +31 -0
  145. package/serialization/types/ClientFacingResource.d.ts +1 -1
  146. package/serialization/types/ClientFacingResource.js +2 -0
  147. package/serialization/types/ClientFacingTimeseriesGroupClientFacingAFibBurdenSample.d.ts +15 -0
  148. package/serialization/types/ClientFacingTimeseriesGroupClientFacingAFibBurdenSample.js +36 -0
  149. package/serialization/types/ClientFacingTimeseriesGroupClientFacingHeartRateAlertSample.d.ts +15 -0
  150. package/serialization/types/ClientFacingTimeseriesGroupClientFacingHeartRateAlertSample.js +36 -0
  151. package/serialization/types/QueryInstructionSelectItem.d.ts +2 -1
  152. package/serialization/types/QueryInstructionSelectItem.js +2 -0
  153. package/serialization/types/TimeseriesResource.d.ts +1 -1
  154. package/serialization/types/TimeseriesResource.js +2 -0
  155. package/serialization/types/index.d.ts +8 -0
  156. package/serialization/types/index.js +8 -0
  157. package/version.d.ts +1 -1
  158. package/version.js +1 -1
@@ -49,6 +49,166 @@ class Vitals {
49
49
  constructor(_options = {}) {
50
50
  this._options = _options;
51
51
  }
52
+ /**
53
+ * @param {string} userId
54
+ * @param {Vital.VitalsHeartRateAlertGroupedRequest} request
55
+ * @param {Vitals.RequestOptions} requestOptions - Request-specific configuration.
56
+ *
57
+ * @throws {@link Vital.UnprocessableEntityError}
58
+ *
59
+ * @example
60
+ * await client.vitals.heartRateAlertGrouped("user_id", {
61
+ * startDate: "start_date"
62
+ * })
63
+ */
64
+ heartRateAlertGrouped(userId, request, requestOptions) {
65
+ var _a;
66
+ return __awaiter(this, void 0, void 0, function* () {
67
+ const { cursor, nextCursor, provider, startDate, endDate } = request;
68
+ const _queryParams = {};
69
+ if (cursor != null) {
70
+ _queryParams["cursor"] = cursor;
71
+ }
72
+ if (nextCursor != null) {
73
+ _queryParams["next_cursor"] = nextCursor;
74
+ }
75
+ if (provider != null) {
76
+ _queryParams["provider"] = provider;
77
+ }
78
+ _queryParams["start_date"] = startDate;
79
+ if (endDate != null) {
80
+ _queryParams["end_date"] = endDate;
81
+ }
82
+ const _response = yield core.fetcher({
83
+ url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/heart_rate_alert/grouped`),
84
+ method: "GET",
85
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
86
+ contentType: "application/json",
87
+ queryParameters: _queryParams,
88
+ requestType: "json",
89
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
90
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
91
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
92
+ });
93
+ if (_response.ok) {
94
+ return serializers.ClientFacingGroupedTimeseriesResponseClientFacingHeartRateAlertSample.parseOrThrow(_response.body, {
95
+ unrecognizedObjectKeys: "passthrough",
96
+ allowUnrecognizedUnionMembers: true,
97
+ allowUnrecognizedEnumValues: true,
98
+ breadcrumbsPrefix: ["response"],
99
+ });
100
+ }
101
+ if (_response.error.reason === "status-code") {
102
+ switch (_response.error.statusCode) {
103
+ case 422:
104
+ throw new Vital.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
105
+ unrecognizedObjectKeys: "passthrough",
106
+ allowUnrecognizedUnionMembers: true,
107
+ allowUnrecognizedEnumValues: true,
108
+ breadcrumbsPrefix: ["response"],
109
+ }));
110
+ default:
111
+ throw new errors.VitalError({
112
+ statusCode: _response.error.statusCode,
113
+ body: _response.error.body,
114
+ });
115
+ }
116
+ }
117
+ switch (_response.error.reason) {
118
+ case "non-json":
119
+ throw new errors.VitalError({
120
+ statusCode: _response.error.statusCode,
121
+ body: _response.error.rawBody,
122
+ });
123
+ case "timeout":
124
+ throw new errors.VitalTimeoutError();
125
+ case "unknown":
126
+ throw new errors.VitalError({
127
+ message: _response.error.errorMessage,
128
+ });
129
+ }
130
+ });
131
+ }
132
+ /**
133
+ * @param {string} userId
134
+ * @param {Vital.VitalsAfibBurdenGroupedRequest} request
135
+ * @param {Vitals.RequestOptions} requestOptions - Request-specific configuration.
136
+ *
137
+ * @throws {@link Vital.UnprocessableEntityError}
138
+ *
139
+ * @example
140
+ * await client.vitals.afibBurdenGrouped("user_id", {
141
+ * startDate: "start_date"
142
+ * })
143
+ */
144
+ afibBurdenGrouped(userId, request, requestOptions) {
145
+ var _a;
146
+ return __awaiter(this, void 0, void 0, function* () {
147
+ const { cursor, nextCursor, provider, startDate, endDate } = request;
148
+ const _queryParams = {};
149
+ if (cursor != null) {
150
+ _queryParams["cursor"] = cursor;
151
+ }
152
+ if (nextCursor != null) {
153
+ _queryParams["next_cursor"] = nextCursor;
154
+ }
155
+ if (provider != null) {
156
+ _queryParams["provider"] = provider;
157
+ }
158
+ _queryParams["start_date"] = startDate;
159
+ if (endDate != null) {
160
+ _queryParams["end_date"] = endDate;
161
+ }
162
+ const _response = yield core.fetcher({
163
+ url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/afib_burden/grouped`),
164
+ method: "GET",
165
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
166
+ contentType: "application/json",
167
+ queryParameters: _queryParams,
168
+ requestType: "json",
169
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
170
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
171
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
172
+ });
173
+ if (_response.ok) {
174
+ return serializers.ClientFacingGroupedTimeseriesResponseClientFacingAFibBurdenSample.parseOrThrow(_response.body, {
175
+ unrecognizedObjectKeys: "passthrough",
176
+ allowUnrecognizedUnionMembers: true,
177
+ allowUnrecognizedEnumValues: true,
178
+ breadcrumbsPrefix: ["response"],
179
+ });
180
+ }
181
+ if (_response.error.reason === "status-code") {
182
+ switch (_response.error.statusCode) {
183
+ case 422:
184
+ throw new Vital.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
185
+ unrecognizedObjectKeys: "passthrough",
186
+ allowUnrecognizedUnionMembers: true,
187
+ allowUnrecognizedEnumValues: true,
188
+ breadcrumbsPrefix: ["response"],
189
+ }));
190
+ default:
191
+ throw new errors.VitalError({
192
+ statusCode: _response.error.statusCode,
193
+ body: _response.error.body,
194
+ });
195
+ }
196
+ }
197
+ switch (_response.error.reason) {
198
+ case "non-json":
199
+ throw new errors.VitalError({
200
+ statusCode: _response.error.statusCode,
201
+ body: _response.error.rawBody,
202
+ });
203
+ case "timeout":
204
+ throw new errors.VitalTimeoutError();
205
+ case "unknown":
206
+ throw new errors.VitalError({
207
+ message: _response.error.errorMessage,
208
+ });
209
+ }
210
+ });
211
+ }
52
212
  /**
53
213
  * @param {string} userId
54
214
  * @param {Vital.VitalsWorkoutDurationGroupedRequest} request
@@ -82,7 +242,7 @@ class Vitals {
82
242
  const _response = yield core.fetcher({
83
243
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/workout_duration/grouped`),
84
244
  method: "GET",
85
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "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.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
86
246
  contentType: "application/json",
87
247
  queryParameters: _queryParams,
88
248
  requestType: "json",
@@ -162,7 +322,7 @@ class Vitals {
162
322
  const _response = yield core.fetcher({
163
323
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/vo2_max/grouped`),
164
324
  method: "GET",
165
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
325
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
166
326
  contentType: "application/json",
167
327
  queryParameters: _queryParams,
168
328
  requestType: "json",
@@ -242,7 +402,7 @@ class Vitals {
242
402
  const _response = yield core.fetcher({
243
403
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/stress_level/grouped`),
244
404
  method: "GET",
245
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
405
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
246
406
  contentType: "application/json",
247
407
  queryParameters: _queryParams,
248
408
  requestType: "json",
@@ -322,7 +482,7 @@ class Vitals {
322
482
  const _response = yield core.fetcher({
323
483
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/mindfulness_minutes/grouped`),
324
484
  method: "GET",
325
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
485
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
326
486
  contentType: "application/json",
327
487
  queryParameters: _queryParams,
328
488
  requestType: "json",
@@ -402,7 +562,7 @@ class Vitals {
402
562
  const _response = yield core.fetcher({
403
563
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/caffeine/grouped`),
404
564
  method: "GET",
405
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
565
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
406
566
  contentType: "application/json",
407
567
  queryParameters: _queryParams,
408
568
  requestType: "json",
@@ -482,7 +642,7 @@ class Vitals {
482
642
  const _response = yield core.fetcher({
483
643
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/water/grouped`),
484
644
  method: "GET",
485
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
645
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
486
646
  contentType: "application/json",
487
647
  queryParameters: _queryParams,
488
648
  requestType: "json",
@@ -562,7 +722,7 @@ class Vitals {
562
722
  const _response = yield core.fetcher({
563
723
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/steps/grouped`),
564
724
  method: "GET",
565
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
725
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
566
726
  contentType: "application/json",
567
727
  queryParameters: _queryParams,
568
728
  requestType: "json",
@@ -642,7 +802,7 @@ class Vitals {
642
802
  const _response = yield core.fetcher({
643
803
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/floors_climbed/grouped`),
644
804
  method: "GET",
645
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
805
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
646
806
  contentType: "application/json",
647
807
  queryParameters: _queryParams,
648
808
  requestType: "json",
@@ -722,7 +882,7 @@ class Vitals {
722
882
  const _response = yield core.fetcher({
723
883
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/distance/grouped`),
724
884
  method: "GET",
725
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
885
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
726
886
  contentType: "application/json",
727
887
  queryParameters: _queryParams,
728
888
  requestType: "json",
@@ -802,7 +962,7 @@ class Vitals {
802
962
  const _response = yield core.fetcher({
803
963
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/calories_basal/grouped`),
804
964
  method: "GET",
805
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
965
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
806
966
  contentType: "application/json",
807
967
  queryParameters: _queryParams,
808
968
  requestType: "json",
@@ -882,7 +1042,7 @@ class Vitals {
882
1042
  const _response = yield core.fetcher({
883
1043
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/calories_active/grouped`),
884
1044
  method: "GET",
885
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1045
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
886
1046
  contentType: "application/json",
887
1047
  queryParameters: _queryParams,
888
1048
  requestType: "json",
@@ -962,7 +1122,7 @@ class Vitals {
962
1122
  const _response = yield core.fetcher({
963
1123
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/respiratory_rate/grouped`),
964
1124
  method: "GET",
965
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1125
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
966
1126
  contentType: "application/json",
967
1127
  queryParameters: _queryParams,
968
1128
  requestType: "json",
@@ -1042,7 +1202,7 @@ class Vitals {
1042
1202
  const _response = yield core.fetcher({
1043
1203
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/note/grouped`),
1044
1204
  method: "GET",
1045
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1205
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1046
1206
  contentType: "application/json",
1047
1207
  queryParameters: _queryParams,
1048
1208
  requestType: "json",
@@ -1122,7 +1282,7 @@ class Vitals {
1122
1282
  const _response = yield core.fetcher({
1123
1283
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/insulin_injection/grouped`),
1124
1284
  method: "GET",
1125
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1285
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1126
1286
  contentType: "application/json",
1127
1287
  queryParameters: _queryParams,
1128
1288
  requestType: "json",
@@ -1202,7 +1362,7 @@ class Vitals {
1202
1362
  const _response = yield core.fetcher({
1203
1363
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/ige/grouped`),
1204
1364
  method: "GET",
1205
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1365
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1206
1366
  contentType: "application/json",
1207
1367
  queryParameters: _queryParams,
1208
1368
  requestType: "json",
@@ -1282,7 +1442,7 @@ class Vitals {
1282
1442
  const _response = yield core.fetcher({
1283
1443
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/igg/grouped`),
1284
1444
  method: "GET",
1285
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1445
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1286
1446
  contentType: "application/json",
1287
1447
  queryParameters: _queryParams,
1288
1448
  requestType: "json",
@@ -1362,7 +1522,7 @@ class Vitals {
1362
1522
  const _response = yield core.fetcher({
1363
1523
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/hypnogram/grouped`),
1364
1524
  method: "GET",
1365
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1525
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1366
1526
  contentType: "application/json",
1367
1527
  queryParameters: _queryParams,
1368
1528
  requestType: "json",
@@ -1442,7 +1602,7 @@ class Vitals {
1442
1602
  const _response = yield core.fetcher({
1443
1603
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/hrv/grouped`),
1444
1604
  method: "GET",
1445
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1605
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1446
1606
  contentType: "application/json",
1447
1607
  queryParameters: _queryParams,
1448
1608
  requestType: "json",
@@ -1522,7 +1682,7 @@ class Vitals {
1522
1682
  const _response = yield core.fetcher({
1523
1683
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/heartrate/grouped`),
1524
1684
  method: "GET",
1525
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1685
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1526
1686
  contentType: "application/json",
1527
1687
  queryParameters: _queryParams,
1528
1688
  requestType: "json",
@@ -1602,7 +1762,7 @@ class Vitals {
1602
1762
  const _response = yield core.fetcher({
1603
1763
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/glucose/grouped`),
1604
1764
  method: "GET",
1605
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1765
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1606
1766
  contentType: "application/json",
1607
1767
  queryParameters: _queryParams,
1608
1768
  requestType: "json",
@@ -1682,7 +1842,7 @@ class Vitals {
1682
1842
  const _response = yield core.fetcher({
1683
1843
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/cholesterol/grouped`),
1684
1844
  method: "GET",
1685
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1845
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1686
1846
  contentType: "application/json",
1687
1847
  queryParameters: _queryParams,
1688
1848
  requestType: "json",
@@ -1762,7 +1922,7 @@ class Vitals {
1762
1922
  const _response = yield core.fetcher({
1763
1923
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/carbohydrates/grouped`),
1764
1924
  method: "GET",
1765
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1925
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1766
1926
  contentType: "application/json",
1767
1927
  queryParameters: _queryParams,
1768
1928
  requestType: "json",
@@ -1842,7 +2002,7 @@ class Vitals {
1842
2002
  const _response = yield core.fetcher({
1843
2003
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/body_temperature_delta/grouped`),
1844
2004
  method: "GET",
1845
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2005
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1846
2006
  contentType: "application/json",
1847
2007
  queryParameters: _queryParams,
1848
2008
  requestType: "json",
@@ -1922,7 +2082,7 @@ class Vitals {
1922
2082
  const _response = yield core.fetcher({
1923
2083
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/body_temperature/grouped`),
1924
2084
  method: "GET",
1925
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2085
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
1926
2086
  contentType: "application/json",
1927
2087
  queryParameters: _queryParams,
1928
2088
  requestType: "json",
@@ -2002,7 +2162,7 @@ class Vitals {
2002
2162
  const _response = yield core.fetcher({
2003
2163
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/body_weight/grouped`),
2004
2164
  method: "GET",
2005
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2165
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2006
2166
  contentType: "application/json",
2007
2167
  queryParameters: _queryParams,
2008
2168
  requestType: "json",
@@ -2082,7 +2242,7 @@ class Vitals {
2082
2242
  const _response = yield core.fetcher({
2083
2243
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/body_fat/grouped`),
2084
2244
  method: "GET",
2085
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2245
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2086
2246
  contentType: "application/json",
2087
2247
  queryParameters: _queryParams,
2088
2248
  requestType: "json",
@@ -2162,7 +2322,7 @@ class Vitals {
2162
2322
  const _response = yield core.fetcher({
2163
2323
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/blood_oxygen/grouped`),
2164
2324
  method: "GET",
2165
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2325
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2166
2326
  contentType: "application/json",
2167
2327
  queryParameters: _queryParams,
2168
2328
  requestType: "json",
@@ -2242,7 +2402,7 @@ class Vitals {
2242
2402
  const _response = yield core.fetcher({
2243
2403
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/electrocardiogram_voltage/grouped`),
2244
2404
  method: "GET",
2245
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2405
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2246
2406
  contentType: "application/json",
2247
2407
  queryParameters: _queryParams,
2248
2408
  requestType: "json",
@@ -2322,7 +2482,7 @@ class Vitals {
2322
2482
  const _response = yield core.fetcher({
2323
2483
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/blood_pressure/grouped`),
2324
2484
  method: "GET",
2325
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2485
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2326
2486
  contentType: "application/json",
2327
2487
  queryParameters: _queryParams,
2328
2488
  requestType: "json",
@@ -2396,7 +2556,7 @@ class Vitals {
2396
2556
  const _response = yield core.fetcher({
2397
2557
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/vo2_max`),
2398
2558
  method: "GET",
2399
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2559
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2400
2560
  contentType: "application/json",
2401
2561
  queryParameters: _queryParams,
2402
2562
  requestType: "json",
@@ -2470,7 +2630,7 @@ class Vitals {
2470
2630
  const _response = yield core.fetcher({
2471
2631
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/stress_level`),
2472
2632
  method: "GET",
2473
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2633
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2474
2634
  contentType: "application/json",
2475
2635
  queryParameters: _queryParams,
2476
2636
  requestType: "json",
@@ -2544,7 +2704,7 @@ class Vitals {
2544
2704
  const _response = yield core.fetcher({
2545
2705
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/mindfulness_minutes`),
2546
2706
  method: "GET",
2547
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2707
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2548
2708
  contentType: "application/json",
2549
2709
  queryParameters: _queryParams,
2550
2710
  requestType: "json",
@@ -2618,7 +2778,7 @@ class Vitals {
2618
2778
  const _response = yield core.fetcher({
2619
2779
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/caffeine`),
2620
2780
  method: "GET",
2621
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2781
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2622
2782
  contentType: "application/json",
2623
2783
  queryParameters: _queryParams,
2624
2784
  requestType: "json",
@@ -2692,7 +2852,7 @@ class Vitals {
2692
2852
  const _response = yield core.fetcher({
2693
2853
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/water`),
2694
2854
  method: "GET",
2695
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2855
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2696
2856
  contentType: "application/json",
2697
2857
  queryParameters: _queryParams,
2698
2858
  requestType: "json",
@@ -2766,7 +2926,7 @@ class Vitals {
2766
2926
  const _response = yield core.fetcher({
2767
2927
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/steps`),
2768
2928
  method: "GET",
2769
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2929
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2770
2930
  contentType: "application/json",
2771
2931
  queryParameters: _queryParams,
2772
2932
  requestType: "json",
@@ -2840,7 +3000,7 @@ class Vitals {
2840
3000
  const _response = yield core.fetcher({
2841
3001
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/floors_climbed`),
2842
3002
  method: "GET",
2843
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3003
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2844
3004
  contentType: "application/json",
2845
3005
  queryParameters: _queryParams,
2846
3006
  requestType: "json",
@@ -2914,7 +3074,7 @@ class Vitals {
2914
3074
  const _response = yield core.fetcher({
2915
3075
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/distance`),
2916
3076
  method: "GET",
2917
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3077
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2918
3078
  contentType: "application/json",
2919
3079
  queryParameters: _queryParams,
2920
3080
  requestType: "json",
@@ -2988,7 +3148,7 @@ class Vitals {
2988
3148
  const _response = yield core.fetcher({
2989
3149
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/calories_basal`),
2990
3150
  method: "GET",
2991
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3151
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
2992
3152
  contentType: "application/json",
2993
3153
  queryParameters: _queryParams,
2994
3154
  requestType: "json",
@@ -3062,7 +3222,7 @@ class Vitals {
3062
3222
  const _response = yield core.fetcher({
3063
3223
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/calories_active`),
3064
3224
  method: "GET",
3065
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3225
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3066
3226
  contentType: "application/json",
3067
3227
  queryParameters: _queryParams,
3068
3228
  requestType: "json",
@@ -3136,7 +3296,7 @@ class Vitals {
3136
3296
  const _response = yield core.fetcher({
3137
3297
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/respiratory_rate`),
3138
3298
  method: "GET",
3139
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3299
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3140
3300
  contentType: "application/json",
3141
3301
  queryParameters: _queryParams,
3142
3302
  requestType: "json",
@@ -3210,7 +3370,7 @@ class Vitals {
3210
3370
  const _response = yield core.fetcher({
3211
3371
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/ige`),
3212
3372
  method: "GET",
3213
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3373
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3214
3374
  contentType: "application/json",
3215
3375
  queryParameters: _queryParams,
3216
3376
  requestType: "json",
@@ -3284,7 +3444,7 @@ class Vitals {
3284
3444
  const _response = yield core.fetcher({
3285
3445
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/igg`),
3286
3446
  method: "GET",
3287
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3447
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3288
3448
  contentType: "application/json",
3289
3449
  queryParameters: _queryParams,
3290
3450
  requestType: "json",
@@ -3358,7 +3518,7 @@ class Vitals {
3358
3518
  const _response = yield core.fetcher({
3359
3519
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/hypnogram`),
3360
3520
  method: "GET",
3361
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3521
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3362
3522
  contentType: "application/json",
3363
3523
  queryParameters: _queryParams,
3364
3524
  requestType: "json",
@@ -3432,7 +3592,7 @@ class Vitals {
3432
3592
  const _response = yield core.fetcher({
3433
3593
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/hrv`),
3434
3594
  method: "GET",
3435
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3595
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3436
3596
  contentType: "application/json",
3437
3597
  queryParameters: _queryParams,
3438
3598
  requestType: "json",
@@ -3506,7 +3666,7 @@ class Vitals {
3506
3666
  const _response = yield core.fetcher({
3507
3667
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/heartrate`),
3508
3668
  method: "GET",
3509
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3669
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3510
3670
  contentType: "application/json",
3511
3671
  queryParameters: _queryParams,
3512
3672
  requestType: "json",
@@ -3580,7 +3740,7 @@ class Vitals {
3580
3740
  const _response = yield core.fetcher({
3581
3741
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/glucose`),
3582
3742
  method: "GET",
3583
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3743
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3584
3744
  contentType: "application/json",
3585
3745
  queryParameters: _queryParams,
3586
3746
  requestType: "json",
@@ -3654,7 +3814,7 @@ class Vitals {
3654
3814
  const _response = yield core.fetcher({
3655
3815
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/cholesterol/triglycerides`),
3656
3816
  method: "GET",
3657
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3817
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3658
3818
  contentType: "application/json",
3659
3819
  queryParameters: _queryParams,
3660
3820
  requestType: "json",
@@ -3728,7 +3888,7 @@ class Vitals {
3728
3888
  const _response = yield core.fetcher({
3729
3889
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/cholesterol/total`),
3730
3890
  method: "GET",
3731
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3891
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3732
3892
  contentType: "application/json",
3733
3893
  queryParameters: _queryParams,
3734
3894
  requestType: "json",
@@ -3802,7 +3962,7 @@ class Vitals {
3802
3962
  const _response = yield core.fetcher({
3803
3963
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/cholesterol/ldl`),
3804
3964
  method: "GET",
3805
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3965
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3806
3966
  contentType: "application/json",
3807
3967
  queryParameters: _queryParams,
3808
3968
  requestType: "json",
@@ -3876,7 +4036,7 @@ class Vitals {
3876
4036
  const _response = yield core.fetcher({
3877
4037
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/cholesterol/hdl`),
3878
4038
  method: "GET",
3879
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
4039
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3880
4040
  contentType: "application/json",
3881
4041
  queryParameters: _queryParams,
3882
4042
  requestType: "json",
@@ -3950,7 +4110,7 @@ class Vitals {
3950
4110
  const _response = yield core.fetcher({
3951
4111
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/cholesterol`),
3952
4112
  method: "GET",
3953
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
4113
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
3954
4114
  contentType: "application/json",
3955
4115
  queryParameters: _queryParams,
3956
4116
  requestType: "json",
@@ -4024,7 +4184,7 @@ class Vitals {
4024
4184
  const _response = yield core.fetcher({
4025
4185
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/body_weight`),
4026
4186
  method: "GET",
4027
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
4187
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
4028
4188
  contentType: "application/json",
4029
4189
  queryParameters: _queryParams,
4030
4190
  requestType: "json",
@@ -4098,7 +4258,7 @@ class Vitals {
4098
4258
  const _response = yield core.fetcher({
4099
4259
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/body_fat`),
4100
4260
  method: "GET",
4101
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
4261
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
4102
4262
  contentType: "application/json",
4103
4263
  queryParameters: _queryParams,
4104
4264
  requestType: "json",
@@ -4172,7 +4332,7 @@ class Vitals {
4172
4332
  const _response = yield core.fetcher({
4173
4333
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/blood_oxygen`),
4174
4334
  method: "GET",
4175
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
4335
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
4176
4336
  contentType: "application/json",
4177
4337
  queryParameters: _queryParams,
4178
4338
  requestType: "json",
@@ -4246,7 +4406,7 @@ class Vitals {
4246
4406
  const _response = yield core.fetcher({
4247
4407
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/electrocardiogram_voltage`),
4248
4408
  method: "GET",
4249
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
4409
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
4250
4410
  contentType: "application/json",
4251
4411
  queryParameters: _queryParams,
4252
4412
  requestType: "json",
@@ -4320,7 +4480,7 @@ class Vitals {
4320
4480
  const _response = yield core.fetcher({
4321
4481
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/blood_pressure`),
4322
4482
  method: "GET",
4323
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.134", "User-Agent": "@tryvital/vital-node/3.1.134", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
4483
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.136", "User-Agent": "@tryvital/vital-node/3.1.136", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
4324
4484
  contentType: "application/json",
4325
4485
  queryParameters: _queryParams,
4326
4486
  requestType: "json",