@tryvital/vital-node 3.0.2 → 3.0.3

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 (205) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +11 -6
  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.d.ts +23 -0
  10. package/api/resources/introspect/client/Client.js +126 -0
  11. package/api/resources/introspect/client/index.d.ts +1 -0
  12. package/api/resources/introspect/client/index.js +17 -0
  13. package/api/resources/introspect/client/requests/IntrospectGetUserResourcesRequest.d.ts +10 -0
  14. package/api/resources/introspect/client/requests/index.d.ts +1 -0
  15. package/api/resources/introspect/client/requests/index.js +2 -0
  16. package/api/resources/introspect/index.d.ts +1 -0
  17. package/api/resources/introspect/index.js +17 -0
  18. package/api/resources/labTests/client/Client.d.ts +6 -1
  19. package/api/resources/labTests/client/Client.js +85 -23
  20. package/api/resources/labTests/client/requests/LabTestsSimulateOrderProcessRequest.d.ts +8 -0
  21. package/api/resources/labTests/client/requests/index.d.ts +1 -0
  22. package/api/resources/link/client/Client.js +14 -14
  23. package/api/resources/meal/client/Client.js +1 -1
  24. package/api/resources/profile/client/Client.js +2 -2
  25. package/api/resources/providers/client/Client.js +1 -1
  26. package/api/resources/sleep/client/Client.js +4 -4
  27. package/api/resources/team/client/Client.d.ts +4 -0
  28. package/api/resources/team/client/Client.js +63 -6
  29. package/api/resources/testkit/client/Client.js +2 -2
  30. package/api/resources/user/client/Client.d.ts +2 -2
  31. package/api/resources/user/client/Client.js +23 -23
  32. package/api/resources/vitals/client/Client.js +23 -23
  33. package/api/resources/workouts/client/Client.js +3 -3
  34. package/api/types/ActivityV2InDb.d.ts +1 -1
  35. package/api/types/AttemptStatus.d.ts +11 -0
  36. package/api/types/AttemptStatus.js +10 -0
  37. package/api/types/BodyV2InDb.d.ts +1 -1
  38. package/api/types/ClientFacingLabTest.d.ts +2 -0
  39. package/api/types/ClientFacingOrder.d.ts +1 -1
  40. package/api/types/{PhysicianClientFacing.d.ts → ClientFacingPhysician.d.ts} +1 -1
  41. package/api/types/ClientFacingPhysician.js +5 -0
  42. package/api/types/ClientFacingTeam.d.ts +1 -0
  43. package/api/types/DelegatedFlowType.d.ts +12 -0
  44. package/api/types/DelegatedFlowType.js +11 -0
  45. package/api/types/GetMarkersResponse.d.ts +4 -3
  46. package/api/types/GetOrdersResponse.d.ts +3 -3
  47. package/api/types/LabTestStatus.d.ts +12 -0
  48. package/api/types/LabTestStatus.js +11 -0
  49. package/api/types/LastAttempt.d.ts +8 -0
  50. package/api/types/LastAttempt.js +5 -0
  51. package/api/types/SingleResourceStatistics.d.ts +10 -0
  52. package/api/types/SingleResourceStatistics.js +5 -0
  53. package/api/types/SingleUserResourceResponse.d.ts +6 -0
  54. package/api/types/SingleUserResourceResponse.js +5 -0
  55. package/api/types/SleepV2InDb.d.ts +1 -1
  56. package/api/types/UserResourcesResponse.d.ts +8 -0
  57. package/api/types/UserResourcesResponse.js +5 -0
  58. package/api/types/WorkoutV2InDb.d.ts +1 -1
  59. package/api/types/index.d.ts +8 -1
  60. package/api/types/index.js +8 -1
  61. package/dist/Client.d.ts +3 -0
  62. package/dist/Client.js +11 -6
  63. package/dist/api/resources/activity/client/Client.js +2 -2
  64. package/dist/api/resources/body/client/Client.js +2 -2
  65. package/dist/api/resources/devices/client/Client.js +1 -1
  66. package/dist/api/resources/index.d.ts +2 -0
  67. package/dist/api/resources/index.js +3 -1
  68. package/dist/api/resources/insurance/client/Client.js +2 -2
  69. package/dist/api/resources/introspect/client/Client.d.ts +23 -0
  70. package/dist/api/resources/introspect/client/Client.js +126 -0
  71. package/dist/api/resources/introspect/client/index.d.ts +1 -0
  72. package/dist/api/resources/introspect/client/index.js +17 -0
  73. package/dist/api/resources/introspect/client/requests/IntrospectGetUserResourcesRequest.d.ts +10 -0
  74. package/dist/api/resources/introspect/client/requests/IntrospectGetUserResourcesRequest.js +5 -0
  75. package/dist/api/resources/introspect/client/requests/index.d.ts +1 -0
  76. package/dist/api/resources/introspect/client/requests/index.js +2 -0
  77. package/dist/api/resources/introspect/index.d.ts +1 -0
  78. package/dist/api/resources/introspect/index.js +17 -0
  79. package/dist/api/resources/labTests/client/Client.d.ts +6 -1
  80. package/dist/api/resources/labTests/client/Client.js +85 -23
  81. package/dist/api/resources/labTests/client/requests/LabTestsSimulateOrderProcessRequest.d.ts +8 -0
  82. package/dist/api/resources/labTests/client/requests/LabTestsSimulateOrderProcessRequest.js +5 -0
  83. package/dist/api/resources/labTests/client/requests/index.d.ts +1 -0
  84. package/dist/api/resources/link/client/Client.js +14 -14
  85. package/dist/api/resources/meal/client/Client.js +1 -1
  86. package/dist/api/resources/profile/client/Client.js +2 -2
  87. package/dist/api/resources/providers/client/Client.js +1 -1
  88. package/dist/api/resources/sleep/client/Client.js +4 -4
  89. package/dist/api/resources/team/client/Client.d.ts +4 -0
  90. package/dist/api/resources/team/client/Client.js +63 -6
  91. package/dist/api/resources/testkit/client/Client.js +2 -2
  92. package/dist/api/resources/user/client/Client.d.ts +2 -2
  93. package/dist/api/resources/user/client/Client.js +23 -23
  94. package/dist/api/resources/vitals/client/Client.js +23 -23
  95. package/dist/api/resources/workouts/client/Client.js +3 -3
  96. package/dist/api/types/ActivityV2InDb.d.ts +1 -1
  97. package/dist/api/types/AttemptStatus.d.ts +11 -0
  98. package/dist/api/types/AttemptStatus.js +10 -0
  99. package/dist/api/types/BodyV2InDb.d.ts +1 -1
  100. package/dist/api/types/ClientFacingLabTest.d.ts +2 -0
  101. package/dist/api/types/ClientFacingOrder.d.ts +1 -1
  102. package/dist/api/types/{PhysicianClientFacing.d.ts → ClientFacingPhysician.d.ts} +1 -1
  103. package/dist/api/types/ClientFacingPhysician.js +5 -0
  104. package/dist/api/types/ClientFacingTeam.d.ts +1 -0
  105. package/dist/api/types/DelegatedFlowType.d.ts +12 -0
  106. package/dist/api/types/DelegatedFlowType.js +11 -0
  107. package/dist/api/types/GetMarkersResponse.d.ts +4 -3
  108. package/dist/api/types/GetOrdersResponse.d.ts +3 -3
  109. package/dist/api/types/LabTestStatus.d.ts +12 -0
  110. package/dist/api/types/LabTestStatus.js +11 -0
  111. package/dist/api/types/LastAttempt.d.ts +8 -0
  112. package/dist/api/types/LastAttempt.js +5 -0
  113. package/dist/api/types/SingleResourceStatistics.d.ts +10 -0
  114. package/dist/api/types/SingleResourceStatistics.js +5 -0
  115. package/dist/api/types/SingleUserResourceResponse.d.ts +6 -0
  116. package/dist/api/types/SingleUserResourceResponse.js +5 -0
  117. package/dist/api/types/SleepV2InDb.d.ts +1 -1
  118. package/dist/api/types/UserResourcesResponse.d.ts +8 -0
  119. package/dist/api/types/UserResourcesResponse.js +5 -0
  120. package/dist/api/types/WorkoutV2InDb.d.ts +1 -1
  121. package/dist/api/types/index.d.ts +8 -1
  122. package/dist/api/types/index.js +8 -1
  123. package/dist/serialization/resources/team/client/getPhysicians.d.ts +10 -0
  124. package/dist/serialization/resources/team/client/getPhysicians.js +40 -0
  125. package/dist/serialization/resources/team/client/index.d.ts +1 -0
  126. package/dist/serialization/resources/team/client/index.js +2 -1
  127. package/dist/serialization/types/ActivityV2InDb.d.ts +1 -1
  128. package/dist/serialization/types/ActivityV2InDb.js +1 -1
  129. package/dist/serialization/types/AttemptStatus.d.ts +10 -0
  130. package/dist/serialization/types/AttemptStatus.js +31 -0
  131. package/dist/serialization/types/BodyV2InDb.d.ts +1 -1
  132. package/dist/serialization/types/BodyV2InDb.js +1 -1
  133. package/dist/serialization/types/ClientFacingLabTest.d.ts +1 -0
  134. package/dist/serialization/types/ClientFacingLabTest.js +1 -0
  135. package/dist/serialization/types/ClientFacingOrder.d.ts +1 -1
  136. package/dist/serialization/types/ClientFacingOrder.js +1 -1
  137. package/dist/serialization/types/{PhysicianClientFacing.d.ts → ClientFacingPhysician.d.ts} +2 -2
  138. package/dist/serialization/types/{PhysicianClientFacing.js → ClientFacingPhysician.js} +2 -2
  139. package/dist/serialization/types/ClientFacingTeam.d.ts +1 -0
  140. package/dist/serialization/types/ClientFacingTeam.js +1 -0
  141. package/dist/serialization/types/DelegatedFlowType.d.ts +10 -0
  142. package/dist/serialization/types/DelegatedFlowType.js +35 -0
  143. package/dist/serialization/types/GetMarkersResponse.d.ts +4 -3
  144. package/dist/serialization/types/GetMarkersResponse.js +4 -3
  145. package/dist/serialization/types/GetOrdersResponse.d.ts +3 -3
  146. package/dist/serialization/types/GetOrdersResponse.js +3 -3
  147. package/dist/serialization/types/LabTestStatus.d.ts +10 -0
  148. package/dist/serialization/types/LabTestStatus.js +31 -0
  149. package/dist/serialization/types/LastAttempt.d.ts +13 -0
  150. package/dist/serialization/types/LastAttempt.js +43 -0
  151. package/dist/serialization/types/SingleResourceStatistics.d.ts +15 -0
  152. package/dist/serialization/types/SingleResourceStatistics.js +45 -0
  153. package/dist/serialization/types/SingleUserResourceResponse.d.ts +12 -0
  154. package/dist/serialization/types/SingleUserResourceResponse.js +33 -0
  155. package/dist/serialization/types/SleepV2InDb.d.ts +1 -1
  156. package/dist/serialization/types/SleepV2InDb.js +1 -1
  157. package/dist/serialization/types/UserResourcesResponse.d.ts +13 -0
  158. package/dist/serialization/types/UserResourcesResponse.js +43 -0
  159. package/dist/serialization/types/WorkoutV2InDb.d.ts +1 -1
  160. package/dist/serialization/types/WorkoutV2InDb.js +1 -1
  161. package/dist/serialization/types/index.d.ts +8 -1
  162. package/dist/serialization/types/index.js +8 -1
  163. package/package.json +1 -1
  164. package/serialization/resources/team/client/getPhysicians.d.ts +10 -0
  165. package/serialization/resources/team/client/getPhysicians.js +40 -0
  166. package/serialization/resources/team/client/index.d.ts +1 -0
  167. package/serialization/resources/team/client/index.js +2 -1
  168. package/serialization/types/ActivityV2InDb.d.ts +1 -1
  169. package/serialization/types/ActivityV2InDb.js +1 -1
  170. package/serialization/types/AttemptStatus.d.ts +10 -0
  171. package/serialization/types/AttemptStatus.js +31 -0
  172. package/serialization/types/BodyV2InDb.d.ts +1 -1
  173. package/serialization/types/BodyV2InDb.js +1 -1
  174. package/serialization/types/ClientFacingLabTest.d.ts +1 -0
  175. package/serialization/types/ClientFacingLabTest.js +1 -0
  176. package/serialization/types/ClientFacingOrder.d.ts +1 -1
  177. package/serialization/types/ClientFacingOrder.js +1 -1
  178. package/serialization/types/{PhysicianClientFacing.d.ts → ClientFacingPhysician.d.ts} +2 -2
  179. package/serialization/types/{PhysicianClientFacing.js → ClientFacingPhysician.js} +2 -2
  180. package/serialization/types/ClientFacingTeam.d.ts +1 -0
  181. package/serialization/types/ClientFacingTeam.js +1 -0
  182. package/serialization/types/DelegatedFlowType.d.ts +10 -0
  183. package/serialization/types/DelegatedFlowType.js +35 -0
  184. package/serialization/types/GetMarkersResponse.d.ts +4 -3
  185. package/serialization/types/GetMarkersResponse.js +4 -3
  186. package/serialization/types/GetOrdersResponse.d.ts +3 -3
  187. package/serialization/types/GetOrdersResponse.js +3 -3
  188. package/serialization/types/LabTestStatus.d.ts +10 -0
  189. package/serialization/types/LabTestStatus.js +31 -0
  190. package/serialization/types/LastAttempt.d.ts +13 -0
  191. package/serialization/types/LastAttempt.js +43 -0
  192. package/serialization/types/SingleResourceStatistics.d.ts +15 -0
  193. package/serialization/types/SingleResourceStatistics.js +45 -0
  194. package/serialization/types/SingleUserResourceResponse.d.ts +12 -0
  195. package/serialization/types/SingleUserResourceResponse.js +33 -0
  196. package/serialization/types/SleepV2InDb.d.ts +1 -1
  197. package/serialization/types/SleepV2InDb.js +1 -1
  198. package/serialization/types/UserResourcesResponse.d.ts +13 -0
  199. package/serialization/types/UserResourcesResponse.js +43 -0
  200. package/serialization/types/WorkoutV2InDb.d.ts +1 -1
  201. package/serialization/types/WorkoutV2InDb.js +1 -1
  202. package/serialization/types/index.d.ts +8 -1
  203. package/serialization/types/index.js +8 -1
  204. /package/api/{types/PhysicianClientFacing.js → resources/introspect/client/requests/IntrospectGetUserResourcesRequest.js} +0 -0
  205. /package/{dist/api/types/PhysicianClientFacing.js → api/resources/labTests/client/requests/LabTestsSimulateOrderProcessRequest.js} +0 -0
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "..";
5
+ import * as Vital from "../../api";
6
+ import * as core from "../../core";
7
+ export declare const SingleUserResourceResponse: core.serialization.ObjectSchema<serializers.SingleUserResourceResponse.Raw, Vital.SingleUserResourceResponse>;
8
+ export declare namespace SingleUserResourceResponse {
9
+ interface Raw {
10
+ user_id: string;
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.SingleUserResourceResponse = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.SingleUserResourceResponse = core.serialization.object({
32
+ userId: core.serialization.property("user_id", core.serialization.string()),
33
+ });
@@ -8,7 +8,7 @@ export declare const SleepV2InDb: core.serialization.ObjectSchema<serializers.Sl
8
8
  export declare namespace SleepV2InDb {
9
9
  interface Raw {
10
10
  timestamp: string;
11
- data?: string | null;
11
+ data: Record<string, unknown>;
12
12
  provider_id: string;
13
13
  user_id: string;
14
14
  source_id: number;
@@ -39,7 +39,7 @@ exports.SleepV2InDb = void 0;
39
39
  const core = __importStar(require("../../core"));
40
40
  exports.SleepV2InDb = core.serialization.object({
41
41
  timestamp: core.serialization.date(),
42
- data: core.serialization.string().optional(),
42
+ data: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
43
43
  providerId: core.serialization.property("provider_id", core.serialization.string()),
44
44
  userId: core.serialization.property("user_id", core.serialization.string()),
45
45
  sourceId: core.serialization.property("source_id", core.serialization.number()),
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "..";
5
+ import * as Vital from "../../api";
6
+ import * as core from "../../core";
7
+ export declare const UserResourcesResponse: core.serialization.ObjectSchema<serializers.UserResourcesResponse.Raw, Vital.UserResourcesResponse>;
8
+ export declare namespace UserResourcesResponse {
9
+ interface Raw {
10
+ data: serializers.SingleUserResourceResponse.Raw[];
11
+ next?: string | null;
12
+ }
13
+ }
@@ -0,0 +1,43 @@
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
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
+ return new (P || (P = Promise))(function (resolve, reject) {
31
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
35
+ });
36
+ };
37
+ Object.defineProperty(exports, "__esModule", { value: true });
38
+ exports.UserResourcesResponse = void 0;
39
+ const core = __importStar(require("../../core"));
40
+ exports.UserResourcesResponse = core.serialization.object({
41
+ data: core.serialization.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).SingleUserResourceResponse; }))),
42
+ next: core.serialization.string().optional(),
43
+ });
@@ -8,7 +8,7 @@ export declare const WorkoutV2InDb: core.serialization.ObjectSchema<serializers.
8
8
  export declare namespace WorkoutV2InDb {
9
9
  interface Raw {
10
10
  timestamp: string;
11
- data?: string | null;
11
+ data: Record<string, unknown>;
12
12
  provider_id: string;
13
13
  user_id: string;
14
14
  source_id: number;
@@ -39,7 +39,7 @@ exports.WorkoutV2InDb = void 0;
39
39
  const core = __importStar(require("../../core"));
40
40
  exports.WorkoutV2InDb = core.serialization.object({
41
41
  timestamp: core.serialization.date(),
42
- data: core.serialization.string().optional(),
42
+ data: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
43
43
  providerId: core.serialization.property("provider_id", core.serialization.string()),
44
44
  userId: core.serialization.property("user_id", core.serialization.string()),
45
45
  sourceId: core.serialization.property("source_id", core.serialization.number()),
@@ -7,6 +7,7 @@ export * from "./AppointmentProvider";
7
7
  export * from "./AppointmentStatus";
8
8
  export * from "./AppointmentType";
9
9
  export * from "./AreaInfo";
10
+ export * from "./AttemptStatus";
10
11
  export * from "./AuthType";
11
12
  export * from "./BiomarkerResult";
12
13
  export * from "./BodyV2InDb";
@@ -50,6 +51,7 @@ export * from "./ClientFacingOrderDetails";
50
51
  export * from "./ClientFacingOrderEvent";
51
52
  export * from "./ClientFacingPatientDetailsCompatible";
52
53
  export * from "./ClientFacingPayorSearchResponse";
54
+ export * from "./ClientFacingPhysician";
53
55
  export * from "./ClientFacingProfile";
54
56
  export * from "./ClientFacingProvider";
55
57
  export * from "./ClientFacingProviderDetailed";
@@ -80,6 +82,7 @@ export * from "./ConnectionStatus";
80
82
  export * from "./Consent";
81
83
  export * from "./ConsentType";
82
84
  export * from "./DaySlots";
85
+ export * from "./DelegatedFlowType";
83
86
  export * from "./DemoConnectionStatus";
84
87
  export * from "./DemoProviders";
85
88
  export * from "./DeviceV2InDb";
@@ -101,6 +104,8 @@ export * from "./LabResultsRaw";
101
104
  export * from "./LabResultsRawResults";
102
105
  export * from "./LabTestCollectionMethod";
103
106
  export * from "./LabTestSampleType";
107
+ export * from "./LabTestStatus";
108
+ export * from "./LastAttempt";
104
109
  export * from "./LibreConfig";
105
110
  export * from "./LinkTokenExchangeResponse";
106
111
  export * from "./LngLat";
@@ -119,7 +124,6 @@ export * from "./PatientAddressCompatible";
119
124
  export * from "./PatientDetails";
120
125
  export * from "./PersonDetails";
121
126
  export * from "./PhlebotomyAreaInfo";
122
- export * from "./PhysicianClientFacing";
123
127
  export * from "./PhysicianCreateRequest";
124
128
  export * from "./PhysicianCreateRequestSignatureImage";
125
129
  export * from "./PhysicianCreateRequestBase";
@@ -138,6 +142,8 @@ export * from "./Region";
138
142
  export * from "./ResponsibleRelationship";
139
143
  export * from "./ResultType";
140
144
  export * from "./ShippingAddress";
145
+ export * from "./SingleResourceStatistics";
146
+ export * from "./SingleUserResourceResponse";
141
147
  export * from "./SleepV2InDb";
142
148
  export * from "./Source";
143
149
  export * from "./SourceAuthType";
@@ -149,6 +155,7 @@ export * from "./TimeseriesMetricPoint";
149
155
  export * from "./TimeseriesResource";
150
156
  export * from "./UserRefreshErrorResponse";
151
157
  export * from "./UserRefreshSuccessResponse";
158
+ export * from "./UserResourcesResponse";
152
159
  export * from "./UserSignInToken";
153
160
  export * from "./UserSignInTokenResponse";
154
161
  export * from "./UserSignInTokenResponseSignInToken";
@@ -23,6 +23,7 @@ __exportStar(require("./AppointmentProvider"), exports);
23
23
  __exportStar(require("./AppointmentStatus"), exports);
24
24
  __exportStar(require("./AppointmentType"), exports);
25
25
  __exportStar(require("./AreaInfo"), exports);
26
+ __exportStar(require("./AttemptStatus"), exports);
26
27
  __exportStar(require("./AuthType"), exports);
27
28
  __exportStar(require("./BiomarkerResult"), exports);
28
29
  __exportStar(require("./BodyV2InDb"), exports);
@@ -66,6 +67,7 @@ __exportStar(require("./ClientFacingOrderDetails"), exports);
66
67
  __exportStar(require("./ClientFacingOrderEvent"), exports);
67
68
  __exportStar(require("./ClientFacingPatientDetailsCompatible"), exports);
68
69
  __exportStar(require("./ClientFacingPayorSearchResponse"), exports);
70
+ __exportStar(require("./ClientFacingPhysician"), exports);
69
71
  __exportStar(require("./ClientFacingProfile"), exports);
70
72
  __exportStar(require("./ClientFacingProvider"), exports);
71
73
  __exportStar(require("./ClientFacingProviderDetailed"), exports);
@@ -96,6 +98,7 @@ __exportStar(require("./ConnectionStatus"), exports);
96
98
  __exportStar(require("./Consent"), exports);
97
99
  __exportStar(require("./ConsentType"), exports);
98
100
  __exportStar(require("./DaySlots"), exports);
101
+ __exportStar(require("./DelegatedFlowType"), exports);
99
102
  __exportStar(require("./DemoConnectionStatus"), exports);
100
103
  __exportStar(require("./DemoProviders"), exports);
101
104
  __exportStar(require("./DeviceV2InDb"), exports);
@@ -117,6 +120,8 @@ __exportStar(require("./LabResultsRaw"), exports);
117
120
  __exportStar(require("./LabResultsRawResults"), exports);
118
121
  __exportStar(require("./LabTestCollectionMethod"), exports);
119
122
  __exportStar(require("./LabTestSampleType"), exports);
123
+ __exportStar(require("./LabTestStatus"), exports);
124
+ __exportStar(require("./LastAttempt"), exports);
120
125
  __exportStar(require("./LibreConfig"), exports);
121
126
  __exportStar(require("./LinkTokenExchangeResponse"), exports);
122
127
  __exportStar(require("./LngLat"), exports);
@@ -135,7 +140,6 @@ __exportStar(require("./PatientAddressCompatible"), exports);
135
140
  __exportStar(require("./PatientDetails"), exports);
136
141
  __exportStar(require("./PersonDetails"), exports);
137
142
  __exportStar(require("./PhlebotomyAreaInfo"), exports);
138
- __exportStar(require("./PhysicianClientFacing"), exports);
139
143
  __exportStar(require("./PhysicianCreateRequest"), exports);
140
144
  __exportStar(require("./PhysicianCreateRequestSignatureImage"), exports);
141
145
  __exportStar(require("./PhysicianCreateRequestBase"), exports);
@@ -154,6 +158,8 @@ __exportStar(require("./Region"), exports);
154
158
  __exportStar(require("./ResponsibleRelationship"), exports);
155
159
  __exportStar(require("./ResultType"), exports);
156
160
  __exportStar(require("./ShippingAddress"), exports);
161
+ __exportStar(require("./SingleResourceStatistics"), exports);
162
+ __exportStar(require("./SingleUserResourceResponse"), exports);
157
163
  __exportStar(require("./SleepV2InDb"), exports);
158
164
  __exportStar(require("./Source"), exports);
159
165
  __exportStar(require("./SourceAuthType"), exports);
@@ -165,6 +171,7 @@ __exportStar(require("./TimeseriesMetricPoint"), exports);
165
171
  __exportStar(require("./TimeseriesResource"), exports);
166
172
  __exportStar(require("./UserRefreshErrorResponse"), exports);
167
173
  __exportStar(require("./UserRefreshSuccessResponse"), exports);
174
+ __exportStar(require("./UserResourcesResponse"), exports);
168
175
  __exportStar(require("./UserSignInToken"), exports);
169
176
  __exportStar(require("./UserSignInTokenResponse"), exports);
170
177
  __exportStar(require("./UserSignInTokenResponseSignInToken"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryvital/vital-node",
3
- "version": "3.0.2",
3
+ "version": "3.0.3",
4
4
  "private": false,
5
5
  "repository": "https://github.com/tryVital/vital-node",
6
6
  "main": "./index.js",
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../..";
5
+ import * as Vital from "../../../../api";
6
+ import * as core from "../../../../core";
7
+ export declare const Response: core.serialization.Schema<serializers.team.getPhysicians.Response.Raw, Vital.ClientFacingPhysician[]>;
8
+ export declare namespace Response {
9
+ type Raw = serializers.ClientFacingPhysician.Raw[];
10
+ }
@@ -0,0 +1,40 @@
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
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
+ return new (P || (P = Promise))(function (resolve, reject) {
31
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
35
+ });
36
+ };
37
+ Object.defineProperty(exports, "__esModule", { value: true });
38
+ exports.Response = void 0;
39
+ const core = __importStar(require("../../../../core"));
40
+ exports.Response = core.serialization.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).ClientFacingPhysician; })));
@@ -3,3 +3,4 @@ export * as getUserById from "./getUserById";
3
3
  export * as getSvixUrl from "./getSvixUrl";
