@tryvital/vital-node 3.1.381 → 3.1.382

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 (122) hide show
  1. package/Client.d.ts +18 -18
  2. package/Client.js +54 -54
  3. package/api/resources/activity/client/Client.js +2 -2
  4. package/api/resources/aggregate/client/Client.d.ts +1 -1
  5. package/api/resources/aggregate/client/Client.js +4 -4
  6. package/api/resources/aggregate/client/requests/QueryBatch.d.ts +1 -1
  7. package/api/resources/body/client/Client.js +2 -2
  8. package/api/resources/devices/client/Client.js +1 -1
  9. package/api/resources/electrocardiogram/client/Client.js +1 -1
  10. package/api/resources/index.d.ts +13 -13
  11. package/api/resources/index.js +14 -14
  12. package/api/resources/insurance/client/Client.js +3 -3
  13. package/api/resources/introspect/client/Client.js +2 -2
  14. package/api/resources/labTests/client/Client.d.ts +0 -1
  15. package/api/resources/labTests/client/Client.js +41 -42
  16. package/api/resources/link/client/Client.js +19 -19
  17. package/api/resources/meal/client/Client.js +1 -1
  18. package/api/resources/menstrualCycle/client/Client.js +1 -1
  19. package/api/resources/order/client/Client.js +1 -1
  20. package/api/resources/payor/client/Client.js +1 -1
  21. package/api/resources/profile/client/Client.js +2 -2
  22. package/api/resources/providers/client/Client.js +1 -1
  23. package/api/resources/sleep/client/Client.d.ts +12 -12
  24. package/api/resources/sleep/client/Client.js +34 -34
  25. package/api/resources/sleepCycle/client/Client.js +1 -1
  26. package/api/resources/team/client/Client.js +7 -7
  27. package/api/resources/testkit/client/Client.js +2 -2
  28. package/api/resources/user/client/Client.js +18 -18
  29. package/api/resources/vitals/client/Client.js +78 -78
  30. package/api/resources/workouts/client/Client.d.ts +10 -10
  31. package/api/resources/workouts/client/Client.js +34 -34
  32. package/api/types/AggregateExprArg.d.ts +1 -1
  33. package/api/types/AsleepAtValueMacroExpr.d.ts +7 -0
  34. package/api/types/AsleepAtValueMacroExpr.js +5 -0
  35. package/api/types/AwakeAtValueMacroExpr.d.ts +7 -0
  36. package/api/types/AwakeAtValueMacroExpr.js +5 -0
  37. package/api/types/QueryGroupByItem.d.ts +1 -1
  38. package/api/types/QuerySelectItem.d.ts +1 -1
  39. package/api/types/SleepColumnExprSleep.d.ts +2 -1
  40. package/api/types/SleepColumnExprSleep.js +1 -0
  41. package/api/types/index.d.ts +2 -0
  42. package/api/types/index.js +2 -0
  43. package/dist/Client.d.ts +18 -18
  44. package/dist/Client.js +54 -54
  45. package/dist/api/resources/activity/client/Client.js +2 -2
  46. package/dist/api/resources/aggregate/client/Client.d.ts +1 -1
  47. package/dist/api/resources/aggregate/client/Client.js +4 -4
  48. package/dist/api/resources/aggregate/client/requests/QueryBatch.d.ts +1 -1
  49. package/dist/api/resources/body/client/Client.js +2 -2
  50. package/dist/api/resources/devices/client/Client.js +1 -1
  51. package/dist/api/resources/electrocardiogram/client/Client.js +1 -1
  52. package/dist/api/resources/index.d.ts +13 -13
  53. package/dist/api/resources/index.js +14 -14
  54. package/dist/api/resources/insurance/client/Client.js +3 -3
  55. package/dist/api/resources/introspect/client/Client.js +2 -2
  56. package/dist/api/resources/labTests/client/Client.d.ts +0 -1
  57. package/dist/api/resources/labTests/client/Client.js +41 -42
  58. package/dist/api/resources/link/client/Client.js +19 -19
  59. package/dist/api/resources/meal/client/Client.js +1 -1
  60. package/dist/api/resources/menstrualCycle/client/Client.js +1 -1
  61. package/dist/api/resources/order/client/Client.js +1 -1
  62. package/dist/api/resources/payor/client/Client.js +1 -1
  63. package/dist/api/resources/profile/client/Client.js +2 -2
  64. package/dist/api/resources/providers/client/Client.js +1 -1
  65. package/dist/api/resources/sleep/client/Client.d.ts +12 -12
  66. package/dist/api/resources/sleep/client/Client.js +34 -34
  67. package/dist/api/resources/sleepCycle/client/Client.js +1 -1
  68. package/dist/api/resources/team/client/Client.js +7 -7
  69. package/dist/api/resources/testkit/client/Client.js +2 -2
  70. package/dist/api/resources/user/client/Client.js +18 -18
  71. package/dist/api/resources/vitals/client/Client.js +78 -78
  72. package/dist/api/resources/workouts/client/Client.d.ts +10 -10
  73. package/dist/api/resources/workouts/client/Client.js +34 -34
  74. package/dist/api/types/AggregateExprArg.d.ts +1 -1
  75. package/dist/api/types/AsleepAtValueMacroExpr.d.ts +7 -0
  76. package/dist/api/types/AsleepAtValueMacroExpr.js +5 -0
  77. package/dist/api/types/AwakeAtValueMacroExpr.d.ts +7 -0
  78. package/dist/api/types/AwakeAtValueMacroExpr.js +5 -0
  79. package/dist/api/types/QueryGroupByItem.d.ts +1 -1
  80. package/dist/api/types/QuerySelectItem.d.ts +1 -1
  81. package/dist/api/types/SleepColumnExprSleep.d.ts +2 -1
  82. package/dist/api/types/SleepColumnExprSleep.js +1 -0
  83. package/dist/api/types/index.d.ts +2 -0
  84. package/dist/api/types/index.js +2 -0
  85. package/dist/serialization/resources/index.d.ts +5 -5
  86. package/dist/serialization/resources/index.js +6 -6
  87. package/dist/serialization/types/AggregateExprArg.d.ts +3 -1
  88. package/dist/serialization/types/AggregateExprArg.js +4 -0
  89. package/dist/serialization/types/AsleepAtValueMacroExpr.d.ts +13 -0
  90. package/dist/serialization/types/AsleepAtValueMacroExpr.js +34 -0
  91. package/dist/serialization/types/AwakeAtValueMacroExpr.d.ts +13 -0
  92. package/dist/serialization/types/AwakeAtValueMacroExpr.js +34 -0
  93. package/dist/serialization/types/QueryGroupByItem.d.ts +3 -1
  94. package/dist/serialization/types/QueryGroupByItem.js +4 -0
  95. package/dist/serialization/types/QuerySelectItem.d.ts +3 -1
  96. package/dist/serialization/types/QuerySelectItem.js +4 -0
  97. package/dist/serialization/types/SleepColumnExprSleep.d.ts +1 -1
  98. package/dist/serialization/types/SleepColumnExprSleep.js +1 -0
  99. package/dist/serialization/types/index.d.ts +2 -0
  100. package/dist/serialization/types/index.js +2 -0
  101. package/dist/version.d.ts +1 -1
  102. package/dist/version.js +1 -1
  103. package/package.json +1 -1
  104. package/reference.md +1947 -1947
  105. package/serialization/resources/index.d.ts +5 -5
  106. package/serialization/resources/index.js +6 -6
  107. package/serialization/types/AggregateExprArg.d.ts +3 -1
  108. package/serialization/types/AggregateExprArg.js +4 -0
  109. package/serialization/types/AsleepAtValueMacroExpr.d.ts +13 -0
  110. package/serialization/types/AsleepAtValueMacroExpr.js +34 -0
  111. package/serialization/types/AwakeAtValueMacroExpr.d.ts +13 -0
  112. package/serialization/types/AwakeAtValueMacroExpr.js +34 -0
  113. package/serialization/types/QueryGroupByItem.d.ts +3 -1
  114. package/serialization/types/QueryGroupByItem.js +4 -0
  115. package/serialization/types/QuerySelectItem.d.ts +3 -1
  116. package/serialization/types/QuerySelectItem.js +4 -0
  117. package/serialization/types/SleepColumnExprSleep.d.ts +1 -1
  118. package/serialization/types/SleepColumnExprSleep.js +1 -0
  119. package/serialization/types/index.d.ts +2 -0
  120. package/serialization/types/index.js +2 -0
  121. package/version.d.ts +1 -1
  122. package/version.js +1 -1
