@tryvital/vital-node 3.1.151 → 3.1.170
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/{types/QueryConfigWeekStartsOn.js → resources/insurance/client/requests/InsuranceSearchGetPayorInfoRequest.js} +0 -5
- 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/labTests/client/requests/CreateOrderRequestCompatible.d.ts +1 -1
- package/api/resources/link/client/Client.js +14 -14
- package/api/resources/link/client/requests/LinkTokenExchange.d.ts +1 -0
- 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.d.ts +0 -1
- package/api/resources/testkit/client/Client.js +2 -3
- package/api/resources/testkit/client/requests/RegisterTestkitRequest.d.ts +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/BulkExportConnectionsBody.d.ts +8 -0
- package/{dist/api/types/QueryConfigWeekStartsOn.js → api/types/BulkExportConnectionsBody.js} +0 -5
- package/api/types/BulkExportConnectionsResponse.d.ts +8 -0
- package/api/types/BulkExportConnectionsResponse.js +5 -0
- package/api/types/BulkImportConnectionsBody.d.ts +8 -0
- package/api/types/BulkImportConnectionsBody.js +5 -0
- package/api/types/BulkPauseConnectionsBody.d.ts +8 -0
- package/api/types/BulkPauseConnectionsBody.js +5 -0
- package/api/types/BulkTriggerHistoricalPullBody.d.ts +8 -0
- package/api/types/BulkTriggerHistoricalPullBody.js +5 -0
- 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/ClientFacingResource.d.ts +2 -2
- package/api/types/ClientFacingResource.js +1 -1
- package/api/types/ConnectionRecipe.d.ts +11 -0
- package/api/types/ConnectionRecipe.js +5 -0
- package/api/types/PatientAddressWithValidation.d.ts +13 -0
- package/api/types/PatientAddressWithValidation.js +5 -0
- package/api/types/QueryConfig.d.ts +0 -1
- package/api/types/index.d.ts +9 -2
- package/api/types/index.js +9 -2
- 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/labTests/client/requests/CreateOrderRequestCompatible.d.ts +1 -1
- package/dist/api/resources/link/client/Client.js +14 -14
- package/dist/api/resources/link/client/requests/LinkTokenExchange.d.ts +1 -0
- 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.d.ts +0 -1
- package/dist/api/resources/testkit/client/Client.js +2 -3
- package/dist/api/resources/testkit/client/requests/RegisterTestkitRequest.d.ts +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/BulkExportConnectionsBody.d.ts +8 -0
- package/dist/api/types/BulkExportConnectionsBody.js +5 -0
- package/dist/api/types/BulkExportConnectionsResponse.d.ts +8 -0
- package/dist/api/types/BulkExportConnectionsResponse.js +5 -0
- package/dist/api/types/BulkImportConnectionsBody.d.ts +8 -0
- package/dist/api/types/BulkImportConnectionsBody.js +5 -0
- package/dist/api/types/BulkPauseConnectionsBody.d.ts +8 -0
- package/dist/api/types/BulkPauseConnectionsBody.js +5 -0
- package/dist/api/types/BulkTriggerHistoricalPullBody.d.ts +8 -0
- package/dist/api/types/BulkTriggerHistoricalPullBody.js +5 -0
- 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/ClientFacingResource.d.ts +2 -2
- package/dist/api/types/ClientFacingResource.js +1 -1
- package/dist/api/types/ConnectionRecipe.d.ts +11 -0
- package/dist/api/types/ConnectionRecipe.js +5 -0
- package/dist/api/types/PatientAddressWithValidation.d.ts +13 -0
- package/dist/api/types/PatientAddressWithValidation.js +5 -0
- package/dist/api/types/QueryConfig.d.ts +0 -1
- package/dist/api/types/index.d.ts +9 -2
- package/dist/api/types/index.js +9 -2
- 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/{types/QueryConfigWeekStartsOn.js → resources/insurance/client/searchGetPayorInfo.js} +4 -3
- package/dist/serialization/resources/insurance/client/searchPayorInfo.d.ts +3 -3
- package/dist/serialization/resources/insurance/client/searchPayorInfo.js +2 -2
- package/dist/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +2 -2
- package/dist/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.js +2 -2
- package/dist/serialization/resources/link/client/requests/LinkTokenExchange.d.ts +1 -0
- package/dist/serialization/resources/link/client/requests/LinkTokenExchange.js +1 -0
- package/dist/serialization/resources/testkit/client/requests/RegisterTestkitRequest.d.ts +1 -1
- package/dist/serialization/resources/testkit/client/requests/RegisterTestkitRequest.js +1 -1
- package/dist/serialization/types/BulkExportConnectionsBody.d.ts +14 -0
- package/dist/serialization/types/BulkExportConnectionsBody.js +35 -0
- package/dist/serialization/types/BulkExportConnectionsResponse.d.ts +14 -0
- package/dist/serialization/types/BulkExportConnectionsResponse.js +35 -0
- package/dist/serialization/types/BulkImportConnectionsBody.d.ts +15 -0
- package/dist/serialization/types/BulkImportConnectionsBody.js +36 -0
- package/dist/serialization/types/BulkPauseConnectionsBody.d.ts +14 -0
- package/dist/serialization/types/BulkPauseConnectionsBody.js +35 -0
- package/dist/serialization/types/BulkTriggerHistoricalPullBody.d.ts +14 -0
- package/dist/serialization/types/BulkTriggerHistoricalPullBody.js +35 -0
- 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/ClientFacingResource.d.ts +1 -1
- package/dist/serialization/types/ClientFacingResource.js +1 -1
- package/dist/serialization/types/ConnectionRecipe.d.ts +17 -0
- package/dist/serialization/types/ConnectionRecipe.js +38 -0
- package/dist/serialization/types/PatientAddressWithValidation.d.ts +19 -0
- package/dist/serialization/types/PatientAddressWithValidation.js +40 -0
- package/dist/serialization/types/QueryConfig.d.ts +0 -2
- package/dist/serialization/types/QueryConfig.js +0 -2
- package/dist/serialization/types/index.d.ts +9 -2
- package/dist/serialization/types/index.js +9 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +49 -2
- 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/{types/QueryConfigWeekStartsOn.js → resources/insurance/client/searchGetPayorInfo.js} +4 -3
- package/serialization/resources/insurance/client/searchPayorInfo.d.ts +3 -3
- package/serialization/resources/insurance/client/searchPayorInfo.js +2 -2
- package/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +2 -2
- package/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.js +2 -2
- package/serialization/resources/link/client/requests/LinkTokenExchange.d.ts +1 -0
- package/serialization/resources/link/client/requests/LinkTokenExchange.js +1 -0
- package/serialization/resources/testkit/client/requests/RegisterTestkitRequest.d.ts +1 -1
- package/serialization/resources/testkit/client/requests/RegisterTestkitRequest.js +1 -1
- package/serialization/types/BulkExportConnectionsBody.d.ts +14 -0
- package/serialization/types/BulkExportConnectionsBody.js +35 -0
- package/serialization/types/BulkExportConnectionsResponse.d.ts +14 -0
- package/serialization/types/BulkExportConnectionsResponse.js +35 -0
- package/serialization/types/BulkImportConnectionsBody.d.ts +15 -0
- package/serialization/types/BulkImportConnectionsBody.js +36 -0
- package/serialization/types/BulkPauseConnectionsBody.d.ts +14 -0
- package/serialization/types/BulkPauseConnectionsBody.js +35 -0
- package/serialization/types/BulkTriggerHistoricalPullBody.d.ts +14 -0
- package/serialization/types/BulkTriggerHistoricalPullBody.js +35 -0
- 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/ClientFacingResource.d.ts +1 -1
- package/serialization/types/ClientFacingResource.js +1 -1
- package/serialization/types/ConnectionRecipe.d.ts +17 -0
- package/serialization/types/ConnectionRecipe.js +38 -0
- package/serialization/types/PatientAddressWithValidation.d.ts +19 -0
- package/serialization/types/PatientAddressWithValidation.js +40 -0
- package/serialization/types/QueryConfig.d.ts +0 -2
- package/serialization/types/QueryConfig.js +0 -2
- package/serialization/types/index.d.ts +9 -2
- package/serialization/types/index.js +9 -2
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/types/QueryConfigWeekStartsOn.d.ts +0 -8
- package/dist/api/types/QueryConfigWeekStartsOn.d.ts +0 -8
- package/dist/serialization/types/QueryConfigWeekStartsOn.d.ts +0 -10
- package/serialization/types/QueryConfigWeekStartsOn.d.ts +0 -10
|
@@ -0,0 +1,36 @@
|
|
|
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.BulkImportConnectionsBody = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const OAuthProviders_1 = require("./OAuthProviders");
|
|
32
|
+
const ConnectionRecipe_1 = require("./ConnectionRecipe");
|
|
33
|
+
exports.BulkImportConnectionsBody = core.serialization.object({
|
|
34
|
+
provider: OAuthProviders_1.OAuthProviders,
|
|
35
|
+
connections: core.serialization.list(ConnectionRecipe_1.ConnectionRecipe),
|
|
36
|
+
});
|
|
@@ -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
|
+
import { OAuthProviders } from "./OAuthProviders";
|
|
8
|
+
export declare const BulkPauseConnectionsBody: core.serialization.ObjectSchema<serializers.BulkPauseConnectionsBody.Raw, Vital.BulkPauseConnectionsBody>;
|
|
9
|
+
export declare namespace BulkPauseConnectionsBody {
|
|
10
|
+
interface Raw {
|
|
11
|
+
user_ids: string[];
|
|
12
|
+
provider: OAuthProviders.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.BulkPauseConnectionsBody = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const OAuthProviders_1 = require("./OAuthProviders");
|
|
32
|
+
exports.BulkPauseConnectionsBody = core.serialization.object({
|
|
33
|
+
userIds: core.serialization.property("user_ids", core.serialization.list(core.serialization.string())),
|
|
34
|
+
provider: OAuthProviders_1.OAuthProviders,
|
|
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
|
+
import { OAuthProviders } from "./OAuthProviders";
|
|
8
|
+
export declare const BulkTriggerHistoricalPullBody: core.serialization.ObjectSchema<serializers.BulkTriggerHistoricalPullBody.Raw, Vital.BulkTriggerHistoricalPullBody>;
|
|
9
|
+
export declare namespace BulkTriggerHistoricalPullBody {
|
|
10
|
+
interface Raw {
|
|
11
|
+
user_ids: string[];
|
|
12
|
+
provider: OAuthProviders.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.BulkTriggerHistoricalPullBody = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const OAuthProviders_1 = require("./OAuthProviders");
|
|
32
|
+
exports.BulkTriggerHistoricalPullBody = core.serialization.object({
|
|
33
|
+
userIds: core.serialization.property("user_ids", core.serialization.list(core.serialization.string())),
|
|
34
|
+
provider: OAuthProviders_1.OAuthProviders,
|
|
35
|
+
});
|
|
@@ -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
|
+
});
|
|
@@ -6,5 +6,5 @@ import * as Vital from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const ClientFacingResource: core.serialization.Schema<serializers.ClientFacingResource.Raw, Vital.ClientFacingResource>;
|
|
8
8
|
export declare namespace ClientFacingResource {
|
|
9
|
-
type Raw = "profile" | "activity" | "sleep" | "body" | "workouts" | "workout_stream" | "connection" | "order" | "result" | "appointment" | "glucose" | "heartrate" | "hrv" | "
|
|
9
|
+
type Raw = "profile" | "activity" | "sleep" | "body" | "workouts" | "workout_stream" | "connection" | "order" | "result" | "appointment" | "glucose" | "heartrate" | "hrv" | "ige" | "igg" | "blood_oxygen" | "blood_pressure" | "cholesterol" | "device" | "weight" | "fat" | "body_temperature" | "body_temperature_delta" | "meal" | "water" | "caffeine" | "mindfulness_minutes" | "steps" | "calories_active" | "distance" | "floors_climbed" | "respiratory_rate" | "vo2_max" | "calories_basal" | "stress_level" | "menstrual_cycle" | "sleep_cycle" | "electrocardiogram" | "electrocardiogram_voltage" | "afib_burden" | "heart_rate_alert" | "workout_duration" | "insulin_injection" | "carbohydrates" | "note" | "sleep_stream" | "hypnogram";
|
|
10
10
|
}
|
|
@@ -42,7 +42,6 @@ exports.ClientFacingResource = core.serialization.enum_([
|
|
|
42
42
|
"glucose",
|
|
43
43
|
"heartrate",
|
|
44
44
|
"hrv",
|
|
45
|
-
"hypnogram",
|
|
46
45
|
"ige",
|
|
47
46
|
"igg",
|
|
48
47
|
"blood_oxygen",
|
|
@@ -76,4 +75,5 @@ exports.ClientFacingResource = core.serialization.enum_([
|
|
|
76
75
|
"carbohydrates",
|
|
77
76
|
"note",
|
|
78
77
|
"sleep_stream",
|
|
78
|
+
"hypnogram",
|
|
79
79
|
]);
|
|
@@ -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
|
+
export declare const ConnectionRecipe: core.serialization.ObjectSchema<serializers.ConnectionRecipe.Raw, Vital.ConnectionRecipe>;
|
|
8
|
+
export declare namespace ConnectionRecipe {
|
|
9
|
+
interface Raw {
|
|
10
|
+
user_id: string;
|
|
11
|
+
access_token: string;
|
|
12
|
+
refresh_token: string;
|
|
13
|
+
provider_id: string;
|
|
14
|
+
expires_at: number;
|
|
15
|
+
oauth_scopes?: string[] | null;
|
|
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.ConnectionRecipe = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.ConnectionRecipe = core.serialization.object({
|
|
32
|
+
userId: core.serialization.property("user_id", core.serialization.string()),
|
|
33
|
+
accessToken: core.serialization.property("access_token", core.serialization.string()),
|
|
34
|
+
refreshToken: core.serialization.property("refresh_token", core.serialization.string()),
|
|
35
|
+
providerId: core.serialization.property("provider_id", core.serialization.string()),
|
|
36
|
+
expiresAt: core.serialization.property("expires_at", core.serialization.number()),
|
|
37
|
+
oauthScopes: core.serialization.property("oauth_scopes", core.serialization.list(core.serialization.string()).optional()),
|
|
38
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
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 PatientAddressWithValidation: core.serialization.ObjectSchema<serializers.PatientAddressWithValidation.Raw, Vital.PatientAddressWithValidation>;
|
|
8
|
+
export declare namespace PatientAddressWithValidation {
|
|
9
|
+
interface Raw {
|
|
10
|
+
receiver_name?: string | null;
|
|
11
|
+
first_line: string;
|
|
12
|
+
second_line?: string | null;
|
|
13
|
+
city: string;
|
|
14
|
+
state: string;
|
|
15
|
+
zip: string;
|
|
16
|
+
country: string;
|
|
17
|
+
phone_number?: string | null;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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.PatientAddressWithValidation = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.PatientAddressWithValidation = core.serialization.object({
|
|
32
|
+
receiverName: core.serialization.property("receiver_name", core.serialization.string().optional()),
|
|
33
|
+
firstLine: core.serialization.property("first_line", core.serialization.string()),
|
|
34
|
+
secondLine: core.serialization.property("second_line", core.serialization.string().optional()),
|
|
35
|
+
city: core.serialization.string(),
|
|
36
|
+
state: core.serialization.string(),
|
|
37
|
+
zip: core.serialization.string(),
|
|
38
|
+
country: core.serialization.string(),
|
|
39
|
+
phoneNumber: core.serialization.property("phone_number", core.serialization.string().optional()),
|
|
40
|
+
});
|
|
@@ -4,12 +4,10 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Vital from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
import { QueryConfigWeekStartsOn } from "./QueryConfigWeekStartsOn";
|
|
8
7
|
import { QueryConfigProviderPriorityOverridesItem } from "./QueryConfigProviderPriorityOverridesItem";
|
|
9
8
|
export declare const QueryConfig: core.serialization.ObjectSchema<serializers.QueryConfig.Raw, Vital.QueryConfig>;
|
|
10
9
|
export declare namespace QueryConfig {
|
|
11
10
|
interface Raw {
|
|
12
|
-
week_starts_on?: QueryConfigWeekStartsOn.Raw | null;
|
|
13
11
|
provider_priority_overrides?: QueryConfigProviderPriorityOverridesItem.Raw[] | null;
|
|
14
12
|
}
|
|
15
13
|
}
|
|
@@ -28,9 +28,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.QueryConfig = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
const QueryConfigWeekStartsOn_1 = require("./QueryConfigWeekStartsOn");
|
|
32
31
|
const QueryConfigProviderPriorityOverridesItem_1 = require("./QueryConfigProviderPriorityOverridesItem");
|
|
33
32
|
exports.QueryConfig = core.serialization.object({
|
|
34
|
-
weekStartsOn: core.serialization.property("week_starts_on", QueryConfigWeekStartsOn_1.QueryConfigWeekStartsOn.optional()),
|
|
35
33
|
providerPriorityOverrides: core.serialization.property("provider_priority_overrides", core.serialization.list(QueryConfigProviderPriorityOverridesItem_1.QueryConfigProviderPriorityOverridesItem).optional()),
|
|
36
34
|
});
|
|
@@ -32,6 +32,11 @@ export * from "./BiomarkerResult";
|
|
|
32
32
|
export * from "./BodyColumnExprBody";
|
|
33
33
|
export * from "./BodyColumnExpr";
|
|
34
34
|
export * from "./BodyV2InDb";
|
|
35
|
+
export * from "./BulkExportConnectionsBody";
|
|
36
|
+
export * from "./BulkExportConnectionsResponse";
|
|
37
|
+
export * from "./BulkImportConnectionsBody";
|
|
38
|
+
export * from "./BulkPauseConnectionsBody";
|
|
39
|
+
export * from "./BulkTriggerHistoricalPullBody";
|
|
35
40
|
export * from "./CervicalMucusEntryQuality";
|
|
36
41
|
export * from "./CervicalMucusEntry";
|
|
37
42
|
export * from "./ChronotypeValueMacroExpr";
|
|
@@ -111,12 +116,12 @@ export * from "./ClientFacingOrder";
|
|
|
111
116
|
export * from "./ClientFacingOrderEvent";
|
|
112
117
|
export * from "./ClientFacingPatientDetailsCompatible";
|
|
113
118
|
export * from "./ClientFacingPayorSearchResponse";
|
|
119
|
+
export * from "./ClientFacingPayorSearchResponseDeprecated";
|
|
114
120
|
export * from "./ClientFacingPhysician";
|
|
115
121
|
export * from "./ClientFacingProfile";
|
|
116
122
|
export * from "./ClientFacingProvider";
|
|
117
123
|
export * from "./ClientFacingProviderDetailed";
|
|
118
124
|
export * from "./ClientFacingProviderWithStatus";
|
|
119
|
-
export * from "./ClientFacingResource";
|
|
120
125
|
export * from "./ClientFacingRespiratoryRateTimeseries";
|
|
121
126
|
export * from "./ClientFacingResult";
|
|
122
127
|
export * from "./ClientFacingShipment";
|
|
@@ -166,6 +171,7 @@ export * from "./ClientUserIdConflict";
|
|
|
166
171
|
export * from "./ClientWorkoutResponse";
|
|
167
172
|
export * from "./CompanyDetails";
|
|
168
173
|
export * from "./ConnectedSourceClientFacing";
|
|
174
|
+
export * from "./ConnectionRecipe";
|
|
169
175
|
export * from "./ConnectionStatusState";
|
|
170
176
|
export * from "./ConnectionStatus";
|
|
171
177
|
export * from "./Consent";
|
|
@@ -250,6 +256,7 @@ export * from "./PaginatedUsersResponse";
|
|
|
250
256
|
export * from "./ParentBiomarkerData";
|
|
251
257
|
export * from "./PasswordProviders";
|
|
252
258
|
export * from "./PatientAddressCompatible";
|
|
259
|
+
export * from "./PatientAddressWithValidation";
|
|
253
260
|
export * from "./PatientDetails";
|
|
254
261
|
export * from "./PatientDetailsWithValidation";
|
|
255
262
|
export * from "./PayorCodeExternalProvider";
|
|
@@ -273,7 +280,6 @@ export * from "./Providers";
|
|
|
273
280
|
export * from "./QuerySelectItem";
|
|
274
281
|
export * from "./QueryGroupByItem";
|
|
275
282
|
export * from "./Query";
|
|
276
|
-
export * from "./QueryConfigWeekStartsOn";
|
|
277
283
|
export * from "./QueryConfigProviderPriorityOverridesItem";
|
|
278
284
|
export * from "./QueryConfig";
|
|
279
285
|
export * from "./Question";
|
|
@@ -286,6 +292,7 @@ export * from "./RawSleep";
|
|
|
286
292
|
export * from "./RawWorkout";
|
|
287
293
|
export * from "./Region";
|
|
288
294
|
export * from "./RelativeTimeframe";
|
|
295
|
+
export * from "./ClientFacingResource";
|
|
289
296
|
export * from "./ResourceAvailability";
|
|
290
297
|
export * from "./ResponsibleRelationship";
|
|
291
298
|
export * from "./ResultType";
|
|
@@ -48,6 +48,11 @@ __exportStar(require("./BiomarkerResult"), exports);
|
|
|
48
48
|
__exportStar(require("./BodyColumnExprBody"), exports);
|
|
49
49
|
__exportStar(require("./BodyColumnExpr"), exports);
|
|
50
50
|
__exportStar(require("./BodyV2InDb"), exports);
|
|
51
|
+
__exportStar(require("./BulkExportConnectionsBody"), exports);
|
|
52
|
+
__exportStar(require("./BulkExportConnectionsResponse"), exports);
|
|
53
|
+
__exportStar(require("./BulkImportConnectionsBody"), exports);
|
|
54
|
+
__exportStar(require("./BulkPauseConnectionsBody"), exports);
|
|
55
|
+
__exportStar(require("./BulkTriggerHistoricalPullBody"), exports);
|
|
51
56
|
__exportStar(require("./CervicalMucusEntryQuality"), exports);
|
|
52
57
|
__exportStar(require("./CervicalMucusEntry"), exports);
|
|
53
58
|
__exportStar(require("./ChronotypeValueMacroExpr"), exports);
|
|
@@ -127,12 +132,12 @@ __exportStar(require("./ClientFacingOrder"), exports);
|
|
|
127
132
|
__exportStar(require("./ClientFacingOrderEvent"), exports);
|
|
128
133
|
__exportStar(require("./ClientFacingPatientDetailsCompatible"), exports);
|
|
129
134
|
__exportStar(require("./ClientFacingPayorSearchResponse"), exports);
|
|
135
|
+
__exportStar(require("./ClientFacingPayorSearchResponseDeprecated"), exports);
|
|
130
136
|
__exportStar(require("./ClientFacingPhysician"), exports);
|
|
131
137
|
__exportStar(require("./ClientFacingProfile"), exports);
|
|
132
138
|
__exportStar(require("./ClientFacingProvider"), exports);
|
|
133
139
|
__exportStar(require("./ClientFacingProviderDetailed"), exports);
|
|
134
140
|
__exportStar(require("./ClientFacingProviderWithStatus"), exports);
|
|
135
|
-
__exportStar(require("./ClientFacingResource"), exports);
|
|
136
141
|
__exportStar(require("./ClientFacingRespiratoryRateTimeseries"), exports);
|
|
137
142
|
__exportStar(require("./ClientFacingResult"), exports);
|
|
138
143
|
__exportStar(require("./ClientFacingShipment"), exports);
|
|
@@ -182,6 +187,7 @@ __exportStar(require("./ClientUserIdConflict"), exports);
|
|
|
182
187
|
__exportStar(require("./ClientWorkoutResponse"), exports);
|
|
183
188
|
__exportStar(require("./CompanyDetails"), exports);
|
|
184
189
|
__exportStar(require("./ConnectedSourceClientFacing"), exports);
|
|
190
|
+
__exportStar(require("./ConnectionRecipe"), exports);
|
|
185
191
|
__exportStar(require("./ConnectionStatusState"), exports);
|
|
186
192
|
__exportStar(require("./ConnectionStatus"), exports);
|
|
187
193
|
__exportStar(require("./Consent"), exports);
|
|
@@ -266,6 +272,7 @@ __exportStar(require("./PaginatedUsersResponse"), exports);
|
|
|
266
272
|
__exportStar(require("./ParentBiomarkerData"), exports);
|
|
267
273
|
__exportStar(require("./PasswordProviders"), exports);
|
|
268
274
|
__exportStar(require("./PatientAddressCompatible"), exports);
|
|
275
|
+
__exportStar(require("./PatientAddressWithValidation"), exports);
|
|
269
276
|
__exportStar(require("./PatientDetails"), exports);
|
|
270
277
|
__exportStar(require("./PatientDetailsWithValidation"), exports);
|
|
271
278
|
__exportStar(require("./PayorCodeExternalProvider"), exports);
|
|
@@ -289,7 +296,6 @@ __exportStar(require("./Providers"), exports);
|
|
|
289
296
|
__exportStar(require("./QuerySelectItem"), exports);
|
|
290
297
|
__exportStar(require("./QueryGroupByItem"), exports);
|
|
291
298
|
__exportStar(require("./Query"), exports);
|
|
292
|
-
__exportStar(require("./QueryConfigWeekStartsOn"), exports);
|
|
293
299
|
__exportStar(require("./QueryConfigProviderPriorityOverridesItem"), exports);
|
|
294
300
|
__exportStar(require("./QueryConfig"), exports);
|
|
295
301
|
__exportStar(require("./Question"), exports);
|
|
@@ -302,6 +308,7 @@ __exportStar(require("./RawSleep"), exports);
|
|
|
302
308
|
__exportStar(require("./RawWorkout"), exports);
|
|
303
309
|
__exportStar(require("./Region"), exports);
|
|
304
310
|
__exportStar(require("./RelativeTimeframe"), exports);
|
|
311
|
+
__exportStar(require("./ClientFacingResource"), exports);
|
|
305
312
|
__exportStar(require("./ResourceAvailability"), exports);
|
|
306
313
|
__exportStar(require("./ResponsibleRelationship"), exports);
|
|
307
314
|
__exportStar(require("./ResultType"), 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.170";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -9217,7 +9217,6 @@ await client.labTests.getOrders();
|
|
|
9217
9217
|
|
|
9218
9218
|
```typescript
|
|
9219
9219
|
await client.testkit.register({
|
|
9220
|
-
userId: "user_id",
|
|
9221
9220
|
sampleId: "sample_id",
|
|
9222
9221
|
patientDetails: {
|
|
9223
9222
|
firstName: "first_name",
|
|
@@ -9346,7 +9345,55 @@ await client.testkit.createOrder({
|
|
|
9346
9345
|
|
|
9347
9346
|
## Insurance
|
|
9348
9347
|
|
|
9349
|
-
<details><summary><code>client.insurance.<a href="/src/api/resources/insurance/client/Client.ts">
|
|
9348
|
+
<details><summary><code>client.insurance.<a href="/src/api/resources/insurance/client/Client.ts">searchGetPayorInfo</a>({ ...params }) -> Vital.ClientFacingPayorSearchResponse[]</code></summary>
|
|
9349
|
+
<dl>
|
|
9350
|
+
<dd>
|
|
9351
|
+
|
|
9352
|
+
#### 🔌 Usage
|
|
9353
|
+
|
|
9354
|
+
<dl>
|
|
9355
|
+
<dd>
|
|
9356
|
+
|
|
9357
|
+
<dl>
|
|
9358
|
+
<dd>
|
|
9359
|
+
|
|
9360
|
+
```typescript
|
|
9361
|
+
await client.insurance.searchGetPayorInfo();
|
|
9362
|
+
```
|
|
9363
|
+
|
|
9364
|
+
</dd>
|
|
9365
|
+
</dl>
|
|
9366
|
+
</dd>
|
|
9367
|
+
</dl>
|
|
9368
|
+
|
|
9369
|
+
#### ⚙️ Parameters
|
|
9370
|
+
|
|
9371
|
+
<dl>
|
|
9372
|
+
<dd>
|
|
9373
|
+
|
|
9374
|
+
<dl>
|
|
9375
|
+
<dd>
|
|
9376
|
+
|
|
9377
|
+
**request:** `Vital.InsuranceSearchGetPayorInfoRequest`
|
|
9378
|
+
|
|
9379
|
+
</dd>
|
|
9380
|
+
</dl>
|
|
9381
|
+
|
|
9382
|
+
<dl>
|
|
9383
|
+
<dd>
|
|
9384
|
+
|
|
9385
|
+
**requestOptions:** `Insurance.RequestOptions`
|
|
9386
|
+
|
|
9387
|
+
</dd>
|
|
9388
|
+
</dl>
|
|
9389
|
+
</dd>
|
|
9390
|
+
</dl>
|
|
9391
|
+
|
|
9392
|
+
</dd>
|
|
9393
|
+
</dl>
|
|
9394
|
+
</details>
|
|
9395
|
+
|
|
9396
|
+
<details><summary><code>client.insurance.<a href="/src/api/resources/insurance/client/Client.ts">searchPayorInfo</a>({ ...params }) -> Vital.ClientFacingPayorSearchResponseDeprecated[]</code></summary>
|
|
9350
9397
|
<dl>
|
|
9351
9398
|
<dd>
|
|
9352
9399
|
|
|
@@ -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
|
+
}
|
|
@@ -26,6 +26,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
30
|
-
const core = __importStar(require("
|
|
31
|
-
|
|
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
|
}
|