candidhealth 0.16.2 → 0.17.0
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/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/eligibility/resources/v2/client/Client.d.ts +11 -0
- package/api/resources/eligibility/resources/v2/client/Client.js +35 -1
- package/api/resources/eligibility/resources/v2/client/index.d.ts +1 -0
- package/api/resources/eligibility/resources/v2/client/index.js +2 -1
- package/api/resources/eligibility/resources/v2/client/submitEligibilityCheckAvaility.d.ts +22 -0
- package/api/resources/eligibility/resources/v2/client/submitEligibilityCheckAvaility.js +47 -0
- package/api/resources/encounters/resources/v4/client/Client.js +4 -4
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -0
- package/api/resources/tasks/resources/commons/types/TaskCategory.d.ts +2 -1
- package/api/resources/tasks/resources/commons/types/TaskCategory.js +1 -0
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/eligibility/resources/v2/client/Client.d.ts +11 -0
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +35 -1
- package/dist/api/resources/eligibility/resources/v2/client/index.d.ts +1 -0
- package/dist/api/resources/eligibility/resources/v2/client/index.js +2 -1
- package/dist/api/resources/eligibility/resources/v2/client/submitEligibilityCheckAvaility.d.ts +22 -0
- package/dist/api/resources/eligibility/resources/v2/client/submitEligibilityCheckAvaility.js +47 -0
- package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -0
- package/dist/api/resources/tasks/resources/commons/types/TaskCategory.d.ts +2 -1
- package/dist/api/resources/tasks/resources/commons/types/TaskCategory.js +1 -0
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +1 -0
- package/dist/serialization/resources/tasks/resources/commons/types/TaskCategory.d.ts +1 -1
- package/dist/serialization/resources/tasks/resources/commons/types/TaskCategory.js +1 -0
- package/package.json +1 -1
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +1 -0
- package/serialization/resources/tasks/resources/commons/types/TaskCategory.d.ts +1 -1
- package/serialization/resources/tasks/resources/commons/types/TaskCategory.js +1 -0
|
@@ -62,7 +62,7 @@ class V2 {
|
|
|
62
62
|
Authorization: await this._getAuthorizationHeader(),
|
|
63
63
|
"X-Fern-Language": "JavaScript",
|
|
64
64
|
"X-Fern-SDK-Name": "candidhealth",
|
|
65
|
-
"X-Fern-SDK-Version": "0.
|
|
65
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
66
66
|
},
|
|
67
67
|
contentType: "application/json",
|
|
68
68
|
body: await serializers.auth.v2.AuthGetTokenRequest.jsonOrThrow(request, {
|
|
@@ -48,7 +48,7 @@ class V2 {
|
|
|
48
48
|
Authorization: await this._getAuthorizationHeader(),
|
|
49
49
|
"X-Fern-Language": "JavaScript",
|
|
50
50
|
"X-Fern-SDK-Name": "candidhealth",
|
|
51
|
-
"X-Fern-SDK-Version": "0.
|
|
51
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
52
52
|
},
|
|
53
53
|
contentType: "application/json",
|
|
54
54
|
body: await serializers.billingNotes.v2.StandaloneBillingNoteCreate.jsonOrThrow(request, {
|
|
@@ -49,7 +49,7 @@ class V2 {
|
|
|
49
49
|
Authorization: await this._getAuthorizationHeader(),
|
|
50
50
|
"X-Fern-Language": "JavaScript",
|
|
51
51
|
"X-Fern-SDK-Name": "candidhealth",
|
|
52
|
-
"X-Fern-SDK-Version": "0.
|
|
52
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
53
53
|
},
|
|
54
54
|
contentType: "application/json",
|
|
55
55
|
timeoutMs: 60000,
|
|
@@ -136,7 +136,7 @@ class V2 {
|
|
|
136
136
|
Authorization: await this._getAuthorizationHeader(),
|
|
137
137
|
"X-Fern-Language": "JavaScript",
|
|
138
138
|
"X-Fern-SDK-Name": "candidhealth",
|
|
139
|
-
"X-Fern-SDK-Version": "0.
|
|
139
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
140
140
|
},
|
|
141
141
|
contentType: "application/json",
|
|
142
142
|
queryParameters: _queryParams,
|
|
@@ -169,7 +169,7 @@ class V2 {
|
|
|
169
169
|
Authorization: await this._getAuthorizationHeader(),
|
|
170
170
|
"X-Fern-Language": "JavaScript",
|
|
171
171
|
"X-Fern-SDK-Name": "candidhealth",
|
|
172
|
-
"X-Fern-SDK-Version": "0.
|
|
172
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
173
173
|
},
|
|
174
174
|
contentType: "application/json",
|
|
175
175
|
body: await serializers.contracts.v2.ContractCreate.jsonOrThrow(request, {
|
|
@@ -201,7 +201,7 @@ class V2 {
|
|
|
201
201
|
Authorization: await this._getAuthorizationHeader(),
|
|
202
202
|
"X-Fern-Language": "JavaScript",
|
|
203
203
|
"X-Fern-SDK-Name": "candidhealth",
|
|
204
|
-
"X-Fern-SDK-Version": "0.
|
|
204
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
205
205
|
},
|
|
206
206
|
contentType: "application/json",
|
|
207
207
|
timeoutMs: 60000,
|
|
@@ -239,7 +239,7 @@ class V2 {
|
|
|
239
239
|
Authorization: await this._getAuthorizationHeader(),
|
|
240
240
|
"X-Fern-Language": "JavaScript",
|
|
241
241
|
"X-Fern-SDK-Name": "candidhealth",
|
|
242
|
-
"X-Fern-SDK-Version": "0.
|
|
242
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
243
243
|
},
|
|
244
244
|
contentType: "application/json",
|
|
245
245
|
body: await serializers.contracts.v2.ContractUpdate.jsonOrThrow(request, {
|
|
@@ -31,5 +31,16 @@ export declare class V2 {
|
|
|
31
31
|
*
|
|
32
32
|
*/
|
|
33
33
|
submitEligibilityCheck(request?: unknown): Promise<core.APIResponse<unknown, CandidApi.eligibility.v2.submitEligibilityCheck.Error>>;
|
|
34
|
+
/**
|
|
35
|
+
* This API is a wrapper around Availity's coverages API. Below are some helpful documentation links:
|
|
36
|
+
*
|
|
37
|
+
* - [Availity - Coverages 1.0.0 API](https://developer.availity.com/partner/documentation#c_coverages_references)
|
|
38
|
+
* - [Candid Availity Eligibility Integration Guide](https://support.joincandidhealth.com/hc/en-us/articles/24218441631892--Availity-Eligibility-Integration-Guide)
|
|
39
|
+
*
|
|
40
|
+
* A schema of the response object can be found here: [Availity Docs](https://developer.availity.com/partner/product/191210/api/190898#/Coverages_100/operation/%2Fcoverages/get)
|
|
41
|
+
* * Note Availity requires a free developer account to access this documentation.
|
|
42
|
+
*
|
|
43
|
+
*/
|
|
44
|
+
submitEligibilityCheckAvaility(): Promise<core.APIResponse<unknown, CandidApi.eligibility.v2.submitEligibilityCheckAvaility.Error>>;
|
|
34
45
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
35
46
|
}
|
|
@@ -65,7 +65,7 @@ class V2 {
|
|
|
65
65
|
Authorization: await this._getAuthorizationHeader(),
|
|
66
66
|
"X-Fern-Language": "JavaScript",
|
|
67
67
|
"X-Fern-SDK-Name": "candidhealth",
|
|
68
|
-
"X-Fern-SDK-Version": "0.
|
|
68
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
69
69
|
},
|
|
70
70
|
contentType: "application/json",
|
|
71
71
|
body: request,
|
|
@@ -96,6 +96,40 @@ class V2 {
|
|
|
96
96
|
error: CandidApi.eligibility.v2.submitEligibilityCheck.Error._unknown(_response.error),
|
|
97
97
|
};
|
|
98
98
|
}
|
|
99
|
+
/**
|
|
100
|
+
* This API is a wrapper around Availity's coverages API. Below are some helpful documentation links:
|
|
101
|
+
*
|
|
102
|
+
* - [Availity - Coverages 1.0.0 API](https://developer.availity.com/partner/documentation#c_coverages_references)
|
|
103
|
+
* - [Candid Availity Eligibility Integration Guide](https://support.joincandidhealth.com/hc/en-us/articles/24218441631892--Availity-Eligibility-Integration-Guide)
|
|
104
|
+
*
|
|
105
|
+
* A schema of the response object can be found here: [Availity Docs](https://developer.availity.com/partner/product/191210/api/190898#/Coverages_100/operation/%2Fcoverages/get)
|
|
106
|
+
* * Note Availity requires a free developer account to access this documentation.
|
|
107
|
+
*
|
|
108
|
+
*/
|
|
109
|
+
async submitEligibilityCheckAvaility() {
|
|
110
|
+
const _response = await core.fetcher({
|
|
111
|
+
url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, "/api/eligibility/v2/availity"),
|
|
112
|
+
method: "GET",
|
|
113
|
+
headers: {
|
|
114
|
+
Authorization: await this._getAuthorizationHeader(),
|
|
115
|
+
"X-Fern-Language": "JavaScript",
|
|
116
|
+
"X-Fern-SDK-Name": "candidhealth",
|
|
117
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
118
|
+
},
|
|
119
|
+
contentType: "application/json",
|
|
120
|
+
timeoutMs: 60000,
|
|
121
|
+
});
|
|
122
|
+
if (_response.ok) {
|
|
123
|
+
return {
|
|
124
|
+
ok: true,
|
|
125
|
+
body: _response.body,
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
return {
|
|
129
|
+
ok: false,
|
|
130
|
+
error: CandidApi.eligibility.v2.submitEligibilityCheckAvaility.Error._unknown(_response.error),
|
|
131
|
+
};
|
|
132
|
+
}
|
|
99
133
|
async _getAuthorizationHeader() {
|
|
100
134
|
const bearer = await core.Supplier.get(this.options.token);
|
|
101
135
|
if (bearer != null) {
|
|
@@ -23,5 +23,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.submitEligibilityCheck = void 0;
|
|
26
|
+
exports.submitEligibilityCheckAvaility = exports.submitEligibilityCheck = void 0;
|
|
27
27
|
exports.submitEligibilityCheck = __importStar(require("./submitEligibilityCheck"));
|
|
28
|
+
exports.submitEligibilityCheckAvaility = __importStar(require("./submitEligibilityCheckAvaility"));
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../..";
|
|
5
|
+
import * as core from "../../../../../../core";
|
|
6
|
+
export declare type Error = CandidApi.eligibility.v2.submitEligibilityCheckAvaility.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface _Unknown extends _Utils {
|
|
9
|
+
errorName: void;
|
|
10
|
+
content: core.Fetcher.Error;
|
|
11
|
+
}
|
|
12
|
+
interface _Utils {
|
|
13
|
+
_visit: <_Result>(visitor: CandidApi.eligibility.v2.submitEligibilityCheckAvaility.Error._Visitor<_Result>) => _Result;
|
|
14
|
+
}
|
|
15
|
+
interface _Visitor<_Result> {
|
|
16
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export declare const Error: {
|
|
20
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.eligibility.v2.submitEligibilityCheckAvaility.Error._Unknown;
|
|
21
|
+
readonly _visit: <_Result>(value: CandidApi.eligibility.v2.submitEligibilityCheckAvaility.Error, visitor: CandidApi.eligibility.v2.submitEligibilityCheckAvaility.Error._Visitor<_Result>) => _Result;
|
|
22
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
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.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../.."));
|
|
31
|
+
exports.Error = {
|
|
32
|
+
_unknown: (fetcherError) => {
|
|
33
|
+
return {
|
|
34
|
+
errorName: undefined,
|
|
35
|
+
content: fetcherError,
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.eligibility.v2.submitEligibilityCheckAvaility.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
_visit: (value, visitor) => {
|
|
42
|
+
switch (value.errorName) {
|
|
43
|
+
default:
|
|
44
|
+
return visitor._other(value);
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
};
|
|
@@ -103,7 +103,7 @@ class V4 {
|
|
|
103
103
|
Authorization: await this._getAuthorizationHeader(),
|
|
104
104
|
"X-Fern-Language": "JavaScript",
|
|
105
105
|
"X-Fern-SDK-Name": "candidhealth",
|
|
106
|
-
"X-Fern-SDK-Version": "0.
|
|
106
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
107
107
|
},
|
|
108
108
|
contentType: "application/json",
|
|
109
109
|
queryParameters: _queryParams,
|
|
@@ -133,7 +133,7 @@ class V4 {
|
|
|
133
133
|
Authorization: await this._getAuthorizationHeader(),
|
|
134
134
|
"X-Fern-Language": "JavaScript",
|
|
135
135
|
"X-Fern-SDK-Name": "candidhealth",
|
|
136
|
-
"X-Fern-SDK-Version": "0.
|
|
136
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
137
137
|
},
|
|
138
138
|
contentType: "application/json",
|
|
139
139
|
timeoutMs: 60000,
|
|
@@ -162,7 +162,7 @@ class V4 {
|
|
|
162
162
|
Authorization: await this._getAuthorizationHeader(),
|
|
163
163
|
"X-Fern-Language": "JavaScript",
|
|
164
164
|
"X-Fern-SDK-Name": "candidhealth",
|
|
165
|
-
"X-Fern-SDK-Version": "0.
|
|
165
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
166
166
|
},
|
|
167
167
|
contentType: "application/json",
|
|
168
168
|
body: await serializers.encounters.v4.EncounterCreate.jsonOrThrow(request, {
|
|
@@ -213,7 +213,7 @@ class V4 {
|
|
|
213
213
|
Authorization: await this._getAuthorizationHeader(),
|
|
214
214
|
"X-Fern-Language": "JavaScript",
|
|
215
215
|
"X-Fern-SDK-Name": "candidhealth",
|
|
216
|
-
"X-Fern-SDK-Version": "0.
|
|
216
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
217
217
|
},
|
|
218
218
|
contentType: "application/json",
|
|
219
219
|
body: await serializers.encounters.v4.EncounterUpdate.jsonOrThrow(request, {
|
|
@@ -52,7 +52,7 @@ class V1 {
|
|
|
52
52
|
Authorization: await this._getAuthorizationHeader(),
|
|
53
53
|
"X-Fern-Language": "JavaScript",
|
|
54
54
|
"X-Fern-SDK-Name": "candidhealth",
|
|
55
|
-
"X-Fern-SDK-Version": "0.
|
|
55
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
56
56
|
},
|
|
57
57
|
contentType: "application/json",
|
|
58
58
|
body: await serializers.expectedNetworkStatus.v1.ExpectedNetworkStatusRequest.jsonOrThrow(request, {
|
|
@@ -54,7 +54,7 @@ class V2 {
|
|
|
54
54
|
Authorization: await this._getAuthorizationHeader(),
|
|
55
55
|
"X-Fern-Language": "JavaScript",
|
|
56
56
|
"X-Fern-SDK-Name": "candidhealth",
|
|
57
|
-
"X-Fern-SDK-Version": "0.
|
|
57
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
58
58
|
},
|
|
59
59
|
contentType: "application/json",
|
|
60
60
|
body: await serializers.expectedNetworkStatus.v2.ExpectedNetworkStatusRequestV2.jsonOrThrow(request, {
|
|
@@ -109,7 +109,7 @@ class V2 {
|
|
|
109
109
|
Authorization: await this._getAuthorizationHeader(),
|
|
110
110
|
"X-Fern-Language": "JavaScript",
|
|
111
111
|
"X-Fern-SDK-Name": "candidhealth",
|
|
112
|
-
"X-Fern-SDK-Version": "0.
|
|
112
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
113
113
|
},
|
|
114
114
|
contentType: "application/json",
|
|
115
115
|
body: await serializers.expectedNetworkStatus.v2.ComputeAllInNetworkProvidersRequest.jsonOrThrow(request, {
|
|
@@ -68,7 +68,7 @@ class V3 {
|
|
|
68
68
|
Authorization: await this._getAuthorizationHeader(),
|
|
69
69
|
"X-Fern-Language": "JavaScript",
|
|
70
70
|
"X-Fern-SDK-Name": "candidhealth",
|
|
71
|
-
"X-Fern-SDK-Version": "0.
|
|
71
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
72
72
|
},
|
|
73
73
|
contentType: "application/json",
|
|
74
74
|
queryParameters: _queryParams,
|
|
@@ -52,7 +52,7 @@ class V1 {
|
|
|
52
52
|
Authorization: await this._getAuthorizationHeader(),
|
|
53
53
|
"X-Fern-Language": "JavaScript",
|
|
54
54
|
"X-Fern-SDK-Name": "candidhealth",
|
|
55
|
-
"X-Fern-SDK-Version": "0.
|
|
55
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
56
56
|
},
|
|
57
57
|
contentType: "application/json",
|
|
58
58
|
body: await serializers.guarantor.v1.GuarantorCreate.jsonOrThrow(request, {
|
|
@@ -102,7 +102,7 @@ class V1 {
|
|
|
102
102
|
Authorization: await this._getAuthorizationHeader(),
|
|
103
103
|
"X-Fern-Language": "JavaScript",
|
|
104
104
|
"X-Fern-SDK-Name": "candidhealth",
|
|
105
|
-
"X-Fern-SDK-Version": "0.
|
|
105
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
106
106
|
},
|
|
107
107
|
contentType: "application/json",
|
|
108
108
|
timeoutMs: 60000,
|
|
@@ -135,7 +135,7 @@ class V1 {
|
|
|
135
135
|
Authorization: await this._getAuthorizationHeader(),
|
|
136
136
|
"X-Fern-Language": "JavaScript",
|
|
137
137
|
"X-Fern-SDK-Name": "candidhealth",
|
|
138
|
-
"X-Fern-SDK-Version": "0.
|
|
138
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
139
139
|
},
|
|
140
140
|
contentType: "application/json",
|
|
141
141
|
body: await serializers.guarantor.v1.GuarantorUpdate.jsonOrThrow(request, {
|
|
@@ -52,7 +52,7 @@ class V1 {
|
|
|
52
52
|
Authorization: await this._getAuthorizationHeader(),
|
|
53
53
|
"X-Fern-Language": "JavaScript",
|
|
54
54
|
"X-Fern-SDK-Name": "candidhealth",
|
|
55
|
-
"X-Fern-SDK-Version": "0.
|
|
55
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
56
56
|
},
|
|
57
57
|
contentType: "application/json",
|
|
58
58
|
timeoutMs: 60000,
|
|
@@ -85,7 +85,7 @@ class V1 {
|
|
|
85
85
|
Authorization: await this._getAuthorizationHeader(),
|
|
86
86
|
"X-Fern-Language": "JavaScript",
|
|
87
87
|
"X-Fern-SDK-Name": "candidhealth",
|
|
88
|
-
"X-Fern-SDK-Version": "0.
|
|
88
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
89
89
|
},
|
|
90
90
|
contentType: "application/json",
|
|
91
91
|
body: await serializers.insuranceAdjudications.v1.InsuranceAdjudicationCreate.jsonOrThrow(request, {
|
|
@@ -135,7 +135,7 @@ class V1 {
|
|
|
135
135
|
Authorization: await this._getAuthorizationHeader(),
|
|
136
136
|
"X-Fern-Language": "JavaScript",
|
|
137
137
|
"X-Fern-SDK-Name": "candidhealth",
|
|
138
|
-
"X-Fern-SDK-Version": "0.
|
|
138
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
139
139
|
},
|
|
140
140
|
contentType: "application/json",
|
|
141
141
|
timeoutMs: 60000,
|
|
@@ -79,7 +79,7 @@ class V1 {
|
|
|
79
79
|
Authorization: await this._getAuthorizationHeader(),
|
|
80
80
|
"X-Fern-Language": "JavaScript",
|
|
81
81
|
"X-Fern-SDK-Name": "candidhealth",
|
|
82
|
-
"X-Fern-SDK-Version": "0.
|
|
82
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
83
83
|
},
|
|
84
84
|
contentType: "application/json",
|
|
85
85
|
queryParameters: _queryParams,
|
|
@@ -129,7 +129,7 @@ class V1 {
|
|
|
129
129
|
Authorization: await this._getAuthorizationHeader(),
|
|
130
130
|
"X-Fern-Language": "JavaScript",
|
|
131
131
|
"X-Fern-SDK-Name": "candidhealth",
|
|
132
|
-
"X-Fern-SDK-Version": "0.
|
|
132
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
133
133
|
},
|
|
134
134
|
contentType: "application/json",
|
|
135
135
|
timeoutMs: 60000,
|
|
@@ -179,7 +179,7 @@ class V1 {
|
|
|
179
179
|
Authorization: await this._getAuthorizationHeader(),
|
|
180
180
|
"X-Fern-Language": "JavaScript",
|
|
181
181
|
"X-Fern-SDK-Name": "candidhealth",
|
|
182
|
-
"X-Fern-SDK-Version": "0.
|
|
182
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
183
183
|
},
|
|
184
184
|
contentType: "application/json",
|
|
185
185
|
body: await serializers.insurancePayments.v1.InsurancePaymentCreate.jsonOrThrow(request, {
|
|
@@ -230,7 +230,7 @@ class V1 {
|
|
|
230
230
|
Authorization: await this._getAuthorizationHeader(),
|
|
231
231
|
"X-Fern-Language": "JavaScript",
|
|
232
232
|
"X-Fern-SDK-Name": "candidhealth",
|
|
233
|
-
"X-Fern-SDK-Version": "0.
|
|
233
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
234
234
|
},
|
|
235
235
|
contentType: "application/json",
|
|
236
236
|
body: await serializers.insurancePayments.v1.InsurancePaymentUpdate.jsonOrThrow(request, {
|
|
@@ -283,7 +283,7 @@ class V1 {
|
|
|
283
283
|
Authorization: await this._getAuthorizationHeader(),
|
|
284
284
|
"X-Fern-Language": "JavaScript",
|
|
285
285
|
"X-Fern-SDK-Name": "candidhealth",
|
|
286
|
-
"X-Fern-SDK-Version": "0.
|
|
286
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
287
287
|
},
|
|
288
288
|
contentType: "application/json",
|
|
289
289
|
timeoutMs: 60000,
|
|
@@ -80,7 +80,7 @@ class V1 {
|
|
|
80
80
|
Authorization: await this._getAuthorizationHeader(),
|
|
81
81
|
"X-Fern-Language": "JavaScript",
|
|
82
82
|
"X-Fern-SDK-Name": "candidhealth",
|
|
83
|
-
"X-Fern-SDK-Version": "0.
|
|
83
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
84
84
|
},
|
|
85
85
|
contentType: "application/json",
|
|
86
86
|
queryParameters: _queryParams,
|
|
@@ -115,7 +115,7 @@ class V1 {
|
|
|
115
115
|
Authorization: await this._getAuthorizationHeader(),
|
|
116
116
|
"X-Fern-Language": "JavaScript",
|
|
117
117
|
"X-Fern-SDK-Name": "candidhealth",
|
|
118
|
-
"X-Fern-SDK-Version": "0.
|
|
118
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
119
119
|
},
|
|
120
120
|
contentType: "application/json",
|
|
121
121
|
timeoutMs: 60000,
|
|
@@ -150,7 +150,7 @@ class V1 {
|
|
|
150
150
|
Authorization: await this._getAuthorizationHeader(),
|
|
151
151
|
"X-Fern-Language": "JavaScript",
|
|
152
152
|
"X-Fern-SDK-Name": "candidhealth",
|
|
153
|
-
"X-Fern-SDK-Version": "0.
|
|
153
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
154
154
|
},
|
|
155
155
|
contentType: "application/json",
|
|
156
156
|
body: await serializers.insuranceRefunds.v1.InsuranceRefundCreate.jsonOrThrow(request, {
|
|
@@ -187,7 +187,7 @@ class V1 {
|
|
|
187
187
|
Authorization: await this._getAuthorizationHeader(),
|
|
188
188
|
"X-Fern-Language": "JavaScript",
|
|
189
189
|
"X-Fern-SDK-Name": "candidhealth",
|
|
190
|
-
"X-Fern-SDK-Version": "0.
|
|
190
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
191
191
|
},
|
|
192
192
|
contentType: "application/json",
|
|
193
193
|
body: await serializers.insuranceRefunds.v1.InsuranceRefundUpdate.jsonOrThrow(request, {
|
|
@@ -225,7 +225,7 @@ class V1 {
|
|
|
225
225
|
Authorization: await this._getAuthorizationHeader(),
|
|
226
226
|
"X-Fern-Language": "JavaScript",
|
|
227
227
|
"X-Fern-SDK-Name": "candidhealth",
|
|
228
|
-
"X-Fern-SDK-Version": "0.
|
|
228
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
229
229
|
},
|
|
230
230
|
contentType: "application/json",
|
|
231
231
|
timeoutMs: 60000,
|
|
@@ -49,7 +49,7 @@ class V3 {
|
|
|
49
49
|
Authorization: await this._getAuthorizationHeader(),
|
|
50
50
|
"X-Fern-Language": "JavaScript",
|
|
51
51
|
"X-Fern-SDK-Name": "candidhealth",
|
|
52
|
-
"X-Fern-SDK-Version": "0.
|
|
52
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
53
53
|
},
|
|
54
54
|
contentType: "application/json",
|
|
55
55
|
timeoutMs: 60000,
|
|
@@ -115,7 +115,7 @@ class V3 {
|
|
|
115
115
|
Authorization: await this._getAuthorizationHeader(),
|
|
116
116
|
"X-Fern-Language": "JavaScript",
|
|
117
117
|
"X-Fern-SDK-Name": "candidhealth",
|
|
118
|
-
"X-Fern-SDK-Version": "0.
|
|
118
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
119
119
|
},
|
|
120
120
|
contentType: "application/json",
|
|
121
121
|
queryParameters: _queryParams,
|
|
@@ -145,7 +145,7 @@ class V3 {
|
|
|
145
145
|
Authorization: await this._getAuthorizationHeader(),
|
|
146
146
|
"X-Fern-Language": "JavaScript",
|
|
147
147
|
"X-Fern-SDK-Name": "candidhealth",
|
|
148
|
-
"X-Fern-SDK-Version": "0.
|
|
148
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
149
149
|
},
|
|
150
150
|
contentType: "application/json",
|
|
151
151
|
body: await serializers.organizationProviders.v3.OrganizationProviderCreateV2.jsonOrThrow(request, {
|
|
@@ -192,7 +192,7 @@ class V3 {
|
|
|
192
192
|
Authorization: await this._getAuthorizationHeader(),
|
|
193
193
|
"X-Fern-Language": "JavaScript",
|
|
194
194
|
"X-Fern-SDK-Name": "candidhealth",
|
|
195
|
-
"X-Fern-SDK-Version": "0.
|
|
195
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
196
196
|
},
|
|
197
197
|
contentType: "application/json",
|
|
198
198
|
body: await serializers.organizationProviders.v3.OrganizationProviderUpdateV2.jsonOrThrow(request, {
|
|
@@ -49,7 +49,7 @@ class V2 {
|
|
|
49
49
|
Authorization: await this._getAuthorizationHeader(),
|
|
50
50
|
"X-Fern-Language": "JavaScript",
|
|
51
51
|
"X-Fern-SDK-Name": "candidhealth",
|
|
52
|
-
"X-Fern-SDK-Version": "0.
|
|
52
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
53
53
|
},
|
|
54
54
|
contentType: "application/json",
|
|
55
55
|
timeoutMs: 60000,
|
|
@@ -103,7 +103,7 @@ class V2 {
|
|
|
103
103
|
Authorization: await this._getAuthorizationHeader(),
|
|
104
104
|
"X-Fern-Language": "JavaScript",
|
|
105
105
|
"X-Fern-SDK-Name": "candidhealth",
|
|
106
|
-
"X-Fern-SDK-Version": "0.
|
|
106
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
107
107
|
},
|
|
108
108
|
contentType: "application/json",
|
|
109
109
|
queryParameters: _queryParams,
|
|
@@ -133,7 +133,7 @@ class V2 {
|
|
|
133
133
|
Authorization: await this._getAuthorizationHeader(),
|
|
134
134
|
"X-Fern-Language": "JavaScript",
|
|
135
135
|
"X-Fern-SDK-Name": "candidhealth",
|
|
136
|
-
"X-Fern-SDK-Version": "0.
|
|
136
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
137
137
|
},
|
|
138
138
|
contentType: "application/json",
|
|
139
139
|
body: await serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -177,7 +177,7 @@ class V2 {
|
|
|
177
177
|
Authorization: await this._getAuthorizationHeader(),
|
|
178
178
|
"X-Fern-Language": "JavaScript",
|
|
179
179
|
"X-Fern-SDK-Name": "candidhealth",
|
|
180
|
-
"X-Fern-SDK-Version": "0.
|
|
180
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
181
181
|
},
|
|
182
182
|
contentType: "application/json",
|
|
183
183
|
body: await serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -222,7 +222,7 @@ class V2 {
|
|
|
222
222
|
Authorization: await this._getAuthorizationHeader(),
|
|
223
223
|
"X-Fern-Language": "JavaScript",
|
|
224
224
|
"X-Fern-SDK-Name": "candidhealth",
|
|
225
|
-
"X-Fern-SDK-Version": "0.
|
|
225
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
226
226
|
},
|
|
227
227
|
contentType: "application/json",
|
|
228
228
|
timeoutMs: 60000,
|
|
@@ -96,7 +96,7 @@ class V4 {
|
|
|
96
96
|
Authorization: await this._getAuthorizationHeader(),
|
|
97
97
|
"X-Fern-Language": "JavaScript",
|
|
98
98
|
"X-Fern-SDK-Name": "candidhealth",
|
|
99
|
-
"X-Fern-SDK-Version": "0.
|
|
99
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
100
100
|
},
|
|
101
101
|
contentType: "application/json",
|
|
102
102
|
queryParameters: _queryParams,
|
|
@@ -130,7 +130,7 @@ class V4 {
|
|
|
130
130
|
Authorization: await this._getAuthorizationHeader(),
|
|
131
131
|
"X-Fern-Language": "JavaScript",
|
|
132
132
|
"X-Fern-SDK-Name": "candidhealth",
|
|
133
|
-
"X-Fern-SDK-Version": "0.
|
|
133
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
134
134
|
},
|
|
135
135
|
contentType: "application/json",
|
|
136
136
|
timeoutMs: 60000,
|
|
@@ -165,7 +165,7 @@ class V4 {
|
|
|
165
165
|
Authorization: await this._getAuthorizationHeader(),
|
|
166
166
|
"X-Fern-Language": "JavaScript",
|
|
167
167
|
"X-Fern-SDK-Name": "candidhealth",
|
|
168
|
-
"X-Fern-SDK-Version": "0.
|
|
168
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
169
169
|
},
|
|
170
170
|
contentType: "application/json",
|
|
171
171
|
body: await serializers.patientPayments.v4.PatientPaymentCreate.jsonOrThrow(request, {
|
|
@@ -201,7 +201,7 @@ class V4 {
|
|
|
201
201
|
Authorization: await this._getAuthorizationHeader(),
|
|
202
202
|
"X-Fern-Language": "JavaScript",
|
|
203
203
|
"X-Fern-SDK-Name": "candidhealth",
|
|
204
|
-
"X-Fern-SDK-Version": "0.
|
|
204
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
205
205
|
},
|
|
206
206
|
contentType: "application/json",
|
|
207
207
|
body: await serializers.patientPayments.v4.PatientPaymentUpdate.jsonOrThrow(request, {
|
|
@@ -237,7 +237,7 @@ class V4 {
|
|
|
237
237
|
Authorization: await this._getAuthorizationHeader(),
|
|
238
238
|
"X-Fern-Language": "JavaScript",
|
|
239
239
|
"X-Fern-SDK-Name": "candidhealth",
|
|
240
|
-
"X-Fern-SDK-Version": "0.
|
|
240
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
241
241
|
},
|
|
242
242
|
contentType: "application/json",
|
|
243
243
|
timeoutMs: 60000,
|
|
@@ -96,7 +96,7 @@ class V1 {
|
|
|
96
96
|
Authorization: await this._getAuthorizationHeader(),
|
|
97
97
|
"X-Fern-Language": "JavaScript",
|
|
98
98
|
"X-Fern-SDK-Name": "candidhealth",
|
|
99
|
-
"X-Fern-SDK-Version": "0.
|
|
99
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
100
100
|
},
|
|
101
101
|
contentType: "application/json",
|
|
102
102
|
queryParameters: _queryParams,
|
|
@@ -130,7 +130,7 @@ class V1 {
|
|
|
130
130
|
Authorization: await this._getAuthorizationHeader(),
|
|
131
131
|
"X-Fern-Language": "JavaScript",
|
|
132
132
|
"X-Fern-SDK-Name": "candidhealth",
|
|
133
|
-
"X-Fern-SDK-Version": "0.
|
|
133
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
134
134
|
},
|
|
135
135
|
contentType: "application/json",
|
|
136
136
|
timeoutMs: 60000,
|
|
@@ -165,7 +165,7 @@ class V1 {
|
|
|
165
165
|
Authorization: await this._getAuthorizationHeader(),
|
|
166
166
|
"X-Fern-Language": "JavaScript",
|
|
167
167
|
"X-Fern-SDK-Name": "candidhealth",
|
|
168
|
-
"X-Fern-SDK-Version": "0.
|
|
168
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
169
169
|
},
|
|
170
170
|
contentType: "application/json",
|
|
171
171
|
body: await serializers.patientRefunds.v1.PatientRefundCreate.jsonOrThrow(request, {
|
|
@@ -201,7 +201,7 @@ class V1 {
|
|
|
201
201
|
Authorization: await this._getAuthorizationHeader(),
|
|
202
202
|
"X-Fern-Language": "JavaScript",
|
|
203
203
|
"X-Fern-SDK-Name": "candidhealth",
|
|
204
|
-
"X-Fern-SDK-Version": "0.
|
|
204
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
205
205
|
},
|
|
206
206
|
contentType: "application/json",
|
|
207
207
|
body: await serializers.patientRefunds.v1.PatientRefundUpdate.jsonOrThrow(request, {
|
|
@@ -237,7 +237,7 @@ class V1 {
|
|
|
237
237
|
Authorization: await this._getAuthorizationHeader(),
|
|
238
238
|
"X-Fern-Language": "JavaScript",
|
|
239
239
|
"X-Fern-SDK-Name": "candidhealth",
|
|
240
|
-
"X-Fern-SDK-Version": "0.
|
|
240
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
241
241
|
},
|
|
242
242
|
contentType: "application/json",
|
|
243
243
|
timeoutMs: 60000,
|
|
@@ -49,7 +49,7 @@ class V3 {
|
|
|
49
49
|
Authorization: await this._getAuthorizationHeader(),
|
|
50
50
|
"X-Fern-Language": "JavaScript",
|
|
51
51
|
"X-Fern-SDK-Name": "candidhealth",
|
|
52
|
-
"X-Fern-SDK-Version": "0.
|
|
52
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
53
53
|
},
|
|
54
54
|
contentType: "application/json",
|
|
55
55
|
timeoutMs: 60000,
|
|
@@ -89,7 +89,7 @@ class V3 {
|
|
|
89
89
|
Authorization: await this._getAuthorizationHeader(),
|
|
90
90
|
"X-Fern-Language": "JavaScript",
|
|
91
91
|
"X-Fern-SDK-Name": "candidhealth",
|
|
92
|
-
"X-Fern-SDK-Version": "0.
|
|
92
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
93
93
|
},
|
|
94
94
|
contentType: "application/json",
|
|
95
95
|
queryParameters: _queryParams,
|
|
@@ -48,7 +48,7 @@ class ServiceFacility {
|
|
|
48
48
|
Authorization: await this._getAuthorizationHeader(),
|
|
49
49
|
"X-Fern-Language": "JavaScript",
|
|
50
50
|
"X-Fern-SDK-Name": "candidhealth",
|
|
51
|
-
"X-Fern-SDK-Version": "0.
|
|
51
|
+
"X-Fern-SDK-Version": "0.17.0",
|
|
52
52
|
},
|
|
53
53
|
contentType: "application/json",
|
|
54
54
|
body: await serializers.EncounterServiceFacilityUpdate.jsonOrThrow(request, {
|