@@ -1,21 +1,21 @@
1
- export * as labTests from "./labTests";
2
- export * from "./labTests/types";
3
1
  export * as link from "./link";
4
2
  export * from "./link/types";
3
+ export * as labTests from "./labTests";
4
+ export * from "./labTests/types";
5
5
  export * as aggregate from "./aggregate";
6
6
  export * from "./aggregate/types";
7
- export * as vitals from "./vitals";
8
7
  export * as user from "./user";
9
8
  export * as providers from "./providers";
10
9
  export * as team from "./team";
10
+ export * as vitals from "./vitals";
11
11
  export * as insurance from "./insurance";
12
+ export * from "./link/client/requests";
13
+ export * from "./user/client/requests";
12
14
  export * as testkit from "./testkit";
13
15
  export * from "./testkit/client/requests";
14
16
  export * from "./labTests/client/requests";
15
17
  export * as order from "./order";
16
18
  export * from "./order/client/requests";
17
- export * from "./link/client/requests";
18
- export * from "./user/client/requests";
19
19
  export * from "./insurance/client/requests";
20
20
  export * as payor from "./payor";
21
21
  export * from "./payor/client/requests";
@@ -26,25 +26,25 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
26
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.payor = exports.order = exports.testkit = exports.insurance = exports.team = exports.providers = exports.user = exports.vitals = exports.aggregate = exports.link = exports.labTests = void 0;
30
- exports.labTests = __importStar(require("./labTests"));
31
- __exportStar(require("./labTests/types"), exports);
29
+ exports.payor = exports.order = exports.testkit = exports.insurance = exports.vitals = exports.team = exports.providers = exports.user = exports.aggregate = exports.labTests = exports.link = void 0;
32
30
  exports.link = __importStar(require("./link"));
