@tryvital/vital-node 3.1.83 → 3.1.84

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 (93) 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 +28 -28
  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/team/client/Client.js +7 -7
  15. package/api/resources/testkit/client/Client.js +2 -2
  16. package/api/resources/user/client/Client.js +16 -16
  17. package/api/resources/vitals/client/Client.js +56 -56
  18. package/api/resources/workouts/client/Client.js +3 -3
  19. package/api/types/AggregateExprArg.d.ts +1 -1
  20. package/api/types/BodyColumnExpr.d.ts +7 -0
  21. package/api/types/BodyColumnExpr.js +5 -0
  22. package/api/types/BodyColumnExprBody.d.ts +12 -0
  23. package/api/types/BodyColumnExprBody.js +14 -0
  24. package/api/types/IndexColumnExprIndex.d.ts +2 -1
  25. package/api/types/IndexColumnExprIndex.js +1 -0
  26. package/api/types/Labs.d.ts +2 -1
  27. package/api/types/Labs.js +1 -0
  28. package/api/types/QueryInstructionSelectItem.d.ts +1 -1
  29. package/api/types/index.d.ts +2 -0
  30. package/api/types/index.js +2 -0
  31. package/dist/api/resources/activity/client/Client.js +2 -2
  32. package/dist/api/resources/aggregate/client/Client.js +1 -1
  33. package/dist/api/resources/body/client/Client.js +2 -2
  34. package/dist/api/resources/devices/client/Client.js +1 -1
  35. package/dist/api/resources/insurance/client/Client.js +2 -2
  36. package/dist/api/resources/introspect/client/Client.js +2 -2
  37. package/dist/api/resources/labTests/client/Client.js +28 -28
  38. package/dist/api/resources/link/client/Client.js +14 -14
  39. package/dist/api/resources/meal/client/Client.js +1 -1
  40. package/dist/api/resources/menstrualCycle/client/Client.js +1 -1
  41. package/dist/api/resources/profile/client/Client.js +2 -2
  42. package/dist/api/resources/providers/client/Client.js +1 -1
  43. package/dist/api/resources/sleep/client/Client.js +4 -4
  44. package/dist/api/resources/team/client/Client.js +7 -7
  45. package/dist/api/resources/testkit/client/Client.js +2 -2
  46. package/dist/api/resources/user/client/Client.js +16 -16
  47. package/dist/api/resources/vitals/client/Client.js +56 -56
  48. package/dist/api/resources/workouts/client/Client.js +3 -3
  49. package/dist/api/types/AggregateExprArg.d.ts +1 -1
  50. package/dist/api/types/BodyColumnExpr.d.ts +7 -0
  51. package/dist/api/types/BodyColumnExpr.js +5 -0
  52. package/dist/api/types/BodyColumnExprBody.d.ts +12 -0
  53. package/dist/api/types/BodyColumnExprBody.js +14 -0
  54. package/dist/api/types/IndexColumnExprIndex.d.ts +2 -1
  55. package/dist/api/types/IndexColumnExprIndex.js +1 -0
  56. package/dist/api/types/Labs.d.ts +2 -1
  57. package/dist/api/types/Labs.js +1 -0
  58. package/dist/api/types/QueryInstructionSelectItem.d.ts +1 -1
  59. package/dist/api/types/index.d.ts +2 -0
  60. package/dist/api/types/index.js +2 -0
  61. package/dist/serialization/types/AggregateExprArg.d.ts +2 -1
  62. package/dist/serialization/types/AggregateExprArg.js +2 -0
  63. package/dist/serialization/types/BodyColumnExpr.d.ts +13 -0
  64. package/dist/serialization/types/BodyColumnExpr.js +34 -0
  65. package/dist/serialization/types/BodyColumnExprBody.d.ts +10 -0
  66. package/dist/serialization/types/BodyColumnExprBody.js +38 -0
  67. package/dist/serialization/types/IndexColumnExprIndex.d.ts +1 -1
  68. package/dist/serialization/types/IndexColumnExprIndex.js +1 -1
  69. package/dist/serialization/types/Labs.d.ts +1 -1
  70. package/dist/serialization/types/Labs.js +1 -0
  71. package/dist/serialization/types/QueryInstructionSelectItem.d.ts +2 -1
  72. package/dist/serialization/types/QueryInstructionSelectItem.js +2 -0
  73. package/dist/serialization/types/index.d.ts +2 -0
  74. package/dist/serialization/types/index.js +2 -0
  75. package/dist/version.d.ts +1 -1
  76. package/dist/version.js +1 -1
  77. package/package.json +1 -1
  78. package/serialization/types/AggregateExprArg.d.ts +2 -1
  79. package/serialization/types/AggregateExprArg.js +2 -0
  80. package/serialization/types/BodyColumnExpr.d.ts +13 -0
  81. package/serialization/types/BodyColumnExpr.js +34 -0
  82. package/serialization/types/BodyColumnExprBody.d.ts +10 -0
  83. package/serialization/types/BodyColumnExprBody.js +38 -0
  84. package/serialization/types/IndexColumnExprIndex.d.ts +1 -1
  85. package/serialization/types/IndexColumnExprIndex.js +1 -1
  86. package/serialization/types/Labs.d.ts +1 -1
  87. package/serialization/types/Labs.js +1 -0
  88. package/serialization/types/QueryInstructionSelectItem.d.ts +2 -1
  89. package/serialization/types/QueryInstructionSelectItem.js +2 -0
  90. package/serialization/types/index.d.ts +2 -0
  91. package/serialization/types/index.js +2 -0
  92. package/version.d.ts +1 -1
  93. package/version.js +1 -1
