@tryvital/vital-node 3.1.66 → 3.1.68
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/resources/activity/client/Client.js +2 -2
- package/api/resources/body/client/Client.js +2 -2
- package/api/resources/devices/client/Client.js +1 -1
- package/api/resources/insurance/client/Client.js +2 -2
- package/api/resources/introspect/client/Client.js +2 -2
- package/api/resources/labTests/client/Client.js +27 -27
- package/api/resources/link/client/Client.js +14 -14
- package/api/resources/meal/client/Client.js +1 -1
- package/api/resources/menstrualCycle/client/Client.js +1 -1
- package/api/resources/profile/client/Client.js +2 -2
- package/api/resources/providers/client/Client.js +1 -1
- package/api/resources/sleep/client/Client.js +4 -4
- package/api/resources/team/client/Client.js +7 -7
- package/api/resources/testkit/client/Client.js +2 -2
- package/api/resources/user/client/Client.js +16 -16
- package/api/resources/vitals/client/Client.js +56 -56
- package/api/resources/workouts/client/Client.js +3 -3
- package/api/types/ClientFacingSleep.d.ts +1 -0
- package/api/types/ClientFacingStream.d.ts +2 -0
- package/api/types/ClientFacingStreamTemperature.d.ts +7 -0
- package/api/types/ClientFacingStreamTemperature.js +5 -0
- package/api/types/SleepSummaryState.d.ts +8 -0
- package/api/types/SleepSummaryState.js +10 -0
- package/api/types/index.d.ts +2 -0
- package/api/types/index.js +2 -0
- package/dist/api/resources/activity/client/Client.js +2 -2
- package/dist/api/resources/body/client/Client.js +2 -2
- package/dist/api/resources/devices/client/Client.js +1 -1
- package/dist/api/resources/insurance/client/Client.js +2 -2
- package/dist/api/resources/introspect/client/Client.js +2 -2
- package/dist/api/resources/labTests/client/Client.js +27 -27
- package/dist/api/resources/link/client/Client.js +14 -14
- package/dist/api/resources/meal/client/Client.js +1 -1
- package/dist/api/resources/menstrualCycle/client/Client.js +1 -1
- package/dist/api/resources/profile/client/Client.js +2 -2
- package/dist/api/resources/providers/client/Client.js +1 -1
- package/dist/api/resources/sleep/client/Client.js +4 -4
- package/dist/api/resources/team/client/Client.js +7 -7
- package/dist/api/resources/testkit/client/Client.js +2 -2
- package/dist/api/resources/user/client/Client.js +16 -16
- package/dist/api/resources/vitals/client/Client.js +56 -56
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/api/types/ClientFacingSleep.d.ts +1 -0
- package/dist/api/types/ClientFacingStream.d.ts +2 -0
- package/dist/api/types/ClientFacingStreamTemperature.d.ts +7 -0
- package/dist/api/types/ClientFacingStreamTemperature.js +5 -0
- package/dist/api/types/SleepSummaryState.d.ts +8 -0
- package/dist/api/types/SleepSummaryState.js +10 -0
- package/dist/api/types/index.d.ts +2 -0
- package/dist/api/types/index.js +2 -0
- package/dist/serialization/types/ClientFacingSleep.d.ts +2 -0
- package/dist/serialization/types/ClientFacingSleep.js +2 -0
- package/dist/serialization/types/ClientFacingStream.d.ts +2 -0
- package/dist/serialization/types/ClientFacingStream.js +2 -0
- package/dist/serialization/types/ClientFacingStreamTemperature.d.ts +10 -0
- package/dist/serialization/types/ClientFacingStreamTemperature.js +34 -0
- package/dist/serialization/types/SleepSummaryState.d.ts +10 -0
- package/dist/serialization/types/SleepSummaryState.js +31 -0
- package/dist/serialization/types/index.d.ts +2 -0
- package/dist/serialization/types/index.js +2 -0
- package/package.json +1 -1
- package/serialization/types/ClientFacingSleep.d.ts +2 -0
- package/serialization/types/ClientFacingSleep.js +2 -0
- package/serialization/types/ClientFacingStream.d.ts +2 -0
- package/serialization/types/ClientFacingStream.js +2 -0
- package/serialization/types/ClientFacingStreamTemperature.d.ts +10 -0
- package/serialization/types/ClientFacingStreamTemperature.js +34 -0
- package/serialization/types/SleepSummaryState.d.ts +10 -0
- package/serialization/types/SleepSummaryState.js +31 -0
- package/serialization/types/index.d.ts +2 -0
- package/serialization/types/index.js +2 -0
@@ -22,4 +22,6 @@ export interface ClientFacingStream {
|
|
22
22
|
power?: Vital.ClientFacingStreamPower;
|
23
23
|
/** Resistance on bike */
|
24
24
|
resistance?: Vital.ClientFacingStreamResistance;
|
25
|
+
/** Temperature stream measured by device in Celsius */
|
26
|
+
temperature?: Vital.ClientFacingStreamTemperature;
|
25
27
|
}
|
@@ -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.SleepSummaryState = void 0;
|
7
|
+
exports.SleepSummaryState = {
|
8
|
+
Tentative: "tentative",
|
9
|
+
Confirmed: "confirmed",
|
10
|
+
};
|
@@ -103,6 +103,7 @@ export * from "./ClientFacingStreamLng";
|
|
103
103
|
export * from "./ClientFacingStreamDistance";
|
104
104
|
export * from "./ClientFacingStreamPower";
|
105
105
|
export * from "./ClientFacingStreamResistance";
|
106
|
+
export * from "./ClientFacingStreamTemperature";
|
106
107
|
export * from "./ClientFacingStream";
|
107
108
|
export * from "./ClientFacingStressLevelTimeseries";
|
108
109
|
export * from "./ClientFacingTeam";
|
@@ -234,6 +235,7 @@ export * from "./SingleProviderHistoricalPullResponse";
|
|
234
235
|
export * from "./SingleResourceStatistics";
|
235
236
|
export * from "./SingleUserHistoricalPullResponse";
|
236
237
|
export * from "./SingleUserResourceResponse";
|
238
|
+
export * from "./SleepSummaryState";
|
237
239
|
export * from "./SleepV2InDb";
|
238
240
|
export * from "./Source";
|
239
241
|
export * from "./SourceAuthType";
|
package/dist/api/types/index.js
CHANGED
@@ -119,6 +119,7 @@ __exportStar(require("./ClientFacingStreamLng"), exports);
|
|
119
119
|
__exportStar(require("./ClientFacingStreamDistance"), exports);
|
120
120
|
__exportStar(require("./ClientFacingStreamPower"), exports);
|
121
121
|
__exportStar(require("./ClientFacingStreamResistance"), exports);
|
122
|
+
__exportStar(require("./ClientFacingStreamTemperature"), exports);
|
122
123
|
__exportStar(require("./ClientFacingStream"), exports);
|
123
124
|
__exportStar(require("./ClientFacingStressLevelTimeseries"), exports);
|
124
125
|
__exportStar(require("./ClientFacingTeam"), exports);
|
@@ -250,6 +251,7 @@ __exportStar(require("./SingleProviderHistoricalPullResponse"), exports);
|
|
250
251
|
__exportStar(require("./SingleResourceStatistics"), exports);
|
251
252
|
__exportStar(require("./SingleUserHistoricalPullResponse"), exports);
|
252
253
|
__exportStar(require("./SingleUserResourceResponse"), exports);
|
254
|
+
__exportStar(require("./SleepSummaryState"), exports);
|
253
255
|
__exportStar(require("./SleepV2InDb"), exports);
|
254
256
|
__exportStar(require("./Source"), exports);
|
255
257
|
__exportStar(require("./SourceAuthType"), exports);
|
@@ -4,6 +4,7 @@
|
|
4
4
|
import * as serializers from "..";
|
5
5
|
import * as Vital from "../../api";
|
6
6
|
import * as core from "../../core";
|
7
|
+
import { SleepSummaryState } from "./SleepSummaryState";
|
7
8
|
import { ClientFacingSource } from "./ClientFacingSource";
|
8
9
|
import { ClientFacingSleepStream } from "./ClientFacingSleepStream";
|
9
10
|
export declare const ClientFacingSleep: core.serialization.ObjectSchema<serializers.ClientFacingSleep.Raw, Vital.ClientFacingSleep>;
|
@@ -30,6 +31,7 @@ export declare namespace ClientFacingSleep {
|
|
30
31
|
temperature_delta?: number | null;
|
31
32
|
skin_temperature?: number | null;
|
32
33
|
hr_dip?: number | null;
|
34
|
+
state?: SleepSummaryState.Raw | null;
|
33
35
|
average_hrv?: number | null;
|
34
36
|
respiratory_rate?: number | null;
|
35
37
|
source: ClientFacingSource.Raw;
|
@@ -28,6 +28,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
29
|
exports.ClientFacingSleep = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
|
+
const SleepSummaryState_1 = require("./SleepSummaryState");
|
31
32
|
const ClientFacingSource_1 = require("./ClientFacingSource");
|
32
33
|
const ClientFacingSleepStream_1 = require("./ClientFacingSleepStream");
|
33
34
|
exports.ClientFacingSleep = core.serialization.object({
|
@@ -52,6 +53,7 @@ exports.ClientFacingSleep = core.serialization.object({
|
|
52
53
|
temperatureDelta: core.serialization.property("temperature_delta", core.serialization.number().optional()),
|
53
54
|
skinTemperature: core.serialization.property("skin_temperature", core.serialization.number().optional()),
|
54
55
|
hrDip: core.serialization.property("hr_dip", core.serialization.number().optional()),
|
56
|
+
state: SleepSummaryState_1.SleepSummaryState.optional(),
|
55
57
|
averageHrv: core.serialization.property("average_hrv", core.serialization.number().optional()),
|
56
58
|
respiratoryRate: core.serialization.property("respiratory_rate", core.serialization.number().optional()),
|
57
59
|
source: ClientFacingSource_1.ClientFacingSource,
|
@@ -13,6 +13,7 @@ import { ClientFacingStreamLng } from "./ClientFacingStreamLng";
|
|
13
13
|
import { ClientFacingStreamDistance } from "./ClientFacingStreamDistance";
|
14
14
|
import { ClientFacingStreamPower } from "./ClientFacingStreamPower";
|
15
15
|
import { ClientFacingStreamResistance } from "./ClientFacingStreamResistance";
|
16
|
+
import { ClientFacingStreamTemperature } from "./ClientFacingStreamTemperature";
|
16
17
|
export declare const ClientFacingStream: core.serialization.ObjectSchema<serializers.ClientFacingStream.Raw, Vital.ClientFacingStream>;
|
17
18
|
export declare namespace ClientFacingStream {
|
18
19
|
interface Raw {
|
@@ -26,5 +27,6 @@ export declare namespace ClientFacingStream {
|
|
26
27
|
distance?: ClientFacingStreamDistance.Raw | null;
|
27
28
|
power?: ClientFacingStreamPower.Raw | null;
|
28
29
|
resistance?: ClientFacingStreamResistance.Raw | null;
|
30
|
+
temperature?: ClientFacingStreamTemperature.Raw | null;
|
29
31
|
}
|
30
32
|
}
|
@@ -37,6 +37,7 @@ const ClientFacingStreamLng_1 = require("./ClientFacingStreamLng");
|
|
37
37
|
const ClientFacingStreamDistance_1 = require("./ClientFacingStreamDistance");
|
38
38
|
const ClientFacingStreamPower_1 = require("./ClientFacingStreamPower");
|
39
39
|
const ClientFacingStreamResistance_1 = require("./ClientFacingStreamResistance");
|
40
|
+
const ClientFacingStreamTemperature_1 = require("./ClientFacingStreamTemperature");
|
40
41
|
exports.ClientFacingStream = core.serialization.object({
|
41
42
|
cadence: ClientFacingStreamCadence_1.ClientFacingStreamCadence.optional(),
|
42
43
|
time: core.serialization.list(core.serialization.number()).optional(),
|
@@ -48,4 +49,5 @@ exports.ClientFacingStream = core.serialization.object({
|
|
48
49
|
distance: ClientFacingStreamDistance_1.ClientFacingStreamDistance.optional(),
|
49
50
|
power: ClientFacingStreamPower_1.ClientFacingStreamPower.optional(),
|
50
51
|
resistance: ClientFacingStreamResistance_1.ClientFacingStreamResistance.optional(),
|
52
|
+
temperature: ClientFacingStreamTemperature_1.ClientFacingStreamTemperature.optional(),
|
51
53
|
});
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "..";
|
5
|
+
import * as Vital from "../../api";
|
6
|
+
import * as core from "../../core";
|
7
|
+
export declare const ClientFacingStreamTemperature: core.serialization.Schema<serializers.ClientFacingStreamTemperature.Raw, Vital.ClientFacingStreamTemperature>;
|
8
|
+
export declare namespace ClientFacingStreamTemperature {
|
9
|
+
type Raw = (number | null | undefined)[] | number[];
|
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.ClientFacingStreamTemperature = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.ClientFacingStreamTemperature = core.serialization.undiscriminatedUnion([
|
32
|
+
core.serialization.list(core.serialization.number().optional()),
|
33
|
+
core.serialization.list(core.serialization.number()),
|
34
|
+
]);
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "..";
|
5
|
+
import * as Vital from "../../api";
|
6
|
+
import * as core from "../../core";
|
7
|
+
export declare const SleepSummaryState: core.serialization.Schema<serializers.SleepSummaryState.Raw, Vital.SleepSummaryState>;
|
8
|
+
export declare namespace SleepSummaryState {
|
9
|
+
type Raw = "tentative" | "confirmed";
|
10
|
+
}
|
@@ -0,0 +1,31 @@
|
|
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.SleepSummaryState = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.SleepSummaryState = core.serialization.enum_(["tentative", "confirmed"]);
|
@@ -103,6 +103,7 @@ export * from "./ClientFacingStreamLng";
|
|
103
103
|
export * from "./ClientFacingStreamDistance";
|
104
104
|
export * from "./ClientFacingStreamPower";
|
105
105
|
export * from "./ClientFacingStreamResistance";
|
106
|
+
export * from "./ClientFacingStreamTemperature";
|
106
107
|
export * from "./ClientFacingStream";
|
107
108
|
export * from "./ClientFacingStressLevelTimeseries";
|
108
109
|
export * from "./ClientFacingTeam";
|
@@ -234,6 +235,7 @@ export * from "./SingleProviderHistoricalPullResponse";
|
|
234
235
|
export * from "./SingleResourceStatistics";
|
235
236
|
export * from "./SingleUserHistoricalPullResponse";
|
236
237
|
export * from "./SingleUserResourceResponse";
|
238
|
+
export * from "./SleepSummaryState";
|
237
239
|
export * from "./SleepV2InDb";
|
238
240
|
export * from "./Source";
|
239
241
|
export * from "./SourceAuthType";
|
@@ -119,6 +119,7 @@ __exportStar(require("./ClientFacingStreamLng"), exports);
|
|
119
119
|
__exportStar(require("./ClientFacingStreamDistance"), exports);
|
120
120
|
__exportStar(require("./ClientFacingStreamPower"), exports);
|
121
121
|
__exportStar(require("./ClientFacingStreamResistance"), exports);
|
122
|
+
__exportStar(require("./ClientFacingStreamTemperature"), exports);
|
122
123
|
__exportStar(require("./ClientFacingStream"), exports);
|
123
124
|
__exportStar(require("./ClientFacingStressLevelTimeseries"), exports);
|
124
125
|
__exportStar(require("./ClientFacingTeam"), exports);
|
@@ -250,6 +251,7 @@ __exportStar(require("./SingleProviderHistoricalPullResponse"), exports);
|
|
250
251
|
__exportStar(require("./SingleResourceStatistics"), exports);
|
251
252
|
__exportStar(require("./SingleUserHistoricalPullResponse"), exports);
|
252
253
|
__exportStar(require("./SingleUserResourceResponse"), exports);
|
254
|
+
__exportStar(require("./SleepSummaryState"), exports);
|
253
255
|
__exportStar(require("./SleepV2InDb"), exports);
|
254
256
|
__exportStar(require("./Source"), exports);
|
255
257
|
__exportStar(require("./SourceAuthType"), exports);
|
package/package.json
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
import * as serializers from "..";
|
5
5
|
import * as Vital from "../../api";
|
6
6
|
import * as core from "../../core";
|
7
|
+
import { SleepSummaryState } from "./SleepSummaryState";
|
7
8
|
import { ClientFacingSource } from "./ClientFacingSource";
|
8
9
|
import { ClientFacingSleepStream } from "./ClientFacingSleepStream";
|
9
10
|
export declare const ClientFacingSleep: core.serialization.ObjectSchema<serializers.ClientFacingSleep.Raw, Vital.ClientFacingSleep>;
|
@@ -30,6 +31,7 @@ export declare namespace ClientFacingSleep {
|
|
30
31
|
temperature_delta?: number | null;
|
31
32
|
skin_temperature?: number | null;
|
32
33
|
hr_dip?: number | null;
|
34
|
+
state?: SleepSummaryState.Raw | null;
|
33
35
|
average_hrv?: number | null;
|
34
36
|
respiratory_rate?: number | null;
|
35
37
|
source: ClientFacingSource.Raw;
|
@@ -28,6 +28,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
29
|
exports.ClientFacingSleep = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
|
+
const SleepSummaryState_1 = require("./SleepSummaryState");
|
31
32
|
const ClientFacingSource_1 = require("./ClientFacingSource");
|
32
33
|
const ClientFacingSleepStream_1 = require("./ClientFacingSleepStream");
|
33
34
|
exports.ClientFacingSleep = core.serialization.object({
|
@@ -52,6 +53,7 @@ exports.ClientFacingSleep = core.serialization.object({
|
|
52
53
|
temperatureDelta: core.serialization.property("temperature_delta", core.serialization.number().optional()),
|
53
54
|
skinTemperature: core.serialization.property("skin_temperature", core.serialization.number().optional()),
|
54
55
|
hrDip: core.serialization.property("hr_dip", core.serialization.number().optional()),
|
56
|
+
state: SleepSummaryState_1.SleepSummaryState.optional(),
|
55
57
|
averageHrv: core.serialization.property("average_hrv", core.serialization.number().optional()),
|
56
58
|
respiratoryRate: core.serialization.property("respiratory_rate", core.serialization.number().optional()),
|
57
59
|
source: ClientFacingSource_1.ClientFacingSource,
|
@@ -13,6 +13,7 @@ import { ClientFacingStreamLng } from "./ClientFacingStreamLng";
|
|
13
13
|
import { ClientFacingStreamDistance } from "./ClientFacingStreamDistance";
|
14
14
|
import { ClientFacingStreamPower } from "./ClientFacingStreamPower";
|
15
15
|
import { ClientFacingStreamResistance } from "./ClientFacingStreamResistance";
|
16
|
+
import { ClientFacingStreamTemperature } from "./ClientFacingStreamTemperature";
|
16
17
|
export declare const ClientFacingStream: core.serialization.ObjectSchema<serializers.ClientFacingStream.Raw, Vital.ClientFacingStream>;
|
17
18
|
export declare namespace ClientFacingStream {
|
18
19
|
interface Raw {
|
@@ -26,5 +27,6 @@ export declare namespace ClientFacingStream {
|
|
26
27
|
distance?: ClientFacingStreamDistance.Raw | null;
|
27
28
|
power?: ClientFacingStreamPower.Raw | null;
|
28
29
|
resistance?: ClientFacingStreamResistance.Raw | null;
|
30
|
+
temperature?: ClientFacingStreamTemperature.Raw | null;
|
29
31
|
}
|
30
32
|
}
|
@@ -37,6 +37,7 @@ const ClientFacingStreamLng_1 = require("./ClientFacingStreamLng");
|
|
37
37
|
const ClientFacingStreamDistance_1 = require("./ClientFacingStreamDistance");
|
38
38
|
const ClientFacingStreamPower_1 = require("./ClientFacingStreamPower");
|
39
39
|
const ClientFacingStreamResistance_1 = require("./ClientFacingStreamResistance");
|
40
|
+
const ClientFacingStreamTemperature_1 = require("./ClientFacingStreamTemperature");
|
40
41
|
exports.ClientFacingStream = core.serialization.object({
|
41
42
|
cadence: ClientFacingStreamCadence_1.ClientFacingStreamCadence.optional(),
|
42
43
|
time: core.serialization.list(core.serialization.number()).optional(),
|
@@ -48,4 +49,5 @@ exports.ClientFacingStream = core.serialization.object({
|
|
48
49
|
distance: ClientFacingStreamDistance_1.ClientFacingStreamDistance.optional(),
|
49
50
|
power: ClientFacingStreamPower_1.ClientFacingStreamPower.optional(),
|
50
51
|
resistance: ClientFacingStreamResistance_1.ClientFacingStreamResistance.optional(),
|
52
|
+
temperature: ClientFacingStreamTemperature_1.ClientFacingStreamTemperature.optional(),
|
51
53
|
});
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "..";
|
5
|
+
import * as Vital from "../../api";
|
6
|
+
import * as core from "../../core";
|
7
|
+
export declare const ClientFacingStreamTemperature: core.serialization.Schema<serializers.ClientFacingStreamTemperature.Raw, Vital.ClientFacingStreamTemperature>;
|
8
|
+
export declare namespace ClientFacingStreamTemperature {
|
9
|
+
type Raw = (number | null | undefined)[] | number[];
|
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.ClientFacingStreamTemperature = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.ClientFacingStreamTemperature = core.serialization.undiscriminatedUnion([
|
32
|
+
core.serialization.list(core.serialization.number().optional()),
|
33
|
+
core.serialization.list(core.serialization.number()),
|
34
|
+
]);
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "..";
|
5
|
+
import * as Vital from "../../api";
|
6
|
+
import * as core from "../../core";
|
7
|
+
export declare const SleepSummaryState: core.serialization.Schema<serializers.SleepSummaryState.Raw, Vital.SleepSummaryState>;
|
8
|
+
export declare namespace SleepSummaryState {
|
9
|
+
type Raw = "tentative" | "confirmed";
|
10
|
+
}
|
@@ -0,0 +1,31 @@
|
|
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.SleepSummaryState = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.SleepSummaryState = core.serialization.enum_(["tentative", "confirmed"]);
|
@@ -103,6 +103,7 @@ export * from "./ClientFacingStreamLng";
|
|
103
103
|
export * from "./ClientFacingStreamDistance";
|
104
104
|
export * from "./ClientFacingStreamPower";
|
105
105
|
export * from "./ClientFacingStreamResistance";
|
106
|
+
export * from "./ClientFacingStreamTemperature";
|
106
107
|
export * from "./ClientFacingStream";
|
107
108
|
export * from "./ClientFacingStressLevelTimeseries";
|
108
109
|
export * from "./ClientFacingTeam";
|
@@ -234,6 +235,7 @@ export * from "./SingleProviderHistoricalPullResponse";
|
|
234
235
|
export * from "./SingleResourceStatistics";
|
235
236
|
export * from "./SingleUserHistoricalPullResponse";
|
236
237
|
export * from "./SingleUserResourceResponse";
|
238
|
+
export * from "./SleepSummaryState";
|
237
239
|
export * from "./SleepV2InDb";
|
238
240
|
export * from "./Source";
|
239
241
|
export * from "./SourceAuthType";
|
@@ -119,6 +119,7 @@ __exportStar(require("./ClientFacingStreamLng"), exports);
|
|
119
119
|
__exportStar(require("./ClientFacingStreamDistance"), exports);
|
120
120
|
__exportStar(require("./ClientFacingStreamPower"), exports);
|
121
121
|
__exportStar(require("./ClientFacingStreamResistance"), exports);
|
122
|
+
__exportStar(require("./ClientFacingStreamTemperature"), exports);
|
122
123
|
__exportStar(require("./ClientFacingStream"), exports);
|
123
124
|
__exportStar(require("./ClientFacingStressLevelTimeseries"), exports);
|
124
125
|
__exportStar(require("./ClientFacingTeam"), exports);
|
@@ -250,6 +251,7 @@ __exportStar(require("./SingleProviderHistoricalPullResponse"), exports);
|
|
250
251
|
__exportStar(require("./SingleResourceStatistics"), exports);
|
251
252
|
__exportStar(require("./SingleUserHistoricalPullResponse"), exports);
|
252
253
|
__exportStar(require("./SingleUserResourceResponse"), exports);
|
254
|
+
__exportStar(require("./SleepSummaryState"), exports);
|
253
255
|
__exportStar(require("./SleepV2InDb"), exports);
|
254
256
|
__exportStar(require("./Source"), exports);
|
255
257
|
__exportStar(require("./SourceAuthType"), exports);
|