@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
@@ -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
|
};
|
@@ -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
|
};
|
@@ -39,6 +39,7 @@ exports.ClientFacingTeam = void 0;
|
|
39
39
|
const core = __importStar(require("../../core"));
|
40
40
|
exports.ClientFacingTeam = core.serialization.object({
|
41
41
|
id: core.serialization.string(),
|
42
|
+
orgId: core.serialization.property("org_id", core.serialization.string().optional()),
|
42
43
|
name: core.serialization.string(),
|
43
44
|
svixAppId: core.serialization.property("svix_app_id", core.serialization.string().optional()),
|
44
45
|
clientId: core.serialization.property("client_id", core.serialization.string().optional()),
|
@@ -7,7 +7,7 @@ import * as core from "../../core";
|
|
7
7
|
export declare const DeviceV2InDb: core.serialization.ObjectSchema<serializers.DeviceV2InDb.Raw, Vital.DeviceV2InDb>;
|
8
8
|
export declare namespace DeviceV2InDb {
|
9
9
|
interface Raw {
|
10
|
-
data
|
10
|
+
data: Record<string, unknown>;
|
11
11
|
provider_id: string;
|
12
12
|
user_id: string;
|
13
13
|
source_id: number;
|
@@ -38,7 +38,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
38
|
exports.DeviceV2InDb = void 0;
|
39
39
|
const core = __importStar(require("../../core"));
|
40
40
|
exports.DeviceV2InDb = core.serialization.object({
|
41
|
-
data: core.serialization.string().
|
41
|
+
data: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
|
42
42
|
providerId: core.serialization.property("provider_id", core.serialization.string()),
|
43
43
|
userId: core.serialization.property("user_id", core.serialization.string()),
|
44
44
|
sourceId: core.serialization.property("source_id", core.serialization.number()),
|
@@ -6,5 +6,5 @@ import * as Vital from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
7
7
|
export declare const OAuthProviders: core.serialization.Schema<serializers.OAuthProviders.Raw, Vital.OAuthProviders>;
|
8
8
|
export declare namespace OAuthProviders {
|
9
|
-
type Raw = "oura" | "fitbit" | "garmin" | "strava" | "wahoo" | "ihealth" | "withings" | "google_fit" | "dexcom_v3" | "polar" | "cronometer" | "omron";
|
9
|
+
type Raw = "oura" | "fitbit" | "garmin" | "strava" | "wahoo" | "ihealth" | "withings" | "google_fit" | "dexcom_v3" | "polar" | "cronometer" | "omron" | "whoop_v2";
|
10
10
|
}
|
@@ -6,5 +6,5 @@ import * as Vital from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
7
7
|
export declare const Providers: core.serialization.Schema<serializers.Providers.Raw, Vital.Providers>;
|
8
8
|
export declare namespace Providers {
|
9
|
-
type Raw = "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";
|
9
|
+
type Raw = "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";
|
10
10
|
}
|
@@ -10,6 +10,7 @@ export declare namespace TeamConfig {
|
|
10
10
|
libreview: serializers.LibreConfig.Raw;
|
11
11
|
texts_enabled?: boolean | null;
|
12
12
|
push_historical_data?: boolean | null;
|
13
|
+
provider_raw_data?: boolean | null;
|
13
14
|
eds_preferences?: serializers.EventDestinationPreferences.Raw | null;
|
14
15
|
event_type_prefixes?: string[] | null;
|
15
16
|
}
|
@@ -41,6 +41,7 @@ exports.TeamConfig = core.serialization.object({
|
|
41
41
|
libreview: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).LibreConfig; })),
|
42
42
|
textsEnabled: core.serialization.property("texts_enabled", core.serialization.boolean().optional()),
|
43
43
|
pushHistoricalData: core.serialization.property("push_historical_data", core.serialization.boolean().optional()),
|
44
|
+
providerRawData: core.serialization.property("provider_raw_data", core.serialization.boolean().optional()),
|
44
45
|
edsPreferences: core.serialization.property("eds_preferences", core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).EventDestinationPreferences; })).optional()),
|
45
46
|
eventTypePrefixes: core.serialization.property("event_type_prefixes", core.serialization.list(core.serialization.string()).optional()),
|
46
47
|
});
|
package/package.json
CHANGED
@@ -39,6 +39,7 @@ exports.ClientFacingTeam = void 0;
|
|
39
39
|
const core = __importStar(require("../../core"));
|
40
40
|
exports.ClientFacingTeam = core.serialization.object({
|
41
41
|
id: core.serialization.string(),
|
42
|
+
orgId: core.serialization.property("org_id", core.serialization.string().optional()),
|
42
43
|
name: core.serialization.string(),
|
43
44
|
svixAppId: core.serialization.property("svix_app_id", core.serialization.string().optional()),
|
44
45
|
clientId: core.serialization.property("client_id", core.serialization.string().optional()),
|
@@ -7,7 +7,7 @@ import * as core from "../../core";
|
|
7
7
|
export declare const DeviceV2InDb: core.serialization.ObjectSchema<serializers.DeviceV2InDb.Raw, Vital.DeviceV2InDb>;
|
8
8
|
export declare namespace DeviceV2InDb {
|
9
9
|
interface Raw {
|
10
|
-
data
|
10
|
+
data: Record<string, unknown>;
|
11
11
|
provider_id: string;
|
12
12
|
user_id: string;
|
13
13
|
source_id: number;
|
@@ -38,7 +38,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
38
|
exports.DeviceV2InDb = void 0;
|
39
39
|
const core = __importStar(require("../../core"));
|
40
40
|
exports.DeviceV2InDb = core.serialization.object({
|
41
|
-
data: core.serialization.string().
|
41
|
+
data: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
|
42
42
|
providerId: core.serialization.property("provider_id", core.serialization.string()),
|
43
43
|
userId: core.serialization.property("user_id", core.serialization.string()),
|
44
44
|
sourceId: core.serialization.property("source_id", core.serialization.number()),
|
@@ -6,5 +6,5 @@ import * as Vital from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
7
7
|
export declare const OAuthProviders: core.serialization.Schema<serializers.OAuthProviders.Raw, Vital.OAuthProviders>;
|
8
8
|
export declare namespace OAuthProviders {
|
9
|
-
type Raw = "oura" | "fitbit" | "garmin" | "strava" | "wahoo" | "ihealth" | "withings" | "google_fit" | "dexcom_v3" | "polar" | "cronometer" | "omron";
|
9
|
+
type Raw = "oura" | "fitbit" | "garmin" | "strava" | "wahoo" | "ihealth" | "withings" | "google_fit" | "dexcom_v3" | "polar" | "cronometer" | "omron" | "whoop_v2";
|
10
10
|
}
|
@@ -6,5 +6,5 @@ import * as Vital from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
7
7
|
export declare const Providers: core.serialization.Schema<serializers.Providers.Raw, Vital.Providers>;
|
8
8
|
export declare namespace Providers {
|
9
|
-
type Raw = "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";
|
9
|
+
type Raw = "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";
|
10
10
|
}
|
@@ -10,6 +10,7 @@ export declare namespace TeamConfig {
|
|
10
10
|
libreview: serializers.LibreConfig.Raw;
|
11
11
|
texts_enabled?: boolean | null;
|
12
12
|
push_historical_data?: boolean | null;
|
13
|
+
provider_raw_data?: boolean | null;
|
13
14
|
eds_preferences?: serializers.EventDestinationPreferences.Raw | null;
|
14
15
|
event_type_prefixes?: string[] | null;
|
15
16
|
}
|
@@ -41,6 +41,7 @@ exports.TeamConfig = core.serialization.object({
|
|
41
41
|
libreview: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).LibreConfig; })),
|
42
42
|
textsEnabled: core.serialization.property("texts_enabled", core.serialization.boolean().optional()),
|
43
43
|
pushHistoricalData: core.serialization.property("push_historical_data", core.serialization.boolean().optional()),
|
44
|
+
providerRawData: core.serialization.property("provider_raw_data", core.serialization.boolean().optional()),
|
44
45
|
edsPreferences: core.serialization.property("eds_preferences", core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).EventDestinationPreferences; })).optional()),
|
45
46
|
eventTypePrefixes: core.serialization.property("event_type_prefixes", core.serialization.list(core.serialization.string()).optional()),
|
46
47
|
});
|