@tryvital/vital-node 3.1.137 → 3.1.139

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 (170) hide show
  1. package/api/resources/activity/client/Client.d.ts +2 -2
  2. package/api/resources/activity/client/Client.js +4 -4
  3. package/api/resources/aggregate/client/Client.d.ts +3 -3
  4. package/api/resources/aggregate/client/Client.js +11 -6
  5. package/api/resources/aggregate/client/requests/{Query.d.ts → QueryBatch.d.ts} +4 -4
  6. package/api/resources/aggregate/client/requests/index.d.ts +1 -1
  7. package/{dist/api/resources/aggregate/types/QueryTimeframe.d.ts → api/resources/aggregate/types/QueryBatchTimeframe.d.ts} +1 -1
  8. package/api/resources/aggregate/types/index.d.ts +1 -1
  9. package/api/resources/aggregate/types/index.js +1 -1
  10. package/api/resources/body/client/Client.d.ts +2 -2
  11. package/api/resources/body/client/Client.js +4 -4
  12. package/api/resources/devices/client/Client.js +1 -1
  13. package/api/resources/insurance/client/Client.js +2 -2
  14. package/api/resources/introspect/client/Client.js +2 -2
  15. package/api/resources/labTests/client/Client.js +34 -34
  16. package/api/resources/link/client/Client.js +14 -14
  17. package/api/resources/meal/client/Client.js +1 -1
  18. package/api/resources/menstrualCycle/client/Client.js +1 -1
  19. package/api/resources/profile/client/Client.d.ts +2 -2
  20. package/api/resources/profile/client/Client.js +4 -4
  21. package/api/resources/providers/client/Client.js +1 -1
  22. package/api/resources/sleep/client/Client.d.ts +3 -3
  23. package/api/resources/sleep/client/Client.js +7 -7
  24. package/api/resources/sleepCycle/client/Client.d.ts +1 -1
  25. package/api/resources/sleepCycle/client/Client.js +2 -2
  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 +16 -16
  29. package/api/resources/vitals/client/Client.js +58 -58
  30. package/api/resources/workouts/client/Client.d.ts +2 -2
  31. package/api/resources/workouts/client/Client.js +5 -5
  32. package/api/types/{QueryInstructionGroupByItem.d.ts → AggregationResponse.d.ts} +3 -1
  33. package/api/types/AggregationResult.d.ts +7 -0
  34. package/api/types/ClientFacingLabLocation.d.ts +1 -0
  35. package/api/types/ClientFacingResource.d.ts +2 -1
  36. package/api/types/ClientFacingResource.js +1 -0
  37. package/api/types/FailureType.d.ts +2 -1
  38. package/api/types/FailureType.js +1 -0
  39. package/api/types/IndexColumnExprIndex.d.ts +2 -1
  40. package/api/types/IndexColumnExprIndex.js +1 -0
  41. package/api/types/{QueryInstruction.d.ts → Query.d.ts} +3 -3
  42. package/{dist/api/types/QueryInstructionGroupByItem.d.ts → api/types/QueryGroupByItem.d.ts} +1 -1
  43. package/api/types/QuerySelectItem.d.ts +5 -0
  44. package/api/types/index.d.ts +5 -3
  45. package/api/types/index.js +5 -3
  46. package/dist/api/resources/activity/client/Client.d.ts +2 -2
  47. package/dist/api/resources/activity/client/Client.js +4 -4
  48. package/dist/api/resources/aggregate/client/Client.d.ts +3 -3
  49. package/dist/api/resources/aggregate/client/Client.js +11 -6
  50. package/dist/api/resources/aggregate/client/requests/{Query.d.ts → QueryBatch.d.ts} +4 -4
  51. package/dist/api/resources/aggregate/client/requests/index.d.ts +1 -1
  52. package/{api/resources/aggregate/types/QueryTimeframe.d.ts → dist/api/resources/aggregate/types/QueryBatchTimeframe.d.ts} +1 -1
  53. package/dist/api/resources/aggregate/types/index.d.ts +1 -1
  54. package/dist/api/resources/aggregate/types/index.js +1 -1
  55. package/dist/api/resources/body/client/Client.d.ts +2 -2
  56. package/dist/api/resources/body/client/Client.js +4 -4
  57. package/dist/api/resources/devices/client/Client.js +1 -1
  58. package/dist/api/resources/insurance/client/Client.js +2 -2
  59. package/dist/api/resources/introspect/client/Client.js +2 -2
  60. package/dist/api/resources/labTests/client/Client.js +34 -34
  61. package/dist/api/resources/link/client/Client.js +14 -14
  62. package/dist/api/resources/meal/client/Client.js +1 -1
  63. package/dist/api/resources/menstrualCycle/client/Client.js +1 -1
  64. package/dist/api/resources/profile/client/Client.d.ts +2 -2
  65. package/dist/api/resources/profile/client/Client.js +4 -4
  66. package/dist/api/resources/providers/client/Client.js +1 -1
  67. package/dist/api/resources/sleep/client/Client.d.ts +3 -3
  68. package/dist/api/resources/sleep/client/Client.js +7 -7
  69. package/dist/api/resources/sleepCycle/client/Client.d.ts +1 -1
  70. package/dist/api/resources/sleepCycle/client/Client.js +2 -2
  71. package/dist/api/resources/team/client/Client.js +7 -7
  72. package/dist/api/resources/testkit/client/Client.js +2 -2
  73. package/dist/api/resources/user/client/Client.js +16 -16
  74. package/dist/api/resources/vitals/client/Client.js +58 -58
  75. package/dist/api/resources/workouts/client/Client.d.ts +2 -2
  76. package/dist/api/resources/workouts/client/Client.js +5 -5
  77. package/dist/api/types/AggregationResponse.d.ts +7 -0
  78. package/dist/api/types/AggregationResult.d.ts +7 -0
  79. package/dist/api/types/AggregationResult.js +5 -0
  80. package/dist/api/types/ClientFacingLabLocation.d.ts +1 -0
  81. package/dist/api/types/ClientFacingResource.d.ts +2 -1
  82. package/dist/api/types/ClientFacingResource.js +1 -0
  83. package/dist/api/types/FailureType.d.ts +2 -1
  84. package/dist/api/types/FailureType.js +1 -0
  85. package/dist/api/types/IndexColumnExprIndex.d.ts +2 -1
  86. package/dist/api/types/IndexColumnExprIndex.js +1 -0
  87. package/dist/api/types/{QueryInstruction.d.ts → Query.d.ts} +3 -3
  88. package/dist/api/types/Query.js +5 -0
  89. package/dist/api/types/QueryGroupByItem.d.ts +5 -0
  90. package/dist/api/types/QueryGroupByItem.js +5 -0
  91. package/dist/api/types/QuerySelectItem.d.ts +5 -0
  92. package/dist/api/types/QuerySelectItem.js +5 -0
  93. package/dist/api/types/index.d.ts +5 -3
  94. package/dist/api/types/index.js +5 -3
  95. package/dist/serialization/resources/aggregate/client/requests/{Query.d.ts → QueryBatch.d.ts} +6 -6
  96. package/dist/serialization/resources/aggregate/client/requests/{Query.js → QueryBatch.js} +6 -6
  97. package/dist/serialization/resources/aggregate/client/requests/index.d.ts +1 -1
  98. package/dist/serialization/resources/aggregate/client/requests/index.js +3 -3
  99. package/{serialization/resources/aggregate/types/QueryTimeframe.d.ts → dist/serialization/resources/aggregate/types/QueryBatchTimeframe.d.ts} +2 -2
  100. package/{serialization/resources/aggregate/types/QueryTimeframe.js → dist/serialization/resources/aggregate/types/QueryBatchTimeframe.js} +2 -2
  101. package/dist/serialization/resources/aggregate/types/index.d.ts +1 -1
  102. package/dist/serialization/resources/aggregate/types/index.js +1 -1
  103. package/dist/serialization/types/AggregationResponse.d.ts +13 -0
  104. package/dist/serialization/types/AggregationResponse.js +34 -0
  105. package/dist/serialization/types/AggregationResult.d.ts +12 -0
  106. package/dist/serialization/types/AggregationResult.js +33 -0
  107. package/dist/serialization/types/ClientFacingLabLocation.d.ts +2 -0
  108. package/dist/serialization/types/ClientFacingLabLocation.js +2 -0
  109. package/dist/serialization/types/ClientFacingResource.d.ts +1 -1
  110. package/dist/serialization/types/ClientFacingResource.js +1 -0
  111. package/dist/serialization/types/FailureType.d.ts +1 -1
  112. package/dist/serialization/types/FailureType.js +1 -0
  113. package/dist/serialization/types/IndexColumnExprIndex.d.ts +1 -1
  114. package/dist/serialization/types/IndexColumnExprIndex.js +1 -1
  115. package/dist/serialization/types/Query.d.ts +16 -0
  116. package/dist/serialization/types/{QueryInstruction.js → Query.js} +6 -6
  117. package/{serialization/types/QueryInstructionGroupByItem.d.ts → dist/serialization/types/QueryGroupByItem.d.ts} +2 -2
  118. package/{serialization/types/QueryInstructionGroupByItem.js → dist/serialization/types/QueryGroupByItem.js} +2 -2
  119. package/dist/serialization/types/{QueryInstructionSelectItem.d.ts → QuerySelectItem.d.ts} +2 -2
  120. package/dist/serialization/types/{QueryInstructionSelectItem.js → QuerySelectItem.js} +2 -2
  121. package/dist/serialization/types/index.d.ts +5 -3
  122. package/dist/serialization/types/index.js +5 -3
  123. package/dist/version.d.ts +1 -1
  124. package/dist/version.js +1 -1
  125. package/package.json +1 -1
  126. package/reference.md +15 -15
  127. package/serialization/resources/aggregate/client/requests/{Query.d.ts → QueryBatch.d.ts} +6 -6
  128. package/serialization/resources/aggregate/client/requests/{Query.js → QueryBatch.js} +6 -6
  129. package/serialization/resources/aggregate/client/requests/index.d.ts +1 -1
  130. package/serialization/resources/aggregate/client/requests/index.js +3 -3
  131. package/{dist/serialization/resources/aggregate/types/QueryTimeframe.d.ts → serialization/resources/aggregate/types/QueryBatchTimeframe.d.ts} +2 -2
  132. package/{dist/serialization/resources/aggregate/types/QueryTimeframe.js → serialization/resources/aggregate/types/QueryBatchTimeframe.js} +2 -2
  133. package/serialization/resources/aggregate/types/index.d.ts +1 -1
  134. package/serialization/resources/aggregate/types/index.js +1 -1
  135. package/serialization/types/AggregationResponse.d.ts +13 -0
  136. package/serialization/types/AggregationResponse.js +34 -0
  137. package/serialization/types/AggregationResult.d.ts +12 -0
  138. package/serialization/types/AggregationResult.js +33 -0
  139. package/serialization/types/ClientFacingLabLocation.d.ts +2 -0
  140. package/serialization/types/ClientFacingLabLocation.js +2 -0
  141. package/serialization/types/ClientFacingResource.d.ts +1 -1
  142. package/serialization/types/ClientFacingResource.js +1 -0
  143. package/serialization/types/FailureType.d.ts +1 -1
  144. package/serialization/types/FailureType.js +1 -0
  145. package/serialization/types/IndexColumnExprIndex.d.ts +1 -1
  146. package/serialization/types/IndexColumnExprIndex.js +1 -1
  147. package/serialization/types/Query.d.ts +16 -0
  148. package/serialization/types/{QueryInstruction.js → Query.js} +6 -6
  149. package/{dist/serialization/types/QueryInstructionGroupByItem.d.ts → serialization/types/QueryGroupByItem.d.ts} +2 -2
  150. package/{dist/serialization/types/QueryInstructionGroupByItem.js → serialization/types/QueryGroupByItem.js} +2 -2
  151. package/serialization/types/{QueryInstructionSelectItem.d.ts → QuerySelectItem.d.ts} +2 -2
  152. package/serialization/types/{QueryInstructionSelectItem.js → QuerySelectItem.js} +2 -2
  153. package/serialization/types/index.d.ts +5 -3
  154. package/serialization/types/index.js +5 -3
  155. package/version.d.ts +1 -1
  156. package/version.js +1 -1
  157. package/api/types/QueryInstructionSelectItem.d.ts +0 -5
  158. package/dist/api/types/QueryInstructionSelectItem.d.ts +0 -5
  159. package/dist/serialization/types/QueryInstruction.d.ts +0 -16
  160. package/serialization/types/QueryInstruction.d.ts +0 -16
  161. /package/api/resources/aggregate/client/requests/{Query.js → QueryBatch.js} +0 -0
  162. /package/api/resources/aggregate/types/{QueryTimeframe.js → QueryBatchTimeframe.js} +0 -0
  163. /package/api/types/{QueryInstruction.js → AggregationResponse.js} +0 -0
  164. /package/api/types/{QueryInstructionGroupByItem.js → AggregationResult.js} +0 -0
  165. /package/{dist/api/resources/aggregate/client/requests → api/types}/Query.js +0 -0
  166. /package/api/types/{QueryInstructionSelectItem.js → QueryGroupByItem.js} +0 -0
  167. /package/{dist/api/resources/aggregate/types/QueryTimeframe.js → api/types/QuerySelectItem.js} +0 -0
  168. /package/dist/api/{types/QueryInstruction.js → resources/aggregate/client/requests/QueryBatch.js} +0 -0
  169. /package/dist/api/{types/QueryInstructionGroupByItem.js → resources/aggregate/types/QueryBatchTimeframe.js} +0 -0
  170. /package/dist/api/types/{QueryInstructionSelectItem.js → AggregationResponse.js} +0 -0