33
31
  __exportStar(require("./link/types"), exports);
32
+ exports.labTests = __importStar(require("./labTests"));
33
+ __exportStar(require("./labTests/types"), exports);
34
34
  exports.aggregate = __importStar(require("./aggregate"));
35
35
  __exportStar(require("./aggregate/types"), exports);
36
- exports.vitals = __importStar(require("./vitals"));
37
36
  exports.user = __importStar(require("./user"));
38
37
  exports.providers = __importStar(require("./providers"));
39
38
  exports.team = __importStar(require("./team"));
39
+ exports.vitals = __importStar(require("./vitals"));
40
40
  exports.insurance = __importStar(require("./insurance"));
41
+ __exportStar(require("./link/client/requests"), exports);
42
+ __exportStar(require("./user/client/requests"), exports);
41
43
  exports.testkit = __importStar(require("./testkit"));
42
44
  __exportStar(require("./testkit/client/requests"), exports);
43
45
  __exportStar(require("./labTests/client/requests"), exports);
44
46
  exports.order = __importStar(require("./order"));
45
47
  __exportStar(require("./order/client/requests"), exports);
46
- __exportStar(require("./link/client/requests"), exports);
47
- __exportStar(require("./user/client/requests"), exports);
48
48
  __exportStar(require("./insurance/client/requests"), exports);
49
49
  exports.payor = __importStar(require("./payor"));
50
50
  __exportStar(require("./payor/client/requests"), exports);
@@ -11,6 +11,8 @@ import { BodyColumnExpr } from "./BodyColumnExpr";
11
11
  import { MealColumnExpr } from "./MealColumnExpr";
12
12
  import { SleepScoreValueMacroExpr } from "./SleepScoreValueMacroExpr";
13
13
  import { ChronotypeValueMacroExpr } from "./ChronotypeValueMacroExpr";
14
+ import { AsleepAtValueMacroExpr } from "./AsleepAtValueMacroExpr";
15
+ import { AwakeAtValueMacroExpr } from "./AwakeAtValueMacroExpr";
14
16
  import { UnrecognizedValueMacroExpr } from "./UnrecognizedValueMacroExpr";
15
17
  import { DiscreteTimeseriesExpr } from "./DiscreteTimeseriesExpr";
16
18
  import { IntervalTimeseriesExpr } from "./IntervalTimeseriesExpr";
@@ -21,5 +23,5 @@ import { NoteTimeseriesExpr } from "./NoteTimeseriesExpr";
21
23
  import { IndexColumnExpr } from "./IndexColumnExpr";
22
24
  export declare const AggregateExprArg: core.serialization.Schema<serializers.AggregateExprArg.Raw, Vital.AggregateExprArg>;
