@tryvital/vital-node 3.1.138 → 3.1.140

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 (176) 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/labTests/client/requests/CreateOrderRequestCompatible.d.ts +1 -1
  17. package/api/resources/link/client/Client.js +14 -14
  18. package/api/resources/meal/client/Client.js +1 -1
  19. package/api/resources/menstrualCycle/client/Client.js +1 -1
  20. package/api/resources/profile/client/Client.d.ts +2 -2
  21. package/api/resources/profile/client/Client.js +4 -4
  22. package/api/resources/providers/client/Client.js +1 -1
  23. package/api/resources/sleep/client/Client.d.ts +3 -3
  24. package/api/resources/sleep/client/Client.js +7 -7
  25. package/api/resources/sleepCycle/client/Client.d.ts +1 -1
  26. package/api/resources/sleepCycle/client/Client.js +2 -2
  27. package/api/resources/team/client/Client.js +7 -7
  28. package/api/resources/testkit/client/Client.js +2 -2
  29. package/api/resources/user/client/Client.js +16 -16
  30. package/api/resources/vitals/client/Client.js +58 -58
  31. package/api/resources/workouts/client/Client.d.ts +2 -2
  32. package/api/resources/workouts/client/Client.js +5 -5
  33. package/api/types/{QueryInstructionGroupByItem.d.ts → AggregationResponse.d.ts} +3 -1
  34. package/api/types/AggregationResult.d.ts +7 -0
  35. package/api/types/ClientFacingLabLocation.d.ts +1 -0
  36. package/api/types/ClientFacingResource.d.ts +2 -1
  37. package/api/types/ClientFacingResource.js +1 -0
  38. package/api/types/IndexColumnExprIndex.d.ts +2 -1
  39. package/api/types/IndexColumnExprIndex.js +1 -0
  40. package/api/types/PatientDetailsWithValidation.d.ts +15 -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 +6 -3
  45. package/api/types/index.js +6 -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/labTests/client/requests/CreateOrderRequestCompatible.d.ts +1 -1
  62. package/dist/api/resources/link/client/Client.js +14 -14
  63. package/dist/api/resources/meal/client/Client.js +1 -1
  64. package/dist/api/resources/menstrualCycle/client/Client.js +1 -1
  65. package/dist/api/resources/profile/client/Client.d.ts +2 -2
  66. package/dist/api/resources/profile/client/Client.js +4 -4
  67. package/dist/api/resources/providers/client/Client.js +1 -1
  68. package/dist/api/resources/sleep/client/Client.d.ts +3 -3
  69. package/dist/api/resources/sleep/client/Client.js +7 -7
  70. package/dist/api/resources/sleepCycle/client/Client.d.ts +1 -1
  71. package/dist/api/resources/sleepCycle/client/Client.js +2 -2
  72. package/dist/api/resources/team/client/Client.js +7 -7
  73. package/dist/api/resources/testkit/client/Client.js +2 -2
  74. package/dist/api/resources/user/client/Client.js +16 -16
  75. package/dist/api/resources/vitals/client/Client.js +58 -58
  76. package/dist/api/resources/workouts/client/Client.d.ts +2 -2
  77. package/dist/api/resources/workouts/client/Client.js +5 -5
  78. package/dist/api/types/AggregationResponse.d.ts +7 -0
  79. package/dist/api/types/AggregationResponse.js +5 -0
  80. package/dist/api/types/AggregationResult.d.ts +7 -0
  81. package/dist/api/types/AggregationResult.js +5 -0
  82. package/dist/api/types/ClientFacingLabLocation.d.ts +1 -0
  83. package/dist/api/types/ClientFacingResource.d.ts +2 -1
  84. package/dist/api/types/ClientFacingResource.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/PatientDetailsWithValidation.d.ts +15 -0
  88. package/dist/api/types/PatientDetailsWithValidation.js +5 -0
  89. package/dist/api/types/{QueryInstruction.d.ts → Query.d.ts} +3 -3
  90. package/dist/api/types/Query.js +5 -0
  91. package/dist/api/types/QueryGroupByItem.d.ts +5 -0
  92. package/dist/api/types/QueryGroupByItem.js +5 -0
  93. package/dist/api/types/QuerySelectItem.d.ts +5 -0
  94. package/dist/api/types/QuerySelectItem.js +5 -0
  95. package/dist/api/types/index.d.ts +6 -3
  96. package/dist/api/types/index.js +6 -3
  97. package/dist/serialization/resources/aggregate/client/requests/{Query.d.ts → QueryBatch.d.ts} +6 -6
  98. package/dist/serialization/resources/aggregate/client/requests/{Query.js → QueryBatch.js} +6 -6
  99. package/dist/serialization/resources/aggregate/client/requests/index.d.ts +1 -1
  100. package/dist/serialization/resources/aggregate/client/requests/index.js +3 -3
  101. package/{serialization/resources/aggregate/types/QueryTimeframe.d.ts → dist/serialization/resources/aggregate/types/QueryBatchTimeframe.d.ts} +2 -2
  102. package/{serialization/resources/aggregate/types/QueryTimeframe.js → dist/serialization/resources/aggregate/types/QueryBatchTimeframe.js} +2 -2
  103. package/dist/serialization/resources/aggregate/types/index.d.ts +1 -1
  104. package/dist/serialization/resources/aggregate/types/index.js +1 -1
  105. package/dist/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +2 -2
  106. package/dist/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.js +2 -2
  107. package/dist/serialization/types/AggregationResponse.d.ts +13 -0
  108. package/dist/serialization/types/AggregationResponse.js +34 -0
  109. package/dist/serialization/types/AggregationResult.d.ts +12 -0
  110. package/dist/serialization/types/AggregationResult.js +33 -0
  111. package/dist/serialization/types/ClientFacingLabLocation.d.ts +2 -0
  112. package/dist/serialization/types/ClientFacingLabLocation.js +2 -0
  113. package/dist/serialization/types/ClientFacingResource.d.ts +1 -1
  114. package/dist/serialization/types/ClientFacingResource.js +1 -0
  115. package/dist/serialization/types/IndexColumnExprIndex.d.ts +1 -1
  116. package/dist/serialization/types/IndexColumnExprIndex.js +1 -1
  117. package/dist/serialization/types/PatientDetailsWithValidation.d.ts +18 -0
  118. package/dist/serialization/types/PatientDetailsWithValidation.js +39 -0
  119. package/dist/serialization/types/Query.d.ts +16 -0
  120. package/dist/serialization/types/{QueryInstruction.js → Query.js} +6 -6
  121. package/{serialization/types/QueryInstructionGroupByItem.d.ts → dist/serialization/types/QueryGroupByItem.d.ts} +2 -2
  122. package/{serialization/types/QueryInstructionGroupByItem.js → dist/serialization/types/QueryGroupByItem.js} +2 -2
  123. package/dist/serialization/types/{QueryInstructionSelectItem.d.ts → QuerySelectItem.d.ts} +2 -2
  124. package/dist/serialization/types/{QueryInstructionSelectItem.js → QuerySelectItem.js} +2 -2
  125. package/dist/serialization/types/index.d.ts +6 -3
  126. package/dist/serialization/types/index.js +6 -3
  127. package/dist/version.d.ts +1 -1
  128. package/dist/version.js +1 -1
  129. package/package.json +1 -1
  130. package/reference.md +15 -15
  131. package/serialization/resources/aggregate/client/requests/{Query.d.ts → QueryBatch.d.ts} +6 -6
  132. package/serialization/resources/aggregate/client/requests/{Query.js → QueryBatch.js} +6 -6
  133. package/serialization/resources/aggregate/client/requests/index.d.ts +1 -1
  134. package/serialization/resources/aggregate/client/requests/index.js +3 -3
  135. package/{dist/serialization/resources/aggregate/types/QueryTimeframe.d.ts → serialization/resources/aggregate/types/QueryBatchTimeframe.d.ts} +2 -2
  136. package/{dist/serialization/resources/aggregate/types/QueryTimeframe.js → serialization/resources/aggregate/types/QueryBatchTimeframe.js} +2 -2
  137. package/serialization/resources/aggregate/types/index.d.ts +1 -1
  138. package/serialization/resources/aggregate/types/index.js +1 -1
  139. package/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +2 -2
  140. package/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.js +2 -2
  141. package/serialization/types/AggregationResponse.d.ts +13 -0
  142. package/serialization/types/AggregationResponse.js +34 -0
  143. package/serialization/types/AggregationResult.d.ts +12 -0
  144. package/serialization/types/AggregationResult.js +33 -0
  145. package/serialization/types/ClientFacingLabLocation.d.ts +2 -0
  146. package/serialization/types/ClientFacingLabLocation.js +2 -0
  147. package/serialization/types/ClientFacingResource.d.ts +1 -1
  148. package/serialization/types/ClientFacingResource.js +1 -0
  149. package/serialization/types/IndexColumnExprIndex.d.ts +1 -1
  150. package/serialization/types/IndexColumnExprIndex.js +1 -1
  151. package/serialization/types/PatientDetailsWithValidation.d.ts +18 -0
  152. package/serialization/types/PatientDetailsWithValidation.js +39 -0
  153. package/serialization/types/Query.d.ts +16 -0
  154. package/serialization/types/{QueryInstruction.js → Query.js} +6 -6
  155. package/{dist/serialization/types/QueryInstructionGroupByItem.d.ts → serialization/types/QueryGroupByItem.d.ts} +2 -2
  156. package/{dist/serialization/types/QueryInstructionGroupByItem.js → serialization/types/QueryGroupByItem.js} +2 -2
  157. package/serialization/types/{QueryInstructionSelectItem.d.ts → QuerySelectItem.d.ts} +2 -2
  158. package/serialization/types/{QueryInstructionSelectItem.js → QuerySelectItem.js} +2 -2
  159. package/serialization/types/index.d.ts +6 -3
  160. package/serialization/types/index.js +6 -3
  161. package/version.d.ts +1 -1
  162. package/version.js +1 -1
  163. package/api/types/QueryInstructionSelectItem.d.ts +0 -5
  164. package/dist/api/types/QueryInstructionSelectItem.d.ts +0 -5
  165. package/dist/serialization/types/QueryInstruction.d.ts +0 -16
  166. package/serialization/types/QueryInstruction.d.ts +0 -16
  167. /package/api/resources/aggregate/client/requests/{Query.js → QueryBatch.js} +0 -0
  168. /package/api/resources/aggregate/types/{QueryTimeframe.js → QueryBatchTimeframe.js} +0 -0
  169. /package/api/types/{QueryInstruction.js → AggregationResponse.js} +0 -0
  170. /package/api/types/{QueryInstructionGroupByItem.js → AggregationResult.js} +0 -0
  171. /package/api/types/{QueryInstructionSelectItem.js → PatientDetailsWithValidation.js} +0 -0
  172. /package/{dist/api/resources/aggregate/client/requests → api/types}/Query.js +0 -0
  173. /package/{dist/api/resources/aggregate/types/QueryTimeframe.js → api/types/QueryGroupByItem.js} +0 -0
  174. /package/{dist/api/types/QueryInstruction.js → api/types/QuerySelectItem.js} +0 -0
  175. /package/dist/api/{types/QueryInstructionGroupByItem.js → resources/aggregate/client/requests/QueryBatch.js} +0 -0
  176. /package/dist/api/{types/QueryInstructionSelectItem.js → resources/aggregate/types/QueryBatchTimeframe.js} +0 -0
