@tryvital/vital-node 3.1.444 → 3.1.445
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 +3 -3
- 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.d.ts +12 -0
- package/api/resources/labTests/client/Client.js +106 -42
- package/api/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +1 -0
- package/api/resources/labTests/client/requests/ValidateIcdCodesBody.d.ts +12 -0
- package/api/resources/labTests/client/requests/ValidateIcdCodesBody.js +5 -0
- package/api/resources/labTests/client/requests/index.d.ts +1 -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/payor/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 +3 -3
- 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 +19 -19
- package/api/resources/vitals/client/Client.js +78 -78
- package/api/resources/workouts/client/Client.js +3 -3
- package/api/types/ClientFacingDiagnosisInformation.d.ts +1 -0
- package/api/types/IcdExcludesViolation.d.ts +8 -0
- package/api/types/IcdExcludesViolation.js +5 -0
- package/api/types/IcdExcludesWarning.d.ts +8 -0
- package/api/types/IcdExcludesWarning.js +5 -0
- package/api/types/ValidateIcdCodesResponse.d.ts +10 -0
- package/api/types/ValidateIcdCodesResponse.js +5 -0
- package/api/types/index.d.ts +3 -0
- package/api/types/index.js +3 -0
- package/dist/api/resources/activity/client/Client.js +2 -2
- package/dist/api/resources/aggregate/client/Client.js +3 -3
- 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.d.ts +12 -0
- package/dist/api/resources/labTests/client/Client.js +106 -42
- package/dist/api/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +1 -0
- package/dist/api/resources/labTests/client/requests/ValidateIcdCodesBody.d.ts +12 -0
- package/dist/api/resources/labTests/client/requests/ValidateIcdCodesBody.js +5 -0
- package/dist/api/resources/labTests/client/requests/index.d.ts +1 -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/payor/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 +3 -3
- 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 +19 -19
- package/dist/api/resources/vitals/client/Client.js +78 -78
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/api/types/ClientFacingDiagnosisInformation.d.ts +1 -0
- package/dist/api/types/IcdExcludesViolation.d.ts +8 -0
- package/dist/api/types/IcdExcludesViolation.js +5 -0
- package/dist/api/types/IcdExcludesWarning.d.ts +8 -0
- package/dist/api/types/IcdExcludesWarning.js +5 -0
- package/dist/api/types/ValidateIcdCodesResponse.d.ts +10 -0
- package/dist/api/types/ValidateIcdCodesResponse.js +5 -0
- package/dist/api/types/index.d.ts +3 -0
- package/dist/api/types/index.js +3 -0
- package/dist/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +1 -1
- package/dist/serialization/resources/labTests/client/requests/ValidateIcdCodesBody.d.ts +12 -0
- package/dist/serialization/resources/labTests/client/requests/ValidateIcdCodesBody.js +33 -0
- package/dist/serialization/resources/labTests/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/labTests/client/requests/index.js +3 -1
- package/dist/serialization/types/ClientFacingDiagnosisInformation.d.ts +1 -0
- package/dist/serialization/types/ClientFacingDiagnosisInformation.js +1 -0
- package/dist/serialization/types/IcdExcludesViolation.d.ts +14 -0
- package/dist/serialization/types/IcdExcludesViolation.js +35 -0
- package/dist/serialization/types/IcdExcludesWarning.d.ts +14 -0
- package/dist/serialization/types/IcdExcludesWarning.js +35 -0
- package/dist/serialization/types/ValidateIcdCodesResponse.d.ts +17 -0
- package/dist/serialization/types/ValidateIcdCodesResponse.js +38 -0
- package/dist/serialization/types/index.d.ts +3 -0
- package/dist/serialization/types/index.js +3 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +50 -0
- package/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +1 -1
- package/serialization/resources/labTests/client/requests/ValidateIcdCodesBody.d.ts +12 -0
- package/serialization/resources/labTests/client/requests/ValidateIcdCodesBody.js +33 -0
- package/serialization/resources/labTests/client/requests/index.d.ts +1 -0
- package/serialization/resources/labTests/client/requests/index.js +3 -1
- package/serialization/types/ClientFacingDiagnosisInformation.d.ts +1 -0
- package/serialization/types/ClientFacingDiagnosisInformation.js +1 -0
- package/serialization/types/IcdExcludesViolation.d.ts +14 -0
- package/serialization/types/IcdExcludesViolation.js +35 -0
- package/serialization/types/IcdExcludesWarning.d.ts +14 -0
- package/serialization/types/IcdExcludesWarning.js +35 -0
- package/serialization/types/ValidateIcdCodesResponse.d.ts +17 -0
- package/serialization/types/ValidateIcdCodesResponse.js +38 -0
- package/serialization/types/index.d.ts +3 -0
- package/serialization/types/index.js +3 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -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.IcdExcludesViolation = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.IcdExcludesViolation = core.serialization.object({
|
|
32
|
+
code: core.serialization.string(),
|
|
33
|
+
conflictsWith: core.serialization.property("conflicts_with", core.serialization.string()),
|
|
34
|
+
type: core.serialization.string(),
|
|
35
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
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 IcdExcludesWarning: core.serialization.ObjectSchema<serializers.IcdExcludesWarning.Raw, Vital.IcdExcludesWarning>;
|
|
8
|
+
export declare namespace IcdExcludesWarning {
|
|
9
|
+
interface Raw {
|
|
10
|
+
code: string;
|
|
11
|
+
overlaps_with: string;
|
|
12
|
+
type: string;
|
|
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.IcdExcludesWarning = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.IcdExcludesWarning = core.serialization.object({
|
|
32
|
+
code: core.serialization.string(),
|
|
33
|
+
overlapsWith: core.serialization.property("overlaps_with", core.serialization.string()),
|
|
34
|
+
type: core.serialization.string(),
|
|
35
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
import { IcdExcludesViolation } from "./IcdExcludesViolation";
|
|
8
|
+
import { IcdExcludesWarning } from "./IcdExcludesWarning";
|
|
9
|
+
export declare const ValidateIcdCodesResponse: core.serialization.ObjectSchema<serializers.ValidateIcdCodesResponse.Raw, Vital.ValidateIcdCodesResponse>;
|
|
10
|
+
export declare namespace ValidateIcdCodesResponse {
|
|
11
|
+
interface Raw {
|
|
12
|
+
valid: boolean;
|
|
13
|
+
errors: string[];
|
|
14
|
+
violations: IcdExcludesViolation.Raw[];
|
|
15
|
+
warnings: IcdExcludesWarning.Raw[];
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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.ValidateIcdCodesResponse = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const IcdExcludesViolation_1 = require("./IcdExcludesViolation");
|
|
32
|
+
const IcdExcludesWarning_1 = require("./IcdExcludesWarning");
|
|
33
|
+
exports.ValidateIcdCodesResponse = core.serialization.object({
|
|
34
|
+
valid: core.serialization.boolean(),
|
|
35
|
+
errors: core.serialization.list(core.serialization.string()),
|
|
36
|
+
violations: core.serialization.list(IcdExcludesViolation_1.IcdExcludesViolation),
|
|
37
|
+
warnings: core.serialization.list(IcdExcludesWarning_1.IcdExcludesWarning),
|
|
38
|
+
});
|
|
@@ -250,6 +250,8 @@ export * from "./HomePregnancyTestEntryTestResult";
|
|
|
250
250
|
export * from "./HomePregnancyTestEntry";
|
|
251
251
|
export * from "./HomeProgesteroneTestEntryTestResult";
|
|
252
252
|
export * from "./HomeProgesteroneTestEntry";
|
|
253
|
+
export * from "./IcdExcludesViolation";
|
|
254
|
+
export * from "./IcdExcludesWarning";
|
|
253
255
|
export * from "./IndexColumnExprIndex";
|
|
254
256
|
export * from "./IndexColumnExpr";
|
|
255
257
|
export * from "./IntermenstrualBleedingEntry";
|
|
@@ -398,6 +400,7 @@ export * from "./UserRefreshSuccessResponse";
|
|
|
398
400
|
export * from "./UserResourcesResponse";
|
|
399
401
|
export * from "./UserSignInTokenResponse";
|
|
400
402
|
export * from "./UserSuccessResponse";
|
|
403
|
+
export * from "./ValidateIcdCodesResponse";
|
|
401
404
|
export * from "./ValidationErrorLocItem";
|
|
402
405
|
export * from "./ValidationError";
|
|
403
406
|
export * from "./VitalSleepStage";
|
|
@@ -266,6 +266,8 @@ __exportStar(require("./HomePregnancyTestEntryTestResult"), exports);
|
|
|
266
266
|
__exportStar(require("./HomePregnancyTestEntry"), exports);
|
|
267
267
|
__exportStar(require("./HomeProgesteroneTestEntryTestResult"), exports);
|
|
268
268
|
__exportStar(require("./HomeProgesteroneTestEntry"), exports);
|
|
269
|
+
__exportStar(require("./IcdExcludesViolation"), exports);
|
|
270
|
+
__exportStar(require("./IcdExcludesWarning"), exports);
|
|
269
271
|
__exportStar(require("./IndexColumnExprIndex"), exports);
|
|
270
272
|
__exportStar(require("./IndexColumnExpr"), exports);
|
|
271
273
|
__exportStar(require("./IntermenstrualBleedingEntry"), exports);
|
|
@@ -414,6 +416,7 @@ __exportStar(require("./UserRefreshSuccessResponse"), exports);
|
|
|
414
416
|
__exportStar(require("./UserResourcesResponse"), exports);
|
|
415
417
|
__exportStar(require("./UserSignInTokenResponse"), exports);
|
|
416
418
|
__exportStar(require("./UserSuccessResponse"), exports);
|
|
419
|
+
__exportStar(require("./ValidateIcdCodesResponse"), exports);
|
|
417
420
|
__exportStar(require("./ValidationErrorLocItem"), exports);
|
|
418
421
|
__exportStar(require("./ValidationError"), exports);
|
|
419
422
|
__exportStar(require("./VitalSleepStage"), exports);
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "3.1.
|
|
1
|
+
export declare const SDK_VERSION = "3.1.445";
|
package/version.js
CHANGED