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
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../index"));
|
|
31
|
+
exports.Error = {
|
|
32
|
+
entityNotFoundError: (value) => {
|
|
33
|
+
return {
|
|
34
|
+
content: value,
|
|
35
|
+
errorName: "EntityNotFoundError",
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.credentialing.v2.get.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
unauthorizedError: (value) => {
|
|
42
|
+
return {
|
|
43
|
+
content: value,
|
|
44
|
+
errorName: "UnauthorizedError",
|
|
45
|
+
_visit: function (visitor) {
|
|
46
|
+
return CandidApi.credentialing.v2.get.Error._visit(this, visitor);
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
},
|
|
50
|
+
_unknown: (fetcherError) => {
|
|
51
|
+
return {
|
|
52
|
+
errorName: undefined,
|
|
53
|
+
content: fetcherError,
|
|
54
|
+
_visit: function (visitor) {
|
|
55
|
+
return CandidApi.credentialing.v2.get.Error._visit(this, visitor);
|
|
56
|
+
},
|
|
57
|
+
};
|
|
58
|
+
},
|
|
59
|
+
_visit: (value, visitor) => {
|
|
60
|
+
switch (value.errorName) {
|
|
61
|
+
case "EntityNotFoundError":
|
|
62
|
+
return visitor.entityNotFoundError(value.content);
|
|
63
|
+
case "UnauthorizedError":
|
|
64
|
+
return visitor.unauthorizedError(value.content);
|
|
65
|
+
default:
|
|
66
|
+
return visitor._other(value);
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
import * as core from "../../../../../../core";
|
|
6
|
+
export declare type Error = CandidApi.credentialing.v2.getAll.Error.UnauthorizedError | CandidApi.credentialing.v2.getAll.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface UnauthorizedError extends _Utils {
|
|
9
|
+
errorName: "UnauthorizedError";
|
|
10
|
+
content: CandidApi.UnauthorizedErrorMessage;
|
|
11
|
+
}
|
|
12
|
+
interface _Unknown extends _Utils {
|
|
13
|
+
errorName: void;
|
|
14
|
+
content: core.Fetcher.Error;
|
|
15
|
+
}
|
|
16
|
+
interface _Utils {
|
|
17
|
+
_visit: <_Result>(visitor: CandidApi.credentialing.v2.getAll.Error._Visitor<_Result>) => _Result;
|
|
18
|
+
}
|
|
19
|
+
interface _Visitor<_Result> {
|
|
20
|
+
unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => _Result;
|
|
21
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
export declare const Error: {
|
|
25
|
+
readonly unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => CandidApi.credentialing.v2.getAll.Error.UnauthorizedError;
|
|
26
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.credentialing.v2.getAll.Error._Unknown;
|
|
27
|
+
readonly _visit: <_Result>(value: CandidApi.credentialing.v2.getAll.Error, visitor: CandidApi.credentialing.v2.getAll.Error._Visitor<_Result>) => _Result;
|
|
28
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../index"));
|
|
31
|
+
exports.Error = {
|
|
32
|
+
unauthorizedError: (value) => {
|
|
33
|
+
return {
|
|
34
|
+
content: value,
|
|
35
|
+
errorName: "UnauthorizedError",
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.credentialing.v2.getAll.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
_unknown: (fetcherError) => {
|
|
42
|
+
return {
|
|
43
|
+
errorName: undefined,
|
|
44
|
+
content: fetcherError,
|
|
45
|
+
_visit: function (visitor) {
|
|
46
|
+
return CandidApi.credentialing.v2.getAll.Error._visit(this, visitor);
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
},
|
|
50
|
+
_visit: (value, visitor) => {
|
|
51
|
+
switch (value.errorName) {
|
|
52
|
+
case "UnauthorizedError":
|
|
53
|
+
return visitor.unauthorizedError(value.content);
|
|
54
|
+
default:
|
|
55
|
+
return visitor._other(value);
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
19
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
20
|
+
};
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.update = exports.delete = exports.getAll = exports.get = exports.create = void 0;
|
|
30
|
+
__exportStar(require("./requests"), exports);
|
|
31
|
+
exports.create = __importStar(require("./create"));
|
|
32
|
+
exports.get = __importStar(require("./get"));
|
|
33
|
+
exports.getAll = __importStar(require("./getAll"));
|
|
34
|
+
exports.delete = __importStar(require("./delete"));
|
|
35
|
+
exports.update = __importStar(require("./update"));
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* limit: 1,
|
|
9
|
+
* pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
|
|
10
|
+
* payerUuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
|
11
|
+
* asRenderingProvider: true,
|
|
12
|
+
* asContractingProvider: true
|
|
13
|
+
* }
|
|
14
|
+
*/
|
|
15
|
+
export interface GetAllProviderCredentialingSpansRequest {
|
|
16
|
+
/**
|
|
17
|
+
* Maximum number of entities per page, defaults to 100.
|
|
18
|
+
*/
|
|
19
|
+
limit?: number;
|
|
20
|
+
pageToken?: CandidApi.PageToken;
|
|
21
|
+
/**
|
|
22
|
+
* Filter by payer.
|
|
23
|
+
*/
|
|
24
|
+
payerUuid?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Filter to credentialing spans where the provider is a rendering provider.
|
|
27
|
+
*/
|
|
28
|
+
asRenderingProvider?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Filter to credentialing spans where the provider is a contracting provider.
|
|
31
|
+
*/
|
|
32
|
+
asContractingProvider?: boolean;
|
|
33
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* renderingProviderId: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
|
9
|
+
* contractingProviderId: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
|
10
|
+
* payerUuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
|
11
|
+
* startDate: "2023-01-15",
|
|
12
|
+
* endDate: "2023-01-15",
|
|
13
|
+
* regions: {
|
|
14
|
+
* type: "states",
|
|
15
|
+
* states: [CandidApi.State.Aa]
|
|
16
|
+
* },
|
|
17
|
+
* submittedDate: "2023-01-15",
|
|
18
|
+
* payerLoadedDate: "2023-01-15"
|
|
19
|
+
* }
|
|
20
|
+
*/
|
|
21
|
+
export interface ProviderCredentialingSpanCreate {
|
|
22
|
+
/** The ID of the rendering provider covered by the credentialing span. */
|
|
23
|
+
renderingProviderId: string;
|
|
24
|
+
/**
|
|
25
|
+
* The ID of the practice location at which the rendering provider is covered by the credentialing span.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
contractingProviderId: string;
|
|
29
|
+
/** The ID of the payer covered by the credentialing span. */
|
|
30
|
+
payerUuid: string;
|
|
31
|
+
/** Start date of the credentialing span. */
|
|
32
|
+
startDate?: string;
|
|
33
|
+
/** End date of the credentialing span. */
|
|
34
|
+
endDate?: string;
|
|
35
|
+
/**
|
|
36
|
+
* The states covered by the credentialing span. A span may be national and cover all states.
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
39
|
+
regions: CandidApi.Regions;
|
|
40
|
+
/** Date that the credential paperwork was submitted. */
|
|
41
|
+
submittedDate?: string;
|
|
42
|
+
/** Date that the payer loaded the credentialing span into their system. */
|
|
43
|
+
payerLoadedDate?: string;
|
|
44
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* contractingProviderId: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
|
9
|
+
* payerUuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
|
10
|
+
* startDate: "2023-01-15",
|
|
11
|
+
* endDate: "2023-01-15",
|
|
12
|
+
* regions: {
|
|
13
|
+
* type: "states",
|
|
14
|
+
* states: [CandidApi.State.Aa]
|
|
15
|
+
* },
|
|
16
|
+
* submittedDate: "2023-01-15",
|
|
17
|
+
* payerLoadedDate: "2023-01-15"
|
|
18
|
+
* }
|
|
19
|
+
*/
|
|
20
|
+
export interface ProviderCredentialingSpanUpdate {
|
|
21
|
+
/**
|
|
22
|
+
* The ID of the practice location at which the rendering provider is covered by the credentialing span.
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
contractingProviderId?: string;
|
|
26
|
+
/** The ID of the payer doing the credentialing. */
|
|
27
|
+
payerUuid?: string;
|
|
28
|
+
/** Start date of the credentialing span. */
|
|
29
|
+
startDate?: string;
|
|
30
|
+
/** End date of the credentialing span. */
|
|
31
|
+
endDate?: string;
|
|
32
|
+
/**
|
|
33
|
+
* The states covered by the credentialing span. A span may be national and cover all states.
|
|
34
|
+
*
|
|
35
|
+
*/
|
|
36
|
+
regions?: CandidApi.Regions;
|
|
37
|
+
/** Date that the credential paperwork was submitted. */
|
|
38
|
+
submittedDate?: string;
|
|
39
|
+
/** Date that the payer loaded the credentialing span into their system. */
|
|
40
|
+
payerLoadedDate?: string;
|
|
41
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { type ProviderCredentialingSpanCreate } from "./ProviderCredentialingSpanCreate";
|
|
2
|
+
export { type GetAllProviderCredentialingSpansRequest } from "./GetAllProviderCredentialingSpansRequest";
|
|
3
|
+
export { type ProviderCredentialingSpanUpdate } from "./ProviderCredentialingSpanUpdate";
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
import * as core from "../../../../../../core";
|
|
6
|
+
export declare type Error = CandidApi.credentialing.v2.update.Error.EntityNotFoundError | CandidApi.credentialing.v2.update.Error.HttpRequestValidationsError | CandidApi.credentialing.v2.update.Error.UnauthorizedError | CandidApi.credentialing.v2.update.Error.UnprocessableEntityError | CandidApi.credentialing.v2.update.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface EntityNotFoundError extends _Utils {
|
|
9
|
+
errorName: "EntityNotFoundError";
|
|
10
|
+
content: CandidApi.EntityNotFoundErrorMessage;
|
|
11
|
+
}
|
|
12
|
+
interface HttpRequestValidationsError extends _Utils {
|
|
13
|
+
errorName: "HttpRequestValidationsError";
|
|
14
|
+
content: CandidApi.RequestValidationError[];
|
|
15
|
+
}
|
|
16
|
+
interface UnauthorizedError extends _Utils {
|
|
17
|
+
errorName: "UnauthorizedError";
|
|
18
|
+
content: CandidApi.UnauthorizedErrorMessage;
|
|
19
|
+
}
|
|
20
|
+
interface UnprocessableEntityError extends _Utils {
|
|
21
|
+
errorName: "UnprocessableEntityError";
|
|
22
|
+
content: CandidApi.UnprocessableEntityErrorMessage;
|
|
23
|
+
}
|
|
24
|
+
interface _Unknown extends _Utils {
|
|
25
|
+
errorName: void;
|
|
26
|
+
content: core.Fetcher.Error;
|
|
27
|
+
}
|
|
28
|
+
interface _Utils {
|
|
29
|
+
_visit: <_Result>(visitor: CandidApi.credentialing.v2.update.Error._Visitor<_Result>) => _Result;
|
|
30
|
+
}
|
|
31
|
+
interface _Visitor<_Result> {
|
|
32
|
+
entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
|
|
33
|
+
httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => _Result;
|
|
34
|
+
unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => _Result;
|
|
35
|
+
unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => _Result;
|
|
36
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
export declare const Error: {
|
|
40
|
+
readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.credentialing.v2.update.Error.EntityNotFoundError;
|
|
41
|
+
readonly httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => CandidApi.credentialing.v2.update.Error.HttpRequestValidationsError;
|
|
42
|
+
readonly unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => CandidApi.credentialing.v2.update.Error.UnauthorizedError;
|
|
43
|
+
readonly unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => CandidApi.credentialing.v2.update.Error.UnprocessableEntityError;
|
|
44
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.credentialing.v2.update.Error._Unknown;
|
|
45
|
+
readonly _visit: <_Result>(value: CandidApi.credentialing.v2.update.Error, visitor: CandidApi.credentialing.v2.update.Error._Visitor<_Result>) => _Result;
|
|
46
|
+
};
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../index"));
|
|
31
|
+
exports.Error = {
|
|
32
|
+
entityNotFoundError: (value) => {
|
|
33
|
+
return {
|
|
34
|
+
content: value,
|
|
35
|
+
errorName: "EntityNotFoundError",
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.credentialing.v2.update.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
httpRequestValidationsError: (value) => {
|
|
42
|
+
return {
|
|
43
|
+
content: value,
|
|
44
|
+
errorName: "HttpRequestValidationsError",
|
|
45
|
+
_visit: function (visitor) {
|
|
46
|
+
return CandidApi.credentialing.v2.update.Error._visit(this, visitor);
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
},
|
|
50
|
+
unauthorizedError: (value) => {
|
|
51
|
+
return {
|
|
52
|
+
content: value,
|
|
53
|
+
errorName: "UnauthorizedError",
|
|
54
|
+
_visit: function (visitor) {
|
|
55
|
+
return CandidApi.credentialing.v2.update.Error._visit(this, visitor);
|
|
56
|
+
},
|
|
57
|
+
};
|
|
58
|
+
},
|
|
59
|
+
unprocessableEntityError: (value) => {
|
|
60
|
+
return {
|
|
61
|
+
content: value,
|
|
62
|
+
errorName: "UnprocessableEntityError",
|
|
63
|
+
_visit: function (visitor) {
|
|
64
|
+
return CandidApi.credentialing.v2.update.Error._visit(this, visitor);
|
|
65
|
+
},
|
|
66
|
+
};
|
|
67
|
+
},
|
|
68
|
+
_unknown: (fetcherError) => {
|
|
69
|
+
return {
|
|
70
|
+
errorName: undefined,
|
|
71
|
+
content: fetcherError,
|
|
72
|
+
_visit: function (visitor) {
|
|
73
|
+
return CandidApi.credentialing.v2.update.Error._visit(this, visitor);
|
|
74
|
+
},
|
|
75
|
+
};
|
|
76
|
+
},
|
|
77
|
+
_visit: (value, visitor) => {
|
|
78
|
+
switch (value.errorName) {
|
|
79
|
+
case "EntityNotFoundError":
|
|
80
|
+
return visitor.entityNotFoundError(value.content);
|
|
81
|
+
case "HttpRequestValidationsError":
|
|
82
|
+
return visitor.httpRequestValidationsError(value.content);
|
|
83
|
+
case "UnauthorizedError":
|
|
84
|
+
return visitor.unauthorizedError(value.content);
|
|
85
|
+
case "UnprocessableEntityError":
|
|
86
|
+
return visitor.unprocessableEntityError(value.content);
|
|
87
|
+
default:
|
|
88
|
+
return visitor._other(value);
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
};
|
|
@@ -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("./types"), exports);
|
|
18
|
+
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Stage of a credentialing span in the credentialing workflow.
|
|
6
|
+
*/
|
|
7
|
+
export declare type CredentialingSpanStatus = "work_in_progress" | "pending" | "effective" | "expired";
|
|
8
|
+
export declare const CredentialingSpanStatus: {
|
|
9
|
+
readonly WorkInProgress: "work_in_progress";
|
|
10
|
+
readonly Pending: "pending";
|
|
11
|
+
readonly Effective: "effective";
|
|
12
|
+
readonly Expired: "expired";
|
|
13
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
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.CredentialingSpanStatus = void 0;
|
|
7
|
+
exports.CredentialingSpanStatus = {
|
|
8
|
+
WorkInProgress: "work_in_progress",
|
|
9
|
+
Pending: "pending",
|
|
10
|
+
Effective: "effective",
|
|
11
|
+
Expired: "expired",
|
|
12
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
export interface ProviderCredentialingSpan {
|
|
6
|
+
providerCredentialingSpanId: CandidApi.credentialing.v2.ProviderCredentialingSpanId;
|
|
7
|
+
/** The rendering provider covered by the credentialing span. */
|
|
8
|
+
renderingProvider: CandidApi.organizationProviders.v3.OrganizationProviderV2;
|
|
9
|
+
/** The practice location at which the rendering provider is covered by the credentialing span. */
|
|
10
|
+
contractingProvider: CandidApi.organizationProviders.v3.OrganizationProviderV2;
|
|
11
|
+
/** The payer doing the credentialing. */
|
|
12
|
+
payer: CandidApi.payers.v3.Payer;
|
|
13
|
+
/** Start date of the credentialing span. */
|
|
14
|
+
startDate?: string;
|
|
15
|
+
/** End date of the credentialing span. */
|
|
16
|
+
endDate?: string;
|
|
17
|
+
/** The states covered by the credentialing span. A span may be national and cover all states. */
|
|
18
|
+
regions: CandidApi.Regions;
|
|
19
|
+
/** Date that the credential paperwork was submitted. */
|
|
20
|
+
submittedDate?: string;
|
|
21
|
+
/** Status of the credentialing span. */
|
|
22
|
+
credentialingStatus: CandidApi.credentialing.v2.CredentialingSpanStatus;
|
|
23
|
+
/** Date that the payer loaded the credentialing span into their system. */
|
|
24
|
+
payerLoadedDate?: string;
|
|
25
|
+
/** Source of the credentialing span. */
|
|
26
|
+
source: string;
|
|
27
|
+
/** Provider ID for the related medallion payer enrollment. */
|
|
28
|
+
medallionPayerEnrollmentId?: string;
|
|
29
|
+
/** Is the credentialing span enabled? */
|
|
30
|
+
isEnabled: boolean;
|
|
31
|
+
}
|
|
@@ -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
|
+
credentialing_v2_ProviderCredentialingSpanId: void;
|
|
7
|
+
};
|
|
8
|
+
export declare function ProviderCredentialingSpanId(value: string): CandidApi.credentialing.v2.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;
|
package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
export interface ProviderCredentialingSpanPage extends CandidApi.ResourcePage {
|
|
6
|
+
items: CandidApi.credentialing.v2.ProviderCredentialingSpan[];
|
|
7
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
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("./ProviderCredentialingSpanId"), exports);
|
|
18
|
+
__exportStar(require("./ProviderCredentialingSpan"), exports);
|
|
19
|
+
__exportStar(require("./CredentialingSpanStatus"), exports);
|
|
20
|
+
__exportStar(require("./ProviderCredentialingSpanPage"), exports);
|