@@ -50,7 +50,7 @@ class Workouts {
50
50
  this._options = _options;
51
51
  }
52
52
  /**
53
- * Get Daily workout for user_id
53
+ * Get workout summary for user_id
54
54
  *
55
55
  * @param {string} userId
56
56
  * @param {Vital.WorkoutsGetRequest} request
@@ -78,7 +78,7 @@ class Workouts {
78
78
  const _response = yield core.fetcher({
79
79
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/workouts/${encodeURIComponent(userId)}`),
80
80
  method: "GET",
81
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.138", "User-Agent": "@tryvital/vital-node/3.1.138", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
81
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.140", "User-Agent": "@tryvital/vital-node/3.1.140", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
82
82
  contentType: "application/json",
83
83
  queryParameters: _queryParams,
84
84
  requestType: "json",
@@ -126,7 +126,7 @@ class Workouts {
126
126
  });
127
127
  }
128
128
  /**
129
- * Get Daily workout for user_id
129
+ * Get raw workout summary for user_id
130
130
  *
131
131
  * @param {string} userId
132
132
  * @param {Vital.WorkoutsGetRawRequest} request
@@ -154,7 +154,7 @@ class Workouts {
154
154
  const _response = yield core.fetcher({
155
155
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/workouts/${encodeURIComponent(userId)}/raw`),
156
156
  method: "GET",
157
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.138", "User-Agent": "@tryvital/vital-node/3.1.138", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
157
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.140", "User-Agent": "@tryvital/vital-node/3.1.140", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
158
158
  contentType: "application/json",
159
159
  queryParameters: _queryParams,
160
160
  requestType: "json",
@@ -216,7 +216,7 @@ class Workouts {
216
216
  const _response = yield core.fetcher({
217
217
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/workouts/${encodeURIComponent(workoutId)}/stream`),
218
218
  method: "GET",
219
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.138", "User-Agent": "@tryvital/vital-node/3.1.138", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
219
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.140", "User-Agent": "@tryvital/vital-node/3.1.140", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
220
220
  contentType: "application/json",
221
221
  requestType: "json",
222
222
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -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 AggregationResponse {
6
+ results: Vital.AggregationResult[];
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,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface AggregationResult {
5
+ /** The result table of the query, organized in a column oriented format. */
6
+ table: Record<string, unknown[]>;
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 });
@@ -6,4 +6,5 @@ export interface ClientFacingLabLocation {
6
6
  metadata: Vital.LabLocationMetadata;
7
7
  distance: number;
8
8
  siteCode: string;
9
+ supportedBillTypes: Vital.Billing[];
9
10
  }