@@ -22,6 +22,8 @@ __exportStar(require("./Address"), exports);
22
22
  __exportStar(require("./AggregateExprArg"), exports);
23
23
  __exportStar(require("./AggregateExprFunc"), exports);
24
24
  __exportStar(require("./AggregateExpr"), exports);
25
+ __exportStar(require("./AggregationResponse"), exports);
26
+ __exportStar(require("./AggregationResult"), exports);
25
27
  __exportStar(require("./AllowedRadius"), exports);
26
28
  __exportStar(require("./Answer"), exports);
27
29
  __exportStar(require("./AoE"), exports);
@@ -272,12 +274,12 @@ __exportStar(require("./ProviderLinkResponse"), exports);
272
274
  __exportStar(require("./ProviderMfaRequestMethod"), exports);
273
275
  __exportStar(require("./ProviderMfaRequest"), exports);
274
276
  __exportStar(require("./Providers"), exports);
277
+ __exportStar(require("./QuerySelectItem"), exports);
278
+ __exportStar(require("./QueryGroupByItem"), exports);
279
+ __exportStar(require("./Query"), exports);
275
280
  __exportStar(require("./QueryConfigWeekStartsOn"), exports);
276
281
  __exportStar(require("./QueryConfigProviderPriorityOverridesItem"), exports);
