@tryvital/vital-node 3.1.393 → 3.1.395
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/Client.d.ts +15 -15
- package/Client.js +34 -34
- package/api/resources/activity/client/Client.js +2 -2
- package/api/resources/aggregate/client/Client.js +3 -3
- package/api/resources/body/client/Client.js +2 -2
- package/api/resources/devices/client/Client.js +1 -1
- package/api/resources/electrocardiogram/client/Client.js +1 -1
- package/api/resources/index.d.ts +10 -10
- package/api/resources/index.js +11 -11
- package/api/resources/insurance/client/Client.js +3 -3
- package/api/resources/introspect/client/Client.js +2 -2
- package/api/resources/labTests/client/Client.js +41 -41
- package/api/resources/link/client/Client.js +19 -19
- package/api/resources/meal/client/Client.js +1 -1
- package/api/resources/menstrualCycle/client/Client.js +1 -1
- package/api/resources/order/client/Client.js +1 -1
- package/api/resources/payor/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.d.ts +12 -12
- package/api/resources/sleep/client/Client.js +34 -34
- package/api/resources/sleepCycle/client/Client.js +1 -1
- 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 +18 -18
- package/api/resources/vitals/client/Client.js +78 -78
- package/api/resources/workouts/client/Client.d.ts +10 -10
- package/api/resources/workouts/client/Client.js +34 -34
- package/api/types/ClientFacingDeviceSourceType.d.ts +2 -1
- package/api/types/ClientFacingDeviceSourceType.js +1 -0
- package/api/types/ClientFacingElectrocardiogramSourceType.d.ts +2 -1
- package/api/types/ClientFacingElectrocardiogramSourceType.js +1 -0
- package/api/types/ClientFacingMenstrualCycleSourceType.d.ts +2 -1
- package/api/types/ClientFacingMenstrualCycleSourceType.js +1 -0
- package/api/types/ClientFacingSleepCycleSourceType.d.ts +2 -1
- package/api/types/ClientFacingSleepCycleSourceType.js +1 -0
- package/dist/Client.d.ts +15 -15
- package/dist/Client.js +34 -34
- package/dist/api/resources/activity/client/Client.js +2 -2
- package/dist/api/resources/aggregate/client/Client.js +3 -3
- package/dist/api/resources/body/client/Client.js +2 -2
- package/dist/api/resources/devices/client/Client.js +1 -1
- package/dist/api/resources/electrocardiogram/client/Client.js +1 -1
- package/dist/api/resources/index.d.ts +10 -10
- package/dist/api/resources/index.js +11 -11
- package/dist/api/resources/insurance/client/Client.js +3 -3
- package/dist/api/resources/introspect/client/Client.js +2 -2
- package/dist/api/resources/labTests/client/Client.js +41 -41
- package/dist/api/resources/link/client/Client.js +19 -19
- package/dist/api/resources/meal/client/Client.js +1 -1
- package/dist/api/resources/menstrualCycle/client/Client.js +1 -1
- package/dist/api/resources/order/client/Client.js +1 -1
- package/dist/api/resources/payor/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.d.ts +12 -12
- package/dist/api/resources/sleep/client/Client.js +34 -34
- package/dist/api/resources/sleepCycle/client/Client.js +1 -1
- 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 +18 -18
- package/dist/api/resources/vitals/client/Client.js +78 -78
- package/dist/api/resources/workouts/client/Client.d.ts +10 -10
- package/dist/api/resources/workouts/client/Client.js +34 -34
- package/dist/api/types/ClientFacingDeviceSourceType.d.ts +2 -1
- package/dist/api/types/ClientFacingDeviceSourceType.js +1 -0
- package/dist/api/types/ClientFacingElectrocardiogramSourceType.d.ts +2 -1
- package/dist/api/types/ClientFacingElectrocardiogramSourceType.js +1 -0
- package/dist/api/types/ClientFacingMenstrualCycleSourceType.d.ts +2 -1
- package/dist/api/types/ClientFacingMenstrualCycleSourceType.js +1 -0
- package/dist/api/types/ClientFacingSleepCycleSourceType.d.ts +2 -1
- package/dist/api/types/ClientFacingSleepCycleSourceType.js +1 -0
- package/dist/serialization/resources/index.d.ts +3 -3
- package/dist/serialization/resources/index.js +4 -4
- package/dist/serialization/types/ClientFacingDeviceSourceType.d.ts +1 -1
- package/dist/serialization/types/ClientFacingDeviceSourceType.js +1 -0
- package/dist/serialization/types/ClientFacingElectrocardiogramSourceType.d.ts +1 -1
- package/dist/serialization/types/ClientFacingElectrocardiogramSourceType.js +1 -0
- package/dist/serialization/types/ClientFacingMenstrualCycleSourceType.d.ts +1 -1
- package/dist/serialization/types/ClientFacingMenstrualCycleSourceType.js +1 -0
- package/dist/serialization/types/ClientFacingSleepCycleSourceType.d.ts +1 -1
- package/dist/serialization/types/ClientFacingSleepCycleSourceType.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +1169 -1169
- package/serialization/resources/index.d.ts +3 -3
- package/serialization/resources/index.js +4 -4
- package/serialization/types/ClientFacingDeviceSourceType.d.ts +1 -1
- package/serialization/types/ClientFacingDeviceSourceType.js +1 -0
- package/serialization/types/ClientFacingElectrocardiogramSourceType.d.ts +1 -1
- package/serialization/types/ClientFacingElectrocardiogramSourceType.js +1 -0
- package/serialization/types/ClientFacingMenstrualCycleSourceType.d.ts +1 -1
- package/serialization/types/ClientFacingMenstrualCycleSourceType.js +1 -0
- package/serialization/types/ClientFacingSleepCycleSourceType.d.ts +1 -1
- package/serialization/types/ClientFacingSleepCycleSourceType.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -21,16 +21,6 @@ export declare namespace Workouts {
|
|
|
21
21
|
export declare class Workouts {
|
|
22
22
|
protected readonly _options: Workouts.Options;
|
|
23
23
|
constructor(_options?: Workouts.Options);
|
|
24
|
-
/**
|
|
25
|
-
* @param {string} workoutId - The Vital ID for the workout
|
|
26
|
-
* @param {Workouts.RequestOptions} requestOptions - Request-specific configuration.
|
|
27
|
-
*
|
|
28
|
-
* @throws {@link Vital.UnprocessableEntityError}
|
|
29
|
-
*
|
|
30
|
-
* @example
|
|
31
|
-
* await client.workouts.getByWorkoutId("workout_id")
|
|
32
|
-
*/
|
|
33
|
-
getByWorkoutId(workoutId: string, requestOptions?: Workouts.RequestOptions): Promise<Vital.ClientFacingStream>;
|
|
34
24
|
/**
|
|
35
25
|
* Get workout summary for user_id
|
|
36
26
|
*
|
|
@@ -61,6 +51,16 @@ export declare class Workouts {
|
|
|
61
51
|
* })
|
|
62
52
|
*/
|
|
63
53
|
getRaw(userId: string, request: Vital.WorkoutsGetRawRequest, requestOptions?: Workouts.RequestOptions): Promise<Vital.RawWorkout>;
|
|
54
|
+
/**
|
|
55
|
+
* @param {string} workoutId - The Vital ID for the workout
|
|
56
|
+
* @param {Workouts.RequestOptions} requestOptions - Request-specific configuration.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link Vital.UnprocessableEntityError}
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* await client.workouts.getByWorkoutId("workout_id")
|
|
62
|
+
*/
|
|
63
|
+
getByWorkoutId(workoutId: string, requestOptions?: Workouts.RequestOptions): Promise<Vital.ClientFacingStream>;
|
|
64
64
|
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
65
65
|
"x-vital-api-key": string | undefined;
|
|
66
66
|
}>;
|
|
@@ -50,29 +50,44 @@ class Workouts {
|
|
|
50
50
|
this._options = _options;
|
|
51
51
|
}
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
53
|
+
* Get workout summary for user_id
|
|
54
|
+
*
|
|
55
|
+
* @param {string} userId
|
|
56
|
+
* @param {Vital.WorkoutsGetRequest} request
|
|
54
57
|
* @param {Workouts.RequestOptions} requestOptions - Request-specific configuration.
|
|
55
58
|
*
|
|
56
59
|
* @throws {@link Vital.UnprocessableEntityError}
|
|
57
60
|
*
|
|
58
61
|
* @example
|
|
59
|
-
* await client.workouts.
|
|
62
|
+
* await client.workouts.get("user_id", {
|
|
63
|
+
* startDate: "start_date"
|
|
64
|
+
* })
|
|
60
65
|
*/
|
|
61
|
-
|
|
66
|
+
get(userId, request, requestOptions) {
|
|
62
67
|
var _a;
|
|
63
68
|
return __awaiter(this, void 0, void 0, function* () {
|
|
69
|
+
const { provider, startDate, endDate } = request;
|
|
70
|
+
const _queryParams = {};
|
|
71
|
+
if (provider != null) {
|
|
72
|
+
_queryParams["provider"] = provider;
|
|
73
|
+
}
|
|
74
|
+
_queryParams["start_date"] = startDate;
|
|
75
|
+
if (endDate != null) {
|
|
76
|
+
_queryParams["end_date"] = endDate;
|
|
77
|
+
}
|
|
64
78
|
const _response = yield core.fetcher({
|
|
65
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/
|
|
79
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/workouts/${encodeURIComponent(userId)}`),
|
|
66
80
|
method: "GET",
|
|
67
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
|
81
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.395", "User-Agent": "@tryvital/vital-node/3.1.395", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
68
82
|
contentType: "application/json",
|
|
83
|
+
queryParameters: _queryParams,
|
|
69
84
|
requestType: "json",
|
|
70
85
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
71
86
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
72
87
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
73
88
|
});
|
|
74
89
|
if (_response.ok) {
|
|
75
|
-
return serializers.
|
|
90
|
+
return serializers.ClientWorkoutResponse.parseOrThrow(_response.body, {
|
|
76
91
|
unrecognizedObjectKeys: "passthrough",
|
|
77
92
|
allowUnrecognizedUnionMembers: true,
|
|
78
93
|
allowUnrecognizedEnumValues: true,
|
|
@@ -111,20 +126,20 @@ class Workouts {
|
|
|
111
126
|
});
|
|
112
127
|
}
|
|
113
128
|
/**
|
|
114
|
-
* Get workout summary for user_id
|
|
129
|
+
* Get raw workout summary for user_id
|
|
115
130
|
*
|
|
116
131
|
* @param {string} userId
|
|
117
|
-
* @param {Vital.
|
|
132
|
+
* @param {Vital.WorkoutsGetRawRequest} request
|
|
118
133
|
* @param {Workouts.RequestOptions} requestOptions - Request-specific configuration.
|
|
119
134
|
*
|
|
120
135
|
* @throws {@link Vital.UnprocessableEntityError}
|
|
121
136
|
*
|
|
122
137
|
* @example
|
|
123
|
-
* await client.workouts.
|
|
138
|
+
* await client.workouts.getRaw("user_id", {
|
|
124
139
|
* startDate: "start_date"
|
|
125
140
|
* })
|
|
126
141
|
*/
|
|
127
|
-
|
|
142
|
+
getRaw(userId, request, requestOptions) {
|
|
128
143
|
var _a;
|
|
129
144
|
return __awaiter(this, void 0, void 0, function* () {
|
|
130
145
|
const { provider, startDate, endDate } = request;
|
|
@@ -137,9 +152,9 @@ class Workouts {
|
|
|
137
152
|
_queryParams["end_date"] = endDate;
|
|
138
153
|
}
|
|
139
154
|
const _response = yield core.fetcher({
|
|
140
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/workouts/${encodeURIComponent(userId)}`),
|
|
155
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/workouts/${encodeURIComponent(userId)}/raw`),
|
|
141
156
|
method: "GET",
|
|
142
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
|
157
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.395", "User-Agent": "@tryvital/vital-node/3.1.395", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
143
158
|
contentType: "application/json",
|
|
144
159
|
queryParameters: _queryParams,
|
|
145
160
|
requestType: "json",
|
|
@@ -148,7 +163,7 @@ class Workouts {
|
|
|
148
163
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
149
164
|
});
|
|
150
165
|
if (_response.ok) {
|
|
151
|
-
return serializers.
|
|
166
|
+
return serializers.RawWorkout.parseOrThrow(_response.body, {
|
|
152
167
|
unrecognizedObjectKeys: "passthrough",
|
|
153
168
|
allowUnrecognizedUnionMembers: true,
|
|
154
169
|
allowUnrecognizedEnumValues: true,
|
|
@@ -187,44 +202,29 @@ class Workouts {
|
|
|
187
202
|
});
|
|
188
203
|
}
|
|
189
204
|
/**
|
|
190
|
-
*
|
|
191
|
-
*
|
|
192
|
-
* @param {string} userId
|
|
193
|
-
* @param {Vital.WorkoutsGetRawRequest} request
|
|
205
|
+
* @param {string} workoutId - The Vital ID for the workout
|
|
194
206
|
* @param {Workouts.RequestOptions} requestOptions - Request-specific configuration.
|
|
195
207
|
*
|
|
196
208
|
* @throws {@link Vital.UnprocessableEntityError}
|
|
197
209
|
*
|
|
198
210
|
* @example
|
|
199
|
-
* await client.workouts.
|
|
200
|
-
* startDate: "start_date"
|
|
201
|
-
* })
|
|
211
|
+
* await client.workouts.getByWorkoutId("workout_id")
|
|
202
212
|
*/
|
|
203
|
-
|
|
213
|
+
getByWorkoutId(workoutId, requestOptions) {
|
|
204
214
|
var _a;
|
|
205
215
|
return __awaiter(this, void 0, void 0, function* () {
|
|
206
|
-
const { provider, startDate, endDate } = request;
|
|
207
|
-
const _queryParams = {};
|
|
208
|
-
if (provider != null) {
|
|
209
|
-
_queryParams["provider"] = provider;
|
|
210
|
-
}
|
|
211
|
-
_queryParams["start_date"] = startDate;
|
|
212
|
-
if (endDate != null) {
|
|
213
|
-
_queryParams["end_date"] = endDate;
|
|
214
|
-
}
|
|
215
216
|
const _response = yield core.fetcher({
|
|
216
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/
|
|
217
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/workouts/${encodeURIComponent(workoutId)}/stream`),
|
|
217
218
|
method: "GET",
|
|
218
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
|
219
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.395", "User-Agent": "@tryvital/vital-node/3.1.395", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
219
220
|
contentType: "application/json",
|
|
220
|
-
queryParameters: _queryParams,
|
|
221
221
|
requestType: "json",
|
|
222
222
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
223
223
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
224
224
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
225
225
|
});
|
|
226
226
|
if (_response.ok) {
|
|
227
|
-
return serializers.
|
|
227
|
+
return serializers.ClientFacingStream.parseOrThrow(_response.body, {
|
|
228
228
|
unrecognizedObjectKeys: "passthrough",
|
|
229
229
|
allowUnrecognizedUnionMembers: true,
|
|
230
230
|
allowUnrecognizedEnumValues: true,
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* ℹ️ This enum is non-exhaustive.
|
|
6
6
|
*/
|
|
7
|
-
export declare type ClientFacingDeviceSourceType = "unknown" | "phone" | "watch" | "app" | "multiple_sources" | "fingerprick" | "cuff" | "manual_scan" | "automatic" | "scale" | "chest_strap" | "ring" | "lab" | "exercise_machine";
|
|
7
|
+
export declare type ClientFacingDeviceSourceType = "unknown" | "phone" | "watch" | "app" | "multiple_sources" | "fingerprick" | "cuff" | "manual_scan" | "automatic" | "scale" | "chest_strap" | "ring" | "lab" | "exercise_machine" | "earphone";
|
|
8
8
|
export declare const ClientFacingDeviceSourceType: {
|
|
9
9
|
readonly Unknown: "unknown";
|
|
10
10
|
readonly Phone: "phone";
|
|
@@ -20,4 +20,5 @@ export declare const ClientFacingDeviceSourceType: {
|
|
|
20
20
|
readonly Ring: "ring";
|
|
21
21
|
readonly Lab: "lab";
|
|
22
22
|
readonly ExerciseMachine: "exercise_machine";
|
|
23
|
+
readonly Earphone: "earphone";
|
|
23
24
|
};
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* ℹ️ This enum is non-exhaustive.
|
|
6
6
|
*/
|
|
7
|
-
export declare type ClientFacingElectrocardiogramSourceType = "unknown" | "phone" | "watch" | "app" | "multiple_sources" | "fingerprick" | "cuff" | "manual_scan" | "automatic" | "scale" | "chest_strap" | "ring" | "lab" | "exercise_machine";
|
|
7
|
+
export declare type ClientFacingElectrocardiogramSourceType = "unknown" | "phone" | "watch" | "app" | "multiple_sources" | "fingerprick" | "cuff" | "manual_scan" | "automatic" | "scale" | "chest_strap" | "ring" | "lab" | "exercise_machine" | "earphone";
|
|
8
8
|
export declare const ClientFacingElectrocardiogramSourceType: {
|
|
9
9
|
readonly Unknown: "unknown";
|
|
10
10
|
readonly Phone: "phone";
|
|
@@ -20,4 +20,5 @@ export declare const ClientFacingElectrocardiogramSourceType: {
|
|
|
20
20
|
readonly Ring: "ring";
|
|
21
21
|
readonly Lab: "lab";
|
|
22
22
|
readonly ExerciseMachine: "exercise_machine";
|
|
23
|
+
readonly Earphone: "earphone";
|
|
23
24
|
};
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* ℹ️ This enum is non-exhaustive.
|
|
6
6
|
*/
|
|
7
|
-
export declare type ClientFacingMenstrualCycleSourceType = "unknown" | "phone" | "watch" | "app" | "multiple_sources" | "fingerprick" | "cuff" | "manual_scan" | "automatic" | "scale" | "chest_strap" | "ring" | "lab" | "exercise_machine";
|
|
7
|
+
export declare type ClientFacingMenstrualCycleSourceType = "unknown" | "phone" | "watch" | "app" | "multiple_sources" | "fingerprick" | "cuff" | "manual_scan" | "automatic" | "scale" | "chest_strap" | "ring" | "lab" | "exercise_machine" | "earphone";
|
|
8
8
|
export declare const ClientFacingMenstrualCycleSourceType: {
|
|
9
9
|
readonly Unknown: "unknown";
|
|
10
10
|
readonly Phone: "phone";
|
|
@@ -20,4 +20,5 @@ export declare const ClientFacingMenstrualCycleSourceType: {
|
|
|
20
20
|
readonly Ring: "ring";
|
|
21
21
|
readonly Lab: "lab";
|
|
22
22
|
readonly ExerciseMachine: "exercise_machine";
|
|
23
|
+
readonly Earphone: "earphone";
|
|
23
24
|
};
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* ℹ️ This enum is non-exhaustive.
|
|
6
6
|
*/
|
|
7
|
-
export declare type ClientFacingSleepCycleSourceType = "unknown" | "phone" | "watch" | "app" | "multiple_sources" | "fingerprick" | "cuff" | "manual_scan" | "automatic" | "scale" | "chest_strap" | "ring" | "lab" | "exercise_machine";
|
|
7
|
+
export declare type ClientFacingSleepCycleSourceType = "unknown" | "phone" | "watch" | "app" | "multiple_sources" | "fingerprick" | "cuff" | "manual_scan" | "automatic" | "scale" | "chest_strap" | "ring" | "lab" | "exercise_machine" | "earphone";
|
|
8
8
|
export declare const ClientFacingSleepCycleSourceType: {
|
|
9
9
|
readonly Unknown: "unknown";
|
|
10
10
|
readonly Phone: "phone";
|
|
@@ -20,4 +20,5 @@ export declare const ClientFacingSleepCycleSourceType: {
|
|
|
20
20
|
readonly Ring: "ring";
|
|
21
21
|
readonly Lab: "lab";
|
|
22
22
|
readonly ExerciseMachine: "exercise_machine";
|
|
23
|
+
readonly Earphone: "earphone";
|
|
23
24
|
};
|
package/dist/Client.d.ts
CHANGED
|
@@ -3,21 +3,21 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as environments from "./environments";
|
|
5
5
|
import * as core from "./core";
|
|
6
|
+
import { User } from "./api/resources/user/client/Client";
|
|
6
7
|
import { Link } from "./api/resources/link/client/Client";
|
|
7
8
|
import { Providers } from "./api/resources/providers/client/Client";
|
|
8
|
-
import {
|
|
9
|
-
import { Sleep } from "./api/resources/sleep/client/Client";
|
|
10
|
-
import { Workouts } from "./api/resources/workouts/client/Client";
|
|
11
|
-
import { Vitals } from "./api/resources/vitals/client/Client";
|
|
9
|
+
import { Team } from "./api/resources/team/client/Client";
|
|
12
10
|
import { Electrocardiogram } from "./api/resources/electrocardiogram/client/Client";
|
|
13
11
|
import { SleepCycle } from "./api/resources/sleepCycle/client/Client";
|
|
14
12
|
import { Profile } from "./api/resources/profile/client/Client";
|
|
15
13
|
import { Devices } from "./api/resources/devices/client/Client";
|
|
16
14
|
import { Activity } from "./api/resources/activity/client/Client";
|
|
15
|
+
import { Workouts } from "./api/resources/workouts/client/Client";
|
|
16
|
+
import { Sleep } from "./api/resources/sleep/client/Client";
|
|
17
17
|
import { Body } from "./api/resources/body/client/Client";
|
|
18
18
|
import { Meal } from "./api/resources/meal/client/Client";
|
|
19
19
|
import { MenstrualCycle } from "./api/resources/menstrualCycle/client/Client";
|
|
20
|
-
import {
|
|
20
|
+
import { Vitals } from "./api/resources/vitals/client/Client";
|
|
21
21
|
import { Introspect } from "./api/resources/introspect/client/Client";
|
|
22
22
|
import { LabTests } from "./api/resources/labTests/client/Client";
|
|
23
23
|
import { Testkit } from "./api/resources/testkit/client/Client";
|
|
@@ -42,18 +42,14 @@ export declare namespace VitalClient {
|
|
|
42
42
|
export declare class VitalClient {
|
|
43
43
|
protected readonly _options: VitalClient.Options;
|
|
44
44
|
constructor(_options?: VitalClient.Options);
|
|
45
|
+
protected _user: User | undefined;
|
|
46
|
+
get user(): User;
|
|
45
47
|
protected _link: Link | undefined;
|
|
46
48
|
get link(): Link;
|
|
47
49
|
protected _providers: Providers | undefined;
|
|
48
50
|
get providers(): Providers;
|
|
49
|
-
protected
|
|
50
|
-
get
|
|
51
|
-
protected _sleep: Sleep | undefined;
|
|
52
|
-
get sleep(): Sleep;
|
|
53
|
-
protected _workouts: Workouts | undefined;
|
|
54
|
-
get workouts(): Workouts;
|
|
55
|
-
protected _vitals: Vitals | undefined;
|
|
56
|
-
get vitals(): Vitals;
|
|
51
|
+
protected _team: Team | undefined;
|
|
52
|
+
get team(): Team;
|
|
57
53
|
protected _electrocardiogram: Electrocardiogram | undefined;
|
|
58
54
|
get electrocardiogram(): Electrocardiogram;
|
|
59
55
|
protected _sleepCycle: SleepCycle | undefined;
|
|
@@ -64,14 +60,18 @@ export declare class VitalClient {
|
|
|
64
60
|
get devices(): Devices;
|
|
65
61
|
protected _activity: Activity | undefined;
|
|
66
62
|
get activity(): Activity;
|
|
63
|
+
protected _workouts: Workouts | undefined;
|
|
64
|
+
get workouts(): Workouts;
|
|
65
|
+
protected _sleep: Sleep | undefined;
|
|
66
|
+
get sleep(): Sleep;
|
|
67
67
|
protected _body: Body | undefined;
|
|
68
68
|
get body(): Body;
|
|
69
69
|
protected _meal: Meal | undefined;
|
|
70
70
|
get meal(): Meal;
|
|
71
71
|
protected _menstrualCycle: MenstrualCycle | undefined;
|
|
72
72
|
get menstrualCycle(): MenstrualCycle;
|
|
73
|
-
protected
|
|
74
|
-
get
|
|
73
|
+
protected _vitals: Vitals | undefined;
|
|
74
|
+
get vitals(): Vitals;
|
|
75
75
|
protected _introspect: Introspect | undefined;
|
|
76
76
|
get introspect(): Introspect;
|
|
77
77
|
protected _labTests: LabTests | undefined;
|
package/dist/Client.js
CHANGED
|
@@ -4,21 +4,21 @@
|
|
|
4
4
|
*/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.VitalClient = void 0;
|
|
7
|
-
const Client_1 = require("./api/resources/
|
|
8
|
-
const Client_2 = require("./api/resources/
|
|
9
|
-
const Client_3 = require("./api/resources/
|
|
10
|
-
const Client_4 = require("./api/resources/
|
|
11
|
-
const Client_5 = require("./api/resources/
|
|
12
|
-
const Client_6 = require("./api/resources/
|
|
13
|
-
const Client_7 = require("./api/resources/
|
|
14
|
-
const Client_8 = require("./api/resources/
|
|
15
|
-
const Client_9 = require("./api/resources/
|
|
16
|
-
const Client_10 = require("./api/resources/
|
|
17
|
-
const Client_11 = require("./api/resources/
|
|
7
|
+
const Client_1 = require("./api/resources/user/client/Client");
|
|
8
|
+
const Client_2 = require("./api/resources/link/client/Client");
|
|
9
|
+
const Client_3 = require("./api/resources/providers/client/Client");
|
|
10
|
+
const Client_4 = require("./api/resources/team/client/Client");
|
|
11
|
+
const Client_5 = require("./api/resources/electrocardiogram/client/Client");
|
|
12
|
+
const Client_6 = require("./api/resources/sleepCycle/client/Client");
|
|
13
|
+
const Client_7 = require("./api/resources/profile/client/Client");
|
|
14
|
+
const Client_8 = require("./api/resources/devices/client/Client");
|
|
15
|
+
const Client_9 = require("./api/resources/activity/client/Client");
|
|
16
|
+
const Client_10 = require("./api/resources/workouts/client/Client");
|
|
17
|
+
const Client_11 = require("./api/resources/sleep/client/Client");
|
|
18
18
|
const Client_12 = require("./api/resources/body/client/Client");
|
|
19
19
|
const Client_13 = require("./api/resources/meal/client/Client");
|
|
20
20
|
const Client_14 = require("./api/resources/menstrualCycle/client/Client");
|
|
21
|
-
const Client_15 = require("./api/resources/
|
|
21
|
+
const Client_15 = require("./api/resources/vitals/client/Client");
|
|
22
22
|
const Client_16 = require("./api/resources/introspect/client/Client");
|
|
23
23
|
const Client_17 = require("./api/resources/labTests/client/Client");
|
|
24
24
|
const Client_18 = require("./api/resources/testkit/client/Client");
|
|
@@ -30,49 +30,49 @@ class VitalClient {
|
|
|
30
30
|
constructor(_options = {}) {
|
|
31
31
|
this._options = _options;
|
|
32
32
|
}
|
|
33
|
-
get link() {
|
|
34
|
-
var _a;
|
|
35
|
-
return ((_a = this._link) !== null && _a !== void 0 ? _a : (this._link = new Client_1.Link(this._options)));
|
|
36
|
-
}
|
|
37
|
-
get providers() {
|
|
38
|
-
var _a;
|
|
39
|
-
return ((_a = this._providers) !== null && _a !== void 0 ? _a : (this._providers = new Client_2.Providers(this._options)));
|
|
40
|
-
}
|
|
41
33
|
get user() {
|
|
42
34
|
var _a;
|
|
43
|
-
return ((_a = this._user) !== null && _a !== void 0 ? _a : (this._user = new
|
|
35
|
+
return ((_a = this._user) !== null && _a !== void 0 ? _a : (this._user = new Client_1.User(this._options)));
|
|
44
36
|
}
|
|
45
|
-
get
|
|
37
|
+
get link() {
|
|
46
38
|
var _a;
|
|
47
|
-
return ((_a = this.
|
|
39
|
+
return ((_a = this._link) !== null && _a !== void 0 ? _a : (this._link = new Client_2.Link(this._options)));
|
|
48
40
|
}
|
|
49
|
-
get
|
|
41
|
+
get providers() {
|
|
50
42
|
var _a;
|
|
51
|
-
return ((_a = this.
|
|
43
|
+
return ((_a = this._providers) !== null && _a !== void 0 ? _a : (this._providers = new Client_3.Providers(this._options)));
|
|
52
44
|
}
|
|
53
|
-
get
|
|
45
|
+
get team() {
|
|
54
46
|
var _a;
|
|
55
|
-
return ((_a = this.
|
|
47
|
+
return ((_a = this._team) !== null && _a !== void 0 ? _a : (this._team = new Client_4.Team(this._options)));
|
|
56
48
|
}
|
|
57
49
|
get electrocardiogram() {
|
|
58
50
|
var _a;
|
|
59
|
-
return ((_a = this._electrocardiogram) !== null && _a !== void 0 ? _a : (this._electrocardiogram = new
|
|
51
|
+
return ((_a = this._electrocardiogram) !== null && _a !== void 0 ? _a : (this._electrocardiogram = new Client_5.Electrocardiogram(this._options)));
|
|
60
52
|
}
|
|
61
53
|
get sleepCycle() {
|
|
62
54
|
var _a;
|
|
63
|
-
return ((_a = this._sleepCycle) !== null && _a !== void 0 ? _a : (this._sleepCycle = new
|
|
55
|
+
return ((_a = this._sleepCycle) !== null && _a !== void 0 ? _a : (this._sleepCycle = new Client_6.SleepCycle(this._options)));
|
|
64
56
|
}
|
|
65
57
|
get profile() {
|
|
66
58
|
var _a;
|
|
67
|
-
return ((_a = this._profile) !== null && _a !== void 0 ? _a : (this._profile = new
|
|
59
|
+
return ((_a = this._profile) !== null && _a !== void 0 ? _a : (this._profile = new Client_7.Profile(this._options)));
|
|
68
60
|
}
|
|
69
61
|
get devices() {
|
|
70
62
|
var _a;
|
|
71
|
-
return ((_a = this._devices) !== null && _a !== void 0 ? _a : (this._devices = new
|
|
63
|
+
return ((_a = this._devices) !== null && _a !== void 0 ? _a : (this._devices = new Client_8.Devices(this._options)));
|
|
72
64
|
}
|
|
73
65
|
get activity() {
|
|
74
66
|
var _a;
|
|
75
|
-
return ((_a = this._activity) !== null && _a !== void 0 ? _a : (this._activity = new
|
|
67
|
+
return ((_a = this._activity) !== null && _a !== void 0 ? _a : (this._activity = new Client_9.Activity(this._options)));
|
|
68
|
+
}
|
|
69
|
+
get workouts() {
|
|
70
|
+
var _a;
|
|
71
|
+
return ((_a = this._workouts) !== null && _a !== void 0 ? _a : (this._workouts = new Client_10.Workouts(this._options)));
|
|
72
|
+
}
|
|
73
|
+
get sleep() {
|
|
74
|
+
var _a;
|
|
75
|
+
return ((_a = this._sleep) !== null && _a !== void 0 ? _a : (this._sleep = new Client_11.Sleep(this._options)));
|
|
76
76
|
}
|
|
77
77
|
get body() {
|
|
78
78
|
var _a;
|
|
@@ -86,9 +86,9 @@ class VitalClient {
|
|
|
86
86
|
var _a;
|
|
87
87
|
return ((_a = this._menstrualCycle) !== null && _a !== void 0 ? _a : (this._menstrualCycle = new Client_14.MenstrualCycle(this._options)));
|
|
88
88
|
}
|
|
89
|
-
get
|
|
89
|
+
get vitals() {
|
|
90
90
|
var _a;
|
|
91
|
-
return ((_a = this.
|
|
91
|
+
return ((_a = this._vitals) !== null && _a !== void 0 ? _a : (this._vitals = new Client_15.Vitals(this._options)));
|
|
92
92
|
}
|
|
93
93
|
get introspect() {
|
|
94
94
|
var _a;
|
|
@@ -78,7 +78,7 @@ class Activity {
|
|
|
78
78
|
const _response = yield core.fetcher({
|
|
79
79
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/activity/${encodeURIComponent(userId)}`),
|
|
80
80
|
method: "GET",
|
|
81
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
|
81
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.395", "User-Agent": "@tryvital/vital-node/3.1.395", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
82
82
|
contentType: "application/json",
|
|
83
83
|
queryParameters: _queryParams,
|
|
84
84
|
requestType: "json",
|
|
@@ -154,7 +154,7 @@ class Activity {
|
|
|
154
154
|
const _response = yield core.fetcher({
|
|
155
155
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/activity/${encodeURIComponent(userId)}/raw`),
|
|
156
156
|
method: "GET",
|
|
157
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
|
157
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.395", "User-Agent": "@tryvital/vital-node/3.1.395", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
158
158
|
contentType: "application/json",
|
|
159
159
|
queryParameters: _queryParams,
|
|
160
160
|
requestType: "json",
|
|
@@ -81,7 +81,7 @@ class Aggregate {
|
|
|
81
81
|
const _response = yield core.fetcher({
|
|
82
82
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `aggregate/v1/user/${encodeURIComponent(userId)}/query`),
|
|
83
83
|
method: "POST",
|
|
84
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
|
84
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.395", "User-Agent": "@tryvital/vital-node/3.1.395", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, accept: "*/*" }, (yield this._getCustomAuthorizationHeaders())),
|
|
85
85
|
contentType: "application/json",
|
|
86
86
|
requestType: "json",
|
|
87
87
|
body: serializers.QueryBatch.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -144,7 +144,7 @@ class Aggregate {
|
|
|
144
144
|
const _response = yield core.fetcher({
|
|
145
145
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `aggregate/v1/user/${encodeURIComponent(userId)}/continuous_query/${encodeURIComponent(queryIdOrSlug)}/result_table`),
|
|
146
146
|
method: "GET",
|
|
147
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
|
147
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.395", "User-Agent": "@tryvital/vital-node/3.1.395", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, accept: "*/*" }, (yield this._getCustomAuthorizationHeaders())),
|
|
148
148
|
contentType: "application/json",
|
|
149
149
|
requestType: "json",
|
|
150
150
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -215,7 +215,7 @@ class Aggregate {
|
|
|
215
215
|
const _response = yield core.fetcher({
|
|
216
216
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `aggregate/v1/user/${encodeURIComponent(userId)}/continuous_query/${encodeURIComponent(queryIdOrSlug)}/task_history`),
|
|
217
217
|
method: "GET",
|
|
218
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
|
218
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.395", "User-Agent": "@tryvital/vital-node/3.1.395", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
219
219
|
contentType: "application/json",
|
|
220
220
|
queryParameters: _queryParams,
|
|
221
221
|
requestType: "json",
|
|
@@ -78,7 +78,7 @@ class Body {
|
|
|
78
78
|
const _response = yield core.fetcher({
|
|
79
79
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/body/${encodeURIComponent(userId)}`),
|
|
80
80
|
method: "GET",
|
|
81
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
|
81
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.395", "User-Agent": "@tryvital/vital-node/3.1.395", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
82
82
|
contentType: "application/json",
|
|
83
83
|
queryParameters: _queryParams,
|
|
84
84
|
requestType: "json",
|
|
@@ -154,7 +154,7 @@ class Body {
|
|
|
154
154
|
const _response = yield core.fetcher({
|
|
155
155
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/body/${encodeURIComponent(userId)}/raw`),
|
|
156
156
|
method: "GET",
|
|
157
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
|
157
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.395", "User-Agent": "@tryvital/vital-node/3.1.395", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
158
158
|
contentType: "application/json",
|
|
159
159
|
queryParameters: _queryParams,
|
|
160
160
|
requestType: "json",
|
|
@@ -72,7 +72,7 @@ class Devices {
|
|
|
72
72
|
const _response = yield core.fetcher({
|
|
73
73
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/devices/${encodeURIComponent(userId)}/raw`),
|
|
74
74
|
method: "GET",
|
|
75
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
|
75
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.395", "User-Agent": "@tryvital/vital-node/3.1.395", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
76
76
|
contentType: "application/json",
|
|
77
77
|
queryParameters: _queryParams,
|
|
78
78
|
requestType: "json",
|
|
@@ -78,7 +78,7 @@ class Electrocardiogram {
|
|
|
78
78
|
const _response = yield core.fetcher({
|
|
79
79
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/electrocardiogram/${encodeURIComponent(userId)}`),
|
|
80
80
|
method: "GET",
|
|
81
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
|
81
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.395", "User-Agent": "@tryvital/vital-node/3.1.395", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
82
82
|
contentType: "application/json",
|
|
83
83
|
queryParameters: _queryParams,
|
|
84
84
|
requestType: "json",
|
|
@@ -4,40 +4,40 @@ export * as labTests from "./labTests";
|
|
|
4
4
|
export * from "./labTests/types";
|
|
5
5
|
export * as aggregate from "./aggregate";
|
|
6
6
|
export * from "./aggregate/types";
|
|
7
|
-
export * as providers from "./providers";
|
|
8
7
|
export * as user from "./user";
|
|
9
|
-
export * as
|
|
10
|
-
export * as
|
|
11
|
-
export * as vitals from "./vitals";
|
|
8
|
+
export * as providers from "./providers";
|
|
9
|
+
export * as team from "./team";
|
|
12
10
|
export * as electrocardiogram from "./electrocardiogram";
|
|
13
11
|
export * as sleepCycle from "./sleepCycle";
|
|
14
12
|
export * as profile from "./profile";
|
|
15
13
|
export * as devices from "./devices";
|
|
16
14
|
export * as activity from "./activity";
|
|
15
|
+
export * as workouts from "./workouts";
|
|
16
|
+
export * as sleep from "./sleep";
|
|
17
17
|
export * as body from "./body";
|
|
18
18
|
export * as meal from "./meal";
|
|
19
19
|
export * as menstrualCycle from "./menstrualCycle";
|
|
20
|
-
export * as
|
|
20
|
+
export * as vitals from "./vitals";
|
|
21
21
|
export * as introspect from "./introspect";
|
|
22
22
|
export * as testkit from "./testkit";
|
|
23
23
|
export * as order from "./order";
|
|
24
24
|
export * as insurance from "./insurance";
|
|
25
25
|
export * as payor from "./payor";
|
|
26
|
+
export * from "./user/client/requests";
|
|
26
27
|
export * from "./link/client/requests";
|
|
27
28
|
export * from "./providers/client/requests";
|
|
28
|
-
export * from "./
|
|
29
|
-
export * from "./sleep/client/requests";
|
|
30
|
-
export * from "./workouts/client/requests";
|
|
31
|
-
export * from "./vitals/client/requests";
|
|
29
|
+
export * from "./team/client/requests";
|
|
32
30
|
export * from "./electrocardiogram/client/requests";
|
|
33
31
|
export * from "./sleepCycle/client/requests";
|
|
34
32
|
export * from "./profile/client/requests";
|
|
35
33
|
export * from "./devices/client/requests";
|
|
36
34
|
export * from "./activity/client/requests";
|
|
35
|
+
export * from "./workouts/client/requests";
|
|
36
|
+
export * from "./sleep/client/requests";
|
|
37
37
|
export * from "./body/client/requests";
|
|
38
38
|
export * from "./meal/client/requests";
|
|
39
39
|
export * from "./menstrualCycle/client/requests";
|
|
40
|
-
export * from "./
|
|
40
|
+
export * from "./vitals/client/requests";
|
|
41
41
|
export * from "./introspect/client/requests";
|
|
42
42
|
export * from "./labTests/client/requests";
|
|
43
43
|
export * from "./testkit/client/requests";
|