@@ -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 ClientFacingResource = "profile" | "activity" | "sleep" | "body" | "workouts" | "workout_stream" | "connection" | "order" | "result" | "appointment" | "glucose" | "heartrate" | "hrv" | "hypnogram" | "ige" | "igg" | "blood_oxygen" | "blood_pressure" | "cholesterol" | "device" | "weight" | "fat" | "body_temperature" | "body_temperature_delta" | "meal" | "water" | "caffeine" | "mindfulness_minutes" | "steps" | "calories_active" | "distance" | "floors_climbed" | "respiratory_rate" | "vo2_max" | "calories_basal" | "stress_level" | "menstrual_cycle" | "sleep_cycle" | "electrocardiogram_voltage" | "afib_burden" | "heart_rate_alert" | "workout_duration" | "insulin_injection" | "carbohydrates" | "note" | "sleep_stream";
4
+ export declare type ClientFacingResource = "profile" | "activity" | "sleep" | "body" | "workouts" | "workout_stream" | "connection" | "order" | "result" | "appointment" | "glucose" | "heartrate" | "hrv" | "hypnogram" | "ige" | "igg" | "blood_oxygen" | "blood_pressure" | "cholesterol" | "device" | "weight" | "fat" | "body_temperature" | "body_temperature_delta" | "meal" | "water" | "caffeine" | "mindfulness_minutes" | "steps" | "calories_active" | "distance" | "floors_climbed" | "respiratory_rate" | "vo2_max" | "calories_basal" | "stress_level" | "menstrual_cycle" | "sleep_cycle" | "electrocardiogram" | "electrocardiogram_voltage" | "afib_burden" | "heart_rate_alert" | "workout_duration" | "insulin_injection" | "carbohydrates" | "note" | "sleep_stream";
5
5
  export declare const ClientFacingResource: {
6
6
  readonly Profile: "profile";
7
7
  readonly Activity: "activity";
@@ -41,6 +41,7 @@ export declare const ClientFacingResource: {
41
41
  readonly StressLevel: "stress_level";
42
42
  readonly MenstrualCycle: "menstrual_cycle";
43
43
  readonly SleepCycle: "sleep_cycle";
44
+ readonly Electrocardiogram: "electrocardiogram";
44
45
  readonly ElectrocardiogramVoltage: "electrocardiogram_voltage";
45
46
  readonly AfibBurden: "afib_burden";
46
47
  readonly HeartRateAlert: "heart_rate_alert";
@@ -43,6 +43,7 @@ exports.ClientFacingResource = {
43
43
  StressLevel: "stress_level",
44
44
  MenstrualCycle: "menstrual_cycle",
45
45
  SleepCycle: "sleep_cycle",
46
+ Electrocardiogram: "electrocardiogram",
46
47
  ElectrocardiogramVoltage: "electrocardiogram_voltage",
47
48
  AfibBurden: "afib_burden",
48
49
  HeartRateAlert: "heart_rate_alert",
@@ -1,10 +1,11 @@
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" | "body";
4
+ export declare type IndexColumnExprIndex = "sleep" | "activity" | "workout" | "body" | "meal";
5
5
  export declare const IndexColumnExprIndex: {
6
6
  readonly Sleep: "sleep";
7
7
  readonly Activity: "activity";
8
8
  readonly Workout: "workout";
9
9
  readonly Body: "body";
10
+ readonly Meal: "meal";
10
11
  };
@@ -9,4 +9,5 @@ exports.IndexColumnExprIndex = {
9
9
  Activity: "activity",
10
10
  Workout: "workout",
11
11
  Body: "body",
12
+ Meal: "meal",
12
13
  };
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vital from "../index";
5
+ /**
6
+ * Patient details with validation for first_name, last_name, email, and dob.
7
+ */
8
+ export interface PatientDetailsWithValidation {
9
+ firstName: string;
10
+ lastName: string;
11
+ dob: Date;
12
+ gender: Vital.Gender;
13
+ phoneNumber: string;
14
+ email: string;
15
+ }
@@ -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 });
@@ -2,8 +2,8 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vital from "../index";
5
- export interface QueryInstruction {
6
- select: Vital.QueryInstructionSelectItem[];
7
- groupBy?: Vital.QueryInstructionGroupByItem[];
5
+ export interface Query {
6
+ select: Vital.QuerySelectItem[];
7
+ groupBy?: Vital.QueryGroupByItem[];
8
8
  splitBySource?: boolean;
9
9
  }
@@ -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,5 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vital from "../index";
5
+ export declare type QueryGroupByItem = Vital.DateTruncExpr | Vital.DatePartExpr;
@@ -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,5 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vital from "../index";
5
+ export declare type QuerySelectItem = Vital.AggregateExpr | Vital.SleepColumnExpr | Vital.ActivityColumnExpr | Vital.WorkoutColumnExpr | Vital.BodyColumnExpr | Vital.IndexColumnExpr | Vital.GroupKeyColumnExpr | Vital.SleepScoreValueMacroExpr | Vital.ChronotypeValueMacroExpr | Vital.UnrecognizedValueMacroExpr;
@@ -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 });
@@ -6,6 +6,8 @@ export * from "./Address";
6
6
  export * from "./AggregateExprArg";
