@tryvital/vital-node 3.1.11 → 3.1.13
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/body/client/Client.js +2 -2
- package/api/resources/devices/client/Client.js +1 -1
- package/api/resources/insurance/client/Client.js +2 -2
- package/api/resources/introspect/client/Client.js +2 -2
- package/api/resources/labTests/client/Client.d.ts +5 -0
- package/api/resources/labTests/client/Client.js +83 -24
- package/api/resources/labTests/client/requests/LabTestsGetLabelsPdfRequest.d.ts +13 -0
- package/api/resources/labTests/client/requests/LabTestsGetLabelsPdfRequest.js +5 -0
- package/api/resources/labTests/client/requests/index.d.ts +1 -0
- package/api/resources/link/client/Client.js +14 -14
- package/api/resources/meal/client/Client.js +1 -1
- package/api/resources/profile/client/Client.js +2 -2
- package/api/resources/providers/client/Client.js +1 -1
- package/api/resources/sleep/client/Client.js +4 -4
- package/api/resources/team/client/Client.js +7 -7
- package/api/resources/testkit/client/Client.js +2 -2
- package/api/resources/user/client/Client.js +12 -12
- package/api/resources/vitals/client/Client.js +50 -50
- package/api/resources/workouts/client/Client.js +3 -3
- package/api/types/HistoricalPullStatus.d.ts +2 -1
- package/api/types/HistoricalPullStatus.js +1 -0
- package/api/types/HistoricalPullTimeline.d.ts +8 -0
- package/api/types/HistoricalPullTimeline.js +5 -0
- package/api/types/SingleHistoricalPullStatistics.d.ts +1 -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/body/client/Client.js +2 -2
- package/dist/api/resources/devices/client/Client.js +1 -1
- package/dist/api/resources/insurance/client/Client.js +2 -2
- package/dist/api/resources/introspect/client/Client.js +2 -2
- package/dist/api/resources/labTests/client/Client.d.ts +5 -0
- package/dist/api/resources/labTests/client/Client.js +83 -24
- package/dist/api/resources/labTests/client/requests/LabTestsGetLabelsPdfRequest.d.ts +13 -0
- package/dist/api/resources/labTests/client/requests/LabTestsGetLabelsPdfRequest.js +5 -0
- package/dist/api/resources/labTests/client/requests/index.d.ts +1 -0
- package/dist/api/resources/link/client/Client.js +14 -14
- package/dist/api/resources/meal/client/Client.js +1 -1
- package/dist/api/resources/profile/client/Client.js +2 -2
- package/dist/api/resources/providers/client/Client.js +1 -1
- package/dist/api/resources/sleep/client/Client.js +4 -4
- package/dist/api/resources/team/client/Client.js +7 -7
- package/dist/api/resources/testkit/client/Client.js +2 -2
- package/dist/api/resources/user/client/Client.js +12 -12
- package/dist/api/resources/vitals/client/Client.js +50 -50
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/api/types/HistoricalPullStatus.d.ts +2 -1
- package/dist/api/types/HistoricalPullStatus.js +1 -0
- package/dist/api/types/HistoricalPullTimeline.d.ts +8 -0
- package/dist/api/types/HistoricalPullTimeline.js +5 -0
- package/dist/api/types/SingleHistoricalPullStatistics.d.ts +1 -0
- package/dist/api/types/index.d.ts +1 -0
- package/dist/api/types/index.js +1 -0
- package/dist/serialization/types/HistoricalPullStatus.d.ts +1 -1
- package/dist/serialization/types/HistoricalPullStatus.js +1 -1
- package/dist/serialization/types/HistoricalPullTimeline.d.ts +14 -0
- package/dist/serialization/types/HistoricalPullTimeline.js +35 -0
- package/dist/serialization/types/SingleHistoricalPullStatistics.d.ts +2 -0
- package/dist/serialization/types/SingleHistoricalPullStatistics.js +2 -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/types/HistoricalPullStatus.d.ts +1 -1
- package/serialization/types/HistoricalPullStatus.js +1 -1
- package/serialization/types/HistoricalPullTimeline.d.ts +14 -0
- package/serialization/types/HistoricalPullTimeline.js +35 -0
- package/serialization/types/SingleHistoricalPullStatistics.d.ts +2 -0
- package/serialization/types/SingleHistoricalPullStatistics.js +2 -0
- package/serialization/types/index.d.ts +1 -0
- package/serialization/types/index.js +1 -0
@@ -28,4 +28,4 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
29
|
exports.HistoricalPullStatus = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
|
-
exports.HistoricalPullStatus = core.serialization.enum_(["success", "failure", "in_progress"]);
|
31
|
+
exports.HistoricalPullStatus = core.serialization.enum_(["success", "failure", "in_progress", "scheduled"]);
|
@@ -0,0 +1,14 @@
|
|
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 HistoricalPullTimeline: core.serialization.ObjectSchema<serializers.HistoricalPullTimeline.Raw, Vital.HistoricalPullTimeline>;
|
8
|
+
export declare namespace HistoricalPullTimeline {
|
9
|
+
interface Raw {
|
10
|
+
scheduled_at: string;
|
11
|
+
started_at?: string | null;
|
12
|
+
ended_at?: 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.HistoricalPullTimeline = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.HistoricalPullTimeline = core.serialization.object({
|
32
|
+
scheduledAt: core.serialization.property("scheduled_at", core.serialization.date()),
|
33
|
+
startedAt: core.serialization.property("started_at", core.serialization.date().optional()),
|
34
|
+
endedAt: core.serialization.property("ended_at", core.serialization.date().optional()),
|
35
|
+
});
|
@@ -5,12 +5,14 @@ import * as serializers from "..";
|
|
5
5
|
import * as Vital from "../../api";
|
6
6
|
import * as core from "../../core";
|
7
7
|
import { HistoricalPullStatus } from "./HistoricalPullStatus";
|
8
|
+
import { HistoricalPullTimeline } from "./HistoricalPullTimeline";
|
8
9
|
export declare const SingleHistoricalPullStatistics: core.serialization.ObjectSchema<serializers.SingleHistoricalPullStatistics.Raw, Vital.SingleHistoricalPullStatistics>;
|
9
10
|
export declare namespace SingleHistoricalPullStatistics {
|
10
11
|
interface Raw {
|
11
12
|
status: HistoricalPullStatus.Raw;
|
12
13
|
range_start?: string | null;
|
13
14
|
range_end?: string | null;
|
15
|
+
timeline: HistoricalPullTimeline.Raw;
|
14
16
|
days_with_data?: number | null;
|
15
17
|
release: string;
|
16
18
|
trace_id?: string | null;
|
@@ -29,10 +29,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.SingleHistoricalPullStatistics = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
31
|
const HistoricalPullStatus_1 = require("./HistoricalPullStatus");
|
32
|
+
const HistoricalPullTimeline_1 = require("./HistoricalPullTimeline");
|
32
33
|
exports.SingleHistoricalPullStatistics = core.serialization.object({
|
33
34
|
status: HistoricalPullStatus_1.HistoricalPullStatus,
|
34
35
|
rangeStart: core.serialization.property("range_start", core.serialization.date().optional()),
|
35
36
|
rangeEnd: core.serialization.property("range_end", core.serialization.date().optional()),
|
37
|
+
timeline: HistoricalPullTimeline_1.HistoricalPullTimeline,
|
36
38
|
daysWithData: core.serialization.property("days_with_data", core.serialization.number().optional()),
|
37
39
|
release: core.serialization.string(),
|
38
40
|
traceId: core.serialization.property("trace_id", core.serialization.string().optional()),
|
@@ -159,6 +159,7 @@ export * from "./HealthInsuranceCreateRequestBackImage";
|
|
159
159
|
export * from "./HealthInsuranceCreateRequestPatientSignatureImage";
|
160
160
|
export * from "./HealthInsuranceCreateRequest";
|
161
161
|
export * from "./HistoricalPullStatus";
|
162
|
+
export * from "./HistoricalPullTimeline";
|
162
163
|
export * from "./Jpeg";
|
163
164
|
export * from "./LabResultsMetadata";
|
164
165
|
export * from "./LabResultsRawResults";
|
@@ -175,6 +175,7 @@ __exportStar(require("./HealthInsuranceCreateRequestBackImage"), exports);
|
|
175
175
|
__exportStar(require("./HealthInsuranceCreateRequestPatientSignatureImage"), exports);
|
176
176
|
__exportStar(require("./HealthInsuranceCreateRequest"), exports);
|
177
177
|
__exportStar(require("./HistoricalPullStatus"), exports);
|
178
|
+
__exportStar(require("./HistoricalPullTimeline"), exports);
|
178
179
|
__exportStar(require("./Jpeg"), exports);
|
179
180
|
__exportStar(require("./LabResultsMetadata"), exports);
|
180
181
|
__exportStar(require("./LabResultsRawResults"), exports);
|
package/package.json
CHANGED
@@ -6,5 +6,5 @@ import * as Vital from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
7
7
|
export declare const HistoricalPullStatus: core.serialization.Schema<serializers.HistoricalPullStatus.Raw, Vital.HistoricalPullStatus>;
|
8
8
|
export declare namespace HistoricalPullStatus {
|
9
|
-
type Raw = "success" | "failure" | "in_progress";
|
9
|
+
type Raw = "success" | "failure" | "in_progress" | "scheduled";
|
10
10
|
}
|
@@ -28,4 +28,4 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
29
|
exports.HistoricalPullStatus = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
|
-
exports.HistoricalPullStatus = core.serialization.enum_(["success", "failure", "in_progress"]);
|
31
|
+
exports.HistoricalPullStatus = core.serialization.enum_(["success", "failure", "in_progress", "scheduled"]);
|
@@ -0,0 +1,14 @@
|
|
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 HistoricalPullTimeline: core.serialization.ObjectSchema<serializers.HistoricalPullTimeline.Raw, Vital.HistoricalPullTimeline>;
|
8
|
+
export declare namespace HistoricalPullTimeline {
|
9
|
+
interface Raw {
|
10
|
+
scheduled_at: string;
|
11
|
+
started_at?: string | null;
|
12
|
+
ended_at?: 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.HistoricalPullTimeline = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.HistoricalPullTimeline = core.serialization.object({
|
32
|
+
scheduledAt: core.serialization.property("scheduled_at", core.serialization.date()),
|
33
|
+
startedAt: core.serialization.property("started_at", core.serialization.date().optional()),
|
34
|
+
endedAt: core.serialization.property("ended_at", core.serialization.date().optional()),
|
35
|
+
});
|
@@ -5,12 +5,14 @@ import * as serializers from "..";
|
|
5
5
|
import * as Vital from "../../api";
|
6
6
|
import * as core from "../../core";
|
7
7
|
import { HistoricalPullStatus } from "./HistoricalPullStatus";
|
8
|
+
import { HistoricalPullTimeline } from "./HistoricalPullTimeline";
|
8
9
|
export declare const SingleHistoricalPullStatistics: core.serialization.ObjectSchema<serializers.SingleHistoricalPullStatistics.Raw, Vital.SingleHistoricalPullStatistics>;
|
9
10
|
export declare namespace SingleHistoricalPullStatistics {
|
10
11
|
interface Raw {
|
11
12
|
status: HistoricalPullStatus.Raw;
|
12
13
|
range_start?: string | null;
|
13
14
|
range_end?: string | null;
|
15
|
+
timeline: HistoricalPullTimeline.Raw;
|
14
16
|
days_with_data?: number | null;
|
15
17
|
release: string;
|
16
18
|
trace_id?: string | null;
|
@@ -29,10 +29,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.SingleHistoricalPullStatistics = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
31
|
const HistoricalPullStatus_1 = require("./HistoricalPullStatus");
|
32
|
+
const HistoricalPullTimeline_1 = require("./HistoricalPullTimeline");
|
32
33
|
exports.SingleHistoricalPullStatistics = core.serialization.object({
|
33
34
|
status: HistoricalPullStatus_1.HistoricalPullStatus,
|
34
35
|
rangeStart: core.serialization.property("range_start", core.serialization.date().optional()),
|
35
36
|
rangeEnd: core.serialization.property("range_end", core.serialization.date().optional()),
|
37
|
+
timeline: HistoricalPullTimeline_1.HistoricalPullTimeline,
|
36
38
|
daysWithData: core.serialization.property("days_with_data", core.serialization.number().optional()),
|
37
39
|
release: core.serialization.string(),
|
38
40
|
traceId: core.serialization.property("trace_id", core.serialization.string().optional()),
|
@@ -159,6 +159,7 @@ export * from "./HealthInsuranceCreateRequestBackImage";
|
|
159
159
|
export * from "./HealthInsuranceCreateRequestPatientSignatureImage";
|
160
160
|
export * from "./HealthInsuranceCreateRequest";
|
161
161
|
export * from "./HistoricalPullStatus";
|
162
|
+
export * from "./HistoricalPullTimeline";
|
162
163
|
export * from "./Jpeg";
|
163
164
|
export * from "./LabResultsMetadata";
|
164
165
|
export * from "./LabResultsRawResults";
|
@@ -175,6 +175,7 @@ __exportStar(require("./HealthInsuranceCreateRequestBackImage"), exports);
|
|
175
175
|
__exportStar(require("./HealthInsuranceCreateRequestPatientSignatureImage"), exports);
|
176
176
|
__exportStar(require("./HealthInsuranceCreateRequest"), exports);
|
177
177
|
__exportStar(require("./HistoricalPullStatus"), exports);
|
178
|
+
__exportStar(require("./HistoricalPullTimeline"), exports);
|
178
179
|
__exportStar(require("./Jpeg"), exports);
|
179
180
|
__exportStar(require("./LabResultsMetadata"), exports);
|
180
181
|
__exportStar(require("./LabResultsRawResults"), exports);
|