@tryvital/vital-node 3.1.73 → 3.1.75

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 (94) hide show
  1. package/api/resources/activity/client/Client.js +2 -2
  2. package/api/resources/aggregate/client/Client.js +1 -1
  3. package/api/resources/body/client/Client.js +2 -2
  4. package/api/resources/devices/client/Client.js +1 -1
  5. package/api/resources/insurance/client/Client.js +2 -2
  6. package/api/resources/introspect/client/Client.js +2 -2
  7. package/api/resources/labTests/client/Client.d.ts +8 -6
  8. package/api/resources/labTests/client/Client.js +41 -33
  9. package/api/resources/labTests/client/requests/LabTestsGetPhlebotomyAppointmentAvailabilityRequest.d.ts +25 -0
  10. package/api/resources/labTests/client/requests/LabTestsGetPhlebotomyAppointmentAvailabilityRequest.js +5 -0
  11. package/api/resources/labTests/client/requests/index.d.ts +1 -0
  12. package/api/resources/link/client/Client.js +14 -14
  13. package/api/resources/meal/client/Client.js +1 -1
  14. package/api/resources/menstrualCycle/client/Client.js +1 -1
  15. package/api/resources/profile/client/Client.js +2 -2
  16. package/api/resources/providers/client/Client.js +1 -1
  17. package/api/resources/sleep/client/Client.js +4 -4
  18. package/api/resources/team/client/Client.js +7 -7
  19. package/api/resources/testkit/client/Client.js +2 -2
  20. package/api/resources/user/client/Client.js +16 -16
  21. package/api/resources/vitals/client/Client.js +56 -56
  22. package/api/resources/workouts/client/Client.js +3 -3
  23. package/api/types/FailureType.d.ts +16 -0
  24. package/api/types/FailureType.js +18 -0
  25. package/api/types/GroupKeyColumnExprGroupKey.d.ts +2 -1
  26. package/api/types/LabResultsRaw.d.ts +1 -0
  27. package/api/types/MissingBiomarkerResult.d.ts +13 -0
  28. package/api/types/MissingBiomarkerResult.js +5 -0
  29. package/api/types/Select.d.ts +7 -0
  30. package/api/types/Select.js +9 -0
  31. package/api/types/index.d.ts +3 -0
  32. package/api/types/index.js +3 -0
  33. package/dist/api/resources/activity/client/Client.js +2 -2
  34. package/dist/api/resources/aggregate/client/Client.js +1 -1
  35. package/dist/api/resources/body/client/Client.js +2 -2
  36. package/dist/api/resources/devices/client/Client.js +1 -1
  37. package/dist/api/resources/insurance/client/Client.js +2 -2
  38. package/dist/api/resources/introspect/client/Client.js +2 -2
  39. package/dist/api/resources/labTests/client/Client.d.ts +8 -6
  40. package/dist/api/resources/labTests/client/Client.js +41 -33
  41. package/dist/api/resources/labTests/client/requests/LabTestsGetPhlebotomyAppointmentAvailabilityRequest.d.ts +25 -0
  42. package/dist/api/resources/labTests/client/requests/LabTestsGetPhlebotomyAppointmentAvailabilityRequest.js +5 -0
  43. package/dist/api/resources/labTests/client/requests/index.d.ts +1 -0
  44. package/dist/api/resources/link/client/Client.js +14 -14
  45. package/dist/api/resources/meal/client/Client.js +1 -1
  46. package/dist/api/resources/menstrualCycle/client/Client.js +1 -1
  47. package/dist/api/resources/profile/client/Client.js +2 -2
  48. package/dist/api/resources/providers/client/Client.js +1 -1
  49. package/dist/api/resources/sleep/client/Client.js +4 -4
  50. package/dist/api/resources/team/client/Client.js +7 -7
  51. package/dist/api/resources/testkit/client/Client.js +2 -2
  52. package/dist/api/resources/user/client/Client.js +16 -16
  53. package/dist/api/resources/vitals/client/Client.js +56 -56
  54. package/dist/api/resources/workouts/client/Client.js +3 -3
  55. package/dist/api/types/FailureType.d.ts +16 -0
  56. package/dist/api/types/FailureType.js +18 -0
  57. package/dist/api/types/GroupKeyColumnExprGroupKey.d.ts +2 -1
  58. package/dist/api/types/LabResultsRaw.d.ts +1 -0
  59. package/dist/api/types/MissingBiomarkerResult.d.ts +13 -0
  60. package/dist/api/types/MissingBiomarkerResult.js +5 -0
  61. package/dist/api/types/Select.d.ts +7 -0
  62. package/dist/api/types/Select.js +9 -0
  63. package/dist/api/types/index.d.ts +3 -0
  64. package/dist/api/types/index.js +3 -0
  65. package/dist/serialization/types/FailureType.d.ts +10 -0
  66. package/dist/serialization/types/FailureType.js +42 -0
  67. package/dist/serialization/types/GroupKeyColumnExprGroupKey.d.ts +2 -1
  68. package/dist/serialization/types/GroupKeyColumnExprGroupKey.js +2 -1
  69. package/dist/serialization/types/LabResultsRaw.d.ts +2 -0
  70. package/dist/serialization/types/LabResultsRaw.js +2 -0
  71. package/dist/serialization/types/MissingBiomarkerResult.d.ts +19 -0
  72. package/dist/serialization/types/MissingBiomarkerResult.js +40 -0
  73. package/dist/serialization/types/Select.d.ts +10 -0
  74. package/dist/serialization/types/Select.js +31 -0
  75. package/dist/serialization/types/index.d.ts +3 -0
  76. package/dist/serialization/types/index.js +3 -0
  77. package/dist/version.d.ts +1 -1
  78. package/dist/version.js +1 -1
  79. package/package.json +1 -1
  80. package/reference.md +7 -5
  81. package/serialization/types/FailureType.d.ts +10 -0
  82. package/serialization/types/FailureType.js +42 -0
  83. package/serialization/types/GroupKeyColumnExprGroupKey.d.ts +2 -1
  84. package/serialization/types/GroupKeyColumnExprGroupKey.js +2 -1
  85. package/serialization/types/LabResultsRaw.d.ts +2 -0
  86. package/serialization/types/LabResultsRaw.js +2 -0
  87. package/serialization/types/MissingBiomarkerResult.d.ts +19 -0
  88. package/serialization/types/MissingBiomarkerResult.js +40 -0
  89. package/serialization/types/Select.d.ts +10 -0
  90. package/serialization/types/Select.js +31 -0
  91. package/serialization/types/index.d.ts +3 -0
  92. package/serialization/types/index.js +3 -0
  93. package/version.d.ts +1 -1
  94. package/version.js +1 -1
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type FailureType = "quantity_not_sufficient_failure" | "collection_process_failure" | "drop_off_failure" | "internal_lab_failure" | "order_entry_failure" | "non_failure" | "unknown_failure" | "patient_condition_failure" | "missing_result_calc_failure" | "missing_demo_aoe_calc_failure";
5
+ export declare const FailureType: {
6
+ readonly QuantityNotSufficientFailure: "quantity_not_sufficient_failure";
7
+ readonly CollectionProcessFailure: "collection_process_failure";
8
+ readonly DropOffFailure: "drop_off_failure";
9
+ readonly InternalLabFailure: "internal_lab_failure";
10
+ readonly OrderEntryFailure: "order_entry_failure";
11
+ readonly NonFailure: "non_failure";
12
+ readonly UnknownFailure: "unknown_failure";
13
+ readonly PatientConditionFailure: "patient_condition_failure";
14
+ readonly MissingResultCalcFailure: "missing_result_calc_failure";
15
+ readonly MissingDemoAoeCalcFailure: "missing_demo_aoe_calc_failure";
16
+ };
@@ -0,0 +1,18 @@
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.FailureType = void 0;
7
+ exports.FailureType = {
8
+ QuantityNotSufficientFailure: "quantity_not_sufficient_failure",
9
+ CollectionProcessFailure: "collection_process_failure",
10
+ DropOffFailure: "drop_off_failure",
11
+ InternalLabFailure: "internal_lab_failure",
12
+ OrderEntryFailure: "order_entry_failure",
13
+ NonFailure: "non_failure",
14
+ UnknownFailure: "unknown_failure",
15
+ PatientConditionFailure: "patient_condition_failure",
16
+ MissingResultCalcFailure: "missing_result_calc_failure",
17
+ MissingDemoAoeCalcFailure: "missing_demo_aoe_calc_failure",
18
+ };
@@ -1,4 +1,5 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export declare type GroupKeyColumnExprGroupKey = number | "*";
4
+ import * as Vital from "../index";
5
+ export declare type GroupKeyColumnExprGroupKey = number | Vital.Select;
@@ -5,4 +5,5 @@ import * as Vital from "../index";
5
5
  export interface LabResultsRaw {
6
6
  metadata: Vital.LabResultsMetadata;
7
7
  results: Vital.LabResultsRawResults;
8
+ missingResults?: Vital.MissingBiomarkerResult[];
8
9
  }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vital from "../index";