7
7
  export * from "./AggregateExprFunc";
8
8
  export * from "./AggregateExpr";
9
+ export * from "./AggregationResponse";
10
+ export * from "./AggregationResult";
9
11
  export * from "./AllowedRadius";
10
12
  export * from "./Answer";
11
13
  export * from "./AoE";
@@ -239,6 +241,7 @@ export * from "./ParentBiomarkerData";
239
241
  export * from "./PasswordProviders";
240
242
  export * from "./PatientAddressCompatible";
241
243
  export * from "./PatientDetails";
244
+ export * from "./PatientDetailsWithValidation";
242
245
  export * from "./PeriodUnit";
243
246
  export * from "./Period";
244
247
  export * from "./PersonDetailsOutput";
@@ -256,12 +259,12 @@ export * from "./ProviderLinkResponse";
256
259
  export * from "./ProviderMfaRequestMethod";
257
260
  export * from "./ProviderMfaRequest";
258
261
  export * from "./Providers";
262
+ export * from "./QuerySelectItem";
263
+ export * from "./QueryGroupByItem";
264
+ export * from "./Query";
259
265
  export * from "./QueryConfigWeekStartsOn";
260
266
  export * from "./QueryConfigProviderPriorityOverridesItem";
261
267
  export * from "./QueryConfig";
