@tryvital/vital-node 3.1.42 → 3.1.44

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 (221) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +21 -16
  3. package/api/resources/activity/client/Client.js +2 -2
  4. package/api/resources/body/client/Client.js +2 -2
  5. package/api/resources/devices/client/Client.js +1 -1
  6. package/api/resources/index.d.ts +2 -0
  7. package/api/resources/index.js +3 -1
  8. package/api/resources/insurance/client/Client.js +2 -2
  9. package/api/resources/introspect/client/Client.js +2 -2
  10. package/api/resources/labTests/client/Client.js +27 -27
  11. package/api/resources/link/client/Client.js +14 -14
  12. package/api/resources/meal/client/Client.js +1 -1
  13. package/api/resources/menstrualCycle/client/Client.d.ts +32 -0
  14. package/api/resources/menstrualCycle/client/Client.js +127 -0
  15. package/api/resources/menstrualCycle/client/index.d.ts +1 -0
  16. package/api/resources/menstrualCycle/client/index.js +17 -0
  17. package/api/resources/menstrualCycle/client/requests/MenstrualCycleGetRequest.d.ts +17 -0
  18. package/api/resources/menstrualCycle/client/requests/MenstrualCycleGetRequest.js +5 -0
  19. package/api/resources/menstrualCycle/client/requests/index.d.ts +1 -0
  20. package/api/resources/menstrualCycle/client/requests/index.js +2 -0
  21. package/api/resources/menstrualCycle/index.d.ts +1 -0
  22. package/api/resources/menstrualCycle/index.js +17 -0
  23. package/api/resources/profile/client/Client.js +2 -2
  24. package/api/resources/providers/client/Client.js +1 -1
  25. package/api/resources/sleep/client/Client.js +4 -4
  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 +12 -12
  29. package/api/resources/vitals/client/Client.js +52 -52
  30. package/api/resources/workouts/client/Client.js +3 -3
  31. package/api/types/BasalBodyTemperatureEntry.d.ts +7 -0
  32. package/api/types/BasalBodyTemperatureEntry.js +5 -0
  33. package/api/types/CervicalMucusEntry.d.ts +8 -0
  34. package/api/types/CervicalMucusEntry.js +5 -0
  35. package/api/types/CervicalMucusEntryQuality.d.ts +11 -0
  36. package/api/types/CervicalMucusEntryQuality.js +13 -0
  37. package/api/types/ContraceptiveEntry.d.ts +8 -0
  38. package/api/types/ContraceptiveEntry.js +5 -0
  39. package/api/types/ContraceptiveEntryType.d.ts +13 -0
  40. package/api/types/ContraceptiveEntryType.js +15 -0
  41. package/api/types/DetectedDeviationEntry.d.ts +8 -0
  42. package/api/types/DetectedDeviationEntry.js +5 -0
  43. package/api/types/DetectedDeviationEntryDeviation.d.ts +10 -0
  44. package/api/types/DetectedDeviationEntryDeviation.js +12 -0
  45. package/api/types/HomePregnancyTestEntry.d.ts +8 -0
  46. package/api/types/HomePregnancyTestEntry.js +5 -0
  47. package/api/types/HomePregnancyTestEntryTestResult.d.ts +9 -0
  48. package/api/types/HomePregnancyTestEntryTestResult.js +11 -0
  49. package/api/types/HomeProgesteroneTestEntry.d.ts +8 -0
  50. package/api/types/HomeProgesteroneTestEntry.js +5 -0
  51. package/api/types/HomeProgesteroneTestEntryTestResult.d.ts +9 -0
  52. package/api/types/HomeProgesteroneTestEntryTestResult.js +11 -0
  53. package/api/types/IntermenstrualBleedingEntry.d.ts +6 -0
  54. package/api/types/IntermenstrualBleedingEntry.js +5 -0
  55. package/api/types/MenstrualCycle.d.ts +21 -0
  56. package/api/types/MenstrualCycle.js +5 -0
  57. package/api/types/MenstrualCycleResponse.d.ts +7 -0
  58. package/api/types/MenstrualCycleResponse.js +5 -0
  59. package/api/types/MenstrualFlowEntry.d.ts +8 -0
  60. package/api/types/MenstrualFlowEntry.js +5 -0
  61. package/api/types/MenstrualFlowEntryFlow.d.ts +11 -0
  62. package/api/types/MenstrualFlowEntryFlow.js +13 -0
  63. package/api/types/OvulationTestEntry.d.ts +8 -0
  64. package/api/types/OvulationTestEntry.js +5 -0
  65. package/api/types/OvulationTestEntryTestResult.d.ts +10 -0
  66. package/api/types/OvulationTestEntryTestResult.js +12 -0
  67. package/api/types/SexualActivityEntry.d.ts +7 -0
  68. package/api/types/SexualActivityEntry.js +5 -0
  69. package/api/types/index.d.ts +19 -0
  70. package/api/types/index.js +19 -0
  71. package/dist/Client.d.ts +3 -0
  72. package/dist/Client.js +21 -16
  73. package/dist/api/resources/activity/client/Client.js +2 -2
  74. package/dist/api/resources/body/client/Client.js +2 -2
  75. package/dist/api/resources/devices/client/Client.js +1 -1
  76. package/dist/api/resources/index.d.ts +2 -0
  77. package/dist/api/resources/index.js +3 -1
  78. package/dist/api/resources/insurance/client/Client.js +2 -2
  79. package/dist/api/resources/introspect/client/Client.js +2 -2
  80. package/dist/api/resources/labTests/client/Client.js +27 -27
  81. package/dist/api/resources/link/client/Client.js +14 -14
  82. package/dist/api/resources/meal/client/Client.js +1 -1
  83. package/dist/api/resources/menstrualCycle/client/Client.d.ts +32 -0
  84. package/dist/api/resources/menstrualCycle/client/Client.js +127 -0
  85. package/dist/api/resources/menstrualCycle/client/index.d.ts +1 -0
  86. package/dist/api/resources/menstrualCycle/client/index.js +17 -0
  87. package/dist/api/resources/menstrualCycle/client/requests/MenstrualCycleGetRequest.d.ts +17 -0
  88. package/dist/api/resources/menstrualCycle/client/requests/MenstrualCycleGetRequest.js +5 -0
  89. package/dist/api/resources/menstrualCycle/client/requests/index.d.ts +1 -0
  90. package/dist/api/resources/menstrualCycle/client/requests/index.js +2 -0
  91. package/dist/api/resources/menstrualCycle/index.d.ts +1 -0
  92. package/dist/api/resources/menstrualCycle/index.js +17 -0
  93. package/dist/api/resources/profile/client/Client.js +2 -2
  94. package/dist/api/resources/providers/client/Client.js +1 -1
  95. package/dist/api/resources/sleep/client/Client.js +4 -4
  96. package/dist/api/resources/team/client/Client.js +7 -7
  97. package/dist/api/resources/testkit/client/Client.js +2 -2
  98. package/dist/api/resources/user/client/Client.js +12 -12
  99. package/dist/api/resources/vitals/client/Client.js +52 -52
  100. package/dist/api/resources/workouts/client/Client.js +3 -3
  101. package/dist/api/types/BasalBodyTemperatureEntry.d.ts +7 -0
  102. package/dist/api/types/BasalBodyTemperatureEntry.js +5 -0
  103. package/dist/api/types/CervicalMucusEntry.d.ts +8 -0
  104. package/dist/api/types/CervicalMucusEntry.js +5 -0
  105. package/dist/api/types/CervicalMucusEntryQuality.d.ts +11 -0
  106. package/dist/api/types/CervicalMucusEntryQuality.js +13 -0
  107. package/dist/api/types/ContraceptiveEntry.d.ts +8 -0
  108. package/dist/api/types/ContraceptiveEntry.js +5 -0
  109. package/dist/api/types/ContraceptiveEntryType.d.ts +13 -0
  110. package/dist/api/types/ContraceptiveEntryType.js +15 -0
  111. package/dist/api/types/DetectedDeviationEntry.d.ts +8 -0
  112. package/dist/api/types/DetectedDeviationEntry.js +5 -0
  113. package/dist/api/types/DetectedDeviationEntryDeviation.d.ts +10 -0
  114. package/dist/api/types/DetectedDeviationEntryDeviation.js +12 -0
  115. package/dist/api/types/HomePregnancyTestEntry.d.ts +8 -0
  116. package/dist/api/types/HomePregnancyTestEntry.js +5 -0
  117. package/dist/api/types/HomePregnancyTestEntryTestResult.d.ts +9 -0
  118. package/dist/api/types/HomePregnancyTestEntryTestResult.js +11 -0
  119. package/dist/api/types/HomeProgesteroneTestEntry.d.ts +8 -0
  120. package/dist/api/types/HomeProgesteroneTestEntry.js +5 -0
  121. package/dist/api/types/HomeProgesteroneTestEntryTestResult.d.ts +9 -0
  122. package/dist/api/types/HomeProgesteroneTestEntryTestResult.js +11 -0
  123. package/dist/api/types/IntermenstrualBleedingEntry.d.ts +6 -0
  124. package/dist/api/types/IntermenstrualBleedingEntry.js +5 -0
  125. package/dist/api/types/MenstrualCycle.d.ts +21 -0
  126. package/dist/api/types/MenstrualCycle.js +5 -0
  127. package/dist/api/types/MenstrualCycleResponse.d.ts +7 -0
  128. package/dist/api/types/MenstrualCycleResponse.js +5 -0
  129. package/dist/api/types/MenstrualFlowEntry.d.ts +8 -0
  130. package/dist/api/types/MenstrualFlowEntry.js +5 -0
  131. package/dist/api/types/MenstrualFlowEntryFlow.d.ts +11 -0
  132. package/dist/api/types/MenstrualFlowEntryFlow.js +13 -0
  133. package/dist/api/types/OvulationTestEntry.d.ts +8 -0
  134. package/dist/api/types/OvulationTestEntry.js +5 -0
  135. package/dist/api/types/OvulationTestEntryTestResult.d.ts +10 -0
  136. package/dist/api/types/OvulationTestEntryTestResult.js +12 -0
  137. package/dist/api/types/SexualActivityEntry.d.ts +7 -0
  138. package/dist/api/types/SexualActivityEntry.js +5 -0
  139. package/dist/api/types/index.d.ts +19 -0
  140. package/dist/api/types/index.js +19 -0
  141. package/dist/serialization/types/BasalBodyTemperatureEntry.d.ts +13 -0
  142. package/dist/serialization/types/BasalBodyTemperatureEntry.js +34 -0
  143. package/dist/serialization/types/CervicalMucusEntry.d.ts +14 -0
  144. package/dist/serialization/types/CervicalMucusEntry.js +35 -0
  145. package/dist/serialization/types/CervicalMucusEntryQuality.d.ts +10 -0
  146. package/dist/serialization/types/CervicalMucusEntryQuality.js +31 -0
  147. package/dist/serialization/types/ContraceptiveEntry.d.ts +14 -0
  148. package/dist/serialization/types/ContraceptiveEntry.js +35 -0
  149. package/dist/serialization/types/ContraceptiveEntryType.d.ts +10 -0
  150. package/dist/serialization/types/ContraceptiveEntryType.js +31 -0
  151. package/dist/serialization/types/DetectedDeviationEntry.d.ts +14 -0
  152. package/dist/serialization/types/DetectedDeviationEntry.js +35 -0
  153. package/dist/serialization/types/DetectedDeviationEntryDeviation.d.ts +10 -0
  154. package/dist/serialization/types/DetectedDeviationEntryDeviation.js +36 -0
  155. package/dist/serialization/types/HomePregnancyTestEntry.d.ts +14 -0
  156. package/dist/serialization/types/HomePregnancyTestEntry.js +35 -0
  157. package/dist/serialization/types/HomePregnancyTestEntryTestResult.d.ts +10 -0
  158. package/dist/serialization/types/HomePregnancyTestEntryTestResult.js +31 -0
  159. package/dist/serialization/types/HomeProgesteroneTestEntry.d.ts +14 -0
  160. package/dist/serialization/types/HomeProgesteroneTestEntry.js +35 -0
  161. package/dist/serialization/types/HomeProgesteroneTestEntryTestResult.d.ts +10 -0
  162. package/dist/serialization/types/HomeProgesteroneTestEntryTestResult.js +31 -0
  163. package/dist/serialization/types/IntermenstrualBleedingEntry.d.ts +12 -0
  164. package/dist/serialization/types/IntermenstrualBleedingEntry.js +33 -0
  165. package/dist/serialization/types/MenstrualCycle.d.ts +37 -0
  166. package/dist/serialization/types/MenstrualCycle.js +58 -0
  167. package/dist/serialization/types/MenstrualCycleResponse.d.ts +13 -0
  168. package/dist/serialization/types/MenstrualCycleResponse.js +34 -0
  169. package/dist/serialization/types/MenstrualFlowEntry.d.ts +14 -0
  170. package/dist/serialization/types/MenstrualFlowEntry.js +35 -0
  171. package/dist/serialization/types/MenstrualFlowEntryFlow.d.ts +10 -0
  172. package/dist/serialization/types/MenstrualFlowEntryFlow.js +31 -0
  173. package/dist/serialization/types/OvulationTestEntry.d.ts +14 -0
  174. package/dist/serialization/types/OvulationTestEntry.js +35 -0
  175. package/dist/serialization/types/OvulationTestEntryTestResult.d.ts +10 -0
  176. package/dist/serialization/types/OvulationTestEntryTestResult.js +31 -0
  177. package/dist/serialization/types/SexualActivityEntry.d.ts +13 -0
  178. package/dist/serialization/types/SexualActivityEntry.js +34 -0
  179. package/dist/serialization/types/index.d.ts +19 -0
  180. package/dist/serialization/types/index.js +19 -0
  181. package/package.json +1 -1
  182. package/serialization/types/BasalBodyTemperatureEntry.d.ts +13 -0
  183. package/serialization/types/BasalBodyTemperatureEntry.js +34 -0
  184. package/serialization/types/CervicalMucusEntry.d.ts +14 -0
  185. package/serialization/types/CervicalMucusEntry.js +35 -0
  186. package/serialization/types/CervicalMucusEntryQuality.d.ts +10 -0
  187. package/serialization/types/CervicalMucusEntryQuality.js +31 -0
  188. package/serialization/types/ContraceptiveEntry.d.ts +14 -0
  189. package/serialization/types/ContraceptiveEntry.js +35 -0
  190. package/serialization/types/ContraceptiveEntryType.d.ts +10 -0
  191. package/serialization/types/ContraceptiveEntryType.js +31 -0
  192. package/serialization/types/DetectedDeviationEntry.d.ts +14 -0
  193. package/serialization/types/DetectedDeviationEntry.js +35 -0
  194. package/serialization/types/DetectedDeviationEntryDeviation.d.ts +10 -0
  195. package/serialization/types/DetectedDeviationEntryDeviation.js +36 -0
  196. package/serialization/types/HomePregnancyTestEntry.d.ts +14 -0
  197. package/serialization/types/HomePregnancyTestEntry.js +35 -0
  198. package/serialization/types/HomePregnancyTestEntryTestResult.d.ts +10 -0
  199. package/serialization/types/HomePregnancyTestEntryTestResult.js +31 -0
  200. package/serialization/types/HomeProgesteroneTestEntry.d.ts +14 -0
  201. package/serialization/types/HomeProgesteroneTestEntry.js +35 -0
  202. package/serialization/types/HomeProgesteroneTestEntryTestResult.d.ts +10 -0
  203. package/serialization/types/HomeProgesteroneTestEntryTestResult.js +31 -0
  204. package/serialization/types/IntermenstrualBleedingEntry.d.ts +12 -0
  205. package/serialization/types/IntermenstrualBleedingEntry.js +33 -0
  206. package/serialization/types/MenstrualCycle.d.ts +37 -0
  207. package/serialization/types/MenstrualCycle.js +58 -0
  208. package/serialization/types/MenstrualCycleResponse.d.ts +13 -0
  209. package/serialization/types/MenstrualCycleResponse.js +34 -0
  210. package/serialization/types/MenstrualFlowEntry.d.ts +14 -0
  211. package/serialization/types/MenstrualFlowEntry.js +35 -0
  212. package/serialization/types/MenstrualFlowEntryFlow.d.ts +10 -0
  213. package/serialization/types/MenstrualFlowEntryFlow.js +31 -0
  214. package/serialization/types/OvulationTestEntry.d.ts +14 -0
  215. package/serialization/types/OvulationTestEntry.js +35 -0
  216. package/serialization/types/OvulationTestEntryTestResult.d.ts +10 -0
  217. package/serialization/types/OvulationTestEntryTestResult.js +31 -0
  218. package/serialization/types/SexualActivityEntry.d.ts +13 -0
  219. package/serialization/types/SexualActivityEntry.js +34 -0
  220. package/serialization/types/index.d.ts +19 -0
  221. package/serialization/types/index.js +19 -0
