@tryvital/vital-node 3.1.0 → 3.1.1
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/introspect/client/Client.js +2 -2
- package/api/resources/labTests/client/Client.js +24 -24
- package/api/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +1 -1
- package/api/resources/link/client/Client.js +13 -13
- 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 +7 -7
- package/api/resources/testkit/client/Client.js +2 -2
- package/api/resources/user/client/Client.d.ts +4 -0
- package/api/resources/user/client/Client.js +78 -11
- package/api/resources/user/client/requests/UserUndoDeleteRequest.d.ts +13 -0
- package/api/resources/user/client/requests/UserUndoDeleteRequest.js +5 -0
- package/api/resources/user/client/requests/index.d.ts +1 -0
- package/api/resources/vitals/client/Client.js +50 -50
- package/api/resources/workouts/client/Client.js +3 -3
- package/api/types/ClientFacingOrder.d.ts +1 -1
- package/api/types/ClientFacingResult.d.ts +1 -0
- 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/introspect/client/Client.js +2 -2
- package/dist/api/resources/labTests/client/Client.js +24 -24
- package/dist/api/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +1 -1
- package/dist/api/resources/link/client/Client.js +13 -13
- 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 +7 -7
- package/dist/api/resources/testkit/client/Client.js +2 -2
- package/dist/api/resources/user/client/Client.d.ts +4 -0
- package/dist/api/resources/user/client/Client.js +78 -11
- package/dist/api/resources/user/client/requests/UserUndoDeleteRequest.d.ts +13 -0
- package/dist/api/resources/user/client/requests/UserUndoDeleteRequest.js +5 -0
- package/dist/api/resources/user/client/requests/index.d.ts +1 -0
- package/dist/api/resources/vitals/client/Client.js +50 -50
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/api/types/ClientFacingOrder.d.ts +1 -1
- package/dist/api/types/ClientFacingResult.d.ts +1 -0
- package/dist/serialization/types/ClientFacingResult.d.ts +1 -0
- package/dist/serialization/types/ClientFacingResult.js +1 -0
- package/package.json +1 -1
- package/serialization/types/ClientFacingResult.d.ts +1 -0
- package/serialization/types/ClientFacingResult.js +1 -0
@@ -77,7 +77,7 @@ class Activity {
|
|
77
77
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
78
78
|
"X-Fern-Language": "JavaScript",
|
79
79
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
80
|
-
"X-Fern-SDK-Version": "3.1.
|
80
|
+
"X-Fern-SDK-Version": "3.1.1",
|
81
81
|
},
|
82
82
|
contentType: "application/json",
|
83
83
|
queryParameters: _queryParams,
|
@@ -151,7 +151,7 @@ class Activity {
|
|
151
151
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
152
152
|
"X-Fern-Language": "JavaScript",
|
153
153
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
154
|
-
"X-Fern-SDK-Version": "3.1.
|
154
|
+
"X-Fern-SDK-Version": "3.1.1",
|
155
155
|
},
|
156
156
|
contentType: "application/json",
|
157
157
|
queryParameters: _queryParams,
|
@@ -77,7 +77,7 @@ class Body {
|
|
77
77
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
78
78
|
"X-Fern-Language": "JavaScript",
|
79
79
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
80
|
-
"X-Fern-SDK-Version": "3.1.
|
80
|
+
"X-Fern-SDK-Version": "3.1.1",
|
81
81
|
},
|
82
82
|
contentType: "application/json",
|
83
83
|
queryParameters: _queryParams,
|
@@ -151,7 +151,7 @@ class Body {
|
|
151
151
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
152
152
|
"X-Fern-Language": "JavaScript",
|
153
153
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
154
|
-
"X-Fern-SDK-Version": "3.1.
|
154
|
+
"X-Fern-SDK-Version": "3.1.1",
|
155
155
|
},
|
156
156
|
contentType: "application/json",
|
157
157
|
queryParameters: _queryParams,
|
@@ -71,7 +71,7 @@ class Devices {
|
|
71
71
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
72
72
|
"X-Fern-Language": "JavaScript",
|
73
73
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
74
|
-
"X-Fern-SDK-Version": "3.1.
|
74
|
+
"X-Fern-SDK-Version": "3.1.1",
|
75
75
|
},
|
76
76
|
contentType: "application/json",
|
77
77
|
queryParameters: _queryParams,
|
@@ -62,7 +62,7 @@ class Insurance {
|
|
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.1.
|
65
|
+
"X-Fern-SDK-Version": "3.1.1",
|
66
66
|
},
|
67
67
|
contentType: "application/json",
|
68
68
|
body: yield serializers.PayorSearchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
@@ -129,7 +129,7 @@ class Insurance {
|
|
129
129
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
130
130
|
"X-Fern-Language": "JavaScript",
|
131
131
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
132
|
-
"X-Fern-SDK-Version": "3.1.
|
132
|
+
"X-Fern-SDK-Version": "3.1.1",
|
133
133
|
},
|
134
134
|
contentType: "application/json",
|
135
135
|
queryParameters: _queryParams,
|
@@ -81,7 +81,7 @@ class Introspect {
|
|
81
81
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
82
82
|
"X-Fern-Language": "JavaScript",
|
83
83
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
84
|
-
"X-Fern-SDK-Version": "3.1.
|
84
|
+
"X-Fern-SDK-Version": "3.1.1",
|
85
85
|
},
|
86
86
|
contentType: "application/json",
|
87
87
|
queryParameters: _queryParams,
|
@@ -159,7 +159,7 @@ class Introspect {
|
|
159
159
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
160
160
|
"X-Fern-Language": "JavaScript",
|
161
161
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
162
|
-
"X-Fern-SDK-Version": "3.1.
|
162
|
+
"X-Fern-SDK-Version": "3.1.1",
|
163
163
|
},
|
164
164
|
contentType: "application/json",
|
165
165
|
queryParameters: _queryParams,
|
@@ -65,7 +65,7 @@ class LabTests {
|
|
65
65
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
66
66
|
"X-Fern-Language": "JavaScript",
|
67
67
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
68
|
-
"X-Fern-SDK-Version": "3.1.
|
68
|
+
"X-Fern-SDK-Version": "3.1.1",
|
69
69
|
},
|
70
70
|
contentType: "application/json",
|
71
71
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -113,7 +113,7 @@ class LabTests {
|
|
113
113
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
114
114
|
"X-Fern-Language": "JavaScript",
|
115
115
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
116
|
-
"X-Fern-SDK-Version": "3.1.
|
116
|
+
"X-Fern-SDK-Version": "3.1.1",
|
117
117
|
},
|
118
118
|
contentType: "application/json",
|
119
119
|
body: yield serializers.CreateLabTestRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
@@ -195,7 +195,7 @@ class LabTests {
|
|
195
195
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
196
196
|
"X-Fern-Language": "JavaScript",
|
197
197
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
198
|
-
"X-Fern-SDK-Version": "3.1.
|
198
|
+
"X-Fern-SDK-Version": "3.1.1",
|
199
199
|
},
|
200
200
|
contentType: "application/json",
|
201
201
|
queryParameters: _queryParams,
|
@@ -265,7 +265,7 @@ class LabTests {
|
|
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.1.
|
268
|
+
"X-Fern-SDK-Version": "3.1.1",
|
269
269
|
},
|
270
270
|
contentType: "application/json",
|
271
271
|
queryParameters: _queryParams,
|
@@ -325,7 +325,7 @@ class LabTests {
|
|
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.1.
|
328
|
+
"X-Fern-SDK-Version": "3.1.1",
|
329
329
|
},
|
330
330
|
contentType: "application/json",
|
331
331
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -386,7 +386,7 @@ class LabTests {
|
|
386
386
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
387
387
|
"X-Fern-Language": "JavaScript",
|
388
388
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
389
|
-
"X-Fern-SDK-Version": "3.1.
|
389
|
+
"X-Fern-SDK-Version": "3.1.1",
|
390
390
|
},
|
391
391
|
contentType: "application/json",
|
392
392
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -435,7 +435,7 @@ class LabTests {
|
|
435
435
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
436
436
|
"X-Fern-Language": "JavaScript",
|
437
437
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
438
|
-
"X-Fern-SDK-Version": "3.1.
|
438
|
+
"X-Fern-SDK-Version": "3.1.1",
|
439
439
|
},
|
440
440
|
contentType: "application/json",
|
441
441
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -495,7 +495,7 @@ class LabTests {
|
|
495
495
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
496
496
|
"X-Fern-Language": "JavaScript",
|
497
497
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
498
|
-
"X-Fern-SDK-Version": "3.1.
|
498
|
+
"X-Fern-SDK-Version": "3.1.1",
|
499
499
|
},
|
500
500
|
contentType: "application/json",
|
501
501
|
body: yield serializers.UsAddress.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
@@ -555,7 +555,7 @@ class LabTests {
|
|
555
555
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
556
556
|
"X-Fern-Language": "JavaScript",
|
557
557
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
558
|
-
"X-Fern-SDK-Version": "3.1.
|
558
|
+
"X-Fern-SDK-Version": "3.1.1",
|
559
559
|
},
|
560
560
|
contentType: "application/json",
|
561
561
|
body: yield serializers.AppointmentBookingRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
@@ -615,7 +615,7 @@ class LabTests {
|
|
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.1.
|
618
|
+
"X-Fern-SDK-Version": "3.1.1",
|
619
619
|
},
|
620
620
|
contentType: "application/json",
|
621
621
|
body: yield serializers.RequestAppointmentRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
@@ -675,7 +675,7 @@ class LabTests {
|
|
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.1.
|
678
|
+
"X-Fern-SDK-Version": "3.1.1",
|
679
679
|
},
|
680
680
|
contentType: "application/json",
|
681
681
|
body: yield serializers.AppointmentRescheduleRequest.jsonOrThrow(request, {
|
@@ -737,7 +737,7 @@ class LabTests {
|
|
737
737
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
738
738
|
"X-Fern-Language": "JavaScript",
|
739
739
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
740
|
-
"X-Fern-SDK-Version": "3.1.
|
740
|
+
"X-Fern-SDK-Version": "3.1.1",
|
741
741
|
},
|
742
742
|
contentType: "application/json",
|
743
743
|
body: yield serializers.AppointmentCancelRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
@@ -799,7 +799,7 @@ class LabTests {
|
|
799
799
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
800
800
|
"X-Fern-Language": "JavaScript",
|
801
801
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
802
|
-
"X-Fern-SDK-Version": "3.1.
|
802
|
+
"X-Fern-SDK-Version": "3.1.1",
|
803
803
|
},
|
804
804
|
contentType: "application/json",
|
805
805
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -848,7 +848,7 @@ class LabTests {
|
|
848
848
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
849
849
|
"X-Fern-Language": "JavaScript",
|
850
850
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
851
|
-
"X-Fern-SDK-Version": "3.1.
|
851
|
+
"X-Fern-SDK-Version": "3.1.1",
|
852
852
|
},
|
853
853
|
contentType: "application/json",
|
854
854
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -914,7 +914,7 @@ class LabTests {
|
|
914
914
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
915
915
|
"X-Fern-Language": "JavaScript",
|
916
916
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
917
|
-
"X-Fern-SDK-Version": "3.1.
|
917
|
+
"X-Fern-SDK-Version": "3.1.1",
|
918
918
|
},
|
919
919
|
contentType: "application/json",
|
920
920
|
queryParameters: _queryParams,
|
@@ -973,7 +973,7 @@ class LabTests {
|
|
973
973
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
974
974
|
"X-Fern-Language": "JavaScript",
|
975
975
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
976
|
-
"X-Fern-SDK-Version": "3.1.
|
976
|
+
"X-Fern-SDK-Version": "3.1.1",
|
977
977
|
},
|
978
978
|
contentType: "application/json",
|
979
979
|
responseType: "streaming",
|
@@ -1019,7 +1019,7 @@ class LabTests {
|
|
1019
1019
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1020
1020
|
"X-Fern-Language": "JavaScript",
|
1021
1021
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1022
|
-
"X-Fern-SDK-Version": "3.1.
|
1022
|
+
"X-Fern-SDK-Version": "3.1.1",
|
1023
1023
|
},
|
1024
1024
|
contentType: "application/json",
|
1025
1025
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1078,7 +1078,7 @@ class LabTests {
|
|
1078
1078
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1079
1079
|
"X-Fern-Language": "JavaScript",
|
1080
1080
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1081
|
-
"X-Fern-SDK-Version": "3.1.
|
1081
|
+
"X-Fern-SDK-Version": "3.1.1",
|
1082
1082
|
},
|
1083
1083
|
contentType: "application/json",
|
1084
1084
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1137,7 +1137,7 @@ class LabTests {
|
|
1137
1137
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1138
1138
|
"X-Fern-Language": "JavaScript",
|
1139
1139
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1140
|
-
"X-Fern-SDK-Version": "3.1.
|
1140
|
+
"X-Fern-SDK-Version": "3.1.1",
|
1141
1141
|
},
|
1142
1142
|
contentType: "application/json",
|
1143
1143
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1191,7 +1191,7 @@ class LabTests {
|
|
1191
1191
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1192
1192
|
"X-Fern-Language": "JavaScript",
|
1193
1193
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1194
|
-
"X-Fern-SDK-Version": "3.1.
|
1194
|
+
"X-Fern-SDK-Version": "3.1.1",
|
1195
1195
|
},
|
1196
1196
|
contentType: "application/json",
|
1197
1197
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1250,7 +1250,7 @@ class LabTests {
|
|
1250
1250
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1251
1251
|
"X-Fern-Language": "JavaScript",
|
1252
1252
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1253
|
-
"X-Fern-SDK-Version": "3.1.
|
1253
|
+
"X-Fern-SDK-Version": "3.1.1",
|
1254
1254
|
},
|
1255
1255
|
contentType: "application/json",
|
1256
1256
|
body: yield serializers.CreateOrderRequestCompatible.jsonOrThrow(request, {
|
@@ -1312,7 +1312,7 @@ class LabTests {
|
|
1312
1312
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1313
1313
|
"X-Fern-Language": "JavaScript",
|
1314
1314
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1315
|
-
"X-Fern-SDK-Version": "3.1.
|
1315
|
+
"X-Fern-SDK-Version": "3.1.1",
|
1316
1316
|
},
|
1317
1317
|
contentType: "application/json",
|
1318
1318
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1379,7 +1379,7 @@ class LabTests {
|
|
1379
1379
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1380
1380
|
"X-Fern-Language": "JavaScript",
|
1381
1381
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1382
|
-
"X-Fern-SDK-Version": "3.1.
|
1382
|
+
"X-Fern-SDK-Version": "3.1.1",
|
1383
1383
|
},
|
1384
1384
|
contentType: "application/json",
|
1385
1385
|
queryParameters: _queryParams,
|
@@ -1465,7 +1465,7 @@ class LabTests {
|
|
1465
1465
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1466
1466
|
"X-Fern-Language": "JavaScript",
|
1467
1467
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1468
|
-
"X-Fern-SDK-Version": "3.1.
|
1468
|
+
"X-Fern-SDK-Version": "3.1.1",
|
1469
1469
|
},
|
1470
1470
|
contentType: "application/json",
|
1471
1471
|
queryParameters: _queryParams,
|
@@ -10,7 +10,7 @@ export interface CreateOrderRequestCompatible {
|
|
10
10
|
/** Defines whether order is priority or not. For some labs, this refers to a STAT order. */
|
11
11
|
priority?: boolean;
|
12
12
|
consents?: Vital.Consent[];
|
13
|
-
/**
|
13
|
+
/** Schedule an Order to be processed in a future date. */
|
14
14
|
activateBy?: string;
|
15
15
|
patientDetails: Vital.PatientDetails;
|
16
16
|
patientAddress: Vital.PatientAddressCompatible;
|
@@ -79,7 +79,7 @@ class Link {
|
|
79
79
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
80
80
|
"X-Fern-Language": "JavaScript",
|
81
81
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
82
|
-
"X-Fern-SDK-Version": "3.1.
|
82
|
+
"X-Fern-SDK-Version": "3.1.1",
|
83
83
|
},
|
84
84
|
contentType: "application/json",
|
85
85
|
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.1.
|
141
|
+
"X-Fern-SDK-Version": "3.1.1",
|
142
142
|
},
|
143
143
|
contentType: "application/json",
|
144
144
|
body: yield serializers.LinkTokenBase.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
@@ -204,7 +204,7 @@ class Link {
|
|
204
204
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
205
205
|
"X-Fern-Language": "JavaScript",
|
206
206
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
207
|
-
"X-Fern-SDK-Version": "3.1.
|
207
|
+
"X-Fern-SDK-Version": "3.1.1",
|
208
208
|
},
|
209
209
|
contentType: "application/json",
|
210
210
|
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.1.
|
268
|
+
"X-Fern-SDK-Version": "3.1.1",
|
269
269
|
},
|
270
270
|
contentType: "application/json",
|
271
271
|
body: yield serializers.BeginLinkTokenRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
@@ -330,7 +330,7 @@ class Link {
|
|
330
330
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
331
331
|
"X-Fern-Language": "JavaScript",
|
332
332
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
333
|
-
"X-Fern-SDK-Version": "3.1.
|
333
|
+
"X-Fern-SDK-Version": "3.1.1",
|
334
334
|
"x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined,
|
335
335
|
},
|
336
336
|
contentType: "application/json",
|
@@ -393,7 +393,7 @@ class Link {
|
|
393
393
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
394
394
|
"X-Fern-Language": "JavaScript",
|
395
395
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
396
|
-
"X-Fern-SDK-Version": "3.1.
|
396
|
+
"X-Fern-SDK-Version": "3.1.1",
|
397
397
|
"x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined,
|
398
398
|
},
|
399
399
|
contentType: "application/json",
|
@@ -457,7 +457,7 @@ class Link {
|
|
457
457
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
458
458
|
"X-Fern-Language": "JavaScript",
|
459
459
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
460
|
-
"X-Fern-SDK-Version": "3.1.
|
460
|
+
"X-Fern-SDK-Version": "3.1.1",
|
461
461
|
"x-vital-link-client-region": vitalLinkClientRegion != null ? vitalLinkClientRegion : undefined,
|
462
462
|
"x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined,
|
463
463
|
},
|
@@ -520,7 +520,7 @@ class Link {
|
|
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.1.
|
523
|
+
"X-Fern-SDK-Version": "3.1.1",
|
524
524
|
"x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined,
|
525
525
|
},
|
526
526
|
contentType: "application/json",
|
@@ -581,7 +581,7 @@ class Link {
|
|
581
581
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
582
582
|
"X-Fern-Language": "JavaScript",
|
583
583
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
584
|
-
"X-Fern-SDK-Version": "3.1.
|
584
|
+
"X-Fern-SDK-Version": "3.1.1",
|
585
585
|
"x-vital-link-client-region": vitalLinkClientRegion != null ? vitalLinkClientRegion : undefined,
|
586
586
|
"x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined,
|
587
587
|
},
|
@@ -644,7 +644,7 @@ class Link {
|
|
644
644
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
645
645
|
"X-Fern-Language": "JavaScript",
|
646
646
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
647
|
-
"X-Fern-SDK-Version": "3.1.
|
647
|
+
"X-Fern-SDK-Version": "3.1.1",
|
648
648
|
"x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined,
|
649
649
|
},
|
650
650
|
contentType: "application/json",
|
@@ -709,7 +709,7 @@ class Link {
|
|
709
709
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
710
710
|
"X-Fern-Language": "JavaScript",
|
711
711
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
712
|
-
"X-Fern-SDK-Version": "3.1.
|
712
|
+
"X-Fern-SDK-Version": "3.1.1",
|
713
713
|
"x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined,
|
714
714
|
},
|
715
715
|
contentType: "application/json",
|
@@ -771,7 +771,7 @@ class Link {
|
|
771
771
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
772
772
|
"X-Fern-Language": "JavaScript",
|
773
773
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
774
|
-
"X-Fern-SDK-Version": "3.1.
|
774
|
+
"X-Fern-SDK-Version": "3.1.1",
|
775
775
|
},
|
776
776
|
contentType: "application/json",
|
777
777
|
body: yield serializers.ManualConnectionData.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
@@ -831,7 +831,7 @@ class Link {
|
|
831
831
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
832
832
|
"X-Fern-Language": "JavaScript",
|
833
833
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
834
|
-
"X-Fern-SDK-Version": "3.1.
|
834
|
+
"X-Fern-SDK-Version": "3.1.1",
|
835
835
|
},
|
836
836
|
contentType: "application/json",
|
837
837
|
body: yield serializers.DemoConnectionCreationPayload.jsonOrThrow(request, {
|
@@ -77,7 +77,7 @@ class Meal {
|
|
77
77
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
78
78
|
"X-Fern-Language": "JavaScript",
|
79
79
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
80
|
-
"X-Fern-SDK-Version": "3.1.
|
80
|
+
"X-Fern-SDK-Version": "3.1.1",
|
81
81
|
},
|
82
82
|
contentType: "application/json",
|
83
83
|
queryParameters: _queryParams,
|
@@ -68,7 +68,7 @@ class Profile {
|
|
68
68
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
69
69
|
"X-Fern-Language": "JavaScript",
|
70
70
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
71
|
-
"X-Fern-SDK-Version": "3.1.
|
71
|
+
"X-Fern-SDK-Version": "3.1.1",
|
72
72
|
},
|
73
73
|
contentType: "application/json",
|
74
74
|
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.1.
|
136
|
+
"X-Fern-SDK-Version": "3.1.1",
|
137
137
|
},
|
138
138
|
contentType: "application/json",
|
139
139
|
queryParameters: _queryParams,
|
@@ -64,7 +64,7 @@ class Providers {
|
|
64
64
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
65
65
|
"X-Fern-Language": "JavaScript",
|
66
66
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
67
|
-
"X-Fern-SDK-Version": "3.1.
|
67
|
+
"X-Fern-SDK-Version": "3.1.1",
|
68
68
|
},
|
69
69
|
contentType: "application/json",
|
70
70
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -77,7 +77,7 @@ class Sleep {
|
|
77
77
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
78
78
|
"X-Fern-Language": "JavaScript",
|
79
79
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
80
|
-
"X-Fern-SDK-Version": "3.1.
|
80
|
+
"X-Fern-SDK-Version": "3.1.1",
|
81
81
|
},
|
82
82
|
contentType: "application/json",
|
83
83
|
queryParameters: _queryParams,
|
@@ -151,7 +151,7 @@ class Sleep {
|
|
151
151
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
152
152
|
"X-Fern-Language": "JavaScript",
|
153
153
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
154
|
-
"X-Fern-SDK-Version": "3.1.
|
154
|
+
"X-Fern-SDK-Version": "3.1.1",
|
155
155
|
},
|
156
156
|
contentType: "application/json",
|
157
157
|
queryParameters: _queryParams,
|
@@ -225,7 +225,7 @@ class Sleep {
|
|
225
225
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
226
226
|
"X-Fern-Language": "JavaScript",
|
227
227
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
228
|
-
"X-Fern-SDK-Version": "3.1.
|
228
|
+
"X-Fern-SDK-Version": "3.1.1",
|
229
229
|
},
|
230
230
|
contentType: "application/json",
|
231
231
|
queryParameters: _queryParams,
|
@@ -288,7 +288,7 @@ class Sleep {
|
|
288
288
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
289
289
|
"X-Fern-Language": "JavaScript",
|
290
290
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
291
|
-
"X-Fern-SDK-Version": "3.1.
|
291
|
+
"X-Fern-SDK-Version": "3.1.1",
|
292
292
|
},
|
293
293
|
contentType: "application/json",
|
294
294
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -67,7 +67,7 @@ class Team {
|
|
67
67
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
68
68
|
"X-Fern-Language": "JavaScript",
|
69
69
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
70
|
-
"X-Fern-SDK-Version": "3.1.
|
70
|
+
"X-Fern-SDK-Version": "3.1.1",
|
71
71
|
"x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined,
|
72
72
|
},
|
73
73
|
contentType: "application/json",
|
@@ -127,7 +127,7 @@ class Team {
|
|
127
127
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
128
128
|
"X-Fern-Language": "JavaScript",
|
129
129
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
130
|
-
"X-Fern-SDK-Version": "3.1.
|
130
|
+
"X-Fern-SDK-Version": "3.1.1",
|
131
131
|
},
|
132
132
|
contentType: "application/json",
|
133
133
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -194,7 +194,7 @@ class Team {
|
|
194
194
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
195
195
|
"X-Fern-Language": "JavaScript",
|
196
196
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
197
|
-
"X-Fern-SDK-Version": "3.1.
|
197
|
+
"X-Fern-SDK-Version": "3.1.1",
|
198
198
|
},
|
199
199
|
contentType: "application/json",
|
200
200
|
queryParameters: _queryParams,
|
@@ -250,7 +250,7 @@ class Team {
|
|
250
250
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
251
251
|
"X-Fern-Language": "JavaScript",
|
252
252
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
253
|
-
"X-Fern-SDK-Version": "3.1.
|
253
|
+
"X-Fern-SDK-Version": "3.1.1",
|
254
254
|
},
|
255
255
|
contentType: "application/json",
|
256
256
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -307,7 +307,7 @@ class Team {
|
|
307
307
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
308
308
|
"X-Fern-Language": "JavaScript",
|
309
309
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
310
|
-
"X-Fern-SDK-Version": "3.1.
|
310
|
+
"X-Fern-SDK-Version": "3.1.1",
|
311
311
|
},
|
312
312
|
contentType: "application/json",
|
313
313
|
queryParameters: _queryParams,
|
@@ -375,7 +375,7 @@ class Team {
|
|
375
375
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
376
376
|
"X-Fern-Language": "JavaScript",
|
377
377
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
378
|
-
"X-Fern-SDK-Version": "3.1.
|
378
|
+
"X-Fern-SDK-Version": "3.1.1",
|
379
379
|
},
|
380
380
|
contentType: "application/json",
|
381
381
|
queryParameters: _queryParams,
|
@@ -437,7 +437,7 @@ class Team {
|
|
437
437
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
438
438
|
"X-Fern-Language": "JavaScript",
|
439
439
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
440
|
-
"X-Fern-SDK-Version": "3.1.
|
440
|
+
"X-Fern-SDK-Version": "3.1.1",
|
441
441
|
},
|
442
442
|
contentType: "application/json",
|
443
443
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -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.1.
|
65
|
+
"X-Fern-SDK-Version": "3.1.1",
|
66
66
|
},
|
67
67
|
contentType: "application/json",
|
68
68
|
body: yield serializers.RegisterTestkitRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
@@ -122,7 +122,7 @@ class Testkit {
|
|
122
122
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
123
123
|
"X-Fern-Language": "JavaScript",
|
124
124
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
125
|
-
"X-Fern-SDK-Version": "3.1.
|
125
|
+
"X-Fern-SDK-Version": "3.1.1",
|
126
126
|
},
|
127
127
|
contentType: "application/json",
|
128
128
|
body: yield serializers.CreateRegistrableTestkitOrderRequest.jsonOrThrow(request, {
|
@@ -68,6 +68,10 @@ export declare class User {
|
|
68
68
|
* @throws {@link Vital.UnprocessableEntityError}
|
69
69
|
*/
|
70
70
|
deregisterProvider(userId: string, provider: Vital.Providers, requestOptions?: User.RequestOptions): Promise<Vital.UserSuccessResponse>;
|
71
|
+
/**
|
72
|
+
* @throws {@link Vital.UnprocessableEntityError}
|
73
|
+
*/
|
74
|
+
undoDelete(request?: Vital.UserUndoDeleteRequest, requestOptions?: User.RequestOptions): Promise<Vital.UserSuccessResponse>;
|
71
75
|
/**
|
72
76
|
* Trigger a manual refresh for a specific user
|
73
77
|
* @throws {@link Vital.BadRequestError}
|