@tryvital/vital-node 3.1.118 → 3.1.120
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 +5 -2
- package/api/types/BodyColumnExprBody.js +4 -1
- package/api/types/ClientFacingBody.d.ts +7 -1
- 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 +5 -2
- package/dist/api/types/BodyColumnExprBody.js +4 -1
- package/dist/api/types/ClientFacingBody.d.ts +7 -1
- package/dist/serialization/types/BodyColumnExprBody.d.ts +1 -1
- package/dist/serialization/types/BodyColumnExprBody.js +4 -1
- package/dist/serialization/types/ClientFacingBody.d.ts +3 -0
- package/dist/serialization/types/ClientFacingBody.js +3 -0
- 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 +4 -1
- package/serialization/types/ClientFacingBody.d.ts +3 -0
- package/serialization/types/ClientFacingBody.js +3 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
@@ -1,11 +1,14 @@
|
|
1
1
|
/**
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
3
3
|
*/
|
4
|
-
export declare type BodyColumnExprBody = "measured_at" | "weight_kilogram" | "
|
4
|
+
export declare type BodyColumnExprBody = "measured_at" | "weight_kilogram" | "fat_mass_percentage" | "water_percentage" | "muscle_mass_percentage" | "visceral_fat_index" | "source_type" | "source_provider" | "source_app_id";
|
5
5
|
export declare const BodyColumnExprBody: {
|
6
6
|
readonly MeasuredAt: "measured_at";
|
7
7
|
readonly WeightKilogram: "weight_kilogram";
|
8
|
-
readonly
|
8
|
+
readonly FatMassPercentage: "fat_mass_percentage";
|
9
|
+
readonly WaterPercentage: "water_percentage";
|
10
|
+
readonly MuscleMassPercentage: "muscle_mass_percentage";
|
11
|
+
readonly VisceralFatIndex: "visceral_fat_index";
|
9
12
|
readonly SourceType: "source_type";
|
10
13
|
readonly SourceProvider: "source_provider";
|
11
14
|
readonly SourceAppId: "source_app_id";
|
@@ -7,7 +7,10 @@ exports.BodyColumnExprBody = void 0;
|
|
7
7
|
exports.BodyColumnExprBody = {
|
8
8
|
MeasuredAt: "measured_at",
|
9
9
|
WeightKilogram: "weight_kilogram",
|
10
|
-
|
10
|
+
FatMassPercentage: "fat_mass_percentage",
|
11
|
+
WaterPercentage: "water_percentage",
|
12
|
+
MuscleMassPercentage: "muscle_mass_percentage",
|
13
|
+
VisceralFatIndex: "visceral_fat_index",
|
11
14
|
SourceType: "source_type",
|
12
15
|
SourceProvider: "source_provider",
|
13
16
|
SourceAppId: "source_app_id",
|
@@ -12,7 +12,13 @@ export interface ClientFacingBody {
|
|
12
12
|
calendarDate: string;
|
13
13
|
/** Weight in kg::kg */
|
14
14
|
weight?: number;
|
15
|
-
/**
|
15
|
+
/** Total body fat percentage::perc */
|
16
16
|
fat?: number;
|
17
|
+
/** Water percentage in the body::perc */
|
18
|
+
waterPercentage?: number;
|
19
|
+
/** Muscle mass percentage in the body::perc */
|
20
|
+
muscleMassPercentage?: number;
|
21
|
+
/** Visceral fat index::scalar */
|
22
|
+
visceralFatIndex?: number;
|
17
23
|
source: Vital.ClientFacingSource;
|
18
24
|
}
|
@@ -6,5 +6,5 @@ import * as Vital from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
7
7
|
export declare const BodyColumnExprBody: core.serialization.Schema<serializers.BodyColumnExprBody.Raw, Vital.BodyColumnExprBody>;
|
8
8
|
export declare namespace BodyColumnExprBody {
|
9
|
-
type Raw = "measured_at" | "weight_kilogram" | "
|
9
|
+
type Raw = "measured_at" | "weight_kilogram" | "fat_mass_percentage" | "water_percentage" | "muscle_mass_percentage" | "visceral_fat_index" | "source_type" | "source_provider" | "source_app_id";
|
10
10
|
}
|
@@ -31,7 +31,10 @@ const core = __importStar(require("../../core"));
|
|
31
31
|
exports.BodyColumnExprBody = core.serialization.enum_([
|
32
32
|
"measured_at",
|
33
33
|
"weight_kilogram",
|
34
|
-
"
|
34
|
+
"fat_mass_percentage",
|
35
|
+
"water_percentage",
|
36
|
+
"muscle_mass_percentage",
|
37
|
+
"visceral_fat_index",
|
35
38
|
"source_type",
|
36
39
|
"source_provider",
|
37
40
|
"source_app_id",
|
@@ -14,6 +14,9 @@ export declare namespace ClientFacingBody {
|
|
14
14
|
calendar_date: string;
|
15
15
|
weight?: number | null;
|
16
16
|
fat?: number | null;
|
17
|
+
water_percentage?: number | null;
|
18
|
+
muscle_mass_percentage?: number | null;
|
19
|
+
visceral_fat_index?: number | null;
|
17
20
|
source: ClientFacingSource.Raw;
|
18
21
|
}
|
19
22
|
}
|
@@ -36,5 +36,8 @@ exports.ClientFacingBody = core.serialization.object({
|
|
36
36
|
calendarDate: core.serialization.property("calendar_date", core.serialization.string()),
|
37
37
|
weight: core.serialization.number().optional(),
|
38
38
|
fat: core.serialization.number().optional(),
|
39
|
+
waterPercentage: core.serialization.property("water_percentage", core.serialization.number().optional()),
|
40
|
+
muscleMassPercentage: core.serialization.property("muscle_mass_percentage", core.serialization.number().optional()),
|
41
|
+
visceralFatIndex: core.serialization.property("visceral_fat_index", core.serialization.number().optional()),
|
39
42
|
source: ClientFacingSource_1.ClientFacingSource,
|
40
43
|
});
|
package/dist/version.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export declare const SDK_VERSION = "3.1.
|
1
|
+
export declare const SDK_VERSION = "3.1.120";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
@@ -6,5 +6,5 @@ import * as Vital from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
7
7
|
export declare const BodyColumnExprBody: core.serialization.Schema<serializers.BodyColumnExprBody.Raw, Vital.BodyColumnExprBody>;
|
8
8
|
export declare namespace BodyColumnExprBody {
|
9
|
-
type Raw = "measured_at" | "weight_kilogram" | "
|
9
|
+
type Raw = "measured_at" | "weight_kilogram" | "fat_mass_percentage" | "water_percentage" | "muscle_mass_percentage" | "visceral_fat_index" | "source_type" | "source_provider" | "source_app_id";
|
10
10
|
}
|
@@ -31,7 +31,10 @@ const core = __importStar(require("../../core"));
|
|
31
31
|
exports.BodyColumnExprBody = core.serialization.enum_([
|
32
32
|
"measured_at",
|
33
33
|
"weight_kilogram",
|
34
|
-
"
|
34
|
+
"fat_mass_percentage",
|
35
|
+
"water_percentage",
|
36
|
+
"muscle_mass_percentage",
|
37
|
+
"visceral_fat_index",
|
35
38
|
"source_type",
|
36
39
|
"source_provider",
|
37
40
|
"source_app_id",
|
@@ -14,6 +14,9 @@ export declare namespace ClientFacingBody {
|
|
14
14
|
calendar_date: string;
|
15
15
|
weight?: number | null;
|
16
16
|
fat?: number | null;
|
17
|
+
water_percentage?: number | null;
|
18
|
+
muscle_mass_percentage?: number | null;
|
19
|
+
visceral_fat_index?: number | null;
|
17
20
|
source: ClientFacingSource.Raw;
|
18
21
|
}
|
19
22
|
}
|
@@ -36,5 +36,8 @@ exports.ClientFacingBody = core.serialization.object({
|
|
36
36
|
calendarDate: core.serialization.property("calendar_date", core.serialization.string()),
|
37
37
|
weight: core.serialization.number().optional(),
|
38
38
|
fat: core.serialization.number().optional(),
|
39
|
+
waterPercentage: core.serialization.property("water_percentage", core.serialization.number().optional()),
|
40
|
+
muscleMassPercentage: core.serialization.property("muscle_mass_percentage", core.serialization.number().optional()),
|
41
|
+
visceralFatIndex: core.serialization.property("visceral_fat_index", core.serialization.number().optional()),
|
39
42
|
source: ClientFacingSource_1.ClientFacingSource,
|
40
43
|
});
|
package/version.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export declare const SDK_VERSION = "3.1.
|
1
|
+
export declare const SDK_VERSION = "3.1.120";
|
package/version.js
CHANGED