@@ -0,0 +1,13 @@
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.CervicalMucusEntryQuality = void 0;
7
+ exports.CervicalMucusEntryQuality = {
8
+ Dry: "dry",
9
+ Sticky: "sticky",
10
+ Creamy: "creamy",
11
+ Watery: "watery",
12
+ EggWhite: "egg_white",
13
+ };
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vital from "..";
5
+ export interface ContraceptiveEntry {
6
+ date: string;
7
+ type: Vital.ContraceptiveEntryType;
8
+ }
@@ -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,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type ContraceptiveEntryType = "unspecified" | "implant" | "injection" | "iud" | "intravaginal_ring" | "oral" | "patch";
5
+ export declare const ContraceptiveEntryType: {
6
+ readonly Unspecified: "unspecified";
7
+ readonly Implant: "implant";
8
+ readonly Injection: "injection";
9
+ readonly Iud: "iud";
10
+ readonly IntravaginalRing: "intravaginal_ring";
11
+ readonly Oral: "oral";
12
+ readonly Patch: "patch";
13
+ };
@@ -0,0 +1,15 @@
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.ContraceptiveEntryType = void 0;
7
+ exports.ContraceptiveEntryType = {
8
+ Unspecified: "unspecified",
9
+ Implant: "implant",
10
+ Injection: "injection",
11
+ Iud: "iud",
12
+ IntravaginalRing: "intravaginal_ring",
13
+ Oral: "oral",
14
+ Patch: "patch",
15
+ };
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vital from "..";
5
+ export interface DetectedDeviationEntry {
6
+ date: string;
7
+ deviation: Vital.DetectedDeviationEntryDeviation;
8
+ }
@@ -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,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type DetectedDeviationEntryDeviation = "persistent_intermenstrual_bleeding" | "prolonged_menstrual_periods" | "irregular_menstrual_cycles" | "infrequent_menstrual_cycles";
5
+ export declare const DetectedDeviationEntryDeviation: {
6
+ readonly PersistentIntermenstrualBleeding: "persistent_intermenstrual_bleeding";
7
+ readonly ProlongedMenstrualPeriods: "prolonged_menstrual_periods";
8
+ readonly IrregularMenstrualCycles: "irregular_menstrual_cycles";
9
+ readonly InfrequentMenstrualCycles: "infrequent_menstrual_cycles";
10
+ };
@@ -0,0 +1,12 @@
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.DetectedDeviationEntryDeviation = void 0;
7
+ exports.DetectedDeviationEntryDeviation = {
8
+ PersistentIntermenstrualBleeding: "persistent_intermenstrual_bleeding",
9
+ ProlongedMenstrualPeriods: "prolonged_menstrual_periods",
10
+ IrregularMenstrualCycles: "irregular_menstrual_cycles",
11
+ InfrequentMenstrualCycles: "infrequent_menstrual_cycles",
12
+ };
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vital from "..";
5
+ export interface HomePregnancyTestEntry {
6
+ date: string;
7
+ testResult: Vital.HomePregnancyTestEntryTestResult;
8
+ }
@@ -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,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type HomePregnancyTestEntryTestResult = "negative" | "positive" | "indeterminate";
5
+ export declare const HomePregnancyTestEntryTestResult: {
6
+ readonly Negative: "negative";
7
+ readonly Positive: "positive";
8
+ readonly Indeterminate: "indeterminate";
9
+ };
@@ -0,0 +1,11 @@
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.HomePregnancyTestEntryTestResult = void 0;
7
+ exports.HomePregnancyTestEntryTestResult = {
8
+ Negative: "negative",
9
+ Positive: "positive",
10
+ Indeterminate: "indeterminate",
11
+ };
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vital from "..";
5
+ export interface HomeProgesteroneTestEntry {
6
+ date: string;
7
+ testResult: Vital.HomeProgesteroneTestEntryTestResult;
8
+ }
@@ -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,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type HomeProgesteroneTestEntryTestResult = "negative" | "positive" | "indeterminate";
5
+ export declare const HomeProgesteroneTestEntryTestResult: {
6
+ readonly Negative: "negative";
7
+ readonly Positive: "positive";
8
+ readonly Indeterminate: "indeterminate";
9
+ };
@@ -0,0 +1,11 @@
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.HomeProgesteroneTestEntryTestResult = void 0;
7
+ exports.HomeProgesteroneTestEntryTestResult = {
8
+ Negative: "negative",
9
+ Positive: "positive",
10
+ Indeterminate: "indeterminate",
11
+ };
@@ -0,0 +1,6 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface IntermenstrualBleedingEntry {
5
+ date: string;
6
+ }
@@ -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,21 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vital from "..";
5
+ export interface MenstrualCycle {
6
+ periodStart: string;
7
+ periodEnd?: string;
8
+ cycleEnd?: string;
9
+ isPredicted?: boolean;
10
+ menstrualFlow?: Vital.MenstrualFlowEntry[];
11
+ cervicalMucus?: Vital.CervicalMucusEntry[];
12
+ intermenstrualBleeding?: Vital.IntermenstrualBleedingEntry[];
13
+ contraceptive?: Vital.ContraceptiveEntry[];
14
+ detectedDeviations?: Vital.DetectedDeviationEntry[];
15
+ ovulationTest?: Vital.OvulationTestEntry[];
16
+ homePregnancyTest?: Vital.HomePregnancyTestEntry[];
17
+ homeProgesteroneTest?: Vital.HomeProgesteroneTestEntry[];
18
+ sexualActivity?: Vital.SexualActivityEntry[];
19
+ basalBodyTemperature?: Vital.BasalBodyTemperatureEntry[];
20
+ source: Vital.ClientFacingSource;
21
+ }
@@ -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,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vital from "..";
5
+ export interface MenstrualCycleResponse {
6
+ menstrualCycle: Vital.MenstrualCycle[];
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,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vital from "..";
5
+ export interface MenstrualFlowEntry {
6
+ date: string;
7
+ flow: Vital.MenstrualFlowEntryFlow;
8
+ }
@@ -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,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type MenstrualFlowEntryFlow = "unspecified" | "none" | "light" | "medium" | "heavy";
5
+ export declare const MenstrualFlowEntryFlow: {
6
+ readonly Unspecified: "unspecified";
7
+ readonly None: "none";
8
+ readonly Light: "light";
9
+ readonly Medium: "medium";
10
+ readonly Heavy: "heavy";
11
+ };
@@ -0,0 +1,13 @@
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.MenstrualFlowEntryFlow = void 0;
7
+ exports.MenstrualFlowEntryFlow = {
8
+ Unspecified: "unspecified",
9
+ None: "none",
10
+ Light: "light",
11
+ Medium: "medium",
12
+ Heavy: "heavy",
13
+ };
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vital from "..";
5
+ export interface OvulationTestEntry {
6
+ date: string;
7
+ testResult: Vital.OvulationTestEntryTestResult;
8
+ }
@@ -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,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type OvulationTestEntryTestResult = "negative" | "luteinizing_hormone_surge" | "estrogen_surge" | "indeterminate";
5
+ export declare const OvulationTestEntryTestResult: {
6
+ readonly Negative: "negative";
7
+ readonly LuteinizingHormoneSurge: "luteinizing_hormone_surge";
8
+ readonly EstrogenSurge: "estrogen_surge";
9
+ readonly Indeterminate: "indeterminate";
10
+ };
@@ -0,0 +1,12 @@
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.OvulationTestEntryTestResult = void 0;
7
+ exports.OvulationTestEntryTestResult = {
8
+ Negative: "negative",
9
+ LuteinizingHormoneSurge: "luteinizing_hormone_surge",
10
+ EstrogenSurge: "estrogen_surge",
11
+ Indeterminate: "indeterminate",
12
+ };
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface SexualActivityEntry {
5
+ date: string;
6
+ protectionUsed: boolean;
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 });
@@ -14,8 +14,11 @@ export * from "./AreaInfo";
14
14
  export * from "./AttemptStatus";