5
+ export interface MissingBiomarkerResult {
6
+ name: string;
7
+ slug: string;
8
+ inferredFailureType: Vital.FailureType;
9
+ note?: string;
10
+ loinc?: string;
11
+ loincSlug?: string;
12
+ providerId?: string;
13
+ }
@@ -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 declare type Select = "*";
5
+ export declare const Select: {
6
+ readonly SelectAll: "*";
7
+ };
@@ -0,0 +1,9 @@
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.Select = void 0;
7
+ exports.Select = {
8
+ SelectAll: "*",
9
+ };
@@ -158,6 +158,7 @@ export * from "./Energy";
158
158
  export * from "./EventDestinationPreferencesPreferred";
159
159
  export * from "./EventDestinationPreferencesEnabledItem";
160
160
  export * from "./EventDestinationPreferences";
161
+ export * from "./FailureType";
161
162
  export * from "./FallbackBirthDate";
162
163
  export * from "./FallbackTimeZone";
163
164
  export * from "./Fats";
@@ -204,6 +205,7 @@ export * from "./MenstrualFlowEntry";
204
205
  export * from "./MetricsResult";
205
206
  export * from "./Micros";
206
207
  export * from "./Minerals";
208
+ export * from "./MissingBiomarkerResult";
207
209
  export * from "./OAuthProviders";
