@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
@@ -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,
|
@@ -1,5 +1,6 @@
|
|
1
1
|
export { CreateLabTestRequest } from "./CreateLabTestRequest";
|
2
2
|
export { LabTestsGetMarkersRequest } from "./LabTestsGetMarkersRequest";
|
3
|
+
export { LabTestsGetMarkersForLabTestRequest } from "./LabTestsGetMarkersForLabTestRequest";
|
3
4
|
export { AppointmentBookingRequest } from "./AppointmentBookingRequest";
|
4
5
|
export { AppointmentRescheduleRequest } from "./AppointmentRescheduleRequest";
|
5
6
|
export { AppointmentCancelRequest } from "./AppointmentCancelRequest";
|
@@ -80,7 +80,7 @@ class Link {
|
|
80
80
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
81
81
|
"X-Fern-Language": "JavaScript",
|
82
82
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
83
|
-
"X-Fern-SDK-Version": "3.0.
|
83
|
+
"X-Fern-SDK-Version": "3.0.2",
|
84
84
|
},
|
85
85
|
contentType: "application/json",
|
86
86
|
body: yield serializers.LinkTokenExchange.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
@@ -138,7 +138,7 @@ class Link {
|
|
138
138
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
139
139
|
"X-Fern-Language": "JavaScript",
|
140
140
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
141
|
-
"X-Fern-SDK-Version": "3.0.
|
141
|
+
"X-Fern-SDK-Version": "3.0.2",
|
142
142
|
},
|
143
143
|
contentType: "application/json",
|
144
144
|
body: yield serializers.LinkTokenBase.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
@@ -203,7 +203,7 @@ class Link {
|
|
203
203
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
204
204
|
"X-Fern-Language": "JavaScript",
|
205
205
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
206
|
-
"X-Fern-SDK-Version": "3.0.
|
206
|
+
"X-Fern-SDK-Version": "3.0.2",
|
207
207
|
},
|
208
208
|
contentType: "application/json",
|
209
209
|
queryParameters: _queryParams,
|
@@ -265,7 +265,7 @@ class Link {
|
|
265
265
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
266
266
|
"X-Fern-Language": "JavaScript",
|
267
267
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
268
|
-
"X-Fern-SDK-Version": "3.0.
|
268
|
+
"X-Fern-SDK-Version": "3.0.2",
|
269
269
|
"x-vital-sdk-no-redirect": vitalSdkNoRedirect != null ? vitalSdkNoRedirect : undefined,
|
270
270
|
},
|
271
271
|
contentType: "application/json",
|
@@ -325,7 +325,7 @@ class Link {
|
|
325
325
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
326
326
|
"X-Fern-Language": "JavaScript",
|
327
327
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
328
|
-
"X-Fern-SDK-Version": "3.0.
|
328
|
+
"X-Fern-SDK-Version": "3.0.2",
|
329
329
|
},
|
330
330
|
contentType: "application/json",
|
331
331
|
body: yield serializers.BeginLinkTokenRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
@@ -384,7 +384,7 @@ class Link {
|
|
384
384
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
385
385
|
"X-Fern-Language": "JavaScript",
|
386
386
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
387
|
-
"X-Fern-SDK-Version": "3.0.
|
387
|
+
"X-Fern-SDK-Version": "3.0.2",
|
388
388
|
},
|
389
389
|
contentType: "application/json",
|
390
390
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -434,7 +434,7 @@ class Link {
|
|
434
434
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
435
435
|
"X-Fern-Language": "JavaScript",
|
436
436
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
437
|
-
"X-Fern-SDK-Version": "3.0.
|
437
|
+
"X-Fern-SDK-Version": "3.0.2",
|
438
438
|
},
|
439
439
|
contentType: "application/json",
|
440
440
|
body: yield serializers.EmailAuthLink.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
@@ -496,7 +496,7 @@ class Link {
|
|
496
496
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
497
497
|
"X-Fern-Language": "JavaScript",
|
498
498
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
499
|
-
"X-Fern-SDK-Version": "3.0.
|
499
|
+
"X-Fern-SDK-Version": "3.0.2",
|
500
500
|
"x-vital-link-client-region": vitalLinkClientRegion != null ? vitalLinkClientRegion : undefined,
|
501
501
|
},
|
502
502
|
contentType: "application/json",
|
@@ -556,7 +556,7 @@ class Link {
|
|
556
556
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
557
557
|
"X-Fern-Language": "JavaScript",
|
558
558
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
559
|
-
"X-Fern-SDK-Version": "3.0.
|
559
|
+
"X-Fern-SDK-Version": "3.0.2",
|
560
560
|
},
|
561
561
|
contentType: "application/json",
|
562
562
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -615,7 +615,7 @@ class Link {
|
|
615
615
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
616
616
|
"X-Fern-Language": "JavaScript",
|
617
617
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
618
|
-
"X-Fern-SDK-Version": "3.0.
|
618
|
+
"X-Fern-SDK-Version": "3.0.2",
|
619
619
|
"x-vital-link-client-region": vitalLinkClientRegion != null ? vitalLinkClientRegion : undefined,
|
620
620
|
},
|
621
621
|
contentType: "application/json",
|
@@ -675,7 +675,7 @@ class Link {
|
|
675
675
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
676
676
|
"X-Fern-Language": "JavaScript",
|
677
677
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
678
|
-
"X-Fern-SDK-Version": "3.0.
|
678
|
+
"X-Fern-SDK-Version": "3.0.2",
|
679
679
|
},
|
680
680
|
contentType: "application/json",
|
681
681
|
body: yield serializers.EmailProviderAuthLink.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
@@ -733,7 +733,7 @@ class Link {
|
|
733
733
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
734
734
|
"X-Fern-Language": "JavaScript",
|
735
735
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
736
|
-
"X-Fern-SDK-Version": "3.0.
|
736
|
+
"X-Fern-SDK-Version": "3.0.2",
|
737
737
|
},
|
738
738
|
contentType: "application/json",
|
739
739
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -783,7 +783,7 @@ class Link {
|
|
783
783
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
784
784
|
"X-Fern-Language": "JavaScript",
|
785
785
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
786
|
-
"X-Fern-SDK-Version": "3.0.
|
786
|
+
"X-Fern-SDK-Version": "3.0.2",
|
787
787
|
},
|
788
788
|
contentType: "application/json",
|
789
789
|
body: yield serializers.ManualConnectionData.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
@@ -842,7 +842,7 @@ class Link {
|
|
842
842
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
843
843
|
"X-Fern-Language": "JavaScript",
|
844
844
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
845
|
-
"X-Fern-SDK-Version": "3.0.
|
845
|
+
"X-Fern-SDK-Version": "3.0.2",
|
846
846
|
},
|
847
847
|
contentType: "application/json",
|
848
848
|
body: yield serializers.DemoConnectionCreationPayload.jsonOrThrow(request, {
|
@@ -73,7 +73,7 @@ class Meal {
|
|
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,
|
@@ -69,7 +69,7 @@ class Profile {
|
|
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,
|
@@ -133,7 +133,7 @@ class Profile {
|
|
133
133
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
134
134
|
"X-Fern-Language": "JavaScript",
|
135
135
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
136
|
-
"X-Fern-SDK-Version": "3.0.
|
136
|
+
"X-Fern-SDK-Version": "3.0.2",
|
137
137
|
},
|
138
138
|
contentType: "application/json",
|
139
139
|
queryParameters: _queryParams,
|
@@ -61,7 +61,7 @@ class Providers {
|
|
61
61
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
62
62
|
"X-Fern-Language": "JavaScript",
|
63
63
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
64
|
-
"X-Fern-SDK-Version": "3.0.
|
64
|
+
"X-Fern-SDK-Version": "3.0.2",
|
65
65
|
},
|
66
66
|
contentType: "application/json",
|
67
67
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -73,7 +73,7 @@ class Sleep {
|
|
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 Sleep {
|
|
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 Sleep {
|
|
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,
|
@@ -268,7 +268,7 @@ class Sleep {
|
|
268
268
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
269
269
|
"X-Fern-Language": "JavaScript",
|
270
270
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
271
|
-
"X-Fern-SDK-Version": "3.0.
|
271
|
+
"X-Fern-SDK-Version": "3.0.2",
|
272
272
|
},
|
273
273
|
contentType: "application/json",
|
274
274
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -63,7 +63,7 @@ class Team {
|
|
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,
|
@@ -111,7 +111,7 @@ class Team {
|
|
111
111
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
112
112
|
"X-Fern-Language": "JavaScript",
|
113
113
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
114
|
-
"X-Fern-SDK-Version": "3.0.
|
114
|
+
"X-Fern-SDK-Version": "3.0.2",
|
115
115
|
},
|
116
116
|
contentType: "application/json",
|
117
117
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -174,7 +174,7 @@ class Team {
|
|
174
174
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
175
175
|
"X-Fern-Language": "JavaScript",
|
176
176
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
177
|
-
"X-Fern-SDK-Version": "3.0.
|
177
|
+
"X-Fern-SDK-Version": "3.0.2",
|
178
178
|
},
|
179
179
|
contentType: "application/json",
|
180
180
|
queryParameters: _queryParams,
|
@@ -229,7 +229,7 @@ class Team {
|
|
229
229
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
230
230
|
"X-Fern-Language": "JavaScript",
|
231
231
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
232
|
-
"X-Fern-SDK-Version": "3.0.
|
232
|
+
"X-Fern-SDK-Version": "3.0.2",
|
233
233
|
},
|
234
234
|
contentType: "application/json",
|
235
235
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -282,7 +282,7 @@ class Team {
|
|
282
282
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
283
283
|
"X-Fern-Language": "JavaScript",
|
284
284
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
285
|
-
"X-Fern-SDK-Version": "3.0.
|
285
|
+
"X-Fern-SDK-Version": "3.0.2",
|
286
286
|
},
|
287
287
|
contentType: "application/json",
|
288
288
|
queryParameters: _queryParams,
|
@@ -344,7 +344,7 @@ class Team {
|
|
344
344
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
345
345
|
"X-Fern-Language": "JavaScript",
|
346
346
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
347
|
-
"X-Fern-SDK-Version": "3.0.
|
347
|
+
"X-Fern-SDK-Version": "3.0.2",
|
348
348
|
},
|
349
349
|
contentType: "application/json",
|
350
350
|
queryParameters: _queryParams,
|
@@ -62,7 +62,7 @@ class Testkit {
|
|
62
62
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
63
63
|
"X-Fern-Language": "JavaScript",
|
64
64
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
65
|
-
"X-Fern-SDK-Version": "3.0.
|
65
|
+
"X-Fern-SDK-Version": "3.0.2",
|
66
66
|
},
|
67
67
|
contentType: "application/json",
|
68
68
|
body: yield serializers.RegisterTestkitRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
@@ -121,7 +121,7 @@ class Testkit {
|
|
121
121
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
122
122
|
"X-Fern-Language": "JavaScript",
|
123
123
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
124
|
-
"X-Fern-SDK-Version": "3.0.
|
124
|
+
"X-Fern-SDK-Version": "3.0.2",
|
125
125
|
},
|
126
126
|
contentType: "application/json",
|
127
127
|
body: yield serializers.CreateRegistrableTestkitOrderRequest.jsonOrThrow(request, {
|