@tryvital/vital-node 3.1.240 → 3.1.242
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/ClientFacingActivity.d.ts +3 -1
- package/api/types/ClientFacingBody.d.ts +3 -1
- package/api/types/ClientFacingElectrocardiogram.d.ts +2 -2
- package/api/types/ClientFacingMenstrualCycle.d.ts +2 -2
- package/api/types/ClientFacingSleep.d.ts +3 -1
- package/api/types/ClientFacingSleepCycle.d.ts +2 -2
- package/api/types/ClientFacingWorkout.d.ts +3 -1
- 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/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/ClientFacingActivity.d.ts +3 -1
- package/dist/api/types/ClientFacingBody.d.ts +3 -1
- package/dist/api/types/ClientFacingElectrocardiogram.d.ts +2 -2
- package/dist/api/types/ClientFacingMenstrualCycle.d.ts +2 -2
- package/dist/api/types/ClientFacingSleep.d.ts +3 -1
- package/dist/api/types/ClientFacingSleepCycle.d.ts +2 -2
- package/dist/api/types/ClientFacingWorkout.d.ts +3 -1
- 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/index.d.ts +2 -0
- package/dist/api/types/index.js +2 -0
- package/dist/serialization/types/ClientFacingActivity.d.ts +3 -1
- package/dist/serialization/types/ClientFacingActivity.js +3 -1
- package/dist/serialization/types/ClientFacingBody.d.ts +3 -1
- package/dist/serialization/types/ClientFacingBody.js +3 -1
- package/dist/serialization/types/ClientFacingElectrocardiogram.d.ts +2 -2
- package/dist/serialization/types/ClientFacingElectrocardiogram.js +2 -2
- package/dist/serialization/types/ClientFacingMenstrualCycle.d.ts +2 -2
- package/dist/serialization/types/ClientFacingMenstrualCycle.js +2 -2
- package/dist/serialization/types/ClientFacingSleep.d.ts +3 -1
- package/dist/serialization/types/ClientFacingSleep.js +3 -1
- package/dist/serialization/types/ClientFacingSleepCycle.d.ts +2 -2
- package/dist/serialization/types/ClientFacingSleepCycle.js +2 -2
- package/dist/serialization/types/ClientFacingWorkout.d.ts +3 -1
- package/dist/serialization/types/ClientFacingWorkout.js +3 -1
- 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/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/ClientFacingActivity.d.ts +3 -1
- package/serialization/types/ClientFacingActivity.js +3 -1
- package/serialization/types/ClientFacingBody.d.ts +3 -1
- package/serialization/types/ClientFacingBody.js +3 -1
- package/serialization/types/ClientFacingElectrocardiogram.d.ts +2 -2
- package/serialization/types/ClientFacingElectrocardiogram.js +2 -2
- package/serialization/types/ClientFacingMenstrualCycle.d.ts +2 -2
- package/serialization/types/ClientFacingMenstrualCycle.js +2 -2
- package/serialization/types/ClientFacingSleep.d.ts +3 -1
- package/serialization/types/ClientFacingSleep.js +3 -1
- package/serialization/types/ClientFacingSleepCycle.d.ts +2 -2
- package/serialization/types/ClientFacingSleepCycle.js +2 -2
- package/serialization/types/ClientFacingWorkout.d.ts +3 -1
- package/serialization/types/ClientFacingWorkout.js +3 -1
- 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/index.d.ts +2 -0
- package/serialization/types/index.js +2 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
@@ -9,8 +9,8 @@ import { ClientFacingHeartRate } from "./ClientFacingHeartRate";
|
|
9
9
|
export declare const ClientFacingActivity: core.serialization.ObjectSchema<serializers.ClientFacingActivity.Raw, Vital.ClientFacingActivity>;
|
10
10
|
export declare namespace ClientFacingActivity {
|
11
11
|
interface Raw {
|
12
|
-
user_id: string;
|
13
12
|
id: string;
|
13
|
+
user_id: string;
|
14
14
|
date: string;
|
15
15
|
calendar_date: string;
|
16
16
|
calories_total?: number | null;
|
@@ -28,5 +28,7 @@ export declare namespace ClientFacingActivity {
|
|
28
28
|
heart_rate?: ClientFacingHeartRate.Raw | null;
|
29
29
|
wheelchair_use?: boolean | null;
|
30
30
|
wheelchair_push?: number | null;
|
31
|
+
created_at: string;
|
32
|
+
updated_at: string;
|
31
33
|
}
|
32
34
|
}
|
@@ -31,8 +31,8 @@ const core = __importStar(require("../../core"));
|
|
31
31
|
const ClientFacingSource_1 = require("./ClientFacingSource");
|
32
32
|
const ClientFacingHeartRate_1 = require("./ClientFacingHeartRate");
|
33
33
|
exports.ClientFacingActivity = core.serialization.object({
|
34
|
-
userId: core.serialization.property("user_id", core.serialization.string()),
|
35
34
|
id: core.serialization.string(),
|
35
|
+
userId: core.serialization.property("user_id", core.serialization.string()),
|
36
36
|
date: core.serialization.date(),
|
37
37
|
calendarDate: core.serialization.property("calendar_date", core.serialization.string()),
|
38
38
|
caloriesTotal: core.serialization.property("calories_total", core.serialization.number().optional()),
|
@@ -50,4 +50,6 @@ exports.ClientFacingActivity = core.serialization.object({
|
|
50
50
|
heartRate: core.serialization.property("heart_rate", ClientFacingHeartRate_1.ClientFacingHeartRate.optional()),
|
51
51
|
wheelchairUse: core.serialization.property("wheelchair_use", core.serialization.boolean().optional()),
|
52
52
|
wheelchairPush: core.serialization.property("wheelchair_push", core.serialization.number().optional()),
|
53
|
+
createdAt: core.serialization.property("created_at", core.serialization.date()),
|
54
|
+
updatedAt: core.serialization.property("updated_at", core.serialization.date()),
|
53
55
|
});
|
@@ -8,8 +8,8 @@ import { ClientFacingSource } from "./ClientFacingSource";
|
|
8
8
|
export declare const ClientFacingBody: core.serialization.ObjectSchema<serializers.ClientFacingBody.Raw, Vital.ClientFacingBody>;
|
9
9
|
export declare namespace ClientFacingBody {
|
10
10
|
interface Raw {
|
11
|
-
user_id: string;
|
12
11
|
id: string;
|
12
|
+
user_id: string;
|
13
13
|
date: string;
|
14
14
|
calendar_date: string;
|
15
15
|
weight?: number | null;
|
@@ -22,5 +22,7 @@ export declare namespace ClientFacingBody {
|
|
22
22
|
lean_body_mass_kilogram?: number | null;
|
23
23
|
waist_circumference_centimeter?: number | null;
|
24
24
|
source: ClientFacingSource.Raw;
|
25
|
+
created_at: string;
|
26
|
+
updated_at: string;
|
25
27
|
}
|
26
28
|
}
|
@@ -30,8 +30,8 @@ exports.ClientFacingBody = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
31
31
|
const ClientFacingSource_1 = require("./ClientFacingSource");
|
32
32
|
exports.ClientFacingBody = core.serialization.object({
|
33
|
-
userId: core.serialization.property("user_id", core.serialization.string()),
|
34
33
|
id: core.serialization.string(),
|
34
|
+
userId: core.serialization.property("user_id", core.serialization.string()),
|
35
35
|
date: core.serialization.date(),
|
36
36
|
calendarDate: core.serialization.property("calendar_date", core.serialization.string()),
|
37
37
|
weight: core.serialization.number().optional(),
|
@@ -44,4 +44,6 @@ exports.ClientFacingBody = core.serialization.object({
|
|
44
44
|
leanBodyMassKilogram: core.serialization.property("lean_body_mass_kilogram", core.serialization.number().optional()),
|
45
45
|
waistCircumferenceCentimeter: core.serialization.property("waist_circumference_centimeter", core.serialization.number().optional()),
|
46
46
|
source: ClientFacingSource_1.ClientFacingSource,
|
47
|
+
createdAt: core.serialization.property("created_at", core.serialization.date()),
|
48
|
+
updatedAt: core.serialization.property("updated_at", core.serialization.date()),
|
47
49
|
});
|
@@ -26,8 +26,8 @@ export declare namespace ClientFacingElectrocardiogram {
|
|
26
26
|
source_type: ClientFacingElectrocardiogramSourceType.Raw;
|
27
27
|
source_app_id?: string | null;
|
28
28
|
source_device_model?: string | null;
|
29
|
-
created_at
|
30
|
-
updated_at
|
29
|
+
created_at: string;
|
30
|
+
updated_at: string;
|
31
31
|
user_id: string;
|
32
32
|
source: ClientFacingSource.Raw;
|
33
33
|
}
|
@@ -48,8 +48,8 @@ exports.ClientFacingElectrocardiogram = core.serialization.object({
|
|
48
48
|
sourceType: core.serialization.property("source_type", ClientFacingElectrocardiogramSourceType_1.ClientFacingElectrocardiogramSourceType),
|
49
49
|
sourceAppId: core.serialization.property("source_app_id", core.serialization.string().optional()),
|
50
50
|
sourceDeviceModel: core.serialization.property("source_device_model", core.serialization.string().optional()),
|
51
|
-
createdAt: core.serialization.property("created_at", core.serialization.date()
|
52
|
-
updatedAt: core.serialization.property("updated_at", core.serialization.date()
|
51
|
+
createdAt: core.serialization.property("created_at", core.serialization.date()),
|
52
|
+
updatedAt: core.serialization.property("updated_at", core.serialization.date()),
|
53
53
|
userId: core.serialization.property("user_id", core.serialization.string()),
|
54
54
|
source: ClientFacingSource_1.ClientFacingSource,
|
55
55
|
});
|
@@ -38,8 +38,8 @@ export declare namespace ClientFacingMenstrualCycle {
|
|
38
38
|
source_provider: ClientFacingMenstrualCycleSourceProvider.Raw;
|
39
39
|
source_type: ClientFacingMenstrualCycleSourceType.Raw;
|
40
40
|
source_app_id?: string | null;
|
41
|
-
created_at
|
42
|
-
updated_at
|
41
|
+
created_at: string;
|
42
|
+
updated_at: string;
|
43
43
|
user_id: string;
|
44
44
|
source: ClientFacingSource.Raw;
|
45
45
|
}
|
@@ -60,8 +60,8 @@ exports.ClientFacingMenstrualCycle = core.serialization.object({
|
|
60
60
|
sourceProvider: core.serialization.property("source_provider", ClientFacingMenstrualCycleSourceProvider_1.ClientFacingMenstrualCycleSourceProvider),
|
61
61
|
sourceType: core.serialization.property("source_type", ClientFacingMenstrualCycleSourceType_1.ClientFacingMenstrualCycleSourceType),
|
62
62
|
sourceAppId: core.serialization.property("source_app_id", core.serialization.string().optional()),
|
63
|
-
createdAt: core.serialization.property("created_at", core.serialization.date()
|
64
|
-
updatedAt: core.serialization.property("updated_at", core.serialization.date()
|
63
|
+
createdAt: core.serialization.property("created_at", core.serialization.date()),
|
64
|
+
updatedAt: core.serialization.property("updated_at", core.serialization.date()),
|
65
65
|
userId: core.serialization.property("user_id", core.serialization.string()),
|
66
66
|
source: ClientFacingSource_1.ClientFacingSource,
|
67
67
|
});
|
@@ -11,8 +11,8 @@ import { ClientFacingSleepStream } from "./ClientFacingSleepStream";
|
|
11
11
|
export declare const ClientFacingSleep: core.serialization.ObjectSchema<serializers.ClientFacingSleep.Raw, Vital.ClientFacingSleep>;
|
12
12
|
export declare namespace ClientFacingSleep {
|
13
13
|
interface Raw {
|
14
|
-
user_id: string;
|
15
14
|
id: string;
|
15
|
+
user_id: string;
|
16
16
|
date: string;
|
17
17
|
calendar_date: string;
|
18
18
|
bedtime_start: string;
|
@@ -39,5 +39,7 @@ export declare namespace ClientFacingSleep {
|
|
39
39
|
respiratory_rate?: number | null;
|
40
40
|
source: ClientFacingSource.Raw;
|
41
41
|
sleep_stream?: ClientFacingSleepStream.Raw | null;
|
42
|
+
created_at: string;
|
43
|
+
updated_at: string;
|
42
44
|
}
|
43
45
|
}
|
@@ -33,8 +33,8 @@ const SleepSummaryState_1 = require("./SleepSummaryState");
|
|
33
33
|
const ClientFacingSource_1 = require("./ClientFacingSource");
|
34
34
|
const ClientFacingSleepStream_1 = require("./ClientFacingSleepStream");
|
35
35
|
exports.ClientFacingSleep = core.serialization.object({
|
36
|
-
userId: core.serialization.property("user_id", core.serialization.string()),
|
37
36
|
id: core.serialization.string(),
|
37
|
+
userId: core.serialization.property("user_id", core.serialization.string()),
|
38
38
|
date: core.serialization.date(),
|
39
39
|
calendarDate: core.serialization.property("calendar_date", core.serialization.string()),
|
40
40
|
bedtimeStart: core.serialization.property("bedtime_start", core.serialization.date()),
|
@@ -61,4 +61,6 @@ exports.ClientFacingSleep = core.serialization.object({
|
|
61
61
|
respiratoryRate: core.serialization.property("respiratory_rate", core.serialization.number().optional()),
|
62
62
|
source: ClientFacingSource_1.ClientFacingSource,
|
63
63
|
sleepStream: core.serialization.property("sleep_stream", ClientFacingSleepStream_1.ClientFacingSleepStream.optional()),
|
64
|
+
createdAt: core.serialization.property("created_at", core.serialization.date()),
|
65
|
+
updatedAt: core.serialization.property("updated_at", core.serialization.date()),
|
64
66
|
});
|
@@ -22,8 +22,8 @@ export declare namespace ClientFacingSleepCycle {
|
|
22
22
|
source_provider: ClientFacingSleepCycleSourceProvider.Raw;
|
23
23
|
source_type: ClientFacingSleepCycleSourceType.Raw;
|
24
24
|
source_app_id?: string | null;
|
25
|
-
created_at
|
26
|
-
updated_at
|
25
|
+
created_at: string;
|
26
|
+
updated_at: string;
|
27
27
|
user_id: string;
|
28
28
|
source: ClientFacingSource.Raw;
|
29
29
|
}
|
@@ -44,8 +44,8 @@ exports.ClientFacingSleepCycle = core.serialization.object({
|
|
44
44
|
sourceProvider: core.serialization.property("source_provider", ClientFacingSleepCycleSourceProvider_1.ClientFacingSleepCycleSourceProvider),
|
45
45
|
sourceType: core.serialization.property("source_type", ClientFacingSleepCycleSourceType_1.ClientFacingSleepCycleSourceType),
|
46
46
|
sourceAppId: core.serialization.property("source_app_id", core.serialization.string().optional()),
|
47
|
-
createdAt: core.serialization.property("created_at", core.serialization.date()
|
48
|
-
updatedAt: core.serialization.property("updated_at", core.serialization.date()
|
47
|
+
createdAt: core.serialization.property("created_at", core.serialization.date()),
|
48
|
+
updatedAt: core.serialization.property("updated_at", core.serialization.date()),
|
49
49
|
userId: core.serialization.property("user_id", core.serialization.string()),
|
50
50
|
source: ClientFacingSource_1.ClientFacingSource,
|
51
51
|
});
|
@@ -10,8 +10,8 @@ import { ClientFacingSource } from "./ClientFacingSource";
|
|
10
10
|
export declare const ClientFacingWorkout: core.serialization.ObjectSchema<serializers.ClientFacingWorkout.Raw, Vital.ClientFacingWorkout>;
|
11
11
|
export declare namespace ClientFacingWorkout {
|
12
12
|
interface Raw {
|
13
|
-
user_id: string;
|
14
13
|
id: string;
|
14
|
+
user_id: string;
|
15
15
|
title?: string | null;
|
16
16
|
timezone_offset?: number | null;
|
17
17
|
average_hr?: number | null;
|
@@ -37,5 +37,7 @@ export declare namespace ClientFacingWorkout {
|
|
37
37
|
map?: ClientFacingWorkoutMap.Raw | null;
|
38
38
|
provider_id: string;
|
39
39
|
source: ClientFacingSource.Raw;
|
40
|
+
created_at: string;
|
41
|
+
updated_at: string;
|
40
42
|
}
|
41
43
|
}
|
@@ -32,8 +32,8 @@ const ClientFacingSport_1 = require("./ClientFacingSport");
|
|
32
32
|
const ClientFacingWorkoutMap_1 = require("./ClientFacingWorkoutMap");
|
33
33
|
const ClientFacingSource_1 = require("./ClientFacingSource");
|
34
34
|
exports.ClientFacingWorkout = core.serialization.object({
|
35
|
-
userId: core.serialization.property("user_id", core.serialization.string()),
|
36
35
|
id: core.serialization.string(),
|
36
|
+
userId: core.serialization.property("user_id", core.serialization.string()),
|
37
37
|
title: core.serialization.string().optional(),
|
38
38
|
timezoneOffset: core.serialization.property("timezone_offset", core.serialization.number().optional()),
|
39
39
|
averageHr: core.serialization.property("average_hr", core.serialization.number().optional()),
|
@@ -59,4 +59,6 @@ exports.ClientFacingWorkout = core.serialization.object({
|
|
59
59
|
map: ClientFacingWorkoutMap_1.ClientFacingWorkoutMap.optional(),
|
60
60
|
providerId: core.serialization.property("provider_id", core.serialization.string()),
|
61
61
|
source: ClientFacingSource_1.ClientFacingSource,
|
62
|
+
createdAt: core.serialization.property("created_at", core.serialization.date()),
|
63
|
+
updatedAt: core.serialization.property("updated_at", core.serialization.date()),
|
62
64
|
});
|
@@ -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 OrderActivationType: core.serialization.Schema<serializers.OrderActivationType.Raw, Vital.OrderActivationType>;
|
8
|
+
export declare namespace OrderActivationType {
|
9
|
+
type Raw = "current" | "scheduled";
|
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.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
|
+
]);
|
@@ -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.242";
|
package/version.js
CHANGED