208
210
  export * from "./OrderSetRequest";
209
211
  export * from "./OrderStatus";
@@ -337,3 +339,4 @@ export * from "./GroupedBodyFat";
337
339
  export * from "./GroupedBloodOxygen";
338
340
  export * from "./GroupedElectrocardiogramVoltage";
339
341
  export * from "./GroupedBloodPressure";
342
+ export * from "./Select";
@@ -174,6 +174,7 @@ __exportStar(require("./Energy"), exports);
174
174
  __exportStar(require("./EventDestinationPreferencesPreferred"), exports);
175
175
  __exportStar(require("./EventDestinationPreferencesEnabledItem"), exports);
176
176
  __exportStar(require("./EventDestinationPreferences"), exports);
177
+ __exportStar(require("./FailureType"), exports);
177
178
  __exportStar(require("./FallbackBirthDate"), exports);
178
179
  __exportStar(require("./FallbackTimeZone"), exports);
179
180
  __exportStar(require("./Fats"), exports);
@@ -220,6 +221,7 @@ __exportStar(require("./MenstrualFlowEntry"), exports);
220
221
  __exportStar(require("./MetricsResult"), exports);
221
222
  __exportStar(require("./Micros"), exports);
222
223
  __exportStar(require("./Minerals"), exports);
224
+ __exportStar(require("./MissingBiomarkerResult"), exports);
223
225
  __exportStar(require("./OAuthProviders"), exports);
