@tryvital/vital-node 3.1.2 → 3.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/errors/BadRequestError.d.ts +1 -2
- package/api/resources/activity/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/insurance/client/Client.js +2 -2
- package/api/resources/introspect/client/Client.js +2 -2
- package/api/resources/labTests/client/Client.js +24 -24
- package/api/resources/link/client/Client.d.ts +2 -6
- package/api/resources/link/client/Client.js +15 -19
- package/api/resources/meal/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/testkit/client/requests/RegisterTestkitRequest.d.ts +1 -0
- package/api/resources/user/client/Client.d.ts +1 -0
- package/api/resources/user/client/Client.js +16 -18
- package/api/resources/user/client/requests/UserCreateBody.d.ts +4 -0
- package/api/resources/user/client/requests/UserPatchBody.d.ts +4 -0
- package/api/resources/vitals/client/Client.js +50 -50
- package/api/resources/workouts/client/Client.js +3 -3
- package/api/types/ClientFacingUser.d.ts +4 -0
- package/api/types/ClientUserIdConflict.d.ts +9 -0
- package/api/types/ClientUserIdConflict.js +5 -0
- package/api/types/LibreConfig.d.ts +1 -0
- package/api/types/OrderStatus.d.ts +2 -1
- package/api/types/OrderStatus.js +1 -0
- package/api/types/Region.d.ts +2 -1
- package/api/types/Region.js +1 -0
- package/api/types/index.d.ts +1 -0
- package/api/types/index.js +1 -0
- package/dist/api/errors/BadRequestError.d.ts +1 -2
- package/dist/api/resources/activity/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/insurance/client/Client.js +2 -2
- package/dist/api/resources/introspect/client/Client.js +2 -2
- package/dist/api/resources/labTests/client/Client.js +24 -24
- package/dist/api/resources/link/client/Client.d.ts +2 -6
- package/dist/api/resources/link/client/Client.js +15 -19
- package/dist/api/resources/meal/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/testkit/client/requests/RegisterTestkitRequest.d.ts +1 -0
- package/dist/api/resources/user/client/Client.d.ts +1 -0
- package/dist/api/resources/user/client/Client.js +16 -18
- package/dist/api/resources/user/client/requests/UserCreateBody.d.ts +4 -0
- package/dist/api/resources/user/client/requests/UserPatchBody.d.ts +4 -0
- package/dist/api/resources/vitals/client/Client.js +50 -50
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/api/types/ClientFacingUser.d.ts +4 -0
- package/dist/api/types/ClientUserIdConflict.d.ts +9 -0
- package/dist/api/types/ClientUserIdConflict.js +5 -0
- package/dist/api/types/LibreConfig.d.ts +1 -0
- package/dist/api/types/OrderStatus.d.ts +2 -1
- package/dist/api/types/OrderStatus.js +1 -0
- package/dist/api/types/Region.d.ts +2 -1
- package/dist/api/types/Region.js +1 -0
- package/dist/api/types/index.d.ts +1 -0
- package/dist/api/types/index.js +1 -0
- package/dist/serialization/resources/testkit/client/requests/RegisterTestkitRequest.d.ts +1 -0
- package/dist/serialization/resources/testkit/client/requests/RegisterTestkitRequest.js +1 -0
- package/dist/serialization/resources/user/client/requests/UserCreateBody.d.ts +2 -0
- package/dist/serialization/resources/user/client/requests/UserCreateBody.js +2 -0
- package/dist/serialization/resources/user/client/requests/UserPatchBody.d.ts +2 -0
- package/dist/serialization/resources/user/client/requests/UserPatchBody.js +2 -0
- package/dist/serialization/types/ClientFacingUser.d.ts +2 -0
- package/dist/serialization/types/ClientFacingUser.js +2 -0
- package/dist/serialization/types/ClientUserIdConflict.d.ts +15 -0
- package/dist/serialization/types/ClientUserIdConflict.js +36 -0
- package/dist/serialization/types/LibreConfig.d.ts +1 -0
- package/dist/serialization/types/LibreConfig.js +1 -0
- package/dist/serialization/types/OrderStatus.d.ts +1 -1
- package/dist/serialization/types/OrderStatus.js +1 -0
- package/dist/serialization/types/Region.d.ts +1 -1
- package/dist/serialization/types/Region.js +1 -0
- package/dist/serialization/types/index.d.ts +1 -0
- package/dist/serialization/types/index.js +1 -0
- package/package.json +1 -1
- package/serialization/resources/testkit/client/requests/RegisterTestkitRequest.d.ts +1 -0
- package/serialization/resources/testkit/client/requests/RegisterTestkitRequest.js +1 -0
- package/serialization/resources/user/client/requests/UserCreateBody.d.ts +2 -0
- package/serialization/resources/user/client/requests/UserCreateBody.js +2 -0
- package/serialization/resources/user/client/requests/UserPatchBody.d.ts +2 -0
- package/serialization/resources/user/client/requests/UserPatchBody.js +2 -0
- package/serialization/types/ClientFacingUser.d.ts +2 -0
- package/serialization/types/ClientFacingUser.js +2 -0
- package/serialization/types/ClientUserIdConflict.d.ts +15 -0
- package/serialization/types/ClientUserIdConflict.js +36 -0
- package/serialization/types/LibreConfig.d.ts +1 -0
- package/serialization/types/LibreConfig.js +1 -0
- package/serialization/types/OrderStatus.d.ts +1 -1
- package/serialization/types/OrderStatus.js +1 -0
- package/serialization/types/Region.d.ts +1 -1
- package/serialization/types/Region.js +1 -0
- package/serialization/types/index.d.ts +1 -0
- package/serialization/types/index.js +1 -0
@@ -45,4 +45,6 @@ exports.ClientFacingUser = core.serialization.object({
|
|
45
45
|
connectedSources: core.serialization.property("connected_sources", core.serialization.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ConnectedSourceClientFacing; })))),
|
46
46
|
fallbackTimeZone: core.serialization.property("fallback_time_zone", core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).FallbackTimeZone; })).optional()),
|
47
47
|
fallbackBirthDate: core.serialization.property("fallback_birth_date", core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).FallbackBirthDate; })).optional()),
|
48
|
+
ingestionStart: core.serialization.property("ingestion_start", core.serialization.string().optional()),
|
49
|
+
ingestionEnd: core.serialization.property("ingestion_end", core.serialization.string().optional()),
|
48
50
|
});
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "..";
|
5
|
+
import * as Vital from "../../api";
|
6
|
+
import * as core from "../../core";
|
7
|
+
export declare const ClientUserIdConflict: core.serialization.ObjectSchema<serializers.ClientUserIdConflict.Raw, Vital.ClientUserIdConflict>;
|
8
|
+
export declare namespace ClientUserIdConflict {
|
9
|
+
interface Raw {
|
10
|
+
error_type: string;
|
11
|
+
error_message: string;
|
12
|
+
user_id: string;
|
13
|
+
created_on: string;
|
14
|
+
}
|
15
|
+
}
|
@@ -0,0 +1,36 @@
|
|
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.ClientUserIdConflict = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.ClientUserIdConflict = core.serialization.object({
|
32
|
+
errorType: core.serialization.property("error_type", core.serialization.string()),
|
33
|
+
errorMessage: core.serialization.property("error_message", core.serialization.string()),
|
34
|
+
userId: core.serialization.property("user_id", core.serialization.string()),
|
35
|
+
createdOn: core.serialization.property("created_on", core.serialization.date()),
|
36
|
+
});
|
@@ -30,4 +30,5 @@ exports.LibreConfig = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
31
31
|
exports.LibreConfig = core.serialization.object({
|
32
32
|
practiceId: core.serialization.property("practice_id", core.serialization.record(core.serialization.string(), core.serialization.unknown())),
|
33
|
+
stripTz: core.serialization.property("strip_tz", core.serialization.boolean().optional()),
|
33
34
|
});
|
@@ -6,5 +6,5 @@ import * as Vital from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
7
7
|
export declare const OrderStatus: core.serialization.Schema<serializers.OrderStatus.Raw, Vital.OrderStatus>;
|
8
8
|
export declare namespace OrderStatus {
|
9
|
-
type Raw = "received.walk_in_test.ordered" | "received.walk_in_test.requisition_created" | "completed.walk_in_test.completed" | "sample_with_lab.walk_in_test.partial_results" | "failed.walk_in_test.sample_error" | "cancelled.walk_in_test.cancelled" | "received.at_home_phlebotomy.ordered" | "received.at_home_phlebotomy.requisition_created" | "collecting_sample.at_home_phlebotomy.appointment_pending" | "collecting_sample.at_home_phlebotomy.appointment_scheduled" | "collecting_sample.at_home_phlebotomy.draw_completed" | "collecting_sample.at_home_phlebotomy.appointment_cancelled" | "completed.at_home_phlebotomy.completed" | "sample_with_lab.at_home_phlebotomy.partial_results" | "cancelled.at_home_phlebotomy.cancelled" | "received.testkit.ordered" | "received.testkit.awaiting_registration" | "received.testkit.requisition_created" | "received.testkit.registered" | "collecting_sample.testkit.transit_customer" | "collecting_sample.testkit.out_for_delivery" | "collecting_sample.testkit.with_customer" | "collecting_sample.testkit.transit_lab" | "sample_with_lab.testkit.delivered_to_lab" | "completed.testkit.completed" | "failed.testkit.failure_to_deliver_to_customer" | "failed.testkit.failure_to_deliver_to_lab" | "failed.testkit.sample_error" | "failed.testkit.lost" | "cancelled.testkit.cancelled" | "cancelled.testkit.do_not_process";
|
9
|
+
type Raw = "received.walk_in_test.ordered" | "received.walk_in_test.requisition_created" | "completed.walk_in_test.completed" | "sample_with_lab.walk_in_test.partial_results" | "failed.walk_in_test.sample_error" | "cancelled.walk_in_test.cancelled" | "received.at_home_phlebotomy.ordered" | "received.at_home_phlebotomy.requisition_created" | "collecting_sample.at_home_phlebotomy.appointment_pending" | "collecting_sample.at_home_phlebotomy.appointment_scheduled" | "collecting_sample.at_home_phlebotomy.draw_completed" | "collecting_sample.at_home_phlebotomy.appointment_cancelled" | "completed.at_home_phlebotomy.completed" | "sample_with_lab.at_home_phlebotomy.partial_results" | "cancelled.at_home_phlebotomy.cancelled" | "failed.at_home_phlebotomy.sample_error" | "received.testkit.ordered" | "received.testkit.awaiting_registration" | "received.testkit.requisition_created" | "received.testkit.registered" | "collecting_sample.testkit.transit_customer" | "collecting_sample.testkit.out_for_delivery" | "collecting_sample.testkit.with_customer" | "collecting_sample.testkit.transit_lab" | "sample_with_lab.testkit.delivered_to_lab" | "completed.testkit.completed" | "failed.testkit.failure_to_deliver_to_customer" | "failed.testkit.failure_to_deliver_to_lab" | "failed.testkit.sample_error" | "failed.testkit.lost" | "cancelled.testkit.cancelled" | "cancelled.testkit.do_not_process";
|
10
10
|
}
|
@@ -44,6 +44,7 @@ exports.OrderStatus = core.serialization.enum_([
|
|
44
44
|
"completed.at_home_phlebotomy.completed",
|
45
45
|
"sample_with_lab.at_home_phlebotomy.partial_results",
|
46
46
|
"cancelled.at_home_phlebotomy.cancelled",
|
47
|
+
"failed.at_home_phlebotomy.sample_error",
|
47
48
|
"received.testkit.ordered",
|
48
49
|
"received.testkit.awaiting_registration",
|
49
50
|
"received.testkit.requisition_created",
|
@@ -6,5 +6,5 @@ import * as Vital from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
7
7
|
export declare const Region: core.serialization.Schema<serializers.Region.Raw, Vital.Region>;
|
8
8
|
export declare namespace Region {
|
9
|
-
type Raw = "us" | "eu" | "sg" | "de" | "au" | "br" | "nl" | "fr" | "ca";
|
9
|
+
type Raw = "us" | "eu" | "sg" | "de" | "au" | "br" | "nl" | "fr" | "ca" | "in";
|
10
10
|
}
|
@@ -80,6 +80,7 @@ export * from "./ClientFacingWalkInTestOrder";
|
|
80
80
|
export * from "./ClientFacingWaterTimeseries";
|
81
81
|
export * from "./ClientFacingWorkout";
|
82
82
|
export * from "./ClientSleepResponse";
|
83
|
+
export * from "./ClientUserIdConflict";
|
83
84
|
export * from "./ClientWorkoutResponse";
|
84
85
|
export * from "./ConnectedSourceClientFacing";
|
85
86
|
export * from "./ConnectionStatus";
|
@@ -96,6 +96,7 @@ __exportStar(require("./ClientFacingWalkInTestOrder"), exports);
|
|
96
96
|
__exportStar(require("./ClientFacingWaterTimeseries"), exports);
|
97
97
|
__exportStar(require("./ClientFacingWorkout"), exports);
|
98
98
|
__exportStar(require("./ClientSleepResponse"), exports);
|
99
|
+
__exportStar(require("./ClientUserIdConflict"), exports);
|
99
100
|
__exportStar(require("./ClientWorkoutResponse"), exports);
|
100
101
|
__exportStar(require("./ConnectedSourceClientFacing"), exports);
|
101
102
|
__exportStar(require("./ConnectionStatus"), exports);
|
package/package.json
CHANGED
@@ -12,6 +12,7 @@ export declare namespace RegisterTestkitRequest {
|
|
12
12
|
patient_details: serializers.PatientDetails.Raw;
|
13
13
|
patient_address: serializers.PatientAddressCompatible.Raw;
|
14
14
|
physician?: serializers.PhysicianCreateRequestBase.Raw | null;
|
15
|
+
health_insurance?: serializers.HealthInsuranceCreateRequest.Raw | null;
|
15
16
|
consents?: serializers.Consent.Raw[] | null;
|
16
17
|
}
|
17
18
|
}
|
@@ -45,6 +45,7 @@ exports.RegisterTestkitRequest = core.serialization.object({
|
|
45
45
|
physician: core.serialization
|
46
46
|
.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../..")))).PhysicianCreateRequestBase; }))
|
47
47
|
.optional(),
|
48
|
+
healthInsurance: core.serialization.property("health_insurance", core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../..")))).HealthInsuranceCreateRequest; })).optional()),
|
48
49
|
consents: core.serialization
|
49
50
|
.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../..")))).Consent; })))
|
50
51
|
.optional(),
|
@@ -32,4 +32,6 @@ exports.UserCreateBody = core.serialization.object({
|
|
32
32
|
clientUserId: core.serialization.property("client_user_id", core.serialization.string()),
|
33
33
|
fallbackTimeZone: core.serialization.property("fallback_time_zone", core.serialization.string().optional()),
|
34
34
|
fallbackBirthDate: core.serialization.property("fallback_birth_date", core.serialization.string().optional()),
|
35
|
+
ingestionStart: core.serialization.property("ingestion_start", core.serialization.string().optional()),
|
36
|
+
ingestionEnd: core.serialization.property("ingestion_end", core.serialization.string().optional()),
|
35
37
|
});
|
@@ -31,4 +31,6 @@ const core = __importStar(require("../../../../../core"));
|
|
31
31
|
exports.UserPatchBody = core.serialization.object({
|
32
32
|
fallbackTimeZone: core.serialization.property("fallback_time_zone", core.serialization.string().optional()),
|
33
33
|
fallbackBirthDate: core.serialization.property("fallback_birth_date", core.serialization.string().optional()),
|
34
|
+
ingestionStart: core.serialization.property("ingestion_start", core.serialization.string().optional()),
|
35
|
+
ingestionEnd: core.serialization.property("ingestion_end", core.serialization.string().optional()),
|
34
36
|
});
|
@@ -14,5 +14,7 @@ export declare namespace ClientFacingUser {
|
|
14
14
|
connected_sources: serializers.ConnectedSourceClientFacing.Raw[];
|
15
15
|
fallback_time_zone?: serializers.FallbackTimeZone.Raw | null;
|
16
16
|
fallback_birth_date?: serializers.FallbackBirthDate.Raw | null;
|
17
|
+
ingestion_start?: string | null;
|
18
|
+
ingestion_end?: string | null;
|
17
19
|
}
|
18
20
|
}
|
@@ -45,4 +45,6 @@ exports.ClientFacingUser = core.serialization.object({
|
|
45
45
|
connectedSources: core.serialization.property("connected_sources", core.serialization.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ConnectedSourceClientFacing; })))),
|
46
46
|
fallbackTimeZone: core.serialization.property("fallback_time_zone", core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).FallbackTimeZone; })).optional()),
|
47
47
|
fallbackBirthDate: core.serialization.property("fallback_birth_date", core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).FallbackBirthDate; })).optional()),
|
48
|
+
ingestionStart: core.serialization.property("ingestion_start", core.serialization.string().optional()),
|
49
|
+
ingestionEnd: core.serialization.property("ingestion_end", core.serialization.string().optional()),
|
48
50
|
});
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "..";
|
5
|
+
import * as Vital from "../../api";
|
6
|
+
import * as core from "../../core";
|
7
|
+
export declare const ClientUserIdConflict: core.serialization.ObjectSchema<serializers.ClientUserIdConflict.Raw, Vital.ClientUserIdConflict>;
|
8
|
+
export declare namespace ClientUserIdConflict {
|
9
|
+
interface Raw {
|
10
|
+
error_type: string;
|
11
|
+
error_message: string;
|
12
|
+
user_id: string;
|
13
|
+
created_on: string;
|
14
|
+
}
|
15
|
+
}
|
@@ -0,0 +1,36 @@
|
|
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.ClientUserIdConflict = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.ClientUserIdConflict = core.serialization.object({
|
32
|
+
errorType: core.serialization.property("error_type", core.serialization.string()),
|
33
|
+
errorMessage: core.serialization.property("error_message", core.serialization.string()),
|
34
|
+
userId: core.serialization.property("user_id", core.serialization.string()),
|
35
|
+
createdOn: core.serialization.property("created_on", core.serialization.date()),
|
36
|
+
});
|
@@ -30,4 +30,5 @@ exports.LibreConfig = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
31
31
|
exports.LibreConfig = core.serialization.object({
|
32
32
|
practiceId: core.serialization.property("practice_id", core.serialization.record(core.serialization.string(), core.serialization.unknown())),
|
33
|
+
stripTz: core.serialization.property("strip_tz", core.serialization.boolean().optional()),
|
33
34
|
});
|
@@ -6,5 +6,5 @@ import * as Vital from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
7
7
|
export declare const OrderStatus: core.serialization.Schema<serializers.OrderStatus.Raw, Vital.OrderStatus>;
|
8
8
|
export declare namespace OrderStatus {
|
9
|
-
type Raw = "received.walk_in_test.ordered" | "received.walk_in_test.requisition_created" | "completed.walk_in_test.completed" | "sample_with_lab.walk_in_test.partial_results" | "failed.walk_in_test.sample_error" | "cancelled.walk_in_test.cancelled" | "received.at_home_phlebotomy.ordered" | "received.at_home_phlebotomy.requisition_created" | "collecting_sample.at_home_phlebotomy.appointment_pending" | "collecting_sample.at_home_phlebotomy.appointment_scheduled" | "collecting_sample.at_home_phlebotomy.draw_completed" | "collecting_sample.at_home_phlebotomy.appointment_cancelled" | "completed.at_home_phlebotomy.completed" | "sample_with_lab.at_home_phlebotomy.partial_results" | "cancelled.at_home_phlebotomy.cancelled" | "received.testkit.ordered" | "received.testkit.awaiting_registration" | "received.testkit.requisition_created" | "received.testkit.registered" | "collecting_sample.testkit.transit_customer" | "collecting_sample.testkit.out_for_delivery" | "collecting_sample.testkit.with_customer" | "collecting_sample.testkit.transit_lab" | "sample_with_lab.testkit.delivered_to_lab" | "completed.testkit.completed" | "failed.testkit.failure_to_deliver_to_customer" | "failed.testkit.failure_to_deliver_to_lab" | "failed.testkit.sample_error" | "failed.testkit.lost" | "cancelled.testkit.cancelled" | "cancelled.testkit.do_not_process";
|
9
|
+
type Raw = "received.walk_in_test.ordered" | "received.walk_in_test.requisition_created" | "completed.walk_in_test.completed" | "sample_with_lab.walk_in_test.partial_results" | "failed.walk_in_test.sample_error" | "cancelled.walk_in_test.cancelled" | "received.at_home_phlebotomy.ordered" | "received.at_home_phlebotomy.requisition_created" | "collecting_sample.at_home_phlebotomy.appointment_pending" | "collecting_sample.at_home_phlebotomy.appointment_scheduled" | "collecting_sample.at_home_phlebotomy.draw_completed" | "collecting_sample.at_home_phlebotomy.appointment_cancelled" | "completed.at_home_phlebotomy.completed" | "sample_with_lab.at_home_phlebotomy.partial_results" | "cancelled.at_home_phlebotomy.cancelled" | "failed.at_home_phlebotomy.sample_error" | "received.testkit.ordered" | "received.testkit.awaiting_registration" | "received.testkit.requisition_created" | "received.testkit.registered" | "collecting_sample.testkit.transit_customer" | "collecting_sample.testkit.out_for_delivery" | "collecting_sample.testkit.with_customer" | "collecting_sample.testkit.transit_lab" | "sample_with_lab.testkit.delivered_to_lab" | "completed.testkit.completed" | "failed.testkit.failure_to_deliver_to_customer" | "failed.testkit.failure_to_deliver_to_lab" | "failed.testkit.sample_error" | "failed.testkit.lost" | "cancelled.testkit.cancelled" | "cancelled.testkit.do_not_process";
|
10
10
|
}
|
@@ -44,6 +44,7 @@ exports.OrderStatus = core.serialization.enum_([
|
|
44
44
|
"completed.at_home_phlebotomy.completed",
|
45
45
|
"sample_with_lab.at_home_phlebotomy.partial_results",
|
46
46
|
"cancelled.at_home_phlebotomy.cancelled",
|
47
|
+
"failed.at_home_phlebotomy.sample_error",
|
47
48
|
"received.testkit.ordered",
|
48
49
|
"received.testkit.awaiting_registration",
|
49
50
|
"received.testkit.requisition_created",
|
@@ -6,5 +6,5 @@ import * as Vital from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
7
7
|
export declare const Region: core.serialization.Schema<serializers.Region.Raw, Vital.Region>;
|
8
8
|
export declare namespace Region {
|
9
|
-
type Raw = "us" | "eu" | "sg" | "de" | "au" | "br" | "nl" | "fr" | "ca";
|
9
|
+
type Raw = "us" | "eu" | "sg" | "de" | "au" | "br" | "nl" | "fr" | "ca" | "in";
|
10
10
|
}
|
@@ -80,6 +80,7 @@ export * from "./ClientFacingWalkInTestOrder";
|
|
80
80
|
export * from "./ClientFacingWaterTimeseries";
|
81
81
|
export * from "./ClientFacingWorkout";
|
82
82
|
export * from "./ClientSleepResponse";
|
83
|
+
export * from "./ClientUserIdConflict";
|
83
84
|
export * from "./ClientWorkoutResponse";
|
84
85
|
export * from "./ConnectedSourceClientFacing";
|
85
86
|
export * from "./ConnectionStatus";
|
@@ -96,6 +96,7 @@ __exportStar(require("./ClientFacingWalkInTestOrder"), exports);
|
|
96
96
|
__exportStar(require("./ClientFacingWaterTimeseries"), exports);
|
97
97
|
__exportStar(require("./ClientFacingWorkout"), exports);
|
98
98
|
__exportStar(require("./ClientSleepResponse"), exports);
|
99
|
+
__exportStar(require("./ClientUserIdConflict"), exports);
|
99
100
|
__exportStar(require("./ClientWorkoutResponse"), exports);
|
100
101
|
__exportStar(require("./ConnectedSourceClientFacing"), exports);
|
101
102
|
__exportStar(require("./ConnectionStatus"), exports);
|