@tryvital/vital-node 3.1.122 → 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.
Files changed (57) hide show
  1. package/api/resources/activity/client/Client.js +2 -2
  2. package/api/resources/aggregate/client/Client.js +1 -1
  3. package/api/resources/body/client/Client.js +2 -2
  4. package/api/resources/devices/client/Client.js +1 -1
  5. package/api/resources/insurance/client/Client.js +2 -2
  6. package/api/resources/introspect/client/Client.js +2 -2
  7. package/api/resources/labTests/client/Client.js +34 -34
  8. package/api/resources/link/client/Client.js +14 -14
  9. package/api/resources/meal/client/Client.js +1 -1
  10. package/api/resources/menstrualCycle/client/Client.js +1 -1
  11. package/api/resources/profile/client/Client.js +2 -2
  12. package/api/resources/providers/client/Client.js +1 -1
  13. package/api/resources/sleep/client/Client.js +4 -4
  14. package/api/resources/sleepCycle/client/Client.js +1 -1
  15. package/api/resources/team/client/Client.js +7 -7
  16. package/api/resources/testkit/client/Client.js +2 -2
  17. package/api/resources/user/client/Client.js +16 -16
  18. package/api/resources/vitals/client/Client.js +56 -56
  19. package/api/resources/workouts/client/Client.js +3 -3
  20. package/api/types/BodyColumnExprBody.d.ts +2 -1
  21. package/api/types/BodyColumnExprBody.js +1 -0
  22. package/api/types/ClientFacingBody.d.ts +2 -0
  23. package/dist/api/resources/activity/client/Client.js +2 -2
  24. package/dist/api/resources/aggregate/client/Client.js +1 -1
  25. package/dist/api/resources/body/client/Client.js +2 -2
  26. package/dist/api/resources/devices/client/Client.js +1 -1
  27. package/dist/api/resources/insurance/client/Client.js +2 -2
  28. package/dist/api/resources/introspect/client/Client.js +2 -2
  29. package/dist/api/resources/labTests/client/Client.js +34 -34
  30. package/dist/api/resources/link/client/Client.js +14 -14
  31. package/dist/api/resources/meal/client/Client.js +1 -1
  32. package/dist/api/resources/menstrualCycle/client/Client.js +1 -1
  33. package/dist/api/resources/profile/client/Client.js +2 -2
  34. package/dist/api/resources/providers/client/Client.js +1 -1
  35. package/dist/api/resources/sleep/client/Client.js +4 -4
  36. package/dist/api/resources/sleepCycle/client/Client.js +1 -1
  37. package/dist/api/resources/team/client/Client.js +7 -7
  38. package/dist/api/resources/testkit/client/Client.js +2 -2
  39. package/dist/api/resources/user/client/Client.js +16 -16
  40. package/dist/api/resources/vitals/client/Client.js +56 -56
  41. package/dist/api/resources/workouts/client/Client.js +3 -3
  42. package/dist/api/types/BodyColumnExprBody.d.ts +2 -1
  43. package/dist/api/types/BodyColumnExprBody.js +1 -0
  44. package/dist/api/types/ClientFacingBody.d.ts +2 -0
  45. package/dist/serialization/types/BodyColumnExprBody.d.ts +1 -1
  46. package/dist/serialization/types/BodyColumnExprBody.js +1 -0
  47. package/dist/serialization/types/ClientFacingBody.d.ts +1 -0
  48. package/dist/serialization/types/ClientFacingBody.js +1 -0
  49. package/dist/version.d.ts +1 -1
  50. package/dist/version.js +1 -1
  51. package/package.json +1 -1
  52. package/serialization/types/BodyColumnExprBody.d.ts +1 -1
  53. package/serialization/types/BodyColumnExprBody.js +1 -0
  54. package/serialization/types/ClientFacingBody.d.ts +1 -0
  55. package/serialization/types/ClientFacingBody.js +1 -0
  56. package/version.d.ts +1 -1
  57. package/version.js +1 -1