224
226
  __exportStar(require("./OrderSetRequest"), exports);
225
227
  __exportStar(require("./OrderStatus"), exports);
@@ -353,3 +355,4 @@ __exportStar(require("./GroupedBodyFat"), exports);
353
355
  __exportStar(require("./GroupedBloodOxygen"), exports);
354
356
  __exportStar(require("./GroupedElectrocardiogramVoltage"), exports);
355
357
  __exportStar(require("./GroupedBloodPressure"), exports);
358
+ __exportStar(require("./Select"), exports);
@@ -0,0 +1,10 @@
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 FailureType: core.serialization.Schema<serializers.FailureType.Raw, Vital.FailureType>;
8
+ export declare namespace FailureType {
9
+ type Raw = "quantity_not_sufficient_failure" | "collection_process_failure" | "drop_off_failure" | "internal_lab_failure" | "order_entry_failure" | "non_failure" | "unknown_failure" | "patient_condition_failure" | "missing_result_calc_failure" | "missing_demo_aoe_calc_failure";
10
+ }
@@ -0,0 +1,42 @@
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.FailureType = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.FailureType = core.serialization.enum_([
32
+ "quantity_not_sufficient_failure",
33
+ "collection_process_failure",
34
+ "drop_off_failure",
35
+ "internal_lab_failure",
36
+ "order_entry_failure",
37
+ "non_failure",
38
+ "unknown_failure",
39
+ "patient_condition_failure",
40
+ "missing_result_calc_failure",
41
+ "missing_demo_aoe_calc_failure",
42
+ ]);
@@ -4,7 +4,8 @@
4
4
  import * as serializers from "../index";
5
5
  import * as Vital from "../../api/index";
6
6
  import * as core from "../../core";
7
+ import { Select } from "./Select";
7
8
  export declare const GroupKeyColumnExprGroupKey: core.serialization.Schema<serializers.GroupKeyColumnExprGroupKey.Raw, Vital.GroupKeyColumnExprGroupKey>;
8
9
  export declare namespace GroupKeyColumnExprGroupKey {
9
- type Raw = number | "*";
10
+ type Raw = number | Select.Raw;
10
11
  }
@@ -28,4 +28,5 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.GroupKeyColumnExprGroupKey = void 0;
30
30
  const core = __importStar(require("../../core"));
31
- exports.GroupKeyColumnExprGroupKey = core.serialization.undiscriminatedUnion([core.serialization.number(), core.serialization.stringLiteral("*")]);
31
+ const Select_1 = require("./Select");
32
+ exports.GroupKeyColumnExprGroupKey = core.serialization.undiscriminatedUnion([core.serialization.number(), Select_1.Select]);
@@ -6,10 +6,12 @@ import * as Vital from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  import { LabResultsMetadata } from "./LabResultsMetadata";
8
8
  import { LabResultsRawResults } from "./LabResultsRawResults";
9
+ import { MissingBiomarkerResult } from "./MissingBiomarkerResult";
9
10
  export declare const LabResultsRaw: core.serialization.ObjectSchema<serializers.LabResultsRaw.Raw, Vital.LabResultsRaw>;
10
11
  export declare namespace LabResultsRaw {
11
12
  interface Raw {
12
13
  metadata: LabResultsMetadata.Raw;
13
14
  results: LabResultsRawResults.Raw;
15
+ missing_results?: MissingBiomarkerResult.Raw[] | null;
14
16
  }
15
17
  }
@@ -30,7 +30,9 @@ exports.LabResultsRaw = void 0;
30
30
  const core = __importStar(require("../../core"));
