@tryvital/vital-node 3.1.490 → 3.1.492

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 (166) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +7 -2
  3. package/api/resources/activity/client/Client.js +2 -2
  4. package/api/resources/aggregate/client/Client.js +3 -3
  5. package/api/resources/body/client/Client.js +2 -2
  6. package/api/resources/devices/client/Client.js +1 -1
  7. package/api/resources/electrocardiogram/client/Client.js +1 -1
  8. package/api/resources/index.d.ts +2 -0
  9. package/api/resources/index.js +3 -1
  10. package/api/resources/insurance/client/Client.js +3 -3
  11. package/api/resources/introspect/client/Client.js +2 -2
  12. package/api/resources/labReport/client/Client.d.ts +61 -0
  13. package/api/resources/labReport/client/Client.js +198 -0
  14. package/api/resources/labReport/client/index.d.ts +1 -0
  15. package/api/resources/labReport/client/index.js +17 -0
  16. package/api/resources/labReport/client/requests/BodyCreateLabReportParserJob.d.ts +10 -0
  17. package/api/resources/labReport/client/requests/BodyCreateLabReportParserJob.js +5 -0
  18. package/api/resources/labReport/client/requests/ParserGetJobLabReportRequest.d.ts +9 -0
  19. package/api/resources/labReport/client/requests/ParserGetJobLabReportRequest.js +5 -0
  20. package/api/resources/labReport/client/requests/index.d.ts +2 -0
  21. package/api/resources/labReport/client/requests/index.js +2 -0
  22. package/api/resources/labReport/index.d.ts +1 -0
  23. package/api/resources/labReport/index.js +17 -0
  24. package/api/resources/labTests/client/Client.js +42 -42
  25. package/api/resources/link/client/Client.js +19 -19
  26. package/api/resources/meal/client/Client.js +1 -1
  27. package/api/resources/menstrualCycle/client/Client.js +1 -1
  28. package/api/resources/order/client/Client.js +1 -1
  29. package/api/resources/payor/client/Client.js +1 -1
  30. package/api/resources/profile/client/Client.js +2 -2
  31. package/api/resources/providers/client/Client.js +1 -1
  32. package/api/resources/sleep/client/Client.js +3 -3
  33. package/api/resources/sleepCycle/client/Client.js +1 -1
  34. package/api/resources/team/client/Client.js +7 -7
  35. package/api/resources/testkit/client/Client.js +2 -2
  36. package/api/resources/user/client/Client.js +19 -19
  37. package/api/resources/vitals/client/Client.js +78 -78
  38. package/api/resources/workouts/client/Client.js +3 -3
  39. package/api/types/Interpretation.d.ts +2 -1
  40. package/api/types/Interpretation.js +1 -0
  41. package/api/types/LabReportResult.d.ts +17 -0
  42. package/api/types/LabReportResult.js +5 -0
  43. package/api/types/LabReportResultType.d.ts +16 -0
  44. package/api/types/LabReportResultType.js +15 -0
  45. package/api/types/LoincMatch.d.ts +10 -0
  46. package/api/types/LoincMatch.js +5 -0
  47. package/api/types/ParsedLabReportData.d.ts +8 -0
  48. package/api/types/ParsedLabReportData.js +5 -0
  49. package/api/types/ParsingJob.d.ts +11 -0
  50. package/api/types/ParsingJob.js +5 -0
  51. package/api/types/ParsingJobStatus.d.ts +13 -0
  52. package/api/types/ParsingJobStatus.js +12 -0
  53. package/api/types/ResultMetadata.d.ts +12 -0
  54. package/api/types/ResultMetadata.js +5 -0
  55. package/api/types/index.d.ts +7 -0
  56. package/api/types/index.js +7 -0
  57. package/core/form-data-utils/FormDataWrapper.d.ts +60 -0
  58. package/core/form-data-utils/FormDataWrapper.js +174 -0
  59. package/core/form-data-utils/index.d.ts +1 -0
  60. package/core/form-data-utils/index.js +17 -0
  61. package/core/index.d.ts +1 -0
  62. package/core/index.js +1 -0
  63. package/dist/Client.d.ts +3 -0
  64. package/dist/Client.js +7 -2
  65. package/dist/api/resources/activity/client/Client.js +2 -2
  66. package/dist/api/resources/aggregate/client/Client.js +3 -3
  67. package/dist/api/resources/body/client/Client.js +2 -2
  68. package/dist/api/resources/devices/client/Client.js +1 -1
  69. package/dist/api/resources/electrocardiogram/client/Client.js +1 -1
  70. package/dist/api/resources/index.d.ts +2 -0
  71. package/dist/api/resources/index.js +3 -1
  72. package/dist/api/resources/insurance/client/Client.js +3 -3
  73. package/dist/api/resources/introspect/client/Client.js +2 -2
  74. package/dist/api/resources/labReport/client/Client.d.ts +61 -0
  75. package/dist/api/resources/labReport/client/Client.js +198 -0
  76. package/dist/api/resources/labReport/client/index.d.ts +1 -0
  77. package/dist/api/resources/labReport/client/index.js +17 -0
  78. package/dist/api/resources/labReport/client/requests/BodyCreateLabReportParserJob.d.ts +10 -0
  79. package/dist/api/resources/labReport/client/requests/BodyCreateLabReportParserJob.js +5 -0
  80. package/dist/api/resources/labReport/client/requests/ParserGetJobLabReportRequest.d.ts +9 -0
  81. package/dist/api/resources/labReport/client/requests/ParserGetJobLabReportRequest.js +5 -0
  82. package/dist/api/resources/labReport/client/requests/index.d.ts +2 -0
  83. package/dist/api/resources/labReport/client/requests/index.js +2 -0
  84. package/dist/api/resources/labReport/index.d.ts +1 -0
  85. package/dist/api/resources/labReport/index.js +17 -0
  86. package/dist/api/resources/labTests/client/Client.js +42 -42
  87. package/dist/api/resources/link/client/Client.js +19 -19
  88. package/dist/api/resources/meal/client/Client.js +1 -1
  89. package/dist/api/resources/menstrualCycle/client/Client.js +1 -1
  90. package/dist/api/resources/order/client/Client.js +1 -1
  91. package/dist/api/resources/payor/client/Client.js +1 -1
  92. package/dist/api/resources/profile/client/Client.js +2 -2
  93. package/dist/api/resources/providers/client/Client.js +1 -1
  94. package/dist/api/resources/sleep/client/Client.js +3 -3
  95. package/dist/api/resources/sleepCycle/client/Client.js +1 -1
  96. package/dist/api/resources/team/client/Client.js +7 -7
  97. package/dist/api/resources/testkit/client/Client.js +2 -2
  98. package/dist/api/resources/user/client/Client.js +19 -19
  99. package/dist/api/resources/vitals/client/Client.js +78 -78
  100. package/dist/api/resources/workouts/client/Client.js +3 -3
  101. package/dist/api/types/Interpretation.d.ts +2 -1
  102. package/dist/api/types/Interpretation.js +1 -0
  103. package/dist/api/types/LabReportResult.d.ts +17 -0
  104. package/dist/api/types/LabReportResult.js +5 -0
  105. package/dist/api/types/LabReportResultType.d.ts +16 -0
  106. package/dist/api/types/LabReportResultType.js +15 -0
  107. package/dist/api/types/LoincMatch.d.ts +10 -0
  108. package/dist/api/types/LoincMatch.js +5 -0
  109. package/dist/api/types/ParsedLabReportData.d.ts +8 -0
  110. package/dist/api/types/ParsedLabReportData.js +5 -0
  111. package/dist/api/types/ParsingJob.d.ts +11 -0
  112. package/dist/api/types/ParsingJob.js +5 -0
  113. package/dist/api/types/ParsingJobStatus.d.ts +13 -0
  114. package/dist/api/types/ParsingJobStatus.js +12 -0
  115. package/dist/api/types/ResultMetadata.d.ts +12 -0
  116. package/dist/api/types/ResultMetadata.js +5 -0
  117. package/dist/api/types/index.d.ts +7 -0
  118. package/dist/api/types/index.js +7 -0
  119. package/dist/core/form-data-utils/FormDataWrapper.d.ts +60 -0
  120. package/dist/core/form-data-utils/FormDataWrapper.js +174 -0
  121. package/dist/core/form-data-utils/index.d.ts +1 -0
  122. package/dist/core/form-data-utils/index.js +17 -0
  123. package/dist/core/index.d.ts +1 -0
  124. package/dist/core/index.js +1 -0
  125. package/dist/serialization/types/Interpretation.d.ts +1 -1
  126. package/dist/serialization/types/Interpretation.js +1 -1
  127. package/dist/serialization/types/LabReportResult.d.ts +25 -0
  128. package/dist/serialization/types/LabReportResult.js +46 -0
  129. package/dist/serialization/types/LabReportResultType.d.ts +10 -0
  130. package/dist/serialization/types/LabReportResultType.js +31 -0
  131. package/dist/serialization/types/LoincMatch.d.ts +16 -0
  132. package/dist/serialization/types/LoincMatch.js +37 -0
  133. package/dist/serialization/types/ParsedLabReportData.d.ts +15 -0
  134. package/dist/serialization/types/ParsedLabReportData.js +36 -0
  135. package/dist/serialization/types/ParsingJob.d.ts +18 -0
  136. package/dist/serialization/types/ParsingJob.js +39 -0
  137. package/dist/serialization/types/ParsingJobStatus.d.ts +10 -0
  138. package/dist/serialization/types/ParsingJobStatus.js +31 -0
  139. package/dist/serialization/types/ResultMetadata.d.ts +18 -0
  140. package/dist/serialization/types/ResultMetadata.js +39 -0
  141. package/dist/serialization/types/index.d.ts +7 -0
  142. package/dist/serialization/types/index.js +7 -0
  143. package/dist/version.d.ts +1 -1
  144. package/dist/version.js +1 -1
  145. package/package.json +3 -2
  146. package/reference.md +148 -0
  147. package/serialization/types/Interpretation.d.ts +1 -1
  148. package/serialization/types/Interpretation.js +1 -1
  149. package/serialization/types/LabReportResult.d.ts +25 -0
  150. package/serialization/types/LabReportResult.js +46 -0
  151. package/serialization/types/LabReportResultType.d.ts +10 -0
  152. package/serialization/types/LabReportResultType.js +31 -0
  153. package/serialization/types/LoincMatch.d.ts +16 -0
  154. package/serialization/types/LoincMatch.js +37 -0
  155. package/serialization/types/ParsedLabReportData.d.ts +15 -0
  156. package/serialization/types/ParsedLabReportData.js +36 -0
  157. package/serialization/types/ParsingJob.d.ts +18 -0
  158. package/serialization/types/ParsingJob.js +39 -0
  159. package/serialization/types/ParsingJobStatus.d.ts +10 -0
  160. package/serialization/types/ParsingJobStatus.js +31 -0
  161. package/serialization/types/ResultMetadata.d.ts +18 -0
  162. package/serialization/types/ResultMetadata.js +39 -0
  163. package/serialization/types/index.d.ts +7 -0
  164. package/serialization/types/index.js +7 -0
  165. package/version.d.ts +1 -1
  166. package/version.js +1 -1
