@tryvital/vital-node 3.1.2 → 3.1.3
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/errors/BadRequestError.d.ts +1 -2
- 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/link/client/Client.d.ts +2 -6
- package/api/resources/link/client/Client.js +15 -19
- 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/testkit/client/requests/RegisterTestkitRequest.d.ts +1 -0
- package/api/resources/user/client/Client.d.ts +1 -0
- package/api/resources/user/client/Client.js +16 -18
- package/api/resources/user/client/requests/UserCreateBody.d.ts +4 -0
- package/api/resources/user/client/requests/UserPatchBody.d.ts +4 -0
- package/api/resources/vitals/client/Client.js +50 -50
- package/api/resources/workouts/client/Client.js +3 -3
- package/api/types/ClientFacingUser.d.ts +4 -0
- package/api/types/ClientUserIdConflict.d.ts +9 -0
- package/api/types/ClientUserIdConflict.js +5 -0
- package/api/types/LibreConfig.d.ts +1 -0
- package/api/types/OrderStatus.d.ts +2 -1
- package/api/types/OrderStatus.js +1 -0
- package/api/types/Region.d.ts +2 -1
- package/api/types/Region.js +1 -0
- package/api/types/index.d.ts +1 -0
- package/api/types/index.js +1 -0
- package/dist/api/errors/BadRequestError.d.ts +1 -2
- 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/link/client/Client.d.ts +2 -6
- package/dist/api/resources/link/client/Client.js +15 -19
- 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/testkit/client/requests/RegisterTestkitRequest.d.ts +1 -0
- package/dist/api/resources/user/client/Client.d.ts +1 -0
- package/dist/api/resources/user/client/Client.js +16 -18
- package/dist/api/resources/user/client/requests/UserCreateBody.d.ts +4 -0
- package/dist/api/resources/user/client/requests/UserPatchBody.d.ts +4 -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/ClientFacingUser.d.ts +4 -0
- package/dist/api/types/ClientUserIdConflict.d.ts +9 -0
- package/dist/api/types/ClientUserIdConflict.js +5 -0
- package/dist/api/types/LibreConfig.d.ts +1 -0
- package/dist/api/types/OrderStatus.d.ts +2 -1
- package/dist/api/types/OrderStatus.js +1 -0
- package/dist/api/types/Region.d.ts +2 -1
- package/dist/api/types/Region.js +1 -0
- package/dist/api/types/index.d.ts +1 -0
- package/dist/api/types/index.js +1 -0
- package/dist/serialization/resources/testkit/client/requests/RegisterTestkitRequest.d.ts +1 -0
- package/dist/serialization/resources/testkit/client/requests/RegisterTestkitRequest.js +1 -0
- package/dist/serialization/resources/user/client/requests/UserCreateBody.d.ts +2 -0
- package/dist/serialization/resources/user/client/requests/UserCreateBody.js +2 -0
- package/dist/serialization/resources/user/client/requests/UserPatchBody.d.ts +2 -0
- package/dist/serialization/resources/user/client/requests/UserPatchBody.js +2 -0
- package/dist/serialization/types/ClientFacingUser.d.ts +2 -0
- package/dist/serialization/types/ClientFacingUser.js +2 -0
- package/dist/serialization/types/ClientUserIdConflict.d.ts +15 -0
- package/dist/serialization/types/ClientUserIdConflict.js +36 -0
- package/dist/serialization/types/LibreConfig.d.ts +1 -0
- package/dist/serialization/types/LibreConfig.js +1 -0
- package/dist/serialization/types/OrderStatus.d.ts +1 -1
- package/dist/serialization/types/OrderStatus.js +1 -0
- package/dist/serialization/types/Region.d.ts +1 -1
- package/dist/serialization/types/Region.js +1 -0
- package/dist/serialization/types/index.d.ts +1 -0
- package/dist/serialization/types/index.js +1 -0
- package/package.json +1 -1
- package/serialization/resources/testkit/client/requests/RegisterTestkitRequest.d.ts +1 -0
- package/serialization/resources/testkit/client/requests/RegisterTestkitRequest.js +1 -0
- package/serialization/resources/user/client/requests/UserCreateBody.d.ts +2 -0
- package/serialization/resources/user/client/requests/UserCreateBody.js +2 -0
- package/serialization/resources/user/client/requests/UserPatchBody.d.ts +2 -0
- package/serialization/resources/user/client/requests/UserPatchBody.js +2 -0
- package/serialization/types/ClientFacingUser.d.ts +2 -0
- package/serialization/types/ClientFacingUser.js +2 -0
- package/serialization/types/ClientUserIdConflict.d.ts +15 -0
- package/serialization/types/ClientUserIdConflict.js +36 -0
- package/serialization/types/LibreConfig.d.ts +1 -0
- package/serialization/types/LibreConfig.js +1 -0
- package/serialization/types/OrderStatus.d.ts +1 -1
- package/serialization/types/OrderStatus.js +1 -0
- package/serialization/types/Region.d.ts +1 -1
- package/serialization/types/Region.js +1 -0
- package/serialization/types/index.d.ts +1 -0
- package/serialization/types/index.js +1 -0
@@ -4,7 +4,7 @@
|
|
4
4
|
/**
|
5
5
|
* An enumeration.
|
6
6
|
*/
|
7
|
-
export declare type OrderStatus = "received.walk_in_test.ordered" | "received.walk_in_test.requisition_created" | "completed.walk_in_test.completed" | "sample_with_lab.walk_in_test.partial_results" | "failed.walk_in_test.sample_error" | "cancelled.walk_in_test.cancelled" | "received.at_home_phlebotomy.ordered" | "received.at_home_phlebotomy.requisition_created" | "collecting_sample.at_home_phlebotomy.appointment_pending" | "collecting_sample.at_home_phlebotomy.appointment_scheduled" | "collecting_sample.at_home_phlebotomy.draw_completed" | "collecting_sample.at_home_phlebotomy.appointment_cancelled" | "completed.at_home_phlebotomy.completed" | "sample_with_lab.at_home_phlebotomy.partial_results" | "cancelled.at_home_phlebotomy.cancelled" | "received.testkit.ordered" | "received.testkit.awaiting_registration" | "received.testkit.requisition_created" | "received.testkit.registered" | "collecting_sample.testkit.transit_customer" | "collecting_sample.testkit.out_for_delivery" | "collecting_sample.testkit.with_customer" | "collecting_sample.testkit.transit_lab" | "sample_with_lab.testkit.delivered_to_lab" | "completed.testkit.completed" | "failed.testkit.failure_to_deliver_to_customer" | "failed.testkit.failure_to_deliver_to_lab" | "failed.testkit.sample_error" | "failed.testkit.lost" | "cancelled.testkit.cancelled" | "cancelled.testkit.do_not_process";
|
7
|
+
export declare type OrderStatus = "received.walk_in_test.ordered" | "received.walk_in_test.requisition_created" | "completed.walk_in_test.completed" | "sample_with_lab.walk_in_test.partial_results" | "failed.walk_in_test.sample_error" | "cancelled.walk_in_test.cancelled" | "received.at_home_phlebotomy.ordered" | "received.at_home_phlebotomy.requisition_created" | "collecting_sample.at_home_phlebotomy.appointment_pending" | "collecting_sample.at_home_phlebotomy.appointment_scheduled" | "collecting_sample.at_home_phlebotomy.draw_completed" | "collecting_sample.at_home_phlebotomy.appointment_cancelled" | "completed.at_home_phlebotomy.completed" | "sample_with_lab.at_home_phlebotomy.partial_results" | "cancelled.at_home_phlebotomy.cancelled" | "failed.at_home_phlebotomy.sample_error" | "received.testkit.ordered" | "received.testkit.awaiting_registration" | "received.testkit.requisition_created" | "received.testkit.registered" | "collecting_sample.testkit.transit_customer" | "collecting_sample.testkit.out_for_delivery" | "collecting_sample.testkit.with_customer" | "collecting_sample.testkit.transit_lab" | "sample_with_lab.testkit.delivered_to_lab" | "completed.testkit.completed" | "failed.testkit.failure_to_deliver_to_customer" | "failed.testkit.failure_to_deliver_to_lab" | "failed.testkit.sample_error" | "failed.testkit.lost" | "cancelled.testkit.cancelled" | "cancelled.testkit.do_not_process";
|
8
8
|
export declare const OrderStatus: {
|
9
9
|
readonly ReceivedWalkInTestOrdered: "received.walk_in_test.ordered";
|
10
10
|
readonly ReceivedWalkInTestRequisitionCreated: "received.walk_in_test.requisition_created";
|
@@ -21,6 +21,7 @@ export declare const OrderStatus: {
|
|
21
21
|
readonly CompletedAtHomePhlebotomyCompleted: "completed.at_home_phlebotomy.completed";
|
22
22
|
readonly SampleWithLabAtHomePhlebotomyPartialResults: "sample_with_lab.at_home_phlebotomy.partial_results";
|
23
23
|
readonly CancelledAtHomePhlebotomyCancelled: "cancelled.at_home_phlebotomy.cancelled";
|
24
|
+
readonly FailedAtHomePhlebotomySampleError: "failed.at_home_phlebotomy.sample_error";
|
24
25
|
readonly ReceivedTestkitOrdered: "received.testkit.ordered";
|
25
26
|
readonly ReceivedTestkitAwaitingRegistration: "received.testkit.awaiting_registration";
|
26
27
|
readonly ReceivedTestkitRequisitionCreated: "received.testkit.requisition_created";
|
package/api/types/OrderStatus.js
CHANGED
@@ -20,6 +20,7 @@ exports.OrderStatus = {
|
|
20
20
|
CompletedAtHomePhlebotomyCompleted: "completed.at_home_phlebotomy.completed",
|
21
21
|
SampleWithLabAtHomePhlebotomyPartialResults: "sample_with_lab.at_home_phlebotomy.partial_results",
|
22
22
|
CancelledAtHomePhlebotomyCancelled: "cancelled.at_home_phlebotomy.cancelled",
|
23
|
+
FailedAtHomePhlebotomySampleError: "failed.at_home_phlebotomy.sample_error",
|
23
24
|
ReceivedTestkitOrdered: "received.testkit.ordered",
|
24
25
|
ReceivedTestkitAwaitingRegistration: "received.testkit.awaiting_registration",
|
25
26
|
ReceivedTestkitRequisitionCreated: "received.testkit.requisition_created",
|
package/api/types/Region.d.ts
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
/**
|
5
5
|
* An enumeration.
|
6
6
|
*/
|
7
|
-
export declare type Region = "us" | "eu" | "sg" | "de" | "au" | "br" | "nl" | "fr" | "ca";
|
7
|
+
export declare type Region = "us" | "eu" | "sg" | "de" | "au" | "br" | "nl" | "fr" | "ca" | "in";
|
8
8
|
export declare const Region: {
|
9
9
|
readonly Us: "us";
|
10
10
|
readonly Eu: "eu";
|
@@ -15,4 +15,5 @@ export declare const Region: {
|
|
15
15
|
readonly Nl: "nl";
|
16
16
|
readonly Fr: "fr";
|
17
17
|
readonly Ca: "ca";
|
18
|
+
readonly In: "in";
|
18
19
|
};
|
package/api/types/Region.js
CHANGED
package/api/types/index.d.ts
CHANGED
@@ -80,6 +80,7 @@ export * from "./ClientFacingWalkInTestOrder";
|
|
80
80
|
export * from "./ClientFacingWaterTimeseries";
|
81
81
|
export * from "./ClientFacingWorkout";
|
82
82
|
export * from "./ClientSleepResponse";
|
83
|
+
export * from "./ClientUserIdConflict";
|
83
84
|
export * from "./ClientWorkoutResponse";
|
84
85
|
export * from "./ConnectedSourceClientFacing";
|
85
86
|
export * from "./ConnectionStatus";
|
package/api/types/index.js
CHANGED
@@ -96,6 +96,7 @@ __exportStar(require("./ClientFacingWalkInTestOrder"), exports);
|
|
96
96
|
__exportStar(require("./ClientFacingWaterTimeseries"), exports);
|
97
97
|
__exportStar(require("./ClientFacingWorkout"), exports);
|
98
98
|
__exportStar(require("./ClientSleepResponse"), exports);
|
99
|
+
__exportStar(require("./ClientUserIdConflict"), exports);
|
99
100
|
__exportStar(require("./ClientWorkoutResponse"), exports);
|
100
101
|
__exportStar(require("./ConnectedSourceClientFacing"), exports);
|
101
102
|
__exportStar(require("./ConnectionStatus"), exports);
|
@@ -2,7 +2,6 @@
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
3
3
|
*/
|
4
4
|
import * as errors from "../../errors";
|
5
|
-
import * as Vital from "..";
|
6
5
|
export declare class BadRequestError extends errors.VitalError {
|
7
|
-
constructor(body
|
6
|
+
constructor(body?: unknown);
|
8
7
|
}
|
@@ -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.3",
|
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.3",
|
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.3",
|
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.3",
|
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.3",
|
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.3",
|
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.3",
|
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.3",
|
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.3",
|
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.3",
|
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.3",
|
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.3",
|
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.3",
|
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.3",
|
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.3",
|
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.3",
|
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.3",
|
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.3",
|
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.3",
|
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.3",
|
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.3",
|
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.3",
|
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.3",
|
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.3",
|
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.3",
|
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.3",
|
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.3",
|
1082
1082
|
},
|
1083
1083
|
contentType: "application/json",
|
1084
1084
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1136,7 +1136,7 @@ class LabTests {
|
|
1136
1136
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1137
1137
|
"X-Fern-Language": "JavaScript",
|
1138
1138
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1139
|
-
"X-Fern-SDK-Version": "3.1.
|
1139
|
+
"X-Fern-SDK-Version": "3.1.3",
|
1140
1140
|
},
|
1141
1141
|
contentType: "application/json",
|
1142
1142
|
responseType: "streaming",
|
@@ -1181,7 +1181,7 @@ class LabTests {
|
|
1181
1181
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1182
1182
|
"X-Fern-Language": "JavaScript",
|
1183
1183
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1184
|
-
"X-Fern-SDK-Version": "3.1.
|
1184
|
+
"X-Fern-SDK-Version": "3.1.3",
|
1185
1185
|
},
|
1186
1186
|
contentType: "application/json",
|
1187
1187
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1240,7 +1240,7 @@ class LabTests {
|
|
1240
1240
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1241
1241
|
"X-Fern-Language": "JavaScript",
|
1242
1242
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1243
|
-
"X-Fern-SDK-Version": "3.1.
|
1243
|
+
"X-Fern-SDK-Version": "3.1.3",
|
1244
1244
|
},
|
1245
1245
|
contentType: "application/json",
|
1246
1246
|
body: yield serializers.CreateOrderRequestCompatible.jsonOrThrow(request, {
|
@@ -1302,7 +1302,7 @@ class LabTests {
|
|
1302
1302
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1303
1303
|
"X-Fern-Language": "JavaScript",
|
1304
1304
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1305
|
-
"X-Fern-SDK-Version": "3.1.
|
1305
|
+
"X-Fern-SDK-Version": "3.1.3",
|
1306
1306
|
},
|
1307
1307
|
contentType: "application/json",
|
1308
1308
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -1369,7 +1369,7 @@ class LabTests {
|
|
1369
1369
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1370
1370
|
"X-Fern-Language": "JavaScript",
|
1371
1371
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1372
|
-
"X-Fern-SDK-Version": "3.1.
|
1372
|
+
"X-Fern-SDK-Version": "3.1.3",
|
1373
1373
|
},
|
1374
1374
|
contentType: "application/json",
|
1375
1375
|
queryParameters: _queryParams,
|
@@ -1455,7 +1455,7 @@ class LabTests {
|
|
1455
1455
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1456
1456
|
"X-Fern-Language": "JavaScript",
|
1457
1457
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1458
|
-
"X-Fern-SDK-Version": "3.1.
|
1458
|
+
"X-Fern-SDK-Version": "3.1.3",
|
1459
1459
|
},
|
1460
1460
|
contentType: "application/json",
|
1461
1461
|
queryParameters: _queryParams,
|
@@ -52,16 +52,12 @@ export declare class Link {
|
|
52
52
|
*/
|
53
53
|
tokenState(request?: Vital.LinkTokenStateRequest, requestOptions?: Link.RequestOptions): Promise<Record<string, unknown>>;
|
54
54
|
/**
|
55
|
-
*
|
56
|
-
* PROVIDER_TYPE: EMAIL-AUTH
|
57
|
-
* This function is hit by vital-link to authenticate a email provider.
|
55
|
+
* Deprecated. Use `POST /v2/link/provider/email/{provider}` instead.
|
58
56
|
* @throws {@link Vital.UnprocessableEntityError}
|
59
57
|
*/
|
60
58
|
emailAuth(request: Vital.EmailAuthLink, requestOptions?: Link.RequestOptions): Promise<Vital.ConnectionStatus>;
|
61
59
|
/**
|
62
|
-
*
|
63
|
-
* PROVIDER_TYPE: PASSWORD-AUTH
|
64
|
-
* This function is hit by vital-link to authenticate a password provider.
|
60
|
+
* Deprecated. Use `POST /v2/link/provider/password/{provider}` instead.
|
65
61
|
* @throws {@link Vital.UnprocessableEntityError}
|
66
62
|
*/
|
67
63
|
passwordAuth(request: Vital.PasswordAuthLink, requestOptions?: Link.RequestOptions): Promise<Vital.ConnectionStatus>;
|
@@ -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.3",
|
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.3",
|
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.3",
|
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.3",
|
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.3",
|
334
334
|
"x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined,
|
335
335
|
},
|
336
336
|
contentType: "application/json",
|
@@ -377,9 +377,7 @@ class Link {
|
|
377
377
|
});
|
378
378
|
}
|
379
379
|
/**
|
380
|
-
*
|
381
|
-
* PROVIDER_TYPE: EMAIL-AUTH
|
382
|
-
* This function is hit by vital-link to authenticate a email provider.
|
380
|
+
* Deprecated. Use `POST /v2/link/provider/email/{provider}` instead.
|
383
381
|
* @throws {@link Vital.UnprocessableEntityError}
|
384
382
|
*/
|
385
383
|
emailAuth(request, requestOptions) {
|
@@ -393,7 +391,7 @@ class Link {
|
|
393
391
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
394
392
|
"X-Fern-Language": "JavaScript",
|
395
393
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
396
|
-
"X-Fern-SDK-Version": "3.1.
|
394
|
+
"X-Fern-SDK-Version": "3.1.3",
|
397
395
|
"x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined,
|
398
396
|
},
|
399
397
|
contentType: "application/json",
|
@@ -441,9 +439,7 @@ class Link {
|
|
441
439
|
});
|
442
440
|
}
|
443
441
|
/**
|
444
|
-
*
|
445
|
-
* PROVIDER_TYPE: PASSWORD-AUTH
|
446
|
-
* This function is hit by vital-link to authenticate a password provider.
|
442
|
+
* Deprecated. Use `POST /v2/link/provider/password/{provider}` instead.
|
447
443
|
* @throws {@link Vital.UnprocessableEntityError}
|
448
444
|
*/
|
449
445
|
passwordAuth(request, requestOptions) {
|
@@ -457,7 +453,7 @@ class Link {
|
|
457
453
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
458
454
|
"X-Fern-Language": "JavaScript",
|
459
455
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
460
|
-
"X-Fern-SDK-Version": "3.1.
|
456
|
+
"X-Fern-SDK-Version": "3.1.3",
|
461
457
|
"x-vital-link-client-region": vitalLinkClientRegion != null ? vitalLinkClientRegion : undefined,
|
462
458
|
"x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined,
|
463
459
|
},
|
@@ -520,7 +516,7 @@ class Link {
|
|
520
516
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
521
517
|
"X-Fern-Language": "JavaScript",
|
522
518
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
523
|
-
"X-Fern-SDK-Version": "3.1.
|
519
|
+
"X-Fern-SDK-Version": "3.1.3",
|
524
520
|
"x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined,
|
525
521
|
},
|
526
522
|
contentType: "application/json",
|
@@ -581,7 +577,7 @@ class Link {
|
|
581
577
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
582
578
|
"X-Fern-Language": "JavaScript",
|
583
579
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
584
|
-
"X-Fern-SDK-Version": "3.1.
|
580
|
+
"X-Fern-SDK-Version": "3.1.3",
|
585
581
|
"x-vital-link-client-region": vitalLinkClientRegion != null ? vitalLinkClientRegion : undefined,
|
586
582
|
"x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined,
|
587
583
|
},
|
@@ -644,7 +640,7 @@ class Link {
|
|
644
640
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
645
641
|
"X-Fern-Language": "JavaScript",
|
646
642
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
647
|
-
"X-Fern-SDK-Version": "3.1.
|
643
|
+
"X-Fern-SDK-Version": "3.1.3",
|
648
644
|
"x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined,
|
649
645
|
},
|
650
646
|
contentType: "application/json",
|
@@ -709,7 +705,7 @@ class Link {
|
|
709
705
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
710
706
|
"X-Fern-Language": "JavaScript",
|
711
707
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
712
|
-
"X-Fern-SDK-Version": "3.1.
|
708
|
+
"X-Fern-SDK-Version": "3.1.3",
|
713
709
|
"x-vital-link-token": vitalLinkToken != null ? vitalLinkToken : undefined,
|
714
710
|
},
|
715
711
|
contentType: "application/json",
|
@@ -771,7 +767,7 @@ class Link {
|
|
771
767
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
772
768
|
"X-Fern-Language": "JavaScript",
|
773
769
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
774
|
-
"X-Fern-SDK-Version": "3.1.
|
770
|
+
"X-Fern-SDK-Version": "3.1.3",
|
775
771
|
},
|
776
772
|
contentType: "application/json",
|
777
773
|
body: yield serializers.ManualConnectionData.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
@@ -831,7 +827,7 @@ class Link {
|
|
831
827
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
832
828
|
"X-Fern-Language": "JavaScript",
|
833
829
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
834
|
-
"X-Fern-SDK-Version": "3.1.
|
830
|
+
"X-Fern-SDK-Version": "3.1.3",
|
835
831
|
},
|
836
832
|
contentType: "application/json",
|
837
833
|
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.3",
|
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.3",
|
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.3",
|
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.3",
|
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.3",
|
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.3",
|
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.3",
|
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.3",
|
292
292
|
},
|
293
293
|
contentType: "application/json",
|
294
294
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|