@tryvital/vital-node 3.0.1 → 3.0.2
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.
- package/api/resources/activity/client/Client.js +2 -2
- package/api/resources/body/client/Client.js +2 -2
- package/api/resources/devices/client/Client.js +1 -1
- package/api/resources/insurance/client/Client.js +2 -2
- package/api/resources/labTests/client/Client.d.ts +1 -1
- package/api/resources/labTests/client/Client.js +33 -24
- package/api/resources/labTests/client/requests/LabTestsGetMarkersForLabTestRequest.d.ts +7 -0
- package/api/resources/labTests/client/requests/LabTestsGetMarkersForLabTestRequest.js +5 -0
- package/api/resources/labTests/client/requests/index.d.ts +1 -0
- package/api/resources/link/client/Client.js +14 -14
- package/api/resources/meal/client/Client.js +1 -1
- package/api/resources/profile/client/Client.js +2 -2
- package/api/resources/providers/client/Client.js +1 -1
- package/api/resources/sleep/client/Client.js +4 -4
- package/api/resources/team/client/Client.js +6 -6
- package/api/resources/testkit/client/Client.js +2 -2
- package/api/resources/user/client/Client.js +11 -11
- package/api/resources/vitals/client/Client.js +23 -23
- package/api/resources/workouts/client/Client.js +3 -3
- package/dist/api/resources/activity/client/Client.js +2 -2
- package/dist/api/resources/body/client/Client.js +2 -2
- package/dist/api/resources/devices/client/Client.js +1 -1
- package/dist/api/resources/insurance/client/Client.js +2 -2
- package/dist/api/resources/labTests/client/Client.d.ts +1 -1
- package/dist/api/resources/labTests/client/Client.js +33 -24
- package/dist/api/resources/labTests/client/requests/LabTestsGetMarkersForLabTestRequest.d.ts +7 -0
- package/dist/api/resources/labTests/client/requests/LabTestsGetMarkersForLabTestRequest.js +5 -0
- package/dist/api/resources/labTests/client/requests/index.d.ts +1 -0
- package/dist/api/resources/link/client/Client.js +14 -14
- package/dist/api/resources/meal/client/Client.js +1 -1
- package/dist/api/resources/profile/client/Client.js +2 -2
- package/dist/api/resources/providers/client/Client.js +1 -1
- package/dist/api/resources/sleep/client/Client.js +4 -4
- package/dist/api/resources/team/client/Client.js +6 -6
- package/dist/api/resources/testkit/client/Client.js +2 -2
- package/dist/api/resources/user/client/Client.js +11 -11
- package/dist/api/resources/vitals/client/Client.js +23 -23
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/serialization/resources/labTests/client/index.d.ts +0 -1
- package/dist/serialization/resources/labTests/client/index.js +1 -2
- package/package.json +1 -1
- package/serialization/resources/labTests/client/index.d.ts +0 -1
- package/serialization/resources/labTests/client/index.js +1 -2
- package/dist/serialization/resources/labTests/client/getMarkersForLabTest.d.ts +0 -10
- package/dist/serialization/resources/labTests/client/getMarkersForLabTest.js +0 -40
- package/serialization/resources/labTests/client/getMarkersForLabTest.d.ts +0 -10
- package/serialization/resources/labTests/client/getMarkersForLabTest.js +0 -40
@@ -72,7 +72,7 @@ class User {
|
|
72
72
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
73
73
|
"X-Fern-Language": "JavaScript",
|
74
74
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
75
|
-
"X-Fern-SDK-Version": "3.0.
|
75
|
+
"X-Fern-SDK-Version": "3.0.2",
|
76
76
|
},
|
77
77
|
contentType: "application/json",
|
78
78
|
queryParameters: _queryParams,
|
@@ -131,7 +131,7 @@ class User {
|
|
131
131
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
132
132
|
"X-Fern-Language": "JavaScript",
|
133
133
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
134
|
-
"X-Fern-SDK-Version": "3.0.
|
134
|
+
"X-Fern-SDK-Version": "3.0.2",
|
135
135
|
},
|
136
136
|
contentType: "application/json",
|
137
137
|
body: yield serializers.UserCreateBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
@@ -189,7 +189,7 @@ class User {
|
|
189
189
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
190
190
|
"X-Fern-Language": "JavaScript",
|
191
191
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
192
|
-
"X-Fern-SDK-Version": "3.0.
|
192
|
+
"X-Fern-SDK-Version": "3.0.2",
|
193
193
|
},
|
194
194
|
contentType: "application/json",
|
195
195
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -236,7 +236,7 @@ class User {
|
|
236
236
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
237
237
|
"X-Fern-Language": "JavaScript",
|
238
238
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
239
|
-
"X-Fern-SDK-Version": "3.0.
|
239
|
+
"X-Fern-SDK-Version": "3.0.2",
|
240
240
|
},
|
241
241
|
contentType: "application/json",
|
242
242
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -294,7 +294,7 @@ class User {
|
|
294
294
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
295
295
|
"X-Fern-Language": "JavaScript",
|
296
296
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
297
|
-
"X-Fern-SDK-Version": "3.0.
|
297
|
+
"X-Fern-SDK-Version": "3.0.2",
|
298
298
|
},
|
299
299
|
contentType: "application/json",
|
300
300
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -352,7 +352,7 @@ class User {
|
|
352
352
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
353
353
|
"X-Fern-Language": "JavaScript",
|
354
354
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
355
|
-
"X-Fern-SDK-Version": "3.0.
|
355
|
+
"X-Fern-SDK-Version": "3.0.2",
|
356
356
|
},
|
357
357
|
contentType: "application/json",
|
358
358
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -409,7 +409,7 @@ class User {
|
|
409
409
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
410
410
|
"X-Fern-Language": "JavaScript",
|
411
411
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
412
|
-
"X-Fern-SDK-Version": "3.0.
|
412
|
+
"X-Fern-SDK-Version": "3.0.2",
|
413
413
|
},
|
414
414
|
contentType: "application/json",
|
415
415
|
body: yield serializers.UserPatchBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
@@ -462,7 +462,7 @@ class User {
|
|
462
462
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
463
463
|
"X-Fern-Language": "JavaScript",
|
464
464
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
465
|
-
"X-Fern-SDK-Version": "3.0.
|
465
|
+
"X-Fern-SDK-Version": "3.0.2",
|
466
466
|
},
|
467
467
|
contentType: "application/json",
|
468
468
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -520,7 +520,7 @@ class User {
|
|
520
520
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
521
521
|
"X-Fern-Language": "JavaScript",
|
522
522
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
523
|
-
"X-Fern-SDK-Version": "3.0.
|
523
|
+
"X-Fern-SDK-Version": "3.0.2",
|
524
524
|
},
|
525
525
|
contentType: "application/json",
|
526
526
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -577,7 +577,7 @@ class User {
|
|
577
577
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
578
578
|
"X-Fern-Language": "JavaScript",
|
579
579
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
580
|
-
"X-Fern-SDK-Version": "3.0.
|
580
|
+
"X-Fern-SDK-Version": "3.0.2",
|
581
581
|
},
|
582
582
|
contentType: "application/json",
|
583
583
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -636,7 +636,7 @@ class User {
|
|
636
636
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
637
637
|
"X-Fern-Language": "JavaScript",
|
638
638
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
639
|
-
"X-Fern-SDK-Version": "3.0.
|
639
|
+
"X-Fern-SDK-Version": "3.0.2",
|
640
640
|
},
|
641
641
|
contentType: "application/json",
|
642
642
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -73,7 +73,7 @@ class Vitals {
|
|
73
73
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
74
74
|
"X-Fern-Language": "JavaScript",
|
75
75
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
76
|
-
"X-Fern-SDK-Version": "3.0.
|
76
|
+
"X-Fern-SDK-Version": "3.0.2",
|
77
77
|
},
|
78
78
|
contentType: "application/json",
|
79
79
|
queryParameters: _queryParams,
|
@@ -141,7 +141,7 @@ class Vitals {
|
|
141
141
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
142
142
|
"X-Fern-Language": "JavaScript",
|
143
143
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
144
|
-
"X-Fern-SDK-Version": "3.0.
|
144
|
+
"X-Fern-SDK-Version": "3.0.2",
|
145
145
|
},
|
146
146
|
contentType: "application/json",
|
147
147
|
queryParameters: _queryParams,
|
@@ -209,7 +209,7 @@ class Vitals {
|
|
209
209
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
210
210
|
"X-Fern-Language": "JavaScript",
|
211
211
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
212
|
-
"X-Fern-SDK-Version": "3.0.
|
212
|
+
"X-Fern-SDK-Version": "3.0.2",
|
213
213
|
},
|
214
214
|
contentType: "application/json",
|
215
215
|
queryParameters: _queryParams,
|
@@ -277,7 +277,7 @@ class Vitals {
|
|
277
277
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
278
278
|
"X-Fern-Language": "JavaScript",
|
279
279
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
280
|
-
"X-Fern-SDK-Version": "3.0.
|
280
|
+
"X-Fern-SDK-Version": "3.0.2",
|
281
281
|
},
|
282
282
|
contentType: "application/json",
|
283
283
|
queryParameters: _queryParams,
|
@@ -345,7 +345,7 @@ class Vitals {
|
|
345
345
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
346
346
|
"X-Fern-Language": "JavaScript",
|
347
347
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
348
|
-
"X-Fern-SDK-Version": "3.0.
|
348
|
+
"X-Fern-SDK-Version": "3.0.2",
|
349
349
|
},
|
350
350
|
contentType: "application/json",
|
351
351
|
queryParameters: _queryParams,
|
@@ -413,7 +413,7 @@ class Vitals {
|
|
413
413
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
414
414
|
"X-Fern-Language": "JavaScript",
|
415
415
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
416
|
-
"X-Fern-SDK-Version": "3.0.
|
416
|
+
"X-Fern-SDK-Version": "3.0.2",
|
417
417
|
},
|
418
418
|
contentType: "application/json",
|
419
419
|
queryParameters: _queryParams,
|
@@ -481,7 +481,7 @@ class Vitals {
|
|
481
481
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
482
482
|
"X-Fern-Language": "JavaScript",
|
483
483
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
484
|
-
"X-Fern-SDK-Version": "3.0.
|
484
|
+
"X-Fern-SDK-Version": "3.0.2",
|
485
485
|
},
|
486
486
|
contentType: "application/json",
|
487
487
|
queryParameters: _queryParams,
|
@@ -549,7 +549,7 @@ class Vitals {
|
|
549
549
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
550
550
|
"X-Fern-Language": "JavaScript",
|
551
551
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
552
|
-
"X-Fern-SDK-Version": "3.0.
|
552
|
+
"X-Fern-SDK-Version": "3.0.2",
|
553
553
|
},
|
554
554
|
contentType: "application/json",
|
555
555
|
queryParameters: _queryParams,
|
@@ -617,7 +617,7 @@ class Vitals {
|
|
617
617
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
618
618
|
"X-Fern-Language": "JavaScript",
|
619
619
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
620
|
-
"X-Fern-SDK-Version": "3.0.
|
620
|
+
"X-Fern-SDK-Version": "3.0.2",
|
621
621
|
},
|
622
622
|
contentType: "application/json",
|
623
623
|
queryParameters: _queryParams,
|
@@ -685,7 +685,7 @@ class Vitals {
|
|
685
685
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
686
686
|
"X-Fern-Language": "JavaScript",
|
687
687
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
688
|
-
"X-Fern-SDK-Version": "3.0.
|
688
|
+
"X-Fern-SDK-Version": "3.0.2",
|
689
689
|
},
|
690
690
|
contentType: "application/json",
|
691
691
|
queryParameters: _queryParams,
|
@@ -753,7 +753,7 @@ class Vitals {
|
|
753
753
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
754
754
|
"X-Fern-Language": "JavaScript",
|
755
755
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
756
|
-
"X-Fern-SDK-Version": "3.0.
|
756
|
+
"X-Fern-SDK-Version": "3.0.2",
|
757
757
|
},
|
758
758
|
contentType: "application/json",
|
759
759
|
queryParameters: _queryParams,
|
@@ -821,7 +821,7 @@ class Vitals {
|
|
821
821
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
822
822
|
"X-Fern-Language": "JavaScript",
|
823
823
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
824
|
-
"X-Fern-SDK-Version": "3.0.
|
824
|
+
"X-Fern-SDK-Version": "3.0.2",
|
825
825
|
},
|
826
826
|
contentType: "application/json",
|
827
827
|
queryParameters: _queryParams,
|
@@ -889,7 +889,7 @@ class Vitals {
|
|
889
889
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
890
890
|
"X-Fern-Language": "JavaScript",
|
891
891
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
892
|
-
"X-Fern-SDK-Version": "3.0.
|
892
|
+
"X-Fern-SDK-Version": "3.0.2",
|
893
893
|
},
|
894
894
|
contentType: "application/json",
|
895
895
|
queryParameters: _queryParams,
|
@@ -957,7 +957,7 @@ class Vitals {
|
|
957
957
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
958
958
|
"X-Fern-Language": "JavaScript",
|
959
959
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
960
|
-
"X-Fern-SDK-Version": "3.0.
|
960
|
+
"X-Fern-SDK-Version": "3.0.2",
|
961
961
|
},
|
962
962
|
contentType: "application/json",
|
963
963
|
queryParameters: _queryParams,
|
@@ -1025,7 +1025,7 @@ class Vitals {
|
|
1025
1025
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1026
1026
|
"X-Fern-Language": "JavaScript",
|
1027
1027
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1028
|
-
"X-Fern-SDK-Version": "3.0.
|
1028
|
+
"X-Fern-SDK-Version": "3.0.2",
|
1029
1029
|
},
|
1030
1030
|
contentType: "application/json",
|
1031
1031
|
queryParameters: _queryParams,
|
@@ -1093,7 +1093,7 @@ class Vitals {
|
|
1093
1093
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1094
1094
|
"X-Fern-Language": "JavaScript",
|
1095
1095
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1096
|
-
"X-Fern-SDK-Version": "3.0.
|
1096
|
+
"X-Fern-SDK-Version": "3.0.2",
|
1097
1097
|
},
|
1098
1098
|
contentType: "application/json",
|
1099
1099
|
queryParameters: _queryParams,
|
@@ -1161,7 +1161,7 @@ class Vitals {
|
|
1161
1161
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1162
1162
|
"X-Fern-Language": "JavaScript",
|
1163
1163
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1164
|
-
"X-Fern-SDK-Version": "3.0.
|
1164
|
+
"X-Fern-SDK-Version": "3.0.2",
|
1165
1165
|
},
|
1166
1166
|
contentType: "application/json",
|
1167
1167
|
queryParameters: _queryParams,
|
@@ -1229,7 +1229,7 @@ class Vitals {
|
|
1229
1229
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1230
1230
|
"X-Fern-Language": "JavaScript",
|
1231
1231
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1232
|
-
"X-Fern-SDK-Version": "3.0.
|
1232
|
+
"X-Fern-SDK-Version": "3.0.2",
|
1233
1233
|
},
|
1234
1234
|
contentType: "application/json",
|
1235
1235
|
queryParameters: _queryParams,
|
@@ -1297,7 +1297,7 @@ class Vitals {
|
|
1297
1297
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1298
1298
|
"X-Fern-Language": "JavaScript",
|
1299
1299
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1300
|
-
"X-Fern-SDK-Version": "3.0.
|
1300
|
+
"X-Fern-SDK-Version": "3.0.2",
|
1301
1301
|
},
|
1302
1302
|
contentType: "application/json",
|
1303
1303
|
queryParameters: _queryParams,
|
@@ -1365,7 +1365,7 @@ class Vitals {
|
|
1365
1365
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1366
1366
|
"X-Fern-Language": "JavaScript",
|
1367
1367
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1368
|
-
"X-Fern-SDK-Version": "3.0.
|
1368
|
+
"X-Fern-SDK-Version": "3.0.2",
|
1369
1369
|
},
|
1370
1370
|
contentType: "application/json",
|
1371
1371
|
queryParameters: _queryParams,
|
@@ -1433,7 +1433,7 @@ class Vitals {
|
|
1433
1433
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1434
1434
|
"X-Fern-Language": "JavaScript",
|
1435
1435
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1436
|
-
"X-Fern-SDK-Version": "3.0.
|
1436
|
+
"X-Fern-SDK-Version": "3.0.2",
|
1437
1437
|
},
|
1438
1438
|
contentType: "application/json",
|
1439
1439
|
queryParameters: _queryParams,
|
@@ -1501,7 +1501,7 @@ class Vitals {
|
|
1501
1501
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1502
1502
|
"X-Fern-Language": "JavaScript",
|
1503
1503
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1504
|
-
"X-Fern-SDK-Version": "3.0.
|
1504
|
+
"X-Fern-SDK-Version": "3.0.2",
|
1505
1505
|
},
|
1506
1506
|
contentType: "application/json",
|
1507
1507
|
queryParameters: _queryParams,
|
@@ -1569,7 +1569,7 @@ class Vitals {
|
|
1569
1569
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1570
1570
|
"X-Fern-Language": "JavaScript",
|
1571
1571
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1572
|
-
"X-Fern-SDK-Version": "3.0.
|
1572
|
+
"X-Fern-SDK-Version": "3.0.2",
|
1573
1573
|
},
|
1574
1574
|
contentType: "application/json",
|
1575
1575
|
queryParameters: _queryParams,
|
@@ -73,7 +73,7 @@ class Workouts {
|
|
73
73
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
74
74
|
"X-Fern-Language": "JavaScript",
|
75
75
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
76
|
-
"X-Fern-SDK-Version": "3.0.
|
76
|
+
"X-Fern-SDK-Version": "3.0.2",
|
77
77
|
},
|
78
78
|
contentType: "application/json",
|
79
79
|
queryParameters: _queryParams,
|
@@ -141,7 +141,7 @@ class Workouts {
|
|
141
141
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
142
142
|
"X-Fern-Language": "JavaScript",
|
143
143
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
144
|
-
"X-Fern-SDK-Version": "3.0.
|
144
|
+
"X-Fern-SDK-Version": "3.0.2",
|
145
145
|
},
|
146
146
|
contentType: "application/json",
|
147
147
|
queryParameters: _queryParams,
|
@@ -199,7 +199,7 @@ class Workouts {
|
|
199
199
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
200
200
|
"X-Fern-Language": "JavaScript",
|
201
201
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
202
|
-
"X-Fern-SDK-Version": "3.0.
|
202
|
+
"X-Fern-SDK-Version": "3.0.2",
|
203
203
|
},
|
204
204
|
contentType: "application/json",
|
205
205
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -73,7 +73,7 @@ class Activity {
|
|
73
73
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
74
74
|
"X-Fern-Language": "JavaScript",
|
75
75
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
76
|
-
"X-Fern-SDK-Version": "3.0.
|
76
|
+
"X-Fern-SDK-Version": "3.0.2",
|
77
77
|
},
|
78
78
|
contentType: "application/json",
|
79
79
|
queryParameters: _queryParams,
|
@@ -141,7 +141,7 @@ class Activity {
|
|
141
141
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
142
142
|
"X-Fern-Language": "JavaScript",
|
143
143
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
144
|
-
"X-Fern-SDK-Version": "3.0.
|
144
|
+
"X-Fern-SDK-Version": "3.0.2",
|
145
145
|
},
|
146
146
|
contentType: "application/json",
|
147
147
|
queryParameters: _queryParams,
|
@@ -73,7 +73,7 @@ class Body {
|
|
73
73
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
74
74
|
"X-Fern-Language": "JavaScript",
|
75
75
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
76
|
-
"X-Fern-SDK-Version": "3.0.
|
76
|
+
"X-Fern-SDK-Version": "3.0.2",
|
77
77
|
},
|
78
78
|
contentType: "application/json",
|
79
79
|
queryParameters: _queryParams,
|
@@ -141,7 +141,7 @@ class Body {
|
|
141
141
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
142
142
|
"X-Fern-Language": "JavaScript",
|
143
143
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
144
|
-
"X-Fern-SDK-Version": "3.0.
|
144
|
+
"X-Fern-SDK-Version": "3.0.2",
|
145
145
|
},
|
146
146
|
contentType: "application/json",
|
147
147
|
queryParameters: _queryParams,
|
@@ -69,7 +69,7 @@ class Devices {
|
|
69
69
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
70
70
|
"X-Fern-Language": "JavaScript",
|
71
71
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
72
|
-
"X-Fern-SDK-Version": "3.0.
|
72
|
+
"X-Fern-SDK-Version": "3.0.2",
|
73
73
|
},
|
74
74
|
contentType: "application/json",
|
75
75
|
queryParameters: _queryParams,
|
@@ -63,7 +63,7 @@ class Insurance {
|
|
63
63
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
64
64
|
"X-Fern-Language": "JavaScript",
|
65
65
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
66
|
-
"X-Fern-SDK-Version": "3.0.
|
66
|
+
"X-Fern-SDK-Version": "3.0.2",
|
67
67
|
},
|
68
68
|
contentType: "application/json",
|
69
69
|
body: yield serializers.PayorSearchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
@@ -124,7 +124,7 @@ class Insurance {
|
|
124
124
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
125
125
|
"X-Fern-Language": "JavaScript",
|
126
126
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
127
|
-
"X-Fern-SDK-Version": "3.0.
|
127
|
+
"X-Fern-SDK-Version": "3.0.2",
|
128
128
|
},
|
129
129
|
contentType: "application/json",
|
130
130
|
queryParameters: _queryParams,
|
@@ -32,7 +32,7 @@ export declare class LabTests {
|
|
32
32
|
/**
|
33
33
|
* @throws {@link Vital.UnprocessableEntityError}
|
34
34
|
*/
|
35
|
-
getMarkersForLabTest(labTestId: string, requestOptions?: LabTests.RequestOptions): Promise<Vital.
|
35
|
+
getMarkersForLabTest(labTestId: string, request?: Vital.LabTestsGetMarkersForLabTestRequest, requestOptions?: LabTests.RequestOptions): Promise<Vital.GetMarkersResponse>;
|
36
36
|
/**
|
37
37
|
* GET a specific marker for the given lab and provider_id
|
38
38
|
* @throws {@link Vital.UnprocessableEntityError}
|
@@ -63,7 +63,7 @@ class LabTests {
|
|
63
63
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
64
64
|
"X-Fern-Language": "JavaScript",
|
65
65
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
66
|
-
"X-Fern-SDK-Version": "3.0.
|
66
|
+
"X-Fern-SDK-Version": "3.0.2",
|
67
67
|
},
|
68
68
|
contentType: "application/json",
|
69
69
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -110,7 +110,7 @@ class LabTests {
|
|
110
110
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
111
111
|
"X-Fern-Language": "JavaScript",
|
112
112
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
113
|
-
"X-Fern-SDK-Version": "3.0.
|
113
|
+
"X-Fern-SDK-Version": "3.0.2",
|
114
114
|
},
|
115
115
|
contentType: "application/json",
|
116
116
|
body: yield serializers.CreateLabTestRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
@@ -183,7 +183,7 @@ class LabTests {
|
|
183
183
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
184
184
|
"X-Fern-Language": "JavaScript",
|
185
185
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
186
|
-
"X-Fern-SDK-Version": "3.0.
|
186
|
+
"X-Fern-SDK-Version": "3.0.2",
|
187
187
|
},
|
188
188
|
contentType: "application/json",
|
189
189
|
queryParameters: _queryParams,
|
@@ -231,9 +231,17 @@ class LabTests {
|
|
231
231
|
/**
|
232
232
|
* @throws {@link Vital.UnprocessableEntityError}
|
233
233
|
*/
|
234
|
-
getMarkersForLabTest(labTestId, requestOptions) {
|
234
|
+
getMarkersForLabTest(labTestId, request = {}, requestOptions) {
|
235
235
|
var _a;
|
236
236
|
return __awaiter(this, void 0, void 0, function* () {
|
237
|
+
const { page, size } = request;
|
238
|
+
const _queryParams = new url_search_params_1.default();
|
239
|
+
if (page != null) {
|
240
|
+
_queryParams.append("page", page.toString());
|
241
|
+
}
|
242
|
+
if (size != null) {
|
243
|
+
_queryParams.append("size", size.toString());
|
244
|
+
}
|
237
245
|
const _response = yield core.fetcher({
|
238
246
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v3/lab_tests/${labTestId}/markers`),
|
239
247
|
method: "GET",
|
@@ -241,13 +249,14 @@ class LabTests {
|
|
241
249
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
242
250
|
"X-Fern-Language": "JavaScript",
|
243
251
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
244
|
-
"X-Fern-SDK-Version": "3.0.
|
252
|
+
"X-Fern-SDK-Version": "3.0.2",
|
245
253
|
},
|
246
254
|
contentType: "application/json",
|
255
|
+
queryParameters: _queryParams,
|
247
256
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
248
257
|
});
|
249
258
|
if (_response.ok) {
|
250
|
-
return yield serializers.
|
259
|
+
return yield serializers.GetMarkersResponse.parseOrThrow(_response.body, {
|
251
260
|
unrecognizedObjectKeys: "passthrough",
|
252
261
|
allowUnrecognizedUnionMembers: true,
|
253
262
|
allowUnrecognizedEnumValues: true,
|
@@ -299,7 +308,7 @@ class LabTests {
|
|
299
308
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
300
309
|
"X-Fern-Language": "JavaScript",
|
301
310
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
302
|
-
"X-Fern-SDK-Version": "3.0.
|
311
|
+
"X-Fern-SDK-Version": "3.0.2",
|
303
312
|
},
|
304
313
|
contentType: "application/json",
|
305
314
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -356,7 +365,7 @@ class LabTests {
|
|
356
365
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
357
366
|
"X-Fern-Language": "JavaScript",
|
358
367
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
359
|
-
"X-Fern-SDK-Version": "3.0.
|
368
|
+
"X-Fern-SDK-Version": "3.0.2",
|
360
369
|
},
|
361
370
|
contentType: "application/json",
|
362
371
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -404,7 +413,7 @@ class LabTests {
|
|
404
413
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
405
414
|
"X-Fern-Language": "JavaScript",
|
406
415
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
407
|
-
"X-Fern-SDK-Version": "3.0.
|
416
|
+
"X-Fern-SDK-Version": "3.0.2",
|
408
417
|
},
|
409
418
|
contentType: "application/json",
|
410
419
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -463,7 +472,7 @@ class LabTests {
|
|
463
472
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
464
473
|
"X-Fern-Language": "JavaScript",
|
465
474
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
466
|
-
"X-Fern-SDK-Version": "3.0.
|
475
|
+
"X-Fern-SDK-Version": "3.0.2",
|
467
476
|
},
|
468
477
|
contentType: "application/json",
|
469
478
|
body: yield serializers.UsAddress.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
@@ -522,7 +531,7 @@ class LabTests {
|
|
522
531
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
523
532
|
"X-Fern-Language": "JavaScript",
|
524
533
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
525
|
-
"X-Fern-SDK-Version": "3.0.
|
534
|
+
"X-Fern-SDK-Version": "3.0.2",
|
526
535
|
},
|
527
536
|
contentType: "application/json",
|
528
537
|
body: yield serializers.AppointmentBookingRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
@@ -581,7 +590,7 @@ class LabTests {
|
|
581
590
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
582
591
|
"X-Fern-Language": "JavaScript",
|
583
592
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
584
|
-
"X-Fern-SDK-Version": "3.0.
|
593
|
+
"X-Fern-SDK-Version": "3.0.2",
|
585
594
|
},
|
586
595
|
contentType: "application/json",
|
587
596
|
body: yield serializers.AppointmentRescheduleRequest.jsonOrThrow(request, {
|
@@ -642,7 +651,7 @@ class LabTests {
|
|
642
651
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
643
652
|
"X-Fern-Language": "JavaScript",
|
644
653
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
645
|
-
"X-Fern-SDK-Version": "3.0.
|
654
|
+
"X-Fern-SDK-Version": "3.0.2",
|
646
655
|
},
|
647
656
|
contentType: "application/json",
|
648
657
|
body: yield serializers.AppointmentCancelRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
@@ -700,7 +709,7 @@ class LabTests {
|
|
700
709
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
701
710
|
"X-Fern-Language": "JavaScript",
|
702
711
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
703
|
-
"X-Fern-SDK-Version": "3.0.
|
712
|
+
"X-Fern-SDK-Version": "3.0.2",
|
704
713
|
},
|
705
714
|
contentType: "application/json",
|
706
715
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -748,7 +757,7 @@ class LabTests {
|
|
748
757
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
749
758
|
"X-Fern-Language": "JavaScript",
|
750
759
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
751
|
-
"X-Fern-SDK-Version": "3.0.
|
760
|
+
"X-Fern-SDK-Version": "3.0.2",
|
752
761
|
},
|
753
762
|
contentType: "application/json",
|
754
763
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -812,7 +821,7 @@ class LabTests {
|
|
812
821
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
813
822
|
"X-Fern-Language": "JavaScript",
|
814
823
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
815
|
-
"X-Fern-SDK-Version": "3.0.
|
824
|
+
"X-Fern-SDK-Version": "3.0.2",
|
816
825
|
},
|
817
826
|
contentType: "application/json",
|
818
827
|
queryParameters: _queryParams,
|
@@ -871,7 +880,7 @@ class LabTests {
|
|
871
880
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
872
881
|
"X-Fern-Language": "JavaScript",
|
873
882
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
874
|
-
"X-Fern-SDK-Version": "3.0.
|
883
|
+
"X-Fern-SDK-Version": "3.0.2",
|
875
884
|
},
|
876
885
|
contentType: "application/json",
|
877
886
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -925,7 +934,7 @@ class LabTests {
|
|
925
934
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
926
935
|
"X-Fern-Language": "JavaScript",
|
927
936
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
928
|
-
"X-Fern-SDK-Version": "3.0.
|
937
|
+
"X-Fern-SDK-Version": "3.0.2",
|
929
938
|
},
|
930
939
|
contentType: "application/json",
|
931
940
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -983,7 +992,7 @@ class LabTests {
|
|
983
992
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
984
993
|
"X-Fern-Language": "JavaScript",
|
985
994
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
986
|
-
"X-Fern-SDK-Version": "3.0.
|
995
|
+
"X-Fern-SDK-Version": "3.0.2",
|
987
996
|
},
|
988
997
|
contentType: "application/json",
|
989
998
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1041,7 +1050,7 @@ class LabTests {
|
|
1041
1050
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1042
1051
|
"X-Fern-Language": "JavaScript",
|
1043
1052
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1044
|
-
"X-Fern-SDK-Version": "3.0.
|
1053
|
+
"X-Fern-SDK-Version": "3.0.2",
|
1045
1054
|
},
|
1046
1055
|
contentType: "application/json",
|
1047
1056
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1094,7 +1103,7 @@ class LabTests {
|
|
1094
1103
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1095
1104
|
"X-Fern-Language": "JavaScript",
|
1096
1105
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1097
|
-
"X-Fern-SDK-Version": "3.0.
|
1106
|
+
"X-Fern-SDK-Version": "3.0.2",
|
1098
1107
|
},
|
1099
1108
|
contentType: "application/json",
|
1100
1109
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1152,7 +1161,7 @@ class LabTests {
|
|
1152
1161
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1153
1162
|
"X-Fern-Language": "JavaScript",
|
1154
1163
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1155
|
-
"X-Fern-SDK-Version": "3.0.
|
1164
|
+
"X-Fern-SDK-Version": "3.0.2",
|
1156
1165
|
},
|
1157
1166
|
contentType: "application/json",
|
1158
1167
|
body: yield serializers.CreateOrderRequestCompatible.jsonOrThrow(request, {
|
@@ -1213,7 +1222,7 @@ class LabTests {
|
|
1213
1222
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1214
1223
|
"X-Fern-Language": "JavaScript",
|
1215
1224
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1216
|
-
"X-Fern-SDK-Version": "3.0.
|
1225
|
+
"X-Fern-SDK-Version": "3.0.2",
|
1217
1226
|
},
|
1218
1227
|
contentType: "application/json",
|
1219
1228
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1301,7 +1310,7 @@ class LabTests {
|
|
1301
1310
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1302
1311
|
"X-Fern-Language": "JavaScript",
|
1303
1312
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1304
|
-
"X-Fern-SDK-Version": "3.0.
|
1313
|
+
"X-Fern-SDK-Version": "3.0.2",
|
1305
1314
|
},
|
1306
1315
|
contentType: "application/json",
|
1307
1316
|
queryParameters: _queryParams,
|