candidhealth 1.14.6 → 1.16.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/Client.d.ts +3 -0
- package/Client.js +59 -54
- package/api/resources/commons/types/BadRequestErrorMessage.d.ts +3 -0
- package/api/resources/commons/types/BadRequestErrorMessage.js +3 -0
- package/api/resources/commons/types/InternalErrorMessage.d.ts +3 -0
- package/api/resources/commons/types/InternalErrorMessage.js +3 -0
- package/api/resources/commons/types/ProcedureModifier.d.ts +3 -0
- package/api/resources/commons/types/ProcedureModifier.js +3 -0
- package/api/resources/commons/types/index.d.ts +2 -0
- package/api/resources/commons/types/index.js +2 -0
- package/api/resources/events/client/Client.d.ts +14 -0
- package/api/resources/events/client/Client.js +15 -0
- package/api/resources/events/client/index.d.ts +1 -0
- package/api/resources/events/client/index.js +2 -0
- package/api/resources/events/index.d.ts +2 -0
- package/api/resources/events/index.js +18 -0
- package/api/resources/events/resources/index.d.ts +1 -0
- package/api/resources/events/resources/index.js +37 -0
- package/api/resources/events/resources/v1/client/Client.d.ts +35 -0
- package/api/resources/events/resources/v1/client/Client.js +227 -0
- package/api/resources/events/resources/v1/client/get.d.ts +37 -0
- package/api/resources/events/resources/v1/client/get.js +88 -0
- package/api/resources/events/resources/v1/client/index.d.ts +3 -0
- package/api/resources/events/resources/v1/client/index.js +42 -0
- package/api/resources/events/resources/v1/client/requests/GetEventScanRequest.d.ts +16 -0
- package/api/resources/events/resources/v1/client/requests/GetEventScanRequest.js +3 -0
- package/api/resources/events/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/events/resources/v1/client/requests/index.js +2 -0
- package/api/resources/events/resources/v1/client/scan.d.ts +31 -0
- package/api/resources/events/resources/v1/client/scan.js +77 -0
- package/api/resources/events/resources/v1/index.d.ts +2 -0
- package/api/resources/events/resources/v1/index.js +18 -0
- package/api/resources/events/resources/v1/types/Event.d.ts +9 -0
- package/api/resources/events/resources/v1/types/Event.js +3 -0
- package/api/resources/events/resources/v1/types/EventId.d.ts +5 -0
- package/api/resources/events/resources/v1/types/EventId.js +7 -0
- package/api/resources/events/resources/v1/types/EventScanPage.d.ts +5 -0
- package/api/resources/events/resources/v1/types/EventScanPage.js +3 -0
- package/api/resources/events/resources/v1/types/index.d.ts +3 -0
- package/api/resources/events/resources/v1/types/index.js +19 -0
- package/api/resources/index.d.ts +1 -0
- package/api/resources/index.js +3 -2
- package/api/resources/patientAr/resources/v1/client/Client.d.ts +0 -4
- package/api/resources/patientAr/resources/v1/client/Client.js +0 -4
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +2 -0
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +59 -54
- package/dist/api/resources/commons/types/BadRequestErrorMessage.d.ts +3 -0
- package/dist/api/resources/commons/types/BadRequestErrorMessage.js +3 -0
- package/dist/api/resources/commons/types/InternalErrorMessage.d.ts +3 -0
- package/dist/api/resources/commons/types/InternalErrorMessage.js +3 -0
- package/dist/api/resources/commons/types/ProcedureModifier.d.ts +3 -0
- package/dist/api/resources/commons/types/ProcedureModifier.js +3 -0
- package/dist/api/resources/commons/types/index.d.ts +2 -0
- package/dist/api/resources/commons/types/index.js +2 -0
- package/dist/api/resources/events/client/Client.d.ts +14 -0
- package/dist/api/resources/events/client/Client.js +15 -0
- package/dist/api/resources/events/client/index.d.ts +1 -0
- package/dist/api/resources/events/client/index.js +2 -0
- package/dist/api/resources/events/index.d.ts +2 -0
- package/dist/api/resources/events/index.js +18 -0
- package/dist/api/resources/events/resources/index.d.ts +1 -0
- package/dist/api/resources/events/resources/index.js +37 -0
- package/dist/api/resources/events/resources/v1/client/Client.d.ts +35 -0
- package/dist/api/resources/events/resources/v1/client/Client.js +227 -0
- package/dist/api/resources/events/resources/v1/client/get.d.ts +37 -0
- package/dist/api/resources/events/resources/v1/client/get.js +88 -0
- package/dist/api/resources/events/resources/v1/client/index.d.ts +3 -0
- package/dist/api/resources/events/resources/v1/client/index.js +42 -0
- package/dist/api/resources/events/resources/v1/client/requests/GetEventScanRequest.d.ts +16 -0
- package/dist/api/resources/events/resources/v1/client/requests/GetEventScanRequest.js +3 -0
- package/dist/api/resources/events/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/api/resources/events/resources/v1/client/requests/index.js +2 -0
- package/dist/api/resources/events/resources/v1/client/scan.d.ts +31 -0
- package/dist/api/resources/events/resources/v1/client/scan.js +77 -0
- package/dist/api/resources/events/resources/v1/index.d.ts +2 -0
- package/dist/api/resources/events/resources/v1/index.js +18 -0
- package/dist/api/resources/events/resources/v1/types/Event.d.ts +9 -0
- package/dist/api/resources/events/resources/v1/types/Event.js +3 -0
- package/dist/api/resources/events/resources/v1/types/EventId.d.ts +5 -0
- package/dist/api/resources/events/resources/v1/types/EventId.js +7 -0
- package/dist/api/resources/events/resources/v1/types/EventScanPage.d.ts +5 -0
- package/dist/api/resources/events/resources/v1/types/EventScanPage.js +3 -0
- package/dist/api/resources/events/resources/v1/types/index.d.ts +3 -0
- package/dist/api/resources/events/resources/v1/types/index.js +19 -0
- package/dist/api/resources/index.d.ts +1 -0
- package/dist/api/resources/index.js +3 -2
- package/dist/api/resources/patientAr/resources/v1/client/Client.d.ts +0 -4
- package/dist/api/resources/patientAr/resources/v1/client/Client.js +0 -4
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +2 -0
- package/dist/serialization/resources/commons/types/BadRequestErrorMessage.d.ts +9 -0
- package/dist/serialization/resources/commons/types/BadRequestErrorMessage.js +41 -0
- package/dist/serialization/resources/commons/types/InternalErrorMessage.d.ts +9 -0
- package/dist/serialization/resources/commons/types/InternalErrorMessage.js +41 -0
- package/dist/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
- package/dist/serialization/resources/commons/types/ProcedureModifier.js +1 -0
- package/dist/serialization/resources/commons/types/index.d.ts +2 -0
- package/dist/serialization/resources/commons/types/index.js +2 -0
- package/dist/serialization/resources/events/index.d.ts +1 -0
- package/dist/serialization/resources/events/index.js +17 -0
- package/dist/serialization/resources/events/resources/index.d.ts +1 -0
- package/dist/serialization/resources/events/resources/index.js +37 -0
- package/dist/serialization/resources/events/resources/v1/client/get.d.ts +22 -0
- package/dist/serialization/resources/events/resources/v1/client/get.js +81 -0
- package/dist/serialization/resources/events/resources/v1/client/index.d.ts +2 -0
- package/dist/serialization/resources/events/resources/v1/client/index.js +38 -0
- package/dist/serialization/resources/events/resources/v1/client/scan.d.ts +17 -0
- package/dist/serialization/resources/events/resources/v1/client/scan.js +75 -0
- package/dist/serialization/resources/events/resources/v1/index.d.ts +2 -0
- package/dist/serialization/resources/events/resources/v1/index.js +18 -0
- package/dist/serialization/resources/events/resources/v1/types/Event.d.ts +15 -0
- package/dist/serialization/resources/events/resources/v1/types/Event.js +47 -0
- package/dist/serialization/resources/events/resources/v1/types/EventId.d.ts +7 -0
- package/dist/serialization/resources/events/resources/v1/types/EventId.js +43 -0
- package/dist/serialization/resources/events/resources/v1/types/EventScanPage.d.ts +12 -0
- package/dist/serialization/resources/events/resources/v1/types/EventScanPage.js +44 -0
- package/dist/serialization/resources/events/resources/v1/types/index.d.ts +3 -0
- package/dist/serialization/resources/events/resources/v1/types/index.js +19 -0
- package/dist/serialization/resources/index.d.ts +1 -0
- package/dist/serialization/resources/index.js +3 -2
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +113 -4
- package/serialization/resources/commons/types/BadRequestErrorMessage.d.ts +9 -0
- package/serialization/resources/commons/types/BadRequestErrorMessage.js +41 -0
- package/serialization/resources/commons/types/InternalErrorMessage.d.ts +9 -0
- package/serialization/resources/commons/types/InternalErrorMessage.js +41 -0
- package/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
- package/serialization/resources/commons/types/ProcedureModifier.js +1 -0
- package/serialization/resources/commons/types/index.d.ts +2 -0
- package/serialization/resources/commons/types/index.js +2 -0
- package/serialization/resources/events/index.d.ts +1 -0
- package/serialization/resources/events/index.js +17 -0
- package/serialization/resources/events/resources/index.d.ts +1 -0
- package/serialization/resources/events/resources/index.js +37 -0
- package/serialization/resources/events/resources/v1/client/get.d.ts +22 -0
- package/serialization/resources/events/resources/v1/client/get.js +81 -0
- package/serialization/resources/events/resources/v1/client/index.d.ts +2 -0
- package/serialization/resources/events/resources/v1/client/index.js +38 -0
- package/serialization/resources/events/resources/v1/client/scan.d.ts +17 -0
- package/serialization/resources/events/resources/v1/client/scan.js +75 -0
- package/serialization/resources/events/resources/v1/index.d.ts +2 -0
- package/serialization/resources/events/resources/v1/index.js +18 -0
- package/serialization/resources/events/resources/v1/types/Event.d.ts +15 -0
- package/serialization/resources/events/resources/v1/types/Event.js +47 -0
- package/serialization/resources/events/resources/v1/types/EventId.d.ts +7 -0
- package/serialization/resources/events/resources/v1/types/EventId.js +43 -0
- package/serialization/resources/events/resources/v1/types/EventScanPage.d.ts +12 -0
- package/serialization/resources/events/resources/v1/types/EventScanPage.js +44 -0
- package/serialization/resources/events/resources/v1/types/index.d.ts +3 -0
- package/serialization/resources/events/resources/v1/types/index.js +19 -0
- package/serialization/resources/index.d.ts +1 -0
- package/serialization/resources/index.js +3 -2
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/Client.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ import { EncounterAttachments } from "./api/resources/encounterAttachments/clien
|
|
|
11
11
|
import { EncounterProviders } from "./api/resources/encounterProviders/client/Client";
|
|
12
12
|
import { EncounterSupplementalInformation } from "./api/resources/encounterSupplementalInformation/client/Client";
|
|
13
13
|
import { Encounters } from "./api/resources/encounters/client/Client";
|
|
14
|
+
import { Events } from "./api/resources/events/client/Client";
|
|
14
15
|
import { ExpectedNetworkStatus } from "./api/resources/expectedNetworkStatus/client/Client";
|
|
15
16
|
import { Exports } from "./api/resources/exports/client/Client";
|
|
16
17
|
import { ExternalPaymentAccountConfig } from "./api/resources/externalPaymentAccountConfig/client/Client";
|
|
@@ -62,6 +63,7 @@ export declare class CandidApiClient {
|
|
|
62
63
|
protected _encounterProviders: EncounterProviders | undefined;
|
|
63
64
|
protected _encounterSupplementalInformation: EncounterSupplementalInformation | undefined;
|
|
64
65
|
protected _encounters: Encounters | undefined;
|
|
66
|
+
protected _events: Events | undefined;
|
|
65
67
|
protected _expectedNetworkStatus: ExpectedNetworkStatus | undefined;
|
|
66
68
|
protected _exports: Exports | undefined;
|
|
67
69
|
protected _externalPaymentAccountConfig: ExternalPaymentAccountConfig | undefined;
|
|
@@ -102,6 +104,7 @@ export declare class CandidApiClient {
|
|
|
102
104
|
get encounterProviders(): EncounterProviders;
|
|
103
105
|
get encounterSupplementalInformation(): EncounterSupplementalInformation;
|
|
104
106
|
get encounters(): Encounters;
|
|
107
|
+
get events(): Events;
|
|
105
108
|
get expectedNetworkStatus(): ExpectedNetworkStatus;
|
|
106
109
|
get exports(): Exports;
|
|
107
110
|
get externalPaymentAccountConfig(): ExternalPaymentAccountConfig;
|
package/Client.js
CHANGED
|
@@ -58,32 +58,33 @@ const Client_11 = require("./api/resources/encounterAttachments/client/Client");
|
|
|
58
58
|
const Client_12 = require("./api/resources/encounterProviders/client/Client");
|
|
59
59
|
const Client_13 = require("./api/resources/encounterSupplementalInformation/client/Client");
|
|
60
60
|
const Client_14 = require("./api/resources/encounters/client/Client");
|
|
61
|
-
const Client_15 = require("./api/resources/
|
|
62
|
-
const Client_16 = require("./api/resources/
|
|
63
|
-
const Client_17 = require("./api/resources/
|
|
64
|
-
const Client_18 = require("./api/resources/
|
|
65
|
-
const Client_19 = require("./api/resources/
|
|
66
|
-
const Client_20 = require("./api/resources/
|
|
67
|
-
const Client_21 = require("./api/resources/
|
|
68
|
-
const Client_22 = require("./api/resources/
|
|
69
|
-
const Client_23 = require("./api/resources/
|
|
70
|
-
const Client_24 = require("./api/resources/
|
|
71
|
-
const Client_25 = require("./api/resources/
|
|
72
|
-
const Client_26 = require("./api/resources/
|
|
73
|
-
const Client_27 = require("./api/resources/
|
|
74
|
-
const Client_28 = require("./api/resources/
|
|
75
|
-
const Client_29 = require("./api/resources/
|
|
76
|
-
const Client_30 = require("./api/resources/
|
|
77
|
-
const Client_31 = require("./api/resources/
|
|
78
|
-
const Client_32 = require("./api/resources/
|
|
79
|
-
const Client_33 = require("./api/resources/
|
|
80
|
-
const Client_34 = require("./api/resources/
|
|
81
|
-
const Client_35 = require("./api/resources/
|
|
82
|
-
const Client_36 = require("./api/resources/
|
|
83
|
-
const Client_37 = require("./api/resources/
|
|
84
|
-
const Client_38 = require("./api/resources/
|
|
85
|
-
const Client_39 = require("./api/resources/
|
|
86
|
-
const Client_40 = require("./api/resources/
|
|
61
|
+
const Client_15 = require("./api/resources/events/client/Client");
|
|
62
|
+
const Client_16 = require("./api/resources/expectedNetworkStatus/client/Client");
|
|
63
|
+
const Client_17 = require("./api/resources/exports/client/Client");
|
|
64
|
+
const Client_18 = require("./api/resources/externalPaymentAccountConfig/client/Client");
|
|
65
|
+
const Client_19 = require("./api/resources/feeSchedules/client/Client");
|
|
66
|
+
const Client_20 = require("./api/resources/guarantor/client/Client");
|
|
67
|
+
const Client_21 = require("./api/resources/healthCareCodeInformation/client/Client");
|
|
68
|
+
const Client_22 = require("./api/resources/importInvoice/client/Client");
|
|
69
|
+
const Client_23 = require("./api/resources/insuranceAdjudications/client/Client");
|
|
70
|
+
const Client_24 = require("./api/resources/insurancePayments/client/Client");
|
|
71
|
+
const Client_25 = require("./api/resources/insuranceRefunds/client/Client");
|
|
72
|
+
const Client_26 = require("./api/resources/medicationDispense/client/Client");
|
|
73
|
+
const Client_27 = require("./api/resources/nonInsurancePayerPayments/client/Client");
|
|
74
|
+
const Client_28 = require("./api/resources/nonInsurancePayerRefunds/client/Client");
|
|
75
|
+
const Client_29 = require("./api/resources/nonInsurancePayers/client/Client");
|
|
76
|
+
const Client_30 = require("./api/resources/organizationProviders/client/Client");
|
|
77
|
+
const Client_31 = require("./api/resources/organizationServiceFacilities/client/Client");
|
|
78
|
+
const Client_32 = require("./api/resources/patientAr/client/Client");
|
|
79
|
+
const Client_33 = require("./api/resources/patientPayments/client/Client");
|
|
80
|
+
const Client_34 = require("./api/resources/patientRefunds/client/Client");
|
|
81
|
+
const Client_35 = require("./api/resources/payerPlanGroups/client/Client");
|
|
82
|
+
const Client_36 = require("./api/resources/payers/client/Client");
|
|
83
|
+
const Client_37 = require("./api/resources/preEncounter/client/Client");
|
|
84
|
+
const Client_38 = require("./api/resources/serviceLines/client/Client");
|
|
85
|
+
const Client_39 = require("./api/resources/superbills/client/Client");
|
|
86
|
+
const Client_40 = require("./api/resources/tasks/client/Client");
|
|
87
|
+
const Client_41 = require("./api/resources/writeOffs/client/Client");
|
|
87
88
|
const core = __importStar(require("./core"));
|
|
88
89
|
const headers_1 = require("./core/headers");
|
|
89
90
|
class CandidApiClient {
|
|
@@ -91,8 +92,8 @@ class CandidApiClient {
|
|
|
91
92
|
this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_1.mergeHeaders)({
|
|
92
93
|
"X-Fern-Language": "JavaScript",
|
|
93
94
|
"X-Fern-SDK-Name": "candidhealth",
|
|
94
|
-
"X-Fern-SDK-Version": "1.
|
|
95
|
-
"User-Agent": "candidhealth/1.
|
|
95
|
+
"X-Fern-SDK-Version": "1.16.0",
|
|
96
|
+
"User-Agent": "candidhealth/1.16.0",
|
|
96
97
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
97
98
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
98
99
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -150,109 +151,113 @@ class CandidApiClient {
|
|
|
150
151
|
var _a;
|
|
151
152
|
return ((_a = this._encounters) !== null && _a !== void 0 ? _a : (this._encounters = new Client_14.Encounters(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
152
153
|
}
|
|
154
|
+
get events() {
|
|
155
|
+
var _a;
|
|
156
|
+
return ((_a = this._events) !== null && _a !== void 0 ? _a : (this._events = new Client_15.Events(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
157
|
+
}
|
|
153
158
|
get expectedNetworkStatus() {
|
|
154
159
|
var _a;
|
|
155
|
-
return ((_a = this._expectedNetworkStatus) !== null && _a !== void 0 ? _a : (this._expectedNetworkStatus = new
|
|
160
|
+
return ((_a = this._expectedNetworkStatus) !== null && _a !== void 0 ? _a : (this._expectedNetworkStatus = new Client_16.ExpectedNetworkStatus(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
156
161
|
}
|
|
157
162
|
get exports() {
|
|
158
163
|
var _a;
|
|
159
|
-
return ((_a = this._exports) !== null && _a !== void 0 ? _a : (this._exports = new
|
|
164
|
+
return ((_a = this._exports) !== null && _a !== void 0 ? _a : (this._exports = new Client_17.Exports(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
160
165
|
}
|
|
161
166
|
get externalPaymentAccountConfig() {
|
|
162
167
|
var _a;
|
|
163
|
-
return ((_a = this._externalPaymentAccountConfig) !== null && _a !== void 0 ? _a : (this._externalPaymentAccountConfig = new
|
|
168
|
+
return ((_a = this._externalPaymentAccountConfig) !== null && _a !== void 0 ? _a : (this._externalPaymentAccountConfig = new Client_18.ExternalPaymentAccountConfig(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
164
169
|
}
|
|
165
170
|
get feeSchedules() {
|
|
166
171
|
var _a;
|
|
167
|
-
return ((_a = this._feeSchedules) !== null && _a !== void 0 ? _a : (this._feeSchedules = new
|
|
172
|
+
return ((_a = this._feeSchedules) !== null && _a !== void 0 ? _a : (this._feeSchedules = new Client_19.FeeSchedules(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
168
173
|
}
|
|
169
174
|
get guarantor() {
|
|
170
175
|
var _a;
|
|
171
|
-
return ((_a = this._guarantor) !== null && _a !== void 0 ? _a : (this._guarantor = new
|
|
176
|
+
return ((_a = this._guarantor) !== null && _a !== void 0 ? _a : (this._guarantor = new Client_20.Guarantor(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
172
177
|
}
|
|
173
178
|
get healthCareCodeInformation() {
|
|
174
179
|
var _a;
|
|
175
|
-
return ((_a = this._healthCareCodeInformation) !== null && _a !== void 0 ? _a : (this._healthCareCodeInformation = new
|
|
180
|
+
return ((_a = this._healthCareCodeInformation) !== null && _a !== void 0 ? _a : (this._healthCareCodeInformation = new Client_21.HealthCareCodeInformation(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
176
181
|
}
|
|
177
182
|
get importInvoice() {
|
|
178
183
|
var _a;
|
|
179
|
-
return ((_a = this._importInvoice) !== null && _a !== void 0 ? _a : (this._importInvoice = new
|
|
184
|
+
return ((_a = this._importInvoice) !== null && _a !== void 0 ? _a : (this._importInvoice = new Client_22.ImportInvoice(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
180
185
|
}
|
|
181
186
|
get insuranceAdjudications() {
|
|
182
187
|
var _a;
|
|
183
|
-
return ((_a = this._insuranceAdjudications) !== null && _a !== void 0 ? _a : (this._insuranceAdjudications = new
|
|
188
|
+
return ((_a = this._insuranceAdjudications) !== null && _a !== void 0 ? _a : (this._insuranceAdjudications = new Client_23.InsuranceAdjudications(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
184
189
|
}
|
|
185
190
|
get insurancePayments() {
|
|
186
191
|
var _a;
|
|
187
|
-
return ((_a = this._insurancePayments) !== null && _a !== void 0 ? _a : (this._insurancePayments = new
|
|
192
|
+
return ((_a = this._insurancePayments) !== null && _a !== void 0 ? _a : (this._insurancePayments = new Client_24.InsurancePayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
188
193
|
}
|
|
189
194
|
get insuranceRefunds() {
|
|
190
195
|
var _a;
|
|
191
|
-
return ((_a = this._insuranceRefunds) !== null && _a !== void 0 ? _a : (this._insuranceRefunds = new
|
|
196
|
+
return ((_a = this._insuranceRefunds) !== null && _a !== void 0 ? _a : (this._insuranceRefunds = new Client_25.InsuranceRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
192
197
|
}
|
|
193
198
|
get medicationDispense() {
|
|
194
199
|
var _a;
|
|
195
|
-
return ((_a = this._medicationDispense) !== null && _a !== void 0 ? _a : (this._medicationDispense = new
|
|
200
|
+
return ((_a = this._medicationDispense) !== null && _a !== void 0 ? _a : (this._medicationDispense = new Client_26.MedicationDispense(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
196
201
|
}
|
|
197
202
|
get nonInsurancePayerPayments() {
|
|
198
203
|
var _a;
|
|
199
|
-
return ((_a = this._nonInsurancePayerPayments) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerPayments = new
|
|
204
|
+
return ((_a = this._nonInsurancePayerPayments) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerPayments = new Client_27.NonInsurancePayerPayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
200
205
|
}
|
|
201
206
|
get nonInsurancePayerRefunds() {
|
|
202
207
|
var _a;
|
|
203
|
-
return ((_a = this._nonInsurancePayerRefunds) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerRefunds = new
|
|
208
|
+
return ((_a = this._nonInsurancePayerRefunds) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerRefunds = new Client_28.NonInsurancePayerRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
204
209
|
}
|
|
205
210
|
get nonInsurancePayers() {
|
|
206
211
|
var _a;
|
|
207
|
-
return ((_a = this._nonInsurancePayers) !== null && _a !== void 0 ? _a : (this._nonInsurancePayers = new
|
|
212
|
+
return ((_a = this._nonInsurancePayers) !== null && _a !== void 0 ? _a : (this._nonInsurancePayers = new Client_29.NonInsurancePayers(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
208
213
|
}
|
|
209
214
|
get organizationProviders() {
|
|
210
215
|
var _a;
|
|
211
|
-
return ((_a = this._organizationProviders) !== null && _a !== void 0 ? _a : (this._organizationProviders = new
|
|
216
|
+
return ((_a = this._organizationProviders) !== null && _a !== void 0 ? _a : (this._organizationProviders = new Client_30.OrganizationProviders(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
212
217
|
}
|
|
213
218
|
get organizationServiceFacilities() {
|
|
214
219
|
var _a;
|
|
215
|
-
return ((_a = this._organizationServiceFacilities) !== null && _a !== void 0 ? _a : (this._organizationServiceFacilities = new
|
|
220
|
+
return ((_a = this._organizationServiceFacilities) !== null && _a !== void 0 ? _a : (this._organizationServiceFacilities = new Client_31.OrganizationServiceFacilities(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
216
221
|
}
|
|
217
222
|
get patientAr() {
|
|
218
223
|
var _a;
|
|
219
|
-
return ((_a = this._patientAr) !== null && _a !== void 0 ? _a : (this._patientAr = new
|
|
224
|
+
return ((_a = this._patientAr) !== null && _a !== void 0 ? _a : (this._patientAr = new Client_32.PatientAr(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
220
225
|
}
|
|
221
226
|
get patientPayments() {
|
|
222
227
|
var _a;
|
|
223
|
-
return ((_a = this._patientPayments) !== null && _a !== void 0 ? _a : (this._patientPayments = new
|
|
228
|
+
return ((_a = this._patientPayments) !== null && _a !== void 0 ? _a : (this._patientPayments = new Client_33.PatientPayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
224
229
|
}
|
|
225
230
|
get patientRefunds() {
|
|
226
231
|
var _a;
|
|
227
|
-
return ((_a = this._patientRefunds) !== null && _a !== void 0 ? _a : (this._patientRefunds = new
|
|
232
|
+
return ((_a = this._patientRefunds) !== null && _a !== void 0 ? _a : (this._patientRefunds = new Client_34.PatientRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
228
233
|
}
|
|
229
234
|
get payerPlanGroups() {
|
|
230
235
|
var _a;
|
|
231
|
-
return ((_a = this._payerPlanGroups) !== null && _a !== void 0 ? _a : (this._payerPlanGroups = new
|
|
236
|
+
return ((_a = this._payerPlanGroups) !== null && _a !== void 0 ? _a : (this._payerPlanGroups = new Client_35.PayerPlanGroups(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
232
237
|
}
|
|
233
238
|
get payers() {
|
|
234
239
|
var _a;
|
|
235
|
-
return ((_a = this._payers) !== null && _a !== void 0 ? _a : (this._payers = new
|
|
240
|
+
return ((_a = this._payers) !== null && _a !== void 0 ? _a : (this._payers = new Client_36.Payers(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
236
241
|
}
|
|
237
242
|
get serviceLines() {
|
|
238
243
|
var _a;
|
|
239
|
-
return ((_a = this._serviceLines) !== null && _a !== void 0 ? _a : (this._serviceLines = new
|
|
244
|
+
return ((_a = this._serviceLines) !== null && _a !== void 0 ? _a : (this._serviceLines = new Client_38.ServiceLines(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
240
245
|
}
|
|
241
246
|
get superbills() {
|
|
242
247
|
var _a;
|
|
243
|
-
return ((_a = this._superbills) !== null && _a !== void 0 ? _a : (this._superbills = new
|
|
248
|
+
return ((_a = this._superbills) !== null && _a !== void 0 ? _a : (this._superbills = new Client_39.Superbills(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
244
249
|
}
|
|
245
250
|
get tasks() {
|
|
246
251
|
var _a;
|
|
247
|
-
return ((_a = this._tasks) !== null && _a !== void 0 ? _a : (this._tasks = new
|
|
252
|
+
return ((_a = this._tasks) !== null && _a !== void 0 ? _a : (this._tasks = new Client_40.Tasks(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
248
253
|
}
|
|
249
254
|
get writeOffs() {
|
|
250
255
|
var _a;
|
|
251
|
-
return ((_a = this._writeOffs) !== null && _a !== void 0 ? _a : (this._writeOffs = new
|
|
256
|
+
return ((_a = this._writeOffs) !== null && _a !== void 0 ? _a : (this._writeOffs = new Client_41.WriteOffs(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
252
257
|
}
|
|
253
258
|
get preEncounter() {
|
|
254
259
|
var _a;
|
|
255
|
-
return ((_a = this._preEncounter) !== null && _a !== void 0 ? _a : (this._preEncounter = new
|
|
260
|
+
return ((_a = this._preEncounter) !== null && _a !== void 0 ? _a : (this._preEncounter = new Client_37.PreEncounter(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
256
261
|
}
|
|
257
262
|
get diagnoses() {
|
|
258
263
|
var _a;
|
|
@@ -1210,5 +1210,8 @@ export declare const ProcedureModifier: {
|
|
|
1210
1210
|
/**
|
|
1211
1211
|
* Custom modifier */
|
|
1212
1212
|
readonly Xy: "XY";
|
|
1213
|
+
/**
|
|
1214
|
+
* Custom modifier representing an invalid modifier */
|
|
1215
|
+
readonly Zz: "ZZ";
|
|
1213
1216
|
};
|
|
1214
1217
|
export type ProcedureModifier = (typeof ProcedureModifier)[keyof typeof ProcedureModifier];
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./AdjustmentId";
|
|
2
2
|
export * from "./AppointmentId";
|
|
3
|
+
export * from "./BadRequestErrorMessage";
|
|
3
4
|
export * from "./BillingProviderCommercialLicenseType";
|
|
4
5
|
export * from "./ChargeCaptureClaimCreationId";
|
|
5
6
|
export * from "./ChargeCaptureId";
|
|
@@ -25,6 +26,7 @@ export * from "./FacilityTypeCode";
|
|
|
25
26
|
export * from "./HttpServiceUnavailableErrorMessage";
|
|
26
27
|
export * from "./InsuranceTypeCode";
|
|
27
28
|
export * from "./IntendedSubmissionMedium";
|
|
29
|
+
export * from "./InternalErrorMessage";
|
|
28
30
|
export * from "./InvoiceId";
|
|
29
31
|
export * from "./LinkUrl";
|
|
30
32
|
export * from "./NetworkType";
|
|
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./AdjustmentId"), exports);
|
|
18
18
|
__exportStar(require("./AppointmentId"), exports);
|
|
19
|
+
__exportStar(require("./BadRequestErrorMessage"), exports);
|
|
19
20
|
__exportStar(require("./BillingProviderCommercialLicenseType"), exports);
|
|
20
21
|
__exportStar(require("./ChargeCaptureClaimCreationId"), exports);
|
|
21
22
|
__exportStar(require("./ChargeCaptureId"), exports);
|
|
@@ -41,6 +42,7 @@ __exportStar(require("./FacilityTypeCode"), exports);
|
|
|
41
42
|
__exportStar(require("./HttpServiceUnavailableErrorMessage"), exports);
|
|
42
43
|
__exportStar(require("./InsuranceTypeCode"), exports);
|
|
43
44
|
__exportStar(require("./IntendedSubmissionMedium"), exports);
|
|
45
|
+
__exportStar(require("./InternalErrorMessage"), exports);
|
|
44
46
|
__exportStar(require("./InvoiceId"), exports);
|
|
45
47
|
__exportStar(require("./LinkUrl"), exports);
|
|
46
48
|
__exportStar(require("./NetworkType"), exports);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { BaseClientOptions } from "../../../../BaseClient";
|
|
2
|
+
import type * as core from "../../../../core";
|
|
3
|
+
import { V1 } from "../resources/v1/client/Client";
|
|
4
|
+
export declare namespace Events {
|
|
5
|
+
interface Options extends BaseClientOptions {
|
|
6
|
+
token?: core.Supplier<core.BearerToken | undefined>;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
export declare class Events {
|
|
10
|
+
protected readonly _options: Events.Options;
|
|
11
|
+
protected _v1: V1 | undefined;
|
|
12
|
+
constructor(_options?: Events.Options);
|
|
13
|
+
get v1(): V1;
|
|
14
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Events = void 0;
|
|
5
|
+
const Client_1 = require("../resources/v1/client/Client");
|
|
6
|
+
class Events {
|
|
7
|
+
constructor(_options = {}) {
|
|
8
|
+
this._options = _options;
|
|
9
|
+
}
|
|
10
|
+
get v1() {
|
|
11
|
+
var _a;
|
|
12
|
+
return ((_a = this._v1) !== null && _a !== void 0 ? _a : (this._v1 = new Client_1.V1(this._options)));
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
exports.Events = Events;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client"), exports);
|
|
18
|
+
__exportStar(require("./resources"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as v1 from "./v1";
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.v1 = void 0;
|
|
37
|
+
exports.v1 = __importStar(require("./v1"));
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient";
|
|
2
|
+
import * as core from "../../../../../../core";
|
|
3
|
+
import * as CandidApi from "../../../../../index";
|
|
4
|
+
export declare namespace V1 {
|
|
5
|
+
interface Options extends BaseClientOptions {
|
|
6
|
+
token?: core.Supplier<core.BearerToken | undefined>;
|
|
7
|
+
}
|
|
8
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
export declare class V1 {
|
|
12
|
+
protected readonly _options: V1.Options;
|
|
13
|
+
constructor(_options?: V1.Options);
|
|
14
|
+
/**
|
|
15
|
+
* Scans the last 30 days of events. All results are sorted by created date, descending.
|
|
16
|
+
*
|
|
17
|
+
* @param {CandidApi.events.v1.GetEventScanRequest} request
|
|
18
|
+
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* await client.events.v1.scan()
|
|
22
|
+
*/
|
|
23
|
+
scan(request?: CandidApi.events.v1.GetEventScanRequest, requestOptions?: V1.RequestOptions): core.HttpResponsePromise<core.APIResponse<CandidApi.events.v1.EventScanPage, CandidApi.events.v1.scan.Error>>;
|
|
24
|
+
private __scan;
|
|
25
|
+
/**
|
|
26
|
+
* @param {CandidApi.events.v1.EventId} eventId
|
|
27
|
+
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* await client.events.v1.get(CandidApi.events.v1.EventId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
|
|
31
|
+
*/
|
|
32
|
+
get(eventId: CandidApi.events.v1.EventId, requestOptions?: V1.RequestOptions): core.HttpResponsePromise<core.APIResponse<CandidApi.events.v1.Event, CandidApi.events.v1.get.Error>>;
|
|
33
|
+
private __get;
|
|
34
|
+
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
35
|
+
}
|