candidhealth 0.34.9 → 0.35.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/Client.d.ts +3 -0
- package/Client.js +61 -56
- 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/commons/types/ProviderCredentialingSpanId.d.ts +8 -0
- package/api/resources/commons/types/ProviderCredentialingSpanId.js +10 -0
- package/api/resources/commons/types/index.d.ts +1 -0
- package/api/resources/commons/types/index.js +1 -0
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/credentialing/client/Client.d.ts +26 -0
- package/api/resources/credentialing/client/Client.js +17 -0
- package/api/resources/credentialing/client/index.d.ts +1 -0
- package/api/resources/credentialing/client/index.js +2 -0
- package/api/resources/credentialing/index.d.ts +2 -0
- package/api/resources/credentialing/index.js +18 -0
- package/api/resources/credentialing/resources/index.d.ts +1 -0
- package/api/resources/credentialing/resources/index.js +27 -0
- package/api/resources/credentialing/resources/v2/client/Client.d.ts +97 -0
- package/api/resources/credentialing/resources/v2/client/Client.js +413 -0
- package/api/resources/credentialing/resources/v2/client/create.d.ts +34 -0
- package/api/resources/credentialing/resources/v2/client/create.js +69 -0
- package/api/resources/credentialing/resources/v2/client/delete.d.ts +34 -0
- package/api/resources/credentialing/resources/v2/client/delete.js +69 -0
- package/api/resources/credentialing/resources/v2/client/get.d.ts +34 -0
- package/api/resources/credentialing/resources/v2/client/get.js +69 -0
- package/api/resources/credentialing/resources/v2/client/getAll.d.ts +28 -0
- package/api/resources/credentialing/resources/v2/client/getAll.js +58 -0
- package/api/resources/credentialing/resources/v2/client/index.d.ts +6 -0
- package/api/resources/credentialing/resources/v2/client/index.js +35 -0
- package/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +33 -0
- package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +44 -0
- package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +41 -0
- package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.js +5 -0
- package/api/resources/credentialing/resources/v2/client/requests/index.d.ts +3 -0
- package/api/resources/credentialing/resources/v2/client/requests/index.js +2 -0
- package/api/resources/credentialing/resources/v2/client/update.d.ts +46 -0
- package/api/resources/credentialing/resources/v2/client/update.js +91 -0
- package/api/resources/credentialing/resources/v2/index.d.ts +2 -0
- package/api/resources/credentialing/resources/v2/index.js +18 -0
- package/api/resources/credentialing/resources/v2/types/CredentialingSpanStatus.d.ts +13 -0
- package/api/resources/credentialing/resources/v2/types/CredentialingSpanStatus.js +12 -0
- package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +31 -0
- package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +5 -0
- package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.d.ts +8 -0
- package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.js +10 -0
- package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.d.ts +7 -0
- package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.js +5 -0
- package/api/resources/credentialing/resources/v2/types/index.d.ts +4 -0
- package/api/resources/credentialing/resources/v2/types/index.js +20 -0
- 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 -5
- package/api/resources/encounters/resources/v4/client/Client.js +9 -11
- package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +1 -7
- package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +0 -11
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +7 -2
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +1 -2
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +16 -2
- package/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +0 -2
- package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +14 -2
- package/api/resources/encounters/resources/v4/types/index.d.ts +0 -1
- package/api/resources/encounters/resources/v4/types/index.js +0 -1
- 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.d.ts +3 -2
- package/api/resources/exports/resources/v3/client/Client.js +4 -3
- 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/guarantor/resources/v1/types/GuarantorBase.d.ts +1 -1
- package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/api/resources/index.d.ts +2 -0
- package/api/resources/index.js +3 -1
- package/api/resources/individual/types/Patient.d.ts +14 -2
- package/api/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +7 -1
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +4 -18
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +7 -21
- package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -0
- 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 +1 -1
- 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/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +8 -1
- package/api/resources/organizationProviders/resources/v3/client/Client.d.ts +2 -8
- package/api/resources/organizationProviders/resources/v3/client/Client.js +6 -12
- 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.d.ts +8 -46
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +14 -52
- package/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.d.ts +2 -1
- package/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.js +1 -0
- package/api/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +1 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +8 -64
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +16 -72
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +1 -0
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.d.ts +2 -2
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +4 -4
- package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +3 -3
- package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +5 -2
- package/api/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.d.ts +1 -0
- package/api/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.d.ts +11 -0
- package/api/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.js +10 -0
- package/api/resources/preEncounter/resources/lists/resources/v1/types/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/lists/resources/v1/types/index.js +1 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +223 -316
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +295 -326
- package/api/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.d.ts +40 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.js +80 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +26 -159
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +175 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.js +5 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.d.ts +10 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.js +12 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.d.ts +7 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.js +5 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.d.ts +8 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.js +5 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +3 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +3 -0
- package/api/resources/remitDrafts/index.d.ts +1 -0
- package/api/resources/remitDrafts/index.js +17 -0
- package/api/resources/remitDrafts/resources/index.d.ts +1 -0
- package/api/resources/remitDrafts/resources/index.js +27 -0
- package/api/resources/remitDrafts/resources/v1/index.d.ts +1 -0
- package/api/resources/remitDrafts/resources/v1/index.js +17 -0
- package/api/resources/remitDrafts/resources/v1/types/RemitDraftId.d.ts +8 -0
- package/api/resources/remitDrafts/resources/v1/types/RemitDraftId.js +10 -0
- package/api/resources/remitDrafts/resources/v1/types/index.d.ts +1 -0
- package/api/resources/remitDrafts/resources/v1/types/index.js +17 -0
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceLines/resources/v2/client/Client.d.ts +15 -0
- package/api/resources/serviceLines/resources/v2/client/Client.js +18 -3
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +5 -0
- 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 +8 -1
- package/api/resources/x12/resources/v1/types/Rarc.js +7 -0
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +61 -56
- 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/commons/types/ProviderCredentialingSpanId.d.ts +8 -0
- package/dist/api/resources/commons/types/ProviderCredentialingSpanId.js +10 -0
- package/dist/api/resources/commons/types/index.d.ts +1 -0
- package/dist/api/resources/commons/types/index.js +1 -0
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/credentialing/client/Client.d.ts +26 -0
- package/dist/api/resources/credentialing/client/Client.js +17 -0
- package/dist/api/resources/credentialing/client/index.d.ts +1 -0
- package/dist/api/resources/credentialing/client/index.js +2 -0
- package/dist/api/resources/credentialing/index.d.ts +2 -0
- package/dist/api/resources/credentialing/index.js +18 -0
- package/dist/api/resources/credentialing/resources/index.d.ts +1 -0
- package/dist/api/resources/credentialing/resources/index.js +27 -0
- package/dist/api/resources/credentialing/resources/v2/client/Client.d.ts +97 -0
- package/dist/api/resources/credentialing/resources/v2/client/Client.js +413 -0
- package/dist/api/resources/credentialing/resources/v2/client/create.d.ts +34 -0
- package/dist/api/resources/credentialing/resources/v2/client/create.js +69 -0
- package/dist/api/resources/credentialing/resources/v2/client/delete.d.ts +34 -0
- package/dist/api/resources/credentialing/resources/v2/client/delete.js +69 -0
- package/dist/api/resources/credentialing/resources/v2/client/get.d.ts +34 -0
- package/dist/api/resources/credentialing/resources/v2/client/get.js +69 -0
- package/dist/api/resources/credentialing/resources/v2/client/getAll.d.ts +28 -0
- package/dist/api/resources/credentialing/resources/v2/client/getAll.js +58 -0
- package/dist/api/resources/credentialing/resources/v2/client/index.d.ts +6 -0
- package/dist/api/resources/credentialing/resources/v2/client/index.js +35 -0
- package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +33 -0
- package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.js +5 -0
- package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +44 -0
- package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.js +5 -0
- package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +41 -0
- package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.js +5 -0
- package/dist/api/resources/credentialing/resources/v2/client/requests/index.d.ts +3 -0
- package/dist/api/resources/credentialing/resources/v2/client/requests/index.js +2 -0
- package/dist/api/resources/credentialing/resources/v2/client/update.d.ts +46 -0
- package/dist/api/resources/credentialing/resources/v2/client/update.js +91 -0
- package/dist/api/resources/credentialing/resources/v2/index.d.ts +2 -0
- package/dist/api/resources/credentialing/resources/v2/index.js +18 -0
- package/dist/api/resources/credentialing/resources/v2/types/CredentialingSpanStatus.d.ts +13 -0
- package/dist/api/resources/credentialing/resources/v2/types/CredentialingSpanStatus.js +12 -0
- package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +31 -0
- package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +5 -0
- package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.d.ts +8 -0
- package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.js +10 -0
- package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.d.ts +7 -0
- package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.js +5 -0
- package/dist/api/resources/credentialing/resources/v2/types/index.d.ts +4 -0
- package/dist/api/resources/credentialing/resources/v2/types/index.js +20 -0
- 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 -5
- package/dist/api/resources/encounters/resources/v4/client/Client.js +9 -11
- package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +1 -7
- package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +0 -11
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +7 -2
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +1 -2
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +16 -2
- package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +0 -2
- package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +14 -2
- package/dist/api/resources/encounters/resources/v4/types/index.d.ts +0 -1
- package/dist/api/resources/encounters/resources/v4/types/index.js +0 -1
- 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.d.ts +3 -2
- package/dist/api/resources/exports/resources/v3/client/Client.js +4 -3
- 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/guarantor/resources/v1/types/GuarantorBase.d.ts +1 -1
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/index.d.ts +2 -0
- package/dist/api/resources/index.js +3 -1
- package/dist/api/resources/individual/types/Patient.d.ts +14 -2
- package/dist/api/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +7 -1
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +4 -18
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +7 -21
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -0
- 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 +1 -1
- 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/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +8 -1
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.d.ts +2 -8
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +6 -12
- 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.d.ts +8 -46
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +14 -52
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.d.ts +2 -1
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.js +1 -0
- package/dist/api/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +8 -64
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +16 -72
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.d.ts +2 -2
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +3 -3
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +5 -2
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.d.ts +11 -0
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.js +10 -0
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/index.js +1 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +223 -316
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +295 -326
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.d.ts +40 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.js +80 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +26 -159
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +175 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.js +5 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.d.ts +10 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.js +12 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.d.ts +7 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.js +5 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.d.ts +8 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.js +5 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +3 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +3 -0
- package/dist/api/resources/remitDrafts/index.d.ts +1 -0
- package/dist/api/resources/remitDrafts/index.js +17 -0
- package/dist/api/resources/remitDrafts/resources/index.d.ts +1 -0
- package/dist/api/resources/remitDrafts/resources/index.js +27 -0
- package/dist/api/resources/remitDrafts/resources/v1/index.d.ts +1 -0
- package/dist/api/resources/remitDrafts/resources/v1/index.js +17 -0
- package/dist/api/resources/remitDrafts/resources/v1/types/RemitDraftId.d.ts +8 -0
- package/dist/api/resources/remitDrafts/resources/v1/types/RemitDraftId.js +10 -0
- package/dist/api/resources/remitDrafts/resources/v1/types/index.d.ts +1 -0
- package/dist/api/resources/remitDrafts/resources/v1/types/index.js +17 -0
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +15 -0
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +18 -3
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +5 -0
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/x12/resources/v1/types/Rarc.d.ts +8 -1
- package/dist/api/resources/x12/resources/v1/types/Rarc.js +7 -0
- package/dist/serialization/resources/commons/types/ProviderCredentialingSpanId.d.ts +10 -0
- package/dist/serialization/resources/commons/types/ProviderCredentialingSpanId.js +35 -0
- package/dist/serialization/resources/commons/types/index.d.ts +1 -0
- package/dist/serialization/resources/commons/types/index.js +1 -0
- package/dist/serialization/resources/credentialing/index.d.ts +1 -0
- package/dist/serialization/resources/credentialing/index.js +17 -0
- package/dist/serialization/resources/credentialing/resources/index.d.ts +1 -0
- package/dist/serialization/resources/credentialing/resources/index.js +27 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/create.d.ts +20 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/create.js +67 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/delete.d.ts +20 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/delete.js +67 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/get.d.ts +20 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/get.js +67 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/getAll.d.ts +15 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/getAll.js +61 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/index.d.ts +6 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/index.js +35 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +20 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.js +41 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +19 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.js +40 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/requests/index.js +7 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/update.d.ts +30 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/update.js +79 -0
- package/dist/serialization/resources/credentialing/resources/v2/index.d.ts +2 -0
- package/dist/serialization/resources/credentialing/resources/v2/index.js +18 -0
- package/dist/serialization/resources/credentialing/resources/v2/types/CredentialingSpanStatus.d.ts +10 -0
- package/dist/serialization/resources/{encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js → credentialing/resources/v2/types/CredentialingSpanStatus.js} +2 -4
- package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +29 -0
- package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +50 -0
- package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.d.ts +10 -0
- package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.js +35 -0
- package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.d.ts +14 -0
- package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.js +37 -0
- package/dist/serialization/resources/credentialing/resources/v2/types/index.d.ts +4 -0
- package/dist/serialization/resources/credentialing/resources/v2/types/index.js +20 -0
- package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +1 -6
- package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +0 -6
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +0 -1
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.js +0 -1
- package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +0 -1
- package/dist/serialization/resources/encounters/resources/v4/types/index.js +0 -1
- package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorBase.d.ts +1 -1
- package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorBase.js +1 -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/InsuranceAdjudicationCreate.d.ts +2 -0
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +2 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +2 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.js +2 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.d.ts +1 -1
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.js +2 -0
- package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.js +35 -0
- package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/index.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.d.ts +25 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.js +73 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.js +31 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.d.ts +13 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.js +36 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +2 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.d.ts +13 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.js +36 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +3 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +3 -0
- package/dist/serialization/resources/remitDrafts/index.d.ts +1 -0
- package/dist/serialization/resources/remitDrafts/index.js +17 -0
- package/dist/serialization/resources/remitDrafts/resources/index.d.ts +1 -0
- package/dist/serialization/resources/remitDrafts/resources/index.js +27 -0
- package/dist/serialization/resources/remitDrafts/resources/v1/index.d.ts +1 -0
- package/dist/serialization/resources/remitDrafts/resources/v1/index.js +17 -0
- package/dist/serialization/resources/remitDrafts/resources/v1/types/RemitDraftId.d.ts +10 -0
- package/dist/serialization/resources/remitDrafts/resources/v1/types/RemitDraftId.js +35 -0
- package/dist/serialization/resources/remitDrafts/resources/v1/types/index.d.ts +1 -0
- package/dist/serialization/resources/remitDrafts/resources/v1/types/index.js +17 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +2 -0
- package/dist/serialization/resources/x12/resources/v1/types/Rarc.d.ts +1 -1
- package/dist/serialization/resources/x12/resources/v1/types/Rarc.js +7 -0
- package/package.json +1 -1
- package/reference.md +622 -457
- package/serialization/resources/commons/types/ProviderCredentialingSpanId.d.ts +10 -0
- package/serialization/resources/commons/types/ProviderCredentialingSpanId.js +35 -0
- package/serialization/resources/commons/types/index.d.ts +1 -0
- package/serialization/resources/commons/types/index.js +1 -0
- package/serialization/resources/credentialing/index.d.ts +1 -0
- package/serialization/resources/credentialing/index.js +17 -0
- package/serialization/resources/credentialing/resources/index.d.ts +1 -0
- package/serialization/resources/credentialing/resources/index.js +27 -0
- package/serialization/resources/credentialing/resources/v2/client/create.d.ts +20 -0
- package/serialization/resources/credentialing/resources/v2/client/create.js +67 -0
- package/serialization/resources/credentialing/resources/v2/client/delete.d.ts +20 -0
- package/serialization/resources/credentialing/resources/v2/client/delete.js +67 -0
- package/serialization/resources/credentialing/resources/v2/client/get.d.ts +20 -0
- package/serialization/resources/credentialing/resources/v2/client/get.js +67 -0
- package/serialization/resources/credentialing/resources/v2/client/getAll.d.ts +15 -0
- package/serialization/resources/credentialing/resources/v2/client/getAll.js +61 -0
- package/serialization/resources/credentialing/resources/v2/client/index.d.ts +6 -0
- package/serialization/resources/credentialing/resources/v2/client/index.js +35 -0
- package/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +20 -0
- package/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.js +41 -0
- package/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +19 -0
- package/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.js +40 -0
- package/serialization/resources/credentialing/resources/v2/client/requests/index.d.ts +2 -0
- package/serialization/resources/credentialing/resources/v2/client/requests/index.js +7 -0
- package/serialization/resources/credentialing/resources/v2/client/update.d.ts +30 -0
- package/serialization/resources/credentialing/resources/v2/client/update.js +79 -0
- package/serialization/resources/credentialing/resources/v2/index.d.ts +2 -0
- package/serialization/resources/credentialing/resources/v2/index.js +18 -0
- package/serialization/resources/credentialing/resources/v2/types/CredentialingSpanStatus.d.ts +10 -0
- package/serialization/resources/{encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js → credentialing/resources/v2/types/CredentialingSpanStatus.js} +2 -4
- package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +29 -0
- package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +50 -0
- package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.d.ts +10 -0
- package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.js +35 -0
- package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.d.ts +14 -0
- package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.js +37 -0
- package/serialization/resources/credentialing/resources/v2/types/index.d.ts +4 -0
- package/serialization/resources/credentialing/resources/v2/types/index.js +20 -0
- package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +1 -6
- package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +0 -6
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +0 -1
- package/serialization/resources/encounters/resources/v4/types/EncounterBase.js +0 -1
- package/serialization/resources/encounters/resources/v4/types/index.d.ts +0 -1
- package/serialization/resources/encounters/resources/v4/types/index.js +0 -1
- package/serialization/resources/guarantor/resources/v1/types/GuarantorBase.d.ts +1 -1
- package/serialization/resources/guarantor/resources/v1/types/GuarantorBase.js +1 -1
- package/serialization/resources/index.d.ts +2 -0
- package/serialization/resources/index.js +3 -1
- package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +2 -0
- package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +2 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +2 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.js +2 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.d.ts +1 -1
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.js +1 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.js +1 -0
- package/serialization/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.js +2 -0
- package/serialization/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.js +35 -0
- package/serialization/resources/preEncounter/resources/lists/resources/v1/types/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/lists/resources/v1/types/index.js +1 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.d.ts +25 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.js +73 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.js +31 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.d.ts +13 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.js +36 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +2 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.d.ts +13 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.js +36 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +3 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +3 -0
- package/serialization/resources/remitDrafts/index.d.ts +1 -0
- package/serialization/resources/remitDrafts/index.js +17 -0
- package/serialization/resources/remitDrafts/resources/index.d.ts +1 -0
- package/serialization/resources/remitDrafts/resources/index.js +27 -0
- package/serialization/resources/remitDrafts/resources/v1/index.d.ts +1 -0
- package/serialization/resources/remitDrafts/resources/v1/index.js +17 -0
- package/serialization/resources/remitDrafts/resources/v1/types/RemitDraftId.d.ts +10 -0
- package/serialization/resources/remitDrafts/resources/v1/types/RemitDraftId.js +35 -0
- package/serialization/resources/remitDrafts/resources/v1/types/index.d.ts +1 -0
- package/serialization/resources/remitDrafts/resources/v1/types/index.js +17 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +2 -0
- package/serialization/resources/x12/resources/v1/types/Rarc.d.ts +1 -1
- package/serialization/resources/x12/resources/v1/types/Rarc.js +7 -0
- package/api/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +0 -6
- package/dist/api/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +0 -6
- package/dist/serialization/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +0 -12
- package/serialization/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +0 -12
- /package/api/resources/{encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js → credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.js} +0 -0
- /package/{dist/api/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js → api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.js} +0 -0
package/dist/Client.js
CHANGED
|
@@ -41,34 +41,35 @@ const Client_1 = require("./api/resources/auth/resources/v2/client/Client");
|
|
|
41
41
|
const Client_2 = require("./api/resources/auth/client/Client");
|
|
42
42
|
const Client_3 = require("./api/resources/billingNotes/client/Client");
|
|
43
43
|
const Client_4 = require("./api/resources/contracts/client/Client");
|
|
44
|
-
const Client_5 = require("./api/resources/
|
|
45
|
-
const Client_6 = require("./api/resources/
|
|
46
|
-
const Client_7 = require("./api/resources/
|
|
47
|
-
const Client_8 = require("./api/resources/
|
|
48
|
-
const Client_9 = require("./api/resources/
|
|
49
|
-
const Client_10 = require("./api/resources/
|
|
50
|
-
const Client_11 = require("./api/resources/
|
|
51
|
-
const Client_12 = require("./api/resources/
|
|
52
|
-
const Client_13 = require("./api/resources/
|
|
53
|
-
const Client_14 = require("./api/resources/
|
|
54
|
-
const Client_15 = require("./api/resources/
|
|
55
|
-
const Client_16 = require("./api/resources/
|
|
56
|
-
const Client_17 = require("./api/resources/
|
|
57
|
-
const Client_18 = require("./api/resources/
|
|
58
|
-
const Client_19 = require("./api/resources/
|
|
59
|
-
const Client_20 = require("./api/resources/
|
|
60
|
-
const Client_21 = require("./api/resources/
|
|
61
|
-
const Client_22 = require("./api/resources/
|
|
62
|
-
const Client_23 = require("./api/resources/
|
|
63
|
-
const Client_24 = require("./api/resources/
|
|
64
|
-
const Client_25 = require("./api/resources/
|
|
65
|
-
const Client_26 = require("./api/resources/
|
|
66
|
-
const Client_27 = require("./api/resources/
|
|
67
|
-
const Client_28 = require("./api/resources/
|
|
68
|
-
const Client_29 = require("./api/resources/
|
|
69
|
-
const Client_30 = require("./api/resources/
|
|
70
|
-
const Client_31 = require("./api/resources/
|
|
71
|
-
const Client_32 = require("./api/resources/
|
|
44
|
+
const Client_5 = require("./api/resources/credentialing/client/Client");
|
|
45
|
+
const Client_6 = require("./api/resources/customSchemas/client/Client");
|
|
46
|
+
const Client_7 = require("./api/resources/eligibility/client/Client");
|
|
47
|
+
const Client_8 = require("./api/resources/encounterProviders/client/Client");
|
|
48
|
+
const Client_9 = require("./api/resources/encounters/client/Client");
|
|
49
|
+
const Client_10 = require("./api/resources/expectedNetworkStatus/client/Client");
|
|
50
|
+
const Client_11 = require("./api/resources/exports/client/Client");
|
|
51
|
+
const Client_12 = require("./api/resources/externalPaymentAccountConfig/client/Client");
|
|
52
|
+
const Client_13 = require("./api/resources/feeSchedules/client/Client");
|
|
53
|
+
const Client_14 = require("./api/resources/guarantor/client/Client");
|
|
54
|
+
const Client_15 = require("./api/resources/importInvoice/client/Client");
|
|
55
|
+
const Client_16 = require("./api/resources/insuranceAdjudications/client/Client");
|
|
56
|
+
const Client_17 = require("./api/resources/insurancePayments/client/Client");
|
|
57
|
+
const Client_18 = require("./api/resources/insuranceRefunds/client/Client");
|
|
58
|
+
const Client_19 = require("./api/resources/medicationDispense/client/Client");
|
|
59
|
+
const Client_20 = require("./api/resources/nonInsurancePayerPayments/client/Client");
|
|
60
|
+
const Client_21 = require("./api/resources/nonInsurancePayerRefunds/client/Client");
|
|
61
|
+
const Client_22 = require("./api/resources/nonInsurancePayers/client/Client");
|
|
62
|
+
const Client_23 = require("./api/resources/organizationServiceFacilities/client/Client");
|
|
63
|
+
const Client_24 = require("./api/resources/organizationProviders/client/Client");
|
|
64
|
+
const Client_25 = require("./api/resources/patientPayments/client/Client");
|
|
65
|
+
const Client_26 = require("./api/resources/patientRefunds/client/Client");
|
|
66
|
+
const Client_27 = require("./api/resources/payers/client/Client");
|
|
67
|
+
const Client_28 = require("./api/resources/serviceLines/client/Client");
|
|
68
|
+
const Client_29 = require("./api/resources/tasks/client/Client");
|
|
69
|
+
const Client_30 = require("./api/resources/writeOffs/client/Client");
|
|
70
|
+
const Client_31 = require("./api/resources/preEncounter/client/Client");
|
|
71
|
+
const Client_32 = require("./api/resources/diagnoses/client/Client");
|
|
72
|
+
const Client_33 = require("./api/resources/serviceFacility/client/Client");
|
|
72
73
|
class CandidApiClient {
|
|
73
74
|
constructor(_options) {
|
|
74
75
|
this._options = _options;
|
|
@@ -92,117 +93,121 @@ class CandidApiClient {
|
|
|
92
93
|
var _a;
|
|
93
94
|
return ((_a = this._contracts) !== null && _a !== void 0 ? _a : (this._contracts = new Client_4.Contracts(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
94
95
|
}
|
|
96
|
+
get credentialing() {
|
|
97
|
+
var _a;
|
|
98
|
+
return ((_a = this._credentialing) !== null && _a !== void 0 ? _a : (this._credentialing = new Client_5.Credentialing(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
99
|
+
}
|
|
95
100
|
get customSchemas() {
|
|
96
101
|
var _a;
|
|
97
|
-
return ((_a = this._customSchemas) !== null && _a !== void 0 ? _a : (this._customSchemas = new
|
|
102
|
+
return ((_a = this._customSchemas) !== null && _a !== void 0 ? _a : (this._customSchemas = new Client_6.CustomSchemas(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
98
103
|
}
|
|
99
104
|
get eligibility() {
|
|
100
105
|
var _a;
|
|
101
|
-
return ((_a = this._eligibility) !== null && _a !== void 0 ? _a : (this._eligibility = new
|
|
106
|
+
return ((_a = this._eligibility) !== null && _a !== void 0 ? _a : (this._eligibility = new Client_7.Eligibility(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
102
107
|
}
|
|
103
108
|
get encounterProviders() {
|
|
104
109
|
var _a;
|
|
105
|
-
return ((_a = this._encounterProviders) !== null && _a !== void 0 ? _a : (this._encounterProviders = new
|
|
110
|
+
return ((_a = this._encounterProviders) !== null && _a !== void 0 ? _a : (this._encounterProviders = new Client_8.EncounterProviders(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
106
111
|
}
|
|
107
112
|
get encounters() {
|
|
108
113
|
var _a;
|
|
109
|
-
return ((_a = this._encounters) !== null && _a !== void 0 ? _a : (this._encounters = new
|
|
114
|
+
return ((_a = this._encounters) !== null && _a !== void 0 ? _a : (this._encounters = new Client_9.Encounters(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
110
115
|
}
|
|
111
116
|
get expectedNetworkStatus() {
|
|
112
117
|
var _a;
|
|
113
|
-
return ((_a = this._expectedNetworkStatus) !== null && _a !== void 0 ? _a : (this._expectedNetworkStatus = new
|
|
118
|
+
return ((_a = this._expectedNetworkStatus) !== null && _a !== void 0 ? _a : (this._expectedNetworkStatus = new Client_10.ExpectedNetworkStatus(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
114
119
|
}
|
|
115
120
|
get exports() {
|
|
116
121
|
var _a;
|
|
117
|
-
return ((_a = this._exports) !== null && _a !== void 0 ? _a : (this._exports = new
|
|
122
|
+
return ((_a = this._exports) !== null && _a !== void 0 ? _a : (this._exports = new Client_11.Exports(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
118
123
|
}
|
|
119
124
|
get externalPaymentAccountConfig() {
|
|
120
125
|
var _a;
|
|
121
|
-
return ((_a = this._externalPaymentAccountConfig) !== null && _a !== void 0 ? _a : (this._externalPaymentAccountConfig = new
|
|
126
|
+
return ((_a = this._externalPaymentAccountConfig) !== null && _a !== void 0 ? _a : (this._externalPaymentAccountConfig = new Client_12.ExternalPaymentAccountConfig(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
122
127
|
}
|
|
123
128
|
get feeSchedules() {
|
|
124
129
|
var _a;
|
|
125
|
-
return ((_a = this._feeSchedules) !== null && _a !== void 0 ? _a : (this._feeSchedules = new
|
|
130
|
+
return ((_a = this._feeSchedules) !== null && _a !== void 0 ? _a : (this._feeSchedules = new Client_13.FeeSchedules(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
126
131
|
}
|
|
127
132
|
get guarantor() {
|
|
128
133
|
var _a;
|
|
129
|
-
return ((_a = this._guarantor) !== null && _a !== void 0 ? _a : (this._guarantor = new
|
|
134
|
+
return ((_a = this._guarantor) !== null && _a !== void 0 ? _a : (this._guarantor = new Client_14.Guarantor(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
130
135
|
}
|
|
131
136
|
get importInvoice() {
|
|
132
137
|
var _a;
|
|
133
|
-
return ((_a = this._importInvoice) !== null && _a !== void 0 ? _a : (this._importInvoice = new
|
|
138
|
+
return ((_a = this._importInvoice) !== null && _a !== void 0 ? _a : (this._importInvoice = new Client_15.ImportInvoice(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
134
139
|
}
|
|
135
140
|
get insuranceAdjudications() {
|
|
136
141
|
var _a;
|
|
137
|
-
return ((_a = this._insuranceAdjudications) !== null && _a !== void 0 ? _a : (this._insuranceAdjudications = new
|
|
142
|
+
return ((_a = this._insuranceAdjudications) !== null && _a !== void 0 ? _a : (this._insuranceAdjudications = new Client_16.InsuranceAdjudications(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
138
143
|
}
|
|
139
144
|
get insurancePayments() {
|
|
140
145
|
var _a;
|
|
141
|
-
return ((_a = this._insurancePayments) !== null && _a !== void 0 ? _a : (this._insurancePayments = new
|
|
146
|
+
return ((_a = this._insurancePayments) !== null && _a !== void 0 ? _a : (this._insurancePayments = new Client_17.InsurancePayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
142
147
|
}
|
|
143
148
|
get insuranceRefunds() {
|
|
144
149
|
var _a;
|
|
145
|
-
return ((_a = this._insuranceRefunds) !== null && _a !== void 0 ? _a : (this._insuranceRefunds = new
|
|
150
|
+
return ((_a = this._insuranceRefunds) !== null && _a !== void 0 ? _a : (this._insuranceRefunds = new Client_18.InsuranceRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
146
151
|
}
|
|
147
152
|
get medicationDispense() {
|
|
148
153
|
var _a;
|
|
149
|
-
return ((_a = this._medicationDispense) !== null && _a !== void 0 ? _a : (this._medicationDispense = new
|
|
154
|
+
return ((_a = this._medicationDispense) !== null && _a !== void 0 ? _a : (this._medicationDispense = new Client_19.MedicationDispense(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
150
155
|
}
|
|
151
156
|
get nonInsurancePayerPayments() {
|
|
152
157
|
var _a;
|
|
153
|
-
return ((_a = this._nonInsurancePayerPayments) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerPayments = new
|
|
158
|
+
return ((_a = this._nonInsurancePayerPayments) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerPayments = new Client_20.NonInsurancePayerPayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
154
159
|
}
|
|
155
160
|
get nonInsurancePayerRefunds() {
|
|
156
161
|
var _a;
|
|
157
|
-
return ((_a = this._nonInsurancePayerRefunds) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerRefunds = new
|
|
162
|
+
return ((_a = this._nonInsurancePayerRefunds) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerRefunds = new Client_21.NonInsurancePayerRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
158
163
|
}
|
|
159
164
|
get nonInsurancePayers() {
|
|
160
165
|
var _a;
|
|
161
|
-
return ((_a = this._nonInsurancePayers) !== null && _a !== void 0 ? _a : (this._nonInsurancePayers = new
|
|
166
|
+
return ((_a = this._nonInsurancePayers) !== null && _a !== void 0 ? _a : (this._nonInsurancePayers = new Client_22.NonInsurancePayers(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
162
167
|
}
|
|
163
168
|
get organizationServiceFacilities() {
|
|
164
169
|
var _a;
|
|
165
|
-
return ((_a = this._organizationServiceFacilities) !== null && _a !== void 0 ? _a : (this._organizationServiceFacilities = new
|
|
170
|
+
return ((_a = this._organizationServiceFacilities) !== null && _a !== void 0 ? _a : (this._organizationServiceFacilities = new Client_23.OrganizationServiceFacilities(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
166
171
|
}
|
|
167
172
|
get organizationProviders() {
|
|
168
173
|
var _a;
|
|
169
|
-
return ((_a = this._organizationProviders) !== null && _a !== void 0 ? _a : (this._organizationProviders = new
|
|
174
|
+
return ((_a = this._organizationProviders) !== null && _a !== void 0 ? _a : (this._organizationProviders = new Client_24.OrganizationProviders(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
170
175
|
}
|
|
171
176
|
get patientPayments() {
|
|
172
177
|
var _a;
|
|
173
|
-
return ((_a = this._patientPayments) !== null && _a !== void 0 ? _a : (this._patientPayments = new
|
|
178
|
+
return ((_a = this._patientPayments) !== null && _a !== void 0 ? _a : (this._patientPayments = new Client_25.PatientPayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
174
179
|
}
|
|
175
180
|
get patientRefunds() {
|
|
176
181
|
var _a;
|
|
177
|
-
return ((_a = this._patientRefunds) !== null && _a !== void 0 ? _a : (this._patientRefunds = new
|
|
182
|
+
return ((_a = this._patientRefunds) !== null && _a !== void 0 ? _a : (this._patientRefunds = new Client_26.PatientRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
178
183
|
}
|
|
179
184
|
get payers() {
|
|
180
185
|
var _a;
|
|
181
|
-
return ((_a = this._payers) !== null && _a !== void 0 ? _a : (this._payers = new
|
|
186
|
+
return ((_a = this._payers) !== null && _a !== void 0 ? _a : (this._payers = new Client_27.Payers(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
182
187
|
}
|
|
183
188
|
get serviceLines() {
|
|
184
189
|
var _a;
|
|
185
|
-
return ((_a = this._serviceLines) !== null && _a !== void 0 ? _a : (this._serviceLines = new
|
|
190
|
+
return ((_a = this._serviceLines) !== null && _a !== void 0 ? _a : (this._serviceLines = new Client_28.ServiceLines(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
186
191
|
}
|
|
187
192
|
get tasks() {
|
|
188
193
|
var _a;
|
|
189
|
-
return ((_a = this._tasks) !== null && _a !== void 0 ? _a : (this._tasks = new
|
|
194
|
+
return ((_a = this._tasks) !== null && _a !== void 0 ? _a : (this._tasks = new Client_29.Tasks(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
190
195
|
}
|
|
191
196
|
get writeOffs() {
|
|
192
197
|
var _a;
|
|
193
|
-
return ((_a = this._writeOffs) !== null && _a !== void 0 ? _a : (this._writeOffs = new
|
|
198
|
+
return ((_a = this._writeOffs) !== null && _a !== void 0 ? _a : (this._writeOffs = new Client_30.WriteOffs(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
194
199
|
}
|
|
195
200
|
get preEncounter() {
|
|
196
201
|
var _a;
|
|
197
|
-
return ((_a = this._preEncounter) !== null && _a !== void 0 ? _a : (this._preEncounter = new
|
|
202
|
+
return ((_a = this._preEncounter) !== null && _a !== void 0 ? _a : (this._preEncounter = new Client_31.PreEncounter(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
198
203
|
}
|
|
199
204
|
get diagnoses() {
|
|
200
205
|
var _a;
|
|
201
|
-
return ((_a = this._diagnoses) !== null && _a !== void 0 ? _a : (this._diagnoses = new
|
|
206
|
+
return ((_a = this._diagnoses) !== null && _a !== void 0 ? _a : (this._diagnoses = new Client_32.Diagnoses(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
202
207
|
}
|
|
203
208
|
get serviceFacility() {
|
|
204
209
|
var _a;
|
|
205
|
-
return ((_a = this._serviceFacility) !== null && _a !== void 0 ? _a : (this._serviceFacility = new
|
|
210
|
+
return ((_a = this._serviceFacility) !== null && _a !== void 0 ? _a : (this._serviceFacility = new Client_33.ServiceFacility(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
206
211
|
}
|
|
207
212
|
}
|
|
208
213
|
exports.CandidApiClient = CandidApiClient;
|
|
@@ -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.35.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.35.1",
|
|
73
73
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
74
74
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
75
75
|
},
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../index";
|
|
5
|
+
export declare type ProviderCredentialingSpanId = string & {
|
|
6
|
+
ProviderCredentialingSpanId: void;
|
|
7
|
+
};
|
|
8
|
+
export declare function ProviderCredentialingSpanId(value: string): CandidApi.ProviderCredentialingSpanId;
|
|
@@ -0,0 +1,10 @@
|
|
|
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.ProviderCredentialingSpanId = void 0;
|
|
7
|
+
function ProviderCredentialingSpanId(value) {
|
|
8
|
+
return value;
|
|
9
|
+
}
|
|
10
|
+
exports.ProviderCredentialingSpanId = ProviderCredentialingSpanId;
|
|
@@ -18,6 +18,7 @@ export * from "./ProviderId";
|
|
|
18
18
|
export * from "./InvoiceId";
|
|
19
19
|
export * from "./RateId";
|
|
20
20
|
export * from "./SchemaId";
|
|
21
|
+
export * from "./ProviderCredentialingSpanId";
|
|
21
22
|
export * from "./Primitive";
|
|
22
23
|
export * from "./LinkUrl";
|
|
23
24
|
export * from "./PageToken";
|
|
@@ -34,6 +34,7 @@ __exportStar(require("./ProviderId"), exports);
|
|
|
34
34
|
__exportStar(require("./InvoiceId"), exports);
|
|
35
35
|
__exportStar(require("./RateId"), exports);
|
|
36
36
|
__exportStar(require("./SchemaId"), exports);
|
|
37
|
+
__exportStar(require("./ProviderCredentialingSpanId"), exports);
|
|
37
38
|
__exportStar(require("./Primitive"), exports);
|
|
38
39
|
__exportStar(require("./LinkUrl"), exports);
|
|
39
40
|
__exportStar(require("./PageToken"), 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.35.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.35.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.35.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.35.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.35.1",
|
|
384
384
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
385
385
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
386
386
|
},
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as environments from "../../../../environments";
|
|
5
|
+
import * as core from "../../../../core";
|
|
6
|
+
import { V2 } from "../resources/v2/client/Client";
|
|
7
|
+
export declare namespace Credentialing {
|
|
8
|
+
interface Options {
|
|
9
|
+
environment?: core.Supplier<environments.CandidApiEnvironment | environments.CandidApiEnvironmentUrls>;
|
|
10
|
+
token?: core.Supplier<core.BearerToken | undefined>;
|
|
11
|
+
}
|
|
12
|
+
interface RequestOptions {
|
|
13
|
+
/** The maximum time to wait for a response in seconds. */
|
|
14
|
+
timeoutInSeconds?: number;
|
|
15
|
+
/** The number of times to retry the request. Defaults to 2. */
|
|
16
|
+
maxRetries?: number;
|
|
17
|
+
/** A hook to abort the request. */
|
|
18
|
+
abortSignal?: AbortSignal;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
export declare class Credentialing {
|
|
22
|
+
protected readonly _options: Credentialing.Options;
|
|
23
|
+
constructor(_options?: Credentialing.Options);
|
|
24
|
+
protected _v2: V2 | undefined;
|
|
25
|
+
get v2(): V2;
|
|
26
|
+
}
|
|
@@ -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.Credentialing = void 0;
|
|
7
|
+
const Client_1 = require("../resources/v2/client/Client");
|
|
8
|
+
class Credentialing {
|
|
9
|
+
constructor(_options = {}) {
|
|
10
|
+
this._options = _options;
|
|
11
|
+
}
|
|
12
|
+
get v2() {
|
|
13
|
+
var _a;
|
|
14
|
+
return ((_a = this._v2) !== null && _a !== void 0 ? _a : (this._v2 = new Client_1.V2(this._options)));
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.Credentialing = Credentialing;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./resources"), exports);
|
|
18
|
+
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as v2 from "./v2";
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.v2 = void 0;
|
|
27
|
+
exports.v2 = __importStar(require("./v2"));
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as environments from "../../../../../../environments";
|
|
5
|
+
import * as core from "../../../../../../core";
|
|
6
|
+
import * as CandidApi from "../../../../../index";
|
|
7
|
+
export declare namespace V2 {
|
|
8
|
+
interface Options {
|
|
9
|
+
environment?: core.Supplier<environments.CandidApiEnvironment | environments.CandidApiEnvironmentUrls>;
|
|
10
|
+
token?: core.Supplier<core.BearerToken | undefined>;
|
|
11
|
+
}
|
|
12
|
+
interface RequestOptions {
|
|
13
|
+
/** The maximum time to wait for a response in seconds. */
|
|
14
|
+
timeoutInSeconds?: number;
|
|
15
|
+
/** The number of times to retry the request. Defaults to 2. */
|
|
16
|
+
maxRetries?: number;
|
|
17
|
+
/** A hook to abort the request. */
|
|
18
|
+
abortSignal?: AbortSignal;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
export declare class V2 {
|
|
22
|
+
protected readonly _options: V2.Options;
|
|
23
|
+
constructor(_options?: V2.Options);
|
|
24
|
+
/**
|
|
25
|
+
* @param {CandidApi.credentialing.v2.ProviderCredentialingSpanCreate} request
|
|
26
|
+
* @param {V2.RequestOptions} requestOptions - Request-specific configuration.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* await client.credentialing.v2.create({
|
|
30
|
+
* renderingProviderId: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
|
31
|
+
* contractingProviderId: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
|
32
|
+
* payerUuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
|
33
|
+
* startDate: "2023-01-15",
|
|
34
|
+
* endDate: "2023-01-15",
|
|
35
|
+
* regions: {
|
|
36
|
+
* type: "states",
|
|
37
|
+
* states: [CandidApi.State.Aa]
|
|
38
|
+
* },
|
|
39
|
+
* submittedDate: "2023-01-15",
|
|
40
|
+
* payerLoadedDate: "2023-01-15"
|
|
41
|
+
* })
|
|
42
|
+
*/
|
|
43
|
+
create(request: CandidApi.credentialing.v2.ProviderCredentialingSpanCreate, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.credentialing.v2.ProviderCredentialingSpan, CandidApi.credentialing.v2.create.Error>>;
|
|
44
|
+
/**
|
|
45
|
+
* @param {CandidApi.ProviderCredentialingSpanId} providerCredentialingId
|
|
46
|
+
* @param {V2.RequestOptions} requestOptions - Request-specific configuration.
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* await client.credentialing.v2.get(CandidApi.ProviderCredentialingSpanId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
|
|
50
|
+
*/
|
|
51
|
+
get(providerCredentialingId: CandidApi.ProviderCredentialingSpanId, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.credentialing.v2.ProviderCredentialingSpan, CandidApi.credentialing.v2.get.Error>>;
|
|
52
|
+
/**
|
|
53
|
+
* @param {CandidApi.credentialing.v2.GetAllProviderCredentialingSpansRequest} request
|
|
54
|
+
* @param {V2.RequestOptions} requestOptions - Request-specific configuration.
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* await client.credentialing.v2.getAll({
|
|
58
|
+
* limit: 1,
|
|
59
|
+
* pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
|
|
60
|
+
* payerUuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
|
61
|
+
* asRenderingProvider: true,
|
|
62
|
+
* asContractingProvider: true
|
|
63
|
+
* })
|
|
64
|
+
*/
|
|
65
|
+
getAll(request?: CandidApi.credentialing.v2.GetAllProviderCredentialingSpansRequest, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.credentialing.v2.ProviderCredentialingSpanPage, CandidApi.credentialing.v2.getAll.Error>>;
|
|
66
|
+
/**
|
|
67
|
+
* Soft deletes a credentialing span rate from the system.
|
|
68
|
+
*
|
|
69
|
+
* @param {CandidApi.ProviderCredentialingSpanId} providerCredentialingId
|
|
70
|
+
* @param {V2.RequestOptions} requestOptions - Request-specific configuration.
|
|
71
|
+
*
|
|
72
|
+
* @example
|
|
73
|
+
* await client.credentialing.v2.delete(CandidApi.ProviderCredentialingSpanId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
|
|
74
|
+
*/
|
|
75
|
+
delete(providerCredentialingId: CandidApi.ProviderCredentialingSpanId, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<void, CandidApi.credentialing.v2.delete.Error>>;
|
|
76
|
+
/**
|
|
77
|
+
* @param {CandidApi.ProviderCredentialingSpanId} providerCredentialingId
|
|
78
|
+
* @param {CandidApi.credentialing.v2.ProviderCredentialingSpanUpdate} request
|
|
79
|
+
* @param {V2.RequestOptions} requestOptions - Request-specific configuration.
|
|
80
|
+
*
|
|
81
|
+
* @example
|
|
82
|
+
* await client.credentialing.v2.update(CandidApi.ProviderCredentialingSpanId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
83
|
+
* contractingProviderId: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
|
84
|
+
* payerUuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
|
85
|
+
* startDate: "2023-01-15",
|
|
86
|
+
* endDate: "2023-01-15",
|
|
87
|
+
* regions: {
|
|
88
|
+
* type: "states",
|
|
89
|
+
* states: [CandidApi.State.Aa]
|
|
90
|
+
* },
|
|
91
|
+
* submittedDate: "2023-01-15",
|
|
92
|
+
* payerLoadedDate: "2023-01-15"
|
|
93
|
+
* })
|
|
94
|
+
*/
|
|
95
|
+
update(providerCredentialingId: CandidApi.ProviderCredentialingSpanId, request?: CandidApi.credentialing.v2.ProviderCredentialingSpanUpdate, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.credentialing.v2.ProviderCredentialingSpan, CandidApi.credentialing.v2.update.Error>>;
|
|
96
|
+
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
97
|
+
}
|