@tryvital/vital-node 3.1.150 → 3.1.152
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 +1 -1
- 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.d.ts +11 -1
- package/api/resources/insurance/client/Client.js +76 -3
- package/api/resources/insurance/client/requests/InsuranceSearchGetPayorInfoRequest.d.ts +13 -0
- package/api/resources/insurance/client/requests/InsuranceSearchGetPayorInfoRequest.js +5 -0
- package/api/resources/insurance/client/requests/index.d.ts +1 -0
- package/api/resources/introspect/client/Client.js +2 -2
- package/api/resources/labTests/client/Client.js +34 -34
- package/api/resources/link/client/Client.js +14 -14
- package/api/resources/meal/client/Client.js +1 -1
- package/api/resources/menstrualCycle/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 +58 -58
- package/api/resources/workouts/client/Client.js +3 -3
- package/api/types/ClientFacingPayorSearchResponse.d.ts +1 -1
- package/api/types/ClientFacingPayorSearchResponseDeprecated.d.ts +14 -0
- package/api/types/ClientFacingPayorSearchResponseDeprecated.js +5 -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 +1 -1
- 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.d.ts +11 -1
- package/dist/api/resources/insurance/client/Client.js +76 -3
- package/dist/api/resources/insurance/client/requests/InsuranceSearchGetPayorInfoRequest.d.ts +13 -0
- package/dist/api/resources/insurance/client/requests/InsuranceSearchGetPayorInfoRequest.js +5 -0
- package/dist/api/resources/insurance/client/requests/index.d.ts +1 -0
- package/dist/api/resources/introspect/client/Client.js +2 -2
- package/dist/api/resources/labTests/client/Client.js +34 -34
- package/dist/api/resources/link/client/Client.js +14 -14
- package/dist/api/resources/meal/client/Client.js +1 -1
- package/dist/api/resources/menstrualCycle/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 +58 -58
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/api/types/ClientFacingPayorSearchResponse.d.ts +1 -1
- package/dist/api/types/ClientFacingPayorSearchResponseDeprecated.d.ts +14 -0
- package/dist/api/types/ClientFacingPayorSearchResponseDeprecated.js +5 -0
- package/dist/api/types/index.d.ts +1 -0
- package/dist/api/types/index.js +1 -0
- package/dist/serialization/resources/insurance/client/index.d.ts +1 -0
- package/dist/serialization/resources/insurance/client/index.js +2 -1
- package/dist/serialization/resources/insurance/client/searchGetPayorInfo.d.ts +11 -0
- package/dist/serialization/resources/insurance/client/searchGetPayorInfo.js +32 -0
- package/dist/serialization/resources/insurance/client/searchPayorInfo.d.ts +3 -3
- package/dist/serialization/resources/insurance/client/searchPayorInfo.js +2 -2
- package/dist/serialization/types/ClientFacingPayorSearchResponse.d.ts +1 -1
- package/dist/serialization/types/ClientFacingPayorSearchResponse.js +1 -1
- package/dist/serialization/types/ClientFacingPayorSearchResponseDeprecated.d.ts +16 -0
- package/dist/serialization/types/ClientFacingPayorSearchResponseDeprecated.js +37 -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/reference.md +49 -1
- package/serialization/resources/insurance/client/index.d.ts +1 -0
- package/serialization/resources/insurance/client/index.js +2 -1
- package/serialization/resources/insurance/client/searchGetPayorInfo.d.ts +11 -0
- package/serialization/resources/insurance/client/searchGetPayorInfo.js +32 -0
- package/serialization/resources/insurance/client/searchPayorInfo.d.ts +3 -3
- package/serialization/resources/insurance/client/searchPayorInfo.js +2 -2
- package/serialization/types/ClientFacingPayorSearchResponse.d.ts +1 -1
- package/serialization/types/ClientFacingPayorSearchResponse.js +1 -1
- package/serialization/types/ClientFacingPayorSearchResponseDeprecated.d.ts +16 -0
- package/serialization/types/ClientFacingPayorSearchResponseDeprecated.js +37 -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.152", "User-Agent": "@tryvital/vital-node/3.1.152", "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.152", "User-Agent": "@tryvital/vital-node/3.1.152", "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.152", "User-Agent": "@tryvital/vital-node/3.1.152", "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,
|
@@ -4,7 +4,7 @@
|
|
4
4
|
import * as Vital from "../index";
|
5
5
|
export interface ClientFacingPayorSearchResponse {
|
6
6
|
/** Payor code returned for the insurance information. */
|
7
|
-
|
7
|
+
payorCode: string;
|
8
8
|
/** Insurance name returned for the insurance information. */
|
9
9
|
name: string;
|
10
10
|
/** Insurance name aliases returned for the insurance information. */
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as Vital from "../index";
|
5
|
+
export interface ClientFacingPayorSearchResponseDeprecated {
|
6
|
+
/** Payor code returned for the insurance information. */
|
7
|
+
code: string;
|
8
|
+
/** Insurance name returned for the insurance information. */
|
9
|
+
name: string;
|
10
|
+
/** Insurance name aliases returned for the insurance information. */
|
11
|
+
aliases: string[];
|
12
|
+
/** Insurance business address returned for the insurance information. */
|
13
|
+
orgAddress: Vital.Address;
|
14
|
+
}
|
@@ -111,6 +111,7 @@ export * from "./ClientFacingOrder";
|
|
111
111
|
export * from "./ClientFacingOrderEvent";
|
112
112
|
export * from "./ClientFacingPatientDetailsCompatible";
|
113
113
|
export * from "./ClientFacingPayorSearchResponse";
|
114
|
+
export * from "./ClientFacingPayorSearchResponseDeprecated";
|
114
115
|
export * from "./ClientFacingPhysician";
|
115
116
|
export * from "./ClientFacingProfile";
|
116
117
|
export * from "./ClientFacingProvider";
|
package/dist/api/types/index.js
CHANGED
@@ -127,6 +127,7 @@ __exportStar(require("./ClientFacingOrder"), exports);
|
|
127
127
|
__exportStar(require("./ClientFacingOrderEvent"), exports);
|
128
128
|
__exportStar(require("./ClientFacingPatientDetailsCompatible"), exports);
|
129
129
|
__exportStar(require("./ClientFacingPayorSearchResponse"), exports);
|
130
|
+
__exportStar(require("./ClientFacingPayorSearchResponseDeprecated"), exports);
|
130
131
|
__exportStar(require("./ClientFacingPhysician"), exports);
|
131
132
|
__exportStar(require("./ClientFacingProfile"), exports);
|
132
133
|
__exportStar(require("./ClientFacingProvider"), exports);
|
@@ -26,7 +26,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
26
26
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
27
27
|
};
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
-
exports.searchDiagnosis = exports.searchPayorInfo = void 0;
|
29
|
+
exports.searchDiagnosis = exports.searchPayorInfo = exports.searchGetPayorInfo = void 0;
|
30
|
+
exports.searchGetPayorInfo = __importStar(require("./searchGetPayorInfo"));
|
30
31
|
exports.searchPayorInfo = __importStar(require("./searchPayorInfo"));
|
31
32
|
exports.searchDiagnosis = __importStar(require("./searchDiagnosis"));
|
32
33
|
__exportStar(require("./requests"), exports);
|
@@ -0,0 +1,11 @@
|
|
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 { ClientFacingPayorSearchResponse } from "../../../types/ClientFacingPayorSearchResponse";
|
8
|
+
export declare const Response: core.serialization.Schema<serializers.insurance.searchGetPayorInfo.Response.Raw, Vital.ClientFacingPayorSearchResponse[]>;
|
9
|
+
export declare namespace Response {
|
10
|
+
type Raw = ClientFacingPayorSearchResponse.Raw[];
|
11
|
+
}
|
@@ -0,0 +1,32 @@
|
|
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.Response = void 0;
|
30
|
+
const core = __importStar(require("../../../../core"));
|
31
|
+
const ClientFacingPayorSearchResponse_1 = require("../../../types/ClientFacingPayorSearchResponse");
|
32
|
+
exports.Response = core.serialization.list(ClientFacingPayorSearchResponse_1.ClientFacingPayorSearchResponse);
|
@@ -4,8 +4,8 @@
|
|
4
4
|
import * as serializers from "../../../index";
|
5
5
|
import * as Vital from "../../../../api/index";
|
6
6
|
import * as core from "../../../../core";
|
7
|
-
import {
|
8
|
-
export declare const Response: core.serialization.Schema<serializers.insurance.searchPayorInfo.Response.Raw, Vital.
|
7
|
+
import { ClientFacingPayorSearchResponseDeprecated } from "../../../types/ClientFacingPayorSearchResponseDeprecated";
|
8
|
+
export declare const Response: core.serialization.Schema<serializers.insurance.searchPayorInfo.Response.Raw, Vital.ClientFacingPayorSearchResponseDeprecated[]>;
|
9
9
|
export declare namespace Response {
|
10
|
-
type Raw =
|
10
|
+
type Raw = ClientFacingPayorSearchResponseDeprecated.Raw[];
|
11
11
|
}
|
@@ -28,5 +28,5 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
29
|
exports.Response = void 0;
|
30
30
|
const core = __importStar(require("../../../../core"));
|
31
|
-
const
|
32
|
-
exports.Response = core.serialization.list(
|
31
|
+
const ClientFacingPayorSearchResponseDeprecated_1 = require("../../../types/ClientFacingPayorSearchResponseDeprecated");
|
32
|
+
exports.Response = core.serialization.list(ClientFacingPayorSearchResponseDeprecated_1.ClientFacingPayorSearchResponseDeprecated);
|
@@ -8,7 +8,7 @@ import { Address } from "./Address";
|
|
8
8
|
export declare const ClientFacingPayorSearchResponse: core.serialization.ObjectSchema<serializers.ClientFacingPayorSearchResponse.Raw, Vital.ClientFacingPayorSearchResponse>;
|
9
9
|
export declare namespace ClientFacingPayorSearchResponse {
|
10
10
|
interface Raw {
|
11
|
-
|
11
|
+
payor_code: string;
|
12
12
|
name: string;
|
13
13
|
aliases: string[];
|
14
14
|
org_address: Address.Raw;
|
@@ -30,7 +30,7 @@ exports.ClientFacingPayorSearchResponse = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
31
31
|
const Address_1 = require("./Address");
|
32
32
|
exports.ClientFacingPayorSearchResponse = core.serialization.object({
|
33
|
-
|
33
|
+
payorCode: core.serialization.property("payor_code", core.serialization.string()),
|
34
34
|
name: core.serialization.string(),
|
35
35
|
aliases: core.serialization.list(core.serialization.string()),
|
36
36
|
orgAddress: core.serialization.property("org_address", Address_1.Address),
|
@@ -0,0 +1,16 @@
|
|
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 { Address } from "./Address";
|
8
|
+
export declare const ClientFacingPayorSearchResponseDeprecated: core.serialization.ObjectSchema<serializers.ClientFacingPayorSearchResponseDeprecated.Raw, Vital.ClientFacingPayorSearchResponseDeprecated>;
|
9
|
+
export declare namespace ClientFacingPayorSearchResponseDeprecated {
|
10
|
+
interface Raw {
|
11
|
+
code: string;
|
12
|
+
name: string;
|
13
|
+
aliases: string[];
|
14
|
+
org_address: Address.Raw;
|
15
|
+
}
|
16
|
+
}
|
@@ -0,0 +1,37 @@
|
|
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.ClientFacingPayorSearchResponseDeprecated = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const Address_1 = require("./Address");
|
32
|
+
exports.ClientFacingPayorSearchResponseDeprecated = core.serialization.object({
|
33
|
+
code: core.serialization.string(),
|
34
|
+
name: core.serialization.string(),
|
35
|
+
aliases: core.serialization.list(core.serialization.string()),
|
36
|
+
orgAddress: core.serialization.property("org_address", Address_1.Address),
|
37
|
+
});
|
@@ -111,6 +111,7 @@ export * from "./ClientFacingOrder";
|
|
111
111
|
export * from "./ClientFacingOrderEvent";
|
112
112
|
export * from "./ClientFacingPatientDetailsCompatible";
|
113
113
|
export * from "./ClientFacingPayorSearchResponse";
|
114
|
+
export * from "./ClientFacingPayorSearchResponseDeprecated";
|
114
115
|
export * from "./ClientFacingPhysician";
|
115
116
|
export * from "./ClientFacingProfile";
|
116
117
|
export * from "./ClientFacingProvider";
|
@@ -127,6 +127,7 @@ __exportStar(require("./ClientFacingOrder"), exports);
|
|
127
127
|
__exportStar(require("./ClientFacingOrderEvent"), exports);
|
128
128
|
__exportStar(require("./ClientFacingPatientDetailsCompatible"), exports);
|
129
129
|
__exportStar(require("./ClientFacingPayorSearchResponse"), exports);
|
130
|
+
__exportStar(require("./ClientFacingPayorSearchResponseDeprecated"), exports);
|
130
131
|
__exportStar(require("./ClientFacingPhysician"), exports);
|
131
132
|
__exportStar(require("./ClientFacingProfile"), exports);
|
132
133
|
__exportStar(require("./ClientFacingProvider"), 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.152";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
@@ -9346,7 +9346,55 @@ await client.testkit.createOrder({
|
|
9346
9346
|
|
9347
9347
|
## Insurance
|
9348
9348
|
|
9349
|
-
<details><summary><code>client.insurance.<a href="/src/api/resources/insurance/client/Client.ts">
|
9349
|
+
<details><summary><code>client.insurance.<a href="/src/api/resources/insurance/client/Client.ts">searchGetPayorInfo</a>({ ...params }) -> Vital.ClientFacingPayorSearchResponse[]</code></summary>
|
9350
|
+
<dl>
|
9351
|
+
<dd>
|
9352
|
+
|
9353
|
+
#### 🔌 Usage
|
9354
|
+
|
9355
|
+
<dl>
|
9356
|
+
<dd>
|
9357
|
+
|
9358
|
+
<dl>
|
9359
|
+
<dd>
|
9360
|
+
|
9361
|
+
```typescript
|
9362
|
+
await client.insurance.searchGetPayorInfo();
|
9363
|
+
```
|
9364
|
+
|
9365
|
+
</dd>
|
9366
|
+
</dl>
|
9367
|
+
</dd>
|
9368
|
+
</dl>
|
9369
|
+
|
9370
|
+
#### ⚙️ Parameters
|
9371
|
+
|
9372
|
+
<dl>
|
9373
|
+
<dd>
|
9374
|
+
|
9375
|
+
<dl>
|
9376
|
+
<dd>
|
9377
|
+
|
9378
|
+
**request:** `Vital.InsuranceSearchGetPayorInfoRequest`
|
9379
|
+
|
9380
|
+
</dd>
|
9381
|
+
</dl>
|
9382
|
+
|
9383
|
+
<dl>
|
9384
|
+
<dd>
|
9385
|
+
|
9386
|
+
**requestOptions:** `Insurance.RequestOptions`
|
9387
|
+
|
9388
|
+
</dd>
|
9389
|
+
</dl>
|
9390
|
+
</dd>
|
9391
|
+
</dl>
|
9392
|
+
|
9393
|
+
</dd>
|
9394
|
+
</dl>
|
9395
|
+
</details>
|
9396
|
+
|
9397
|
+
<details><summary><code>client.insurance.<a href="/src/api/resources/insurance/client/Client.ts">searchPayorInfo</a>({ ...params }) -> Vital.ClientFacingPayorSearchResponseDeprecated[]</code></summary>
|
9350
9398
|
<dl>
|
9351
9399
|
<dd>
|
9352
9400
|
|
@@ -26,7 +26,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
26
26
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
27
27
|
};
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
-
exports.searchDiagnosis = exports.searchPayorInfo = void 0;
|
29
|
+
exports.searchDiagnosis = exports.searchPayorInfo = exports.searchGetPayorInfo = void 0;
|
30
|
+
exports.searchGetPayorInfo = __importStar(require("./searchGetPayorInfo"));
|
30
31
|
exports.searchPayorInfo = __importStar(require("./searchPayorInfo"));
|
31
32
|
exports.searchDiagnosis = __importStar(require("./searchDiagnosis"));
|
32
33
|
__exportStar(require("./requests"), exports);
|
@@ -0,0 +1,11 @@
|
|
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 { ClientFacingPayorSearchResponse } from "../../../types/ClientFacingPayorSearchResponse";
|
8
|
+
export declare const Response: core.serialization.Schema<serializers.insurance.searchGetPayorInfo.Response.Raw, Vital.ClientFacingPayorSearchResponse[]>;
|
9
|
+
export declare namespace Response {
|
10
|
+
type Raw = ClientFacingPayorSearchResponse.Raw[];
|
11
|
+
}
|
@@ -0,0 +1,32 @@
|
|
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.Response = void 0;
|
30
|
+
const core = __importStar(require("../../../../core"));
|
31
|
+
const ClientFacingPayorSearchResponse_1 = require("../../../types/ClientFacingPayorSearchResponse");
|
32
|
+
exports.Response = core.serialization.list(ClientFacingPayorSearchResponse_1.ClientFacingPayorSearchResponse);
|
@@ -4,8 +4,8 @@
|
|
4
4
|
import * as serializers from "../../../index";
|
5
5
|
import * as Vital from "../../../../api/index";
|
6
6
|
import * as core from "../../../../core";
|
7
|
-
import {
|
8
|
-
export declare const Response: core.serialization.Schema<serializers.insurance.searchPayorInfo.Response.Raw, Vital.
|
7
|
+
import { ClientFacingPayorSearchResponseDeprecated } from "../../../types/ClientFacingPayorSearchResponseDeprecated";
|
8
|
+
export declare const Response: core.serialization.Schema<serializers.insurance.searchPayorInfo.Response.Raw, Vital.ClientFacingPayorSearchResponseDeprecated[]>;
|
9
9
|
export declare namespace Response {
|
10
|
-
type Raw =
|
10
|
+
type Raw = ClientFacingPayorSearchResponseDeprecated.Raw[];
|
11
11
|
}
|
@@ -28,5 +28,5 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
29
|
exports.Response = void 0;
|
30
30
|
const core = __importStar(require("../../../../core"));
|
31
|
-
const
|
32
|
-
exports.Response = core.serialization.list(
|
31
|
+
const ClientFacingPayorSearchResponseDeprecated_1 = require("../../../types/ClientFacingPayorSearchResponseDeprecated");
|
32
|
+
exports.Response = core.serialization.list(ClientFacingPayorSearchResponseDeprecated_1.ClientFacingPayorSearchResponseDeprecated);
|
@@ -8,7 +8,7 @@ import { Address } from "./Address";
|
|
8
8
|
export declare const ClientFacingPayorSearchResponse: core.serialization.ObjectSchema<serializers.ClientFacingPayorSearchResponse.Raw, Vital.ClientFacingPayorSearchResponse>;
|
9
9
|
export declare namespace ClientFacingPayorSearchResponse {
|
10
10
|
interface Raw {
|
11
|
-
|
11
|
+
payor_code: string;
|
12
12
|
name: string;
|
13
13
|
aliases: string[];
|
14
14
|
org_address: Address.Raw;
|
@@ -30,7 +30,7 @@ exports.ClientFacingPayorSearchResponse = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
31
31
|
const Address_1 = require("./Address");
|
32
32
|
exports.ClientFacingPayorSearchResponse = core.serialization.object({
|
33
|
-
|
33
|
+
payorCode: core.serialization.property("payor_code", core.serialization.string()),
|
34
34
|
name: core.serialization.string(),
|
35
35
|
aliases: core.serialization.list(core.serialization.string()),
|
36
36
|
orgAddress: core.serialization.property("org_address", Address_1.Address),
|
@@ -0,0 +1,16 @@
|
|
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 { Address } from "./Address";
|
8
|
+
export declare const ClientFacingPayorSearchResponseDeprecated: core.serialization.ObjectSchema<serializers.ClientFacingPayorSearchResponseDeprecated.Raw, Vital.ClientFacingPayorSearchResponseDeprecated>;
|
9
|
+
export declare namespace ClientFacingPayorSearchResponseDeprecated {
|
10
|
+
interface Raw {
|
11
|
+
code: string;
|
12
|
+
name: string;
|
13
|
+
aliases: string[];
|
14
|
+
org_address: Address.Raw;
|
15
|
+
}
|
16
|
+
}
|
@@ -0,0 +1,37 @@
|
|
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.ClientFacingPayorSearchResponseDeprecated = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const Address_1 = require("./Address");
|
32
|
+
exports.ClientFacingPayorSearchResponseDeprecated = core.serialization.object({
|
33
|
+
code: core.serialization.string(),
|
34
|
+
name: core.serialization.string(),
|
35
|
+
aliases: core.serialization.list(core.serialization.string()),
|
36
|
+
orgAddress: core.serialization.property("org_address", Address_1.Address),
|
37
|
+
});
|
@@ -111,6 +111,7 @@ export * from "./ClientFacingOrder";
|
|
111
111
|
export * from "./ClientFacingOrderEvent";
|
112
112
|
export * from "./ClientFacingPatientDetailsCompatible";
|
113
113
|
export * from "./ClientFacingPayorSearchResponse";
|
114
|
+
export * from "./ClientFacingPayorSearchResponseDeprecated";
|
114
115
|
export * from "./ClientFacingPhysician";
|
115
116
|
export * from "./ClientFacingProfile";
|
116
117
|
export * from "./ClientFacingProvider";
|
@@ -127,6 +127,7 @@ __exportStar(require("./ClientFacingOrder"), exports);
|
|
127
127
|
__exportStar(require("./ClientFacingOrderEvent"), exports);
|
128
128
|
__exportStar(require("./ClientFacingPatientDetailsCompatible"), exports);
|
129
129
|
__exportStar(require("./ClientFacingPayorSearchResponse"), exports);
|
130
|
+
__exportStar(require("./ClientFacingPayorSearchResponseDeprecated"), exports);
|
130
131
|
__exportStar(require("./ClientFacingPhysician"), exports);
|
131
132
|
__exportStar(require("./ClientFacingProfile"), exports);
|
132
133
|
__exportStar(require("./ClientFacingProvider"), exports);
|
package/version.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export declare const SDK_VERSION = "3.1.
|
1
|
+
export declare const SDK_VERSION = "3.1.152";
|
package/version.js
CHANGED