@tryvital/vital-node 3.0.8 → 3.0.9
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/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.js +11 -11
- package/api/resources/vitals/client/Client.js +23 -23
- package/api/resources/workouts/client/Client.js +3 -3
- package/api/types/ClientFacingTeam.d.ts +1 -0
- package/api/types/DeviceV2InDb.d.ts +1 -1
- package/api/types/OAuthProviders.d.ts +2 -1
- package/api/types/OAuthProviders.js +1 -0
- package/api/types/Providers.d.ts +2 -1
- package/api/types/Providers.js +1 -0
- package/api/types/TeamConfig.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/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.js +11 -11
- package/dist/api/resources/vitals/client/Client.js +23 -23
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/api/types/ClientFacingTeam.d.ts +1 -0
- package/dist/api/types/DeviceV2InDb.d.ts +1 -1
- package/dist/api/types/OAuthProviders.d.ts +2 -1
- package/dist/api/types/OAuthProviders.js +1 -0
- package/dist/api/types/Providers.d.ts +2 -1
- package/dist/api/types/Providers.js +1 -0
- package/dist/api/types/TeamConfig.d.ts +1 -0
- package/dist/serialization/types/ClientFacingTeam.d.ts +1 -0
- package/dist/serialization/types/ClientFacingTeam.js +1 -0
- package/dist/serialization/types/DeviceV2InDb.d.ts +1 -1
- package/dist/serialization/types/DeviceV2InDb.js +1 -1
- package/dist/serialization/types/OAuthProviders.d.ts +1 -1
- package/dist/serialization/types/OAuthProviders.js +1 -0
- package/dist/serialization/types/Providers.d.ts +1 -1
- package/dist/serialization/types/Providers.js +1 -0
- package/dist/serialization/types/TeamConfig.d.ts +1 -0
- package/dist/serialization/types/TeamConfig.js +1 -0
- package/package.json +1 -1
- package/serialization/types/ClientFacingTeam.d.ts +1 -0
- package/serialization/types/ClientFacingTeam.js +1 -0
- package/serialization/types/DeviceV2InDb.d.ts +1 -1
- package/serialization/types/DeviceV2InDb.js +1 -1
- package/serialization/types/OAuthProviders.d.ts +1 -1
- package/serialization/types/OAuthProviders.js +1 -0
- package/serialization/types/Providers.d.ts +1 -1
- package/serialization/types/Providers.js +1 -0
- package/serialization/types/TeamConfig.d.ts +1 -0
- package/serialization/types/TeamConfig.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.0.
|
74
|
+
"X-Fern-SDK-Version": "3.0.9",
|
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.0.
|
134
|
+
"X-Fern-SDK-Version": "3.0.9",
|
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.0.
|
193
|
+
"X-Fern-SDK-Version": "3.0.9",
|
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.0.
|
241
|
+
"X-Fern-SDK-Version": "3.0.9",
|
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.0.
|
303
|
+
"X-Fern-SDK-Version": "3.0.9",
|
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.0.
|
362
|
+
"X-Fern-SDK-Version": "3.0.9",
|
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.0.
|
420
|
+
"X-Fern-SDK-Version": "3.0.9",
|
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.0.
|
481
|
+
"X-Fern-SDK-Version": "3.0.9",
|
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.0.
|
536
|
+
"X-Fern-SDK-Version": "3.0.9",
|
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.0.
|
594
|
+
"X-Fern-SDK-Version": "3.0.9",
|
595
595
|
},
|
596
596
|
contentType: "application/json",
|
597
597
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -656,7 +656,7 @@ class User {
|
|
656
656
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
657
657
|
"X-Fern-Language": "JavaScript",
|
658
658
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
659
|
-
"X-Fern-SDK-Version": "3.0.
|
659
|
+
"X-Fern-SDK-Version": "3.0.9",
|
660
660
|
},
|
661
661
|
contentType: "application/json",
|
662
662
|
queryParameters: _queryParams,
|
@@ -77,7 +77,7 @@ class Vitals {
|
|
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.0.
|
80
|
+
"X-Fern-SDK-Version": "3.0.9",
|
81
81
|
},
|
82
82
|
contentType: "application/json",
|
83
83
|
queryParameters: _queryParams,
|
@@ -151,7 +151,7 @@ class Vitals {
|
|
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.0.
|
154
|
+
"X-Fern-SDK-Version": "3.0.9",
|
155
155
|
},
|
156
156
|
contentType: "application/json",
|
157
157
|
queryParameters: _queryParams,
|
@@ -225,7 +225,7 @@ class Vitals {
|
|
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.0.
|
228
|
+
"X-Fern-SDK-Version": "3.0.9",
|
229
229
|
},
|
230
230
|
contentType: "application/json",
|
231
231
|
queryParameters: _queryParams,
|
@@ -299,7 +299,7 @@ class Vitals {
|
|
299
299
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
300
300
|
"X-Fern-Language": "JavaScript",
|
301
301
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
302
|
-
"X-Fern-SDK-Version": "3.0.
|
302
|
+
"X-Fern-SDK-Version": "3.0.9",
|
303
303
|
},
|
304
304
|
contentType: "application/json",
|
305
305
|
queryParameters: _queryParams,
|
@@ -373,7 +373,7 @@ class Vitals {
|
|
373
373
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
374
374
|
"X-Fern-Language": "JavaScript",
|
375
375
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
376
|
-
"X-Fern-SDK-Version": "3.0.
|
376
|
+
"X-Fern-SDK-Version": "3.0.9",
|
377
377
|
},
|
378
378
|
contentType: "application/json",
|
379
379
|
queryParameters: _queryParams,
|
@@ -447,7 +447,7 @@ class Vitals {
|
|
447
447
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
448
448
|
"X-Fern-Language": "JavaScript",
|
449
449
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
450
|
-
"X-Fern-SDK-Version": "3.0.
|
450
|
+
"X-Fern-SDK-Version": "3.0.9",
|
451
451
|
},
|
452
452
|
contentType: "application/json",
|
453
453
|
queryParameters: _queryParams,
|
@@ -521,7 +521,7 @@ class Vitals {
|
|
521
521
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
522
522
|
"X-Fern-Language": "JavaScript",
|
523
523
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
524
|
-
"X-Fern-SDK-Version": "3.0.
|
524
|
+
"X-Fern-SDK-Version": "3.0.9",
|
525
525
|
},
|
526
526
|
contentType: "application/json",
|
527
527
|
queryParameters: _queryParams,
|
@@ -595,7 +595,7 @@ class Vitals {
|
|
595
595
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
596
596
|
"X-Fern-Language": "JavaScript",
|
597
597
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
598
|
-
"X-Fern-SDK-Version": "3.0.
|
598
|
+
"X-Fern-SDK-Version": "3.0.9",
|
599
599
|
},
|
600
600
|
contentType: "application/json",
|
601
601
|
queryParameters: _queryParams,
|
@@ -669,7 +669,7 @@ class Vitals {
|
|
669
669
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
670
670
|
"X-Fern-Language": "JavaScript",
|
671
671
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
672
|
-
"X-Fern-SDK-Version": "3.0.
|
672
|
+
"X-Fern-SDK-Version": "3.0.9",
|
673
673
|
},
|
674
674
|
contentType: "application/json",
|
675
675
|
queryParameters: _queryParams,
|
@@ -743,7 +743,7 @@ class Vitals {
|
|
743
743
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
744
744
|
"X-Fern-Language": "JavaScript",
|
745
745
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
746
|
-
"X-Fern-SDK-Version": "3.0.
|
746
|
+
"X-Fern-SDK-Version": "3.0.9",
|
747
747
|
},
|
748
748
|
contentType: "application/json",
|
749
749
|
queryParameters: _queryParams,
|
@@ -817,7 +817,7 @@ class Vitals {
|
|
817
817
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
818
818
|
"X-Fern-Language": "JavaScript",
|
819
819
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
820
|
-
"X-Fern-SDK-Version": "3.0.
|
820
|
+
"X-Fern-SDK-Version": "3.0.9",
|
821
821
|
},
|
822
822
|
contentType: "application/json",
|
823
823
|
queryParameters: _queryParams,
|
@@ -891,7 +891,7 @@ class Vitals {
|
|
891
891
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
892
892
|
"X-Fern-Language": "JavaScript",
|
893
893
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
894
|
-
"X-Fern-SDK-Version": "3.0.
|
894
|
+
"X-Fern-SDK-Version": "3.0.9",
|
895
895
|
},
|
896
896
|
contentType: "application/json",
|
897
897
|
queryParameters: _queryParams,
|
@@ -965,7 +965,7 @@ class Vitals {
|
|
965
965
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
966
966
|
"X-Fern-Language": "JavaScript",
|
967
967
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
968
|
-
"X-Fern-SDK-Version": "3.0.
|
968
|
+
"X-Fern-SDK-Version": "3.0.9",
|
969
969
|
},
|
970
970
|
contentType: "application/json",
|
971
971
|
queryParameters: _queryParams,
|
@@ -1039,7 +1039,7 @@ class Vitals {
|
|
1039
1039
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1040
1040
|
"X-Fern-Language": "JavaScript",
|
1041
1041
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1042
|
-
"X-Fern-SDK-Version": "3.0.
|
1042
|
+
"X-Fern-SDK-Version": "3.0.9",
|
1043
1043
|
},
|
1044
1044
|
contentType: "application/json",
|
1045
1045
|
queryParameters: _queryParams,
|
@@ -1113,7 +1113,7 @@ class Vitals {
|
|
1113
1113
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1114
1114
|
"X-Fern-Language": "JavaScript",
|
1115
1115
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1116
|
-
"X-Fern-SDK-Version": "3.0.
|
1116
|
+
"X-Fern-SDK-Version": "3.0.9",
|
1117
1117
|
},
|
1118
1118
|
contentType: "application/json",
|
1119
1119
|
queryParameters: _queryParams,
|
@@ -1187,7 +1187,7 @@ class Vitals {
|
|
1187
1187
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1188
1188
|
"X-Fern-Language": "JavaScript",
|
1189
1189
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1190
|
-
"X-Fern-SDK-Version": "3.0.
|
1190
|
+
"X-Fern-SDK-Version": "3.0.9",
|
1191
1191
|
},
|
1192
1192
|
contentType: "application/json",
|
1193
1193
|
queryParameters: _queryParams,
|
@@ -1261,7 +1261,7 @@ class Vitals {
|
|
1261
1261
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1262
1262
|
"X-Fern-Language": "JavaScript",
|
1263
1263
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1264
|
-
"X-Fern-SDK-Version": "3.0.
|
1264
|
+
"X-Fern-SDK-Version": "3.0.9",
|
1265
1265
|
},
|
1266
1266
|
contentType: "application/json",
|
1267
1267
|
queryParameters: _queryParams,
|
@@ -1335,7 +1335,7 @@ class Vitals {
|
|
1335
1335
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1336
1336
|
"X-Fern-Language": "JavaScript",
|
1337
1337
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1338
|
-
"X-Fern-SDK-Version": "3.0.
|
1338
|
+
"X-Fern-SDK-Version": "3.0.9",
|
1339
1339
|
},
|
1340
1340
|
contentType: "application/json",
|
1341
1341
|
queryParameters: _queryParams,
|
@@ -1409,7 +1409,7 @@ class Vitals {
|
|
1409
1409
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1410
1410
|
"X-Fern-Language": "JavaScript",
|
1411
1411
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1412
|
-
"X-Fern-SDK-Version": "3.0.
|
1412
|
+
"X-Fern-SDK-Version": "3.0.9",
|
1413
1413
|
},
|
1414
1414
|
contentType: "application/json",
|
1415
1415
|
queryParameters: _queryParams,
|
@@ -1483,7 +1483,7 @@ class Vitals {
|
|
1483
1483
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1484
1484
|
"X-Fern-Language": "JavaScript",
|
1485
1485
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1486
|
-
"X-Fern-SDK-Version": "3.0.
|
1486
|
+
"X-Fern-SDK-Version": "3.0.9",
|
1487
1487
|
},
|
1488
1488
|
contentType: "application/json",
|
1489
1489
|
queryParameters: _queryParams,
|
@@ -1557,7 +1557,7 @@ class Vitals {
|
|
1557
1557
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1558
1558
|
"X-Fern-Language": "JavaScript",
|
1559
1559
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1560
|
-
"X-Fern-SDK-Version": "3.0.
|
1560
|
+
"X-Fern-SDK-Version": "3.0.9",
|
1561
1561
|
},
|
1562
1562
|
contentType: "application/json",
|
1563
1563
|
queryParameters: _queryParams,
|
@@ -1631,7 +1631,7 @@ class Vitals {
|
|
1631
1631
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1632
1632
|
"X-Fern-Language": "JavaScript",
|
1633
1633
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1634
|
-
"X-Fern-SDK-Version": "3.0.
|
1634
|
+
"X-Fern-SDK-Version": "3.0.9",
|
1635
1635
|
},
|
1636
1636
|
contentType: "application/json",
|
1637
1637
|
queryParameters: _queryParams,
|
@@ -1705,7 +1705,7 @@ class Vitals {
|
|
1705
1705
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
1706
1706
|
"X-Fern-Language": "JavaScript",
|
1707
1707
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
1708
|
-
"X-Fern-SDK-Version": "3.0.
|
1708
|
+
"X-Fern-SDK-Version": "3.0.9",
|
1709
1709
|
},
|
1710
1710
|
contentType: "application/json",
|
1711
1711
|
queryParameters: _queryParams,
|
@@ -77,7 +77,7 @@ class Workouts {
|
|
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.0.
|
80
|
+
"X-Fern-SDK-Version": "3.0.9",
|
81
81
|
},
|
82
82
|
contentType: "application/json",
|
83
83
|
queryParameters: _queryParams,
|
@@ -151,7 +151,7 @@ class Workouts {
|
|
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.0.
|
154
|
+
"X-Fern-SDK-Version": "3.0.9",
|
155
155
|
},
|
156
156
|
contentType: "application/json",
|
157
157
|
queryParameters: _queryParams,
|
@@ -213,7 +213,7 @@ class Workouts {
|
|
213
213
|
"x-vital-api-key": yield core.Supplier.get(this._options.apiKey),
|
214
214
|
"X-Fern-Language": "JavaScript",
|
215
215
|
"X-Fern-SDK-Name": "@tryvital/vital-node",
|
216
|
-
"X-Fern-SDK-Version": "3.0.
|
216
|
+
"X-Fern-SDK-Version": "3.0.9",
|
217
217
|
},
|
218
218
|
contentType: "application/json",
|
219
219
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -4,7 +4,7 @@
|
|
4
4
|
/**
|
5
5
|
* An enumeration.
|
6
6
|
*/
|
7
|
-
export declare type OAuthProviders = "oura" | "fitbit" | "garmin" | "strava" | "wahoo" | "ihealth" | "withings" | "google_fit" | "dexcom_v3" | "polar" | "cronometer" | "omron";
|
7
|
+
export declare type OAuthProviders = "oura" | "fitbit" | "garmin" | "strava" | "wahoo" | "ihealth" | "withings" | "google_fit" | "dexcom_v3" | "polar" | "cronometer" | "omron" | "whoop_v2";
|
8
8
|
export declare const OAuthProviders: {
|
9
9
|
readonly Oura: "oura";
|
10
10
|
readonly Fitbit: "fitbit";
|
@@ -18,4 +18,5 @@ export declare const OAuthProviders: {
|
|
18
18
|
readonly Polar: "polar";
|
19
19
|
readonly Cronometer: "cronometer";
|
20
20
|
readonly Omron: "omron";
|
21
|
+
readonly WhoopV2: "whoop_v2";
|
21
22
|
};
|
package/api/types/Providers.d.ts
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
/**
|
5
5
|
* An enumeration.
|
6
6
|
*/
|
7
|
-
export declare type Providers = "oura" | "fitbit" | "garmin" | "whoop" | "strava" | "renpho" | "peloton" | "wahoo" | "zwift" | "freestyle_libre" | "freestyle_libre_ble" | "eight_sleep" | "withings" | "apple_health_kit" | "manual" | "ihealth" | "google_fit" | "beurer_api" | "beurer_ble" | "omron" | "omron_ble" | "onetouch_ble" | "accuchek_ble" | "contour_ble" | "dexcom" | "dexcom_v3" | "hammerhead" | "my_fitness_pal" | "health_connect" | "polar" | "cronometer" | "kardia";
|
7
|
+
export declare type Providers = "oura" | "fitbit" | "garmin" | "whoop" | "strava" | "renpho" | "peloton" | "wahoo" | "zwift" | "freestyle_libre" | "freestyle_libre_ble" | "eight_sleep" | "withings" | "apple_health_kit" | "manual" | "ihealth" | "google_fit" | "beurer_api" | "beurer_ble" | "omron" | "omron_ble" | "onetouch_ble" | "accuchek_ble" | "contour_ble" | "dexcom" | "dexcom_v3" | "hammerhead" | "my_fitness_pal" | "health_connect" | "polar" | "cronometer" | "kardia" | "whoop_v2";
|
8
8
|
export declare const Providers: {
|
9
9
|
readonly Oura: "oura";
|
10
10
|
readonly Fitbit: "fitbit";
|
@@ -38,4 +38,5 @@ export declare const Providers: {
|
|
38
38
|
readonly Polar: "polar";
|
39
39
|
readonly Cronometer: "cronometer";
|
40
40
|
readonly Kardia: "kardia";
|
41
|
+
readonly WhoopV2: "whoop_v2";
|
41
42
|
};
|
package/api/types/Providers.js
CHANGED
@@ -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.0.
|
80
|
+
"X-Fern-SDK-Version": "3.0.9",
|
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.0.
|
154
|
+
"X-Fern-SDK-Version": "3.0.9",
|
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.0.
|
80
|
+
"X-Fern-SDK-Version": "3.0.9",
|
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.0.
|
154
|
+
"X-Fern-SDK-Version": "3.0.9",
|
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.0.
|
74
|
+
"X-Fern-SDK-Version": "3.0.9",
|
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.0.
|
65
|
+
"X-Fern-SDK-Version": "3.0.9",
|
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.0.
|
132
|
+
"X-Fern-SDK-Version": "3.0.9",
|
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.0.
|
84
|
+
"X-Fern-SDK-Version": "3.0.9",
|
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.0.
|
162
|
+
"X-Fern-SDK-Version": "3.0.9",
|
163
163
|
},
|
164
164
|
contentType: "application/json",
|
165
165
|
queryParameters: _queryParams,
|