15
15
  export * from "./AuthType";
16
16
  export * from "./Availability";
17
+ export * from "./BasalBodyTemperatureEntry";
17
18
  export * from "./BiomarkerResult";
18
19
  export * from "./BodyV2InDb";
20
+ export * from "./CervicalMucusEntryQuality";
21
+ export * from "./CervicalMucusEntry";
19
22
  export * from "./ClientActivityResponse";
20
23
  export * from "./ClientBodyResponse";
21
24
  export * from "./ClientFacingActivity";
@@ -110,10 +113,14 @@ export * from "./ConnectionStatusState";
110
113
  export * from "./ConnectionStatus";
111
114
  export * from "./Consent";
112
115
  export * from "./ConsentType";
116
+ export * from "./ContraceptiveEntryType";
117
+ export * from "./ContraceptiveEntry";
113
118
  export * from "./DaySlots";
114
119
  export * from "./DelegatedFlowType";
115
120
  export * from "./DemoConnectionStatus";
116
121
  export * from "./DemoProviders";
122
+ export * from "./DetectedDeviationEntryDeviation";
123
+ export * from "./DetectedDeviationEntry";
117
124
  export * from "./DeviceV2InDb";
118
125
  export * from "./EmailProviders";
119
126
  export * from "./Energy";
@@ -133,6 +140,11 @@ export * from "./HealthInsuranceCreateRequestPatientSignatureImage";
133
140
  export * from "./HealthInsuranceCreateRequest";
