@tryvital/vital-node 3.1.74 → 3.1.76
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.
- package/api/resources/activity/client/Client.js +2 -2
- package/api/resources/aggregate/client/Client.js +1 -1
- package/api/resources/body/client/Client.js +2 -2
- package/api/resources/devices/client/Client.js +1 -1
- package/api/resources/insurance/client/Client.js +2 -2
- package/api/resources/introspect/client/Client.js +2 -2
- package/api/resources/labTests/client/Client.d.ts +12 -0
- package/api/resources/labTests/client/Client.js +100 -27
- package/api/resources/labTests/client/requests/LabTestsGetMarkersForOrderSetRequest.d.ts +15 -0
- package/api/resources/labTests/client/requests/LabTestsGetMarkersForOrderSetRequest.js +5 -0
- package/api/resources/labTests/client/requests/index.d.ts +1 -0
- package/api/resources/link/client/Client.js +14 -14
- package/api/resources/meal/client/Client.js +1 -1
- package/api/resources/menstrualCycle/client/Client.js +1 -1
- package/api/resources/profile/client/Client.js +2 -2
- package/api/resources/providers/client/Client.js +1 -1
- package/api/resources/sleep/client/Client.js +4 -4
- package/api/resources/team/client/Client.js +7 -7
- package/api/resources/testkit/client/Client.js +2 -2
- package/api/resources/user/client/Client.js +16 -16
- package/api/resources/vitals/client/Client.js +56 -56
- package/api/resources/workouts/client/Client.js +3 -3
- package/api/types/GroupKeyColumnExprGroupKey.d.ts +2 -1
- package/api/types/MissingBiomarkerResult.d.ts +2 -1
- package/api/types/Select.d.ts +7 -0
- package/api/types/Select.js +9 -0
- package/api/types/index.d.ts +1 -0
- package/api/types/index.js +1 -0
- package/dist/api/resources/activity/client/Client.js +2 -2
- package/dist/api/resources/aggregate/client/Client.js +1 -1
- package/dist/api/resources/body/client/Client.js +2 -2
- package/dist/api/resources/devices/client/Client.js +1 -1
- package/dist/api/resources/insurance/client/Client.js +2 -2
- package/dist/api/resources/introspect/client/Client.js +2 -2
- package/dist/api/resources/labTests/client/Client.d.ts +12 -0
- package/dist/api/resources/labTests/client/Client.js +100 -27
- package/dist/api/resources/labTests/client/requests/LabTestsGetMarkersForOrderSetRequest.d.ts +15 -0
- package/dist/api/resources/labTests/client/requests/LabTestsGetMarkersForOrderSetRequest.js +5 -0
- package/dist/api/resources/labTests/client/requests/index.d.ts +1 -0
- package/dist/api/resources/link/client/Client.js +14 -14
- package/dist/api/resources/meal/client/Client.js +1 -1
- package/dist/api/resources/menstrualCycle/client/Client.js +1 -1
- package/dist/api/resources/profile/client/Client.js +2 -2
- package/dist/api/resources/providers/client/Client.js +1 -1
- package/dist/api/resources/sleep/client/Client.js +4 -4
- package/dist/api/resources/team/client/Client.js +7 -7
- package/dist/api/resources/testkit/client/Client.js +2 -2
- package/dist/api/resources/user/client/Client.js +16 -16
- package/dist/api/resources/vitals/client/Client.js +56 -56
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/api/types/GroupKeyColumnExprGroupKey.d.ts +2 -1
- package/dist/api/types/MissingBiomarkerResult.d.ts +2 -1
- package/dist/api/types/Select.d.ts +7 -0
- package/dist/api/types/Select.js +9 -0
- package/dist/api/types/index.d.ts +1 -0
- package/dist/api/types/index.js +1 -0
- package/dist/serialization/types/GroupKeyColumnExprGroupKey.d.ts +2 -1
- package/dist/serialization/types/GroupKeyColumnExprGroupKey.js +2 -1
- package/dist/serialization/types/MissingBiomarkerResult.d.ts +2 -1
- package/dist/serialization/types/MissingBiomarkerResult.js +2 -1
- package/dist/serialization/types/Select.d.ts +10 -0
- package/dist/serialization/types/Select.js +31 -0
- package/dist/serialization/types/index.d.ts +1 -0
- package/dist/serialization/types/index.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +50 -0
- package/serialization/types/GroupKeyColumnExprGroupKey.d.ts +2 -1
- package/serialization/types/GroupKeyColumnExprGroupKey.js +2 -1
- package/serialization/types/MissingBiomarkerResult.d.ts +2 -1
- package/serialization/types/MissingBiomarkerResult.js +2 -1
- package/serialization/types/Select.d.ts +10 -0
- package/serialization/types/Select.js +31 -0
- package/serialization/types/index.d.ts +1 -0
- package/serialization/types/index.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
@@ -5,7 +5,8 @@ import * as Vital from "../index";
|
|
5
5
|
export interface MissingBiomarkerResult {
|
6
6
|
name: string;
|
7
7
|
slug: string;
|
8
|
-
|
8
|
+
inferredFailureType: Vital.FailureType;
|
9
|
+
note?: string;
|
9
10
|
loinc?: string;
|
10
11
|
loincSlug?: string;
|
11
12
|
providerId?: string;
|
package/dist/api/types/index.js
CHANGED
@@ -355,3 +355,4 @@ __exportStar(require("./GroupedBodyFat"), exports);
|
|
355
355
|
__exportStar(require("./GroupedBloodOxygen"), exports);
|
356
356
|
__exportStar(require("./GroupedElectrocardiogramVoltage"), exports);
|
357
357
|
__exportStar(require("./GroupedBloodPressure"), exports);
|
358
|
+
__exportStar(require("./Select"), exports);
|
@@ -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
|
-
|
31
|
+
const Select_1 = require("./Select");
|
32
|
+
exports.GroupKeyColumnExprGroupKey = core.serialization.undiscriminatedUnion([core.serialization.number(), Select_1.Select]);
|
@@ -10,7 +10,8 @@ export declare namespace MissingBiomarkerResult {
|
|
10
10
|
interface Raw {
|
11
11
|
name: string;
|
12
12
|
slug: string;
|
13
|
-
|
13
|
+
inferred_failure_type: FailureType.Raw;
|
14
|
+
note?: string | null;
|
14
15
|
loinc?: string | null;
|
15
16
|
loinc_slug?: string | null;
|
16
17
|
provider_id?: string | null;
|
@@ -32,7 +32,8 @@ const FailureType_1 = require("./FailureType");
|
|
32
32
|
exports.MissingBiomarkerResult = core.serialization.object({
|
33
33
|
name: core.serialization.string(),
|
34
34
|
slug: core.serialization.string(),
|
35
|
-
|
35
|
+
inferredFailureType: core.serialization.property("inferred_failure_type", FailureType_1.FailureType),
|
36
|
+
note: core.serialization.string().optional(),
|
36
37
|
loinc: core.serialization.string().optional(),
|
37
38
|
loincSlug: core.serialization.property("loinc_slug", core.serialization.string().optional()),
|
38
39
|
providerId: core.serialization.property("provider_id", core.serialization.string().optional()),
|
@@ -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_(["*"]);
|
@@ -355,3 +355,4 @@ __exportStar(require("./GroupedBodyFat"), exports);
|
|
355
355
|
__exportStar(require("./GroupedBloodOxygen"), exports);
|
356
356
|
__exportStar(require("./GroupedElectrocardiogramVoltage"), exports);
|
357
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.
|
1
|
+
export declare const SDK_VERSION = "3.1.76";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
@@ -6983,6 +6983,56 @@ await client.labTests.getMarkers();
|
|
6983
6983
|
</dl>
|
6984
6984
|
</details>
|
6985
6985
|
|
6986
|
+
<details><summary><code>client.labTests.<a href="/src/api/resources/labTests/client/Client.ts">getMarkersForOrderSet</a>({ ...params }) -> Vital.GetMarkersResponse</code></summary>
|
6987
|
+
<dl>
|
6988
|
+
<dd>
|
6989
|
+
|
6990
|
+
#### 🔌 Usage
|
6991
|
+
|
6992
|
+
<dl>
|
6993
|
+
<dd>
|
6994
|
+
|
6995
|
+
<dl>
|
6996
|
+
<dd>
|
6997
|
+
|
6998
|
+
```typescript
|
6999
|
+
await client.labTests.getMarkersForOrderSet({
|
7000
|
+
body: {},
|
7001
|
+
});
|
7002
|
+
```
|
7003
|
+
|
7004
|
+
</dd>
|
7005
|
+
</dl>
|
7006
|
+
</dd>
|
7007
|
+
</dl>
|
7008
|
+
|
7009
|
+
#### ⚙️ Parameters
|
7010
|
+
|
7011
|
+
<dl>
|
7012
|
+
<dd>
|
7013
|
+
|
7014
|
+
<dl>
|
7015
|
+
<dd>
|
7016
|
+
|
7017
|
+
**request:** `Vital.LabTestsGetMarkersForOrderSetRequest`
|
7018
|
+
|
7019
|
+
</dd>
|
7020
|
+
</dl>
|
7021
|
+
|
7022
|
+
<dl>
|
7023
|
+
<dd>
|
7024
|
+
|
7025
|
+
**requestOptions:** `LabTests.RequestOptions`
|
7026
|
+
|
7027
|
+
</dd>
|
7028
|
+
</dl>
|
7029
|
+
</dd>
|
7030
|
+
</dl>
|
7031
|
+
|
7032
|
+
</dd>
|
7033
|
+
</dl>
|
7034
|
+
</details>
|
7035
|
+
|
6986
7036
|
<details><summary><code>client.labTests.<a href="/src/api/resources/labTests/client/Client.ts">getMarkersForLabTest</a>(labTestId, { ...params }) -> Vital.GetMarkersResponse</code></summary>
|
6987
7037
|
<dl>
|
6988
7038
|
<dd>
|
@@ -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
|
-
|
31
|
+
const Select_1 = require("./Select");
|
32
|
+
exports.GroupKeyColumnExprGroupKey = core.serialization.undiscriminatedUnion([core.serialization.number(), Select_1.Select]);
|
@@ -10,7 +10,8 @@ export declare namespace MissingBiomarkerResult {
|
|
10
10
|
interface Raw {
|
11
11
|
name: string;
|
12
12
|
slug: string;
|
13
|
-
|
13
|
+
inferred_failure_type: FailureType.Raw;
|
14
|
+
note?: string | null;
|
14
15
|
loinc?: string | null;
|
15
16
|
loinc_slug?: string | null;
|
16
17
|
provider_id?: string | null;
|
@@ -32,7 +32,8 @@ const FailureType_1 = require("./FailureType");
|
|
32
32
|
exports.MissingBiomarkerResult = core.serialization.object({
|
33
33
|
name: core.serialization.string(),
|
34
34
|
slug: core.serialization.string(),
|
35
|
-
|
35
|
+
inferredFailureType: core.serialization.property("inferred_failure_type", FailureType_1.FailureType),
|
36
|
+
note: core.serialization.string().optional(),
|
36
37
|
loinc: core.serialization.string().optional(),
|
37
38
|
loincSlug: core.serialization.property("loinc_slug", core.serialization.string().optional()),
|
38
39
|
providerId: core.serialization.property("provider_id", core.serialization.string().optional()),
|
@@ -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_(["*"]);
|
@@ -355,3 +355,4 @@ __exportStar(require("./GroupedBodyFat"), exports);
|
|
355
355
|
__exportStar(require("./GroupedBloodOxygen"), exports);
|
356
356
|
__exportStar(require("./GroupedElectrocardiogramVoltage"), exports);
|
357
357
|
__exportStar(require("./GroupedBloodPressure"), exports);
|
358
|
+
__exportStar(require("./Select"), exports);
|
package/version.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export declare const SDK_VERSION = "3.1.
|
1
|
+
export declare const SDK_VERSION = "3.1.76";
|
package/version.js
CHANGED