31
31
  const LabResultsMetadata_1 = require("./LabResultsMetadata");
32
32
  const LabResultsRawResults_1 = require("./LabResultsRawResults");
33
+ const MissingBiomarkerResult_1 = require("./MissingBiomarkerResult");
33
34
  exports.LabResultsRaw = core.serialization.object({
34
35
  metadata: LabResultsMetadata_1.LabResultsMetadata,
35
36
  results: LabResultsRawResults_1.LabResultsRawResults,
37
+ missingResults: core.serialization.property("missing_results", core.serialization.list(MissingBiomarkerResult_1.MissingBiomarkerResult).optional()),
36
38
  });
@@ -0,0 +1,19 @@
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 { FailureType } from "./FailureType";
8
+ export declare const MissingBiomarkerResult: core.serialization.ObjectSchema<serializers.MissingBiomarkerResult.Raw, Vital.MissingBiomarkerResult>;
9
+ export declare namespace MissingBiomarkerResult {
10
+ interface Raw {
11
+ name: string;
12
+ slug: string;
13
+ inferred_failure_type: FailureType.Raw;
14
+ note?: string | null;
15
+ loinc?: string | null;
16
+ loinc_slug?: string | null;
17
+ provider_id?: string | null;
18
+ }
19
+ }
@@ -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
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.MissingBiomarkerResult = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const FailureType_1 = require("./FailureType");
32
+ exports.MissingBiomarkerResult = core.serialization.object({
33
+ name: core.serialization.string(),
34
+ slug: core.serialization.string(),
35
+ inferredFailureType: core.serialization.property("inferred_failure_type", FailureType_1.FailureType),
36
+ note: core.serialization.string().optional(),
37
+ loinc: core.serialization.string().optional(),
38
+ loincSlug: core.serialization.property("loinc_slug", core.serialization.string().optional()),
39
+ providerId: core.serialization.property("provider_id", core.serialization.string().optional()),
40
+ });
@@ -0,0 +1,10 @@
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 Select: core.serialization.Schema<serializers.Select.Raw, Vital.Select>;
8
+ export declare namespace Select {
9
+ type Raw = "*";
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.Select = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.Select = core.serialization.enum_(["*"]);
@@ -158,6 +158,7 @@ export * from "./Energy";
158
158
  export * from "./EventDestinationPreferencesPreferred";
159
159
  export * from "./EventDestinationPreferencesEnabledItem";
160
160
  export * from "./EventDestinationPreferences";
161
+ export * from "./FailureType";
161
162
  export * from "./FallbackBirthDate";
162
163
  export * from "./FallbackTimeZone";
163
164
  export * from "./Fats";
@@ -204,6 +205,7 @@ export * from "./MenstrualFlowEntry";
204
205
  export * from "./MetricsResult";
205
206
  export * from "./Micros";
206
207
  export * from "./Minerals";
208
+ export * from "./MissingBiomarkerResult";
207
209
  export * from "./OAuthProviders";
208
210
  export * from "./OrderSetRequest";
209
211
  export * from "./OrderStatus";
@@ -337,3 +339,4 @@ export * from "./GroupedBodyFat";
337
339
  export * from "./GroupedBloodOxygen";
338
340
  export * from "./GroupedElectrocardiogramVoltage";
339
341
  export * from "./GroupedBloodPressure";
342
+ export * from "./Select";
@@ -174,6 +174,7 @@ __exportStar(require("./Energy"), exports);
174
174
  __exportStar(require("./EventDestinationPreferencesPreferred"), exports);
175
175
  __exportStar(require("./EventDestinationPreferencesEnabledItem"), exports);
176
176
  __exportStar(require("./EventDestinationPreferences"), exports);
177
+ __exportStar(require("./FailureType"), exports);
177
178
  __exportStar(require("./FallbackBirthDate"), exports);
178
179
  __exportStar(require("./FallbackTimeZone"), exports);
179
180
  __exportStar(require("./Fats"), exports);
@@ -220,6 +221,7 @@ __exportStar(require("./MenstrualFlowEntry"), exports);
220
221
  __exportStar(require("./MetricsResult"), exports);
221
222
  __exportStar(require("./Micros"), exports);
222
223
  __exportStar(require("./Minerals"), exports);
224
+ __exportStar(require("./MissingBiomarkerResult"), exports);
223
225
  __exportStar(require("./OAuthProviders"), exports);
224
226
  __exportStar(require("./OrderSetRequest"), exports);
225
227
  __exportStar(require("./OrderStatus"), exports);
@@ -353,3 +355,4 @@ __exportStar(require("./GroupedBodyFat"), exports);
353
355
  __exportStar(require("./GroupedBloodOxygen"), exports);
354
356
  __exportStar(require("./GroupedElectrocardiogramVoltage"), exports);
355
357
  __exportStar(require("./GroupedBloodPressure"), exports);
358
+ __exportStar(require("./Select"), exports);
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "3.1.73";
1
+ export declare const SDK_VERSION = "3.1.75";
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "3.1.73";
4
+ exports.SDK_VERSION = "3.1.75";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryvital/vital-node",
3
- "version": "3.1.73",
3
+ "version": "3.1.75",
4
4
  "private": false,
5
5
  "repository": "https://github.com/tryVital/vital-node",
6
6
  "main": "./index.js",
package/reference.md CHANGED
@@ -7258,10 +7258,12 @@ for the given address and order.
7258
7258
 
7259
7259
  ```typescript
7260
7260
  await client.labTests.getPhlebotomyAppointmentAvailability({
7261
- firstLine: "first_line",
7262
- city: "city",
7263
- state: "state",
7264
- zipCode: "zip_code",
7261
+ body: {
7262
+ firstLine: "first_line",
7263
+ city: "city",
7264
+ state: "state",
7265
+ zipCode: "zip_code",
7266
+ },
7265
7267
  });
7266
7268
  ```
7267
7269
 
@@ -7278,7 +7280,7 @@ await client.labTests.getPhlebotomyAppointmentAvailability({
7278
7280
  <dl>
7279
7281
  <dd>
7280
7282
 
7281
- **request:** `Vital.UsAddress`
7283
+ **request:** `Vital.LabTestsGetPhlebotomyAppointmentAvailabilityRequest`
7282
7284
 
7283
7285
  </dd>
7284
7286
  </dl>
@@ -0,0 +1,10 @@
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 FailureType: core.serialization.Schema<serializers.FailureType.Raw, Vital.FailureType>;
8
+ export declare namespace FailureType {
9
+ type Raw = "quantity_not_sufficient_failure" | "collection_process_failure" | "drop_off_failure" | "internal_lab_failure" | "order_entry_failure" | "non_failure" | "unknown_failure" | "patient_condition_failure" | "missing_result_calc_failure" | "missing_demo_aoe_calc_failure";
10
+ }
@@ -0,0 +1,42 @@
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.FailureType = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.FailureType = core.serialization.enum_([
32
+ "quantity_not_sufficient_failure",
33
+ "collection_process_failure",
34
+ "drop_off_failure",
35
+ "internal_lab_failure",
36
+ "order_entry_failure",
37
+ "non_failure",
38
+ "unknown_failure",
39
+ "patient_condition_failure",
40
+ "missing_result_calc_failure",
41
+ "missing_demo_aoe_calc_failure",
42
+ ]);
@@ -4,7 +4,8 @@
4
4
  import * as serializers from "../index";
5
5
  import * as Vital from "../../api/index";
6
6
  import * as core from "../../core";
7
+ import { Select } from "./Select";
7
8
  export declare const GroupKeyColumnExprGroupKey: core.serialization.Schema<serializers.GroupKeyColumnExprGroupKey.Raw, Vital.GroupKeyColumnExprGroupKey>;
8
9
  export declare namespace GroupKeyColumnExprGroupKey {
9
- type Raw = number | "*";
10
+ type Raw = number | Select.Raw;
10
11
  }
@@ -28,4 +28,5 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.GroupKeyColumnExprGroupKey = void 0;
30
30
  const core = __importStar(require("../../core"));
31
- exports.GroupKeyColumnExprGroupKey = core.serialization.undiscriminatedUnion([core.serialization.number(), core.serialization.stringLiteral("*")]);
31
+ const Select_1 = require("./Select");
32
+ exports.GroupKeyColumnExprGroupKey = core.serialization.undiscriminatedUnion([core.serialization.number(), Select_1.Select]);
@@ -6,10 +6,12 @@ import * as Vital from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  import { LabResultsMetadata } from "./LabResultsMetadata";
8
8
  import { LabResultsRawResults } from "./LabResultsRawResults";
9
+ import { MissingBiomarkerResult } from "./MissingBiomarkerResult";
9
10
  export declare const LabResultsRaw: core.serialization.ObjectSchema<serializers.LabResultsRaw.Raw, Vital.LabResultsRaw>;
10
11
  export declare namespace LabResultsRaw {
11
12
  interface Raw {
12
13
  metadata: LabResultsMetadata.Raw;
13
14
  results: LabResultsRawResults.Raw;
15
+ missing_results?: MissingBiomarkerResult.Raw[] | null;
14
16
  }
15
17
  }
@@ -30,7 +30,9 @@ exports.LabResultsRaw = void 0;
30
30
  const core = __importStar(require("../../core"));
31
31
  const LabResultsMetadata_1 = require("./LabResultsMetadata");
32
32
  const LabResultsRawResults_1 = require("./LabResultsRawResults");
33
+ const MissingBiomarkerResult_1 = require("./MissingBiomarkerResult");
33
34
  exports.LabResultsRaw = core.serialization.object({
34
35
  metadata: LabResultsMetadata_1.LabResultsMetadata,
35
36
  results: LabResultsRawResults_1.LabResultsRawResults,
37
+ missingResults: core.serialization.property("missing_results", core.serialization.list(MissingBiomarkerResult_1.MissingBiomarkerResult).optional()),
36
38
  });
@@ -0,0 +1,19 @@
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 { FailureType } from "./FailureType";
8
+ export declare const MissingBiomarkerResult: core.serialization.ObjectSchema<serializers.MissingBiomarkerResult.Raw, Vital.MissingBiomarkerResult>;
9
+ export declare namespace MissingBiomarkerResult {
10
+ interface Raw {
11
+ name: string;
12
+ slug: string;
13
+ inferred_failure_type: FailureType.Raw;
14
+ note?: string | null;
15
+ loinc?: string | null;
16
+ loinc_slug?: string | null;
17
+ provider_id?: string | null;
18
+ }
19
+ }
@@ -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
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.MissingBiomarkerResult = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const FailureType_1 = require("./FailureType");
32
+ exports.MissingBiomarkerResult = core.serialization.object({
33
+ name: core.serialization.string(),
34
+ slug: core.serialization.string(),
35
+ inferredFailureType: core.serialization.property("inferred_failure_type", FailureType_1.FailureType),
36
+ note: core.serialization.string().optional(),
37
+ loinc: core.serialization.string().optional(),
38
+ loincSlug: core.serialization.property("loinc_slug", core.serialization.string().optional()),
39
+ providerId: core.serialization.property("provider_id", core.serialization.string().optional()),
40
+ });
@@ -0,0 +1,10 @@
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 Select: core.serialization.Schema<serializers.Select.Raw, Vital.Select>;
8
+ export declare namespace Select {
9
+ type Raw = "*";
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.Select = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.Select = core.serialization.enum_(["*"]);