@tryvital/vital-node 3.1.27 → 3.1.29
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 +17 -0
- package/api/resources/labTests/client/Client.js +149 -26
- package/api/resources/labTests/client/requests/LabTestsGetOrdersRequest.d.ts +4 -0
- package/api/resources/labTests/client/requests/LabTestsGetPscInfoRequest.d.ts +20 -0
- package/api/resources/labTests/client/requests/LabTestsGetPscInfoRequest.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 +52 -52
- package/api/resources/workouts/client/Client.js +3 -3
- package/api/types/PscAreaInfo.d.ts +1 -1
- package/api/types/PscAreaInfoDetails.d.ts +7 -0
- package/api/types/PscAreaInfoDetails.js +5 -0
- package/api/types/PscInfo.d.ts +8 -0
- package/api/types/PscInfo.js +5 -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/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 +17 -0
- package/dist/api/resources/labTests/client/Client.js +149 -26
- package/dist/api/resources/labTests/client/requests/LabTestsGetOrdersRequest.d.ts +4 -0
- package/dist/api/resources/labTests/client/requests/LabTestsGetPscInfoRequest.d.ts +20 -0
- package/dist/api/resources/labTests/client/requests/LabTestsGetPscInfoRequest.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 +52 -52
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/api/types/PscAreaInfo.d.ts +1 -1
- package/dist/api/types/PscAreaInfoDetails.d.ts +7 -0
- package/dist/api/types/PscAreaInfoDetails.js +5 -0
- package/dist/api/types/PscInfo.d.ts +8 -0
- package/dist/api/types/PscInfo.js +5 -0
- package/dist/api/types/index.d.ts +2 -0
- package/dist/api/types/index.js +2 -0
- package/dist/serialization/types/PscAreaInfo.d.ts +2 -2
- package/dist/serialization/types/PscAreaInfo.js +2 -2
- package/dist/serialization/types/PscAreaInfoDetails.d.ts +13 -0
- package/dist/serialization/types/PscAreaInfoDetails.js +34 -0
- package/dist/serialization/types/PscInfo.d.ts +14 -0
- package/dist/serialization/types/PscInfo.js +35 -0
- package/dist/serialization/types/index.d.ts +2 -0
- package/dist/serialization/types/index.js +2 -0
- package/package.json +1 -1
- package/serialization/types/PscAreaInfo.d.ts +2 -2
- package/serialization/types/PscAreaInfo.js +2 -2
- package/serialization/types/PscAreaInfoDetails.d.ts +13 -0
- package/serialization/types/PscAreaInfoDetails.js +34 -0
- package/serialization/types/PscInfo.d.ts +14 -0
- package/serialization/types/PscInfo.js +35 -0
- package/serialization/types/index.d.ts +2 -0
- package/serialization/types/index.js +2 -0
package/dist/api/types/index.js
CHANGED
@@ -171,6 +171,8 @@ __exportStar(require("./OAuthProviders"), exports);
|
|
171
171
|
__exportStar(require("./OrderStatus"), exports);
|
172
172
|
__exportStar(require("./OrderTopLevelStatus"), exports);
|
173
173
|
__exportStar(require("./PscAreaInfo"), exports);
|
174
|
+
__exportStar(require("./PscAreaInfoDetails"), exports);
|
175
|
+
__exportStar(require("./PscInfo"), exports);
|
174
176
|
__exportStar(require("./PaginatedUsersResponse"), exports);
|
175
177
|
__exportStar(require("./PasswordProviders"), exports);
|
176
178
|
__exportStar(require("./PatientAddressCompatibleInput"), exports);
|
@@ -4,10 +4,10 @@
|
|
4
4
|
import * as serializers from "..";
|
5
5
|
import * as Vital from "../../api";
|
6
6
|
import * as core from "../../core";
|
7
|
-
import {
|
7
|
+
import { PscAreaInfoDetails } from "./PscAreaInfoDetails";
|
8
8
|
export declare const PscAreaInfo: core.serialization.ObjectSchema<serializers.PscAreaInfo.Raw, Vital.PscAreaInfo>;
|
9
9
|
export declare namespace PscAreaInfo {
|
10
10
|
interface Raw {
|
11
|
-
locations: Record<string,
|
11
|
+
locations: Record<string, PscAreaInfoDetails.Raw>;
|
12
12
|
}
|
13
13
|
}
|
@@ -28,7 +28,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
29
|
exports.PscAreaInfo = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
|
-
const
|
31
|
+
const PscAreaInfoDetails_1 = require("./PscAreaInfoDetails");
|
32
32
|
exports.PscAreaInfo = core.serialization.object({
|
33
|
-
locations: core.serialization.record(core.serialization.string(),
|
33
|
+
locations: core.serialization.record(core.serialization.string(), PscAreaInfoDetails_1.PscAreaInfoDetails),
|
34
34
|
});
|
@@ -0,0 +1,13 @@
|
|
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 PscAreaInfoDetails: core.serialization.ObjectSchema<serializers.PscAreaInfoDetails.Raw, Vital.PscAreaInfoDetails>;
|
8
|
+
export declare namespace PscAreaInfoDetails {
|
9
|
+
interface Raw {
|
10
|
+
within_radius: number;
|
11
|
+
radius: number;
|
12
|
+
}
|
13
|
+
}
|
@@ -0,0 +1,34 @@
|
|
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.PscAreaInfoDetails = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.PscAreaInfoDetails = core.serialization.object({
|
32
|
+
withinRadius: core.serialization.property("within_radius", core.serialization.number()),
|
33
|
+
radius: core.serialization.number(),
|
34
|
+
});
|
@@ -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
|
+
import { ClientFacingLabLocation } from "./ClientFacingLabLocation";
|
8
|
+
export declare const PscInfo: core.serialization.ObjectSchema<serializers.PscInfo.Raw, Vital.PscInfo>;
|
9
|
+
export declare namespace PscInfo {
|
10
|
+
interface Raw {
|
11
|
+
lab_id: number;
|
12
|
+
pscs: ClientFacingLabLocation.Raw[];
|
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.PscInfo = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const ClientFacingLabLocation_1 = require("./ClientFacingLabLocation");
|
32
|
+
exports.PscInfo = core.serialization.object({
|
33
|
+
labId: core.serialization.property("lab_id", core.serialization.number()),
|
34
|
+
pscs: core.serialization.list(ClientFacingLabLocation_1.ClientFacingLabLocation),
|
35
|
+
});
|
@@ -155,6 +155,8 @@ export * from "./OAuthProviders";
|
|
155
155
|
export * from "./OrderStatus";
|
156
156
|
export * from "./OrderTopLevelStatus";
|
157
157
|
export * from "./PscAreaInfo";
|
158
|
+
export * from "./PscAreaInfoDetails";
|
159
|
+
export * from "./PscInfo";
|
158
160
|
export * from "./PaginatedUsersResponse";
|
159
161
|
export * from "./PasswordProviders";
|
160
162
|
export * from "./PatientAddressCompatibleInput";
|
@@ -171,6 +171,8 @@ __exportStar(require("./OAuthProviders"), exports);
|
|
171
171
|
__exportStar(require("./OrderStatus"), exports);
|
172
172
|
__exportStar(require("./OrderTopLevelStatus"), exports);
|
173
173
|
__exportStar(require("./PscAreaInfo"), exports);
|
174
|
+
__exportStar(require("./PscAreaInfoDetails"), exports);
|
175
|
+
__exportStar(require("./PscInfo"), exports);
|
174
176
|
__exportStar(require("./PaginatedUsersResponse"), exports);
|
175
177
|
__exportStar(require("./PasswordProviders"), exports);
|
176
178
|
__exportStar(require("./PatientAddressCompatibleInput"), exports);
|
package/package.json
CHANGED
@@ -4,10 +4,10 @@
|
|
4
4
|
import * as serializers from "..";
|
5
5
|
import * as Vital from "../../api";
|
6
6
|
import * as core from "../../core";
|
7
|
-
import {
|
7
|
+
import { PscAreaInfoDetails } from "./PscAreaInfoDetails";
|
8
8
|
export declare const PscAreaInfo: core.serialization.ObjectSchema<serializers.PscAreaInfo.Raw, Vital.PscAreaInfo>;
|
9
9
|
export declare namespace PscAreaInfo {
|
10
10
|
interface Raw {
|
11
|
-
locations: Record<string,
|
11
|
+
locations: Record<string, PscAreaInfoDetails.Raw>;
|
12
12
|
}
|
13
13
|
}
|
@@ -28,7 +28,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
29
|
exports.PscAreaInfo = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
|
-
const
|
31
|
+
const PscAreaInfoDetails_1 = require("./PscAreaInfoDetails");
|
32
32
|
exports.PscAreaInfo = core.serialization.object({
|
33
|
-
locations: core.serialization.record(core.serialization.string(),
|
33
|
+
locations: core.serialization.record(core.serialization.string(), PscAreaInfoDetails_1.PscAreaInfoDetails),
|
34
34
|
});
|
@@ -0,0 +1,13 @@
|
|
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 PscAreaInfoDetails: core.serialization.ObjectSchema<serializers.PscAreaInfoDetails.Raw, Vital.PscAreaInfoDetails>;
|
8
|
+
export declare namespace PscAreaInfoDetails {
|
9
|
+
interface Raw {
|
10
|
+
within_radius: number;
|
11
|
+
radius: number;
|
12
|
+
}
|
13
|
+
}
|
@@ -0,0 +1,34 @@
|
|
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.PscAreaInfoDetails = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.PscAreaInfoDetails = core.serialization.object({
|
32
|
+
withinRadius: core.serialization.property("within_radius", core.serialization.number()),
|
33
|
+
radius: core.serialization.number(),
|
34
|
+
});
|
@@ -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
|
+
import { ClientFacingLabLocation } from "./ClientFacingLabLocation";
|
8
|
+
export declare const PscInfo: core.serialization.ObjectSchema<serializers.PscInfo.Raw, Vital.PscInfo>;
|
9
|
+
export declare namespace PscInfo {
|
10
|
+
interface Raw {
|
11
|
+
lab_id: number;
|
12
|
+
pscs: ClientFacingLabLocation.Raw[];
|
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.PscInfo = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const ClientFacingLabLocation_1 = require("./ClientFacingLabLocation");
|
32
|
+
exports.PscInfo = core.serialization.object({
|
33
|
+
labId: core.serialization.property("lab_id", core.serialization.number()),
|
34
|
+
pscs: core.serialization.list(ClientFacingLabLocation_1.ClientFacingLabLocation),
|
35
|
+
});
|
@@ -155,6 +155,8 @@ export * from "./OAuthProviders";
|
|
155
155
|
export * from "./OrderStatus";
|
156
156
|
export * from "./OrderTopLevelStatus";
|
157
157
|
export * from "./PscAreaInfo";
|
158
|
+
export * from "./PscAreaInfoDetails";
|
159
|
+
export * from "./PscInfo";
|
158
160
|
export * from "./PaginatedUsersResponse";
|
159
161
|
export * from "./PasswordProviders";
|
160
162
|
export * from "./PatientAddressCompatibleInput";
|
@@ -171,6 +171,8 @@ __exportStar(require("./OAuthProviders"), exports);
|
|
171
171
|
__exportStar(require("./OrderStatus"), exports);
|
172
172
|
__exportStar(require("./OrderTopLevelStatus"), exports);
|
173
173
|
__exportStar(require("./PscAreaInfo"), exports);
|
174
|
+
__exportStar(require("./PscAreaInfoDetails"), exports);
|
175
|
+
__exportStar(require("./PscInfo"), exports);
|
174
176
|
__exportStar(require("./PaginatedUsersResponse"), exports);
|
175
177
|
__exportStar(require("./PasswordProviders"), exports);
|
176
178
|
__exportStar(require("./PatientAddressCompatibleInput"), exports);
|