23
25
  export declare namespace AggregateExprArg {
24
- type Raw = SleepColumnExpr.Raw | ActivityColumnExpr.Raw | WorkoutColumnExpr.Raw | BodyColumnExpr.Raw | MealColumnExpr.Raw | SleepScoreValueMacroExpr.Raw | ChronotypeValueMacroExpr.Raw | UnrecognizedValueMacroExpr.Raw | DiscreteTimeseriesExpr.Raw | IntervalTimeseriesExpr.Raw | BloodPressureTimeseriesExpr.Raw | TemperatureTimeseriesExpr.Raw | WorkoutDurationTimeseriesExpr.Raw | NoteTimeseriesExpr.Raw | IndexColumnExpr.Raw;
26
+ type Raw = SleepColumnExpr.Raw | ActivityColumnExpr.Raw | WorkoutColumnExpr.Raw | BodyColumnExpr.Raw | MealColumnExpr.Raw | SleepScoreValueMacroExpr.Raw | ChronotypeValueMacroExpr.Raw | AsleepAtValueMacroExpr.Raw | AwakeAtValueMacroExpr.Raw | UnrecognizedValueMacroExpr.Raw | DiscreteTimeseriesExpr.Raw | IntervalTimeseriesExpr.Raw | BloodPressureTimeseriesExpr.Raw | TemperatureTimeseriesExpr.Raw | WorkoutDurationTimeseriesExpr.Raw | NoteTimeseriesExpr.Raw | IndexColumnExpr.Raw;
25
27
  }
@@ -35,6 +35,8 @@ const BodyColumnExpr_1 = require("./BodyColumnExpr");
35
35
  const MealColumnExpr_1 = require("./MealColumnExpr");
36
36
  const SleepScoreValueMacroExpr_1 = require("./SleepScoreValueMacroExpr");
37
37
  const ChronotypeValueMacroExpr_1 = require("./ChronotypeValueMacroExpr");
38
+ const AsleepAtValueMacroExpr_1 = require("./AsleepAtValueMacroExpr");
39
+ const AwakeAtValueMacroExpr_1 = require("./AwakeAtValueMacroExpr");
38
40
  const UnrecognizedValueMacroExpr_1 = require("./UnrecognizedValueMacroExpr");
39
41
  const DiscreteTimeseriesExpr_1 = require("./DiscreteTimeseriesExpr");
40
42
  const IntervalTimeseriesExpr_1 = require("./IntervalTimeseriesExpr");