@@ -2,4 +2,4 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vital from "../index";
5
- export declare type AggregateExprArg = Vital.SleepColumnExpr | Vital.ActivityColumnExpr | Vital.WorkoutColumnExpr | Vital.IndexColumnExpr | Vital.GroupKeyColumnExpr;
5
+ export declare type AggregateExprArg = Vital.SleepColumnExpr | Vital.ActivityColumnExpr | Vital.WorkoutColumnExpr | Vital.BodyColumnExpr | Vital.IndexColumnExpr | Vital.GroupKeyColumnExpr;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vital from "../index";
5
+ export interface BodyColumnExpr {
6
+ body: Vital.BodyColumnExprBody;
7
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type BodyColumnExprBody = "measured_at" | "weight_kilogram" | "fat_percentage" | "source_type" | "source_provider" | "source_app_id";
5
+ export declare const BodyColumnExprBody: {
6
+ readonly MeasuredAt: "measured_at";
7
+ readonly WeightKilogram: "weight_kilogram";
8
+ readonly FatPercentage: "fat_percentage";
9
+ readonly SourceType: "source_type";
10
+ readonly SourceProvider: "source_provider";
11
+ readonly SourceAppId: "source_app_id";
12
+ };
@@ -0,0 +1,14 @@
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.BodyColumnExprBody = void 0;
7
+ exports.BodyColumnExprBody = {
8
+ MeasuredAt: "measured_at",
9
+ WeightKilogram: "weight_kilogram",
10
+ FatPercentage: "fat_percentage",
11
+ SourceType: "source_type",
12
+ SourceProvider: "source_provider",
13
+ SourceAppId: "source_app_id",
14
+ };
@@ -1,9 +1,10 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export declare type IndexColumnExprIndex = "sleep" | "activity" | "workout";
4
+ export declare type IndexColumnExprIndex = "sleep" | "activity" | "workout" | "body";
5
5
  export declare const IndexColumnExprIndex: {
6
6
  readonly Sleep: "sleep";
7
7
  readonly Activity: "activity";
8
8
  readonly Workout: "workout";
9
+ readonly Body: "body";
9
10
  };
@@ -8,4 +8,5 @@ exports.IndexColumnExprIndex = {
8
8
  Sleep: "sleep",
9
9
  Activity: "activity",
10
10
  Workout: "workout",
11
+ Body: "body",
11
12
  };
@@ -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 Labs = "ayumetrix" | "spiriplex" | "ussl" | "quest" | "labcorp" | "bioreference" | "manual" | "sanocardio";
4
+ export declare type Labs = "ayumetrix" | "spiriplex" | "ussl" | "quest" | "labcorp" | "bioreference" | "us_biotek" | "manual" | "sanocardio";
5
5
  export declare const Labs: {
6
6
  readonly Ayumetrix: "ayumetrix";
7
7
  readonly Spiriplex: "spiriplex";
@@ -9,6 +9,7 @@ export declare const Labs: {
9
9
  readonly Quest: "quest";
10
10
  readonly Labcorp: "labcorp";
11
11
  readonly Bioreference: "bioreference";
12
+ readonly UsBiotek: "us_biotek";
12
13
  readonly Manual: "manual";
13
14
  readonly Sanocardio: "sanocardio";
14
15
  };
@@ -11,6 +11,7 @@ exports.Labs = {
11
11
  Quest: "quest",
12
12
  Labcorp: "labcorp",
13
13
  Bioreference: "bioreference",
14
+ UsBiotek: "us_biotek",
14
15
  Manual: "manual",
15
16
  Sanocardio: "sanocardio",
16
17
  };
@@ -2,4 +2,4 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vital from "../index";
5
- export declare type QueryInstructionSelectItem = Vital.AggregateExpr | Vital.SleepColumnExpr | Vital.ActivityColumnExpr | Vital.WorkoutColumnExpr | Vital.IndexColumnExpr | Vital.GroupKeyColumnExpr;
5
+ export declare type QueryInstructionSelectItem = Vital.AggregateExpr | Vital.SleepColumnExpr | Vital.ActivityColumnExpr | Vital.WorkoutColumnExpr | Vital.BodyColumnExpr | Vital.IndexColumnExpr | Vital.GroupKeyColumnExpr;
@@ -23,6 +23,8 @@ export * from "./Availability";
23
23
  export * from "./BasalBodyTemperatureEntry";
24
24
  export * from "./Billing";
25
25
  export * from "./BiomarkerResult";
26
+ export * from "./BodyColumnExprBody";
27
+ export * from "./BodyColumnExpr";
26
28
  export * from "./BodyV2InDb";
27
29
  export * from "./CervicalMucusEntryQuality";
28
30
  export * from "./CervicalMucusEntry";
@@ -39,6 +39,8 @@ __exportStar(require("./Availability"), exports);
39
39
  __exportStar(require("./BasalBodyTemperatureEntry"), exports);
40
40
  __exportStar(require("./Billing"), exports);
41
41
  __exportStar(require("./BiomarkerResult"), exports);
42
+ __exportStar(require("./BodyColumnExprBody"), exports);
43
+ __exportStar(require("./BodyColumnExpr"), exports);
42
44
  __exportStar(require("./BodyV2InDb"), exports);
43
45
  __exportStar(require("./CervicalMucusEntryQuality"), exports);
44
46
  __exportStar(require("./CervicalMucusEntry"), exports);
@@ -7,9 +7,10 @@ import * as core from "../../core";
7
7
  import { SleepColumnExpr } from "./SleepColumnExpr";
8
8
  import { ActivityColumnExpr } from "./ActivityColumnExpr";
9
9
  import { WorkoutColumnExpr } from "./WorkoutColumnExpr";
10
+ import { BodyColumnExpr } from "./BodyColumnExpr";
10
11
  import { IndexColumnExpr } from "./IndexColumnExpr";
11
12
  import { GroupKeyColumnExpr } from "./GroupKeyColumnExpr";
12
13
  export declare const AggregateExprArg: core.serialization.Schema<serializers.AggregateExprArg.Raw, Vital.AggregateExprArg>;
13
14
  export declare namespace AggregateExprArg {
14
- type Raw = SleepColumnExpr.Raw | ActivityColumnExpr.Raw | WorkoutColumnExpr.Raw | IndexColumnExpr.Raw | GroupKeyColumnExpr.Raw;
15
+ type Raw = SleepColumnExpr.Raw | ActivityColumnExpr.Raw | WorkoutColumnExpr.Raw | BodyColumnExpr.Raw | IndexColumnExpr.Raw | GroupKeyColumnExpr.Raw;
15
16
  }
@@ -31,12 +31,14 @@ const core = __importStar(require("../../core"));
31
31
  const SleepColumnExpr_1 = require("./SleepColumnExpr");
32
32
  const ActivityColumnExpr_1 = require("./ActivityColumnExpr");
33
33
  const WorkoutColumnExpr_1 = require("./WorkoutColumnExpr");
34
+ const BodyColumnExpr_1 = require("./BodyColumnExpr");
34
35
  const IndexColumnExpr_1 = require("./IndexColumnExpr");
35
36
  const GroupKeyColumnExpr_1 = require("./GroupKeyColumnExpr");
36
37
  exports.AggregateExprArg = core.serialization.undiscriminatedUnion([
37
38
  SleepColumnExpr_1.SleepColumnExpr,
38
39
  ActivityColumnExpr_1.ActivityColumnExpr,
39
40
  WorkoutColumnExpr_1.WorkoutColumnExpr,
41
+ BodyColumnExpr_1.BodyColumnExpr,
40
42
  IndexColumnExpr_1.IndexColumnExpr,
41
43
  GroupKeyColumnExpr_1.GroupKeyColumnExpr,
42
44
  ]);
@@ -0,0 +1,13 @@
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 { BodyColumnExprBody } from "./BodyColumnExprBody";
8
+ export declare const BodyColumnExpr: core.serialization.ObjectSchema<serializers.BodyColumnExpr.Raw, Vital.BodyColumnExpr>;
9
+ export declare namespace BodyColumnExpr {
10
+ interface Raw {
11
+ body: BodyColumnExprBody.Raw;
12
+ }
13
+ }
@@ -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.BodyColumnExpr = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const BodyColumnExprBody_1 = require("./BodyColumnExprBody");
32
+ exports.BodyColumnExpr = core.serialization.object({
33
+ body: BodyColumnExprBody_1.BodyColumnExprBody,
34
+ });
@@ -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 BodyColumnExprBody: core.serialization.Schema<serializers.BodyColumnExprBody.Raw, Vital.BodyColumnExprBody>;
8
+ export declare namespace BodyColumnExprBody {
9
+ type Raw = "measured_at" | "weight_kilogram" | "fat_percentage" | "source_type" | "source_provider" | "source_app_id";
10
+ }
@@ -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.BodyColumnExprBody = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.BodyColumnExprBody = core.serialization.enum_([
32
+ "measured_at",
33
+ "weight_kilogram",
34
+ "fat_percentage",
35
+ "source_type",
36
+ "source_provider",
37
+ "source_app_id",
38
+ ]);
@@ -6,5 +6,5 @@ import * as Vital from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  export declare const IndexColumnExprIndex: core.serialization.Schema<serializers.IndexColumnExprIndex.Raw, Vital.IndexColumnExprIndex>;
8
8
  export declare namespace IndexColumnExprIndex {
9
- type Raw = "sleep" | "activity" | "workout";
9
+ type Raw = "sleep" | "activity" | "workout" | "body";
10
10
  }
@@ -28,4 +28,4 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.IndexColumnExprIndex = void 0;
30
30
  const core = __importStar(require("../../core"));
31
- exports.IndexColumnExprIndex = core.serialization.enum_(["sleep", "activity", "workout"]);
31
+ exports.IndexColumnExprIndex = core.serialization.enum_(["sleep", "activity", "workout", "body"]);
@@ -6,5 +6,5 @@ import * as Vital from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  export declare const Labs: core.serialization.Schema<serializers.Labs.Raw, Vital.Labs>;
8
8
  export declare namespace Labs {
9
- type Raw = "ayumetrix" | "spiriplex" | "ussl" | "quest" | "labcorp" | "bioreference" | "manual" | "sanocardio";
9
+ type Raw = "ayumetrix" | "spiriplex" | "ussl" | "quest" | "labcorp" | "bioreference" | "us_biotek" | "manual" | "sanocardio";
10
10
  }
@@ -35,6 +35,7 @@ exports.Labs = core.serialization.enum_([
35
35
  "quest",
36
36
  "labcorp",
37
37
  "bioreference",
38
+ "us_biotek",
38
39
  "manual",
39
40
  "sanocardio",
40
41
  ]);
@@ -8,9 +8,10 @@ import { AggregateExpr } from "./AggregateExpr";
8
8
  import { SleepColumnExpr } from "./SleepColumnExpr";
9
9
  import { ActivityColumnExpr } from "./ActivityColumnExpr";
10
10
  import { WorkoutColumnExpr } from "./WorkoutColumnExpr";
11
+ import { BodyColumnExpr } from "./BodyColumnExpr";
11
12
  import { IndexColumnExpr } from "./IndexColumnExpr";
12
13
  import { GroupKeyColumnExpr } from "./GroupKeyColumnExpr";
13
14
  export declare const QueryInstructionSelectItem: core.serialization.Schema<serializers.QueryInstructionSelectItem.Raw, Vital.QueryInstructionSelectItem>;
14
15
  export declare namespace QueryInstructionSelectItem {
15
- type Raw = AggregateExpr.Raw | SleepColumnExpr.Raw | ActivityColumnExpr.Raw | WorkoutColumnExpr.Raw | IndexColumnExpr.Raw | GroupKeyColumnExpr.Raw;
16
+ type Raw = AggregateExpr.Raw | SleepColumnExpr.Raw | ActivityColumnExpr.Raw | WorkoutColumnExpr.Raw | BodyColumnExpr.Raw | IndexColumnExpr.Raw | GroupKeyColumnExpr.Raw;
16
17
  }
@@ -32,6 +32,7 @@ const AggregateExpr_1 = require("./AggregateExpr");
32
32
  const SleepColumnExpr_1 = require("./SleepColumnExpr");
33
33
  const ActivityColumnExpr_1 = require("./ActivityColumnExpr");
34
34
  const WorkoutColumnExpr_1 = require("./WorkoutColumnExpr");
35
+ const BodyColumnExpr_1 = require("./BodyColumnExpr");
35
36
  const IndexColumnExpr_1 = require("./IndexColumnExpr");
36
37
  const GroupKeyColumnExpr_1 = require("./GroupKeyColumnExpr");
37
38
  exports.QueryInstructionSelectItem = core.serialization.undiscriminatedUnion([
@@ -39,6 +40,7 @@ exports.QueryInstructionSelectItem = core.serialization.undiscriminatedUnion([
39
40
  SleepColumnExpr_1.SleepColumnExpr,
40
41
  ActivityColumnExpr_1.ActivityColumnExpr,
41
42
  WorkoutColumnExpr_1.WorkoutColumnExpr,
43
+ BodyColumnExpr_1.BodyColumnExpr,
42
44
  IndexColumnExpr_1.IndexColumnExpr,
43
45
  GroupKeyColumnExpr_1.GroupKeyColumnExpr,
44
46
  ]);
@@ -23,6 +23,8 @@ export * from "./Availability";
23
23
  export * from "./BasalBodyTemperatureEntry";
24
24
  export * from "./Billing";
25
25
  export * from "./BiomarkerResult";
26
+ export * from "./BodyColumnExprBody";
27
+ export * from "./BodyColumnExpr";
26
28
  export * from "./BodyV2InDb";
27
29
  export * from "./CervicalMucusEntryQuality";
28
30
  export * from "./CervicalMucusEntry";
@@ -39,6 +39,8 @@ __exportStar(require("./Availability"), exports);
39
39
  __exportStar(require("./BasalBodyTemperatureEntry"), exports);
40
40
  __exportStar(require("./Billing"), exports);
41
41
  __exportStar(require("./BiomarkerResult"), exports);
42
+ __exportStar(require("./BodyColumnExprBody"), exports);
43
+ __exportStar(require("./BodyColumnExpr"), exports);
42
44
  __exportStar(require("./BodyV2InDb"), exports);
43
45
  __exportStar(require("./CervicalMucusEntryQuality"), exports);
44
46
  __exportStar(require("./CervicalMucusEntry"), exports);
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "3.1.83";
1
+ export declare const SDK_VERSION = "3.1.84";
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.83";
4
+ exports.SDK_VERSION = "3.1.84";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryvital/vital-node",
3
- "version": "3.1.83",
3
+ "version": "3.1.84",
4
4
  "private": false,
5
5
  "repository": "https://github.com/tryVital/vital-node",
6
6
  "main": "./index.js",
@@ -7,9 +7,10 @@ import * as core from "../../core";
7
7
  import { SleepColumnExpr } from "./SleepColumnExpr";
8
8
  import { ActivityColumnExpr } from "./ActivityColumnExpr";
9
9
  import { WorkoutColumnExpr } from "./WorkoutColumnExpr";
10
+ import { BodyColumnExpr } from "./BodyColumnExpr";
10
11
  import { IndexColumnExpr } from "./IndexColumnExpr";
11
12
  import { GroupKeyColumnExpr } from "./GroupKeyColumnExpr";
12
13
  export declare const AggregateExprArg: core.serialization.Schema<serializers.AggregateExprArg.Raw, Vital.AggregateExprArg>;
13
14
  export declare namespace AggregateExprArg {
14
- type Raw = SleepColumnExpr.Raw | ActivityColumnExpr.Raw | WorkoutColumnExpr.Raw | IndexColumnExpr.Raw | GroupKeyColumnExpr.Raw;
15
+ type Raw = SleepColumnExpr.Raw | ActivityColumnExpr.Raw | WorkoutColumnExpr.Raw | BodyColumnExpr.Raw | IndexColumnExpr.Raw | GroupKeyColumnExpr.Raw;
15
16
  }
@@ -31,12 +31,14 @@ const core = __importStar(require("../../core"));
31
31
  const SleepColumnExpr_1 = require("./SleepColumnExpr");
32
32
  const ActivityColumnExpr_1 = require("./ActivityColumnExpr");
33
33
  const WorkoutColumnExpr_1 = require("./WorkoutColumnExpr");
34
+ const BodyColumnExpr_1 = require("./BodyColumnExpr");
34
35
  const IndexColumnExpr_1 = require("./IndexColumnExpr");
35
36
  const GroupKeyColumnExpr_1 = require("./GroupKeyColumnExpr");
36
37
  exports.AggregateExprArg = core.serialization.undiscriminatedUnion([
37
38
  SleepColumnExpr_1.SleepColumnExpr,
38
39
  ActivityColumnExpr_1.ActivityColumnExpr,
39
40
  WorkoutColumnExpr_1.WorkoutColumnExpr,
41
+ BodyColumnExpr_1.BodyColumnExpr,
40
42
  IndexColumnExpr_1.IndexColumnExpr,
41
43
  GroupKeyColumnExpr_1.GroupKeyColumnExpr,
42
44
  ]);
@@ -0,0 +1,13 @@
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 { BodyColumnExprBody } from "./BodyColumnExprBody";
8
+ export declare const BodyColumnExpr: core.serialization.ObjectSchema<serializers.BodyColumnExpr.Raw, Vital.BodyColumnExpr>;
9
+ export declare namespace BodyColumnExpr {
10
+ interface Raw {
11
+ body: BodyColumnExprBody.Raw;
12
+ }
13
+ }
@@ -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.BodyColumnExpr = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const BodyColumnExprBody_1 = require("./BodyColumnExprBody");
32
+ exports.BodyColumnExpr = core.serialization.object({
33
+ body: BodyColumnExprBody_1.BodyColumnExprBody,
34
+ });
@@ -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 BodyColumnExprBody: core.serialization.Schema<serializers.BodyColumnExprBody.Raw, Vital.BodyColumnExprBody>;
8
+ export declare namespace BodyColumnExprBody {
9
+ type Raw = "measured_at" | "weight_kilogram" | "fat_percentage" | "source_type" | "source_provider" | "source_app_id";
10
+ }
@@ -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.BodyColumnExprBody = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.BodyColumnExprBody = core.serialization.enum_([
32
+ "measured_at",
33
+ "weight_kilogram",
34
+ "fat_percentage",
35
+ "source_type",
36
+ "source_provider",
37
+ "source_app_id",
38
+ ]);
@@ -6,5 +6,5 @@ import * as Vital from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  export declare const IndexColumnExprIndex: core.serialization.Schema<serializers.IndexColumnExprIndex.Raw, Vital.IndexColumnExprIndex>;
8
8
  export declare namespace IndexColumnExprIndex {
9
- type Raw = "sleep" | "activity" | "workout";
9
+ type Raw = "sleep" | "activity" | "workout" | "body";
10
10
  }
@@ -28,4 +28,4 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.IndexColumnExprIndex = void 0;
30
30
  const core = __importStar(require("../../core"));
31
- exports.IndexColumnExprIndex = core.serialization.enum_(["sleep", "activity", "workout"]);
31
+ exports.IndexColumnExprIndex = core.serialization.enum_(["sleep", "activity", "workout", "body"]);
@@ -6,5 +6,5 @@ import * as Vital from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  export declare const Labs: core.serialization.Schema<serializers.Labs.Raw, Vital.Labs>;
8
8
  export declare namespace Labs {
9
- type Raw = "ayumetrix" | "spiriplex" | "ussl" | "quest" | "labcorp" | "bioreference" | "manual" | "sanocardio";
9
+ type Raw = "ayumetrix" | "spiriplex" | "ussl" | "quest" | "labcorp" | "bioreference" | "us_biotek" | "manual" | "sanocardio";
10
10
  }
@@ -35,6 +35,7 @@ exports.Labs = core.serialization.enum_([
35
35
  "quest",
36
36
  "labcorp",
37
37
  "bioreference",
38
+ "us_biotek",
38
39
  "manual",
39
40
  "sanocardio",
40
41
  ]);
@@ -8,9 +8,10 @@ import { AggregateExpr } from "./AggregateExpr";
8
8
  import { SleepColumnExpr } from "./SleepColumnExpr";
9
9
  import { ActivityColumnExpr } from "./ActivityColumnExpr";
10
10
  import { WorkoutColumnExpr } from "./WorkoutColumnExpr";
11
+ import { BodyColumnExpr } from "./BodyColumnExpr";
11
12
  import { IndexColumnExpr } from "./IndexColumnExpr";
12
13
  import { GroupKeyColumnExpr } from "./GroupKeyColumnExpr";
13
14
  export declare const QueryInstructionSelectItem: core.serialization.Schema<serializers.QueryInstructionSelectItem.Raw, Vital.QueryInstructionSelectItem>;
14
15
  export declare namespace QueryInstructionSelectItem {
15
- type Raw = AggregateExpr.Raw | SleepColumnExpr.Raw | ActivityColumnExpr.Raw | WorkoutColumnExpr.Raw | IndexColumnExpr.Raw | GroupKeyColumnExpr.Raw;
16
+ type Raw = AggregateExpr.Raw | SleepColumnExpr.Raw | ActivityColumnExpr.Raw | WorkoutColumnExpr.Raw | BodyColumnExpr.Raw | IndexColumnExpr.Raw | GroupKeyColumnExpr.Raw;
16
17
  }
@@ -32,6 +32,7 @@ const AggregateExpr_1 = require("./AggregateExpr");
32
32
  const SleepColumnExpr_1 = require("./SleepColumnExpr");
33
33
  const ActivityColumnExpr_1 = require("./ActivityColumnExpr");
34
34
  const WorkoutColumnExpr_1 = require("./WorkoutColumnExpr");
35
+ const BodyColumnExpr_1 = require("./BodyColumnExpr");
35
36
  const IndexColumnExpr_1 = require("./IndexColumnExpr");
36
37
  const GroupKeyColumnExpr_1 = require("./GroupKeyColumnExpr");
37
38
  exports.QueryInstructionSelectItem = core.serialization.undiscriminatedUnion([
@@ -39,6 +40,7 @@ exports.QueryInstructionSelectItem = core.serialization.undiscriminatedUnion([
39
40
  SleepColumnExpr_1.SleepColumnExpr,
40
41
  ActivityColumnExpr_1.ActivityColumnExpr,
41
42
  WorkoutColumnExpr_1.WorkoutColumnExpr,
43
+ BodyColumnExpr_1.BodyColumnExpr,
42
44
  IndexColumnExpr_1.IndexColumnExpr,
43
45
  GroupKeyColumnExpr_1.GroupKeyColumnExpr,
44
46
  ]);
@@ -23,6 +23,8 @@ export * from "./Availability";
23
23
  export * from "./BasalBodyTemperatureEntry";
24
24
  export * from "./Billing";
25
25
  export * from "./BiomarkerResult";
26
+ export * from "./BodyColumnExprBody";
27
+ export * from "./BodyColumnExpr";
26
28
  export * from "./BodyV2InDb";
27
29
  export * from "./CervicalMucusEntryQuality";
28
30
  export * from "./CervicalMucusEntry";
@@ -39,6 +39,8 @@ __exportStar(require("./Availability"), exports);
39
39
  __exportStar(require("./BasalBodyTemperatureEntry"), exports);
40
40
  __exportStar(require("./Billing"), exports);
41
41
  __exportStar(require("./BiomarkerResult"), exports);
42
+ __exportStar(require("./BodyColumnExprBody"), exports);
43
+ __exportStar(require("./BodyColumnExpr"), exports);
42
44
  __exportStar(require("./BodyV2InDb"), exports);
43
45
  __exportStar(require("./CervicalMucusEntryQuality"), exports);
44
46
  __exportStar(require("./CervicalMucusEntry"), exports);
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "3.1.83";
1
+ export declare const SDK_VERSION = "3.1.84";
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.83";
4
+ exports.SDK_VERSION = "3.1.84";