@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,39 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.ClientFacingWorkoutSwimmingStrokeChanged = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const ClientFacingWorkoutSwimmingStrokeChangedEventType_1 = require("./ClientFacingWorkoutSwimmingStrokeChangedEventType");
|
32
|
+
const GroupedWorkoutSwimmingStroke_1 = require("./GroupedWorkoutSwimmingStroke");
|
33
|
+
exports.ClientFacingWorkoutSwimmingStrokeChanged = core.serialization.object({
|
34
|
+
eventType: core.serialization.property("event_type", ClientFacingWorkoutSwimmingStrokeChangedEventType_1.ClientFacingWorkoutSwimmingStrokeChangedEventType),
|
35
|
+
userId: core.serialization.property("user_id", core.serialization.string()),
|
36
|
+
clientUserId: core.serialization.property("client_user_id", core.serialization.string()),
|
37
|
+
teamId: core.serialization.property("team_id", core.serialization.string()),
|
38
|
+
data: GroupedWorkoutSwimmingStroke_1.GroupedWorkoutSwimmingStroke,
|
39
|
+
});
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../index";
|
5
|
+
import * as Vital from "../../api/index";
|
6
|
+
import * as core from "../../core";
|
7
|
+
export declare const ClientFacingWorkoutSwimmingStrokeChangedEventType: core.serialization.Schema<serializers.ClientFacingWorkoutSwimmingStrokeChangedEventType.Raw, Vital.ClientFacingWorkoutSwimmingStrokeChangedEventType>;
|
8
|
+
export declare namespace ClientFacingWorkoutSwimmingStrokeChangedEventType {
|
9
|
+
type Raw = "daily.data.workout_swimming_stroke.created" | "daily.data.workout_swimming_stroke.updated";
|
10
|
+
}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.ClientFacingWorkoutSwimmingStrokeChangedEventType = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.ClientFacingWorkoutSwimmingStrokeChangedEventType = core.serialization.enum_([
|
32
|
+
"daily.data.workout_swimming_stroke.created",
|
33
|
+
"daily.data.workout_swimming_stroke.updated",
|
34
|
+
]);
|
package/dist/serialization/types/ClientFacingWorkoutSwimmingStrokeHistoricalPullCompleted.d.ts
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../index";
|
5
|
+
import * as Vital from "../../api/index";
|
6
|
+
import * as core from "../../core";
|
7
|
+
import { HistoricalPullCompleted } from "./HistoricalPullCompleted";
|
8
|
+
export declare const ClientFacingWorkoutSwimmingStrokeHistoricalPullCompleted: core.serialization.ObjectSchema<serializers.ClientFacingWorkoutSwimmingStrokeHistoricalPullCompleted.Raw, Vital.ClientFacingWorkoutSwimmingStrokeHistoricalPullCompleted>;
|
9
|
+
export declare namespace ClientFacingWorkoutSwimmingStrokeHistoricalPullCompleted {
|
10
|
+
interface Raw {
|
11
|
+
event_type: "historical.data.workout_swimming_stroke.created";
|
12
|
+
user_id: string;
|
13
|
+
client_user_id: string;
|
14
|
+
team_id: string;
|
15
|
+
data: HistoricalPullCompleted.Raw;
|
16
|
+
}
|
17
|
+
}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.ClientFacingWorkoutSwimmingStrokeHistoricalPullCompleted = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const HistoricalPullCompleted_1 = require("./HistoricalPullCompleted");
|
32
|
+
exports.ClientFacingWorkoutSwimmingStrokeHistoricalPullCompleted = core.serialization.object({
|
33
|
+
eventType: core.serialization.property("event_type", core.serialization.stringLiteral("historical.data.workout_swimming_stroke.created")),
|
34
|
+
userId: core.serialization.property("user_id", core.serialization.string()),
|
35
|
+
clientUserId: core.serialization.property("client_user_id", core.serialization.string()),
|
36
|
+
teamId: core.serialization.property("team_id", core.serialization.string()),
|
37
|
+
data: HistoricalPullCompleted_1.HistoricalPullCompleted,
|
38
|
+
});
|
@@ -0,0 +1,19 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../index";
|
5
|
+
import * as Vital from "../../api/index";
|
6
|
+
import * as core from "../../core";
|
7
|
+
export declare const ClientFacingWorkoutSwimmingStrokeSample: core.serialization.ObjectSchema<serializers.ClientFacingWorkoutSwimmingStrokeSample.Raw, Vital.ClientFacingWorkoutSwimmingStrokeSample>;
|
8
|
+
export declare namespace ClientFacingWorkoutSwimmingStrokeSample {
|
9
|
+
interface Raw {
|
10
|
+
id?: number | null;
|
11
|
+
timezone_offset?: number | null;
|
12
|
+
type?: string | null;
|
13
|
+
unit: "count";
|
14
|
+
timestamp: string;
|
15
|
+
start: string;
|
16
|
+
end: string;
|
17
|
+
value: number;
|
18
|
+
}
|
19
|
+
}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.ClientFacingWorkoutSwimmingStrokeSample = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.ClientFacingWorkoutSwimmingStrokeSample = core.serialization.object({
|
32
|
+
id: core.serialization.number().optional(),
|
33
|
+
timezoneOffset: core.serialization.property("timezone_offset", core.serialization.number().optional()),
|
34
|
+
type: core.serialization.string().optional(),
|
35
|
+
unit: core.serialization.stringLiteral("count"),
|
36
|
+
timestamp: core.serialization.date(),
|
37
|
+
start: core.serialization.date(),
|
38
|
+
end: core.serialization.date(),
|
39
|
+
value: core.serialization.number(),
|
40
|
+
});
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../index";
|
5
|
+
import * as Vital from "../../api/index";
|
6
|
+
import * as core from "../../core";
|
7
|
+
import { ClientFacingSource } from "./ClientFacingSource";
|
8
|
+
import { ClientFacingHeartRateRecoveryOneMinuteSample } from "./ClientFacingHeartRateRecoveryOneMinuteSample";
|
9
|
+
export declare const GroupedHeartRateRecoveryOneMinute: core.serialization.ObjectSchema<serializers.GroupedHeartRateRecoveryOneMinute.Raw, Vital.GroupedHeartRateRecoveryOneMinute>;
|
10
|
+
export declare namespace GroupedHeartRateRecoveryOneMinute {
|
11
|
+
interface Raw {
|
12
|
+
source: ClientFacingSource.Raw;
|
13
|
+
data: ClientFacingHeartRateRecoveryOneMinuteSample.Raw[];
|
14
|
+
}
|
15
|
+
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.GroupedHeartRateRecoveryOneMinute = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const ClientFacingSource_1 = require("./ClientFacingSource");
|
32
|
+
const ClientFacingHeartRateRecoveryOneMinuteSample_1 = require("./ClientFacingHeartRateRecoveryOneMinuteSample");
|
33
|
+
exports.GroupedHeartRateRecoveryOneMinute = core.serialization.object({
|
34
|
+
source: ClientFacingSource_1.ClientFacingSource,
|
35
|
+
data: core.serialization.list(ClientFacingHeartRateRecoveryOneMinuteSample_1.ClientFacingHeartRateRecoveryOneMinuteSample),
|
36
|
+
});
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../index";
|
5
|
+
import * as Vital from "../../api/index";
|
6
|
+
import * as core from "../../core";
|
7
|
+
import { GroupedHeartRateRecoveryOneMinute } from "./GroupedHeartRateRecoveryOneMinute";
|
8
|
+
export declare const GroupedHeartRateRecoveryOneMinuteResponse: core.serialization.ObjectSchema<serializers.GroupedHeartRateRecoveryOneMinuteResponse.Raw, Vital.GroupedHeartRateRecoveryOneMinuteResponse>;
|
9
|
+
export declare namespace GroupedHeartRateRecoveryOneMinuteResponse {
|
10
|
+
interface Raw {
|
11
|
+
groups: Record<string, GroupedHeartRateRecoveryOneMinute.Raw[]>;
|
12
|
+
next?: string | null;
|
13
|
+
next_cursor?: string | null;
|
14
|
+
}
|
15
|
+
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.GroupedHeartRateRecoveryOneMinuteResponse = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const GroupedHeartRateRecoveryOneMinute_1 = require("./GroupedHeartRateRecoveryOneMinute");
|
32
|
+
exports.GroupedHeartRateRecoveryOneMinuteResponse = core.serialization.object({
|
33
|
+
groups: core.serialization.record(core.serialization.string(), core.serialization.list(GroupedHeartRateRecoveryOneMinute_1.GroupedHeartRateRecoveryOneMinute)),
|
34
|
+
next: core.serialization.string().optional(),
|
35
|
+
nextCursor: core.serialization.property("next_cursor", core.serialization.string().optional()),
|
36
|
+
});
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../index";
|
5
|
+
import * as Vital from "../../api/index";
|
6
|
+
import * as core from "../../core";
|
7
|
+
import { ClientFacingSource } from "./ClientFacingSource";
|
8
|
+
import { ClientFacingWorkoutDistanceSample } from "./ClientFacingWorkoutDistanceSample";
|
9
|
+
export declare const GroupedWorkoutDistance: core.serialization.ObjectSchema<serializers.GroupedWorkoutDistance.Raw, Vital.GroupedWorkoutDistance>;
|
10
|
+
export declare namespace GroupedWorkoutDistance {
|
11
|
+
interface Raw {
|
12
|
+
source: ClientFacingSource.Raw;
|
13
|
+
data: ClientFacingWorkoutDistanceSample.Raw[];
|
14
|
+
}
|
15
|
+
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.GroupedWorkoutDistance = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const ClientFacingSource_1 = require("./ClientFacingSource");
|
32
|
+
const ClientFacingWorkoutDistanceSample_1 = require("./ClientFacingWorkoutDistanceSample");
|
33
|
+
exports.GroupedWorkoutDistance = core.serialization.object({
|
34
|
+
source: ClientFacingSource_1.ClientFacingSource,
|
35
|
+
data: core.serialization.list(ClientFacingWorkoutDistanceSample_1.ClientFacingWorkoutDistanceSample),
|
36
|
+
});
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../index";
|
5
|
+
import * as Vital from "../../api/index";
|
6
|
+
import * as core from "../../core";
|
7
|
+
import { GroupedWorkoutDistance } from "./GroupedWorkoutDistance";
|
8
|
+
export declare const GroupedWorkoutDistanceResponse: core.serialization.ObjectSchema<serializers.GroupedWorkoutDistanceResponse.Raw, Vital.GroupedWorkoutDistanceResponse>;
|
9
|
+
export declare namespace GroupedWorkoutDistanceResponse {
|
10
|
+
interface Raw {
|
11
|
+
groups: Record<string, GroupedWorkoutDistance.Raw[]>;
|
12
|
+
next?: string | null;
|
13
|
+
next_cursor?: string | null;
|
14
|
+
}
|
15
|
+
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.GroupedWorkoutDistanceResponse = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const GroupedWorkoutDistance_1 = require("./GroupedWorkoutDistance");
|
32
|
+
exports.GroupedWorkoutDistanceResponse = core.serialization.object({
|
33
|
+
groups: core.serialization.record(core.serialization.string(), core.serialization.list(GroupedWorkoutDistance_1.GroupedWorkoutDistance)),
|
34
|
+
next: core.serialization.string().optional(),
|
35
|
+
nextCursor: core.serialization.property("next_cursor", core.serialization.string().optional()),
|
36
|
+
});
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../index";
|
5
|
+
import * as Vital from "../../api/index";
|
6
|
+
import * as core from "../../core";
|
7
|
+
import { ClientFacingSource } from "./ClientFacingSource";
|
8
|
+
import { ClientFacingWorkoutSwimmingStrokeSample } from "./ClientFacingWorkoutSwimmingStrokeSample";
|
9
|
+
export declare const GroupedWorkoutSwimmingStroke: core.serialization.ObjectSchema<serializers.GroupedWorkoutSwimmingStroke.Raw, Vital.GroupedWorkoutSwimmingStroke>;
|
10
|
+
export declare namespace GroupedWorkoutSwimmingStroke {
|
11
|
+
interface Raw {
|
12
|
+
source: ClientFacingSource.Raw;
|
13
|
+
data: ClientFacingWorkoutSwimmingStrokeSample.Raw[];
|
14
|
+
}
|
15
|
+
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.GroupedWorkoutSwimmingStroke = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const ClientFacingSource_1 = require("./ClientFacingSource");
|
32
|
+
const ClientFacingWorkoutSwimmingStrokeSample_1 = require("./ClientFacingWorkoutSwimmingStrokeSample");
|
33
|
+
exports.GroupedWorkoutSwimmingStroke = core.serialization.object({
|
34
|
+
source: ClientFacingSource_1.ClientFacingSource,
|
35
|
+
data: core.serialization.list(ClientFacingWorkoutSwimmingStrokeSample_1.ClientFacingWorkoutSwimmingStrokeSample),
|
36
|
+
});
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../index";
|
5
|
+
import * as Vital from "../../api/index";
|
6
|
+
import * as core from "../../core";
|
7
|
+
import { GroupedWorkoutSwimmingStroke } from "./GroupedWorkoutSwimmingStroke";
|
8
|
+
export declare const GroupedWorkoutSwimmingStrokeResponse: core.serialization.ObjectSchema<serializers.GroupedWorkoutSwimmingStrokeResponse.Raw, Vital.GroupedWorkoutSwimmingStrokeResponse>;
|
9
|
+
export declare namespace GroupedWorkoutSwimmingStrokeResponse {
|
10
|
+
interface Raw {
|
11
|
+
groups: Record<string, GroupedWorkoutSwimmingStroke.Raw[]>;
|
12
|
+
next?: string | null;
|
13
|
+
next_cursor?: string | null;
|
14
|
+
}
|
15
|
+
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.GroupedWorkoutSwimmingStrokeResponse = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const GroupedWorkoutSwimmingStroke_1 = require("./GroupedWorkoutSwimmingStroke");
|
32
|
+
exports.GroupedWorkoutSwimmingStrokeResponse = core.serialization.object({
|
33
|
+
groups: core.serialization.record(core.serialization.string(), core.serialization.list(GroupedWorkoutSwimmingStroke_1.GroupedWorkoutSwimmingStroke)),
|
34
|
+
next: core.serialization.string().optional(),
|
35
|
+
nextCursor: core.serialization.property("next_cursor", core.serialization.string().optional()),
|
36
|
+
});
|
@@ -6,5 +6,5 @@ import * as Vital from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
7
7
|
export declare const TimeseriesResource: core.serialization.Schema<serializers.TimeseriesResource.Raw, Vital.TimeseriesResource>;
|
8
8
|
export declare namespace TimeseriesResource {
|
9
|
-
type Raw = "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";
|
9
|
+
type Raw = "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";
|
10
10
|
}
|
@@ -77,6 +77,9 @@ exports.TimeseriesResource = core.serialization.enum_([
|
|
77
77
|
"body_mass_index",
|
78
78
|
"lean_body_mass",
|
79
79
|
"waist_circumference",
|
80
|
+
"heart_rate_recovery_one_minute",
|
81
|
+
"workout_distance",
|
82
|
+
"workout_swimming_stroke",
|
80
83
|
"workout_duration",
|
81
84
|
"insulin_injection",
|
82
85
|
"carbohydrates",
|
@@ -91,6 +91,7 @@ export * from "./ClientFacingHandwashingSample";
|
|
91
91
|
export * from "./ClientFacingHeartRate";
|
92
92
|
export * from "./ClientFacingHeartRateAlertSampleType";
|
93
93
|
export * from "./ClientFacingHeartRateAlertSample";
|
94
|
+
export * from "./ClientFacingHeartRateRecoveryOneMinuteSample";
|
94
95
|
export * from "./ClientFacingHeartRateTimeseries";
|
95
96
|
export * from "./ClientFacingHypnogramTimeseries";
|
96
97
|
export * from "./ClientFacingIgeTimeseries";
|
@@ -169,9 +170,11 @@ export * from "./ClientFacingWalkInTestOrder";
|
|
169
170
|
export * from "./ClientFacingWaterTimeseries";
|
170
171
|
export * from "./ClientFacingWheelchairPushSample";
|
171
172
|
export * from "./ClientFacingWorkout";
|
173
|
+
export * from "./ClientFacingWorkoutDistanceSample";
|
172
174
|
export * from "./ClientFacingWorkoutDurationSampleIntensity";
|
173
175
|
export * from "./ClientFacingWorkoutDurationSample";
|
174
176
|
export * from "./ClientFacingWorkoutMap";
|
177
|
+
export * from "./ClientFacingWorkoutSwimmingStrokeSample";
|
175
178
|
export * from "./ClientSleepCycleResponse";
|
176
179
|
export * from "./ClientSleepResponse";
|
177
180
|
export * from "./ClientUserIdConflict";
|
@@ -367,6 +370,9 @@ export * from "./WorkoutV2InDb";
|
|
367
370
|
export * from "./ClientFacingSampleGroupingKeys";
|
368
371
|
export * from "./VitalCoreSchemasDbSchemasLabTestHealthInsurancePersonDetails";
|
369
372
|
export * from "./VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails";
|
373
|
+
export * from "./GroupedWorkoutSwimmingStrokeResponse";
|
374
|
+
export * from "./GroupedWorkoutDistanceResponse";
|
375
|
+
export * from "./GroupedHeartRateRecoveryOneMinuteResponse";
|
370
376
|
export * from "./GroupedWaistCircumferenceResponse";
|
371
377
|
export * from "./GroupedLeanBodyMassResponse";
|
372
378
|
export * from "./GroupedBodyMassIndexResponse";
|
@@ -415,6 +421,9 @@ export * from "./GroupedBodyFatResponse";
|
|
415
421
|
export * from "./GroupedBloodOxygenResponse";
|
416
422
|
export * from "./GroupedElectrocardiogramVoltageResponse";
|
417
423
|
export * from "./GroupedBloodPressureResponse";
|
424
|
+
export * from "./GroupedWorkoutSwimmingStroke";
|
425
|
+
export * from "./GroupedWorkoutDistance";
|
426
|
+
export * from "./GroupedHeartRateRecoveryOneMinute";
|
418
427
|
export * from "./GroupedWaistCircumference";
|
419
428
|
export * from "./GroupedLeanBodyMass";
|
420
429
|
export * from "./GroupedBodyMassIndex";
|
@@ -642,4 +651,13 @@ export * from "./ClientFacingLeanBodyMassHistoricalPullCompleted";
|
|
642
651
|
export * from "./ClientFacingWaistCircumferenceChangedEventType";
|
643
652
|
export * from "./ClientFacingWaistCircumferenceChanged";
|
644
653
|
export * from "./ClientFacingWaistCircumferenceHistoricalPullCompleted";
|
654
|
+
export * from "./ClientFacingHeartRateRecoveryOneMinuteChangedEventType";
|
655
|
+
export * from "./ClientFacingHeartRateRecoveryOneMinuteChanged";
|
656
|
+
export * from "./ClientFacingHeartRateRecoveryOneMinuteHistoricalPullCompleted";
|
657
|
+
export * from "./ClientFacingWorkoutDistanceChangedEventType";
|
658
|
+
export * from "./ClientFacingWorkoutDistanceChanged";
|
659
|
+
export * from "./ClientFacingWorkoutDistanceHistoricalPullCompleted";
|
660
|
+
export * from "./ClientFacingWorkoutSwimmingStrokeChangedEventType";
|
661
|
+
export * from "./ClientFacingWorkoutSwimmingStrokeChanged";
|
662
|
+
export * from "./ClientFacingWorkoutSwimmingStrokeHistoricalPullCompleted";
|
645
663
|
export * from "./Select";
|