4
4
  export * as getSourcePriorities from "./getSourcePriorities";
5
5
  export * as updateSourcePriorities from "./updateSourcePriorities";
6
+ export * as getPhysicians from "./getPhysicians";
@@ -23,9 +23,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.updateSourcePriorities = exports.getSourcePriorities = exports.getSvixUrl = exports.getUserById = exports.getLinkConfig = void 0;
26
+ exports.getPhysicians = exports.updateSourcePriorities = exports.getSourcePriorities = exports.getSvixUrl = exports.getUserById = exports.getLinkConfig = void 0;
27
27
  exports.getLinkConfig = __importStar(require("./getLinkConfig"));
28
28
  exports.getUserById = __importStar(require("./getUserById"));
29
29
  exports.getSvixUrl = __importStar(require("./getSvixUrl"));
30
30
  exports.getSourcePriorities = __importStar(require("./getSourcePriorities"));
31
31
  exports.updateSourcePriorities = __importStar(require("./updateSourcePriorities"));
32
+ exports.getPhysicians = __importStar(require("./getPhysicians"));
@@ -8,7 +8,7 @@ export declare const ActivityV2InDb: core.serialization.ObjectSchema<serializers
8
8
  export declare namespace ActivityV2InDb {
9
9
  interface Raw {
10
10
  timestamp: string;
11
- data?: string | null;
11
+ data: Record<string, unknown>;
12
12
  provider_id: string;
13
13
  user_id: string;
14
14
  source_id: number;
@@ -39,7 +39,7 @@ exports.ActivityV2InDb = void 0;
39
39
  const core = __importStar(require("../../core"));
40
40
  exports.ActivityV2InDb = core.serialization.object({
41
41
  timestamp: core.serialization.date(),
42
- data: core.serialization.string().optional(),
42
+ data: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
43
43
  providerId: core.serialization.property("provider_id", core.serialization.string()),
44
44
  userId: core.serialization.property("user_id", core.serialization.string()),
45
45
  sourceId: core.serialization.property("source_id", core.serialization.number()),
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "..";
5
+ import * as Vital from "../../api";
6
+ import * as core from "../../core";
7
+ export declare const AttemptStatus: core.serialization.Schema<serializers.AttemptStatus.Raw, Vital.AttemptStatus>;
8
+ export declare namespace AttemptStatus {
9
+ type Raw = "success" | "failure";
10
+ }
@@ -0,0 +1,31 @@
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.AttemptStatus = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.AttemptStatus = core.serialization.enum_(["success", "failure"]);
@@ -8,7 +8,7 @@ export declare const BodyV2InDb: core.serialization.ObjectSchema<serializers.Bod
8
8
  export declare namespace BodyV2InDb {
9
9
  interface Raw {
10
10
  timestamp: string;
11
- data?: string | null;
11
+ data: Record<string, unknown>;
12
12
  provider_id: string;
13
13
  user_id: string;
14
14
  source_id: number;
@@ -39,7 +39,7 @@ exports.BodyV2InDb = void 0;
39
39
  const core = __importStar(require("../../core"));
40
40
  exports.BodyV2InDb = core.serialization.object({
41
41
  timestamp: core.serialization.date(),
42
- data: core.serialization.string().optional(),
42
+ data: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
43
43
  providerId: core.serialization.property("provider_id", core.serialization.string()),
44
44
  userId: core.serialization.property("user_id", core.serialization.string()),
45
45
  sourceId: core.serialization.property("source_id", core.serialization.number()),
@@ -14,6 +14,7 @@ export declare namespace ClientFacingLabTest {
14
14
  method: serializers.LabTestCollectionMethod.Raw;
15
15
  price: number;
16
16
  is_active: boolean;
17
+ status: serializers.LabTestStatus.Raw;
17
18
  fasting?: boolean | null;
18
19
  lab?: serializers.ClientFacingLab.Raw | null;
19
20
  markers?: serializers.ClientFacingMarker.Raw[] | null;
@@ -45,6 +45,7 @@ exports.ClientFacingLabTest = core.serialization.object({
45
45
  method: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).LabTestCollectionMethod; })),
46
46
  price: core.serialization.number(),
47
47
  isActive: core.serialization.property("is_active", core.serialization.boolean()),
48
+ status: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).LabTestStatus; })),
48
49
  fasting: core.serialization.boolean().optional(),
49
50
  lab: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ClientFacingLab; })).optional(),