262
- export * from "./QueryInstructionSelectItem";
263
- export * from "./QueryInstructionGroupByItem";
264
- export * from "./QueryInstruction";
265
268
  export * from "./Question";
266
269
  export * from "./QuestionType";
267
270
  export * from "./RawActivity";
@@ -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);
@@ -255,6 +257,7 @@ __exportStar(require("./ParentBiomarkerData"), exports);
255
257
  __exportStar(require("./PasswordProviders"), exports);
256
258
  __exportStar(require("./PatientAddressCompatible"), exports);
257
259
  __exportStar(require("./PatientDetails"), exports);
260
+ __exportStar(require("./PatientDetailsWithValidation"), exports);
258
261
  __exportStar(require("./PeriodUnit"), exports);
259
262
  __exportStar(require("./Period"), exports);
260
263
  __exportStar(require("./PersonDetailsOutput"), exports);
@@ -272,12 +275,12 @@ __exportStar(require("./ProviderLinkResponse"), exports);
272
275
  __exportStar(require("./ProviderMfaRequestMethod"), exports);
273
276
  __exportStar(require("./ProviderMfaRequest"), exports);
274
277
  __exportStar(require("./Providers"), exports);
278
+ __exportStar(require("./QuerySelectItem"), exports);
279
+ __exportStar(require("./QueryGroupByItem"), exports);
280
+ __exportStar(require("./Query"), exports);
275
281
  __exportStar(require("./QueryConfigWeekStartsOn"), exports);
276
282
  __exportStar(require("./QueryConfigProviderPriorityOverridesItem"), exports);
277
283
  __exportStar(require("./QueryConfig"), exports);
