candidhealth 0.14.0 → 0.14.2
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.js +1 -1
- package/api/resources/encounters/resources/v4/client/Client.js +4 -4
- package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -0
- package/api/resources/eraCommons/index.d.ts +1 -0
- package/api/resources/eraCommons/index.js +17 -0
- package/api/resources/eraCommons/types/ClaimStatusCodeCreate.d.ts +18 -0
- package/api/resources/eraCommons/types/ClaimStatusCodeCreate.js +17 -0
- package/api/resources/eraCommons/types/index.d.ts +1 -0
- package/api/resources/eraCommons/types/index.js +17 -0
- 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/financials/types/index.d.ts +0 -1
- package/api/resources/financials/types/index.js +0 -1
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/index.d.ts +2 -0
- package/api/resources/index.js +3 -1
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -0
- package/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +1 -1
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +6 -6
- package/api/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +1 -3
- 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/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +0 -1
- package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +0 -1
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/api/resources/writeOffs/resources/v1/types/InsuranceWriteOff.d.ts +3 -1
- package/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffCreate.d.ts +1 -1
- package/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.d.ts +21 -0
- package/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.js +23 -0
- package/api/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +3 -1
- package/api/resources/writeOffs/resources/v1/types/PatientWriteOffCreate.d.ts +1 -1
- package/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +15 -0
- package/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +17 -0
- package/api/resources/writeOffs/resources/v1/types/WriteOffSortField.d.ts +1 -2
- package/api/resources/writeOffs/resources/v1/types/WriteOffSortField.js +0 -1
- package/api/resources/writeOffs/resources/v1/types/index.d.ts +2 -1
- package/api/resources/writeOffs/resources/v1/types/index.js +2 -1
- 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.js +1 -1
- package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -0
- package/dist/api/resources/eraCommons/index.d.ts +1 -0
- package/dist/api/resources/eraCommons/index.js +17 -0
- package/dist/api/resources/eraCommons/types/ClaimStatusCodeCreate.d.ts +18 -0
- package/dist/api/resources/eraCommons/types/ClaimStatusCodeCreate.js +17 -0
- package/dist/api/resources/eraCommons/types/index.d.ts +1 -0
- package/dist/api/resources/eraCommons/types/index.js +17 -0
- 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/financials/types/index.d.ts +0 -1
- package/dist/api/resources/financials/types/index.js +0 -1
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/index.d.ts +2 -0
- package/dist/api/resources/index.js +3 -1
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +1 -1
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +1 -3
- 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/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +0 -1
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +0 -1
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- 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/api/resources/writeOffs/resources/v1/types/InsuranceWriteOff.d.ts +3 -1
- package/dist/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffCreate.d.ts +1 -1
- package/dist/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.d.ts +21 -0
- package/dist/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.js +23 -0
- package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +3 -1
- package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOffCreate.d.ts +1 -1
- package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +15 -0
- package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +17 -0
- package/dist/api/resources/writeOffs/resources/v1/types/WriteOffSortField.d.ts +1 -2
- package/dist/api/resources/writeOffs/resources/v1/types/WriteOffSortField.js +0 -1
- package/dist/api/resources/writeOffs/resources/v1/types/index.d.ts +2 -1
- package/dist/api/resources/writeOffs/resources/v1/types/index.js +2 -1
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +1 -0
- package/dist/serialization/resources/eraCommons/index.d.ts +1 -0
- package/dist/serialization/resources/eraCommons/index.js +17 -0
- package/dist/serialization/resources/eraCommons/types/ClaimStatusCodeCreate.d.ts +10 -0
- package/dist/serialization/resources/{writeOffs/resources/v1/types/WriteOffReason.js → eraCommons/types/ClaimStatusCodeCreate.js} +3 -3
- package/dist/serialization/resources/eraCommons/types/index.d.ts +1 -0
- package/dist/serialization/resources/eraCommons/types/index.js +17 -0
- package/dist/serialization/resources/financials/types/index.d.ts +0 -1
- package/dist/serialization/resources/financials/types/index.js +0 -1
- package/dist/serialization/resources/index.d.ts +2 -0
- package/dist/serialization/resources/index.js +3 -1
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -0
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js +1 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +1 -3
- package/dist/serialization/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.js +1 -5
- package/dist/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +0 -1
- package/dist/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.js +0 -3
- package/dist/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +0 -1
- package/dist/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.js +0 -3
- package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOff.d.ts +3 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOff.js +3 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffCreate.d.ts +1 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffCreate.js +1 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.d.ts +10 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.js +47 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +3 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.js +3 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffCreate.d.ts +1 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffCreate.js +1 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +10 -0
- package/dist/serialization/resources/{financials/types/AllocationAmountUpdate.js → writeOffs/resources/v1/types/PatientWriteOffReason.js} +13 -6
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffSortField.d.ts +1 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffSortField.js +1 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/index.d.ts +2 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/index.js +2 -1
- package/package.json +1 -1
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +1 -0
- package/serialization/resources/eraCommons/index.d.ts +1 -0
- package/serialization/resources/eraCommons/index.js +17 -0
- package/serialization/resources/eraCommons/types/ClaimStatusCodeCreate.d.ts +10 -0
- package/serialization/resources/{writeOffs/resources/v1/types/WriteOffReason.js → eraCommons/types/ClaimStatusCodeCreate.js} +3 -3
- package/serialization/resources/eraCommons/types/index.d.ts +1 -0
- package/serialization/resources/eraCommons/types/index.js +17 -0
- package/serialization/resources/financials/types/index.d.ts +0 -1
- package/serialization/resources/financials/types/index.js +0 -1
- package/serialization/resources/index.d.ts +2 -0
- package/serialization/resources/index.js +3 -1
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -0
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js +1 -0
- package/serialization/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +1 -3
- package/serialization/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.js +1 -5
- package/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +0 -1
- package/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.js +0 -3
- package/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +0 -1
- package/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.js +0 -3
- package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOff.d.ts +3 -1
- package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOff.js +3 -1
- package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffCreate.d.ts +1 -1
- package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffCreate.js +1 -1
- package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.d.ts +10 -0
- package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.js +47 -0
- package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +3 -1
- package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.js +3 -1
- package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffCreate.d.ts +1 -1
- package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffCreate.js +1 -1
- package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +10 -0
- package/serialization/resources/{financials/types/AllocationAmountUpdate.js → writeOffs/resources/v1/types/PatientWriteOffReason.js} +13 -6
- package/serialization/resources/writeOffs/resources/v1/types/WriteOffSortField.d.ts +1 -1
- package/serialization/resources/writeOffs/resources/v1/types/WriteOffSortField.js +1 -1
- package/serialization/resources/writeOffs/resources/v1/types/index.d.ts +2 -1
- package/serialization/resources/writeOffs/resources/v1/types/index.js +2 -1
- package/api/resources/financials/types/AllocationAmountUpdate.d.ts +0 -8
- package/api/resources/financials/types/AllocationAmountUpdate.js +0 -5
- package/api/resources/writeOffs/resources/v1/types/WriteOffReason.d.ts +0 -10
- package/api/resources/writeOffs/resources/v1/types/WriteOffReason.js +0 -12
- package/dist/api/resources/financials/types/AllocationAmountUpdate.d.ts +0 -8
- package/dist/api/resources/financials/types/AllocationAmountUpdate.js +0 -5
- package/dist/api/resources/writeOffs/resources/v1/types/WriteOffReason.d.ts +0 -10
- package/dist/api/resources/writeOffs/resources/v1/types/WriteOffReason.js +0 -12
- package/dist/serialization/resources/financials/types/AllocationAmountUpdate.d.ts +0 -13
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffReason.d.ts +0 -10
- package/serialization/resources/financials/types/AllocationAmountUpdate.d.ts +0 -13
- package/serialization/resources/writeOffs/resources/v1/types/WriteOffReason.d.ts +0 -10
|
@@ -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.14.
|
|
65
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
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.14.
|
|
51
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
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.14.
|
|
52
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
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.14.
|
|
139
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
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.14.
|
|
172
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
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.14.
|
|
204
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
205
205
|
},
|
|
206
206
|
contentType: "application/json",
|
|
207
207
|
timeoutMs: 60000,
|
|
@@ -225,7 +225,7 @@ class V2 {
|
|
|
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.14.
|
|
228
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
229
229
|
},
|
|
230
230
|
contentType: "application/json",
|
|
231
231
|
body: await serializers.contracts.v2.ContractUpdate.jsonOrThrow(request, {
|
|
@@ -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.14.
|
|
68
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
69
69
|
},
|
|
70
70
|
contentType: "application/json",
|
|
71
71
|
body: request,
|
|
@@ -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.14.
|
|
106
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
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.14.
|
|
136
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
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.14.
|
|
165
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
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.14.
|
|
216
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
217
217
|
},
|
|
218
218
|
contentType: "application/json",
|
|
219
219
|
body: await serializers.encounters.v4.EncounterUpdate.jsonOrThrow(request, {
|
|
@@ -76,6 +76,8 @@ export interface EncounterUpdate {
|
|
|
76
76
|
*
|
|
77
77
|
*/
|
|
78
78
|
endDateOfService?: CandidApi.Date_;
|
|
79
|
+
/** Contains details of the primary insurance subscriber. */
|
|
80
|
+
subscriberPrimary?: CandidApi.SubscriberCreate;
|
|
79
81
|
/** Contains details of the secondary insurance subscriber. */
|
|
80
82
|
subscriberSecondary?: CandidApi.SubscriberCreate;
|
|
81
83
|
/**
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./types";
|
|
@@ -0,0 +1,17 @@
|
|
|
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("./types"), exports);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* See https://www.stedi.com/edi/x12/element/1029
|
|
6
|
+
*/
|
|
7
|
+
export declare type ClaimStatusCodeCreate = "1" | "2" | "3" | "4" | "19" | "20" | "21" | "22" | "23";
|
|
8
|
+
export declare const ClaimStatusCodeCreate: {
|
|
9
|
+
readonly ProcessedAsPrimary: "1";
|
|
10
|
+
readonly ProcessedAsSecondary: "2";
|
|
11
|
+
readonly ProcessedAsTertiary: "3";
|
|
12
|
+
readonly Denied: "4";
|
|
13
|
+
readonly ProcessedAsPrimaryForwarded: "19";
|
|
14
|
+
readonly ProcessedAsSecondaryForwarded: "20";
|
|
15
|
+
readonly ProcessedAsTertiaryForwarded: "21";
|
|
16
|
+
readonly ReversalOfPreviousPayment: "22";
|
|
17
|
+
readonly NotOurClaimForwarded: "23";
|
|
18
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.ClaimStatusCodeCreate = void 0;
|
|
7
|
+
exports.ClaimStatusCodeCreate = {
|
|
8
|
+
ProcessedAsPrimary: "1",
|
|
9
|
+
ProcessedAsSecondary: "2",
|
|
10
|
+
ProcessedAsTertiary: "3",
|
|
11
|
+
Denied: "4",
|
|
12
|
+
ProcessedAsPrimaryForwarded: "19",
|
|
13
|
+
ProcessedAsSecondaryForwarded: "20",
|
|
14
|
+
ProcessedAsTertiaryForwarded: "21",
|
|
15
|
+
ReversalOfPreviousPayment: "22",
|
|
16
|
+
NotOurClaimForwarded: "23",
|
|
17
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./ClaimStatusCodeCreate";
|
|
@@ -0,0 +1,17 @@
|
|
|
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("./ClaimStatusCodeCreate"), exports);
|
|
@@ -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.14.
|
|
55
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
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.14.
|
|
57
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
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.14.
|
|
112
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
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.14.
|
|
71
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
72
72
|
},
|
|
73
73
|
contentType: "application/json",
|
|
74
74
|
queryParameters: _queryParams,
|
|
@@ -5,7 +5,6 @@ export * from "./AllocationTarget";
|
|
|
5
5
|
export * from "./AllocationCreate";
|
|
6
6
|
export * from "./AllocationTargetCreate";
|
|
7
7
|
export * from "./AccountType";
|
|
8
|
-
export * from "./AllocationAmountUpdate";
|
|
9
8
|
export * from "./NoteUpdate";
|
|
10
9
|
export * from "./InvoiceUpdate";
|
|
11
10
|
export * from "./RefundReasonUpdate";
|
|
@@ -21,7 +21,6 @@ __exportStar(require("./AllocationTarget"), exports);
|
|
|
21
21
|
__exportStar(require("./AllocationCreate"), exports);
|
|
22
22
|
__exportStar(require("./AllocationTargetCreate"), exports);
|
|
23
23
|
__exportStar(require("./AccountType"), exports);
|
|
24
|
-
__exportStar(require("./AllocationAmountUpdate"), exports);
|
|
25
24
|
__exportStar(require("./NoteUpdate"), exports);
|
|
26
25
|
__exportStar(require("./InvoiceUpdate"), exports);
|
|
27
26
|
__exportStar(require("./RefundReasonUpdate"), exports);
|
|
@@ -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.14.
|
|
55
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
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.14.
|
|
105
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
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.14.
|
|
138
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
139
139
|
},
|
|
140
140
|
contentType: "application/json",
|
|
141
141
|
body: await serializers.guarantor.v1.GuarantorUpdate.jsonOrThrow(request, {
|
package/api/resources/index.d.ts
CHANGED
|
@@ -26,6 +26,8 @@ export * as commons from "./commons";
|
|
|
26
26
|
export * from "./commons/types";
|
|
27
27
|
export * as diagnoses from "./diagnoses";
|
|
28
28
|
export * from "./diagnoses/types";
|
|
29
|
+
export * as eraCommons from "./eraCommons";
|
|
30
|
+
export * from "./eraCommons/types";
|
|
29
31
|
export * as era from "./era";
|
|
30
32
|
export * from "./era/types";
|
|
31
33
|
export * as financials from "./financials";
|
package/api/resources/index.js
CHANGED
|
@@ -26,7 +26,7 @@ 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.eligibility = exports.tags = exports.serviceFacility = exports.invoices = exports.individual = exports.identifiers = exports.financials = exports.era = exports.diagnoses = exports.commons = exports.claims = exports.x12 = exports.writeOffs = exports.tasks = exports.serviceLines = exports.remits = exports.payers = exports.patientRefunds = exports.patientPayments = exports.organizationProviders = exports.organizationServiceFacilities = exports.insuranceRefunds = exports.insuranceCards = exports.insuranceAdjudications = exports.guarantor = exports.exports = exports.expectedNetworkStatus = exports.encounters = exports.encounterProviders = exports.contracts = exports.claimSubmission = exports.billingNotes = exports.auth = void 0;
|
|
29
|
+
exports.eligibility = exports.tags = exports.serviceFacility = exports.invoices = exports.individual = exports.identifiers = exports.financials = exports.era = exports.eraCommons = exports.diagnoses = exports.commons = exports.claims = exports.x12 = exports.writeOffs = exports.tasks = exports.serviceLines = exports.remits = exports.payers = exports.patientRefunds = exports.patientPayments = exports.organizationProviders = exports.organizationServiceFacilities = exports.insuranceRefunds = exports.insuranceCards = exports.insuranceAdjudications = exports.guarantor = exports.exports = exports.expectedNetworkStatus = exports.encounters = exports.encounterProviders = exports.contracts = exports.claimSubmission = exports.billingNotes = exports.auth = void 0;
|
|
30
30
|
exports.auth = __importStar(require("./auth"));
|
|
31
31
|
exports.billingNotes = __importStar(require("./billingNotes"));
|
|
32
32
|
exports.claimSubmission = __importStar(require("./claimSubmission"));
|
|
@@ -55,6 +55,8 @@ exports.commons = __importStar(require("./commons"));
|
|
|
55
55
|
__exportStar(require("./commons/types"), exports);
|
|
56
56
|
exports.diagnoses = __importStar(require("./diagnoses"));
|
|
57
57
|
__exportStar(require("./diagnoses/types"), exports);
|
|
58
|
+
exports.eraCommons = __importStar(require("./eraCommons"));
|
|
59
|
+
__exportStar(require("./eraCommons/types"), exports);
|
|
58
60
|
exports.era = __importStar(require("./era"));
|
|
59
61
|
__exportStar(require("./era/types"), exports);
|
|
60
62
|
exports.financials = __importStar(require("./financials"));
|
|
@@ -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.14.
|
|
55
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
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.14.
|
|
88
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
89
89
|
},
|
|
90
90
|
contentType: "application/json",
|
|
91
91
|
body: await serializers.insuranceAdjudications.v1.InsuranceAdjudicationCreate.jsonOrThrow(request, {
|
|
@@ -121,7 +121,7 @@ class V1 {
|
|
|
121
121
|
Authorization: await this._getAuthorizationHeader(),
|
|
122
122
|
"X-Fern-Language": "JavaScript",
|
|
123
123
|
"X-Fern-SDK-Name": "candidhealth",
|
|
124
|
-
"X-Fern-SDK-Version": "0.14.
|
|
124
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
125
125
|
},
|
|
126
126
|
contentType: "application/json",
|
|
127
127
|
timeoutMs: 60000,
|
package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../../../..";
|
|
5
5
|
export interface ClaimAdjudicationCreate {
|
|
6
|
+
claimStatusCode: CandidApi.ClaimStatusCodeCreate;
|
|
6
7
|
insurancePaidAmountCents?: number;
|
|
7
8
|
chargeAmountCents?: number;
|
|
8
9
|
serviceLines: Record<CandidApi.ServiceLineId, CandidApi.insuranceAdjudications.v1.ServiceLineAdjudicationCreate[]>;
|
|
@@ -37,7 +37,7 @@ export declare class V1 {
|
|
|
37
37
|
* then the allocations must be appropriately updated as well.
|
|
38
38
|
*
|
|
39
39
|
*/
|
|
40
|
-
update(insuranceRefundId: CandidApi.insuranceRefunds.v1.InsuranceRefundId, request
|
|
40
|
+
update(insuranceRefundId: CandidApi.insuranceRefunds.v1.InsuranceRefundId, request?: CandidApi.insuranceRefunds.v1.InsuranceRefundUpdate): Promise<core.APIResponse<CandidApi.insuranceRefunds.v1.InsuranceRefund, CandidApi.insuranceRefunds.v1.update.Error>>;
|
|
41
41
|
/**
|
|
42
42
|
* Deletes the insurance refund record matching the provided `insurance_refund_id`.
|
|
43
43
|
* If the matching record's organization_id does not match the authenticated user's
|
|
@@ -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.14.
|
|
83
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
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.14.
|
|
118
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
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.14.
|
|
153
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
154
154
|
},
|
|
155
155
|
contentType: "application/json",
|
|
156
156
|
body: await serializers.insuranceRefunds.v1.InsuranceRefundCreate.jsonOrThrow(request, {
|
|
@@ -179,7 +179,7 @@ class V1 {
|
|
|
179
179
|
* then the allocations must be appropriately updated as well.
|
|
180
180
|
*
|
|
181
181
|
*/
|
|
182
|
-
async update(insuranceRefundId, request) {
|
|
182
|
+
async update(insuranceRefundId, request = {}) {
|
|
183
183
|
const _response = await core.fetcher({
|
|
184
184
|
url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, `/api/insurance-refunds/v1/${await serializers.insuranceRefunds.v1.InsuranceRefundId.jsonOrThrow(insuranceRefundId)}`),
|
|
185
185
|
method: "PATCH",
|
|
@@ -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.14.
|
|
190
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
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.14.
|
|
228
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
229
229
|
},
|
|
230
230
|
contentType: "application/json",
|
|
231
231
|
timeoutMs: 60000,
|
package/api/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts
CHANGED
|
@@ -5,8 +5,6 @@ import * as CandidApi from "../../../../../..";
|
|
|
5
5
|
export interface InsuranceRefundUpdate {
|
|
6
6
|
refundTimestamp?: Date;
|
|
7
7
|
refundNote?: CandidApi.NoteUpdate;
|
|
8
|
-
payerIdentifier
|
|
9
|
-
allocations?: CandidApi.AllocationAmountUpdate;
|
|
10
|
-
invoice?: CandidApi.InvoiceUpdate;
|
|
8
|
+
payerIdentifier?: CandidApi.payers.v3.PayerIdentifier;
|
|
11
9
|
refundReason?: CandidApi.RefundReasonUpdate;
|
|
12
10
|
}
|
|
@@ -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.14.
|
|
52
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
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.14.
|
|
118
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
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.14.
|
|
148
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
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.14.
|
|
195
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
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.14.
|
|
52
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
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.14.
|
|
106
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
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.14.
|
|
136
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
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.14.
|
|
180
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
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.14.
|
|
225
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
226
226
|
},
|
|
227
227
|
contentType: "application/json",
|
|
228
228
|
timeoutMs: 60000,
|
|
@@ -93,7 +93,7 @@ class V4 {
|
|
|
93
93
|
Authorization: await this._getAuthorizationHeader(),
|
|
94
94
|
"X-Fern-Language": "JavaScript",
|
|
95
95
|
"X-Fern-SDK-Name": "candidhealth",
|
|
96
|
-
"X-Fern-SDK-Version": "0.14.
|
|
96
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
97
97
|
},
|
|
98
98
|
contentType: "application/json",
|
|
99
99
|
queryParameters: _queryParams,
|
|
@@ -127,7 +127,7 @@ class V4 {
|
|
|
127
127
|
Authorization: await this._getAuthorizationHeader(),
|
|
128
128
|
"X-Fern-Language": "JavaScript",
|
|
129
129
|
"X-Fern-SDK-Name": "candidhealth",
|
|
130
|
-
"X-Fern-SDK-Version": "0.14.
|
|
130
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
131
131
|
},
|
|
132
132
|
contentType: "application/json",
|
|
133
133
|
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.14.
|
|
165
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
166
166
|
},
|
|
167
167
|
contentType: "application/json",
|
|
168
168
|
body: await serializers.patientPayments.v4.PatientPaymentCreate.jsonOrThrow(request, {
|
|
@@ -198,7 +198,7 @@ class V4 {
|
|
|
198
198
|
Authorization: await this._getAuthorizationHeader(),
|
|
199
199
|
"X-Fern-Language": "JavaScript",
|
|
200
200
|
"X-Fern-SDK-Name": "candidhealth",
|
|
201
|
-
"X-Fern-SDK-Version": "0.14.
|
|
201
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
202
202
|
},
|
|
203
203
|
contentType: "application/json",
|
|
204
204
|
body: await serializers.patientPayments.v4.PatientPaymentUpdate.jsonOrThrow(request, {
|
|
@@ -234,7 +234,7 @@ class V4 {
|
|
|
234
234
|
Authorization: await this._getAuthorizationHeader(),
|
|
235
235
|
"X-Fern-Language": "JavaScript",
|
|
236
236
|
"X-Fern-SDK-Name": "candidhealth",
|
|
237
|
-
"X-Fern-SDK-Version": "0.14.
|
|
237
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
238
238
|
},
|
|
239
239
|
contentType: "application/json",
|
|
240
240
|
timeoutMs: 60000,
|
|
@@ -93,7 +93,7 @@ class V1 {
|
|
|
93
93
|
Authorization: await this._getAuthorizationHeader(),
|
|
94
94
|
"X-Fern-Language": "JavaScript",
|
|
95
95
|
"X-Fern-SDK-Name": "candidhealth",
|
|
96
|
-
"X-Fern-SDK-Version": "0.14.
|
|
96
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
97
97
|
},
|
|
98
98
|
contentType: "application/json",
|
|
99
99
|
queryParameters: _queryParams,
|
|
@@ -127,7 +127,7 @@ class V1 {
|
|
|
127
127
|
Authorization: await this._getAuthorizationHeader(),
|
|
128
128
|
"X-Fern-Language": "JavaScript",
|
|
129
129
|
"X-Fern-SDK-Name": "candidhealth",
|
|
130
|
-
"X-Fern-SDK-Version": "0.14.
|
|
130
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
131
131
|
},
|
|
132
132
|
contentType: "application/json",
|
|
133
133
|
timeoutMs: 60000,
|
|
@@ -162,7 +162,7 @@ class V1 {
|
|
|
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.14.
|
|
165
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
166
166
|
},
|
|
167
167
|
contentType: "application/json",
|
|
168
168
|
body: await serializers.patientRefunds.v1.PatientRefundCreate.jsonOrThrow(request, {
|
|
@@ -198,7 +198,7 @@ class V1 {
|
|
|
198
198
|
Authorization: await this._getAuthorizationHeader(),
|
|
199
199
|
"X-Fern-Language": "JavaScript",
|
|
200
200
|
"X-Fern-SDK-Name": "candidhealth",
|
|
201
|
-
"X-Fern-SDK-Version": "0.14.
|
|
201
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
202
202
|
},
|
|
203
203
|
contentType: "application/json",
|
|
204
204
|
body: await serializers.patientRefunds.v1.PatientRefundUpdate.jsonOrThrow(request, {
|
|
@@ -234,7 +234,7 @@ class V1 {
|
|
|
234
234
|
Authorization: await this._getAuthorizationHeader(),
|
|
235
235
|
"X-Fern-Language": "JavaScript",
|
|
236
236
|
"X-Fern-SDK-Name": "candidhealth",
|
|
237
|
-
"X-Fern-SDK-Version": "0.14.
|
|
237
|
+
"X-Fern-SDK-Version": "0.14.2",
|
|
238
238
|
},
|
|
239
239
|
contentType: "application/json",
|
|
240
240
|
timeoutMs: 60000,
|
|
@@ -6,7 +6,6 @@ export interface PatientRefundUpdate {
|
|
|
6
6
|
refundTimestamp?: Date;
|
|
7
7
|
refundNote?: CandidApi.NoteUpdate;
|
|
8
8
|
patientExternalId?: CandidApi.PatientExternalId;
|
|
9
|
-
allocations?: CandidApi.AllocationAmountUpdate;
|
|
10
9
|
invoice?: CandidApi.InvoiceUpdate;
|
|
11
10
|
refundReason?: CandidApi.RefundReasonUpdate;
|
|
12
11
|
}
|