@tryvital/vital-node 3.1.121 → 3.1.123
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 +1 -1
- 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 +34 -34
- 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/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.js +56 -56
- package/api/resources/workouts/client/Client.js +3 -3
- package/api/types/BodyColumnExprBody.d.ts +2 -1
- package/api/types/BodyColumnExprBody.js +1 -0
- package/api/types/ClientFacingBody.d.ts +2 -0
- package/api/types/{SleepCycle.d.ts → ClientFacingSleepCycle.d.ts} +5 -3
- package/{dist/api/types/SleepCycleSourceProvider.d.ts → api/types/ClientFacingSleepCycleSourceProvider.d.ts} +1 -1
- package/{dist/api/types/SleepCycleSourceType.d.ts → api/types/ClientFacingSleepCycleSourceType.d.ts} +2 -2
- package/{dist/api/types/SleepCycleSourceType.js → api/types/ClientFacingSleepCycleSourceType.js} +2 -2
- package/api/types/ClientSleepCycleResponse.d.ts +1 -1
- package/api/types/HttpValidationError.d.ts +1 -2
- package/api/types/Providers.d.ts +2 -1
- package/api/types/Providers.js +1 -0
- package/api/types/index.d.ts +3 -3
- package/api/types/index.js +3 -3
- package/dist/api/resources/activity/client/Client.js +2 -2
- package/dist/api/resources/aggregate/client/Client.js +1 -1
- 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 +34 -34
- 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/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.js +56 -56
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/api/types/BodyColumnExprBody.d.ts +2 -1
- package/dist/api/types/BodyColumnExprBody.js +1 -0
- package/dist/api/types/ClientFacingBody.d.ts +2 -0
- package/dist/api/types/{SleepCycle.d.ts → ClientFacingSleepCycle.d.ts} +5 -3
- package/{api/types/SleepCycleSourceProvider.d.ts → dist/api/types/ClientFacingSleepCycleSourceProvider.d.ts} +1 -1
- package/{api/types/SleepCycleSourceType.d.ts → dist/api/types/ClientFacingSleepCycleSourceType.d.ts} +2 -2
- package/{api/types/SleepCycleSourceType.js → dist/api/types/ClientFacingSleepCycleSourceType.js} +2 -2
- package/dist/api/types/ClientSleepCycleResponse.d.ts +1 -1
- package/dist/api/types/HttpValidationError.d.ts +1 -2
- package/dist/api/types/Providers.d.ts +2 -1
- package/dist/api/types/Providers.js +1 -0
- package/dist/api/types/index.d.ts +3 -3
- package/dist/api/types/index.js +3 -3
- package/dist/serialization/types/BodyColumnExprBody.d.ts +1 -1
- package/dist/serialization/types/BodyColumnExprBody.js +1 -0
- package/dist/serialization/types/ClientFacingBody.d.ts +1 -0
- package/dist/serialization/types/ClientFacingBody.js +1 -0
- package/dist/serialization/types/ClientFacingSleepCycle.d.ts +28 -0
- package/dist/serialization/types/{SleepCycle.js → ClientFacingSleepCycle.js} +9 -6
- package/{serialization/types/SleepCycleSourceProvider.d.ts → dist/serialization/types/ClientFacingSleepCycleSourceProvider.d.ts} +2 -2
- package/dist/serialization/types/{SleepCycleSourceProvider.js → ClientFacingSleepCycleSourceProvider.js} +2 -2
- package/dist/serialization/types/{SleepCycleSourceType.d.ts → ClientFacingSleepCycleSourceType.d.ts} +2 -2
- package/{serialization/types/SleepCycleSourceType.js → dist/serialization/types/ClientFacingSleepCycleSourceType.js} +2 -2
- package/dist/serialization/types/ClientSleepCycleResponse.d.ts +2 -2
- package/dist/serialization/types/ClientSleepCycleResponse.js +2 -2
- package/dist/serialization/types/HttpValidationError.d.ts +1 -2
- package/dist/serialization/types/HttpValidationError.js +1 -2
- package/dist/serialization/types/Providers.d.ts +1 -1
- package/dist/serialization/types/Providers.js +1 -0
- package/dist/serialization/types/index.d.ts +3 -3
- package/dist/serialization/types/index.js +3 -3
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/serialization/types/BodyColumnExprBody.d.ts +1 -1
- package/serialization/types/BodyColumnExprBody.js +1 -0
- package/serialization/types/ClientFacingBody.d.ts +1 -0
- package/serialization/types/ClientFacingBody.js +1 -0
- package/serialization/types/ClientFacingSleepCycle.d.ts +28 -0
- package/serialization/types/{SleepCycle.js → ClientFacingSleepCycle.js} +9 -6
- package/{dist/serialization/types/SleepCycleSourceProvider.d.ts → serialization/types/ClientFacingSleepCycleSourceProvider.d.ts} +2 -2
- package/serialization/types/{SleepCycleSourceProvider.js → ClientFacingSleepCycleSourceProvider.js} +2 -2
- package/serialization/types/{SleepCycleSourceType.d.ts → ClientFacingSleepCycleSourceType.d.ts} +2 -2
- package/{dist/serialization/types/SleepCycleSourceType.js → serialization/types/ClientFacingSleepCycleSourceType.js} +2 -2
- package/serialization/types/ClientSleepCycleResponse.d.ts +2 -2
- package/serialization/types/ClientSleepCycleResponse.js +2 -2
- package/serialization/types/HttpValidationError.d.ts +1 -2
- package/serialization/types/HttpValidationError.js +1 -2
- package/serialization/types/Providers.d.ts +1 -1
- package/serialization/types/Providers.js +1 -0
- package/serialization/types/index.d.ts +3 -3
- package/serialization/types/index.js +3 -3
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/dist/serialization/types/SleepCycle.d.ts +0 -25
- package/serialization/types/SleepCycle.d.ts +0 -25
- /package/api/types/{SleepCycle.js → ClientFacingSleepCycle.js} +0 -0
- /package/api/types/{SleepCycleSourceProvider.js → ClientFacingSleepCycleSourceProvider.js} +0 -0
- /package/dist/api/types/{SleepCycle.js → ClientFacingSleepCycle.js} +0 -0
- /package/dist/api/types/{SleepCycleSourceProvider.js → ClientFacingSleepCycleSourceProvider.js} +0 -0
@@ -28,7 +28,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
29
|
exports.ClientSleepCycleResponse = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
|
-
const
|
31
|
+
const ClientFacingSleepCycle_1 = require("./ClientFacingSleepCycle");
|
32
32
|
exports.ClientSleepCycleResponse = core.serialization.object({
|
33
|
-
sleepCycle: core.serialization.property("sleep_cycle", core.serialization.list(
|
33
|
+
sleepCycle: core.serialization.property("sleep_cycle", core.serialization.list(ClientFacingSleepCycle_1.ClientFacingSleepCycle)),
|
34
34
|
});
|
@@ -4,10 +4,9 @@
|
|
4
4
|
import * as serializers from "../index";
|
5
5
|
import * as Vital from "../../api/index";
|
6
6
|
import * as core from "../../core";
|
7
|
-
import { ValidationError } from "./ValidationError";
|
8
7
|
export declare const HttpValidationError: core.serialization.ObjectSchema<serializers.HttpValidationError.Raw, Vital.HttpValidationError>;
|
9
8
|
export declare namespace HttpValidationError {
|
10
9
|
interface Raw {
|
11
|
-
detail?:
|
10
|
+
detail?: unknown | null;
|
12
11
|
}
|
13
12
|
}
|
@@ -28,7 +28,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
29
|
exports.HttpValidationError = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
|
-
const ValidationError_1 = require("./ValidationError");
|
32
31
|
exports.HttpValidationError = core.serialization.object({
|
33
|
-
detail: core.serialization.
|
32
|
+
detail: core.serialization.unknown().optional(),
|
34
33
|
});
|
@@ -6,5 +6,5 @@ import * as Vital from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
7
7
|
export declare const Providers: core.serialization.Schema<serializers.Providers.Raw, Vital.Providers>;
|
8
8
|
export declare namespace Providers {
|
9
|
-
type Raw = "oura" | "fitbit" | "garmin" | "whoop" | "strava" | "renpho" | "peloton" | "wahoo" | "zwift" | "freestyle_libre" | "abbott_libreview" | "freestyle_libre_ble" | "eight_sleep" | "withings" | "apple_health_kit" | "manual" | "ihealth" | "google_fit" | "beurer_api" | "beurer_ble" | "omron" | "omron_ble" | "onetouch_ble" | "accuchek_ble" | "contour_ble" | "dexcom" | "dexcom_v3" | "hammerhead" | "my_fitness_pal" | "health_connect" | "polar" | "cronometer" | "kardia" | "whoop_v2" | "ultrahuman" | "my_fitness_pal_v2";
|
9
|
+
type Raw = "oura" | "fitbit" | "garmin" | "whoop" | "strava" | "renpho" | "peloton" | "wahoo" | "zwift" | "freestyle_libre" | "abbott_libreview" | "freestyle_libre_ble" | "eight_sleep" | "withings" | "apple_health_kit" | "manual" | "ihealth" | "google_fit" | "beurer_api" | "beurer_ble" | "omron" | "omron_ble" | "onetouch_ble" | "accuchek_ble" | "contour_ble" | "dexcom" | "dexcom_v3" | "hammerhead" | "my_fitness_pal" | "health_connect" | "polar" | "cronometer" | "kardia" | "whoop_v2" | "ultrahuman" | "my_fitness_pal_v2" | "map_my_fitness";
|
10
10
|
}
|
@@ -102,6 +102,9 @@ export * from "./ClientFacingRespiratoryRateTimeseries";
|
|
102
102
|
export * from "./ClientFacingResult";
|
103
103
|
export * from "./ClientFacingShipment";
|
104
104
|
export * from "./ClientFacingSleep";
|
105
|
+
export * from "./ClientFacingSleepCycleSourceProvider";
|
106
|
+
export * from "./ClientFacingSleepCycleSourceType";
|
107
|
+
export * from "./ClientFacingSleepCycle";
|
105
108
|
export * from "./ClientFacingSleepStream";
|
106
109
|
export * from "./ClientFacingSource";
|
107
110
|
export * from "./ClientFacingSport";
|
@@ -275,9 +278,6 @@ export * from "./SingleUserHistoricalPullResponse";
|
|
275
278
|
export * from "./SingleUserResourceResponse";
|
276
279
|
export * from "./SleepColumnExprSleep";
|
277
280
|
export * from "./SleepColumnExpr";
|
278
|
-
export * from "./SleepCycleSourceProvider";
|
279
|
-
export * from "./SleepCycleSourceType";
|
280
|
-
export * from "./SleepCycle";
|
281
281
|
export * from "./SleepScoreValueMacroExpr";
|
282
282
|
export * from "./SleepSummaryState";
|
283
283
|
export * from "./SleepType";
|
@@ -118,6 +118,9 @@ __exportStar(require("./ClientFacingRespiratoryRateTimeseries"), exports);
|
|
118
118
|
__exportStar(require("./ClientFacingResult"), exports);
|
119
119
|
__exportStar(require("./ClientFacingShipment"), exports);
|
120
120
|
__exportStar(require("./ClientFacingSleep"), exports);
|
121
|
+
__exportStar(require("./ClientFacingSleepCycleSourceProvider"), exports);
|
122
|
+
__exportStar(require("./ClientFacingSleepCycleSourceType"), exports);
|
123
|
+
__exportStar(require("./ClientFacingSleepCycle"), exports);
|
121
124
|
__exportStar(require("./ClientFacingSleepStream"), exports);
|
122
125
|
__exportStar(require("./ClientFacingSource"), exports);
|
123
126
|
__exportStar(require("./ClientFacingSport"), exports);
|
@@ -291,9 +294,6 @@ __exportStar(require("./SingleUserHistoricalPullResponse"), exports);
|
|
291
294
|
__exportStar(require("./SingleUserResourceResponse"), exports);
|
292
295
|
__exportStar(require("./SleepColumnExprSleep"), exports);
|
293
296
|
__exportStar(require("./SleepColumnExpr"), exports);
|
294
|
-
__exportStar(require("./SleepCycleSourceProvider"), exports);
|
295
|
-
__exportStar(require("./SleepCycleSourceType"), exports);
|
296
|
-
__exportStar(require("./SleepCycle"), exports);
|
297
297
|
__exportStar(require("./SleepScoreValueMacroExpr"), exports);
|
298
298
|
__exportStar(require("./SleepSummaryState"), exports);
|
299
299
|
__exportStar(require("./SleepType"), exports);
|
package/version.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export declare const SDK_VERSION = "3.1.
|
1
|
+
export declare const SDK_VERSION = "3.1.123";
|
package/version.js
CHANGED
@@ -1,25 +0,0 @@
|
|
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 { VitalSleepStage } from "./VitalSleepStage";
|
8
|
-
import { SleepCycleSourceProvider } from "./SleepCycleSourceProvider";
|
9
|
-
import { SleepCycleSourceType } from "./SleepCycleSourceType";
|
10
|
-
export declare const SleepCycle: core.serialization.ObjectSchema<serializers.SleepCycle.Raw, Vital.SleepCycle>;
|
11
|
-
export declare namespace SleepCycle {
|
12
|
-
interface Raw {
|
13
|
-
id: string;
|
14
|
-
sleep_id: string;
|
15
|
-
session_start: string;
|
16
|
-
session_end: string;
|
17
|
-
stage_start_offset_second: number[];
|
18
|
-
stage_end_offset_second: number[];
|
19
|
-
stage_type: VitalSleepStage.Raw[];
|
20
|
-
time_zone?: string | null;
|
21
|
-
source_provider: SleepCycleSourceProvider.Raw;
|
22
|
-
source_type: SleepCycleSourceType.Raw;
|
23
|
-
source_app_id?: string | null;
|
24
|
-
}
|
25
|
-
}
|
@@ -1,25 +0,0 @@
|
|
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 { VitalSleepStage } from "./VitalSleepStage";
|
8
|
-
import { SleepCycleSourceProvider } from "./SleepCycleSourceProvider";
|
9
|
-
import { SleepCycleSourceType } from "./SleepCycleSourceType";
|
10
|
-
export declare const SleepCycle: core.serialization.ObjectSchema<serializers.SleepCycle.Raw, Vital.SleepCycle>;
|
11
|
-
export declare namespace SleepCycle {
|
12
|
-
interface Raw {
|
13
|
-
id: string;
|
14
|
-
sleep_id: string;
|
15
|
-
session_start: string;
|
16
|
-
session_end: string;
|
17
|
-
stage_start_offset_second: number[];
|
18
|
-
stage_end_offset_second: number[];
|
19
|
-
stage_type: VitalSleepStage.Raw[];
|
20
|
-
time_zone?: string | null;
|
21
|
-
source_provider: SleepCycleSourceProvider.Raw;
|
22
|
-
source_type: SleepCycleSourceType.Raw;
|
23
|
-
source_app_id?: string | null;
|
24
|
-
}
|
25
|
-
}
|
File without changes
|
File without changes
|
File without changes
|
/package/dist/api/types/{SleepCycleSourceProvider.js → ClientFacingSleepCycleSourceProvider.js}
RENAMED
File without changes
|