@tryvital/vital-node 3.1.253 → 3.1.254
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/aggregate/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/electrocardiogram/client/Client.js +1 -1
- 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 +40 -40
- 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/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/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 +16 -16
- package/api/resources/vitals/client/Client.d.ts +39 -0
- package/api/resources/vitals/client/Client.js +315 -75
- package/api/resources/vitals/client/requests/VitalsHeartRateRecoveryOneMinuteGroupedRequest.d.ts +31 -0
- package/api/resources/vitals/client/requests/VitalsHeartRateRecoveryOneMinuteGroupedRequest.js +5 -0
- package/api/resources/vitals/client/requests/VitalsWorkoutDistanceGroupedRequest.d.ts +31 -0
- package/api/resources/vitals/client/requests/VitalsWorkoutDistanceGroupedRequest.js +5 -0
- package/api/resources/vitals/client/requests/VitalsWorkoutSwimmingStrokeGroupedRequest.d.ts +31 -0
- package/api/resources/vitals/client/requests/VitalsWorkoutSwimmingStrokeGroupedRequest.js +5 -0
- package/api/resources/vitals/client/requests/index.d.ts +3 -0
- package/api/resources/workouts/client/Client.js +3 -3
- package/api/types/ClientFacingHeartRateRecoveryOneMinuteChanged.d.ts +11 -0
- package/api/types/ClientFacingHeartRateRecoveryOneMinuteChanged.js +5 -0
- package/api/types/ClientFacingHeartRateRecoveryOneMinuteChangedEventType.d.ts +8 -0
- package/api/types/ClientFacingHeartRateRecoveryOneMinuteChangedEventType.js +10 -0
- package/api/types/ClientFacingHeartRateRecoveryOneMinuteHistoricalPullCompleted.d.ts +11 -0
- package/api/types/ClientFacingHeartRateRecoveryOneMinuteHistoricalPullCompleted.js +5 -0
- package/api/types/ClientFacingHeartRateRecoveryOneMinuteSample.d.ts +20 -0
- package/api/types/ClientFacingHeartRateRecoveryOneMinuteSample.js +5 -0
- package/api/types/ClientFacingResource.d.ts +4 -1
- package/api/types/ClientFacingResource.js +3 -0
- package/api/types/ClientFacingWorkoutDistanceChanged.d.ts +11 -0
- package/api/types/ClientFacingWorkoutDistanceChanged.js +5 -0
- package/api/types/ClientFacingWorkoutDistanceChangedEventType.d.ts +8 -0
- package/api/types/ClientFacingWorkoutDistanceChangedEventType.js +10 -0
- package/api/types/ClientFacingWorkoutDistanceHistoricalPullCompleted.d.ts +11 -0
- package/api/types/ClientFacingWorkoutDistanceHistoricalPullCompleted.js +5 -0
- package/api/types/ClientFacingWorkoutDistanceSample.d.ts +20 -0
- package/api/types/ClientFacingWorkoutDistanceSample.js +5 -0
- package/api/types/ClientFacingWorkoutSwimmingStrokeChanged.d.ts +11 -0
- package/api/types/ClientFacingWorkoutSwimmingStrokeChanged.js +5 -0
- package/api/types/ClientFacingWorkoutSwimmingStrokeChangedEventType.d.ts +8 -0
- package/api/types/ClientFacingWorkoutSwimmingStrokeChangedEventType.js +10 -0
- package/api/types/ClientFacingWorkoutSwimmingStrokeHistoricalPullCompleted.d.ts +11 -0
- package/api/types/ClientFacingWorkoutSwimmingStrokeHistoricalPullCompleted.js +5 -0
- package/api/types/ClientFacingWorkoutSwimmingStrokeSample.d.ts +20 -0
- package/api/types/ClientFacingWorkoutSwimmingStrokeSample.js +5 -0
- package/api/types/GroupedHeartRateRecoveryOneMinute.d.ts +8 -0
- package/api/types/GroupedHeartRateRecoveryOneMinute.js +5 -0
- package/api/types/GroupedHeartRateRecoveryOneMinuteResponse.d.ts +12 -0
- package/api/types/GroupedHeartRateRecoveryOneMinuteResponse.js +5 -0
- package/api/types/GroupedWorkoutDistance.d.ts +8 -0
- package/api/types/GroupedWorkoutDistance.js +5 -0
- package/api/types/GroupedWorkoutDistanceResponse.d.ts +12 -0
- package/api/types/GroupedWorkoutDistanceResponse.js +5 -0
- package/api/types/GroupedWorkoutSwimmingStroke.d.ts +8 -0
- package/api/types/GroupedWorkoutSwimmingStroke.js +5 -0
- package/api/types/GroupedWorkoutSwimmingStrokeResponse.d.ts +12 -0
- package/api/types/GroupedWorkoutSwimmingStrokeResponse.js +5 -0
- package/api/types/TimeseriesResource.d.ts +4 -1
- package/api/types/TimeseriesResource.js +3 -0
- package/api/types/index.d.ts +18 -0
- package/api/types/index.js +18 -0
- package/dist/api/resources/activity/client/Client.js +2 -2
- package/dist/api/resources/aggregate/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/electrocardiogram/client/Client.js +1 -1
- 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 +40 -40
- 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/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/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 +16 -16
- package/dist/api/resources/vitals/client/Client.d.ts +39 -0
- package/dist/api/resources/vitals/client/Client.js +315 -75
- package/dist/api/resources/vitals/client/requests/VitalsHeartRateRecoveryOneMinuteGroupedRequest.d.ts +31 -0
- package/dist/api/resources/vitals/client/requests/VitalsHeartRateRecoveryOneMinuteGroupedRequest.js +5 -0
- package/dist/api/resources/vitals/client/requests/VitalsWorkoutDistanceGroupedRequest.d.ts +31 -0
- package/dist/api/resources/vitals/client/requests/VitalsWorkoutDistanceGroupedRequest.js +5 -0
- package/dist/api/resources/vitals/client/requests/VitalsWorkoutSwimmingStrokeGroupedRequest.d.ts +31 -0
- package/dist/api/resources/vitals/client/requests/VitalsWorkoutSwimmingStrokeGroupedRequest.js +5 -0
- package/dist/api/resources/vitals/client/requests/index.d.ts +3 -0
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/api/types/ClientFacingHeartRateRecoveryOneMinuteChanged.d.ts +11 -0
- package/dist/api/types/ClientFacingHeartRateRecoveryOneMinuteChanged.js +5 -0
- package/dist/api/types/ClientFacingHeartRateRecoveryOneMinuteChangedEventType.d.ts +8 -0
- package/dist/api/types/ClientFacingHeartRateRecoveryOneMinuteChangedEventType.js +10 -0
- package/dist/api/types/ClientFacingHeartRateRecoveryOneMinuteHistoricalPullCompleted.d.ts +11 -0
- package/dist/api/types/ClientFacingHeartRateRecoveryOneMinuteHistoricalPullCompleted.js +5 -0
- package/dist/api/types/ClientFacingHeartRateRecoveryOneMinuteSample.d.ts +20 -0
- package/dist/api/types/ClientFacingHeartRateRecoveryOneMinuteSample.js +5 -0
- package/dist/api/types/ClientFacingResource.d.ts +4 -1
- package/dist/api/types/ClientFacingResource.js +3 -0
- package/dist/api/types/ClientFacingWorkoutDistanceChanged.d.ts +11 -0
- package/dist/api/types/ClientFacingWorkoutDistanceChanged.js +5 -0
- package/dist/api/types/ClientFacingWorkoutDistanceChangedEventType.d.ts +8 -0
- package/dist/api/types/ClientFacingWorkoutDistanceChangedEventType.js +10 -0
- package/dist/api/types/ClientFacingWorkoutDistanceHistoricalPullCompleted.d.ts +11 -0
- package/dist/api/types/ClientFacingWorkoutDistanceHistoricalPullCompleted.js +5 -0
- package/dist/api/types/ClientFacingWorkoutDistanceSample.d.ts +20 -0
- package/dist/api/types/ClientFacingWorkoutDistanceSample.js +5 -0
- package/dist/api/types/ClientFacingWorkoutSwimmingStrokeChanged.d.ts +11 -0
- package/dist/api/types/ClientFacingWorkoutSwimmingStrokeChanged.js +5 -0
- package/dist/api/types/ClientFacingWorkoutSwimmingStrokeChangedEventType.d.ts +8 -0
- package/dist/api/types/ClientFacingWorkoutSwimmingStrokeChangedEventType.js +10 -0
- package/dist/api/types/ClientFacingWorkoutSwimmingStrokeHistoricalPullCompleted.d.ts +11 -0
- package/dist/api/types/ClientFacingWorkoutSwimmingStrokeHistoricalPullCompleted.js +5 -0
- package/dist/api/types/ClientFacingWorkoutSwimmingStrokeSample.d.ts +20 -0
- package/dist/api/types/ClientFacingWorkoutSwimmingStrokeSample.js +5 -0
- package/dist/api/types/GroupedHeartRateRecoveryOneMinute.d.ts +8 -0
- package/dist/api/types/GroupedHeartRateRecoveryOneMinute.js +5 -0
- package/dist/api/types/GroupedHeartRateRecoveryOneMinuteResponse.d.ts +12 -0
- package/dist/api/types/GroupedHeartRateRecoveryOneMinuteResponse.js +5 -0
- package/dist/api/types/GroupedWorkoutDistance.d.ts +8 -0
- package/dist/api/types/GroupedWorkoutDistance.js +5 -0
- package/dist/api/types/GroupedWorkoutDistanceResponse.d.ts +12 -0
- package/dist/api/types/GroupedWorkoutDistanceResponse.js +5 -0
- package/dist/api/types/GroupedWorkoutSwimmingStroke.d.ts +8 -0
- package/dist/api/types/GroupedWorkoutSwimmingStroke.js +5 -0
- package/dist/api/types/GroupedWorkoutSwimmingStrokeResponse.d.ts +12 -0
- package/dist/api/types/GroupedWorkoutSwimmingStrokeResponse.js +5 -0
- package/dist/api/types/TimeseriesResource.d.ts +4 -1
- package/dist/api/types/TimeseriesResource.js +3 -0
- package/dist/api/types/index.d.ts +18 -0
- package/dist/api/types/index.js +18 -0
- package/dist/serialization/types/ClientFacingHeartRateRecoveryOneMinuteChanged.d.ts +18 -0
- package/dist/serialization/types/ClientFacingHeartRateRecoveryOneMinuteChanged.js +39 -0
- package/dist/serialization/types/ClientFacingHeartRateRecoveryOneMinuteChangedEventType.d.ts +10 -0
- package/dist/serialization/types/ClientFacingHeartRateRecoveryOneMinuteChangedEventType.js +34 -0
- package/dist/serialization/types/ClientFacingHeartRateRecoveryOneMinuteHistoricalPullCompleted.d.ts +17 -0
- package/dist/serialization/types/ClientFacingHeartRateRecoveryOneMinuteHistoricalPullCompleted.js +38 -0
- package/dist/serialization/types/ClientFacingHeartRateRecoveryOneMinuteSample.d.ts +19 -0
- package/dist/serialization/types/ClientFacingHeartRateRecoveryOneMinuteSample.js +40 -0
- package/dist/serialization/types/ClientFacingResource.d.ts +1 -1
- package/dist/serialization/types/ClientFacingResource.js +3 -0
- package/dist/serialization/types/ClientFacingWorkoutDistanceChanged.d.ts +18 -0
- package/dist/serialization/types/ClientFacingWorkoutDistanceChanged.js +39 -0
- package/dist/serialization/types/ClientFacingWorkoutDistanceChangedEventType.d.ts +10 -0
- package/dist/serialization/types/ClientFacingWorkoutDistanceChangedEventType.js +31 -0
- package/dist/serialization/types/ClientFacingWorkoutDistanceHistoricalPullCompleted.d.ts +17 -0
- package/dist/serialization/types/ClientFacingWorkoutDistanceHistoricalPullCompleted.js +38 -0
- package/dist/serialization/types/ClientFacingWorkoutDistanceSample.d.ts +19 -0
- package/dist/serialization/types/ClientFacingWorkoutDistanceSample.js +40 -0
- package/dist/serialization/types/ClientFacingWorkoutSwimmingStrokeChanged.d.ts +18 -0
- package/dist/serialization/types/ClientFacingWorkoutSwimmingStrokeChanged.js +39 -0
- package/dist/serialization/types/ClientFacingWorkoutSwimmingStrokeChangedEventType.d.ts +10 -0
- package/dist/serialization/types/ClientFacingWorkoutSwimmingStrokeChangedEventType.js +34 -0
- package/dist/serialization/types/ClientFacingWorkoutSwimmingStrokeHistoricalPullCompleted.d.ts +17 -0
- package/dist/serialization/types/ClientFacingWorkoutSwimmingStrokeHistoricalPullCompleted.js +38 -0
- package/dist/serialization/types/ClientFacingWorkoutSwimmingStrokeSample.d.ts +19 -0
- package/dist/serialization/types/ClientFacingWorkoutSwimmingStrokeSample.js +40 -0
- package/dist/serialization/types/GroupedHeartRateRecoveryOneMinute.d.ts +15 -0
- package/dist/serialization/types/GroupedHeartRateRecoveryOneMinute.js +36 -0
- package/dist/serialization/types/GroupedHeartRateRecoveryOneMinuteResponse.d.ts +15 -0
- package/dist/serialization/types/GroupedHeartRateRecoveryOneMinuteResponse.js +36 -0
- package/dist/serialization/types/GroupedWorkoutDistance.d.ts +15 -0
- package/dist/serialization/types/GroupedWorkoutDistance.js +36 -0
- package/dist/serialization/types/GroupedWorkoutDistanceResponse.d.ts +15 -0
- package/dist/serialization/types/GroupedWorkoutDistanceResponse.js +36 -0
- package/dist/serialization/types/GroupedWorkoutSwimmingStroke.d.ts +15 -0
- package/dist/serialization/types/GroupedWorkoutSwimmingStroke.js +36 -0
- package/dist/serialization/types/GroupedWorkoutSwimmingStrokeResponse.d.ts +15 -0
- package/dist/serialization/types/GroupedWorkoutSwimmingStrokeResponse.js +36 -0
- package/dist/serialization/types/TimeseriesResource.d.ts +1 -1
- package/dist/serialization/types/TimeseriesResource.js +3 -0
- package/dist/serialization/types/index.d.ts +18 -0
- package/dist/serialization/types/index.js +18 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +174 -0
- package/serialization/types/ClientFacingHeartRateRecoveryOneMinuteChanged.d.ts +18 -0
- package/serialization/types/ClientFacingHeartRateRecoveryOneMinuteChanged.js +39 -0
- package/serialization/types/ClientFacingHeartRateRecoveryOneMinuteChangedEventType.d.ts +10 -0
- package/serialization/types/ClientFacingHeartRateRecoveryOneMinuteChangedEventType.js +34 -0
- package/serialization/types/ClientFacingHeartRateRecoveryOneMinuteHistoricalPullCompleted.d.ts +17 -0
- package/serialization/types/ClientFacingHeartRateRecoveryOneMinuteHistoricalPullCompleted.js +38 -0
- package/serialization/types/ClientFacingHeartRateRecoveryOneMinuteSample.d.ts +19 -0
- package/serialization/types/ClientFacingHeartRateRecoveryOneMinuteSample.js +40 -0
- package/serialization/types/ClientFacingResource.d.ts +1 -1
- package/serialization/types/ClientFacingResource.js +3 -0
- package/serialization/types/ClientFacingWorkoutDistanceChanged.d.ts +18 -0
- package/serialization/types/ClientFacingWorkoutDistanceChanged.js +39 -0
- package/serialization/types/ClientFacingWorkoutDistanceChangedEventType.d.ts +10 -0
- package/serialization/types/ClientFacingWorkoutDistanceChangedEventType.js +31 -0
- package/serialization/types/ClientFacingWorkoutDistanceHistoricalPullCompleted.d.ts +17 -0
- package/serialization/types/ClientFacingWorkoutDistanceHistoricalPullCompleted.js +38 -0
- package/serialization/types/ClientFacingWorkoutDistanceSample.d.ts +19 -0
- package/serialization/types/ClientFacingWorkoutDistanceSample.js +40 -0
- package/serialization/types/ClientFacingWorkoutSwimmingStrokeChanged.d.ts +18 -0
- package/serialization/types/ClientFacingWorkoutSwimmingStrokeChanged.js +39 -0
- package/serialization/types/ClientFacingWorkoutSwimmingStrokeChangedEventType.d.ts +10 -0
- package/serialization/types/ClientFacingWorkoutSwimmingStrokeChangedEventType.js +34 -0
- package/serialization/types/ClientFacingWorkoutSwimmingStrokeHistoricalPullCompleted.d.ts +17 -0
- package/serialization/types/ClientFacingWorkoutSwimmingStrokeHistoricalPullCompleted.js +38 -0
- package/serialization/types/ClientFacingWorkoutSwimmingStrokeSample.d.ts +19 -0
- package/serialization/types/ClientFacingWorkoutSwimmingStrokeSample.js +40 -0
- package/serialization/types/GroupedHeartRateRecoveryOneMinute.d.ts +15 -0
- package/serialization/types/GroupedHeartRateRecoveryOneMinute.js +36 -0
- package/serialization/types/GroupedHeartRateRecoveryOneMinuteResponse.d.ts +15 -0
- package/serialization/types/GroupedHeartRateRecoveryOneMinuteResponse.js +36 -0
- package/serialization/types/GroupedWorkoutDistance.d.ts +15 -0
- package/serialization/types/GroupedWorkoutDistance.js +36 -0
- package/serialization/types/GroupedWorkoutDistanceResponse.d.ts +15 -0
- package/serialization/types/GroupedWorkoutDistanceResponse.js +36 -0
- package/serialization/types/GroupedWorkoutSwimmingStroke.d.ts +15 -0
- package/serialization/types/GroupedWorkoutSwimmingStroke.js +36 -0
- package/serialization/types/GroupedWorkoutSwimmingStrokeResponse.d.ts +15 -0
- package/serialization/types/GroupedWorkoutSwimmingStrokeResponse.js +36 -0
- package/serialization/types/TimeseriesResource.d.ts +1 -1
- package/serialization/types/TimeseriesResource.js +3 -0
- package/serialization/types/index.d.ts +18 -0
- package/serialization/types/index.js +18 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
@@ -0,0 +1,31 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
/**
|
5
|
+
* @example
|
6
|
+
* {
|
7
|
+
* startDate: "start_date"
|
8
|
+
* }
|
9
|
+
*/
|
10
|
+
export interface VitalsHeartRateRecoveryOneMinuteGroupedRequest {
|
11
|
+
/**
|
12
|
+
* The cursor for fetching the next page, or `null` to fetch the first page.
|
13
|
+
*/
|
14
|
+
cursor?: string;
|
15
|
+
/**
|
16
|
+
* The cursor for fetching the next page, or `null` to fetch the first page.
|
17
|
+
*/
|
18
|
+
nextCursor?: string;
|
19
|
+
/**
|
20
|
+
* Provider oura/strava etc
|
21
|
+
*/
|
22
|
+
provider?: string;
|
23
|
+
/**
|
24
|
+
* Date from in YYYY-MM-DD or ISO formatted date time. If a date is provided without a time, the time will be set to 00:00:00
|
25
|
+
*/
|
26
|
+
startDate: string;
|
27
|
+
/**
|
28
|
+
* Date to YYYY-MM-DD or ISO formatted date time. If a date is provided without a time, the time will be set to 23:59:59
|
29
|
+
*/
|
30
|
+
endDate?: string;
|
31
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
/**
|
5
|
+
* @example
|
6
|
+
* {
|
7
|
+
* startDate: "start_date"
|
8
|
+
* }
|
9
|
+
*/
|
10
|
+
export interface VitalsWorkoutDistanceGroupedRequest {
|
11
|
+
/**
|
12
|
+
* The cursor for fetching the next page, or `null` to fetch the first page.
|
13
|
+
*/
|
14
|
+
cursor?: string;
|
15
|
+
/**
|
16
|
+
* The cursor for fetching the next page, or `null` to fetch the first page.
|
17
|
+
*/
|
18
|
+
nextCursor?: string;
|
19
|
+
/**
|
20
|
+
* Provider oura/strava etc
|
21
|
+
*/
|
22
|
+
provider?: string;
|
23
|
+
/**
|
24
|
+
* Date from in YYYY-MM-DD or ISO formatted date time. If a date is provided without a time, the time will be set to 00:00:00
|
25
|
+
*/
|
26
|
+
startDate: string;
|
27
|
+
/**
|
28
|
+
* Date to YYYY-MM-DD or ISO formatted date time. If a date is provided without a time, the time will be set to 23:59:59
|
29
|
+
*/
|
30
|
+
endDate?: string;
|
31
|
+
}
|
package/dist/api/resources/vitals/client/requests/VitalsWorkoutSwimmingStrokeGroupedRequest.d.ts
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
/**
|
5
|
+
* @example
|
6
|
+
* {
|
7
|
+
* startDate: "start_date"
|
8
|
+
* }
|
9
|
+
*/
|
10
|
+
export interface VitalsWorkoutSwimmingStrokeGroupedRequest {
|
11
|
+
/**
|
12
|
+
* The cursor for fetching the next page, or `null` to fetch the first page.
|
13
|
+
*/
|
14
|
+
cursor?: string;
|
15
|
+
/**
|
16
|
+
* The cursor for fetching the next page, or `null` to fetch the first page.
|
17
|
+
*/
|
18
|
+
nextCursor?: string;
|
19
|
+
/**
|
20
|
+
* Provider oura/strava etc
|
21
|
+
*/
|
22
|
+
provider?: string;
|
23
|
+
/**
|
24
|
+
* Date from in YYYY-MM-DD or ISO formatted date time. If a date is provided without a time, the time will be set to 00:00:00
|
25
|
+
*/
|
26
|
+
startDate: string;
|
27
|
+
/**
|
28
|
+
* Date to YYYY-MM-DD or ISO formatted date time. If a date is provided without a time, the time will be set to 23:59:59
|
29
|
+
*/
|
30
|
+
endDate?: string;
|
31
|
+
}
|
@@ -1,3 +1,6 @@
|
|
1
|
+
export { type VitalsWorkoutSwimmingStrokeGroupedRequest } from "./VitalsWorkoutSwimmingStrokeGroupedRequest";
|
2
|
+
export { type VitalsWorkoutDistanceGroupedRequest } from "./VitalsWorkoutDistanceGroupedRequest";
|
3
|
+
export { type VitalsHeartRateRecoveryOneMinuteGroupedRequest } from "./VitalsHeartRateRecoveryOneMinuteGroupedRequest";
|
1
4
|
export { type VitalsWaistCircumferenceGroupedRequest } from "./VitalsWaistCircumferenceGroupedRequest";
|
2
5
|
export { type VitalsLeanBodyMassGroupedRequest } from "./VitalsLeanBodyMassGroupedRequest";
|
3
6
|
export { type VitalsBodyMassIndexGroupedRequest } from "./VitalsBodyMassIndexGroupedRequest";
|
@@ -78,7 +78,7 @@ class Workouts {
|
|
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/workouts/${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.254", "User-Agent": "@tryvital/vital-node/3.1.254", "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 Workouts {
|
|
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/workouts/${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.254", "User-Agent": "@tryvital/vital-node/3.1.254", "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",
|
@@ -216,7 +216,7 @@ class Workouts {
|
|
216
216
|
const _response = yield core.fetcher({
|
217
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`),
|
218
218
|
method: "GET",
|
219
|
-
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.254", "User-Agent": "@tryvital/vital-node/3.1.254", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
220
220
|
contentType: "application/json",
|
221
221
|
requestType: "json",
|
222
222
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as Vital from "../index";
|
5
|
+
export interface ClientFacingHeartRateRecoveryOneMinuteChanged {
|
6
|
+
eventType: Vital.ClientFacingHeartRateRecoveryOneMinuteChangedEventType;
|
7
|
+
userId: string;
|
8
|
+
clientUserId: string;
|
9
|
+
teamId: string;
|
10
|
+
data: Vital.GroupedHeartRateRecoveryOneMinute;
|
11
|
+
}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
export declare type ClientFacingHeartRateRecoveryOneMinuteChangedEventType = "daily.data.heart_rate_recovery_one_minute.created" | "daily.data.heart_rate_recovery_one_minute.updated";
|
5
|
+
export declare const ClientFacingHeartRateRecoveryOneMinuteChangedEventType: {
|
6
|
+
readonly DailyDataHeartRateRecoveryOneMinuteCreated: "daily.data.heart_rate_recovery_one_minute.created";
|
7
|
+
readonly DailyDataHeartRateRecoveryOneMinuteUpdated: "daily.data.heart_rate_recovery_one_minute.updated";
|
8
|
+
};
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
+
exports.ClientFacingHeartRateRecoveryOneMinuteChangedEventType = void 0;
|
7
|
+
exports.ClientFacingHeartRateRecoveryOneMinuteChangedEventType = {
|
8
|
+
DailyDataHeartRateRecoveryOneMinuteCreated: "daily.data.heart_rate_recovery_one_minute.created",
|
9
|
+
DailyDataHeartRateRecoveryOneMinuteUpdated: "daily.data.heart_rate_recovery_one_minute.updated",
|
10
|
+
};
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as Vital from "../index";
|
5
|
+
export interface ClientFacingHeartRateRecoveryOneMinuteHistoricalPullCompleted {
|
6
|
+
eventType: "historical.data.heart_rate_recovery_one_minute.created";
|
7
|
+
userId: string;
|
8
|
+
clientUserId: string;
|
9
|
+
teamId: string;
|
10
|
+
data: Vital.HistoricalPullCompleted;
|
11
|
+
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
export interface ClientFacingHeartRateRecoveryOneMinuteSample {
|
5
|
+
/** Deprecated */
|
6
|
+
id?: number;
|
7
|
+
/** Time zone UTC offset in seconds. Positive offset indicates east of UTC; negative offset indicates west of UTC; and null indicates the time zone information is unavailable at source. */
|
8
|
+
timezoneOffset?: number;
|
9
|
+
/** The reading type of the measurement. This is applicable only to Cholesterol, IGG, IGE and InsulinInjection. */
|
10
|
+
type?: string;
|
11
|
+
unit: "count";
|
12
|
+
/** Depracated. The start time (inclusive) of the interval. */
|
13
|
+
timestamp: Date;
|
14
|
+
/** The start time (inclusive) of the interval. */
|
15
|
+
start: Date;
|
16
|
+
/** The end time (exclusive) of the interval. */
|
17
|
+
end: Date;
|
18
|
+
/** The recorded value for the interval. */
|
19
|
+
value: number;
|
20
|
+
}
|
@@ -4,7 +4,7 @@
|
|
4
4
|
/**
|
5
5
|
* ℹ️ This enum is non-exhaustive.
|
6
6
|
*/
|
7
|
-
export declare type ClientFacingResource = "profile" | "activity" | "sleep" | "body" | "workouts" | "workout_stream" | "connection" | "order" | "result" | "appointment" | "glucose" | "heartrate" | "hrv" | "ige" | "igg" | "blood_oxygen" | "blood_pressure" | "cholesterol" | "device" | "weight" | "fat" | "body_temperature" | "body_temperature_delta" | "meal" | "water" | "caffeine" | "mindfulness_minutes" | "steps" | "calories_active" | "distance" | "floors_climbed" | "respiratory_rate" | "vo2_max" | "calories_basal" | "stress_level" | "menstrual_cycle" | "sleep_cycle" | "electrocardiogram" | "electrocardiogram_voltage" | "afib_burden" | "heart_rate_alert" | "stand_hour" | "stand_duration" | "sleep_apnea_alert" | "sleep_breathing_disturbance" | "wheelchair_push" | "forced_expiratory_volume_1" | "forced_vital_capacity" | "peak_expiratory_flow_rate" | "inhaler_usage" | "fall" | "uv_exposure" | "daylight_exposure" | "handwashing" | "basal_body_temperature" | "body_mass_index" | "lean_body_mass" | "waist_circumference" | "workout_duration" | "insulin_injection" | "carbohydrates" | "note" | "sleep_stream" | "hypnogram";
|
7
|
+
export declare type ClientFacingResource = "profile" | "activity" | "sleep" | "body" | "workouts" | "workout_stream" | "connection" | "order" | "result" | "appointment" | "glucose" | "heartrate" | "hrv" | "ige" | "igg" | "blood_oxygen" | "blood_pressure" | "cholesterol" | "device" | "weight" | "fat" | "body_temperature" | "body_temperature_delta" | "meal" | "water" | "caffeine" | "mindfulness_minutes" | "steps" | "calories_active" | "distance" | "floors_climbed" | "respiratory_rate" | "vo2_max" | "calories_basal" | "stress_level" | "menstrual_cycle" | "sleep_cycle" | "electrocardiogram" | "electrocardiogram_voltage" | "afib_burden" | "heart_rate_alert" | "stand_hour" | "stand_duration" | "sleep_apnea_alert" | "sleep_breathing_disturbance" | "wheelchair_push" | "forced_expiratory_volume_1" | "forced_vital_capacity" | "peak_expiratory_flow_rate" | "inhaler_usage" | "fall" | "uv_exposure" | "daylight_exposure" | "handwashing" | "basal_body_temperature" | "heart_rate_recovery_one_minute" | "body_mass_index" | "lean_body_mass" | "waist_circumference" | "workout_distance" | "workout_swimming_stroke" | "workout_duration" | "insulin_injection" | "carbohydrates" | "note" | "sleep_stream" | "hypnogram";
|
8
8
|
export declare const ClientFacingResource: {
|
9
9
|
readonly Profile: "profile";
|
10
10
|
readonly Activity: "activity";
|
@@ -61,9 +61,12 @@ export declare const ClientFacingResource: {
|
|
61
61
|
readonly DaylightExposure: "daylight_exposure";
|
62
62
|
readonly Handwashing: "handwashing";
|
63
63
|
readonly BasalBodyTemperature: "basal_body_temperature";
|
64
|
+
readonly HeartRateRecoveryOneMinute: "heart_rate_recovery_one_minute";
|
64
65
|
readonly BodyMassIndex: "body_mass_index";
|
65
66
|
readonly LeanBodyMass: "lean_body_mass";
|
66
67
|
readonly WaistCircumference: "waist_circumference";
|
68
|
+
readonly WorkoutDistance: "workout_distance";
|
69
|
+
readonly WorkoutSwimmingStroke: "workout_swimming_stroke";
|
67
70
|
readonly WorkoutDuration: "workout_duration";
|
68
71
|
readonly InsulinInjection: "insulin_injection";
|
69
72
|
readonly Carbohydrates: "carbohydrates";
|
@@ -60,9 +60,12 @@ exports.ClientFacingResource = {
|
|
60
60
|
DaylightExposure: "daylight_exposure",
|
61
61
|
Handwashing: "handwashing",
|
62
62
|
BasalBodyTemperature: "basal_body_temperature",
|
63
|
+
HeartRateRecoveryOneMinute: "heart_rate_recovery_one_minute",
|
63
64
|
BodyMassIndex: "body_mass_index",
|
64
65
|
LeanBodyMass: "lean_body_mass",
|
65
66
|
WaistCircumference: "waist_circumference",
|
67
|
+
WorkoutDistance: "workout_distance",
|
68
|
+
WorkoutSwimmingStroke: "workout_swimming_stroke",
|
66
69
|
WorkoutDuration: "workout_duration",
|
67
70
|
InsulinInjection: "insulin_injection",
|
68
71
|
Carbohydrates: "carbohydrates",
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as Vital from "../index";
|
5
|
+
export interface ClientFacingWorkoutDistanceChanged {
|
6
|
+
eventType: Vital.ClientFacingWorkoutDistanceChangedEventType;
|
7
|
+
userId: string;
|
8
|
+
clientUserId: string;
|
9
|
+
teamId: string;
|
10
|
+
data: Vital.GroupedWorkoutDistance;
|
11
|
+
}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
export declare type ClientFacingWorkoutDistanceChangedEventType = "daily.data.workout_distance.created" | "daily.data.workout_distance.updated";
|
5
|
+
export declare const ClientFacingWorkoutDistanceChangedEventType: {
|
6
|
+
readonly DailyDataWorkoutDistanceCreated: "daily.data.workout_distance.created";
|
7
|
+
readonly DailyDataWorkoutDistanceUpdated: "daily.data.workout_distance.updated";
|
8
|
+
};
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
+
exports.ClientFacingWorkoutDistanceChangedEventType = void 0;
|
7
|
+
exports.ClientFacingWorkoutDistanceChangedEventType = {
|
8
|
+
DailyDataWorkoutDistanceCreated: "daily.data.workout_distance.created",
|
9
|
+
DailyDataWorkoutDistanceUpdated: "daily.data.workout_distance.updated",
|
10
|
+
};
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as Vital from "../index";
|
5
|
+
export interface ClientFacingWorkoutDistanceHistoricalPullCompleted {
|
6
|
+
eventType: "historical.data.workout_distance.created";
|
7
|
+
userId: string;
|
8
|
+
clientUserId: string;
|
9
|
+
teamId: string;
|
10
|
+
data: Vital.HistoricalPullCompleted;
|
11
|
+
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
export interface ClientFacingWorkoutDistanceSample {
|
5
|
+
/** Deprecated */
|
6
|
+
id?: number;
|
7
|
+
/** Time zone UTC offset in seconds. Positive offset indicates east of UTC; negative offset indicates west of UTC; and null indicates the time zone information is unavailable at source. */
|
8
|
+
timezoneOffset?: number;
|
9
|
+
/** The reading type of the measurement. This is applicable only to Cholesterol, IGG, IGE and InsulinInjection. */
|
10
|
+
type?: string;
|
11
|
+
unit: "m";
|
12
|
+
/** Depracated. The start time (inclusive) of the interval. */
|
13
|
+
timestamp: Date;
|
14
|
+
/** The start time (inclusive) of the interval. */
|
15
|
+
start: Date;
|
16
|
+
/** The end time (exclusive) of the interval. */
|
17
|
+
end: Date;
|
18
|
+
/** The recorded value for the interval. */
|
19
|
+
value: number;
|
20
|
+
}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as Vital from "../index";
|
5
|
+
export interface ClientFacingWorkoutSwimmingStrokeChanged {
|
6
|
+
eventType: Vital.ClientFacingWorkoutSwimmingStrokeChangedEventType;
|
7
|
+
userId: string;
|
8
|
+
clientUserId: string;
|
9
|
+
teamId: string;
|
10
|
+
data: Vital.GroupedWorkoutSwimmingStroke;
|
11
|
+
}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
export declare type ClientFacingWorkoutSwimmingStrokeChangedEventType = "daily.data.workout_swimming_stroke.created" | "daily.data.workout_swimming_stroke.updated";
|
5
|
+
export declare const ClientFacingWorkoutSwimmingStrokeChangedEventType: {
|
6
|
+
readonly DailyDataWorkoutSwimmingStrokeCreated: "daily.data.workout_swimming_stroke.created";
|
7
|
+
readonly DailyDataWorkoutSwimmingStrokeUpdated: "daily.data.workout_swimming_stroke.updated";
|
8
|
+
};
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
+
exports.ClientFacingWorkoutSwimmingStrokeChangedEventType = void 0;
|
7
|
+
exports.ClientFacingWorkoutSwimmingStrokeChangedEventType = {
|
8
|
+
DailyDataWorkoutSwimmingStrokeCreated: "daily.data.workout_swimming_stroke.created",
|
9
|
+
DailyDataWorkoutSwimmingStrokeUpdated: "daily.data.workout_swimming_stroke.updated",
|
10
|
+
};
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as Vital from "../index";
|
5
|
+
export interface ClientFacingWorkoutSwimmingStrokeHistoricalPullCompleted {
|
6
|
+
eventType: "historical.data.workout_swimming_stroke.created";
|
7
|
+
userId: string;
|
8
|
+
clientUserId: string;
|
9
|
+
teamId: string;
|
10
|
+
data: Vital.HistoricalPullCompleted;
|
11
|
+
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
export interface ClientFacingWorkoutSwimmingStrokeSample {
|
5
|
+
/** Deprecated */
|
6
|
+
id?: number;
|
7
|
+
/** Time zone UTC offset in seconds. Positive offset indicates east of UTC; negative offset indicates west of UTC; and null indicates the time zone information is unavailable at source. */
|
8
|
+
timezoneOffset?: number;
|
9
|
+
/** The reading type of the measurement. This is applicable only to Cholesterol, IGG, IGE and InsulinInjection. */
|
10
|
+
type?: string;
|
11
|
+
unit: "count";
|
12
|
+
/** Depracated. The start time (inclusive) of the interval. */
|
13
|
+
timestamp: Date;
|
14
|
+
/** The start time (inclusive) of the interval. */
|
15
|
+
start: Date;
|
16
|
+
/** The end time (exclusive) of the interval. */
|
17
|
+
end: Date;
|
18
|
+
/** The recorded value for the interval. */
|
19
|
+
value: number;
|
20
|
+
}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as Vital from "../index";
|
5
|
+
export interface GroupedHeartRateRecoveryOneMinute {
|
6
|
+
source: Vital.ClientFacingSource;
|
7
|
+
data: Vital.ClientFacingHeartRateRecoveryOneMinuteSample[];
|
8
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as Vital from "../index";
|
5
|
+
export interface GroupedHeartRateRecoveryOneMinuteResponse {
|
6
|
+
/** For each matching provider or lab, a list of grouped timeseries values. */
|
7
|
+
groups: Record<string, Vital.GroupedHeartRateRecoveryOneMinute[]>;
|
8
|
+
/** The cursor for fetching the next page, or `null` if there is no more data. */
|
9
|
+
next?: string;
|
10
|
+
/** The cursor for fetching the next page, or `null` if there is no more data. */
|
11
|
+
nextCursor?: string;
|
12
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as Vital from "../index";
|
5
|
+
export interface GroupedWorkoutDistanceResponse {
|
6
|
+
/** For each matching provider or lab, a list of grouped timeseries values. */
|
7
|
+
groups: Record<string, Vital.GroupedWorkoutDistance[]>;
|
8
|
+
/** The cursor for fetching the next page, or `null` if there is no more data. */
|
9
|
+
next?: string;
|
10
|
+
/** The cursor for fetching the next page, or `null` if there is no more data. */
|
11
|
+
nextCursor?: string;
|
12
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as Vital from "../index";
|
5
|
+
export interface GroupedWorkoutSwimmingStrokeResponse {
|
6
|
+
/** For each matching provider or lab, a list of grouped timeseries values. */
|
7
|
+
groups: Record<string, Vital.GroupedWorkoutSwimmingStroke[]>;
|
8
|
+
/** The cursor for fetching the next page, or `null` if there is no more data. */
|
9
|
+
next?: string;
|
10
|
+
/** The cursor for fetching the next page, or `null` if there is no more data. */
|
11
|
+
nextCursor?: string;
|
12
|
+
}
|
@@ -4,7 +4,7 @@
|
|
4
4
|
/**
|
5
5
|
* ℹ️ This enum is non-exhaustive.
|
6
6
|
*/
|
7
|
-
export declare type TimeseriesResource = "calories_active" | "calories_basal" | "distance" | "blood_oxygen" | "blood_pressure" | "body_fat" | "body_weight" | "body_temperature" | "body_temperature_delta" | "cholesterol" | "cholesterol/ldl" | "cholesterol/hdl" | "cholesterol/total" | "cholesterol/triglycerides" | "electrocardiogram_voltage" | "floors_climbed" | "glucose" | "heartrate" | "hrv" | "hypnogram" | "ige" | "igg" | "respiratory_rate" | "steps" | "stress_level" | "vo2_max" | "water" | "caffeine" | "mindfulness_minutes" | "afib_burden" | "heart_rate_alert" | "stand_hour" | "stand_duration" | "sleep_apnea_alert" | "sleep_breathing_disturbance" | "wheelchair_push" | "forced_expiratory_volume_1" | "forced_vital_capacity" | "peak_expiratory_flow_rate" | "inhaler_usage" | "fall" | "uv_exposure" | "daylight_exposure" | "handwashing" | "basal_body_temperature" | "body_mass_index" | "lean_body_mass" | "waist_circumference" | "workout_duration" | "insulin_injection" | "carbohydrates" | "note";
|
7
|
+
export declare type TimeseriesResource = "calories_active" | "calories_basal" | "distance" | "blood_oxygen" | "blood_pressure" | "body_fat" | "body_weight" | "body_temperature" | "body_temperature_delta" | "cholesterol" | "cholesterol/ldl" | "cholesterol/hdl" | "cholesterol/total" | "cholesterol/triglycerides" | "electrocardiogram_voltage" | "floors_climbed" | "glucose" | "heartrate" | "hrv" | "hypnogram" | "ige" | "igg" | "respiratory_rate" | "steps" | "stress_level" | "vo2_max" | "water" | "caffeine" | "mindfulness_minutes" | "afib_burden" | "heart_rate_alert" | "stand_hour" | "stand_duration" | "sleep_apnea_alert" | "sleep_breathing_disturbance" | "wheelchair_push" | "forced_expiratory_volume_1" | "forced_vital_capacity" | "peak_expiratory_flow_rate" | "inhaler_usage" | "fall" | "uv_exposure" | "daylight_exposure" | "handwashing" | "basal_body_temperature" | "body_mass_index" | "lean_body_mass" | "waist_circumference" | "heart_rate_recovery_one_minute" | "workout_distance" | "workout_swimming_stroke" | "workout_duration" | "insulin_injection" | "carbohydrates" | "note";
|
8
8
|
export declare const TimeseriesResource: {
|
9
9
|
readonly CaloriesActive: "calories_active";
|
10
10
|
readonly CaloriesBasal: "calories_basal";
|
@@ -54,6 +54,9 @@ export declare const TimeseriesResource: {
|
|
54
54
|
readonly BodyMassIndex: "body_mass_index";
|
55
55
|
readonly LeanBodyMass: "lean_body_mass";
|
56
56
|
readonly WaistCircumference: "waist_circumference";
|
57
|
+
readonly HeartRateRecoveryOneMinute: "heart_rate_recovery_one_minute";
|
58
|
+
readonly WorkoutDistance: "workout_distance";
|
59
|
+
readonly WorkoutSwimmingStroke: "workout_swimming_stroke";
|
57
60
|
readonly WorkoutDuration: "workout_duration";
|
58
61
|
readonly InsulinInjection: "insulin_injection";
|
59
62
|
readonly Carbohydrates: "carbohydrates";
|
@@ -53,6 +53,9 @@ exports.TimeseriesResource = {
|
|
53
53
|
BodyMassIndex: "body_mass_index",
|
54
54
|
LeanBodyMass: "lean_body_mass",
|
55
55
|
WaistCircumference: "waist_circumference",
|
56
|
+
HeartRateRecoveryOneMinute: "heart_rate_recovery_one_minute",
|
57
|
+
WorkoutDistance: "workout_distance",
|
58
|
+
WorkoutSwimmingStroke: "workout_swimming_stroke",
|
56
59
|
WorkoutDuration: "workout_duration",
|
57
60
|
InsulinInjection: "insulin_injection",
|
58
61
|
Carbohydrates: "carbohydrates",
|