134
141
  export * from "./HistoricalPullStatus";
135
142
  export * from "./HistoricalPullTimeline";
143
+ export * from "./HomePregnancyTestEntryTestResult";
144
+ export * from "./HomePregnancyTestEntry";
145
+ export * from "./HomeProgesteroneTestEntryTestResult";
146
+ export * from "./HomeProgesteroneTestEntry";
147
+ export * from "./IntermenstrualBleedingEntry";
136
148
  export * from "./Jpeg";
137
149
  export * from "./LabLocationMetadata";
138
150
  export * from "./LabResultsMetadata";
@@ -150,11 +162,17 @@ export * from "./Macros";
150
162
  export * from "./ManualProviders";
151
163
  export * from "./MarkerType";
152
164
  export * from "./MealInDbBaseClientFacingSource";
165
+ export * from "./MenstrualCycle";
166
+ export * from "./MenstrualCycleResponse";
167
+ export * from "./MenstrualFlowEntryFlow";
168
+ export * from "./MenstrualFlowEntry";
153
169
  export * from "./MetricsResult";
154
170
  export * from "./Micros";
155
171
  export * from "./OAuthProviders";
156
172
  export * from "./OrderStatus";
157
173
  export * from "./OrderTopLevelStatus";
174
+ export * from "./OvulationTestEntryTestResult";
175
+ export * from "./OvulationTestEntry";
158
176
  export * from "./PscAreaInfo";