50
51
  markers: core.serialization
@@ -20,7 +20,7 @@ export declare namespace ClientFacingOrder {
20
20
  updated_at: string;
21
21
  events: serializers.ClientFacingOrderEvent.Raw[];
22
22
  status?: serializers.OrderTopLevelStatus.Raw | null;
23
- physician?: serializers.PhysicianClientFacing.Raw | null;
23
+ physician?: serializers.ClientFacingPhysician.Raw | null;
24
24
  health_insurance_id?: string | null;
25
25
  requisition_form_url?: string | null;
26
26
  priority?: boolean | null;
@@ -51,7 +51,7 @@ exports.ClientFacingOrder = core.serialization.object({
51
51
  updatedAt: core.serialization.property("updated_at", core.serialization.date()),
52
52
  events: core.serialization.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ClientFacingOrderEvent; }))),
53
53
  status: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).OrderTopLevelStatus; })).optional(),
54
- physician: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).PhysicianClientFacing; })).optional(),
54
+ physician: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ClientFacingPhysician; })).optional(),
55
55
  healthInsuranceId: core.serialization.property("health_insurance_id", core.serialization.string().optional()),
56
56
  requisitionFormUrl: core.serialization.property("requisition_form_url", core.serialization.string().optional()),
57
57
  priority: core.serialization.boolean().optional(),