278
- __exportStar(require("./QueryInstructionSelectItem"), exports);
279
- __exportStar(require("./QueryInstructionGroupByItem"), exports);
280
- __exportStar(require("./QueryInstruction"), exports);
281
284
  __exportStar(require("./Question"), exports);
282
285
  __exportStar(require("./QuestionType"), exports);
283
286
  __exportStar(require("./RawActivity"), exports);
@@ -4,14 +4,14 @@
4
4
  import * as serializers from "../../../../index";
5
5
  import * as Vital from "../../../../../api/index";
6
6
  import * as core from "../../../../../core";
7
- import { QueryTimeframe } from "../../types/QueryTimeframe";
8
- import { QueryInstruction } from "../../../../types/QueryInstruction";
7
+ import { QueryBatchTimeframe } from "../../types/QueryBatchTimeframe";
8
+ import { Query } from "../../../../types/Query";
9
9
  import { QueryConfig } from "../../../../types/QueryConfig";
10
- export declare const Query: core.serialization.Schema<serializers.Query.Raw, Vital.Query>;
11
- export declare namespace Query {
10
+ export declare const QueryBatch: core.serialization.Schema<serializers.QueryBatch.Raw, Vital.QueryBatch>;
11
+ export declare namespace QueryBatch {
12
12
  interface Raw {
13
- timeframe: QueryTimeframe.Raw;
14
- instructions: QueryInstruction.Raw[];
13
+ timeframe: QueryBatchTimeframe.Raw;
14
+ queries: Query.Raw[];
15
15
  config?: QueryConfig.Raw | null;
16
16
  }
17
17
  }
@@ -26,13 +26,13 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.Query = void 0;
29
+ exports.QueryBatch = void 0;
30
30
  const core = __importStar(require("../../../../../core"));
31
- const QueryTimeframe_1 = require("../../types/QueryTimeframe");
32
- const QueryInstruction_1 = require("../../../../types/QueryInstruction");
31
+ const QueryBatchTimeframe_1 = require("../../types/QueryBatchTimeframe");
32
+ const Query_1 = require("../../../../types/Query");
33
33
  const QueryConfig_1 = require("../../../../types/QueryConfig");
34
- exports.Query = core.serialization.object({
35
- timeframe: QueryTimeframe_1.QueryTimeframe,
36
- instructions: core.serialization.list(QueryInstruction_1.QueryInstruction),
34
+ exports.QueryBatch = core.serialization.object({
35
+ timeframe: QueryBatchTimeframe_1.QueryBatchTimeframe,
36
+ queries: core.serialization.list(Query_1.Query),
37
37
  config: QueryConfig_1.QueryConfig.optional(),
38
38
  });
@@ -1 +1 @@
1
- export { Query } from "./Query";
1
+ export { QueryBatch } from "./QueryBatch";
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Query = void 0;
4
- var Query_1 = require("./Query");
5
- Object.defineProperty(exports, "Query", { enumerable: true, get: function () { return Query_1.Query; } });
3
+ exports.QueryBatch = void 0;
4
+ var QueryBatch_1 = require("./QueryBatch");
5
+ Object.defineProperty(exports, "QueryBatch", { enumerable: true, get: function () { return QueryBatch_1.QueryBatch; } });
@@ -6,7 +6,7 @@ import * as Vital from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
7
  import { RelativeTimeframe } from "../../../types/RelativeTimeframe";
8
8
  import { Placeholder } from "../../../types/Placeholder";
9
- export declare const QueryTimeframe: core.serialization.Schema<serializers.QueryTimeframe.Raw, Vital.QueryTimeframe>;
10
- export declare namespace QueryTimeframe {
9
+ export declare const QueryBatchTimeframe: core.serialization.Schema<serializers.QueryBatchTimeframe.Raw, Vital.QueryBatchTimeframe>;
10
+ export declare namespace QueryBatchTimeframe {
11
11
  type Raw = RelativeTimeframe.Raw | Placeholder.Raw;
12
12
  }
@@ -26,8 +26,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.QueryTimeframe = void 0;
29
+ exports.QueryBatchTimeframe = void 0;
30
30
  const core = __importStar(require("../../../../core"));
31
31
  const RelativeTimeframe_1 = require("../../../types/RelativeTimeframe");
32
32
  const Placeholder_1 = require("../../../types/Placeholder");
33
- exports.QueryTimeframe = core.serialization.undiscriminatedUnion([RelativeTimeframe_1.RelativeTimeframe, Placeholder_1.Placeholder]);
33
+ exports.QueryBatchTimeframe = core.serialization.undiscriminatedUnion([RelativeTimeframe_1.RelativeTimeframe, Placeholder_1.Placeholder]);
@@ -1 +1 @@
1
- export * from "./QueryTimeframe";
1
+ export * from "./QueryBatchTimeframe";
@@ -14,4 +14,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./QueryTimeframe"), exports);
17
+ __exportStar(require("./QueryBatchTimeframe"), exports);
@@ -11,7 +11,7 @@ import { HealthInsuranceCreateRequest } from "../../../../types/HealthInsuranceC
11
11
  import { Billing } from "../../../../types/Billing";
12
12
  import { Consent } from "../../../../types/Consent";
13
13
  import { AoEAnswer } from "../../../../types/AoEAnswer";
14
- import { PatientDetails } from "../../../../types/PatientDetails";
14
+ import { PatientDetailsWithValidation } from "../../../../types/PatientDetailsWithValidation";
15
15
  import { PatientAddressCompatible } from "../../../../types/PatientAddressCompatible";
16
16
  export declare const CreateOrderRequestCompatible: core.serialization.Schema<serializers.CreateOrderRequestCompatible.Raw, Vital.CreateOrderRequestCompatible>;
17
17
  export declare namespace CreateOrderRequestCompatible {
@@ -29,7 +29,7 @@ export declare namespace CreateOrderRequestCompatible {
29
29
  activate_by?: string | null;
30
30
  aoe_answers?: AoEAnswer.Raw[] | null;
31
31
  passthrough?: string | null;
32
- patient_details: PatientDetails.Raw;
32
+ patient_details: PatientDetailsWithValidation.Raw;
33
33
  patient_address: PatientAddressCompatible.Raw;
34
34
  }
35
35
  }
@@ -35,7 +35,7 @@ const HealthInsuranceCreateRequest_1 = require("../../../../types/HealthInsuranc
35
35
  const Billing_1 = require("../../../../types/Billing");
36
36
  const Consent_1 = require("../../../../types/Consent");
37
37
  const AoEAnswer_1 = require("../../../../types/AoEAnswer");
38
- const PatientDetails_1 = require("../../../../types/PatientDetails");
38
+ const PatientDetailsWithValidation_1 = require("../../../../types/PatientDetailsWithValidation");
39
39
  const PatientAddressCompatible_1 = require("../../../../types/PatientAddressCompatible");
40
40
  exports.CreateOrderRequestCompatible = core.serialization.object({
41
41
  userId: core.serialization.property("user_id", core.serialization.string()),
@@ -51,6 +51,6 @@ exports.CreateOrderRequestCompatible = core.serialization.object({
51
51
  activateBy: core.serialization.property("activate_by", core.serialization.string().optional()),
52
52
  aoeAnswers: core.serialization.property("aoe_answers", core.serialization.list(AoEAnswer_1.AoEAnswer).optional()),
53
53
  passthrough: core.serialization.string().optional(),
54
- patientDetails: core.serialization.property("patient_details", PatientDetails_1.PatientDetails),
54
+ patientDetails: core.serialization.property("patient_details", PatientDetailsWithValidation_1.PatientDetailsWithValidation),
55
55
  patientAddress: core.serialization.property("patient_address", PatientAddressCompatible_1.PatientAddressCompatible),
56
56
  });
@@ -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 { AggregationResult } from "./AggregationResult";
8
+ export declare const AggregationResponse: core.serialization.ObjectSchema<serializers.AggregationResponse.Raw, Vital.AggregationResponse>;
9
+ export declare namespace AggregationResponse {
10
+ interface Raw {
11
+ results: AggregationResult.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.AggregationResponse = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const AggregationResult_1 = require("./AggregationResult");
32
+ exports.AggregationResponse = core.serialization.object({
33
+ results: core.serialization.list(AggregationResult_1.AggregationResult),
34
+ });
@@ -0,0 +1,12 @@
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 AggregationResult: core.serialization.ObjectSchema<serializers.AggregationResult.Raw, Vital.AggregationResult>;
8
+ export declare namespace AggregationResult {
9
+ interface Raw {
10
+ table: Record<string, unknown[]>;
11
+ }
12
+ }
@@ -0,0 +1,33 @@
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.AggregationResult = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.AggregationResult = core.serialization.object({
32
+ table: core.serialization.record(core.serialization.string(), core.serialization.list(core.serialization.unknown())),
33
+ });
@@ -5,11 +5,13 @@ import * as serializers from "../index";
5
5
  import * as Vital from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  import { LabLocationMetadata } from "./LabLocationMetadata";
8
+ import { Billing } from "./Billing";
8
9
  export declare const ClientFacingLabLocation: core.serialization.ObjectSchema<serializers.ClientFacingLabLocation.Raw, Vital.ClientFacingLabLocation>;
9
10
  export declare namespace ClientFacingLabLocation {
10
11
  interface Raw {
11
12
  metadata: LabLocationMetadata.Raw;
12
13
  distance: number;
13
14
  site_code: string;
15
+ supported_bill_types: Billing.Raw[];
14
16
  }
15
17
  }
@@ -29,8 +29,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.ClientFacingLabLocation = void 0;
30
30
  const core = __importStar(require("../../core"));
31
31
  const LabLocationMetadata_1 = require("./LabLocationMetadata");
32
+ const Billing_1 = require("./Billing");
32
33
  exports.ClientFacingLabLocation = core.serialization.object({
33
34
  metadata: LabLocationMetadata_1.LabLocationMetadata,
34
35
  distance: core.serialization.number(),
35
36
  siteCode: core.serialization.property("site_code", core.serialization.string()),
37
+ supportedBillTypes: core.serialization.property("supported_bill_types", core.serialization.list(Billing_1.Billing)),
36
38
  });
@@ -6,5 +6,5 @@ import * as Vital from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  export declare const ClientFacingResource: core.serialization.Schema<serializers.ClientFacingResource.Raw, Vital.ClientFacingResource>;
8
8
  export declare namespace ClientFacingResource {
9
- type Raw = "profile" | "activity" | "sleep" | "body" | "workouts" | "workout_stream" | "connection" | "order" | "result" | "appointment" | "glucose" | "heartrate" | "hrv" | "hypnogram" | "ige" | "igg" | "blood_oxygen" | "blood_pressure" | "cholesterol" | "device" | "weight" | "fat" | "body_temperature" | "body_temperature_delta" | "meal" | "water" | "caffeine" | "mindfulness_minutes" | "steps" | "calories_active" | "distance" | "floors_climbed" | "respiratory_rate" | "vo2_max" | "calories_basal" | "stress_level" | "menstrual_cycle" | "sleep_cycle" | "electrocardiogram_voltage" | "afib_burden" | "heart_rate_alert" | "workout_duration" | "insulin_injection" | "carbohydrates" | "note" | "sleep_stream";
9
+ type Raw = "profile" | "activity" | "sleep" | "body" | "workouts" | "workout_stream" | "connection" | "order" | "result" | "appointment" | "glucose" | "heartrate" | "hrv" | "hypnogram" | "ige" | "igg" | "blood_oxygen" | "blood_pressure" | "cholesterol" | "device" | "weight" | "fat" | "body_temperature" | "body_temperature_delta" | "meal" | "water" | "caffeine" | "mindfulness_minutes" | "steps" | "calories_active" | "distance" | "floors_climbed" | "respiratory_rate" | "vo2_max" | "calories_basal" | "stress_level" | "menstrual_cycle" | "sleep_cycle" | "electrocardiogram" | "electrocardiogram_voltage" | "afib_burden" | "heart_rate_alert" | "workout_duration" | "insulin_injection" | "carbohydrates" | "note" | "sleep_stream";
10
10
  }
@@ -67,6 +67,7 @@ exports.ClientFacingResource = core.serialization.enum_([
67
67
  "stress_level",
68
68
  "menstrual_cycle",
69
69
  "sleep_cycle",
70
+ "electrocardiogram",
70
71
  "electrocardiogram_voltage",
71
72
  "afib_burden",
72
73
  "heart_rate_alert",
@@ -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" | "body";
9
+ type Raw = "sleep" | "activity" | "workout" | "body" | "meal";
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", "body"]);
31
+ exports.IndexColumnExprIndex = core.serialization.enum_(["sleep", "activity", "workout", "body", "meal"]);
@@ -0,0 +1,18 @@
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 { Gender } from "./Gender";
8
+ export declare const PatientDetailsWithValidation: core.serialization.ObjectSchema<serializers.PatientDetailsWithValidation.Raw, Vital.PatientDetailsWithValidation>;
9
+ export declare namespace PatientDetailsWithValidation {
10
+ interface Raw {
11
+ first_name: string;
12
+ last_name: string;
13
+ dob: string;
14
+ gender: Gender.Raw;
15
+ phone_number: string;
16
+ email: string;
17
+ }
18
+ }