@@ -51,6 +53,8 @@ exports.AggregateExprArg = core.serialization.undiscriminatedUnion([
51
53
  MealColumnExpr_1.MealColumnExpr,
52
54
  SleepScoreValueMacroExpr_1.SleepScoreValueMacroExpr,
53
55
  ChronotypeValueMacroExpr_1.ChronotypeValueMacroExpr,
56
+ AsleepAtValueMacroExpr_1.AsleepAtValueMacroExpr,
57
+ AwakeAtValueMacroExpr_1.AwakeAtValueMacroExpr,
54
58
  UnrecognizedValueMacroExpr_1.UnrecognizedValueMacroExpr,
55
59
  DiscreteTimeseriesExpr_1.DiscreteTimeseriesExpr,
56
60
  IntervalTimeseriesExpr_1.IntervalTimeseriesExpr,
@@ -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
+ export declare const AsleepAtValueMacroExpr: core.serialization.ObjectSchema<serializers.AsleepAtValueMacroExpr.Raw, Vital.AsleepAtValueMacroExpr>;
8
+ export declare namespace AsleepAtValueMacroExpr {
9
+ interface Raw {
10
+ value_macro: "asleep_at";
11
+ version?: "automatic" | null;
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.AsleepAtValueMacroExpr = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.AsleepAtValueMacroExpr = core.serialization.object({
32
+ valueMacro: core.serialization.property("value_macro", core.serialization.stringLiteral("asleep_at")),
33
+ version: core.serialization.stringLiteral("automatic").optional(),
34
+ });
@@ -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
+ export declare const AwakeAtValueMacroExpr: core.serialization.ObjectSchema<serializers.AwakeAtValueMacroExpr.Raw, Vital.AwakeAtValueMacroExpr>;
8
+ export declare namespace AwakeAtValueMacroExpr {
9
+ interface Raw {
10
+ value_macro: "awake_at";
11
+ version?: "automatic" | null;
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.AwakeAtValueMacroExpr = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.AwakeAtValueMacroExpr = core.serialization.object({
32
+ valueMacro: core.serialization.property("value_macro", core.serialization.stringLiteral("awake_at")),
33
+ version: core.serialization.stringLiteral("automatic").optional(),
34
+ });
@@ -13,6 +13,8 @@ import { BodyColumnExpr } from "./BodyColumnExpr";
13
13
  import { MealColumnExpr } from "./MealColumnExpr";
14
14
  import { SleepScoreValueMacroExpr } from "./SleepScoreValueMacroExpr";
15
15
  import { ChronotypeValueMacroExpr } from "./ChronotypeValueMacroExpr";
16
+ import { AsleepAtValueMacroExpr } from "./AsleepAtValueMacroExpr";
17
+ import { AwakeAtValueMacroExpr } from "./AwakeAtValueMacroExpr";
16
18
  import { UnrecognizedValueMacroExpr } from "./UnrecognizedValueMacroExpr";
17
19
  import { DiscreteTimeseriesExpr } from "./DiscreteTimeseriesExpr";
18
20
  import { IntervalTimeseriesExpr } from "./IntervalTimeseriesExpr";
@@ -23,5 +25,5 @@ import { NoteTimeseriesExpr } from "./NoteTimeseriesExpr";
23
25
  import { SourceColumnExpr } from "./SourceColumnExpr";
24
26
  export declare const QueryGroupByItem: core.serialization.Schema<serializers.QueryGroupByItem.Raw, Vital.QueryGroupByItem>;
25
27
  export declare namespace QueryGroupByItem {
26
- type Raw = DateTruncExpr.Raw | DatePartExpr.Raw | SleepColumnExpr.Raw | ActivityColumnExpr.Raw | WorkoutColumnExpr.Raw | BodyColumnExpr.Raw | MealColumnExpr.Raw | SleepScoreValueMacroExpr.Raw | ChronotypeValueMacroExpr.Raw | UnrecognizedValueMacroExpr.Raw | DiscreteTimeseriesExpr.Raw | IntervalTimeseriesExpr.Raw | BloodPressureTimeseriesExpr.Raw | TemperatureTimeseriesExpr.Raw | WorkoutDurationTimeseriesExpr.Raw | NoteTimeseriesExpr.Raw | SourceColumnExpr.Raw;
28
+ type Raw = DateTruncExpr.Raw | DatePartExpr.Raw | SleepColumnExpr.Raw | ActivityColumnExpr.Raw | WorkoutColumnExpr.Raw | BodyColumnExpr.Raw | MealColumnExpr.Raw | SleepScoreValueMacroExpr.Raw | ChronotypeValueMacroExpr.Raw | AsleepAtValueMacroExpr.Raw | AwakeAtValueMacroExpr.Raw | UnrecognizedValueMacroExpr.Raw | DiscreteTimeseriesExpr.Raw | IntervalTimeseriesExpr.Raw | BloodPressureTimeseriesExpr.Raw | TemperatureTimeseriesExpr.Raw | WorkoutDurationTimeseriesExpr.Raw | NoteTimeseriesExpr.Raw | SourceColumnExpr.Raw;
27
29
  }
@@ -37,6 +37,8 @@ const BodyColumnExpr_1 = require("./BodyColumnExpr");
37
37
  const MealColumnExpr_1 = require("./MealColumnExpr");
38
38
  const SleepScoreValueMacroExpr_1 = require("./SleepScoreValueMacroExpr");
39
39
  const ChronotypeValueMacroExpr_1 = require("./ChronotypeValueMacroExpr");
40
+ const AsleepAtValueMacroExpr_1 = require("./AsleepAtValueMacroExpr");
41
+ const AwakeAtValueMacroExpr_1 = require("./AwakeAtValueMacroExpr");
40
42
  const UnrecognizedValueMacroExpr_1 = require("./UnrecognizedValueMacroExpr");
41
43
  const DiscreteTimeseriesExpr_1 = require("./DiscreteTimeseriesExpr");
42
44
  const IntervalTimeseriesExpr_1 = require("./IntervalTimeseriesExpr");
@@ -55,6 +57,8 @@ exports.QueryGroupByItem = core.serialization.undiscriminatedUnion([
55
57
  MealColumnExpr_1.MealColumnExpr,
56
58
  SleepScoreValueMacroExpr_1.SleepScoreValueMacroExpr,
57
59
  ChronotypeValueMacroExpr_1.ChronotypeValueMacroExpr,
60
+ AsleepAtValueMacroExpr_1.AsleepAtValueMacroExpr,
61
+ AwakeAtValueMacroExpr_1.AwakeAtValueMacroExpr,
58
62
  UnrecognizedValueMacroExpr_1.UnrecognizedValueMacroExpr,
59
63
  DiscreteTimeseriesExpr_1.DiscreteTimeseriesExpr,
60
64
  IntervalTimeseriesExpr_1.IntervalTimeseriesExpr,
@@ -13,6 +13,8 @@ import { BodyColumnExpr } from "./BodyColumnExpr";
13
13
  import { MealColumnExpr } from "./MealColumnExpr";
14
14
  import { SleepScoreValueMacroExpr } from "./SleepScoreValueMacroExpr";
15
15
  import { ChronotypeValueMacroExpr } from "./ChronotypeValueMacroExpr";
16
+ import { AsleepAtValueMacroExpr } from "./AsleepAtValueMacroExpr";
17
+ import { AwakeAtValueMacroExpr } from "./AwakeAtValueMacroExpr";
16
18
  import { UnrecognizedValueMacroExpr } from "./UnrecognizedValueMacroExpr";
17
19
  import { DiscreteTimeseriesExpr } from "./DiscreteTimeseriesExpr";
18
20
  import { IntervalTimeseriesExpr } from "./IntervalTimeseriesExpr";
@@ -24,5 +26,5 @@ import { IndexColumnExpr } from "./IndexColumnExpr";
24
26
  import { SourceColumnExpr } from "./SourceColumnExpr";
25
27
  export declare const QuerySelectItem: core.serialization.Schema<serializers.QuerySelectItem.Raw, Vital.QuerySelectItem>;
26
28
  export declare namespace QuerySelectItem {
27
- type Raw = AggregateExpr.Raw | GroupKeyColumnExpr.Raw | SleepColumnExpr.Raw | ActivityColumnExpr.Raw | WorkoutColumnExpr.Raw | BodyColumnExpr.Raw | MealColumnExpr.Raw | SleepScoreValueMacroExpr.Raw | ChronotypeValueMacroExpr.Raw | UnrecognizedValueMacroExpr.Raw | DiscreteTimeseriesExpr.Raw | IntervalTimeseriesExpr.Raw | BloodPressureTimeseriesExpr.Raw | TemperatureTimeseriesExpr.Raw | WorkoutDurationTimeseriesExpr.Raw | NoteTimeseriesExpr.Raw | IndexColumnExpr.Raw | SourceColumnExpr.Raw;
29
+ type Raw = AggregateExpr.Raw | GroupKeyColumnExpr.Raw | SleepColumnExpr.Raw | ActivityColumnExpr.Raw | WorkoutColumnExpr.Raw | BodyColumnExpr.Raw | MealColumnExpr.Raw | SleepScoreValueMacroExpr.Raw | ChronotypeValueMacroExpr.Raw | AsleepAtValueMacroExpr.Raw | AwakeAtValueMacroExpr.Raw | UnrecognizedValueMacroExpr.Raw | DiscreteTimeseriesExpr.Raw | IntervalTimeseriesExpr.Raw | BloodPressureTimeseriesExpr.Raw | TemperatureTimeseriesExpr.Raw | WorkoutDurationTimeseriesExpr.Raw | NoteTimeseriesExpr.Raw | IndexColumnExpr.Raw | SourceColumnExpr.Raw;
28
30
  }
@@ -37,6 +37,8 @@ const BodyColumnExpr_1 = require("./BodyColumnExpr");
37
37
  const MealColumnExpr_1 = require("./MealColumnExpr");
38
38
  const SleepScoreValueMacroExpr_1 = require("./SleepScoreValueMacroExpr");
39
39
  const ChronotypeValueMacroExpr_1 = require("./ChronotypeValueMacroExpr");
40
+ const AsleepAtValueMacroExpr_1 = require("./AsleepAtValueMacroExpr");
41
+ const AwakeAtValueMacroExpr_1 = require("./AwakeAtValueMacroExpr");
40
42
  const UnrecognizedValueMacroExpr_1 = require("./UnrecognizedValueMacroExpr");
41
43
  const DiscreteTimeseriesExpr_1 = require("./DiscreteTimeseriesExpr");
42
44
  const IntervalTimeseriesExpr_1 = require("./IntervalTimeseriesExpr");
@@ -56,6 +58,8 @@ exports.QuerySelectItem = core.serialization.undiscriminatedUnion([
56
58
  MealColumnExpr_1.MealColumnExpr,
57
59
  SleepScoreValueMacroExpr_1.SleepScoreValueMacroExpr,
58
60
  ChronotypeValueMacroExpr_1.ChronotypeValueMacroExpr,
61
+ AsleepAtValueMacroExpr_1.AsleepAtValueMacroExpr,
62
+ AwakeAtValueMacroExpr_1.AwakeAtValueMacroExpr,
59
63
  UnrecognizedValueMacroExpr_1.UnrecognizedValueMacroExpr,
60
64
  DiscreteTimeseriesExpr_1.DiscreteTimeseriesExpr,
61
65
  IntervalTimeseriesExpr_1.IntervalTimeseriesExpr,
@@ -6,5 +6,5 @@ import * as Vital from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  export declare const SleepColumnExprSleep: core.serialization.Schema<serializers.SleepColumnExprSleep.Raw, Vital.SleepColumnExprSleep>;
8
8
  export declare namespace SleepColumnExprSleep {
9
- type Raw = "session_start" | "session_end" | "state" | "type" | "duration_second" | "stage_asleep_second" | "stage_awake_second" | "stage_light_second" | "stage_rem_second" | "stage_deep_second" | "stage_unknown_second" | "latency_second" | "heart_rate_minimum" | "heart_rate_mean" | "heart_rate_maximum" | "heart_rate_dip" | "heart_rate_resting" | "efficiency" | "hrv_mean_rmssd" | "hrv_mean_sdnn" | "skin_temperature" | "skin_temperature_delta" | "respiratory_rate" | "score" | "source_type" | "source_provider" | "source_app_id" | "source_device_id" | "time_zone";
9
+ type Raw = "id" | "session_start" | "session_end" | "state" | "type" | "duration_second" | "stage_asleep_second" | "stage_awake_second" | "stage_light_second" | "stage_rem_second" | "stage_deep_second" | "stage_unknown_second" | "latency_second" | "heart_rate_minimum" | "heart_rate_mean" | "heart_rate_maximum" | "heart_rate_dip" | "heart_rate_resting" | "efficiency" | "hrv_mean_rmssd" | "hrv_mean_sdnn" | "skin_temperature" | "skin_temperature_delta" | "respiratory_rate" | "score" | "source_type" | "source_provider" | "source_app_id" | "source_device_id" | "time_zone";
10
10
  }
@@ -29,6 +29,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.SleepColumnExprSleep = void 0;
30
30
  const core = __importStar(require("../../core"));
31
31
  exports.SleepColumnExprSleep = core.serialization.enum_([
32
+ "id",
32
33
  "session_start",
33
34
  "session_end",
34
35
  "state",
@@ -23,9 +23,11 @@ export * from "./AppointmentServiceType";
23
23
  export * from "./AppointmentStatus";
24
24
  export * from "./AppointmentType";
25
25
  export * from "./AreaInfo";
26
+ export * from "./AsleepAtValueMacroExpr";
26
27
  export * from "./AttemptStatus";
27
28
  export * from "./AuthType";
28
29
  export * from "./Availability";
30
+ export * from "./AwakeAtValueMacroExpr";
29
31
  export * from "./BasalBodyTemperatureEntry";
30
32
  export * from "./Billing";
31
33
  export * from "./BiomarkerResult";
@@ -39,9 +39,11 @@ __exportStar(require("./AppointmentServiceType"), exports);
39
39
  __exportStar(require("./AppointmentStatus"), exports);
40
40
  __exportStar(require("./AppointmentType"), exports);
41
41
  __exportStar(require("./AreaInfo"), exports);
42
+ __exportStar(require("./AsleepAtValueMacroExpr"), exports);
42
43
  __exportStar(require("./AttemptStatus"), exports);
43
44
  __exportStar(require("./AuthType"), exports);
44
45
  __exportStar(require("./Availability"), exports);
46
+ __exportStar(require("./AwakeAtValueMacroExpr"), exports);
45
47
  __exportStar(require("./BasalBodyTemperatureEntry"), exports);
46
48
  __exportStar(require("./Billing"), exports);
47
49
  __exportStar(require("./BiomarkerResult"), exports);
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "3.1.381";
1
+ export declare const SDK_VERSION = "3.1.382";
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.381";
4
+ exports.SDK_VERSION = "3.1.382";