@@ -4,8 +4,8 @@
4
4
  import * as serializers from "..";
5
5
  import * as Vital from "../../api";
6
6
  import * as core from "../../core";
7
- export declare const PhysicianClientFacing: core.serialization.ObjectSchema<serializers.PhysicianClientFacing.Raw, Vital.PhysicianClientFacing>;
8
- export declare namespace PhysicianClientFacing {
7
+ export declare const ClientFacingPhysician: core.serialization.ObjectSchema<serializers.ClientFacingPhysician.Raw, Vital.ClientFacingPhysician>;
8
+ export declare namespace ClientFacingPhysician {
9
9
  interface Raw {
10
10
  first_name: string;
11
11
  last_name: string;
@@ -26,9 +26,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.PhysicianClientFacing = void 0;
29
+ exports.ClientFacingPhysician = void 0;
30
30
  const core = __importStar(require("../../core"));
31
- exports.PhysicianClientFacing = core.serialization.object({
31
+ exports.ClientFacingPhysician = core.serialization.object({
32
32
  firstName: core.serialization.property("first_name", core.serialization.string()),
33
33
  lastName: core.serialization.property("last_name", core.serialization.string()),
34
34
  npi: core.serialization.string(),
@@ -23,5 +23,6 @@ export declare namespace ClientFacingTeam {
23
23
  lab_tests_patient_sms_communication_enabled: boolean;
24
24
  lab_tests_patient_email_communication_enabled: boolean;
25
25
  logo_url?: string | null;
26
+ delegated_flow: serializers.DelegatedFlowType.Raw;
26
27
  }
27
28
  }
@@ -56,4 +56,5 @@ exports.ClientFacingTeam = core.serialization.object({
56
56
  labTestsPatientSmsCommunicationEnabled: core.serialization.property("lab_tests_patient_sms_communication_enabled", core.serialization.boolean()),
57
57
  labTestsPatientEmailCommunicationEnabled: core.serialization.property("lab_tests_patient_email_communication_enabled", core.serialization.boolean()),
58
58
  logoUrl: core.serialization.property("logo_url", core.serialization.string().optional()),
59
+ delegatedFlow: core.serialization.property("delegated_flow", core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).DelegatedFlowType; }))),
59
60
  });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "..";
5
+ import * as Vital from "../../api";
6
+ import * as core from "../../core";
7
+ export declare const DelegatedFlowType: core.serialization.Schema<serializers.DelegatedFlowType.Raw, Vital.DelegatedFlowType>;
8
+ export declare namespace DelegatedFlowType {
9
+ type Raw = "order_and_results_with_customer_physician_network" | "order_with_vital_physician_network" | "order_and_results_with_vital_physician_network";
10
+ }
@@ -0,0 +1,35 @@
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.DelegatedFlowType = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.DelegatedFlowType = core.serialization.enum_([
32
+ "order_and_results_with_customer_physician_network",
33
+ "order_with_vital_physician_network",
34
+ "order_and_results_with_vital_physician_network",
35
+ ]);
@@ -8,8 +8,9 @@ export declare const GetMarkersResponse: core.serialization.ObjectSchema<seriali
8
8
  export declare namespace GetMarkersResponse {
9
9
  interface Raw {
10
10
  markers: serializers.ClientFacingMarkerComplete.Raw[];
11
- total: number;
12
- page: number;
13
- size: number;
11
+ total?: number | null;
12
+ page?: number | null;
13
+ size?: number | null;
14
+ pages?: number | null;
14
15
  }
15
16
  }
@@ -39,7 +39,8 @@ exports.GetMarkersResponse = void 0;
39
39
  const core = __importStar(require("../../core"));
40
40
  exports.GetMarkersResponse = core.serialization.object({
41
41
  markers: core.serialization.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ClientFacingMarkerComplete; }))),