@@ -1,7 +1,7 @@
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" | "fat_mass_percentage" | "water_percentage" | "muscle_mass_percentage" | "visceral_fat_index" | "source_type" | "source_provider" | "source_app_id";
4
+ export declare type BodyColumnExprBody = "measured_at" | "weight_kilogram" | "fat_mass_percentage" | "water_percentage" | "muscle_mass_percentage" | "visceral_fat_index" | "bone_mass_percentage" | "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";
@@ -9,6 +9,7 @@ export declare const BodyColumnExprBody: {
9
9
  readonly WaterPercentage: "water_percentage";
10
10
  readonly MuscleMassPercentage: "muscle_mass_percentage";
11
11
  readonly VisceralFatIndex: "visceral_fat_index";
12
+ readonly BoneMassPercentage: "bone_mass_percentage";
12
13
  readonly SourceType: "source_type";
13
14
  readonly SourceProvider: "source_provider";
14
15
  readonly SourceAppId: "source_app_id";
@@ -11,6 +11,7 @@ exports.BodyColumnExprBody = {
11
11
  WaterPercentage: "water_percentage",
12
12
  MuscleMassPercentage: "muscle_mass_percentage",
13
13
  VisceralFatIndex: "visceral_fat_index",
14
+ BoneMassPercentage: "bone_mass_percentage",
14
15
  SourceType: "source_type",
15
16
  SourceProvider: "source_provider",
16
17
  SourceAppId: "source_app_id",
@@ -20,5 +20,7 @@ export interface ClientFacingBody {
20
20
  muscleMassPercentage?: number;
21
21
  /** Visceral fat index::scalar */
22
22
  visceralFatIndex?: number;
23
+ /** Bone mass percentage in the body::perc */
24
+ boneMassPercentage?: number;
23
25
  source: Vital.ClientFacingSource;
24
26
  }
@@ -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" | "fat_mass_percentage" | "water_percentage" | "muscle_mass_percentage" | "visceral_fat_index" | "source_type" | "source_provider" | "source_app_id";
9
+ type Raw = "measured_at" | "weight_kilogram" | "fat_mass_percentage" | "water_percentage" | "muscle_mass_percentage" | "visceral_fat_index" | "bone_mass_percentage" | "source_type" | "source_provider" | "source_app_id";
10
10
  }
@@ -35,6 +35,7 @@ exports.BodyColumnExprBody = core.serialization.enum_([
35
35
  "water_percentage",
36
36
  "muscle_mass_percentage",
37
37
  "visceral_fat_index",
38
+ "bone_mass_percentage",
38
39
  "source_type",
39
40
  "source_provider",
40
41
  "source_app_id",
@@ -17,6 +17,7 @@ export declare namespace ClientFacingBody {
17
17
  water_percentage?: number | null;
18
18
  muscle_mass_percentage?: number | null;
19
19
  visceral_fat_index?: number | null;
20
+ bone_mass_percentage?: number | null;
20
21
  source: ClientFacingSource.Raw;
21
22
  }
22
23
  }
@@ -39,5 +39,6 @@ exports.ClientFacingBody = core.serialization.object({
39
39
  waterPercentage: core.serialization.property("water_percentage", core.serialization.number().optional()),
40
40
  muscleMassPercentage: core.serialization.property("muscle_mass_percentage", core.serialization.number().optional()),
41
41
  visceralFatIndex: core.serialization.property("visceral_fat_index", core.serialization.number().optional()),
42
+ boneMassPercentage: core.serialization.property("bone_mass_percentage", core.serialization.number().optional()),
42
43
  source: ClientFacingSource_1.ClientFacingSource,
43
44
  });
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "3.1.122";
1
+ export declare const SDK_VERSION = "3.1.123";
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "3.1.122";
4
+ exports.SDK_VERSION = "3.1.123";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryvital/vital-node",
3
- "version": "3.1.122",
3
+ "version": "3.1.123",
4
4
  "private": false,
5
5
  "repository": "https://github.com/tryVital/vital-node",
6
6
  "main": "./index.js",
@@ -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" | "fat_mass_percentage" | "water_percentage" | "muscle_mass_percentage" | "visceral_fat_index" | "source_type" | "source_provider" | "source_app_id";
9
+ type Raw = "measured_at" | "weight_kilogram" | "fat_mass_percentage" | "water_percentage" | "muscle_mass_percentage" | "visceral_fat_index" | "bone_mass_percentage" | "source_type" | "source_provider" | "source_app_id";
10
10
  }
@@ -35,6 +35,7 @@ exports.BodyColumnExprBody = core.serialization.enum_([
35
35
  "water_percentage",
36
36
  "muscle_mass_percentage",
37
37
  "visceral_fat_index",
38
+ "bone_mass_percentage",
38
39
  "source_type",
39
40
  "source_provider",
40
41
  "source_app_id",
@@ -17,6 +17,7 @@ export declare namespace ClientFacingBody {
17
17
  water_percentage?: number | null;
18
18
  muscle_mass_percentage?: number | null;
19
19
  visceral_fat_index?: number | null;
20
+ bone_mass_percentage?: number | null;
20
21
  source: ClientFacingSource.Raw;
21
22
  }
22
23
  }
@@ -39,5 +39,6 @@ exports.ClientFacingBody = core.serialization.object({
39
39
  waterPercentage: core.serialization.property("water_percentage", core.serialization.number().optional()),
40
40
  muscleMassPercentage: core.serialization.property("muscle_mass_percentage", core.serialization.number().optional()),
41
41
  visceralFatIndex: core.serialization.property("visceral_fat_index", core.serialization.number().optional()),
42
+ boneMassPercentage: core.serialization.property("bone_mass_percentage", core.serialization.number().optional()),
42
43
  source: ClientFacingSource_1.ClientFacingSource,
43
44
  });
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "3.1.122";
1
+ export declare const SDK_VERSION = "3.1.123";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "3.1.122";
4
+ exports.SDK_VERSION = "3.1.123";