package/Client.d.ts CHANGED
@@ -24,6 +24,7 @@ import { Testkit } from "./api/resources/testkit/client/Client";
24
24
  import { Order } from "./api/resources/order/client/Client";
25
25
  import { Insurance } from "./api/resources/insurance/client/Client";
26
26
  import { Payor } from "./api/resources/payor/client/Client";
27
+ import { LabReport } from "./api/resources/labReport/client/Client";
27
28
  import { Aggregate } from "./api/resources/aggregate/client/Client";
28
29
  export declare namespace VitalClient {
29
30
  interface Options {
@@ -84,6 +85,8 @@ export declare class VitalClient {
84
85
  get insurance(): Insurance;
85
86
  protected _payor: Payor | undefined;
86
87
  get payor(): Payor;
88
+ protected _labReport: LabReport | undefined;
89
+ get labReport(): LabReport;
87
90
  protected _aggregate: Aggregate | undefined;
88
91
  get aggregate(): Aggregate;
89
92
  }
package/Client.js CHANGED
@@ -25,7 +25,8 @@ const Client_18 = require("./api/resources/testkit/client/Client");
25
25
  const Client_19 = require("./api/resources/order/client/Client");
26
26
  const Client_20 = require("./api/resources/insurance/client/Client");
27
27
  const Client_21 = require("./api/resources/payor/client/Client");
28
- const Client_22 = require("./api/resources/aggregate/client/Client");
28
+ const Client_22 = require("./api/resources/labReport/client/Client");
29
+ const Client_23 = require("./api/resources/aggregate/client/Client");
29
30
  class VitalClient {
30
31
  constructor(_options = {}) {
31
32
  this._options = _options;
@@ -114,9 +115,13 @@ class VitalClient {
114
115
  var _a;
115
116
  return ((_a = this._payor) !== null && _a !== void 0 ? _a : (this._payor = new Client_21.Payor(this._options)));
116
117
  }
118
+ get labReport() {
119
+ var _a;
120
+ return ((_a = this._labReport) !== null && _a !== void 0 ? _a : (this._labReport = new Client_22.LabReport(this._options)));
121
+ }
117
122
  get aggregate() {
118
123
  var _a;
119
- return ((_a = this._aggregate) !== null && _a !== void 0 ? _a : (this._aggregate = new Client_22.Aggregate(this._options)));
124
+ return ((_a = this._aggregate) !== null && _a !== void 0 ? _a : (this._aggregate = new Client_23.Aggregate(this._options)));
120
125
  }
121
126
  }
122
127
  exports.VitalClient = VitalClient;
@@ -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.490", "User-Agent": "@tryvital/vital-node/3.1.490", "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.492", "User-Agent": "@tryvital/vital-node/3.1.492", "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.490", "User-Agent": "@tryvital/vital-node/3.1.490", "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.492", "User-Agent": "@tryvital/vital-node/3.1.492", "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.490", "User-Agent": "@tryvital/vital-node/3.1.490", "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.492", "User-Agent": "@tryvital/vital-node/3.1.492", "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" }),
@@ -145,7 +145,7 @@ class Aggregate {
145
145
  const _response = yield core.fetcher({
146
146
  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`),
147
147
  method: "GET",
148
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.490", "User-Agent": "@tryvital/vital-node/3.1.490", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, accept: "*/*" }, (yield this._getCustomAuthorizationHeaders())),
148
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.492", "User-Agent": "@tryvital/vital-node/3.1.492", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, accept: "*/*" }, (yield this._getCustomAuthorizationHeaders())),
149
149
  contentType: "application/json",
150
150
  requestType: "json",
151
151
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -216,7 +216,7 @@ class Aggregate {
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, `aggregate/v1/user/${encodeURIComponent(userId)}/continuous_query/${encodeURIComponent(queryIdOrSlug)}/task_history`),
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.490", "User-Agent": "@tryvital/vital-node/3.1.490", "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.492", "User-Agent": "@tryvital/vital-node/3.1.492", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
220
220
  contentType: "application/json",
221
221
  queryParameters: _queryParams,
222
222
  requestType: "json",
@@ -78,7 +78,7 @@ class Body {
78
78
  const _response = yield core.fetcher({
79
79
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/body/${encodeURIComponent(userId)}`),
80
80
  method: "GET",
81
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.490", "User-Agent": "@tryvital/vital-node/3.1.490", "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.492", "User-Agent": "@tryvital/vital-node/3.1.492", "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.490", "User-Agent": "@tryvital/vital-node/3.1.490", "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.492", "User-Agent": "@tryvital/vital-node/3.1.492", "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.490", "User-Agent": "@tryvital/vital-node/3.1.490", "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.492", "User-Agent": "@tryvital/vital-node/3.1.492", "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.490", "User-Agent": "@tryvital/vital-node/3.1.490", "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.492", "User-Agent": "@tryvital/vital-node/3.1.492", "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",
@@ -25,6 +25,7 @@ export * as testkit from "./testkit";
25
25
  export * as order from "./order";
26
26
  export * as insurance from "./insurance";
27
27
  export * as payor from "./payor";
28
+ export * as labReport from "./labReport";
28
29
  export * from "./link/client/requests";
29
30
  export * from "./electrocardiogram/client/requests";
30
31
  export * from "./sleepCycle/client/requests";
@@ -46,4 +47,5 @@ export * from "./testkit/client/requests";
46
47
  export * from "./order/client/requests";
47
48
  export * from "./insurance/client/requests";
48
49
  export * from "./payor/client/requests";
50
+ export * from "./labReport/client/requests";
49
51
  export * from "./aggregate/client/requests";
@@ -26,7 +26,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
26
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.payor = exports.insurance = exports.order = exports.testkit = exports.providers = exports.team = exports.vitals = exports.menstrualCycle = exports.meal = exports.body = exports.sleep = exports.workouts = exports.activity = exports.devices = exports.profile = exports.sleepCycle = exports.electrocardiogram = exports.aggregate = exports.labTests = exports.introspect = exports.user = exports.link = void 0;
29
+ exports.labReport = exports.payor = exports.insurance = exports.order = exports.testkit = exports.providers = exports.team = exports.vitals = exports.menstrualCycle = exports.meal = exports.body = exports.sleep = exports.workouts = exports.activity = exports.devices = exports.profile = exports.sleepCycle = exports.electrocardiogram = exports.aggregate = exports.labTests = exports.introspect = exports.user = exports.link = void 0;
30
30
  exports.link = __importStar(require("./link"));
31
31
  __exportStar(require("./link/types"), exports);
32
32
  exports.user = __importStar(require("./user"));
@@ -54,6 +54,7 @@ exports.testkit = __importStar(require("./testkit"));
54
54
  exports.order = __importStar(require("./order"));
55
55
  exports.insurance = __importStar(require("./insurance"));
56
56
  exports.payor = __importStar(require("./payor"));
57
+ exports.labReport = __importStar(require("./labReport"));
57
58
  __exportStar(require("./link/client/requests"), exports);
58
59
  __exportStar(require("./electrocardiogram/client/requests"), exports);
59
60
  __exportStar(require("./sleepCycle/client/requests"), exports);
@@ -75,4 +76,5 @@ __exportStar(require("./testkit/client/requests"), exports);
75
76
  __exportStar(require("./order/client/requests"), exports);
76
77
  __exportStar(require("./insurance/client/requests"), exports);
77
78
  __exportStar(require("./payor/client/requests"), exports);
79
+ __exportStar(require("./labReport/client/requests"), exports);
78
80
  __exportStar(require("./aggregate/client/requests"), exports);
@@ -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.490", "User-Agent": "@tryvital/vital-node/3.1.490", "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.492", "User-Agent": "@tryvital/vital-node/3.1.492", "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.490", "User-Agent": "@tryvital/vital-node/3.1.490", "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.492", "User-Agent": "@tryvital/vital-node/3.1.492", "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.490", "User-Agent": "@tryvital/vital-node/3.1.490", "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.492", "User-Agent": "@tryvital/vital-node/3.1.492", "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.490", "User-Agent": "@tryvital/vital-node/3.1.490", "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.492", "User-Agent": "@tryvital/vital-node/3.1.492", "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.490", "User-Agent": "@tryvital/vital-node/3.1.490", "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.492", "User-Agent": "@tryvital/vital-node/3.1.492", "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",
@@ -0,0 +1,61 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /// <reference types="node" />
5
+ /// <reference types="node" />
6
+ import * as environments from "../../../../environments";
7
+ import * as core from "../../../../core";
8
+ import * as Vital from "../../../index";
9
+ import * as fs from "fs";
10
+ import { Blob } from "buffer";
11
+ export declare namespace LabReport {
12
+ interface Options {
13
+ environment?: core.Supplier<environments.VitalEnvironment | string>;
14
+ apiKey?: core.Supplier<string | undefined>;
15
+ }
16
+ interface RequestOptions {
17
+ /** The maximum time to wait for a response in seconds. */
18
+ timeoutInSeconds?: number;
19
+ /** The number of times to retry the request. Defaults to 2. */
20
+ maxRetries?: number;
21
+ /** A hook to abort the request. */
22
+ abortSignal?: AbortSignal;
23
+ }
24
+ }
25
+ export declare class LabReport {
26
+ protected readonly _options: LabReport.Options;
27
+ constructor(_options?: LabReport.Options);
28
+ /**
29
+ * Creates a parse job, uploads the file to provider, persists the job row,
30
+ * and starts the ParseLabReport. Returns a generated job_id.
31
+ *
32
+ * @param {File | fs.ReadStream | Blob} file
33
+ * @param {Vital.BodyCreateLabReportParserJob} request
34
+ * @param {LabReport.RequestOptions} requestOptions - Request-specific configuration.
35
+ *
36
+ * @throws {@link Vital.UnprocessableEntityError}
37
+ *
38
+ * @example
39
+ * await client.labReport.parserCreateJob(fs.createReadStream("/path/to/your/file"), {})
40
+ */
41
+ parserCreateJob(file: File | fs.ReadStream | Blob, request: Vital.BodyCreateLabReportParserJob, requestOptions?: LabReport.RequestOptions): Promise<Vital.ParsingJob>;
42
+ /**
43
+ * Retrieves the parse job status and stored result if completed.
44
+ *
45
+ * Returns:
46
+ * ParseLabResultJobResponse with job status and parsed data (if complete)
47
+ *
48
+ * @param {string} jobId
49
+ * @param {Vital.ParserGetJobLabReportRequest} request
50
+ * @param {LabReport.RequestOptions} requestOptions - Request-specific configuration.
51
+ *
52
+ * @throws {@link Vital.UnprocessableEntityError}
53
+ *
54
+ * @example
55
+ * await client.labReport.parserGetJob("job_id")
56
+ */
57
+ parserGetJob(jobId: string, request?: Vital.ParserGetJobLabReportRequest, requestOptions?: LabReport.RequestOptions): Promise<Vital.ParsingJob>;
58
+ protected _getCustomAuthorizationHeaders(): Promise<{
59
+ "x-vital-api-key": string | undefined;
60
+ }>;
61
+ }
@@ -0,0 +1,198 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
+ return new (P || (P = Promise))(function (resolve, reject) {
31
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
35
+ });
36
+ };
37
+ var __importDefault = (this && this.__importDefault) || function (mod) {
38
+ return (mod && mod.__esModule) ? mod : { "default": mod };
39
+ };
40
+ Object.defineProperty(exports, "__esModule", { value: true });
41
+ exports.LabReport = void 0;
42
+ const environments = __importStar(require("../../../../environments"));
43
+ const core = __importStar(require("../../../../core"));
44
+ const Vital = __importStar(require("../../../index"));
45
+ const url_join_1 = __importDefault(require("url-join"));
46
+ const serializers = __importStar(require("../../../../serialization/index"));
47
+ const errors = __importStar(require("../../../../errors/index"));
48
+ class LabReport {
49
+ constructor(_options = {}) {
50
+ this._options = _options;
51
+ }
52
+ /**
53
+ * Creates a parse job, uploads the file to provider, persists the job row,
54
+ * and starts the ParseLabReport. Returns a generated job_id.
55
+ *
56
+ * @param {File | fs.ReadStream | Blob} file
57
+ * @param {Vital.BodyCreateLabReportParserJob} request
58
+ * @param {LabReport.RequestOptions} requestOptions - Request-specific configuration.
59
+ *
60
+ * @throws {@link Vital.UnprocessableEntityError}
61
+ *
62
+ * @example
63
+ * await client.labReport.parserCreateJob(fs.createReadStream("/path/to/your/file"), {})
64
+ */
65
+ parserCreateJob(file, request, requestOptions) {
66
+ var _a;
67
+ return __awaiter(this, void 0, void 0, function* () {
68
+ const _request = yield core.newFormData();
69
+ yield _request.appendFile("file", file);
70
+ if (request.needsHumanReview != null) {
71
+ yield _request.append("needs_human_review", request.needsHumanReview.toString());
72
+ }
73
+ const _maybeEncodedRequest = yield _request.getRequest();
74
+ const _response = yield core.fetcher({
75
+ url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "lab_report/v1/parser/job"),
76
+ method: "POST",
77
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.492", "User-Agent": "@tryvital/vital-node/3.1.492", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers),
78
+ requestType: "file",
79
+ duplex: _maybeEncodedRequest.duplex,
80
+ body: _maybeEncodedRequest.body,
81
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
82
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
83
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
84
+ });
85
+ if (_response.ok) {
86
+ return serializers.ParsingJob.parseOrThrow(_response.body, {
87
+ unrecognizedObjectKeys: "passthrough",
88
+ allowUnrecognizedUnionMembers: true,
89
+ allowUnrecognizedEnumValues: true,
90
+ breadcrumbsPrefix: ["response"],
91
+ });
92
+ }
93
+ if (_response.error.reason === "status-code") {
94
+ switch (_response.error.statusCode) {
95
+ case 422:
96
+ throw new Vital.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
97
+ unrecognizedObjectKeys: "passthrough",
98
+ allowUnrecognizedUnionMembers: true,
99
+ allowUnrecognizedEnumValues: true,
100
+ breadcrumbsPrefix: ["response"],
101
+ }));
102
+ default:
103
+ throw new errors.VitalError({
104
+ statusCode: _response.error.statusCode,
105
+ body: _response.error.body,
106
+ });
107
+ }
108
+ }
109
+ switch (_response.error.reason) {
110
+ case "non-json":
111
+ throw new errors.VitalError({
112
+ statusCode: _response.error.statusCode,
113
+ body: _response.error.rawBody,
114
+ });
115
+ case "timeout":
116
+ throw new errors.VitalTimeoutError();
117
+ case "unknown":
118
+ throw new errors.VitalError({
119
+ message: _response.error.errorMessage,
120
+ });
121
+ }
122
+ });
123
+ }
124
+ /**
125
+ * Retrieves the parse job status and stored result if completed.
126
+ *
127
+ * Returns:
128
+ * ParseLabResultJobResponse with job status and parsed data (if complete)
129
+ *
130
+ * @param {string} jobId
131
+ * @param {Vital.ParserGetJobLabReportRequest} request
132
+ * @param {LabReport.RequestOptions} requestOptions - Request-specific configuration.
133
+ *
134
+ * @throws {@link Vital.UnprocessableEntityError}
135
+ *
136
+ * @example
137
+ * await client.labReport.parserGetJob("job_id")
138
+ */
139
+ parserGetJob(jobId, request = {}, requestOptions) {
140
+ var _a;
141
+ return __awaiter(this, void 0, void 0, function* () {
142
+ const _response = yield core.fetcher({
143
+ url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `lab_report/v1/parser/job/${encodeURIComponent(jobId)}`),
144
+ method: "GET",
145
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.492", "User-Agent": "@tryvital/vital-node/3.1.492", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
146
+ contentType: "application/json",
147
+ requestType: "json",
148
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
149
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
150
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
151
+ });
152
+ if (_response.ok) {
153
+ return serializers.ParsingJob.parseOrThrow(_response.body, {
154
+ unrecognizedObjectKeys: "passthrough",
155
+ allowUnrecognizedUnionMembers: true,
156
+ allowUnrecognizedEnumValues: true,
157
+ breadcrumbsPrefix: ["response"],
158
+ });
159
+ }
160
+ if (_response.error.reason === "status-code") {
161
+ switch (_response.error.statusCode) {
162
+ case 422:
163
+ throw new Vital.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
164
+ unrecognizedObjectKeys: "passthrough",
165
+ allowUnrecognizedUnionMembers: true,
166
+ allowUnrecognizedEnumValues: true,
167
+ breadcrumbsPrefix: ["response"],
168
+ }));
169
+ default:
170
+ throw new errors.VitalError({
171
+ statusCode: _response.error.statusCode,
172
+ body: _response.error.body,
173
+ });
174
+ }
175
+ }
176
+ switch (_response.error.reason) {
177
+ case "non-json":
178
+ throw new errors.VitalError({
179
+ statusCode: _response.error.statusCode,
180
+ body: _response.error.rawBody,
181
+ });
182
+ case "timeout":
183
+ throw new errors.VitalTimeoutError();
184
+ case "unknown":
185
+ throw new errors.VitalError({
186
+ message: _response.error.errorMessage,
187
+ });
188
+ }
189
+ });
190
+ }
191
+ _getCustomAuthorizationHeaders() {
192
+ return __awaiter(this, void 0, void 0, function* () {
193
+ const apiKeyValue = yield core.Supplier.get(this._options.apiKey);
194
+ return { "x-vital-api-key": apiKeyValue };
195
+ });
196
+ }
197
+ }
198
+ exports.LabReport = LabReport;
@@ -0,0 +1 @@
1
+ export * from "./requests";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./requests"), exports);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {}
7
+ */
8
+ export interface BodyCreateLabReportParserJob {
9
+ needsHumanReview?: boolean;
10
+ }
@@ -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,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {}
7
+ */
8
+ export interface ParserGetJobLabReportRequest {
9
+ }
@@ -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,2 @@
1
+ export { type BodyCreateLabReportParserJob } from "./BodyCreateLabReportParserJob";
2
+ export { type ParserGetJobLabReportRequest } from "./ParserGetJobLabReportRequest";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export * from "./client";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./client"), exports);