@tryvital/vital-node 3.1.306 → 3.1.308
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.js +41 -41
- 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 +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 +78 -78
- package/api/resources/workouts/client/Client.js +3 -3
- package/api/types/ClientFacingOrder.d.ts +2 -0
- package/api/types/ClientFacingPayor.d.ts +2 -0
- package/api/types/ClientFacingPayorCodeSource.d.ts +11 -0
- package/api/types/ClientFacingPayorCodeSource.js +10 -0
- package/api/types/ClientFacingPayorSearchResponse.d.ts +2 -0
- package/api/types/ClientFacingPayorSearchResponseDeprecated.d.ts +2 -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/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.js +41 -41
- 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 +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 +78 -78
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/api/types/ClientFacingOrder.d.ts +2 -0
- package/dist/api/types/ClientFacingPayor.d.ts +2 -0
- package/dist/api/types/ClientFacingPayorCodeSource.d.ts +11 -0
- package/dist/api/types/ClientFacingPayorCodeSource.js +10 -0
- package/dist/api/types/ClientFacingPayorSearchResponse.d.ts +2 -0
- package/dist/api/types/ClientFacingPayorSearchResponseDeprecated.d.ts +2 -0
- package/dist/api/types/index.d.ts +1 -0
- package/dist/api/types/index.js +1 -0
- package/dist/serialization/types/ClientFacingOrder.d.ts +1 -0
- package/dist/serialization/types/ClientFacingOrder.js +1 -0
- package/dist/serialization/types/ClientFacingPayor.d.ts +2 -0
- package/dist/serialization/types/ClientFacingPayor.js +2 -0
- package/dist/serialization/types/ClientFacingPayorCodeSource.d.ts +10 -0
- package/dist/serialization/types/ClientFacingPayorCodeSource.js +31 -0
- package/dist/serialization/types/ClientFacingPayorSearchResponse.d.ts +2 -0
- package/dist/serialization/types/ClientFacingPayorSearchResponse.js +2 -0
- package/dist/serialization/types/ClientFacingPayorSearchResponseDeprecated.d.ts +2 -0
- package/dist/serialization/types/ClientFacingPayorSearchResponseDeprecated.js +2 -0
- package/dist/serialization/types/index.d.ts +1 -0
- package/dist/serialization/types/index.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/serialization/types/ClientFacingOrder.d.ts +1 -0
- package/serialization/types/ClientFacingOrder.js +1 -0
- package/serialization/types/ClientFacingPayor.d.ts +2 -0
- package/serialization/types/ClientFacingPayor.js +2 -0
- package/serialization/types/ClientFacingPayorCodeSource.d.ts +10 -0
- package/serialization/types/ClientFacingPayorCodeSource.js +31 -0
- package/serialization/types/ClientFacingPayorSearchResponse.d.ts +2 -0
- package/serialization/types/ClientFacingPayorSearchResponse.js +2 -0
- package/serialization/types/ClientFacingPayorSearchResponseDeprecated.d.ts +2 -0
- package/serialization/types/ClientFacingPayorSearchResponseDeprecated.js +2 -0
- package/serialization/types/index.d.ts +1 -0
- package/serialization/types/index.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
@@ -78,7 +78,7 @@ class Workouts {
|
|
78
78
|
const _response = yield core.fetcher({
|
79
79
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/workouts/${encodeURIComponent(userId)}`),
|
80
80
|
method: "GET",
|
81
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
81
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.308", "User-Agent": "@tryvital/vital-node/3.1.308", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
82
82
|
contentType: "application/json",
|
83
83
|
queryParameters: _queryParams,
|
84
84
|
requestType: "json",
|
@@ -154,7 +154,7 @@ class Workouts {
|
|
154
154
|
const _response = yield core.fetcher({
|
155
155
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/workouts/${encodeURIComponent(userId)}/raw`),
|
156
156
|
method: "GET",
|
157
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
157
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.308", "User-Agent": "@tryvital/vital-node/3.1.308", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
158
158
|
contentType: "application/json",
|
159
159
|
queryParameters: _queryParams,
|
160
160
|
requestType: "json",
|
@@ -216,7 +216,7 @@ class Workouts {
|
|
216
216
|
const _response = yield core.fetcher({
|
217
217
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/workouts/${encodeURIComponent(workoutId)}/stream`),
|
218
218
|
method: "GET",
|
219
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
219
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.308", "User-Agent": "@tryvital/vital-node/3.1.308", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
220
220
|
contentType: "application/json",
|
221
221
|
requestType: "json",
|
222
222
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -44,6 +44,8 @@ export interface ClientFacingOrder {
|
|
44
44
|
hasAbn: boolean;
|
45
45
|
/** Interpretation of the order result. Can be one of (normal, abnormal, critical). */
|
46
46
|
interpretation?: Vital.Interpretation;
|
47
|
+
/** Defines whether the order result has missing biomarkers. */
|
48
|
+
hasMissingResults?: boolean;
|
47
49
|
/** The common-case date by which the order result is expected to be available. */
|
48
50
|
expectedResultByDate?: string;
|
49
51
|
/** The latest date by which the order result is expected to be available. */
|
@@ -11,4 +11,6 @@ export interface ClientFacingPayor {
|
|
11
11
|
aliases: string[];
|
12
12
|
/** Insurance business address returned for the insurance information. */
|
13
13
|
orgAddress: Vital.Address;
|
14
|
+
/** The source of the payor, can be one of (platform, team). */
|
15
|
+
source: Vital.ClientFacingPayorCodeSource;
|
14
16
|
}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
/**
|
5
|
+
* ℹ️ This enum is non-exhaustive.
|
6
|
+
*/
|
7
|
+
export declare type ClientFacingPayorCodeSource = "platform" | "team";
|
8
|
+
export declare const ClientFacingPayorCodeSource: {
|
9
|
+
readonly Platform: "platform";
|
10
|
+
readonly Team: "team";
|
11
|
+
};
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
+
exports.ClientFacingPayorCodeSource = void 0;
|
7
|
+
exports.ClientFacingPayorCodeSource = {
|
8
|
+
Platform: "platform",
|
9
|
+
Team: "team",
|
10
|
+
};
|
@@ -11,4 +11,6 @@ export interface ClientFacingPayorSearchResponse {
|
|
11
11
|
aliases: string[];
|
12
12
|
/** Insurance business address returned for the insurance information. */
|
13
13
|
orgAddress: Vital.Address;
|
14
|
+
/** The source of the payor, can be one of (platform, team). */
|
15
|
+
source: Vital.ClientFacingPayorCodeSource;
|
14
16
|
}
|
@@ -11,4 +11,6 @@ export interface ClientFacingPayorSearchResponseDeprecated {
|
|
11
11
|
aliases: string[];
|
12
12
|
/** Insurance business address returned for the insurance information. */
|
13
13
|
orgAddress: Vital.Address;
|
14
|
+
/** The source of the payor, can be one of (platform, team). */
|
15
|
+
source: Vital.ClientFacingPayorCodeSource;
|
14
16
|
}
|
@@ -124,6 +124,7 @@ export * from "./ClientFacingOrder";
|
|
124
124
|
export * from "./ClientFacingOrderEvent";
|
125
125
|
export * from "./ClientFacingPatientDetailsCompatible";
|
126
126
|
export * from "./ClientFacingPayor";
|
127
|
+
export * from "./ClientFacingPayorCodeSource";
|
127
128
|
export * from "./ClientFacingPayorSearchResponse";
|
128
129
|
export * from "./ClientFacingPayorSearchResponseDeprecated";
|
129
130
|
export * from "./ClientFacingPeakExpiratoryFlowRateSample";
|
package/dist/api/types/index.js
CHANGED
@@ -140,6 +140,7 @@ __exportStar(require("./ClientFacingOrder"), exports);
|
|
140
140
|
__exportStar(require("./ClientFacingOrderEvent"), exports);
|
141
141
|
__exportStar(require("./ClientFacingPatientDetailsCompatible"), exports);
|
142
142
|
__exportStar(require("./ClientFacingPayor"), exports);
|
143
|
+
__exportStar(require("./ClientFacingPayorCodeSource"), exports);
|
143
144
|
__exportStar(require("./ClientFacingPayorSearchResponse"), exports);
|
144
145
|
__exportStar(require("./ClientFacingPayorSearchResponseDeprecated"), exports);
|
145
146
|
__exportStar(require("./ClientFacingPeakExpiratoryFlowRateSample"), exports);
|
@@ -41,6 +41,7 @@ export declare namespace ClientFacingOrder {
|
|
41
41
|
icd_codes?: string[] | null;
|
42
42
|
has_abn: boolean;
|
43
43
|
interpretation?: Interpretation.Raw | null;
|
44
|
+
has_missing_results?: boolean | null;
|
44
45
|
expected_result_by_date?: string | null;
|
45
46
|
worst_case_result_by_date?: string | null;
|
46
47
|
}
|
@@ -63,6 +63,7 @@ exports.ClientFacingOrder = core.serialization.object({
|
|
63
63
|
icdCodes: core.serialization.property("icd_codes", core.serialization.list(core.serialization.string()).optional()),
|
64
64
|
hasAbn: core.serialization.property("has_abn", core.serialization.boolean()),
|
65
65
|
interpretation: Interpretation_1.Interpretation.optional(),
|
66
|
+
hasMissingResults: core.serialization.property("has_missing_results", core.serialization.boolean().optional()),
|
66
67
|
expectedResultByDate: core.serialization.property("expected_result_by_date", core.serialization.string().optional()),
|
67
68
|
worstCaseResultByDate: core.serialization.property("worst_case_result_by_date", core.serialization.string().optional()),
|
68
69
|
});
|
@@ -5,6 +5,7 @@ import * as serializers from "../index";
|
|
5
5
|
import * as Vital from "../../api/index";
|
6
6
|
import * as core from "../../core";
|
7
7
|
import { Address } from "./Address";
|
8
|
+
import { ClientFacingPayorCodeSource } from "./ClientFacingPayorCodeSource";
|
8
9
|
export declare const ClientFacingPayor: core.serialization.ObjectSchema<serializers.ClientFacingPayor.Raw, Vital.ClientFacingPayor>;
|
9
10
|
export declare namespace ClientFacingPayor {
|
10
11
|
interface Raw {
|
@@ -12,5 +13,6 @@ export declare namespace ClientFacingPayor {
|
|
12
13
|
name: string;
|
13
14
|
aliases: string[];
|
14
15
|
org_address: Address.Raw;
|
16
|
+
source: ClientFacingPayorCodeSource.Raw;
|
15
17
|
}
|
16
18
|
}
|
@@ -29,9 +29,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.ClientFacingPayor = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
31
|
const Address_1 = require("./Address");
|
32
|
+
const ClientFacingPayorCodeSource_1 = require("./ClientFacingPayorCodeSource");
|
32
33
|
exports.ClientFacingPayor = core.serialization.object({
|
33
34
|
payorCode: core.serialization.property("payor_code", core.serialization.string()),
|
34
35
|
name: core.serialization.string(),
|
35
36
|
aliases: core.serialization.list(core.serialization.string()),
|
36
37
|
orgAddress: core.serialization.property("org_address", Address_1.Address),
|
38
|
+
source: ClientFacingPayorCodeSource_1.ClientFacingPayorCodeSource,
|
37
39
|
});
|
@@ -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 ClientFacingPayorCodeSource: core.serialization.Schema<serializers.ClientFacingPayorCodeSource.Raw, Vital.ClientFacingPayorCodeSource>;
|
8
|
+
export declare namespace ClientFacingPayorCodeSource {
|
9
|
+
type Raw = "platform" | "team";
|
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.ClientFacingPayorCodeSource = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.ClientFacingPayorCodeSource = core.serialization.enum_(["platform", "team"]);
|
@@ -5,6 +5,7 @@ import * as serializers from "../index";
|
|
5
5
|
import * as Vital from "../../api/index";
|
6
6
|
import * as core from "../../core";
|
7
7
|
import { Address } from "./Address";
|
8
|
+
import { ClientFacingPayorCodeSource } from "./ClientFacingPayorCodeSource";
|
8
9
|
export declare const ClientFacingPayorSearchResponse: core.serialization.ObjectSchema<serializers.ClientFacingPayorSearchResponse.Raw, Vital.ClientFacingPayorSearchResponse>;
|
9
10
|
export declare namespace ClientFacingPayorSearchResponse {
|
10
11
|
interface Raw {
|
@@ -12,5 +13,6 @@ export declare namespace ClientFacingPayorSearchResponse {
|
|
12
13
|
name: string;
|
13
14
|
aliases: string[];
|
14
15
|
org_address: Address.Raw;
|
16
|
+
source: ClientFacingPayorCodeSource.Raw;
|
15
17
|
}
|
16
18
|
}
|
@@ -29,9 +29,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.ClientFacingPayorSearchResponse = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
31
|
const Address_1 = require("./Address");
|
32
|
+
const ClientFacingPayorCodeSource_1 = require("./ClientFacingPayorCodeSource");
|
32
33
|
exports.ClientFacingPayorSearchResponse = core.serialization.object({
|
33
34
|
payorCode: core.serialization.property("payor_code", core.serialization.string()),
|
34
35
|
name: core.serialization.string(),
|
35
36
|
aliases: core.serialization.list(core.serialization.string()),
|
36
37
|
orgAddress: core.serialization.property("org_address", Address_1.Address),
|
38
|
+
source: ClientFacingPayorCodeSource_1.ClientFacingPayorCodeSource,
|
37
39
|
});
|
@@ -5,6 +5,7 @@ import * as serializers from "../index";
|
|
5
5
|
import * as Vital from "../../api/index";
|
6
6
|
import * as core from "../../core";
|
7
7
|
import { Address } from "./Address";
|
8
|
+
import { ClientFacingPayorCodeSource } from "./ClientFacingPayorCodeSource";
|
8
9
|
export declare const ClientFacingPayorSearchResponseDeprecated: core.serialization.ObjectSchema<serializers.ClientFacingPayorSearchResponseDeprecated.Raw, Vital.ClientFacingPayorSearchResponseDeprecated>;
|
9
10
|
export declare namespace ClientFacingPayorSearchResponseDeprecated {
|
10
11
|
interface Raw {
|
@@ -12,5 +13,6 @@ export declare namespace ClientFacingPayorSearchResponseDeprecated {
|
|
12
13
|
name: string;
|
13
14
|
aliases: string[];
|
14
15
|
org_address: Address.Raw;
|
16
|
+
source: ClientFacingPayorCodeSource.Raw;
|
15
17
|
}
|
16
18
|
}
|
@@ -29,9 +29,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.ClientFacingPayorSearchResponseDeprecated = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
31
|
const Address_1 = require("./Address");
|
32
|
+
const ClientFacingPayorCodeSource_1 = require("./ClientFacingPayorCodeSource");
|
32
33
|
exports.ClientFacingPayorSearchResponseDeprecated = core.serialization.object({
|
33
34
|
code: core.serialization.string(),
|
34
35
|
name: core.serialization.string(),
|
35
36
|
aliases: core.serialization.list(core.serialization.string()),
|
36
37
|
orgAddress: core.serialization.property("org_address", Address_1.Address),
|
38
|
+
source: ClientFacingPayorCodeSource_1.ClientFacingPayorCodeSource,
|
37
39
|
});
|
@@ -124,6 +124,7 @@ export * from "./ClientFacingOrder";
|
|
124
124
|
export * from "./ClientFacingOrderEvent";
|
125
125
|
export * from "./ClientFacingPatientDetailsCompatible";
|
126
126
|
export * from "./ClientFacingPayor";
|
127
|
+
export * from "./ClientFacingPayorCodeSource";
|
127
128
|
export * from "./ClientFacingPayorSearchResponse";
|
128
129
|
export * from "./ClientFacingPayorSearchResponseDeprecated";
|
129
130
|
export * from "./ClientFacingPeakExpiratoryFlowRateSample";
|
@@ -140,6 +140,7 @@ __exportStar(require("./ClientFacingOrder"), exports);
|
|
140
140
|
__exportStar(require("./ClientFacingOrderEvent"), exports);
|
141
141
|
__exportStar(require("./ClientFacingPatientDetailsCompatible"), exports);
|
142
142
|
__exportStar(require("./ClientFacingPayor"), exports);
|
143
|
+
__exportStar(require("./ClientFacingPayorCodeSource"), exports);
|
143
144
|
__exportStar(require("./ClientFacingPayorSearchResponse"), exports);
|
144
145
|
__exportStar(require("./ClientFacingPayorSearchResponseDeprecated"), exports);
|
145
146
|
__exportStar(require("./ClientFacingPeakExpiratoryFlowRateSample"), exports);
|
package/dist/version.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export declare const SDK_VERSION = "3.1.
|
1
|
+
export declare const SDK_VERSION = "3.1.308";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
@@ -41,6 +41,7 @@ export declare namespace ClientFacingOrder {
|
|
41
41
|
icd_codes?: string[] | null;
|
42
42
|
has_abn: boolean;
|
43
43
|
interpretation?: Interpretation.Raw | null;
|
44
|
+
has_missing_results?: boolean | null;
|
44
45
|
expected_result_by_date?: string | null;
|
45
46
|
worst_case_result_by_date?: string | null;
|
46
47
|
}
|
@@ -63,6 +63,7 @@ exports.ClientFacingOrder = core.serialization.object({
|
|
63
63
|
icdCodes: core.serialization.property("icd_codes", core.serialization.list(core.serialization.string()).optional()),
|
64
64
|
hasAbn: core.serialization.property("has_abn", core.serialization.boolean()),
|
65
65
|
interpretation: Interpretation_1.Interpretation.optional(),
|
66
|
+
hasMissingResults: core.serialization.property("has_missing_results", core.serialization.boolean().optional()),
|
66
67
|
expectedResultByDate: core.serialization.property("expected_result_by_date", core.serialization.string().optional()),
|
67
68
|
worstCaseResultByDate: core.serialization.property("worst_case_result_by_date", core.serialization.string().optional()),
|
68
69
|
});
|
@@ -5,6 +5,7 @@ import * as serializers from "../index";
|
|
5
5
|
import * as Vital from "../../api/index";
|
6
6
|
import * as core from "../../core";
|
7
7
|
import { Address } from "./Address";
|
8
|
+
import { ClientFacingPayorCodeSource } from "./ClientFacingPayorCodeSource";
|
8
9
|
export declare const ClientFacingPayor: core.serialization.ObjectSchema<serializers.ClientFacingPayor.Raw, Vital.ClientFacingPayor>;
|
9
10
|
export declare namespace ClientFacingPayor {
|
10
11
|
interface Raw {
|
@@ -12,5 +13,6 @@ export declare namespace ClientFacingPayor {
|
|
12
13
|
name: string;
|
13
14
|
aliases: string[];
|
14
15
|
org_address: Address.Raw;
|
16
|
+
source: ClientFacingPayorCodeSource.Raw;
|
15
17
|
}
|
16
18
|
}
|
@@ -29,9 +29,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.ClientFacingPayor = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
31
|
const Address_1 = require("./Address");
|
32
|
+
const ClientFacingPayorCodeSource_1 = require("./ClientFacingPayorCodeSource");
|
32
33
|
exports.ClientFacingPayor = core.serialization.object({
|
33
34
|
payorCode: core.serialization.property("payor_code", core.serialization.string()),
|
34
35
|
name: core.serialization.string(),
|
35
36
|
aliases: core.serialization.list(core.serialization.string()),
|
36
37
|
orgAddress: core.serialization.property("org_address", Address_1.Address),
|
38
|
+
source: ClientFacingPayorCodeSource_1.ClientFacingPayorCodeSource,
|
37
39
|
});
|
@@ -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 ClientFacingPayorCodeSource: core.serialization.Schema<serializers.ClientFacingPayorCodeSource.Raw, Vital.ClientFacingPayorCodeSource>;
|
8
|
+
export declare namespace ClientFacingPayorCodeSource {
|
9
|
+
type Raw = "platform" | "team";
|
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.ClientFacingPayorCodeSource = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.ClientFacingPayorCodeSource = core.serialization.enum_(["platform", "team"]);
|
@@ -5,6 +5,7 @@ import * as serializers from "../index";
|
|
5
5
|
import * as Vital from "../../api/index";
|
6
6
|
import * as core from "../../core";
|
7
7
|
import { Address } from "./Address";
|
8
|
+
import { ClientFacingPayorCodeSource } from "./ClientFacingPayorCodeSource";
|
8
9
|
export declare const ClientFacingPayorSearchResponse: core.serialization.ObjectSchema<serializers.ClientFacingPayorSearchResponse.Raw, Vital.ClientFacingPayorSearchResponse>;
|
9
10
|
export declare namespace ClientFacingPayorSearchResponse {
|
10
11
|
interface Raw {
|
@@ -12,5 +13,6 @@ export declare namespace ClientFacingPayorSearchResponse {
|
|
12
13
|
name: string;
|
13
14
|
aliases: string[];
|
14
15
|
org_address: Address.Raw;
|
16
|
+
source: ClientFacingPayorCodeSource.Raw;
|
15
17
|
}
|
16
18
|
}
|
@@ -29,9 +29,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.ClientFacingPayorSearchResponse = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
31
|
const Address_1 = require("./Address");
|
32
|
+
const ClientFacingPayorCodeSource_1 = require("./ClientFacingPayorCodeSource");
|
32
33
|
exports.ClientFacingPayorSearchResponse = core.serialization.object({
|
33
34
|
payorCode: core.serialization.property("payor_code", core.serialization.string()),
|
34
35
|
name: core.serialization.string(),
|
35
36
|
aliases: core.serialization.list(core.serialization.string()),
|
36
37
|
orgAddress: core.serialization.property("org_address", Address_1.Address),
|
38
|
+
source: ClientFacingPayorCodeSource_1.ClientFacingPayorCodeSource,
|
37
39
|
});
|
@@ -5,6 +5,7 @@ import * as serializers from "../index";
|
|
5
5
|
import * as Vital from "../../api/index";
|
6
6
|
import * as core from "../../core";
|
7
7
|
import { Address } from "./Address";
|
8
|
+
import { ClientFacingPayorCodeSource } from "./ClientFacingPayorCodeSource";
|
8
9
|
export declare const ClientFacingPayorSearchResponseDeprecated: core.serialization.ObjectSchema<serializers.ClientFacingPayorSearchResponseDeprecated.Raw, Vital.ClientFacingPayorSearchResponseDeprecated>;
|
9
10
|
export declare namespace ClientFacingPayorSearchResponseDeprecated {
|
10
11
|
interface Raw {
|
@@ -12,5 +13,6 @@ export declare namespace ClientFacingPayorSearchResponseDeprecated {
|
|
12
13
|
name: string;
|
13
14
|
aliases: string[];
|
14
15
|
org_address: Address.Raw;
|
16
|
+
source: ClientFacingPayorCodeSource.Raw;
|
15
17
|
}
|
16
18
|
}
|
@@ -29,9 +29,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.ClientFacingPayorSearchResponseDeprecated = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
31
|
const Address_1 = require("./Address");
|
32
|
+
const ClientFacingPayorCodeSource_1 = require("./ClientFacingPayorCodeSource");
|
32
33
|
exports.ClientFacingPayorSearchResponseDeprecated = core.serialization.object({
|
33
34
|
code: core.serialization.string(),
|
34
35
|
name: core.serialization.string(),
|
35
36
|
aliases: core.serialization.list(core.serialization.string()),
|
36
37
|
orgAddress: core.serialization.property("org_address", Address_1.Address),
|
38
|
+
source: ClientFacingPayorCodeSource_1.ClientFacingPayorCodeSource,
|
37
39
|
});
|
@@ -124,6 +124,7 @@ export * from "./ClientFacingOrder";
|
|
124
124
|
export * from "./ClientFacingOrderEvent";
|
125
125
|
export * from "./ClientFacingPatientDetailsCompatible";
|
126
126
|
export * from "./ClientFacingPayor";
|
127
|
+
export * from "./ClientFacingPayorCodeSource";
|
127
128
|
export * from "./ClientFacingPayorSearchResponse";
|
128
129
|
export * from "./ClientFacingPayorSearchResponseDeprecated";
|
129
130
|
export * from "./ClientFacingPeakExpiratoryFlowRateSample";
|
@@ -140,6 +140,7 @@ __exportStar(require("./ClientFacingOrder"), exports);
|
|
140
140
|
__exportStar(require("./ClientFacingOrderEvent"), exports);
|
141
141
|
__exportStar(require("./ClientFacingPatientDetailsCompatible"), exports);
|
142
142
|
__exportStar(require("./ClientFacingPayor"), exports);
|
143
|
+
__exportStar(require("./ClientFacingPayorCodeSource"), exports);
|
143
144
|
__exportStar(require("./ClientFacingPayorSearchResponse"), exports);
|
144
145
|
__exportStar(require("./ClientFacingPayorSearchResponseDeprecated"), exports);
|
145
146
|
__exportStar(require("./ClientFacingPeakExpiratoryFlowRateSample"), exports);
|
package/version.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export declare const SDK_VERSION = "3.1.
|
1
|
+
export declare const SDK_VERSION = "3.1.308";
|
package/version.js
CHANGED