@tryvital/vital-node 3.1.188 → 3.1.189
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 +2 -2
- package/api/resources/body/client/Client.js +2 -2
- package/api/resources/devices/client/Client.js +1 -1
- package/api/resources/electrocardiogram/client/Client.js +1 -1
- package/api/resources/insurance/client/Client.js +3 -3
- 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 +144 -35
- package/api/resources/labTests/client/requests/LabTestsGetPaginatedRequest.d.ts +42 -0
- package/api/resources/labTests/client/requests/LabTestsGetPaginatedRequest.js +5 -0
- package/api/resources/labTests/client/requests/index.d.ts +1 -0
- package/api/resources/labTests/types/LabTestsGetPaginatedRequestOrderDirection.d.ts +8 -0
- package/api/resources/labTests/types/LabTestsGetPaginatedRequestOrderDirection.js +10 -0
- package/api/resources/labTests/types/LabTestsGetPaginatedRequestOrderKey.d.ts +9 -0
- package/api/resources/labTests/types/LabTestsGetPaginatedRequestOrderKey.js +11 -0
- package/api/resources/labTests/types/index.d.ts +2 -0
- package/api/resources/labTests/types/index.js +2 -0
- package/api/resources/link/client/Client.js +18 -18
- package/api/resources/meal/client/Client.js +1 -1
- package/api/resources/menstrualCycle/client/Client.js +1 -1
- package/api/resources/order/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/sleepCycle/client/Client.js +1 -1
- 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 +58 -58
- package/api/resources/workouts/client/Client.js +3 -3
- package/api/types/GroupKeyColumnExpr.d.ts +1 -1
- package/api/types/LabTestResourcesResponse.d.ts +9 -0
- package/api/types/LabTestResourcesResponse.js +5 -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 +2 -2
- package/dist/api/resources/body/client/Client.js +2 -2
- package/dist/api/resources/devices/client/Client.js +1 -1
- package/dist/api/resources/electrocardiogram/client/Client.js +1 -1
- package/dist/api/resources/insurance/client/Client.js +3 -3
- 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 +144 -35
- package/dist/api/resources/labTests/client/requests/LabTestsGetPaginatedRequest.d.ts +42 -0
- package/dist/api/resources/labTests/client/requests/LabTestsGetPaginatedRequest.js +5 -0
- package/dist/api/resources/labTests/client/requests/index.d.ts +1 -0
- package/dist/api/resources/labTests/types/LabTestsGetPaginatedRequestOrderDirection.d.ts +8 -0
- package/dist/api/resources/labTests/types/LabTestsGetPaginatedRequestOrderDirection.js +10 -0
- package/dist/api/resources/labTests/types/LabTestsGetPaginatedRequestOrderKey.d.ts +9 -0
- package/dist/api/resources/labTests/types/LabTestsGetPaginatedRequestOrderKey.js +11 -0
- package/dist/api/resources/labTests/types/index.d.ts +2 -0
- package/dist/api/resources/labTests/types/index.js +2 -0
- package/dist/api/resources/link/client/Client.js +18 -18
- package/dist/api/resources/meal/client/Client.js +1 -1
- package/dist/api/resources/menstrualCycle/client/Client.js +1 -1
- package/dist/api/resources/order/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/sleepCycle/client/Client.js +1 -1
- 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 +58 -58
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/api/types/GroupKeyColumnExpr.d.ts +1 -1
- package/dist/api/types/LabTestResourcesResponse.d.ts +9 -0
- package/dist/api/types/LabTestResourcesResponse.js +5 -0
- package/dist/api/types/index.d.ts +1 -0
- package/dist/api/types/index.js +1 -0
- package/dist/serialization/resources/labTests/types/LabTestsGetPaginatedRequestOrderDirection.d.ts +10 -0
- package/dist/serialization/resources/labTests/types/LabTestsGetPaginatedRequestOrderDirection.js +31 -0
- package/dist/serialization/resources/labTests/types/LabTestsGetPaginatedRequestOrderKey.d.ts +10 -0
- package/dist/serialization/resources/labTests/types/LabTestsGetPaginatedRequestOrderKey.js +31 -0
- package/dist/serialization/resources/labTests/types/index.d.ts +2 -0
- package/dist/serialization/resources/labTests/types/index.js +2 -0
- package/dist/serialization/types/GroupKeyColumnExpr.d.ts +1 -1
- package/dist/serialization/types/GroupKeyColumnExpr.js +1 -1
- package/dist/serialization/types/LabTestResourcesResponse.d.ts +14 -0
- package/dist/serialization/types/LabTestResourcesResponse.js +35 -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 +63 -0
- package/serialization/resources/labTests/types/LabTestsGetPaginatedRequestOrderDirection.d.ts +10 -0
- package/serialization/resources/labTests/types/LabTestsGetPaginatedRequestOrderDirection.js +31 -0
- package/serialization/resources/labTests/types/LabTestsGetPaginatedRequestOrderKey.d.ts +10 -0
- package/serialization/resources/labTests/types/LabTestsGetPaginatedRequestOrderKey.js +31 -0
- package/serialization/resources/labTests/types/index.d.ts +2 -0
- package/serialization/resources/labTests/types/index.js +2 -0
- package/serialization/types/GroupKeyColumnExpr.d.ts +1 -1
- package/serialization/types/GroupKeyColumnExpr.js +1 -1
- package/serialization/types/LabTestResourcesResponse.d.ts +14 -0
- package/serialization/types/LabTestResourcesResponse.js +35 -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
@@ -78,7 +78,7 @@ class Workouts {
|
|
78
78
|
const _response = yield core.fetcher({
|
79
79
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/workouts/${encodeURIComponent(userId)}`),
|
80
80
|
method: "GET",
|
81
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
81
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.189", "User-Agent": "@tryvital/vital-node/3.1.189", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
82
82
|
contentType: "application/json",
|
83
83
|
queryParameters: _queryParams,
|
84
84
|
requestType: "json",
|
@@ -154,7 +154,7 @@ class Workouts {
|
|
154
154
|
const _response = yield core.fetcher({
|
155
155
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/workouts/${encodeURIComponent(userId)}/raw`),
|
156
156
|
method: "GET",
|
157
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
157
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.189", "User-Agent": "@tryvital/vital-node/3.1.189", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
158
158
|
contentType: "application/json",
|
159
159
|
queryParameters: _queryParams,
|
160
160
|
requestType: "json",
|
@@ -216,7 +216,7 @@ class Workouts {
|
|
216
216
|
const _response = yield core.fetcher({
|
217
217
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/workouts/${encodeURIComponent(workoutId)}/stream`),
|
218
218
|
method: "GET",
|
219
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
219
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.189", "User-Agent": "@tryvital/vital-node/3.1.189", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
220
220
|
contentType: "application/json",
|
221
221
|
requestType: "json",
|
222
222
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -0,0 +1,9 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as Vital from "../index";
|
5
|
+
export interface LabTestResourcesResponse {
|
6
|
+
data: Vital.ClientFacingLabTest[];
|
7
|
+
/** The cursor for fetching the next page, or `null` to fetch the first page. */
|
8
|
+
nextCursor?: string;
|
9
|
+
}
|
@@ -222,6 +222,7 @@ export * from "./LabResultsRawResults";
|
|
222
222
|
export * from "./LabResultsRaw";
|
223
223
|
export * from "./LabTestCollectionMethod";
|
224
224
|
export * from "./LabTestGenerationMethodFilter";
|
225
|
+
export * from "./LabTestResourcesResponse";
|
225
226
|
export * from "./LabTestSampleType";
|
226
227
|
export * from "./LabTestStatus";
|
227
228
|
export * from "./Labs";
|
package/dist/api/types/index.js
CHANGED
@@ -238,6 +238,7 @@ __exportStar(require("./LabResultsRawResults"), exports);
|
|
238
238
|
__exportStar(require("./LabResultsRaw"), exports);
|
239
239
|
__exportStar(require("./LabTestCollectionMethod"), exports);
|
240
240
|
__exportStar(require("./LabTestGenerationMethodFilter"), exports);
|
241
|
+
__exportStar(require("./LabTestResourcesResponse"), exports);
|
241
242
|
__exportStar(require("./LabTestSampleType"), exports);
|
242
243
|
__exportStar(require("./LabTestStatus"), exports);
|
243
244
|
__exportStar(require("./Labs"), exports);
|
package/dist/serialization/resources/labTests/types/LabTestsGetPaginatedRequestOrderDirection.d.ts
ADDED
@@ -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 LabTestsGetPaginatedRequestOrderDirection: core.serialization.Schema<serializers.LabTestsGetPaginatedRequestOrderDirection.Raw, Vital.LabTestsGetPaginatedRequestOrderDirection>;
|
8
|
+
export declare namespace LabTestsGetPaginatedRequestOrderDirection {
|
9
|
+
type Raw = "asc" | "desc";
|
10
|
+
}
|
package/dist/serialization/resources/labTests/types/LabTestsGetPaginatedRequestOrderDirection.js
ADDED
@@ -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.LabTestsGetPaginatedRequestOrderDirection = void 0;
|
30
|
+
const core = __importStar(require("../../../../core"));
|
31
|
+
exports.LabTestsGetPaginatedRequestOrderDirection = core.serialization.enum_(["asc", "desc"]);
|
@@ -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 LabTestsGetPaginatedRequestOrderKey: core.serialization.Schema<serializers.LabTestsGetPaginatedRequestOrderKey.Raw, Vital.LabTestsGetPaginatedRequestOrderKey>;
|
8
|
+
export declare namespace LabTestsGetPaginatedRequestOrderKey {
|
9
|
+
type Raw = "price" | "created_at" | "updated_at";
|
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.LabTestsGetPaginatedRequestOrderKey = void 0;
|
30
|
+
const core = __importStar(require("../../../../core"));
|
31
|
+
exports.LabTestsGetPaginatedRequestOrderKey = core.serialization.enum_(["price", "created_at", "updated_at"]);
|
@@ -1,4 +1,6 @@
|
|
1
1
|
export * from "./LabTestsGetRequestOrderKey";
|
2
2
|
export * from "./LabTestsGetRequestOrderDirection";
|
3
|
+
export * from "./LabTestsGetPaginatedRequestOrderKey";
|
4
|
+
export * from "./LabTestsGetPaginatedRequestOrderDirection";
|
3
5
|
export * from "./LabTestsGetOrdersRequestOrderKey";
|
4
6
|
export * from "./LabTestsGetOrdersRequestOrderDirection";
|
@@ -16,5 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./LabTestsGetRequestOrderKey"), exports);
|
18
18
|
__exportStar(require("./LabTestsGetRequestOrderDirection"), exports);
|
19
|
+
__exportStar(require("./LabTestsGetPaginatedRequestOrderKey"), exports);
|
20
|
+
__exportStar(require("./LabTestsGetPaginatedRequestOrderDirection"), exports);
|
19
21
|
__exportStar(require("./LabTestsGetOrdersRequestOrderKey"), exports);
|
20
22
|
__exportStar(require("./LabTestsGetOrdersRequestOrderDirection"), exports);
|
@@ -8,6 +8,6 @@ import { GroupKeyColumnExprGroupKey } from "./GroupKeyColumnExprGroupKey";
|
|
8
8
|
export declare const GroupKeyColumnExpr: core.serialization.ObjectSchema<serializers.GroupKeyColumnExpr.Raw, Vital.GroupKeyColumnExpr>;
|
9
9
|
export declare namespace GroupKeyColumnExpr {
|
10
10
|
interface Raw {
|
11
|
-
group_key
|
11
|
+
group_key: GroupKeyColumnExprGroupKey.Raw;
|
12
12
|
}
|
13
13
|
}
|
@@ -30,5 +30,5 @@ exports.GroupKeyColumnExpr = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
31
31
|
const GroupKeyColumnExprGroupKey_1 = require("./GroupKeyColumnExprGroupKey");
|
32
32
|
exports.GroupKeyColumnExpr = core.serialization.object({
|
33
|
-
groupKey: core.serialization.property("group_key", GroupKeyColumnExprGroupKey_1.GroupKeyColumnExprGroupKey
|
33
|
+
groupKey: core.serialization.property("group_key", GroupKeyColumnExprGroupKey_1.GroupKeyColumnExprGroupKey),
|
34
34
|
});
|
@@ -0,0 +1,14 @@
|
|
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 { ClientFacingLabTest } from "./ClientFacingLabTest";
|
8
|
+
export declare const LabTestResourcesResponse: core.serialization.ObjectSchema<serializers.LabTestResourcesResponse.Raw, Vital.LabTestResourcesResponse>;
|
9
|
+
export declare namespace LabTestResourcesResponse {
|
10
|
+
interface Raw {
|
11
|
+
data: ClientFacingLabTest.Raw[];
|
12
|
+
next_cursor?: string | null;
|
13
|
+
}
|
14
|
+
}
|
@@ -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.LabTestResourcesResponse = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const ClientFacingLabTest_1 = require("./ClientFacingLabTest");
|
32
|
+
exports.LabTestResourcesResponse = core.serialization.object({
|
33
|
+
data: core.serialization.list(ClientFacingLabTest_1.ClientFacingLabTest),
|
34
|
+
nextCursor: core.serialization.property("next_cursor", core.serialization.string().optional()),
|
35
|
+
});
|
@@ -222,6 +222,7 @@ export * from "./LabResultsRawResults";
|
|
222
222
|
export * from "./LabResultsRaw";
|
223
223
|
export * from "./LabTestCollectionMethod";
|
224
224
|
export * from "./LabTestGenerationMethodFilter";
|
225
|
+
export * from "./LabTestResourcesResponse";
|
225
226
|
export * from "./LabTestSampleType";
|
226
227
|
export * from "./LabTestStatus";
|
227
228
|
export * from "./Labs";
|
@@ -238,6 +238,7 @@ __exportStar(require("./LabResultsRawResults"), exports);
|
|
238
238
|
__exportStar(require("./LabResultsRaw"), exports);
|
239
239
|
__exportStar(require("./LabTestCollectionMethod"), exports);
|
240
240
|
__exportStar(require("./LabTestGenerationMethodFilter"), exports);
|
241
|
+
__exportStar(require("./LabTestResourcesResponse"), exports);
|
241
242
|
__exportStar(require("./LabTestSampleType"), exports);
|
242
243
|
__exportStar(require("./LabTestStatus"), exports);
|
243
244
|
__exportStar(require("./Labs"), 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.189";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
@@ -7819,6 +7819,69 @@ await client.labTests.getLabs();
|
|
7819
7819
|
</dl>
|
7820
7820
|
</details>
|
7821
7821
|
|
7822
|
+
<details><summary><code>client.labTests.<a href="/src/api/resources/labTests/client/Client.ts">getPaginated</a>({ ...params }) -> Vital.LabTestResourcesResponse</code></summary>
|
7823
|
+
<dl>
|
7824
|
+
<dd>
|
7825
|
+
|
7826
|
+
#### 📝 Description
|
7827
|
+
|
7828
|
+
<dl>
|
7829
|
+
<dd>
|
7830
|
+
|
7831
|
+
<dl>
|
7832
|
+
<dd>
|
7833
|
+
|
7834
|
+
GET lab tests the team has access to as a paginated list.
|
7835
|
+
|
7836
|
+
</dd>
|
7837
|
+
</dl>
|
7838
|
+
</dd>
|
7839
|
+
</dl>
|
7840
|
+
|
7841
|
+
#### 🔌 Usage
|
7842
|
+
|
7843
|
+
<dl>
|
7844
|
+
<dd>
|
7845
|
+
|
7846
|
+
<dl>
|
7847
|
+
<dd>
|
7848
|
+
|
7849
|
+
```typescript
|
7850
|
+
await client.labTests.getPaginated();
|
7851
|
+
```
|
7852
|
+
|
7853
|
+
</dd>
|
7854
|
+
</dl>
|
7855
|
+
</dd>
|
7856
|
+
</dl>
|
7857
|
+
|
7858
|
+
#### ⚙️ Parameters
|
7859
|
+
|
7860
|
+
<dl>
|
7861
|
+
<dd>
|
7862
|
+
|
7863
|
+
<dl>
|
7864
|
+
<dd>
|
7865
|
+
|
7866
|
+
**request:** `Vital.LabTestsGetPaginatedRequest`
|
7867
|
+
|
7868
|
+
</dd>
|
7869
|
+
</dl>
|
7870
|
+
|
7871
|
+
<dl>
|
7872
|
+
<dd>
|
7873
|
+
|
7874
|
+
**requestOptions:** `LabTests.RequestOptions`
|
7875
|
+
|
7876
|
+
</dd>
|
7877
|
+
</dl>
|
7878
|
+
</dd>
|
7879
|
+
</dl>
|
7880
|
+
|
7881
|
+
</dd>
|
7882
|
+
</dl>
|
7883
|
+
</details>
|
7884
|
+
|
7822
7885
|
<details><summary><code>client.labTests.<a href="/src/api/resources/labTests/client/Client.ts">getPhlebotomyAppointmentAvailability</a>({ ...params }) -> Vital.AppointmentAvailabilitySlots</code></summary>
|
7823
7886
|
<dl>
|
7824
7887
|
<dd>
|
@@ -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 LabTestsGetPaginatedRequestOrderDirection: core.serialization.Schema<serializers.LabTestsGetPaginatedRequestOrderDirection.Raw, Vital.LabTestsGetPaginatedRequestOrderDirection>;
|
8
|
+
export declare namespace LabTestsGetPaginatedRequestOrderDirection {
|
9
|
+
type Raw = "asc" | "desc";
|
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.LabTestsGetPaginatedRequestOrderDirection = void 0;
|
30
|
+
const core = __importStar(require("../../../../core"));
|
31
|
+
exports.LabTestsGetPaginatedRequestOrderDirection = core.serialization.enum_(["asc", "desc"]);
|
@@ -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 LabTestsGetPaginatedRequestOrderKey: core.serialization.Schema<serializers.LabTestsGetPaginatedRequestOrderKey.Raw, Vital.LabTestsGetPaginatedRequestOrderKey>;
|
8
|
+
export declare namespace LabTestsGetPaginatedRequestOrderKey {
|
9
|
+
type Raw = "price" | "created_at" | "updated_at";
|
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.LabTestsGetPaginatedRequestOrderKey = void 0;
|
30
|
+
const core = __importStar(require("../../../../core"));
|
31
|
+
exports.LabTestsGetPaginatedRequestOrderKey = core.serialization.enum_(["price", "created_at", "updated_at"]);
|
@@ -1,4 +1,6 @@
|
|
1
1
|
export * from "./LabTestsGetRequestOrderKey";
|
2
2
|
export * from "./LabTestsGetRequestOrderDirection";
|
3
|
+
export * from "./LabTestsGetPaginatedRequestOrderKey";
|
4
|
+
export * from "./LabTestsGetPaginatedRequestOrderDirection";
|
3
5
|
export * from "./LabTestsGetOrdersRequestOrderKey";
|
4
6
|
export * from "./LabTestsGetOrdersRequestOrderDirection";
|
@@ -16,5 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./LabTestsGetRequestOrderKey"), exports);
|
18
18
|
__exportStar(require("./LabTestsGetRequestOrderDirection"), exports);
|
19
|
+
__exportStar(require("./LabTestsGetPaginatedRequestOrderKey"), exports);
|
20
|
+
__exportStar(require("./LabTestsGetPaginatedRequestOrderDirection"), exports);
|
19
21
|
__exportStar(require("./LabTestsGetOrdersRequestOrderKey"), exports);
|
20
22
|
__exportStar(require("./LabTestsGetOrdersRequestOrderDirection"), exports);
|
@@ -8,6 +8,6 @@ import { GroupKeyColumnExprGroupKey } from "./GroupKeyColumnExprGroupKey";
|
|
8
8
|
export declare const GroupKeyColumnExpr: core.serialization.ObjectSchema<serializers.GroupKeyColumnExpr.Raw, Vital.GroupKeyColumnExpr>;
|
9
9
|
export declare namespace GroupKeyColumnExpr {
|
10
10
|
interface Raw {
|
11
|
-
group_key
|
11
|
+
group_key: GroupKeyColumnExprGroupKey.Raw;
|
12
12
|
}
|
13
13
|
}
|
@@ -30,5 +30,5 @@ exports.GroupKeyColumnExpr = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
31
31
|
const GroupKeyColumnExprGroupKey_1 = require("./GroupKeyColumnExprGroupKey");
|
32
32
|
exports.GroupKeyColumnExpr = core.serialization.object({
|
33
|
-
groupKey: core.serialization.property("group_key", GroupKeyColumnExprGroupKey_1.GroupKeyColumnExprGroupKey
|
33
|
+
groupKey: core.serialization.property("group_key", GroupKeyColumnExprGroupKey_1.GroupKeyColumnExprGroupKey),
|
34
34
|
});
|
@@ -0,0 +1,14 @@
|
|
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 { ClientFacingLabTest } from "./ClientFacingLabTest";
|
8
|
+
export declare const LabTestResourcesResponse: core.serialization.ObjectSchema<serializers.LabTestResourcesResponse.Raw, Vital.LabTestResourcesResponse>;
|
9
|
+
export declare namespace LabTestResourcesResponse {
|
10
|
+
interface Raw {
|
11
|
+
data: ClientFacingLabTest.Raw[];
|
12
|
+
next_cursor?: string | null;
|
13
|
+
}
|
14
|
+
}
|
@@ -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.LabTestResourcesResponse = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const ClientFacingLabTest_1 = require("./ClientFacingLabTest");
|
32
|
+
exports.LabTestResourcesResponse = core.serialization.object({
|
33
|
+
data: core.serialization.list(ClientFacingLabTest_1.ClientFacingLabTest),
|
34
|
+
nextCursor: core.serialization.property("next_cursor", core.serialization.string().optional()),
|
35
|
+
});
|
@@ -222,6 +222,7 @@ export * from "./LabResultsRawResults";
|
|
222
222
|
export * from "./LabResultsRaw";
|
223
223
|
export * from "./LabTestCollectionMethod";
|
224
224
|
export * from "./LabTestGenerationMethodFilter";
|
225
|
+
export * from "./LabTestResourcesResponse";
|
225
226
|
export * from "./LabTestSampleType";
|
226
227
|
export * from "./LabTestStatus";
|
227
228
|
export * from "./Labs";
|
@@ -238,6 +238,7 @@ __exportStar(require("./LabResultsRawResults"), exports);
|
|
238
238
|
__exportStar(require("./LabResultsRaw"), exports);
|
239
239
|
__exportStar(require("./LabTestCollectionMethod"), exports);
|
240
240
|
__exportStar(require("./LabTestGenerationMethodFilter"), exports);
|
241
|
+
__exportStar(require("./LabTestResourcesResponse"), exports);
|
241
242
|
__exportStar(require("./LabTestSampleType"), exports);
|
242
243
|
__exportStar(require("./LabTestStatus"), exports);
|
243
244
|
__exportStar(require("./Labs"), exports);
|
package/version.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export declare const SDK_VERSION = "3.1.
|
1
|
+
export declare const SDK_VERSION = "3.1.189";
|
package/version.js
CHANGED