candidhealth 0.37.0 → 0.38.1
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 +3 -3
- package/api/resources/chargeCapture/resources/v1/client/Client.d.ts +7 -4
- package/api/resources/chargeCapture/resources/v1/client/Client.js +19 -28
- package/api/resources/chargeCapture/resources/v1/client/delete.d.ts +1 -7
- package/api/resources/chargeCapture/resources/v1/client/delete.js +0 -11
- package/api/resources/chargeCapture/resources/v1/client/getAll.d.ts +1 -7
- package/api/resources/chargeCapture/resources/v1/client/getAll.js +0 -11
- package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +10 -3
- package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +9 -2
- package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +8 -2
- package/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +6 -1
- package/api/resources/commons/types/index.d.ts +0 -1
- package/api/resources/commons/types/index.js +0 -1
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
- package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/api/resources/diagnoses/client/Client.js +3 -3
- package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/api/resources/encounters/resources/v4/client/Client.d.ts +4 -2
- package/api/resources/encounters/resources/v4/client/Client.js +11 -7
- package/api/resources/encounters/resources/v4/client/create.d.ts +7 -1
- package/api/resources/encounters/resources/v4/client/create.js +11 -0
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +2 -1
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +2 -1
- package/api/resources/encounters/resources/v4/client/update.d.ts +7 -1
- package/api/resources/encounters/resources/v4/client/update.js +11 -0
- package/api/resources/{commons/types/NotImplementedErrorMessage.d.ts → encounters/resources/v4/types/InvalidTagNamesErrorType.d.ts} +2 -2
- package/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/api/resources/encounters/resources/v4/types/index.js +1 -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/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- 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/medicationDispense/resources/v1/client/Client.js +2 -1
- package/api/resources/medicationDispense/resources/v1/client/create.d.ts +7 -1
- package/api/resources/medicationDispense/resources/v1/client/create.js +11 -0
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
- 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/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
- package/api/resources/preEncounter/resources/common/types/ResourcePage.d.ts +1 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.d.ts +3 -1
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.js +2 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.d.ts +2 -1
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.js +1 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.d.ts +1 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.d.ts +2 -0
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +9 -9
- package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceFacility/types/EncounterServiceFacility.d.ts +6 -0
- package/api/resources/serviceFacility/types/EncounterServiceFacilityBase.d.ts +6 -0
- package/api/resources/serviceFacility/types/EncounterServiceFacilityUpdate.d.ts +6 -0
- package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
- 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/x12/resources/v1/types/Rarc.d.ts +4 -1
- package/api/resources/x12/resources/v1/types/Rarc.js +3 -0
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +7 -4
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +19 -28
- package/dist/api/resources/chargeCapture/resources/v1/client/delete.d.ts +1 -7
- package/dist/api/resources/chargeCapture/resources/v1/client/delete.js +0 -11
- package/dist/api/resources/chargeCapture/resources/v1/client/getAll.d.ts +1 -7
- package/dist/api/resources/chargeCapture/resources/v1/client/getAll.js +0 -11
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +10 -3
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +9 -2
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +8 -2
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +6 -1
- package/dist/api/resources/commons/types/index.d.ts +0 -1
- package/dist/api/resources/commons/types/index.js +0 -1
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/diagnoses/client/Client.js +3 -3
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +4 -2
- package/dist/api/resources/encounters/resources/v4/client/Client.js +11 -7
- package/dist/api/resources/encounters/resources/v4/client/create.d.ts +7 -1
- package/dist/api/resources/encounters/resources/v4/client/create.js +11 -0
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +2 -1
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +2 -1
- package/dist/api/resources/encounters/resources/v4/client/update.d.ts +7 -1
- package/dist/api/resources/encounters/resources/v4/client/update.js +11 -0
- package/dist/api/resources/{commons/types/NotImplementedErrorMessage.d.ts → encounters/resources/v4/types/InvalidTagNamesErrorType.d.ts} +2 -2
- package/dist/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/dist/api/resources/encounters/resources/v4/types/index.js +1 -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/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- 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/medicationDispense/resources/v1/client/Client.js +2 -1
- package/dist/api/resources/medicationDispense/resources/v1/client/create.d.ts +7 -1
- package/dist/api/resources/medicationDispense/resources/v1/client/create.js +11 -0
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
- 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/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/preEncounter/resources/common/types/ResourcePage.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.d.ts +3 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.js +2 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.d.ts +2 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.js +1 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +9 -9
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/serviceFacility/types/EncounterServiceFacility.d.ts +6 -0
- package/dist/api/resources/serviceFacility/types/EncounterServiceFacilityBase.d.ts +6 -0
- package/dist/api/resources/serviceFacility/types/EncounterServiceFacilityUpdate.d.ts +6 -0
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
- 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/x12/resources/v1/types/Rarc.d.ts +4 -1
- package/dist/api/resources/x12/resources/v1/types/Rarc.js +3 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/delete.d.ts +1 -6
- package/dist/serialization/resources/chargeCapture/resources/v1/client/delete.js +0 -6
- package/dist/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +0 -1
- package/dist/serialization/resources/chargeCapture/resources/v1/client/index.js +1 -2
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +2 -2
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.js +2 -2
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +2 -2
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.js +2 -2
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +2 -2
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +2 -2
- package/dist/serialization/resources/commons/types/index.d.ts +0 -1
- package/dist/serialization/resources/commons/types/index.js +0 -1
- package/dist/serialization/resources/encounters/resources/v4/client/create.d.ts +6 -1
- package/dist/serialization/resources/encounters/resources/v4/client/create.js +6 -0
- package/dist/serialization/resources/encounters/resources/v4/client/update.d.ts +6 -1
- package/dist/serialization/resources/encounters/resources/v4/client/update.js +6 -0
- package/dist/serialization/resources/encounters/resources/v4/types/InvalidTagNamesErrorType.d.ts +12 -0
- package/dist/serialization/resources/{commons/types/NotImplementedErrorMessage.js → encounters/resources/v4/types/InvalidTagNamesErrorType.js} +4 -4
- package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/index.js +1 -0
- package/dist/serialization/resources/medicationDispense/resources/v1/client/create.d.ts +6 -1
- package/dist/serialization/resources/medicationDispense/resources/v1/client/create.js +6 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/ResourcePage.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/ResourcePage.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.d.ts +1 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.js +2 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.d.ts +1 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.js +2 -0
- package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacility.d.ts +1 -0
- package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacility.js +1 -0
- package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityBase.d.ts +1 -0
- package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityBase.js +1 -0
- package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdate.d.ts +1 -0
- package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdate.js +1 -0
- package/dist/serialization/resources/x12/resources/v1/types/Rarc.d.ts +1 -1
- package/dist/serialization/resources/x12/resources/v1/types/Rarc.js +3 -0
- package/package.json +1 -1
- package/reference.md +8 -3
- package/serialization/resources/chargeCapture/resources/v1/client/delete.d.ts +1 -6
- package/serialization/resources/chargeCapture/resources/v1/client/delete.js +0 -6
- package/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +0 -1
- package/serialization/resources/chargeCapture/resources/v1/client/index.js +1 -2
- package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +2 -2
- package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.js +2 -2
- package/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +2 -2
- package/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.js +2 -2
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +2 -2
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +2 -2
- package/serialization/resources/commons/types/index.d.ts +0 -1
- package/serialization/resources/commons/types/index.js +0 -1
- package/serialization/resources/encounters/resources/v4/client/create.d.ts +6 -1
- package/serialization/resources/encounters/resources/v4/client/create.js +6 -0
- package/serialization/resources/encounters/resources/v4/client/update.d.ts +6 -1
- package/serialization/resources/encounters/resources/v4/client/update.js +6 -0
- package/serialization/resources/encounters/resources/v4/types/InvalidTagNamesErrorType.d.ts +12 -0
- package/serialization/resources/{commons/types/NotImplementedErrorMessage.js → encounters/resources/v4/types/InvalidTagNamesErrorType.js} +4 -4
- package/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/serialization/resources/encounters/resources/v4/types/index.js +1 -0
- package/serialization/resources/medicationDispense/resources/v1/client/create.d.ts +6 -1
- package/serialization/resources/medicationDispense/resources/v1/client/create.js +6 -0
- package/serialization/resources/preEncounter/resources/common/types/ResourcePage.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/common/types/ResourcePage.js +1 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.d.ts +1 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.js +2 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.d.ts +1 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.js +1 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.js +1 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.js +2 -0
- package/serialization/resources/serviceFacility/types/EncounterServiceFacility.d.ts +1 -0
- package/serialization/resources/serviceFacility/types/EncounterServiceFacility.js +1 -0
- package/serialization/resources/serviceFacility/types/EncounterServiceFacilityBase.d.ts +1 -0
- package/serialization/resources/serviceFacility/types/EncounterServiceFacilityBase.js +1 -0
- package/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdate.d.ts +1 -0
- package/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdate.js +1 -0
- package/serialization/resources/x12/resources/v1/types/Rarc.d.ts +1 -1
- package/serialization/resources/x12/resources/v1/types/Rarc.js +3 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/getAll.d.ts +0 -15
- package/dist/serialization/resources/chargeCapture/resources/v1/client/getAll.js +0 -61
- package/dist/serialization/resources/commons/types/NotImplementedErrorMessage.d.ts +0 -12
- package/serialization/resources/chargeCapture/resources/v1/client/getAll.d.ts +0 -15
- package/serialization/resources/chargeCapture/resources/v1/client/getAll.js +0 -61
- package/serialization/resources/commons/types/NotImplementedErrorMessage.d.ts +0 -12
- /package/api/resources/{commons/types/NotImplementedErrorMessage.js → encounters/resources/v4/types/InvalidTagNamesErrorType.js} +0 -0
- /package/dist/api/resources/{commons/types/NotImplementedErrorMessage.js → encounters/resources/v4/types/InvalidTagNamesErrorType.js} +0 -0
|
@@ -87,7 +87,7 @@ class V2 {
|
|
|
87
87
|
Authorization: yield this._getAuthorizationHeader(),
|
|
88
88
|
"X-Fern-Language": "JavaScript",
|
|
89
89
|
"X-Fern-SDK-Name": "candidhealth",
|
|
90
|
-
"X-Fern-SDK-Version": "0.
|
|
90
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
91
91
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
92
92
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
93
93
|
},
|
|
@@ -69,7 +69,7 @@ class V2 {
|
|
|
69
69
|
Authorization: yield this._getAuthorizationHeader(),
|
|
70
70
|
"X-Fern-Language": "JavaScript",
|
|
71
71
|
"X-Fern-SDK-Name": "candidhealth",
|
|
72
|
-
"X-Fern-SDK-Version": "0.
|
|
72
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
73
73
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
74
74
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
75
75
|
},
|
|
@@ -117,7 +117,7 @@ class V2 {
|
|
|
117
117
|
Authorization: yield this._getAuthorizationHeader(),
|
|
118
118
|
"X-Fern-Language": "JavaScript",
|
|
119
119
|
"X-Fern-SDK-Name": "candidhealth",
|
|
120
|
-
"X-Fern-SDK-Version": "0.
|
|
120
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
121
121
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
122
122
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
123
123
|
},
|
|
@@ -176,7 +176,7 @@ class V2 {
|
|
|
176
176
|
Authorization: yield this._getAuthorizationHeader(),
|
|
177
177
|
"X-Fern-Language": "JavaScript",
|
|
178
178
|
"X-Fern-SDK-Name": "candidhealth",
|
|
179
|
-
"X-Fern-SDK-Version": "0.
|
|
179
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
180
180
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
181
181
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
182
182
|
},
|
|
@@ -130,8 +130,9 @@ export declare class V1 {
|
|
|
130
130
|
* initialReferringProvider: {},
|
|
131
131
|
* referralNumber: "string"
|
|
132
132
|
* },
|
|
133
|
-
*
|
|
133
|
+
* chargeExternalId: "string",
|
|
134
134
|
* ehrSourceUrl: "string",
|
|
135
|
+
* dateOfService: "2023-01-15",
|
|
135
136
|
* patientExternalId: "string",
|
|
136
137
|
* status: CandidApi.chargeCapture.v1.ChargeCaptureStatus.Planned
|
|
137
138
|
* })
|
|
@@ -255,10 +256,11 @@ export declare class V1 {
|
|
|
255
256
|
* initialReferringProvider: {},
|
|
256
257
|
* referralNumber: "string"
|
|
257
258
|
* },
|
|
258
|
-
*
|
|
259
|
+
* chargeExternalId: "string",
|
|
259
260
|
* ehrSourceUrl: "string",
|
|
260
261
|
* patientExternalId: "string",
|
|
261
|
-
* status: CandidApi.chargeCapture.v1.ChargeCaptureStatus.Planned
|
|
262
|
+
* status: CandidApi.chargeCapture.v1.ChargeCaptureStatus.Planned,
|
|
263
|
+
* dateOfService: "2023-01-15"
|
|
262
264
|
* })
|
|
263
265
|
*/
|
|
264
266
|
update(chargeCaptureId: CandidApi.ChargeCaptureId, request?: CandidApi.chargeCapture.v1.ChargeCaptureUpdate, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.chargeCapture.v1.ChargeCapture, CandidApi.chargeCapture.v1.update.Error>>;
|
|
@@ -280,7 +282,8 @@ export declare class V1 {
|
|
|
280
282
|
* pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
|
|
281
283
|
* patientExternalId: "string",
|
|
282
284
|
* status: CandidApi.chargeCapture.v1.ChargeCaptureStatus.Planned,
|
|
283
|
-
*
|
|
285
|
+
* chargeExternalId: "string",
|
|
286
|
+
* dateOfService: "2023-01-15"
|
|
284
287
|
* })
|
|
285
288
|
*/
|
|
286
289
|
getAll(request?: CandidApi.chargeCapture.v1.GetAllChargeCapturesRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.chargeCapture.v1.ChargeCapturePage, CandidApi.chargeCapture.v1.getAll.Error>>;
|
|
@@ -157,8 +157,9 @@ class V1 {
|
|
|
157
157
|
* initialReferringProvider: {},
|
|
158
158
|
* referralNumber: "string"
|
|
159
159
|
* },
|
|
160
|
-
*
|
|
160
|
+
* chargeExternalId: "string",
|
|
161
161
|
* ehrSourceUrl: "string",
|
|
162
|
+
* dateOfService: "2023-01-15",
|
|
162
163
|
* patientExternalId: "string",
|
|
163
164
|
* status: CandidApi.chargeCapture.v1.ChargeCaptureStatus.Planned
|
|
164
165
|
* })
|
|
@@ -174,7 +175,7 @@ class V1 {
|
|
|
174
175
|
Authorization: yield this._getAuthorizationHeader(),
|
|
175
176
|
"X-Fern-Language": "JavaScript",
|
|
176
177
|
"X-Fern-SDK-Name": "candidhealth",
|
|
177
|
-
"X-Fern-SDK-Version": "0.
|
|
178
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
178
179
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
179
180
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
180
181
|
},
|
|
@@ -240,7 +241,7 @@ class V1 {
|
|
|
240
241
|
Authorization: yield this._getAuthorizationHeader(),
|
|
241
242
|
"X-Fern-Language": "JavaScript",
|
|
242
243
|
"X-Fern-SDK-Name": "candidhealth",
|
|
243
|
-
"X-Fern-SDK-Version": "0.
|
|
244
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
244
245
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
245
246
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
246
247
|
},
|
|
@@ -260,7 +261,6 @@ class V1 {
|
|
|
260
261
|
switch ((_b = _response.error.body) === null || _b === void 0 ? void 0 : _b.errorName) {
|
|
261
262
|
case "EntityNotFoundError":
|
|
262
263
|
case "UnauthorizedError":
|
|
263
|
-
case "NotImplementedError":
|
|
264
264
|
return {
|
|
265
265
|
ok: false,
|
|
266
266
|
error: serializers.chargeCapture.v1.delete.Error.parseOrThrow(_response.error.body, {
|
|
@@ -388,10 +388,11 @@ class V1 {
|
|
|
388
388
|
* initialReferringProvider: {},
|
|
389
389
|
* referralNumber: "string"
|
|
390
390
|
* },
|
|
391
|
-
*
|
|
391
|
+
* chargeExternalId: "string",
|
|
392
392
|
* ehrSourceUrl: "string",
|
|
393
393
|
* patientExternalId: "string",
|
|
394
|
-
* status: CandidApi.chargeCapture.v1.ChargeCaptureStatus.Planned
|
|
394
|
+
* status: CandidApi.chargeCapture.v1.ChargeCaptureStatus.Planned,
|
|
395
|
+
* dateOfService: "2023-01-15"
|
|
395
396
|
* })
|
|
396
397
|
*/
|
|
397
398
|
update(chargeCaptureId, request = {}, requestOptions) {
|
|
@@ -405,7 +406,7 @@ class V1 {
|
|
|
405
406
|
Authorization: yield this._getAuthorizationHeader(),
|
|
406
407
|
"X-Fern-Language": "JavaScript",
|
|
407
408
|
"X-Fern-SDK-Name": "candidhealth",
|
|
408
|
-
"X-Fern-SDK-Version": "0.
|
|
409
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
409
410
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
410
411
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
411
412
|
},
|
|
@@ -471,7 +472,7 @@ class V1 {
|
|
|
471
472
|
Authorization: yield this._getAuthorizationHeader(),
|
|
472
473
|
"X-Fern-Language": "JavaScript",
|
|
473
474
|
"X-Fern-SDK-Name": "candidhealth",
|
|
474
|
-
"X-Fern-SDK-Version": "0.
|
|
475
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
475
476
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
476
477
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
477
478
|
},
|
|
@@ -508,13 +509,14 @@ class V1 {
|
|
|
508
509
|
* pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
|
|
509
510
|
* patientExternalId: "string",
|
|
510
511
|
* status: CandidApi.chargeCapture.v1.ChargeCaptureStatus.Planned,
|
|
511
|
-
*
|
|
512
|
+
* chargeExternalId: "string",
|
|
513
|
+
* dateOfService: "2023-01-15"
|
|
512
514
|
* })
|
|
513
515
|
*/
|
|
514
516
|
getAll(request = {}, requestOptions) {
|
|
515
|
-
var _a
|
|
517
|
+
var _a;
|
|
516
518
|
return __awaiter(this, void 0, void 0, function* () {
|
|
517
|
-
const { limit, pageToken, patientExternalId, status,
|
|
519
|
+
const { limit, pageToken, patientExternalId, status, chargeExternalId, dateOfService } = request;
|
|
518
520
|
const _queryParams = {};
|
|
519
521
|
if (limit != null) {
|
|
520
522
|
_queryParams["limit"] = limit.toString();
|
|
@@ -528,8 +530,11 @@ class V1 {
|
|
|
528
530
|
if (status != null) {
|
|
529
531
|
_queryParams["status"] = status;
|
|
530
532
|
}
|
|
531
|
-
if (
|
|
532
|
-
_queryParams["
|
|
533
|
+
if (chargeExternalId != null) {
|
|
534
|
+
_queryParams["charge_external_id"] = chargeExternalId;
|
|
535
|
+
}
|
|
536
|
+
if (dateOfService != null) {
|
|
537
|
+
_queryParams["date_of_service"] = dateOfService;
|
|
533
538
|
}
|
|
534
539
|
const _response = yield core.fetcher({
|
|
535
540
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
@@ -539,7 +544,7 @@ class V1 {
|
|
|
539
544
|
Authorization: yield this._getAuthorizationHeader(),
|
|
540
545
|
"X-Fern-Language": "JavaScript",
|
|
541
546
|
"X-Fern-SDK-Name": "candidhealth",
|
|
542
|
-
"X-Fern-SDK-Version": "0.
|
|
547
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
543
548
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
544
549
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
545
550
|
},
|
|
@@ -561,20 +566,6 @@ class V1 {
|
|
|
561
566
|
}),
|
|
562
567
|
};
|
|
563
568
|
}
|
|
564
|
-
if (_response.error.reason === "status-code") {
|
|
565
|
-
switch ((_b = _response.error.body) === null || _b === void 0 ? void 0 : _b.errorName) {
|
|
566
|
-
case "NotImplementedError":
|
|
567
|
-
return {
|
|
568
|
-
ok: false,
|
|
569
|
-
error: serializers.chargeCapture.v1.getAll.Error.parseOrThrow(_response.error.body, {
|
|
570
|
-
unrecognizedObjectKeys: "passthrough",
|
|
571
|
-
allowUnrecognizedUnionMembers: true,
|
|
572
|
-
allowUnrecognizedEnumValues: true,
|
|
573
|
-
breadcrumbsPrefix: ["response"],
|
|
574
|
-
}),
|
|
575
|
-
};
|
|
576
|
-
}
|
|
577
|
-
}
|
|
578
569
|
return {
|
|
579
570
|
ok: false,
|
|
580
571
|
error: CandidApi.chargeCapture.v1.getAll.Error._unknown(_response.error),
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../../../../index";
|
|
5
5
|
import * as core from "../../../../../../core";
|
|
6
|
-
export declare type Error = CandidApi.chargeCapture.v1.delete.Error.EntityNotFoundError | CandidApi.chargeCapture.v1.delete.Error.UnauthorizedError | CandidApi.chargeCapture.v1.delete.Error.
|
|
6
|
+
export declare type Error = CandidApi.chargeCapture.v1.delete.Error.EntityNotFoundError | CandidApi.chargeCapture.v1.delete.Error.UnauthorizedError | CandidApi.chargeCapture.v1.delete.Error._Unknown;
|
|
7
7
|
export declare namespace Error {
|
|
8
8
|
interface EntityNotFoundError extends _Utils {
|
|
9
9
|
errorName: "EntityNotFoundError";
|
|
@@ -13,10 +13,6 @@ export declare namespace Error {
|
|
|
13
13
|
errorName: "UnauthorizedError";
|
|
14
14
|
content: CandidApi.UnauthorizedErrorMessage;
|
|
15
15
|
}
|
|
16
|
-
interface NotImplementedError extends _Utils {
|
|
17
|
-
errorName: "NotImplementedError";
|
|
18
|
-
content: CandidApi.NotImplementedErrorMessage;
|
|
19
|
-
}
|
|
20
16
|
interface _Unknown extends _Utils {
|
|
21
17
|
errorName: void;
|
|
22
18
|
content: core.Fetcher.Error;
|
|
@@ -27,14 +23,12 @@ export declare namespace Error {
|
|
|
27
23
|
interface _Visitor<_Result> {
|
|
28
24
|
entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
|
|
29
25
|
unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => _Result;
|
|
30
|
-
notImplementedError: (value: CandidApi.NotImplementedErrorMessage) => _Result;
|
|
31
26
|
_other: (value: core.Fetcher.Error) => _Result;
|
|
32
27
|
}
|
|
33
28
|
}
|
|
34
29
|
export declare const Error: {
|
|
35
30
|
readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.chargeCapture.v1.delete.Error.EntityNotFoundError;
|
|
36
31
|
readonly unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => CandidApi.chargeCapture.v1.delete.Error.UnauthorizedError;
|
|
37
|
-
readonly notImplementedError: (value: CandidApi.NotImplementedErrorMessage) => CandidApi.chargeCapture.v1.delete.Error.NotImplementedError;
|
|
38
32
|
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.chargeCapture.v1.delete.Error._Unknown;
|
|
39
33
|
readonly _visit: <_Result>(value: CandidApi.chargeCapture.v1.delete.Error, visitor: CandidApi.chargeCapture.v1.delete.Error._Visitor<_Result>) => _Result;
|
|
40
34
|
};
|
|
@@ -47,15 +47,6 @@ exports.Error = {
|
|
|
47
47
|
},
|
|
48
48
|
};
|
|
49
49
|
},
|
|
50
|
-
notImplementedError: (value) => {
|
|
51
|
-
return {
|
|
52
|
-
content: value,
|
|
53
|
-
errorName: "NotImplementedError",
|
|
54
|
-
_visit: function (visitor) {
|
|
55
|
-
return CandidApi.chargeCapture.v1.delete.Error._visit(this, visitor);
|
|
56
|
-
},
|
|
57
|
-
};
|
|
58
|
-
},
|
|
59
50
|
_unknown: (fetcherError) => {
|
|
60
51
|
return {
|
|
61
52
|
errorName: undefined,
|
|
@@ -71,8 +62,6 @@ exports.Error = {
|
|
|
71
62
|
return visitor.entityNotFoundError(value.content);
|
|
72
63
|
case "UnauthorizedError":
|
|
73
64
|
return visitor.unauthorizedError(value.content);
|
|
74
|
-
case "NotImplementedError":
|
|
75
|
-
return visitor.notImplementedError(value.content);
|
|
76
65
|
default:
|
|
77
66
|
return visitor._other(value);
|
|
78
67
|
}
|
|
@@ -3,12 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../../../../index";
|
|
5
5
|
import * as core from "../../../../../../core";
|
|
6
|
-
export declare type Error = CandidApi.chargeCapture.v1.getAll.Error.
|
|
6
|
+
export declare type Error = CandidApi.chargeCapture.v1.getAll.Error._Unknown;
|
|
7
7
|
export declare namespace Error {
|
|
8
|
-
interface NotImplementedError extends _Utils {
|
|
9
|
-
errorName: "NotImplementedError";
|
|
10
|
-
content: CandidApi.NotImplementedErrorMessage;
|
|
11
|
-
}
|
|
12
8
|
interface _Unknown extends _Utils {
|
|
13
9
|
errorName: void;
|
|
14
10
|
content: core.Fetcher.Error;
|
|
@@ -17,12 +13,10 @@ export declare namespace Error {
|
|
|
17
13
|
_visit: <_Result>(visitor: CandidApi.chargeCapture.v1.getAll.Error._Visitor<_Result>) => _Result;
|
|
18
14
|
}
|
|
19
15
|
interface _Visitor<_Result> {
|
|
20
|
-
notImplementedError: (value: CandidApi.NotImplementedErrorMessage) => _Result;
|
|
21
16
|
_other: (value: core.Fetcher.Error) => _Result;
|
|
22
17
|
}
|
|
23
18
|
}
|
|
24
19
|
export declare const Error: {
|
|
25
|
-
readonly notImplementedError: (value: CandidApi.NotImplementedErrorMessage) => CandidApi.chargeCapture.v1.getAll.Error.NotImplementedError;
|
|
26
20
|
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.chargeCapture.v1.getAll.Error._Unknown;
|
|
27
21
|
readonly _visit: <_Result>(value: CandidApi.chargeCapture.v1.getAll.Error, visitor: CandidApi.chargeCapture.v1.getAll.Error._Visitor<_Result>) => _Result;
|
|
28
22
|
};
|
|
@@ -29,15 +29,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.Error = void 0;
|
|
30
30
|
const CandidApi = __importStar(require("../../../../../index"));
|
|
31
31
|
exports.Error = {
|
|
32
|
-
notImplementedError: (value) => {
|
|
33
|
-
return {
|
|
34
|
-
content: value,
|
|
35
|
-
errorName: "NotImplementedError",
|
|
36
|
-
_visit: function (visitor) {
|
|
37
|
-
return CandidApi.chargeCapture.v1.getAll.Error._visit(this, visitor);
|
|
38
|
-
},
|
|
39
|
-
};
|
|
40
|
-
},
|
|
41
32
|
_unknown: (fetcherError) => {
|
|
42
33
|
return {
|
|
43
34
|
errorName: undefined,
|
|
@@ -49,8 +40,6 @@ exports.Error = {
|
|
|
49
40
|
},
|
|
50
41
|
_visit: (value, visitor) => {
|
|
51
42
|
switch (value.errorName) {
|
|
52
|
-
case "NotImplementedError":
|
|
53
|
-
return visitor.notImplementedError(value.content);
|
|
54
43
|
default:
|
|
55
44
|
return visitor._other(value);
|
|
56
45
|
}
|
|
@@ -108,10 +108,11 @@ import * as CandidApi from "../../../../../../index";
|
|
|
108
108
|
* initialReferringProvider: {},
|
|
109
109
|
* referralNumber: "string"
|
|
110
110
|
* },
|
|
111
|
-
*
|
|
111
|
+
* chargeExternalId: "string",
|
|
112
112
|
* ehrSourceUrl: "string",
|
|
113
113
|
* patientExternalId: "string",
|
|
114
|
-
* status: CandidApi.chargeCapture.v1.ChargeCaptureStatus.Planned
|
|
114
|
+
* status: CandidApi.chargeCapture.v1.ChargeCaptureStatus.Planned,
|
|
115
|
+
* dateOfService: "2023-01-15"
|
|
115
116
|
* }
|
|
116
117
|
*/
|
|
117
118
|
export interface ChargeCaptureUpdate {
|
|
@@ -122,7 +123,7 @@ export interface ChargeCaptureUpdate {
|
|
|
122
123
|
* This field should not contain PHI.
|
|
123
124
|
*
|
|
124
125
|
*/
|
|
125
|
-
|
|
126
|
+
chargeExternalId?: string;
|
|
126
127
|
/**
|
|
127
128
|
* External URL reference that links to Charge Capture details within the external system (e.g. the EHR visit page).
|
|
128
129
|
* Send full URL format for the external link (e.g. https://emr_charge_capture_url.com/123).
|
|
@@ -133,4 +134,10 @@ export interface ChargeCaptureUpdate {
|
|
|
133
134
|
patientExternalId?: string;
|
|
134
135
|
/** the status of the charge capture */
|
|
135
136
|
status?: CandidApi.chargeCapture.v1.ChargeCaptureStatus;
|
|
137
|
+
/**
|
|
138
|
+
* Date formatted as YYYY-MM-DD; eg: 2019-08-24.
|
|
139
|
+
* This date must be the local date in the timezone where the service occurred.
|
|
140
|
+
*
|
|
141
|
+
*/
|
|
142
|
+
dateOfService?: string;
|
|
136
143
|
}
|
package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts
CHANGED
|
@@ -108,8 +108,9 @@ import * as CandidApi from "../../../../../../index";
|
|
|
108
108
|
* initialReferringProvider: {},
|
|
109
109
|
* referralNumber: "string"
|
|
110
110
|
* },
|
|
111
|
-
*
|
|
111
|
+
* chargeExternalId: "string",
|
|
112
112
|
* ehrSourceUrl: "string",
|
|
113
|
+
* dateOfService: "2023-01-15",
|
|
113
114
|
* patientExternalId: "string",
|
|
114
115
|
* status: CandidApi.chargeCapture.v1.ChargeCaptureStatus.Planned
|
|
115
116
|
* }
|
|
@@ -124,12 +125,18 @@ export interface CreateChargeCaptureRequest {
|
|
|
124
125
|
* A client-specified unique ID to associate with this encounter; for example, your internal encounter ID or a Dr. Chrono encounter ID. This field should not contain PHI.
|
|
125
126
|
*
|
|
126
127
|
*/
|
|
127
|
-
|
|
128
|
+
chargeExternalId: string;
|
|
128
129
|
/**
|
|
129
130
|
* External URL reference that links to Charge Capture details within the external system (e.g. the EHR visit page). Send full URL format for the external link (e.g. https://emr_charge_capture_url.com/123).
|
|
130
131
|
*
|
|
131
132
|
*/
|
|
132
133
|
ehrSourceUrl?: string;
|
|
134
|
+
/**
|
|
135
|
+
* Date formatted as YYYY-MM-DD; eg: 2019-08-24.
|
|
136
|
+
* This date must be the local date in the timezone where the service occurred.
|
|
137
|
+
*
|
|
138
|
+
*/
|
|
139
|
+
dateOfService?: string;
|
|
133
140
|
/** The patient ID from the external EMR platform for the patient */
|
|
134
141
|
patientExternalId: string;
|
|
135
142
|
/** the status of the charge capture */
|
package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts
CHANGED
|
@@ -9,7 +9,8 @@ import * as CandidApi from "../../../../../../index";
|
|
|
9
9
|
* pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
|
|
10
10
|
* patientExternalId: "string",
|
|
11
11
|
* status: CandidApi.chargeCapture.v1.ChargeCaptureStatus.Planned,
|
|
12
|
-
*
|
|
12
|
+
* chargeExternalId: "string",
|
|
13
|
+
* dateOfService: "2023-01-15"
|
|
13
14
|
* }
|
|
14
15
|
*/
|
|
15
16
|
export interface GetAllChargeCapturesRequest {
|
|
@@ -31,5 +32,10 @@ export interface GetAllChargeCapturesRequest {
|
|
|
31
32
|
* for example, your internal encounter ID or a Dr. Chrono encounter ID.
|
|
32
33
|
* This field should not contain PHI.
|
|
33
34
|
*/
|
|
34
|
-
|
|
35
|
+
chargeExternalId?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Date formatted as YYYY-MM-DD; eg: 2019-08-24.
|
|
38
|
+
* This date must be the local date in the timezone where the service occurred.
|
|
39
|
+
*/
|
|
40
|
+
dateOfService?: string;
|
|
35
41
|
}
|
|
@@ -7,6 +7,11 @@ export interface ChargeCapture {
|
|
|
7
7
|
status: CandidApi.chargeCapture.v1.ChargeCaptureStatus;
|
|
8
8
|
chargeCaptureData: CandidApi.chargeCapture.v1.ChargeCaptureData;
|
|
9
9
|
patientExternalId: CandidApi.PatientExternalId;
|
|
10
|
-
|
|
10
|
+
chargeExternalId: string;
|
|
11
11
|
ehrSourceUrl?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Date formatted as YYYY-MM-DD; eg: 2019-08-24.
|
|
14
|
+
* This date must be the local date in the timezone where the service occurred.
|
|
15
|
+
*/
|
|
16
|
+
dateOfService?: string;
|
|
12
17
|
}
|
|
@@ -56,7 +56,6 @@ export * from "./HttpServiceUnavailableErrorMessage";
|
|
|
56
56
|
export * from "./RequestValidationError";
|
|
57
57
|
export * from "./UpdatesDisabledDueToExternalSystemIntegrationErrorMessage";
|
|
58
58
|
export * from "./OrganizationNotAuthorizedErrorMessage";
|
|
59
|
-
export * from "./NotImplementedErrorMessage";
|
|
60
59
|
export * from "./PhoneNumber";
|
|
61
60
|
export * from "./PhoneNumberType";
|
|
62
61
|
export * from "./Email";
|
|
@@ -72,7 +72,6 @@ __exportStar(require("./HttpServiceUnavailableErrorMessage"), exports);
|
|
|
72
72
|
__exportStar(require("./RequestValidationError"), exports);
|
|
73
73
|
__exportStar(require("./UpdatesDisabledDueToExternalSystemIntegrationErrorMessage"), exports);
|
|
74
74
|
__exportStar(require("./OrganizationNotAuthorizedErrorMessage"), exports);
|
|
75
|
-
__exportStar(require("./NotImplementedErrorMessage"), exports);
|
|
76
75
|
__exportStar(require("./PhoneNumber"), exports);
|
|
77
76
|
__exportStar(require("./PhoneNumberType"), exports);
|
|
78
77
|
__exportStar(require("./Email"), exports);
|
|
@@ -66,7 +66,7 @@ class V2 {
|
|
|
66
66
|
Authorization: yield this._getAuthorizationHeader(),
|
|
67
67
|
"X-Fern-Language": "JavaScript",
|
|
68
68
|
"X-Fern-SDK-Name": "candidhealth",
|
|
69
|
-
"X-Fern-SDK-Version": "0.
|
|
69
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
70
70
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
71
71
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
72
72
|
},
|
|
@@ -171,7 +171,7 @@ class V2 {
|
|
|
171
171
|
Authorization: yield this._getAuthorizationHeader(),
|
|
172
172
|
"X-Fern-Language": "JavaScript",
|
|
173
173
|
"X-Fern-SDK-Name": "candidhealth",
|
|
174
|
-
"X-Fern-SDK-Version": "0.
|
|
174
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
175
175
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
176
176
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
177
177
|
},
|
|
@@ -246,7 +246,7 @@ class V2 {
|
|
|
246
246
|
Authorization: yield this._getAuthorizationHeader(),
|
|
247
247
|
"X-Fern-Language": "JavaScript",
|
|
248
248
|
"X-Fern-SDK-Name": "candidhealth",
|
|
249
|
-
"X-Fern-SDK-Version": "0.
|
|
249
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
250
250
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
251
251
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
252
252
|
},
|
|
@@ -292,7 +292,7 @@ class V2 {
|
|
|
292
292
|
Authorization: yield this._getAuthorizationHeader(),
|
|
293
293
|
"X-Fern-Language": "JavaScript",
|
|
294
294
|
"X-Fern-SDK-Name": "candidhealth",
|
|
295
|
-
"X-Fern-SDK-Version": "0.
|
|
295
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
296
296
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
297
297
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
298
298
|
},
|
|
@@ -380,7 +380,7 @@ class V2 {
|
|
|
380
380
|
Authorization: yield this._getAuthorizationHeader(),
|
|
381
381
|
"X-Fern-Language": "JavaScript",
|
|
382
382
|
"X-Fern-SDK-Name": "candidhealth",
|
|
383
|
-
"X-Fern-SDK-Version": "0.
|
|
383
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
384
384
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
385
385
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
386
386
|
},
|
|
@@ -78,7 +78,7 @@ class V2 {
|
|
|
78
78
|
Authorization: yield this._getAuthorizationHeader(),
|
|
79
79
|
"X-Fern-Language": "JavaScript",
|
|
80
80
|
"X-Fern-SDK-Name": "candidhealth",
|
|
81
|
-
"X-Fern-SDK-Version": "0.
|
|
81
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
82
82
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
83
83
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
84
84
|
},
|
|
@@ -141,7 +141,7 @@ class V2 {
|
|
|
141
141
|
Authorization: yield this._getAuthorizationHeader(),
|
|
142
142
|
"X-Fern-Language": "JavaScript",
|
|
143
143
|
"X-Fern-SDK-Name": "candidhealth",
|
|
144
|
-
"X-Fern-SDK-Version": "0.
|
|
144
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
145
145
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
146
146
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
147
147
|
},
|
|
@@ -228,7 +228,7 @@ class V2 {
|
|
|
228
228
|
Authorization: yield this._getAuthorizationHeader(),
|
|
229
229
|
"X-Fern-Language": "JavaScript",
|
|
230
230
|
"X-Fern-SDK-Name": "candidhealth",
|
|
231
|
-
"X-Fern-SDK-Version": "0.
|
|
231
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
232
232
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
233
233
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
234
234
|
},
|
|
@@ -291,7 +291,7 @@ class V2 {
|
|
|
291
291
|
Authorization: yield this._getAuthorizationHeader(),
|
|
292
292
|
"X-Fern-Language": "JavaScript",
|
|
293
293
|
"X-Fern-SDK-Name": "candidhealth",
|
|
294
|
-
"X-Fern-SDK-Version": "0.
|
|
294
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
295
295
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
296
296
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
297
297
|
},
|
|
@@ -358,7 +358,7 @@ class V2 {
|
|
|
358
358
|
Authorization: yield this._getAuthorizationHeader(),
|
|
359
359
|
"X-Fern-Language": "JavaScript",
|
|
360
360
|
"X-Fern-SDK-Name": "candidhealth",
|
|
361
|
-
"X-Fern-SDK-Version": "0.
|
|
361
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
362
362
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
363
363
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
364
364
|
},
|
|
@@ -67,7 +67,7 @@ class V1 {
|
|
|
67
67
|
Authorization: yield this._getAuthorizationHeader(),
|
|
68
68
|
"X-Fern-Language": "JavaScript",
|
|
69
69
|
"X-Fern-SDK-Name": "candidhealth",
|
|
70
|
-
"X-Fern-SDK-Version": "0.
|
|
70
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
71
71
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
72
72
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
73
73
|
},
|
|
@@ -128,7 +128,7 @@ class V1 {
|
|
|
128
128
|
Authorization: yield this._getAuthorizationHeader(),
|
|
129
129
|
"X-Fern-Language": "JavaScript",
|
|
130
130
|
"X-Fern-SDK-Name": "candidhealth",
|
|
131
|
-
"X-Fern-SDK-Version": "0.
|
|
131
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
132
132
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
133
133
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
134
134
|
},
|
|
@@ -207,7 +207,7 @@ class V1 {
|
|
|
207
207
|
Authorization: yield this._getAuthorizationHeader(),
|
|
208
208
|
"X-Fern-Language": "JavaScript",
|
|
209
209
|
"X-Fern-SDK-Name": "candidhealth",
|
|
210
|
-
"X-Fern-SDK-Version": "0.
|
|
210
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
211
211
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
212
212
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
213
213
|
},
|
|
@@ -277,7 +277,7 @@ class V1 {
|
|
|
277
277
|
Authorization: yield this._getAuthorizationHeader(),
|
|
278
278
|
"X-Fern-Language": "JavaScript",
|
|
279
279
|
"X-Fern-SDK-Name": "candidhealth",
|
|
280
|
-
"X-Fern-SDK-Version": "0.
|
|
280
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
281
281
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
282
282
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
283
283
|
},
|
|
@@ -73,7 +73,7 @@ class Diagnoses {
|
|
|
73
73
|
Authorization: yield this._getAuthorizationHeader(),
|
|
74
74
|
"X-Fern-Language": "JavaScript",
|
|
75
75
|
"X-Fern-SDK-Name": "candidhealth",
|
|
76
|
-
"X-Fern-SDK-Version": "0.
|
|
76
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
77
77
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
78
78
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
79
79
|
},
|
|
@@ -126,7 +126,7 @@ class Diagnoses {
|
|
|
126
126
|
Authorization: yield this._getAuthorizationHeader(),
|
|
127
127
|
"X-Fern-Language": "JavaScript",
|
|
128
128
|
"X-Fern-SDK-Name": "candidhealth",
|
|
129
|
-
"X-Fern-SDK-Version": "0.
|
|
129
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
130
130
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
131
131
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
132
132
|
},
|
|
@@ -188,7 +188,7 @@ class Diagnoses {
|
|
|
188
188
|
Authorization: yield this._getAuthorizationHeader(),
|
|
189
189
|
"X-Fern-Language": "JavaScript",
|
|
190
190
|
"X-Fern-SDK-Name": "candidhealth",
|
|
191
|
-
"X-Fern-SDK-Version": "0.
|
|
191
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
192
192
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
193
193
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
194
194
|
},
|
|
@@ -83,7 +83,7 @@ class V2 {
|
|
|
83
83
|
Authorization: yield this._getAuthorizationHeader(),
|
|
84
84
|
"X-Fern-Language": "JavaScript",
|
|
85
85
|
"X-Fern-SDK-Name": "candidhealth",
|
|
86
|
-
"X-Fern-SDK-Version": "0.
|
|
86
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
87
87
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
88
88
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
89
89
|
},
|
|
@@ -156,7 +156,7 @@ class V2 {
|
|
|
156
156
|
Authorization: yield this._getAuthorizationHeader(),
|
|
157
157
|
"X-Fern-Language": "JavaScript",
|
|
158
158
|
"X-Fern-SDK-Name": "candidhealth",
|
|
159
|
-
"X-Fern-SDK-Version": "0.
|
|
159
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
160
160
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
161
161
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
162
162
|
},
|
|
@@ -227,7 +227,7 @@ class V2 {
|
|
|
227
227
|
Authorization: yield this._getAuthorizationHeader(),
|
|
228
228
|
"X-Fern-Language": "JavaScript",
|
|
229
229
|
"X-Fern-SDK-Name": "candidhealth",
|
|
230
|
-
"X-Fern-SDK-Version": "0.
|
|
230
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
231
231
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
232
232
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
233
233
|
},
|