42
- total: core.serialization.number(),
43
- page: core.serialization.number(),
44
- size: core.serialization.number(),
42
+ total: core.serialization.number().optional(),
43
+ page: core.serialization.number().optional(),
44
+ size: core.serialization.number().optional(),
45
+ pages: core.serialization.number().optional(),
45
46
  });
@@ -8,8 +8,8 @@ export declare const GetOrdersResponse: core.serialization.ObjectSchema<serializ
8
8
  export declare namespace GetOrdersResponse {
9
9
  interface Raw {
10
10
  orders: serializers.ClientFacingOrder.Raw[];
11
- total: number;
12
- page: number;
13
- size: number;
11
+ total?: number | null;
12
+ page?: number | null;
13
+ size?: number | null;
14
14
  }
15
15
  }
@@ -39,7 +39,7 @@ exports.GetOrdersResponse = void 0;
39
39
  const core = __importStar(require("../../core"));
40
40
  exports.GetOrdersResponse = core.serialization.object({
41
41
  orders: core.serialization.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ClientFacingOrder; }))),
42
- total: core.serialization.number(),
43
- page: core.serialization.number(),
44
- size: core.serialization.number(),
42
+ total: core.serialization.number().optional(),
43
+ page: core.serialization.number().optional(),
44
+ size: core.serialization.number().optional(),
45
45
  });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "..";
5
+ import * as Vital from "../../api";
6
+ import * as core from "../../core";
7
+ export declare const LabTestStatus: core.serialization.Schema<serializers.LabTestStatus.Raw, Vital.LabTestStatus>;
8
+ export declare namespace LabTestStatus {
9
+ type Raw = "active" | "pending_approval" | "inactive";
10
+ }