@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
@@ -71,7 +71,7 @@ class User {
|
|
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,
|
@@ -131,7 +131,7 @@ class User {
|
|
131
131
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
132
132
|
"X-Fern-Language": "JavaScript",
|
133
133
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
134
|
-
"X-Fern-SDK-Version": "3.1.
|
134
|
+
"X-Fern-SDK-Version": "3.1.1",
|
135
135
|
},
|
136
136
|
contentType: "application/json",
|
137
137
|
body: yield serializers.UserCreateBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
@@ -190,7 +190,7 @@ class User {
|
|
190
190
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
191
191
|
"X-Fern-Language": "JavaScript",
|
192
192
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
193
|
-
"X-Fern-SDK-Version": "3.1.
|
193
|
+
"X-Fern-SDK-Version": "3.1.1",
|
194
194
|
},
|
195
195
|
contentType: "application/json",
|
196
196
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -238,7 +238,7 @@ class User {
|
|
238
238
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
239
239
|
"X-Fern-Language": "JavaScript",
|
240
240
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
241
|
-
"X-Fern-SDK-Version": "3.1.
|
241
|
+
"X-Fern-SDK-Version": "3.1.1",
|
242
242
|
},
|
243
243
|
contentType: "application/json",
|
244
244
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -300,7 +300,7 @@ class User {
|
|
300
300
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
301
301
|
"X-Fern-Language": "JavaScript",
|
302
302
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
303
|
-
"X-Fern-SDK-Version": "3.1.
|
303
|
+
"X-Fern-SDK-Version": "3.1.1",
|
304
304
|
},
|
305
305
|
contentType: "application/json",
|
306
306
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -359,7 +359,7 @@ class User {
|
|
359
359
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
360
360
|
"X-Fern-Language": "JavaScript",
|
361
361
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
362
|
-
"X-Fern-SDK-Version": "3.1.
|
362
|
+
"X-Fern-SDK-Version": "3.1.1",
|
363
363
|
},
|
364
364
|
contentType: "application/json",
|
365
365
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -417,7 +417,7 @@ class User {
|
|
417
417
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
418
418
|
"X-Fern-Language": "JavaScript",
|
419
419
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
420
|
-
"X-Fern-SDK-Version": "3.1.
|
420
|
+
"X-Fern-SDK-Version": "3.1.1",
|
421
421
|
},
|
422
422
|
contentType: "application/json",
|
423
423
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -478,7 +478,7 @@ class User {
|
|
478
478
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
479
479
|
"X-Fern-Language": "JavaScript",
|
480
480
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
481
|
-
"X-Fern-SDK-Version": "3.1.
|
481
|
+
"X-Fern-SDK-Version": "3.1.1",
|
482
482
|
},
|
483
483
|
contentType: "application/json",
|
484
484
|
body: yield serializers.UserPatchBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
@@ -533,7 +533,7 @@ class User {
|
|
533
533
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
534
534
|
"X-Fern-Language": "JavaScript",
|
535
535
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
536
|
-
"X-Fern-SDK-Version": "3.1.
|
536
|
+
"X-Fern-SDK-Version": "3.1.1",
|
537
537
|
},
|
538
538
|
contentType: "application/json",
|
539
539
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -591,7 +591,7 @@ class User {
|
|
591
591
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
592
592
|
"X-Fern-Language": "JavaScript",
|
593
593
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
594
|
-
"X-Fern-SDK-Version": "3.1.
|
594
|
+
"X-Fern-SDK-Version": "3.1.1",
|
595
595
|
},
|
596
596
|
contentType: "application/json",
|
597
597
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -636,6 +636,73 @@ class User {
|
|
636
636
|
}
|
637
637
|
});
|
638
638
|
}
|
639
|
+
/**
|
640
|
+
* @throws {@link Vital.UnprocessableEntityError}
|
641
|
+
*/
|
642
|
+
undoDelete(request = {}, requestOptions) {
|
643
|
+
var _a;
|
644
|
+
return __awaiter(this, void 0, void 0, function* () {
|
645
|
+
const { userId, clientUserId } = request;
|
646
|
+
const _queryParams = {};
|
647
|
+
if (userId != null) {
|
648
|
+
_queryParams["user_id"] = userId;
|
649
|
+
}
|
650
|
+
if (clientUserId != null) {
|
651
|
+
_queryParams["client_user_id"] = clientUserId;
|
652
|
+
}
|
653
|
+
const _response = yield core.fetcher({
|
654
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, "v2/user/undo_delete"),
|
655
|
+
method: "POST",
|
656
|
+
headers: {
|
657
|
+
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
658
|
+
"X-Fern-Language": "JavaScript",
|
659
|
+
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
660
|
+
"X-Fern-SDK-Version": "3.1.1",
|
661
|
+
},
|
662
|
+
contentType: "application/json",
|
663
|
+
queryParameters: _queryParams,
|
664
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
665
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
666
|
+
});
|
667
|
+
if (_response.ok) {
|
668
|
+
return yield serializers.UserSuccessResponse.parseOrThrow(_response.body, {
|
669
|
+
unrecognizedObjectKeys: "passthrough",
|
670
|
+
allowUnrecognizedUnionMembers: true,
|
671
|
+
allowUnrecognizedEnumValues: true,
|
672
|
+
breadcrumbsPrefix: ["response"],
|
673
|
+
});
|
674
|
+
}
|
675
|
+
if (_response.error.reason === "status-code") {
|
676
|
+
switch (_response.error.statusCode) {
|
677
|
+
case 422:
|
678
|
+
throw new Vital.UnprocessableEntityError(yield serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
679
|
+
unrecognizedObjectKeys: "passthrough",
|
680
|
+
allowUnrecognizedUnionMembers: true,
|
681
|
+
allowUnrecognizedEnumValues: true,
|
682
|
+
breadcrumbsPrefix: ["response"],
|
683
|
+
}));
|
684
|
+
default:
|
685
|
+
throw new errors.VitalError({
|
686
|
+
statusCode: _response.error.statusCode,
|
687
|
+
body: _response.error.body,
|
688
|
+
});
|
689
|
+
}
|
690
|
+
}
|
691
|
+
switch (_response.error.reason) {
|
692
|
+
case "non-json":
|
693
|
+
throw new errors.VitalError({
|
694
|
+
statusCode: _response.error.statusCode,
|
695
|
+
body: _response.error.rawBody,
|
696
|
+
});
|
697
|
+
case "timeout":
|
698
|
+
throw new errors.VitalTimeoutError();
|
699
|
+
case "unknown":
|
700
|
+
throw new errors.VitalError({
|
701
|
+
message: _response.error.errorMessage,
|
702
|
+
});
|
703
|
+
}
|
704
|
+
});
|
705
|
+
}
|
639
706
|
/**
|
640
707
|
* Trigger a manual refresh for a specific user
|
641
708
|
* @throws {@link Vital.BadRequestError}
|
@@ -656,7 +723,7 @@ class User {
|
|
656
723
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
657
724
|
"X-Fern-Language": "JavaScript",
|
658
725
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
659
|
-
"X-Fern-SDK-Version": "3.1.
|
726
|
+
"X-Fern-SDK-Version": "3.1.1",
|
660
727
|
},
|
661
728
|
contentType: "application/json",
|
662
729
|
queryParameters: _queryParams,
|
@@ -0,0 +1,13 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
export interface UserUndoDeleteRequest {
|
5
|
+
/**
|
6
|
+
* User ID to undo deletion. Mutually exclusive with `client_user_id`.
|
7
|
+
*/
|
8
|
+
userId?: string;
|
9
|
+
/**
|
10
|
+
* Client User ID to undo deletion. Mutually exclusive with `user_id`.
|
11
|
+
*/
|
12
|
+
clientUserId?: string;
|
13
|
+
}
|
@@ -1,4 +1,5 @@
|
|
1
1
|
export { UserGetAllRequest } from "./UserGetAllRequest";
|
2
2
|
export { UserCreateBody } from "./UserCreateBody";
|
3
3
|
export { UserPatchBody } from "./UserPatchBody";
|
4
|
+
export { UserUndoDeleteRequest } from "./UserUndoDeleteRequest";
|
4
5
|
export { UserRefreshRequest } from "./UserRefreshRequest";
|
@@ -79,7 +79,7 @@ class Vitals {
|
|
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
|
queryParameters: _queryParams,
|
@@ -155,7 +155,7 @@ class Vitals {
|
|
155
155
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
156
156
|
"X-Fern-Language": "JavaScript",
|
157
157
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
158
|
-
"X-Fern-SDK-Version": "3.1.
|
158
|
+
"X-Fern-SDK-Version": "3.1.1",
|
159
159
|
},
|
160
160
|
contentType: "application/json",
|
161
161
|
queryParameters: _queryParams,
|
@@ -231,7 +231,7 @@ class Vitals {
|
|
231
231
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
232
232
|
"X-Fern-Language": "JavaScript",
|
233
233
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
234
|
-
"X-Fern-SDK-Version": "3.1.
|
234
|
+
"X-Fern-SDK-Version": "3.1.1",
|
235
235
|
},
|
236
236
|
contentType: "application/json",
|
237
237
|
queryParameters: _queryParams,
|
@@ -307,7 +307,7 @@ class Vitals {
|
|
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,
|
@@ -383,7 +383,7 @@ class Vitals {
|
|
383
383
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
384
384
|
"X-Fern-Language": "JavaScript",
|
385
385
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
386
|
-
"X-Fern-SDK-Version": "3.1.
|
386
|
+
"X-Fern-SDK-Version": "3.1.1",
|
387
387
|
},
|
388
388
|
contentType: "application/json",
|
389
389
|
queryParameters: _queryParams,
|
@@ -459,7 +459,7 @@ class Vitals {
|
|
459
459
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
460
460
|
"X-Fern-Language": "JavaScript",
|
461
461
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
462
|
-
"X-Fern-SDK-Version": "3.1.
|
462
|
+
"X-Fern-SDK-Version": "3.1.1",
|
463
463
|
},
|
464
464
|
contentType: "application/json",
|
465
465
|
queryParameters: _queryParams,
|
@@ -535,7 +535,7 @@ class Vitals {
|
|
535
535
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
536
536
|
"X-Fern-Language": "JavaScript",
|
537
537
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
538
|
-
"X-Fern-SDK-Version": "3.1.
|
538
|
+
"X-Fern-SDK-Version": "3.1.1",
|
539
539
|
},
|
540
540
|
contentType: "application/json",
|
541
541
|
queryParameters: _queryParams,
|
@@ -611,7 +611,7 @@ class Vitals {
|
|
611
611
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
612
612
|
"X-Fern-Language": "JavaScript",
|
613
613
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
614
|
-
"X-Fern-SDK-Version": "3.1.
|
614
|
+
"X-Fern-SDK-Version": "3.1.1",
|
615
615
|
},
|
616
616
|
contentType: "application/json",
|
617
617
|
queryParameters: _queryParams,
|
@@ -687,7 +687,7 @@ class Vitals {
|
|
687
687
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
688
688
|
"X-Fern-Language": "JavaScript",
|
689
689
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
690
|
-
"X-Fern-SDK-Version": "3.1.
|
690
|
+
"X-Fern-SDK-Version": "3.1.1",
|
691
691
|
},
|
692
692
|
contentType: "application/json",
|
693
693
|
queryParameters: _queryParams,
|
@@ -763,7 +763,7 @@ class Vitals {
|
|
763
763
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
764
764
|
"X-Fern-Language": "JavaScript",
|
765
765
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
766
|
-
"X-Fern-SDK-Version": "3.1.
|
766
|
+
"X-Fern-SDK-Version": "3.1.1",
|
767
767
|
},
|
768
768
|
contentType: "application/json",
|
769
769
|
queryParameters: _queryParams,
|
@@ -839,7 +839,7 @@ class Vitals {
|
|
839
839
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
840
840
|
"X-Fern-Language": "JavaScript",
|
841
841
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
842
|
-
"X-Fern-SDK-Version": "3.1.
|
842
|
+
"X-Fern-SDK-Version": "3.1.1",
|
843
843
|
},
|
844
844
|
contentType: "application/json",
|
845
845
|
queryParameters: _queryParams,
|
@@ -915,7 +915,7 @@ class Vitals {
|
|
915
915
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
916
916
|
"X-Fern-Language": "JavaScript",
|
917
917
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
918
|
-
"X-Fern-SDK-Version": "3.1.
|
918
|
+
"X-Fern-SDK-Version": "3.1.1",
|
919
919
|
},
|
920
920
|
contentType: "application/json",
|
921
921
|
queryParameters: _queryParams,
|
@@ -991,7 +991,7 @@ class Vitals {
|
|
991
991
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
992
992
|
"X-Fern-Language": "JavaScript",
|
993
993
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
994
|
-
"X-Fern-SDK-Version": "3.1.
|
994
|
+
"X-Fern-SDK-Version": "3.1.1",
|
995
995
|
},
|
996
996
|
contentType: "application/json",
|
997
997
|
queryParameters: _queryParams,
|
@@ -1067,7 +1067,7 @@ class Vitals {
|
|
1067
1067
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1068
1068
|
"X-Fern-Language": "JavaScript",
|
1069
1069
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1070
|
-
"X-Fern-SDK-Version": "3.1.
|
1070
|
+
"X-Fern-SDK-Version": "3.1.1",
|
1071
1071
|
},
|
1072
1072
|
contentType: "application/json",
|
1073
1073
|
queryParameters: _queryParams,
|
@@ -1143,7 +1143,7 @@ class Vitals {
|
|
1143
1143
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1144
1144
|
"X-Fern-Language": "JavaScript",
|
1145
1145
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1146
|
-
"X-Fern-SDK-Version": "3.1.
|
1146
|
+
"X-Fern-SDK-Version": "3.1.1",
|
1147
1147
|
},
|
1148
1148
|
contentType: "application/json",
|
1149
1149
|
queryParameters: _queryParams,
|
@@ -1219,7 +1219,7 @@ class Vitals {
|
|
1219
1219
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1220
1220
|
"X-Fern-Language": "JavaScript",
|
1221
1221
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1222
|
-
"X-Fern-SDK-Version": "3.1.
|
1222
|
+
"X-Fern-SDK-Version": "3.1.1",
|
1223
1223
|
},
|
1224
1224
|
contentType: "application/json",
|
1225
1225
|
queryParameters: _queryParams,
|
@@ -1295,7 +1295,7 @@ class Vitals {
|
|
1295
1295
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1296
1296
|
"X-Fern-Language": "JavaScript",
|
1297
1297
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1298
|
-
"X-Fern-SDK-Version": "3.1.
|
1298
|
+
"X-Fern-SDK-Version": "3.1.1",
|
1299
1299
|
},
|
1300
1300
|
contentType: "application/json",
|
1301
1301
|
queryParameters: _queryParams,
|
@@ -1371,7 +1371,7 @@ class Vitals {
|
|
1371
1371
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1372
1372
|
"X-Fern-Language": "JavaScript",
|
1373
1373
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1374
|
-
"X-Fern-SDK-Version": "3.1.
|
1374
|
+
"X-Fern-SDK-Version": "3.1.1",
|
1375
1375
|
},
|
1376
1376
|
contentType: "application/json",
|
1377
1377
|
queryParameters: _queryParams,
|
@@ -1447,7 +1447,7 @@ class Vitals {
|
|
1447
1447
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1448
1448
|
"X-Fern-Language": "JavaScript",
|
1449
1449
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1450
|
-
"X-Fern-SDK-Version": "3.1.
|
1450
|
+
"X-Fern-SDK-Version": "3.1.1",
|
1451
1451
|
},
|
1452
1452
|
contentType: "application/json",
|
1453
1453
|
queryParameters: _queryParams,
|
@@ -1523,7 +1523,7 @@ class Vitals {
|
|
1523
1523
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1524
1524
|
"X-Fern-Language": "JavaScript",
|
1525
1525
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1526
|
-
"X-Fern-SDK-Version": "3.1.
|
1526
|
+
"X-Fern-SDK-Version": "3.1.1",
|
1527
1527
|
},
|
1528
1528
|
contentType: "application/json",
|
1529
1529
|
queryParameters: _queryParams,
|
@@ -1599,7 +1599,7 @@ class Vitals {
|
|
1599
1599
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1600
1600
|
"X-Fern-Language": "JavaScript",
|
1601
1601
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1602
|
-
"X-Fern-SDK-Version": "3.1.
|
1602
|
+
"X-Fern-SDK-Version": "3.1.1",
|
1603
1603
|
},
|
1604
1604
|
contentType: "application/json",
|
1605
1605
|
queryParameters: _queryParams,
|
@@ -1675,7 +1675,7 @@ class Vitals {
|
|
1675
1675
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1676
1676
|
"X-Fern-Language": "JavaScript",
|
1677
1677
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1678
|
-
"X-Fern-SDK-Version": "3.1.
|
1678
|
+
"X-Fern-SDK-Version": "3.1.1",
|
1679
1679
|
},
|
1680
1680
|
contentType: "application/json",
|
1681
1681
|
queryParameters: _queryParams,
|
@@ -1751,7 +1751,7 @@ class Vitals {
|
|
1751
1751
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1752
1752
|
"X-Fern-Language": "JavaScript",
|
1753
1753
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1754
|
-
"X-Fern-SDK-Version": "3.1.
|
1754
|
+
"X-Fern-SDK-Version": "3.1.1",
|
1755
1755
|
},
|
1756
1756
|
contentType: "application/json",
|
1757
1757
|
queryParameters: _queryParams,
|
@@ -1824,7 +1824,7 @@ class Vitals {
|
|
1824
1824
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1825
1825
|
"X-Fern-Language": "JavaScript",
|
1826
1826
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1827
|
-
"X-Fern-SDK-Version": "3.1.
|
1827
|
+
"X-Fern-SDK-Version": "3.1.1",
|
1828
1828
|
},
|
1829
1829
|
contentType: "application/json",
|
1830
1830
|
queryParameters: _queryParams,
|
@@ -1897,7 +1897,7 @@ class Vitals {
|
|
1897
1897
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1898
1898
|
"X-Fern-Language": "JavaScript",
|
1899
1899
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1900
|
-
"X-Fern-SDK-Version": "3.1.
|
1900
|
+
"X-Fern-SDK-Version": "3.1.1",
|
1901
1901
|
},
|
1902
1902
|
contentType: "application/json",
|
1903
1903
|
queryParameters: _queryParams,
|
@@ -1970,7 +1970,7 @@ class Vitals {
|
|
1970
1970
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1971
1971
|
"X-Fern-Language": "JavaScript",
|
1972
1972
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1973
|
-
"X-Fern-SDK-Version": "3.1.
|
1973
|
+
"X-Fern-SDK-Version": "3.1.1",
|
1974
1974
|
},
|
1975
1975
|
contentType: "application/json",
|
1976
1976
|
queryParameters: _queryParams,
|
@@ -2043,7 +2043,7 @@ class Vitals {
|
|
2043
2043
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
2044
2044
|
"X-Fern-Language": "JavaScript",
|
2045
2045
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
2046
|
-
"X-Fern-SDK-Version": "3.1.
|
2046
|
+
"X-Fern-SDK-Version": "3.1.1",
|
2047
2047
|
},
|
2048
2048
|
contentType: "application/json",
|
2049
2049
|
queryParameters: _queryParams,
|
@@ -2116,7 +2116,7 @@ class Vitals {
|
|
2116
2116
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
2117
2117
|
"X-Fern-Language": "JavaScript",
|
2118
2118
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
2119
|
-
"X-Fern-SDK-Version": "3.1.
|
2119
|
+
"X-Fern-SDK-Version": "3.1.1",
|
2120
2120
|
},
|
2121
2121
|
contentType: "application/json",
|
2122
2122
|
queryParameters: _queryParams,
|
@@ -2189,7 +2189,7 @@ class Vitals {
|
|
2189
2189
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
2190
2190
|
"X-Fern-Language": "JavaScript",
|
2191
2191
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
2192
|
-
"X-Fern-SDK-Version": "3.1.
|
2192
|
+
"X-Fern-SDK-Version": "3.1.1",
|
2193
2193
|
},
|
2194
2194
|
contentType: "application/json",
|
2195
2195
|
queryParameters: _queryParams,
|
@@ -2262,7 +2262,7 @@ class Vitals {
|
|
2262
2262
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
2263
2263
|
"X-Fern-Language": "JavaScript",
|
2264
2264
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
2265
|
-
"X-Fern-SDK-Version": "3.1.
|
2265
|
+
"X-Fern-SDK-Version": "3.1.1",
|
2266
2266
|
},
|
2267
2267
|
contentType: "application/json",
|
2268
2268
|
queryParameters: _queryParams,
|
@@ -2335,7 +2335,7 @@ class Vitals {
|
|
2335
2335
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
2336
2336
|
"X-Fern-Language": "JavaScript",
|
2337
2337
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
2338
|
-
"X-Fern-SDK-Version": "3.1.
|
2338
|
+
"X-Fern-SDK-Version": "3.1.1",
|
2339
2339
|
},
|
2340
2340
|
contentType: "application/json",
|
2341
2341
|
queryParameters: _queryParams,
|
@@ -2408,7 +2408,7 @@ class Vitals {
|
|
2408
2408
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
2409
2409
|
"X-Fern-Language": "JavaScript",
|
2410
2410
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
2411
|
-
"X-Fern-SDK-Version": "3.1.
|
2411
|
+
"X-Fern-SDK-Version": "3.1.1",
|
2412
2412
|
},
|
2413
2413
|
contentType: "application/json",
|
2414
2414
|
queryParameters: _queryParams,
|
@@ -2481,7 +2481,7 @@ class Vitals {
|
|
2481
2481
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
2482
2482
|
"X-Fern-Language": "JavaScript",
|
2483
2483
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
2484
|
-
"X-Fern-SDK-Version": "3.1.
|
2484
|
+
"X-Fern-SDK-Version": "3.1.1",
|
2485
2485
|
},
|
2486
2486
|
contentType: "application/json",
|
2487
2487
|
queryParameters: _queryParams,
|
@@ -2554,7 +2554,7 @@ class Vitals {
|
|
2554
2554
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
2555
2555
|
"X-Fern-Language": "JavaScript",
|
2556
2556
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
2557
|
-
"X-Fern-SDK-Version": "3.1.
|
2557
|
+
"X-Fern-SDK-Version": "3.1.1",
|
2558
2558
|
},
|
2559
2559
|
contentType: "application/json",
|
2560
2560
|
queryParameters: _queryParams,
|
@@ -2627,7 +2627,7 @@ class Vitals {
|
|
2627
2627
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
2628
2628
|
"X-Fern-Language": "JavaScript",
|
2629
2629
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
2630
|
-
"X-Fern-SDK-Version": "3.1.
|
2630
|
+
"X-Fern-SDK-Version": "3.1.1",
|
2631
2631
|
},
|
2632
2632
|
contentType: "application/json",
|
2633
2633
|
queryParameters: _queryParams,
|
@@ -2700,7 +2700,7 @@ class Vitals {
|
|
2700
2700
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
2701
2701
|
"X-Fern-Language": "JavaScript",
|
2702
2702
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
2703
|
-
"X-Fern-SDK-Version": "3.1.
|
2703
|
+
"X-Fern-SDK-Version": "3.1.1",
|
2704
2704
|
},
|
2705
2705
|
contentType: "application/json",
|
2706
2706
|
queryParameters: _queryParams,
|
@@ -2773,7 +2773,7 @@ class Vitals {
|
|
2773
2773
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
2774
2774
|
"X-Fern-Language": "JavaScript",
|
2775
2775
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
2776
|
-
"X-Fern-SDK-Version": "3.1.
|
2776
|
+
"X-Fern-SDK-Version": "3.1.1",
|
2777
2777
|
},
|
2778
2778
|
contentType: "application/json",
|
2779
2779
|
queryParameters: _queryParams,
|
@@ -2846,7 +2846,7 @@ class Vitals {
|
|
2846
2846
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
2847
2847
|
"X-Fern-Language": "JavaScript",
|
2848
2848
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
2849
|
-
"X-Fern-SDK-Version": "3.1.
|
2849
|
+
"X-Fern-SDK-Version": "3.1.1",
|
2850
2850
|
},
|
2851
2851
|
contentType: "application/json",
|
2852
2852
|
queryParameters: _queryParams,
|
@@ -2919,7 +2919,7 @@ class Vitals {
|
|
2919
2919
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
2920
2920
|
"X-Fern-Language": "JavaScript",
|
2921
2921
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
2922
|
-
"X-Fern-SDK-Version": "3.1.
|
2922
|
+
"X-Fern-SDK-Version": "3.1.1",
|
2923
2923
|
},
|
2924
2924
|
contentType: "application/json",
|
2925
2925
|
queryParameters: _queryParams,
|
@@ -2992,7 +2992,7 @@ class Vitals {
|
|
2992
2992
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
2993
2993
|
"X-Fern-Language": "JavaScript",
|
2994
2994
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
2995
|
-
"X-Fern-SDK-Version": "3.1.
|
2995
|
+
"X-Fern-SDK-Version": "3.1.1",
|
2996
2996
|
},
|
2997
2997
|
contentType: "application/json",
|
2998
2998
|
queryParameters: _queryParams,
|
@@ -3065,7 +3065,7 @@ class Vitals {
|
|
3065
3065
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
3066
3066
|
"X-Fern-Language": "JavaScript",
|
3067
3067
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
3068
|
-
"X-Fern-SDK-Version": "3.1.
|
3068
|
+
"X-Fern-SDK-Version": "3.1.1",
|
3069
3069
|
},
|
3070
3070
|
contentType: "application/json",
|
3071
3071
|
queryParameters: _queryParams,
|
@@ -3138,7 +3138,7 @@ class Vitals {
|
|
3138
3138
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
3139
3139
|
"X-Fern-Language": "JavaScript",
|
3140
3140
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
3141
|
-
"X-Fern-SDK-Version": "3.1.
|
3141
|
+
"X-Fern-SDK-Version": "3.1.1",
|
3142
3142
|
},
|
3143
3143
|
contentType: "application/json",
|
3144
3144
|
queryParameters: _queryParams,
|
@@ -3211,7 +3211,7 @@ class Vitals {
|
|
3211
3211
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
3212
3212
|
"X-Fern-Language": "JavaScript",
|
3213
3213
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
3214
|
-
"X-Fern-SDK-Version": "3.1.
|
3214
|
+
"X-Fern-SDK-Version": "3.1.1",
|
3215
3215
|
},
|
3216
3216
|
contentType: "application/json",
|
3217
3217
|
queryParameters: _queryParams,
|
@@ -3284,7 +3284,7 @@ class Vitals {
|
|
3284
3284
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
3285
3285
|
"X-Fern-Language": "JavaScript",
|
3286
3286
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
3287
|
-
"X-Fern-SDK-Version": "3.1.
|
3287
|
+
"X-Fern-SDK-Version": "3.1.1",
|
3288
3288
|
},
|
3289
3289
|
contentType: "application/json",
|
3290
3290
|
queryParameters: _queryParams,
|
@@ -3357,7 +3357,7 @@ class Vitals {
|
|
3357
3357
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
3358
3358
|
"X-Fern-Language": "JavaScript",
|
3359
3359
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
3360
|
-
"X-Fern-SDK-Version": "3.1.
|
3360
|
+
"X-Fern-SDK-Version": "3.1.1",
|
3361
3361
|
},
|
3362
3362
|
contentType: "application/json",
|
3363
3363
|
queryParameters: _queryParams,
|
@@ -3430,7 +3430,7 @@ class Vitals {
|
|
3430
3430
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
3431
3431
|
"X-Fern-Language": "JavaScript",
|
3432
3432
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
3433
|
-
"X-Fern-SDK-Version": "3.1.
|
3433
|
+
"X-Fern-SDK-Version": "3.1.1",
|
3434
3434
|
},
|
3435
3435
|
contentType: "application/json",
|
3436
3436
|
queryParameters: _queryParams,
|
@@ -3503,7 +3503,7 @@ class Vitals {
|
|
3503
3503
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
3504
3504
|
"X-Fern-Language": "JavaScript",
|
3505
3505
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
3506
|
-
"X-Fern-SDK-Version": "3.1.
|
3506
|
+
"X-Fern-SDK-Version": "3.1.1",
|
3507
3507
|
},
|
3508
3508
|
contentType: "application/json",
|
3509
3509
|
queryParameters: _queryParams,
|
@@ -3576,7 +3576,7 @@ class Vitals {
|
|
3576
3576
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
3577
3577
|
"X-Fern-Language": "JavaScript",
|
3578
3578
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
3579
|
-
"X-Fern-SDK-Version": "3.1.
|
3579
|
+
"X-Fern-SDK-Version": "3.1.1",
|
3580
3580
|
},
|
3581
3581
|
contentType: "application/json",
|
3582
3582
|
queryParameters: _queryParams,
|
@@ -3649,7 +3649,7 @@ class Vitals {
|
|
3649
3649
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
3650
3650
|
"X-Fern-Language": "JavaScript",
|
3651
3651
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
3652
|
-
"X-Fern-SDK-Version": "3.1.
|
3652
|
+
"X-Fern-SDK-Version": "3.1.1",
|
3653
3653
|
},
|
3654
3654
|
contentType: "application/json",
|
3655
3655
|
queryParameters: _queryParams,
|
@@ -3722,7 +3722,7 @@ class Vitals {
|
|
3722
3722
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
3723
3723
|
"X-Fern-Language": "JavaScript",
|
3724
3724
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
3725
|
-
"X-Fern-SDK-Version": "3.1.
|
3725
|
+
"X-Fern-SDK-Version": "3.1.1",
|
3726
3726
|
},
|
3727
3727
|
contentType: "application/json",
|
3728
3728
|
queryParameters: _queryParams,
|