159
177
  export * from "./PscAreaInfoDetails";
160
178
  export * from "./PscInfo";
@@ -191,6 +209,7 @@ export * from "./ResponsibleRelationship";
191
209
  export * from "./ResultType";
192
210
  export * from "./ScopeRequirementsGrants";
193
211
  export * from "./ScopeRequirementsStr";
212
+ export * from "./SexualActivityEntry";
194
213
  export * from "./ShippingAddress";
195
214
  export * from "./SingleHistoricalPullStatistics";
196
215
  export * from "./SingleProviderHistoricalPullResponse";
@@ -30,8 +30,11 @@ __exportStar(require("./AreaInfo"), exports);
30
30
  __exportStar(require("./AttemptStatus"), exports);
31
31
  __exportStar(require("./AuthType"), exports);
32
32
  __exportStar(require("./Availability"), exports);
33
+ __exportStar(require("./BasalBodyTemperatureEntry"), exports);
33
34
  __exportStar(require("./BiomarkerResult"), exports);
34
35
  __exportStar(require("./BodyV2InDb"), exports);
36
+ __exportStar(require("./CervicalMucusEntryQuality"), exports);
37
+ __exportStar(require("./CervicalMucusEntry"), exports);
35
38
  __exportStar(require("./ClientActivityResponse"), exports);
