@tryvital/vital-node 3.1.239 → 3.1.241
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.js +65 -41
- package/api/resources/labTests/client/requests/LabTestsGetOrdersRequest.d.ts +18 -0
- package/api/resources/link/client/Client.js +19 -19
- 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 +75 -75
- package/api/resources/workouts/client/Client.js +3 -3
- package/api/types/ActivityV2InDb.d.ts +2 -0
- package/api/types/BodyV2InDb.d.ts +2 -0
- package/api/types/ClientFacingElectrocardiogram.d.ts +2 -0
- package/api/types/ClientFacingMenstrualCycle.d.ts +2 -0
- package/api/types/ClientFacingSleepCycle.d.ts +2 -0
- package/api/types/MealInDbBaseClientFacingSource.d.ts +0 -2
- package/api/types/OrderActivationType.d.ts +11 -0
- package/api/types/OrderActivationType.js +10 -0
- package/api/types/OrderLowLevelStatus.d.ts +33 -0
- package/api/types/OrderLowLevelStatus.js +32 -0
- package/api/types/SleepV2InDb.d.ts +2 -0
- package/api/types/WorkoutV2InDb.d.ts +2 -0
- package/api/types/index.d.ts +2 -0
- package/api/types/index.js +2 -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.js +65 -41
- package/dist/api/resources/labTests/client/requests/LabTestsGetOrdersRequest.d.ts +18 -0
- package/dist/api/resources/link/client/Client.js +19 -19
- 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 +75 -75
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/api/types/ActivityV2InDb.d.ts +2 -0
- package/dist/api/types/BodyV2InDb.d.ts +2 -0
- package/dist/api/types/ClientFacingElectrocardiogram.d.ts +2 -0
- package/dist/api/types/ClientFacingMenstrualCycle.d.ts +2 -0
- package/dist/api/types/ClientFacingSleepCycle.d.ts +2 -0
- package/dist/api/types/MealInDbBaseClientFacingSource.d.ts +0 -2
- package/dist/api/types/OrderActivationType.d.ts +11 -0
- package/dist/api/types/OrderActivationType.js +10 -0
- package/dist/api/types/OrderLowLevelStatus.d.ts +33 -0
- package/dist/api/types/OrderLowLevelStatus.js +32 -0
- package/dist/api/types/SleepV2InDb.d.ts +2 -0
- package/dist/api/types/WorkoutV2InDb.d.ts +2 -0
- package/dist/api/types/index.d.ts +2 -0
- package/dist/api/types/index.js +2 -0
- package/dist/serialization/types/ActivityV2InDb.d.ts +2 -0
- package/dist/serialization/types/ActivityV2InDb.js +2 -0
- package/dist/serialization/types/BodyV2InDb.d.ts +2 -0
- package/dist/serialization/types/BodyV2InDb.js +2 -0
- package/dist/serialization/types/ClientFacingElectrocardiogram.d.ts +2 -0
- package/dist/serialization/types/ClientFacingElectrocardiogram.js +2 -0
- package/dist/serialization/types/ClientFacingMenstrualCycle.d.ts +2 -0
- package/dist/serialization/types/ClientFacingMenstrualCycle.js +2 -0
- package/dist/serialization/types/ClientFacingSleepCycle.d.ts +2 -0
- package/dist/serialization/types/ClientFacingSleepCycle.js +2 -0
- package/dist/serialization/types/OrderActivationType.d.ts +10 -0
- package/dist/serialization/types/OrderActivationType.js +31 -0
- package/dist/serialization/types/OrderLowLevelStatus.d.ts +10 -0
- package/dist/serialization/types/OrderLowLevelStatus.js +56 -0
- package/dist/serialization/types/SleepV2InDb.d.ts +2 -0
- package/dist/serialization/types/SleepV2InDb.js +2 -0
- package/dist/serialization/types/WorkoutV2InDb.d.ts +2 -0
- package/dist/serialization/types/WorkoutV2InDb.js +2 -0
- package/dist/serialization/types/index.d.ts +2 -0
- package/dist/serialization/types/index.js +2 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/serialization/types/ActivityV2InDb.d.ts +2 -0
- package/serialization/types/ActivityV2InDb.js +2 -0
- package/serialization/types/BodyV2InDb.d.ts +2 -0
- package/serialization/types/BodyV2InDb.js +2 -0
- package/serialization/types/ClientFacingElectrocardiogram.d.ts +2 -0
- package/serialization/types/ClientFacingElectrocardiogram.js +2 -0
- package/serialization/types/ClientFacingMenstrualCycle.d.ts +2 -0
- package/serialization/types/ClientFacingMenstrualCycle.js +2 -0
- package/serialization/types/ClientFacingSleepCycle.d.ts +2 -0
- package/serialization/types/ClientFacingSleepCycle.js +2 -0
- package/serialization/types/OrderActivationType.d.ts +10 -0
- package/serialization/types/OrderActivationType.js +31 -0
- package/serialization/types/OrderLowLevelStatus.d.ts +10 -0
- package/serialization/types/OrderLowLevelStatus.js +56 -0
- package/serialization/types/SleepV2InDb.d.ts +2 -0
- package/serialization/types/SleepV2InDb.js +2 -0
- package/serialization/types/WorkoutV2InDb.d.ts +2 -0
- package/serialization/types/WorkoutV2InDb.js +2 -0
- package/serialization/types/index.d.ts +2 -0
- package/serialization/types/index.js +2 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
@@ -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.OrderActivationType = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.OrderActivationType = core.serialization.enum_(["current", "scheduled"]);
|
@@ -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 OrderLowLevelStatus: core.serialization.Schema<serializers.OrderLowLevelStatus.Raw, Vital.OrderLowLevelStatus>;
|
8
|
+
export declare namespace OrderLowLevelStatus {
|
9
|
+
type Raw = "ordered" | "requisition_created" | "requisition_bypassed" | "transit_customer" | "out_for_delivery" | "with_customer" | "transit_lab" | "delivered_to_lab" | "completed" | "failure_to_deliver_to_lab" | "failure_to_deliver_to_customer" | "problem_in_transit_lab" | "problem_in_transit_customer" | "sample_error" | "appointment_scheduled" | "appointment_cancelled" | "appointment_pending" | "draw_completed" | "cancelled" | "lost" | "do_not_process" | "partial_results" | "awaiting_registration" | "registered";
|
10
|
+
}
|
@@ -0,0 +1,56 @@
|
|
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.OrderLowLevelStatus = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.OrderLowLevelStatus = core.serialization.enum_([
|
32
|
+
"ordered",
|
33
|
+
"requisition_created",
|
34
|
+
"requisition_bypassed",
|
35
|
+
"transit_customer",
|
36
|
+
"out_for_delivery",
|
37
|
+
"with_customer",
|
38
|
+
"transit_lab",
|
39
|
+
"delivered_to_lab",
|
40
|
+
"completed",
|
41
|
+
"failure_to_deliver_to_lab",
|
42
|
+
"failure_to_deliver_to_customer",
|
43
|
+
"problem_in_transit_lab",
|
44
|
+
"problem_in_transit_customer",
|
45
|
+
"sample_error",
|
46
|
+
"appointment_scheduled",
|
47
|
+
"appointment_cancelled",
|
48
|
+
"appointment_pending",
|
49
|
+
"draw_completed",
|
50
|
+
"cancelled",
|
51
|
+
"lost",
|
52
|
+
"do_not_process",
|
53
|
+
"partial_results",
|
54
|
+
"awaiting_registration",
|
55
|
+
"registered",
|
56
|
+
]);
|
@@ -39,4 +39,6 @@ exports.SleepV2InDb = core.serialization.object({
|
|
39
39
|
id: core.serialization.string(),
|
40
40
|
source: ClientFacingProvider_1.ClientFacingProvider,
|
41
41
|
priority: core.serialization.number().optional(),
|
42
|
+
createdAt: core.serialization.property("created_at", core.serialization.date().optional()),
|
43
|
+
updatedAt: core.serialization.property("updated_at", core.serialization.date().optional()),
|
42
44
|
});
|
@@ -41,4 +41,6 @@ exports.WorkoutV2InDb = core.serialization.object({
|
|
41
41
|
sportId: core.serialization.property("sport_id", core.serialization.number()),
|
42
42
|
source: ClientFacingProvider_1.ClientFacingProvider,
|
43
43
|
sport: ClientFacingSport_1.ClientFacingSport,
|
44
|
+
createdAt: core.serialization.property("created_at", core.serialization.date().optional()),
|
45
|
+
updatedAt: core.serialization.property("updated_at", core.serialization.date().optional()),
|
44
46
|
});
|
@@ -257,6 +257,8 @@ export * from "./Micros";
|
|
257
257
|
export * from "./Minerals";
|
258
258
|
export * from "./MissingBiomarkerResult";
|
259
259
|
export * from "./OAuthProviders";
|
260
|
+
export * from "./OrderActivationType";
|
261
|
+
export * from "./OrderLowLevelStatus";
|
260
262
|
export * from "./OrderSetRequest";
|
261
263
|
export * from "./OrderStatus";
|
262
264
|
export * from "./OrderTopLevelStatus";
|
@@ -273,6 +273,8 @@ __exportStar(require("./Micros"), exports);
|
|
273
273
|
__exportStar(require("./Minerals"), exports);
|
274
274
|
__exportStar(require("./MissingBiomarkerResult"), exports);
|
275
275
|
__exportStar(require("./OAuthProviders"), exports);
|
276
|
+
__exportStar(require("./OrderActivationType"), exports);
|
277
|
+
__exportStar(require("./OrderLowLevelStatus"), exports);
|
276
278
|
__exportStar(require("./OrderSetRequest"), exports);
|
277
279
|
__exportStar(require("./OrderStatus"), exports);
|
278
280
|
__exportStar(require("./OrderTopLevelStatus"), exports);
|
package/version.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export declare const SDK_VERSION = "3.1.
|
1
|
+
export declare const SDK_VERSION = "3.1.241";
|
package/version.js
CHANGED