277
282
  __exportStar(require("./QueryConfig"), exports);
278
- __exportStar(require("./QueryInstructionSelectItem"), exports);
279
- __exportStar(require("./QueryInstructionGroupByItem"), exports);
280
- __exportStar(require("./QueryInstruction"), exports);
281
283
  __exportStar(require("./Question"), exports);
282
284
  __exportStar(require("./QuestionType"), exports);
283
285
  __exportStar(require("./RawActivity"), exports);
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "3.1.137";
1
+ export declare const SDK_VERSION = "3.1.139";
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.137";
4
+ exports.SDK_VERSION = "3.1.139";
@@ -1,5 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Vital from "../index";
5
- export declare type QueryInstructionSelectItem = Vital.AggregateExpr | Vital.SleepColumnExpr | Vital.ActivityColumnExpr | Vital.WorkoutColumnExpr | Vital.BodyColumnExpr | Vital.IndexColumnExpr | Vital.GroupKeyColumnExpr | Vital.SleepScoreValueMacroExpr | Vital.ChronotypeValueMacroExpr | Vital.UnrecognizedValueMacroExpr;
@@ -1,5 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Vital from "../index";
5
- export declare type QueryInstructionSelectItem = Vital.AggregateExpr | Vital.SleepColumnExpr | Vital.ActivityColumnExpr | Vital.WorkoutColumnExpr | Vital.BodyColumnExpr | Vital.IndexColumnExpr | Vital.GroupKeyColumnExpr | Vital.SleepScoreValueMacroExpr | Vital.ChronotypeValueMacroExpr | Vital.UnrecognizedValueMacroExpr;
@@ -1,16 +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 { QueryInstructionSelectItem } from "./QueryInstructionSelectItem";
8
- import { QueryInstructionGroupByItem } from "./QueryInstructionGroupByItem";
9
- export declare const QueryInstruction: core.serialization.ObjectSchema<serializers.QueryInstruction.Raw, Vital.QueryInstruction>;
10
- export declare namespace QueryInstruction {
11
- interface Raw {
12
- select: QueryInstructionSelectItem.Raw[];
13
- group_by?: QueryInstructionGroupByItem.Raw[] | null;
14
- split_by_source?: boolean | null;
15
- }
16
- }
@@ -1,16 +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 { QueryInstructionSelectItem } from "./QueryInstructionSelectItem";
8
- import { QueryInstructionGroupByItem } from "./QueryInstructionGroupByItem";
9
- export declare const QueryInstruction: core.serialization.ObjectSchema<serializers.QueryInstruction.Raw, Vital.QueryInstruction>;
10
- export declare namespace QueryInstruction {
11
- interface Raw {
12
- select: QueryInstructionSelectItem.Raw[];
13
- group_by?: QueryInstructionGroupByItem.Raw[] | null;
14
- split_by_source?: boolean | null;
15
- }
16
- }