36
39
  __exportStar(require("./ClientBodyResponse"), exports);
37
40
  __exportStar(require("./ClientFacingActivity"), exports);
@@ -126,10 +129,14 @@ __exportStar(require("./ConnectionStatusState"), exports);
126
129
  __exportStar(require("./ConnectionStatus"), exports);
127
130
  __exportStar(require("./Consent"), exports);
128
131
  __exportStar(require("./ConsentType"), exports);
132
+ __exportStar(require("./ContraceptiveEntryType"), exports);
133
+ __exportStar(require("./ContraceptiveEntry"), exports);
129
134
  __exportStar(require("./DaySlots"), exports);
130
135
  __exportStar(require("./DelegatedFlowType"), exports);
131
136
  __exportStar(require("./DemoConnectionStatus"), exports);
132
137
  __exportStar(require("./DemoProviders"), exports);
138
+ __exportStar(require("./DetectedDeviationEntryDeviation"), exports);
139
+ __exportStar(require("./DetectedDeviationEntry"), exports);
133
140
  __exportStar(require("./DeviceV2InDb"), exports);
134
141
  __exportStar(require("./EmailProviders"), exports);
135
142
  __exportStar(require("./Energy"), exports);
@@ -149,6 +156,11 @@ __exportStar(require("./HealthInsuranceCreateRequestPatientSignatureImage"), exp
149
156
  __exportStar(require("./HealthInsuranceCreateRequest"), exports);
150
157
  __exportStar(require("./HistoricalPullStatus"), exports);
151
158
  __exportStar(require("./HistoricalPullTimeline"), exports);
159
+ __exportStar(require("./HomePregnancyTestEntryTestResult"), exports);
160
+ __exportStar(require("./HomePregnancyTestEntry"), exports);
161
+ __exportStar(require("./HomeProgesteroneTestEntryTestResult"), exports);
162
+ __exportStar(require("./HomeProgesteroneTestEntry"), exports);
163
+ __exportStar(require("./IntermenstrualBleedingEntry"), exports);
152
164
  __exportStar(require("./Jpeg"), exports);
153
165
  __exportStar(require("./LabLocationMetadata"), exports);
154
166
  __exportStar(require("./LabResultsMetadata"), exports);
@@ -166,11 +178,17 @@ __exportStar(require("./Macros"), exports);
166
178
  __exportStar(require("./ManualProviders"), exports);
167
179
  __exportStar(require("./MarkerType"), exports);
168
180
  __exportStar(require("./MealInDbBaseClientFacingSource"), exports);
181
+ __exportStar(require("./MenstrualCycle"), exports);
182
+ __exportStar(require("./MenstrualCycleResponse"), exports);
183
+ __exportStar(require("./MenstrualFlowEntryFlow"), exports);
184
+ __exportStar(require("./MenstrualFlowEntry"), exports);
169
185
  __exportStar(require("./MetricsResult"), exports);
170
186
  __exportStar(require("./Micros"), exports);
171
187
  __exportStar(require("./OAuthProviders"), exports);
172
188
  __exportStar(require("./OrderStatus"), exports);
173
189
  __exportStar(require("./OrderTopLevelStatus"), exports);
190
+ __exportStar(require("./OvulationTestEntryTestResult"), exports);
191
+ __exportStar(require("./OvulationTestEntry"), exports);
174
192
  __exportStar(require("./PscAreaInfo"), exports);
175
193
  __exportStar(require("./PscAreaInfoDetails"), exports);
176
194
  __exportStar(require("./PscInfo"), exports);
@@ -207,6 +225,7 @@ __exportStar(require("./ResponsibleRelationship"), exports);
207
225
  __exportStar(require("./ResultType"), exports);
208
226
  __exportStar(require("./ScopeRequirementsGrants"), exports);
209
227
  __exportStar(require("./ScopeRequirementsStr"), exports);
228
+ __exportStar(require("./SexualActivityEntry"), exports);
210
229
  __exportStar(require("./ShippingAddress"), exports);
211
230
  __exportStar(require("./SingleHistoricalPullStatistics"), exports);
212
231
  __exportStar(require("./SingleProviderHistoricalPullResponse"), exports);
package/dist/Client.d.ts CHANGED
@@ -11,6 +11,7 @@ import { Workouts } from "./api/resources/workouts/client/Client";
11
11
  import { Sleep } from "./api/resources/sleep/client/Client";
12
12
  import { Body } from "./api/resources/body/client/Client";
13
13
  import { Meal } from "./api/resources/meal/client/Client";
14
+ import { MenstrualCycle } from "./api/resources/menstrualCycle/client/Client";
14
15
  import { Vitals } from "./api/resources/vitals/client/Client";
15
16
  import { User } from "./api/resources/user/client/Client";
16
17
  import { Team } from "./api/resources/team/client/Client";
@@ -48,6 +49,8 @@ export declare class VitalClient {
48
49
  get body(): Body;
49
50
  protected _meal: Meal | undefined;
50
51
  get meal(): Meal;
52
+ protected _menstrualCycle: MenstrualCycle | undefined;
53
+ get menstrualCycle(): MenstrualCycle;
51
54
  protected _vitals: Vitals | undefined;
52
55
  get vitals(): Vitals;
53
56
  protected _user: User | undefined;
package/dist/Client.js CHANGED
@@ -12,14 +12,15 @@ const Client_5 = require("./api/resources/workouts/client/Client");
12
12
  const Client_6 = require("./api/resources/sleep/client/Client");
13
13
  const Client_7 = require("./api/resources/body/client/Client");
14
14
  const Client_8 = require("./api/resources/meal/client/Client");
15
- const Client_9 = require("./api/resources/vitals/client/Client");
16
- const Client_10 = require("./api/resources/user/client/Client");
17
- const Client_11 = require("./api/resources/team/client/Client");
18
- const Client_12 = require("./api/resources/providers/client/Client");
19
- const Client_13 = require("./api/resources/introspect/client/Client");
20
- const Client_14 = require("./api/resources/labTests/client/Client");
21
- const Client_15 = require("./api/resources/testkit/client/Client");
22
- const Client_16 = require("./api/resources/insurance/client/Client");
15
+ const Client_9 = require("./api/resources/menstrualCycle/client/Client");
16
+ const Client_10 = require("./api/resources/vitals/client/Client");
17
+ const Client_11 = require("./api/resources/user/client/Client");
18
+ const Client_12 = require("./api/resources/team/client/Client");
19
+ const Client_13 = require("./api/resources/providers/client/Client");
20
+ const Client_14 = require("./api/resources/introspect/client/Client");
21
+ const Client_15 = require("./api/resources/labTests/client/Client");
22
+ const Client_16 = require("./api/resources/testkit/client/Client");
23
+ const Client_17 = require("./api/resources/insurance/client/Client");
23
24
  class VitalClient {
24
25
  constructor(_options) {
25
26
  this._options = _options;
@@ -56,37 +57,41 @@ class VitalClient {
56
57
  var _a;
57
58
  return ((_a = this._meal) !== null && _a !== void 0 ? _a : (this._meal = new Client_8.Meal(this._options)));
58
59
  }
60
+ get menstrualCycle() {
61
+ var _a;
62
+ return ((_a = this._menstrualCycle) !== null && _a !== void 0 ? _a : (this._menstrualCycle = new Client_9.MenstrualCycle(this._options)));
63
+ }
59
64
  get vitals() {
60
65
  var _a;
61
- return ((_a = this._vitals) !== null && _a !== void 0 ? _a : (this._vitals = new Client_9.Vitals(this._options)));
66
+ return ((_a = this._vitals) !== null && _a !== void 0 ? _a : (this._vitals = new Client_10.Vitals(this._options)));
62
67
  }
63
68
  get user() {
64
69
  var _a;
65
- return ((_a = this._user) !== null && _a !== void 0 ? _a : (this._user = new Client_10.User(this._options)));
70
+ return ((_a = this._user) !== null && _a !== void 0 ? _a : (this._user = new Client_11.User(this._options)));
66
71
  }
67
72
  get team() {
68
73
  var _a;
69
- return ((_a = this._team) !== null && _a !== void 0 ? _a : (this._team = new Client_11.Team(this._options)));
74
+ return ((_a = this._team) !== null && _a !== void 0 ? _a : (this._team = new Client_12.Team(this._options)));
70
75
  }
71
76
  get providers() {
72
77
  var _a;
73
- return ((_a = this._providers) !== null && _a !== void 0 ? _a : (this._providers = new Client_12.Providers(this._options)));
78
+ return ((_a = this._providers) !== null && _a !== void 0 ? _a : (this._providers = new Client_13.Providers(this._options)));
74
79
  }
75
80
  get introspect() {
76
81
  var _a;
77
- return ((_a = this._introspect) !== null && _a !== void 0 ? _a : (this._introspect = new Client_13.Introspect(this._options)));
82
+ return ((_a = this._introspect) !== null && _a !== void 0 ? _a : (this._introspect = new Client_14.Introspect(this._options)));
78
83
  }
79
84
  get labTests() {
80
85
  var _a;
81
- return ((_a = this._labTests) !== null && _a !== void 0 ? _a : (this._labTests = new Client_14.LabTests(this._options)));
86
+ return ((_a = this._labTests) !== null && _a !== void 0 ? _a : (this._labTests = new Client_15.LabTests(this._options)));
82
87
  }
83
88
  get testkit() {
84
89
  var _a;
85
- return ((_a = this._testkit) !== null && _a !== void 0 ? _a : (this._testkit = new Client_15.Testkit(this._options)));
90
+ return ((_a = this._testkit) !== null && _a !== void 0 ? _a : (this._testkit = new Client_16.Testkit(this._options)));
86
91
  }
87
92
  get insurance() {
88
93
  var _a;
89
- return ((_a = this._insurance) !== null && _a !== void 0 ? _a : (this._insurance = new Client_16.Insurance(this._options)));
94
+ return ((_a = this._insurance) !== null && _a !== void 0 ? _a : (this._insurance = new Client_17.Insurance(this._options)));
90
95
  }
91
96
  }
92
97
  exports.VitalClient = VitalClient;
@@ -73,7 +73,7 @@ class Activity {
73
73
  const _response = yield core.fetcher({
74
74
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/activity/${userId}`),
75
75
  method: "GET",
76
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.42", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
76
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.44", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
77
77
  contentType: "application/json",
78
78
  queryParameters: _queryParams,
79
79
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -142,7 +142,7 @@ class Activity {
142
142
  const _response = yield core.fetcher({
143
143
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/activity/${userId}/raw`),
144
144
  method: "GET",
145
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.42", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
145
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.44", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
146
146
  contentType: "application/json",
147
147
  queryParameters: _queryParams,
148
148
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -73,7 +73,7 @@ class Body {
73
73
  const _response = yield core.fetcher({
74
74
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/body/${userId}`),
75
75
  method: "GET",
76
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.42", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
76
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.44", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
77
77
  contentType: "application/json",
78
78
  queryParameters: _queryParams,
79
79
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -142,7 +142,7 @@ class Body {
142
142
  const _response = yield core.fetcher({
143
143
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/body/${userId}/raw`),
144
144
  method: "GET",
145
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.42", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
145
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.44", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
146
146
  contentType: "application/json",
147
147
  queryParameters: _queryParams,
148
148
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -67,7 +67,7 @@ class Devices {
67
67
  const _response = yield core.fetcher({
68
68
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/devices/${userId}/raw`),
69
69
  method: "GET",
70
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.42", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
70
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.44", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
71
71
  contentType: "application/json",
72
72
  queryParameters: _queryParams,
73
73
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,