candidhealth 0.45.0 → 0.46.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/README.md +4 -18
- package/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.d.ts +2 -3
- package/api/resources/billingNotes/resources/v2/client/Client.js +5 -6
- package/api/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.d.ts +1 -1
- package/api/resources/billingNotes/resources/v2/client/requests/StandaloneBillingNoteCreate.d.ts +1 -2
- package/api/resources/chargeCapture/resources/v1/client/Client.d.ts +5 -46
- package/api/resources/chargeCapture/resources/v1/client/Client.js +11 -52
- package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +1 -3
- package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +1 -9
- package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +5 -15
- package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +1 -35
- package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +1 -1
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +1 -22
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +4 -25
- package/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureClaimCreationsRequest.d.ts +1 -22
- package/api/resources/commons/types/InsuranceTypeCode.d.ts +1 -1
- package/api/resources/contracts/resources/v2/client/Client.d.ts +3 -67
- package/api/resources/contracts/resources/v2/client/Client.js +19 -73
- package/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +1 -25
- package/api/resources/contracts/resources/v2/client/requests/ContractUpdate.d.ts +1 -36
- package/api/resources/contracts/resources/v2/client/requests/GetMultiContractsRequest.d.ts +9 -9
- package/api/resources/contracts/resources/v2/types/ContractSortField.d.ts +12 -0
- package/api/resources/contracts/resources/v2/types/ContractSortField.js +14 -0
- package/api/resources/contracts/resources/v2/types/index.d.ts +1 -0
- package/api/resources/contracts/resources/v2/types/index.js +1 -0
- package/api/resources/credentialing/resources/v2/client/Client.d.ts +4 -26
- package/api/resources/credentialing/resources/v2/client/Client.js +9 -31
- package/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +1 -8
- package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +4 -14
- package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +3 -20
- package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/api/resources/diagnoses/client/Client.d.ts +3 -8
- package/api/resources/diagnoses/client/Client.js +6 -11
- package/api/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +2 -10
- package/api/resources/diagnoses/types/DiagnosisCreate.d.ts +5 -6
- package/api/resources/eligibility/resources/v2/client/Client.d.ts +2 -6
- package/api/resources/eligibility/resources/v2/client/Client.js +5 -9
- package/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +0 -3
- package/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -6
- package/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.d.ts +0 -4
- package/api/resources/encounterProviders/resources/v2/client/Client.d.ts +8 -114
- package/api/resources/encounterProviders/resources/v2/client/Client.js +20 -126
- package/api/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.d.ts +1 -2
- package/api/resources/encounters/resources/v4/client/Client.d.ts +49 -674
- package/api/resources/encounters/resources/v4/client/Client.js +54 -679
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +35 -410
- package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +6 -155
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +1 -1
- package/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +5 -5
- package/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +7 -7
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +6 -9
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +7 -10
- package/api/resources/expectedNetworkStatus/resources/v1/client/requests/ExpectedNetworkStatusRequest.d.ts +7 -13
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +12 -16
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +14 -18
- package/api/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.d.ts +5 -0
- package/api/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.js +5 -0
- package/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +5 -8
- package/api/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +1 -0
- package/api/resources/expectedNetworkStatus/resources/v2/types/index.js +1 -0
- package/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.d.ts +1 -5
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +2 -6
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/requests/GetExternalPaymentAccountConfigsRequest.d.ts +1 -4
- package/api/resources/feeSchedules/resources/v3/client/Client.d.ts +37 -38
- package/api/resources/feeSchedules/resources/v3/client/Client.js +47 -48
- package/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts +32 -5
- package/api/resources/feeSchedules/resources/v3/client/requests/GetMultiRequest.d.ts +1 -15
- package/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts +1 -13
- package/api/resources/feeSchedules/resources/v3/types/PayerThreshold.d.ts +1 -1
- package/api/resources/feeSchedules/resources/v3/types/Rate.d.ts +1 -1
- package/api/resources/feeSchedules/resources/v3/types/RateEntry.d.ts +1 -1
- package/api/resources/guarantor/resources/v1/client/Client.d.ts +8 -38
- package/api/resources/guarantor/resources/v1/client/Client.js +11 -41
- package/api/resources/importInvoice/resources/v1/client/Client.d.ts +11 -34
- package/api/resources/importInvoice/resources/v1/client/Client.js +15 -38
- package/api/resources/importInvoice/resources/v1/client/requests/SearchImportedInvoicesRequest.d.ts +1 -12
- package/api/resources/index.d.ts +2 -0
- package/api/resources/index.js +3 -1
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +92 -10
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +95 -13
- package/api/resources/insurancePayments/resources/v1/client/Client.d.ts +1 -10
- package/api/resources/insurancePayments/resources/v1/client/Client.js +3 -12
- package/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.d.ts +1 -10
- package/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +12 -26
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +17 -31
- package/api/resources/insuranceRefunds/resources/v1/client/requests/GetMultiInsuranceRefundsRequest.d.ts +1 -10
- package/api/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +1 -11
- package/api/resources/medicationDispense/resources/v1/client/Client.d.ts +5 -17
- package/api/resources/medicationDispense/resources/v1/client/Client.js +6 -18
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.d.ts +9 -25
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +14 -30
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/GetMultiNonInsurancePayerPaymentRequest.d.ts +1 -9
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/UpdateNonInsurancePayerPaymentRequest.d.ts +1 -11
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.d.ts +9 -30
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +14 -35
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/GetMultiNonInsurancePayerRefundsRequest.d.ts +1 -9
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/NonInsurancePayerRefundUpdate.d.ts +1 -15
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +3 -37
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +9 -43
- package/api/resources/nonInsurancePayers/resources/v1/client/requests/GetMultiNonInsurancePayersRequest.d.ts +1 -9
- package/api/resources/organizationProviders/resources/v3/client/Client.d.ts +12 -58
- package/api/resources/organizationProviders/resources/v3/client/Client.js +16 -62
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.d.ts +1 -1
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +6 -6
- package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.d.ts +1 -1
- package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.d.ts +3 -3
- package/api/resources/patientPayments/resources/v4/client/Client.d.ts +10 -29
- package/api/resources/patientPayments/resources/v4/client/Client.js +15 -34
- package/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +1 -13
- package/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.d.ts +8 -5
- package/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +1 -11
- package/api/resources/patientRefunds/resources/v1/client/Client.d.ts +10 -34
- package/api/resources/patientRefunds/resources/v1/client/Client.js +15 -39
- package/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +1 -13
- package/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts +8 -6
- package/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +1 -15
- package/api/resources/payerPlanGroups/resources/v1/client/Client.d.ts +3 -15
- package/api/resources/payerPlanGroups/resources/v1/client/Client.js +8 -20
- package/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.d.ts +1 -13
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/pipelineCommons/index.d.ts +1 -0
- package/api/resources/pipelineCommons/index.js +17 -0
- package/api/resources/pipelineCommons/types/ConfigurableRuleId.d.ts +8 -0
- package/api/resources/pipelineCommons/types/ConfigurableRuleId.js +9 -0
- package/api/resources/pipelineCommons/types/index.d.ts +1 -0
- package/api/resources/pipelineCommons/types/index.js +17 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +14 -84
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +21 -91
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +1 -7
- package/api/resources/preEncounter/resources/common/types/BaseModel.d.ts +2 -2
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +28 -87
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +38 -97
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CheckEligibilityRequest.d.ts +1 -1
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiPaginatedRequest.d.ts +1 -6
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiRequest.d.ts +1 -3
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +1 -1
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +4 -18
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +5 -19
- package/api/resources/preEncounter/resources/images/resources/v1/client/Client.d.ts +15 -34
- package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +20 -39
- package/api/resources/preEncounter/resources/images/resources/v1/client/requests/ImageGetMultiRequest.d.ts +1 -4
- package/api/resources/preEncounter/resources/images/resources/v1/types/Image.d.ts +1 -1
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.d.ts +2 -14
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +4 -16
- package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +1 -7
- package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +1 -7
- package/api/resources/preEncounter/resources/lists/resources/v1/types/FilterQueryString.d.ts +1 -1
- package/api/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.d.ts +1 -1
- package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.d.ts +6 -10
- package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +10 -14
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +328 -456
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +339 -467
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +104 -144
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +104 -144
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientGetMultiRequest.d.ts +1 -4
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequestPaginated.d.ts +1 -7
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/SearchProvidersRequest.d.ts +1 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -3
- package/api/resources/preEncounter/resources/patients/resources/v1/types/Patient.d.ts +2 -2
- package/api/resources/preEncounter/resources/patients/resources/v1/types/PatientSortField.d.ts +1 -1
- package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.d.ts +7 -10
- package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +12 -15
- package/api/resources/preEncounter/resources/tags/resources/v1/client/requests/GetAllTagsRequest.d.ts +1 -4
- package/api/resources/serviceFacility/client/Client.d.ts +1 -11
- package/api/resources/serviceFacility/client/Client.js +2 -12
- package/api/resources/serviceLines/resources/v2/client/Client.d.ts +4 -82
- package/api/resources/serviceLines/resources/v2/client/Client.js +7 -85
- package/api/resources/serviceLines/resources/v2/types/DenialReasonContent.d.ts +2 -1
- package/api/resources/serviceLines/resources/v2/types/DenialReasonContent.js +1 -0
- package/api/resources/superbills/resources/v1/client/Client.d.ts +2 -10
- package/api/resources/superbills/resources/v1/client/Client.js +3 -11
- package/api/resources/superbills/resources/v1/client/requests/CreateSuperbillRequest.d.ts +3 -14
- package/api/resources/tasks/resources/v3/client/Client.d.ts +4 -25
- package/api/resources/tasks/resources/v3/client/Client.js +9 -30
- package/api/resources/tasks/resources/v3/client/requests/GetAllTasksRequest.d.ts +1 -15
- package/api/resources/tasks/resources/v3/types/Task.d.ts +1 -0
- package/api/resources/writeOffs/resources/v1/client/Client.d.ts +7 -13
- package/api/resources/writeOffs/resources/v1/client/Client.js +13 -19
- package/api/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.d.ts +6 -1
- package/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +1 -12
- package/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +2 -1
- package/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.d.ts +2 -3
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +5 -6
- package/dist/api/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.d.ts +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/requests/StandaloneBillingNoteCreate.d.ts +1 -2
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +5 -46
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +11 -52
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +1 -3
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +1 -9
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +5 -15
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +1 -35
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +1 -1
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +1 -22
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +4 -25
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureClaimCreationsRequest.d.ts +1 -22
- package/dist/api/resources/commons/types/InsuranceTypeCode.d.ts +1 -1
- package/dist/api/resources/contracts/resources/v2/client/Client.d.ts +3 -67
- package/dist/api/resources/contracts/resources/v2/client/Client.js +19 -73
- package/dist/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +1 -25
- package/dist/api/resources/contracts/resources/v2/client/requests/ContractUpdate.d.ts +1 -36
- package/dist/api/resources/contracts/resources/v2/client/requests/GetMultiContractsRequest.d.ts +9 -9
- package/dist/api/resources/contracts/resources/v2/types/ContractSortField.d.ts +12 -0
- package/dist/api/resources/contracts/resources/v2/types/ContractSortField.js +14 -0
- package/dist/api/resources/contracts/resources/v2/types/index.d.ts +1 -0
- package/dist/api/resources/contracts/resources/v2/types/index.js +1 -0
- package/dist/api/resources/credentialing/resources/v2/client/Client.d.ts +4 -26
- package/dist/api/resources/credentialing/resources/v2/client/Client.js +9 -31
- package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +1 -8
- package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +4 -14
- package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +3 -20
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/diagnoses/client/Client.d.ts +3 -8
- package/dist/api/resources/diagnoses/client/Client.js +6 -11
- package/dist/api/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +2 -10
- package/dist/api/resources/diagnoses/types/DiagnosisCreate.d.ts +5 -6
- package/dist/api/resources/eligibility/resources/v2/client/Client.d.ts +2 -6
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +5 -9
- package/dist/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +0 -3
- package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -6
- package/dist/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.d.ts +0 -4
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.d.ts +8 -114
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +20 -126
- package/dist/api/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.d.ts +1 -2
- package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +49 -674
- package/dist/api/resources/encounters/resources/v4/client/Client.js +54 -679
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +35 -410
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +6 -155
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +1 -1
- package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +5 -5
- package/dist/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +7 -7
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +6 -9
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +7 -10
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/requests/ExpectedNetworkStatusRequest.d.ts +7 -13
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +12 -16
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +14 -18
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.d.ts +5 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.js +5 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +5 -8
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +1 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/index.js +1 -0
- package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.d.ts +1 -5
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +2 -6
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/requests/GetExternalPaymentAccountConfigsRequest.d.ts +1 -4
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.d.ts +37 -38
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +47 -48
- package/dist/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts +32 -5
- package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetMultiRequest.d.ts +1 -15
- package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts +1 -13
- package/dist/api/resources/feeSchedules/resources/v3/types/PayerThreshold.d.ts +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/types/Rate.d.ts +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/types/RateEntry.d.ts +1 -1
- package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +8 -38
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +11 -41
- package/dist/api/resources/importInvoice/resources/v1/client/Client.d.ts +11 -34
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +15 -38
- package/dist/api/resources/importInvoice/resources/v1/client/requests/SearchImportedInvoicesRequest.d.ts +1 -12
- package/dist/api/resources/index.d.ts +2 -0
- package/dist/api/resources/index.js +3 -1
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +92 -10
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +95 -13
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.d.ts +1 -10
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +3 -12
- package/dist/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.d.ts +1 -10
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +12 -26
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +17 -31
- package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/GetMultiInsuranceRefundsRequest.d.ts +1 -10
- package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +1 -11
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.d.ts +5 -17
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +6 -18
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.d.ts +9 -25
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +14 -30
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/GetMultiNonInsurancePayerPaymentRequest.d.ts +1 -9
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/UpdateNonInsurancePayerPaymentRequest.d.ts +1 -11
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.d.ts +9 -30
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +14 -35
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/GetMultiNonInsurancePayerRefundsRequest.d.ts +1 -9
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/NonInsurancePayerRefundUpdate.d.ts +1 -15
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +3 -37
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +9 -43
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/requests/GetMultiNonInsurancePayersRequest.d.ts +1 -9
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.d.ts +12 -58
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +16 -62
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.d.ts +1 -1
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +6 -6
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.d.ts +1 -1
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.d.ts +3 -3
- package/dist/api/resources/patientPayments/resources/v4/client/Client.d.ts +10 -29
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +15 -34
- package/dist/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +1 -13
- package/dist/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.d.ts +8 -5
- package/dist/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +1 -11
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.d.ts +10 -34
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +15 -39
- package/dist/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +1 -13
- package/dist/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts +8 -6
- package/dist/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +1 -15
- package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.d.ts +3 -15
- package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +8 -20
- package/dist/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.d.ts +1 -13
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/pipelineCommons/index.d.ts +1 -0
- package/dist/api/resources/pipelineCommons/index.js +17 -0
- package/dist/api/resources/pipelineCommons/types/ConfigurableRuleId.d.ts +8 -0
- package/dist/api/resources/pipelineCommons/types/ConfigurableRuleId.js +9 -0
- package/dist/api/resources/pipelineCommons/types/index.d.ts +1 -0
- package/dist/api/resources/pipelineCommons/types/index.js +17 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +14 -84
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +21 -91
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +1 -7
- package/dist/api/resources/preEncounter/resources/common/types/BaseModel.d.ts +2 -2
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +28 -87
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +38 -97
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CheckEligibilityRequest.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiPaginatedRequest.d.ts +1 -6
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiRequest.d.ts +1 -3
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +4 -18
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +5 -19
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.d.ts +15 -34
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +20 -39
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/requests/ImageGetMultiRequest.d.ts +1 -4
- package/dist/api/resources/preEncounter/resources/images/resources/v1/types/Image.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.d.ts +2 -14
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +4 -16
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +1 -7
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +1 -7
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/FilterQueryString.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.d.ts +6 -10
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +10 -14
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +328 -456
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +339 -467
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +104 -144
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +104 -144
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientGetMultiRequest.d.ts +1 -4
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequestPaginated.d.ts +1 -7
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/SearchProvidersRequest.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -3
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Patient.d.ts +2 -2
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/PatientSortField.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.d.ts +7 -10
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +12 -15
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/requests/GetAllTagsRequest.d.ts +1 -4
- package/dist/api/resources/serviceFacility/client/Client.d.ts +1 -11
- package/dist/api/resources/serviceFacility/client/Client.js +2 -12
- package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +4 -82
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +7 -85
- package/dist/api/resources/serviceLines/resources/v2/types/DenialReasonContent.d.ts +2 -1
- package/dist/api/resources/serviceLines/resources/v2/types/DenialReasonContent.js +1 -0
- package/dist/api/resources/superbills/resources/v1/client/Client.d.ts +2 -10
- package/dist/api/resources/superbills/resources/v1/client/Client.js +3 -11
- package/dist/api/resources/superbills/resources/v1/client/requests/CreateSuperbillRequest.d.ts +3 -14
- package/dist/api/resources/tasks/resources/v3/client/Client.d.ts +4 -25
- package/dist/api/resources/tasks/resources/v3/client/Client.js +9 -30
- package/dist/api/resources/tasks/resources/v3/client/requests/GetAllTasksRequest.d.ts +1 -15
- package/dist/api/resources/tasks/resources/v3/types/Task.d.ts +1 -0
- package/dist/api/resources/writeOffs/resources/v1/client/Client.d.ts +7 -13
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +13 -19
- package/dist/api/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.d.ts +6 -1
- package/dist/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +1 -12
- package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +2 -1
- package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
- package/dist/environments.d.ts +5 -1
- package/dist/environments.js +4 -0
- package/dist/serialization/resources/contracts/resources/v2/types/ContractSortField.d.ts +10 -0
- package/dist/serialization/resources/contracts/resources/v2/types/ContractSortField.js +48 -0
- package/dist/serialization/resources/contracts/resources/v2/types/index.d.ts +1 -0
- package/dist/serialization/resources/contracts/resources/v2/types/index.js +1 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.d.ts +11 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.js +41 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +3 -2
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +3 -2
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +1 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/index.js +1 -0
- package/dist/serialization/resources/index.d.ts +2 -0
- package/dist/serialization/resources/index.js +3 -1
- package/dist/serialization/resources/pipelineCommons/index.d.ts +1 -0
- package/dist/serialization/resources/pipelineCommons/index.js +17 -0
- package/dist/serialization/resources/pipelineCommons/types/ConfigurableRuleId.d.ts +10 -0
- package/dist/serialization/resources/pipelineCommons/types/ConfigurableRuleId.js +45 -0
- package/dist/serialization/resources/pipelineCommons/types/index.d.ts +1 -0
- package/dist/serialization/resources/pipelineCommons/types/index.js +17 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/DenialReasonContent.d.ts +1 -1
- package/dist/serialization/resources/serviceLines/resources/v2/types/DenialReasonContent.js +1 -0
- package/dist/serialization/resources/tasks/resources/v3/types/Task.d.ts +2 -0
- package/dist/serialization/resources/tasks/resources/v3/types/Task.js +2 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +1 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/environments.d.ts +5 -1
- package/environments.js +4 -0
- package/package.json +1 -1
- package/reference.md +772 -2366
- package/serialization/resources/contracts/resources/v2/types/ContractSortField.d.ts +10 -0
- package/serialization/resources/contracts/resources/v2/types/ContractSortField.js +48 -0
- package/serialization/resources/contracts/resources/v2/types/index.d.ts +1 -0
- package/serialization/resources/contracts/resources/v2/types/index.js +1 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.d.ts +11 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.js +41 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +3 -2
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +3 -2
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +1 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/index.js +1 -0
- package/serialization/resources/index.d.ts +2 -0
- package/serialization/resources/index.js +3 -1
- package/serialization/resources/pipelineCommons/index.d.ts +1 -0
- package/serialization/resources/pipelineCommons/index.js +17 -0
- package/serialization/resources/pipelineCommons/types/ConfigurableRuleId.d.ts +10 -0
- package/serialization/resources/pipelineCommons/types/ConfigurableRuleId.js +45 -0
- package/serialization/resources/pipelineCommons/types/index.d.ts +1 -0
- package/serialization/resources/pipelineCommons/types/index.js +17 -0
- package/serialization/resources/serviceLines/resources/v2/types/DenialReasonContent.d.ts +1 -1
- package/serialization/resources/serviceLines/resources/v2/types/DenialReasonContent.js +1 -0
- package/serialization/resources/tasks/resources/v3/types/Task.d.ts +2 -0
- package/serialization/resources/tasks/resources/v3/types/Task.js +2 -0
- package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +1 -1
- package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -67,24 +67,14 @@ class V1 {
|
|
|
67
67
|
*
|
|
68
68
|
* @example
|
|
69
69
|
* await client.guarantor.v1.create(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
* }],
|
|
74
|
-
* phoneConsent: true,
|
|
75
|
-
* email: CandidApi.Email("johndoe@joincandidhealth.com"),
|
|
76
|
-
* emailConsent: true,
|
|
77
|
-
* firstName: "string",
|
|
78
|
-
* lastName: "string",
|
|
79
|
-
* externalId: "string",
|
|
80
|
-
* dateOfBirth: "2023-01-15",
|
|
70
|
+
* firstName: "first_name",
|
|
71
|
+
* lastName: "last_name",
|
|
72
|
+
* externalId: "external_id",
|
|
81
73
|
* address: {
|
|
82
|
-
* address1: "
|
|
83
|
-
*
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
* zipCode: "10001",
|
|
87
|
-
* zipPlusFourCode: "1234"
|
|
74
|
+
* address1: "address1",
|
|
75
|
+
* city: "city",
|
|
76
|
+
* state: "AA",
|
|
77
|
+
* zipCode: "zip_code"
|
|
88
78
|
* }
|
|
89
79
|
* })
|
|
90
80
|
*/
|
|
@@ -94,7 +84,7 @@ class V1 {
|
|
|
94
84
|
const _response = yield core.fetcher({
|
|
95
85
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/guarantors/v1/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}`),
|
|
96
86
|
method: "POST",
|
|
97
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
87
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.1", "User-Agent": "candidhealth/0.46.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
98
88
|
contentType: "application/json",
|
|
99
89
|
requestType: "json",
|
|
100
90
|
body: serializers.guarantor.v1.GuarantorCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -149,7 +139,7 @@ class V1 {
|
|
|
149
139
|
const _response = yield core.fetcher({
|
|
150
140
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/guarantors/v1/${encodeURIComponent(serializers.guarantor.v1.GuarantorId.jsonOrThrow(guarantorId))}`),
|
|
151
141
|
method: "GET",
|
|
152
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
142
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.1", "User-Agent": "candidhealth/0.46.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
153
143
|
contentType: "application/json",
|
|
154
144
|
requestType: "json",
|
|
155
145
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -181,27 +171,7 @@ class V1 {
|
|
|
181
171
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
182
172
|
*
|
|
183
173
|
* @example
|
|
184
|
-
* await client.guarantor.v1.update(CandidApi.guarantor.v1.GuarantorId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
185
|
-
* firstName: "string",
|
|
186
|
-
* lastName: "string",
|
|
187
|
-
* externalId: "string",
|
|
188
|
-
* dateOfBirth: "2023-01-15",
|
|
189
|
-
* address: {
|
|
190
|
-
* address1: "123 Main St",
|
|
191
|
-
* address2: "Apt 1",
|
|
192
|
-
* city: "New York",
|
|
193
|
-
* state: "NY",
|
|
194
|
-
* zipCode: "10001",
|
|
195
|
-
* zipPlusFourCode: "1234"
|
|
196
|
-
* },
|
|
197
|
-
* phoneNumbers: [{
|
|
198
|
-
* number: "1234567890",
|
|
199
|
-
* type: "Home"
|
|
200
|
-
* }],
|
|
201
|
-
* phoneConsent: true,
|
|
202
|
-
* email: CandidApi.Email("johndoe@joincandidhealth.com"),
|
|
203
|
-
* emailConsent: true
|
|
204
|
-
* })
|
|
174
|
+
* await client.guarantor.v1.update(CandidApi.guarantor.v1.GuarantorId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {})
|
|
205
175
|
*/
|
|
206
176
|
update(guarantorId, request, requestOptions) {
|
|
207
177
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -209,7 +179,7 @@ class V1 {
|
|
|
209
179
|
const _response = yield core.fetcher({
|
|
210
180
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/guarantors/v1/${encodeURIComponent(serializers.guarantor.v1.GuarantorId.jsonOrThrow(guarantorId))}`),
|
|
211
181
|
method: "PATCH",
|
|
212
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
182
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.1", "User-Agent": "candidhealth/0.46.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
213
183
|
contentType: "application/json",
|
|
214
184
|
requestType: "json",
|
|
215
185
|
body: serializers.guarantor.v1.GuarantorUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -34,20 +34,23 @@ export declare class V1 {
|
|
|
34
34
|
* @example
|
|
35
35
|
* await client.importInvoice.v1.importInvoice({
|
|
36
36
|
* externalPaymentAccountConfigId: CandidApi.PaymentAccountConfigId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
37
|
-
* patientExternalId: CandidApi.PatientExternalId("
|
|
38
|
-
* externalCustomerIdentifier: "
|
|
39
|
-
* note: "string",
|
|
40
|
-
* dueDate: "2023-01-15",
|
|
37
|
+
* patientExternalId: CandidApi.PatientExternalId("patient_external_id"),
|
|
38
|
+
* externalCustomerIdentifier: "external_customer_identifier",
|
|
41
39
|
* items: [{
|
|
42
40
|
* attribution: {
|
|
43
41
|
* type: "service_line_id",
|
|
44
42
|
* value: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
45
43
|
* },
|
|
46
44
|
* amountCents: 1
|
|
45
|
+
* }, {
|
|
46
|
+
* attribution: {
|
|
47
|
+
* type: "service_line_id",
|
|
48
|
+
* value: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
49
|
+
* },
|
|
50
|
+
* amountCents: 1
|
|
47
51
|
* }],
|
|
48
52
|
* status: "DRAFT",
|
|
49
|
-
* externalIdentifier: "
|
|
50
|
-
* customerInvoiceUrl: "string"
|
|
53
|
+
* externalIdentifier: "external_identifier"
|
|
51
54
|
* })
|
|
52
55
|
*/
|
|
53
56
|
importInvoice(request: CandidApi.importInvoice.v1.CreateImportInvoiceRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.importInvoice.v1.ImportInvoice, CandidApi.importInvoice.v1.importInvoice.Error>>;
|
|
@@ -58,18 +61,7 @@ export declare class V1 {
|
|
|
58
61
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
59
62
|
*
|
|
60
63
|
* @example
|
|
61
|
-
* await client.importInvoice.v1.getMulti(
|
|
62
|
-
* patientExternalId: CandidApi.PatientExternalId("string"),
|
|
63
|
-
* encounterExternalId: CandidApi.EncounterExternalId("string"),
|
|
64
|
-
* note: "string",
|
|
65
|
-
* dueDateBefore: "2023-01-15",
|
|
66
|
-
* dueDateAfter: "2023-01-15",
|
|
67
|
-
* status: "DRAFT",
|
|
68
|
-
* limit: 1,
|
|
69
|
-
* sort: "CREATED_AT",
|
|
70
|
-
* sortDirection: "asc",
|
|
71
|
-
* pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9")
|
|
72
|
-
* })
|
|
64
|
+
* await client.importInvoice.v1.getMulti()
|
|
73
65
|
*/
|
|
74
66
|
getMulti(request?: CandidApi.importInvoice.v1.SearchImportedInvoicesRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.importInvoice.v1.ImportInvoicesPage, CandidApi.importInvoice.v1.getMulti.Error>>;
|
|
75
67
|
/**
|
|
@@ -90,22 +82,7 @@ export declare class V1 {
|
|
|
90
82
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
91
83
|
*
|
|
92
84
|
* @example
|
|
93
|
-
* await client.importInvoice.v1.update(CandidApi.InvoiceId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
94
|
-
* customerInvoiceUrl: "string",
|
|
95
|
-
* status: "DRAFT",
|
|
96
|
-
* note: "string",
|
|
97
|
-
* dueDate: "2023-01-15",
|
|
98
|
-
* items: {
|
|
99
|
-
* updateType: "APPEND",
|
|
100
|
-
* items: [{
|
|
101
|
-
* attribution: {
|
|
102
|
-
* type: "service_line_id",
|
|
103
|
-
* value: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
104
|
-
* },
|
|
105
|
-
* amountCents: 1
|
|
106
|
-
* }]
|
|
107
|
-
* }
|
|
108
|
-
* })
|
|
85
|
+
* await client.importInvoice.v1.update(CandidApi.InvoiceId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {})
|
|
109
86
|
*/
|
|
110
87
|
update(invoiceId: CandidApi.InvoiceId, request: CandidApi.importInvoice.v1.ImportInvoiceUpdateRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.importInvoice.v1.ImportInvoice, CandidApi.importInvoice.v1.update.Error>>;
|
|
111
88
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
@@ -67,20 +67,23 @@ class V1 {
|
|
|
67
67
|
* @example
|
|
68
68
|
* await client.importInvoice.v1.importInvoice({
|
|
69
69
|
* externalPaymentAccountConfigId: CandidApi.PaymentAccountConfigId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
70
|
-
* patientExternalId: CandidApi.PatientExternalId("
|
|
71
|
-
* externalCustomerIdentifier: "
|
|
72
|
-
* note: "string",
|
|
73
|
-
* dueDate: "2023-01-15",
|
|
70
|
+
* patientExternalId: CandidApi.PatientExternalId("patient_external_id"),
|
|
71
|
+
* externalCustomerIdentifier: "external_customer_identifier",
|
|
74
72
|
* items: [{
|
|
75
73
|
* attribution: {
|
|
76
74
|
* type: "service_line_id",
|
|
77
75
|
* value: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
78
76
|
* },
|
|
79
77
|
* amountCents: 1
|
|
78
|
+
* }, {
|
|
79
|
+
* attribution: {
|
|
80
|
+
* type: "service_line_id",
|
|
81
|
+
* value: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
82
|
+
* },
|
|
83
|
+
* amountCents: 1
|
|
80
84
|
* }],
|
|
81
85
|
* status: "DRAFT",
|
|
82
|
-
* externalIdentifier: "
|
|
83
|
-
* customerInvoiceUrl: "string"
|
|
86
|
+
* externalIdentifier: "external_identifier"
|
|
84
87
|
* })
|
|
85
88
|
*/
|
|
86
89
|
importInvoice(request, requestOptions) {
|
|
@@ -89,7 +92,7 @@ class V1 {
|
|
|
89
92
|
const _response = yield core.fetcher({
|
|
90
93
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/import-invoice/v1"),
|
|
91
94
|
method: "POST",
|
|
92
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
95
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.1", "User-Agent": "candidhealth/0.46.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
93
96
|
contentType: "application/json",
|
|
94
97
|
requestType: "json",
|
|
95
98
|
body: serializers.importInvoice.v1.CreateImportInvoiceRequest.jsonOrThrow(request, {
|
|
@@ -138,18 +141,7 @@ class V1 {
|
|
|
138
141
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
139
142
|
*
|
|
140
143
|
* @example
|
|
141
|
-
* await client.importInvoice.v1.getMulti(
|
|
142
|
-
* patientExternalId: CandidApi.PatientExternalId("string"),
|
|
143
|
-
* encounterExternalId: CandidApi.EncounterExternalId("string"),
|
|
144
|
-
* note: "string",
|
|
145
|
-
* dueDateBefore: "2023-01-15",
|
|
146
|
-
* dueDateAfter: "2023-01-15",
|
|
147
|
-
* status: "DRAFT",
|
|
148
|
-
* limit: 1,
|
|
149
|
-
* sort: "CREATED_AT",
|
|
150
|
-
* sortDirection: "asc",
|
|
151
|
-
* pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9")
|
|
152
|
-
* })
|
|
144
|
+
* await client.importInvoice.v1.getMulti()
|
|
153
145
|
*/
|
|
154
146
|
getMulti() {
|
|
155
147
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
@@ -200,7 +192,7 @@ class V1 {
|
|
|
200
192
|
const _response = yield core.fetcher({
|
|
201
193
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/import-invoice/v1"),
|
|
202
194
|
method: "GET",
|
|
203
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
195
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.1", "User-Agent": "candidhealth/0.46.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
204
196
|
contentType: "application/json",
|
|
205
197
|
queryParameters: _queryParams,
|
|
206
198
|
requestType: "json",
|
|
@@ -240,7 +232,7 @@ class V1 {
|
|
|
240
232
|
const _response = yield core.fetcher({
|
|
241
233
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/import-invoice/v1/${encodeURIComponent(serializers.InvoiceId.jsonOrThrow(invoiceId))}`),
|
|
242
234
|
method: "GET",
|
|
243
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
235
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.1", "User-Agent": "candidhealth/0.46.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
244
236
|
contentType: "application/json",
|
|
245
237
|
requestType: "json",
|
|
246
238
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -286,22 +278,7 @@ class V1 {
|
|
|
286
278
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
287
279
|
*
|
|
288
280
|
* @example
|
|
289
|
-
* await client.importInvoice.v1.update(CandidApi.InvoiceId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
290
|
-
* customerInvoiceUrl: "string",
|
|
291
|
-
* status: "DRAFT",
|
|
292
|
-
* note: "string",
|
|
293
|
-
* dueDate: "2023-01-15",
|
|
294
|
-
* items: {
|
|
295
|
-
* updateType: "APPEND",
|
|
296
|
-
* items: [{
|
|
297
|
-
* attribution: {
|
|
298
|
-
* type: "service_line_id",
|
|
299
|
-
* value: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
300
|
-
* },
|
|
301
|
-
* amountCents: 1
|
|
302
|
-
* }]
|
|
303
|
-
* }
|
|
304
|
-
* })
|
|
281
|
+
* await client.importInvoice.v1.update(CandidApi.InvoiceId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {})
|
|
305
282
|
*/
|
|
306
283
|
update(invoiceId, request, requestOptions) {
|
|
307
284
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -309,7 +286,7 @@ class V1 {
|
|
|
309
286
|
const _response = yield core.fetcher({
|
|
310
287
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/import-invoice/v1/${encodeURIComponent(serializers.InvoiceId.jsonOrThrow(invoiceId))}`),
|
|
311
288
|
method: "PATCH",
|
|
312
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
289
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.1", "User-Agent": "candidhealth/0.46.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
313
290
|
contentType: "application/json",
|
|
314
291
|
requestType: "json",
|
|
315
292
|
body: serializers.importInvoice.v1.ImportInvoiceUpdateRequest.jsonOrThrow(request, {
|
|
@@ -4,18 +4,7 @@
|
|
|
4
4
|
import * as CandidApi from "../../../../../../index";
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
|
-
* {
|
|
8
|
-
* patientExternalId: CandidApi.PatientExternalId("string"),
|
|
9
|
-
* encounterExternalId: CandidApi.EncounterExternalId("string"),
|
|
10
|
-
* note: "string",
|
|
11
|
-
* dueDateBefore: "2023-01-15",
|
|
12
|
-
* dueDateAfter: "2023-01-15",
|
|
13
|
-
* status: "DRAFT",
|
|
14
|
-
* limit: 1,
|
|
15
|
-
* sort: "CREATED_AT",
|
|
16
|
-
* sortDirection: "asc",
|
|
17
|
-
* pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9")
|
|
18
|
-
* }
|
|
7
|
+
* {}
|
|
19
8
|
*/
|
|
20
9
|
export interface SearchImportedInvoicesRequest {
|
|
21
10
|
patientExternalId?: CandidApi.PatientExternalId;
|
|
@@ -58,6 +58,8 @@ export * from "./individual/types";
|
|
|
58
58
|
export * from "./invoices/types";
|
|
59
59
|
export * as paymentAccountConfigs from "./paymentAccountConfigs";
|
|
60
60
|
export * from "./paymentAccountConfigs/types";
|
|
61
|
+
export * as pipelineCommons from "./pipelineCommons";
|
|
62
|
+
export * from "./pipelineCommons/types";
|
|
61
63
|
export * as serviceFacility from "./serviceFacility";
|
|
62
64
|
export * from "./serviceFacility/types";
|
|
63
65
|
export * as tags from "./tags";
|
|
@@ -37,7 +37,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.paymentAccountConfigs = exports.individual = exports.identifiers = exports.financials = exports.era = exports.eraCommons = exports.diagnoses = exports.commons = exports.claims = exports.preEncounter = exports.x12 = exports.writeOffs = exports.tasks = exports.superbills = exports.serviceLines = exports.remits = exports.remitDrafts = exports.payers = exports.payerPlanGroups = exports.patientRefunds = exports.patientPayments = exports.organizationProviders = exports.organizationServiceFacilities = exports.nonInsurancePayers = exports.nonInsurancePayerRefunds = exports.nonInsurancePayerPayments = exports.medicationDispense = exports.invoices = exports.insuranceRefunds = exports.insurancePayments = exports.insuranceCards = exports.insuranceAdjudications = exports.importInvoice = exports.guarantor = exports.feeSchedules = exports.externalPaymentAccountConfig = exports.exports = exports.expectedNetworkStatus = exports.encounters = exports.encounterProviders = exports.encounterAttachments = exports.customSchemas = exports.credentialing = exports.contracts = exports.clinicalTrials = exports.claimSubmission = exports.chargeCapture = exports.chargeCaptureBundles = exports.billingNotes = exports.auth = void 0;
|
|
40
|
-
exports.eligibility = exports.tags = exports.serviceFacility = void 0;
|
|
40
|
+
exports.eligibility = exports.tags = exports.serviceFacility = exports.pipelineCommons = void 0;
|
|
41
41
|
exports.auth = __importStar(require("./auth"));
|
|
42
42
|
exports.billingNotes = __importStar(require("./billingNotes"));
|
|
43
43
|
exports.chargeCaptureBundles = __importStar(require("./chargeCaptureBundles"));
|
|
@@ -98,6 +98,8 @@ __exportStar(require("./individual/types"), exports);
|
|
|
98
98
|
__exportStar(require("./invoices/types"), exports);
|
|
99
99
|
exports.paymentAccountConfigs = __importStar(require("./paymentAccountConfigs"));
|
|
100
100
|
__exportStar(require("./paymentAccountConfigs/types"), exports);
|
|
101
|
+
exports.pipelineCommons = __importStar(require("./pipelineCommons"));
|
|
102
|
+
__exportStar(require("./pipelineCommons/types"), exports);
|
|
101
103
|
exports.serviceFacility = __importStar(require("./serviceFacility"));
|
|
102
104
|
__exportStar(require("./serviceFacility/types"), exports);
|
|
103
105
|
exports.tags = __importStar(require("./tags"));
|
|
@@ -44,27 +44,109 @@ export declare class V1 {
|
|
|
44
44
|
* @example
|
|
45
45
|
* await client.insuranceAdjudications.v1.create({
|
|
46
46
|
* payerIdentifier: {
|
|
47
|
-
* type: "payer_info"
|
|
47
|
+
* type: "payer_info",
|
|
48
|
+
* payerId: CandidApi.payers.v3.PayerId("payer_id"),
|
|
49
|
+
* payerName: CandidApi.payers.v3.PayerName("payer_name")
|
|
48
50
|
* },
|
|
49
51
|
* payee: {
|
|
50
|
-
* payeeName: "
|
|
52
|
+
* payeeName: "payee_name",
|
|
51
53
|
* payeeIdentifier: {
|
|
52
54
|
* type: "npi",
|
|
53
|
-
* value: CandidApi.Npi("
|
|
55
|
+
* value: CandidApi.Npi("payee_identifier")
|
|
54
56
|
* }
|
|
55
57
|
* },
|
|
56
|
-
* postDate: "2023-01-15",
|
|
57
|
-
* checkNumber: "string",
|
|
58
58
|
* checkDate: "2023-01-15",
|
|
59
|
-
* note: "string",
|
|
60
59
|
* claims: {
|
|
61
60
|
* "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32": [{
|
|
62
61
|
* claimStatusCode: "1",
|
|
63
|
-
* serviceLines: {
|
|
64
|
-
*
|
|
62
|
+
* serviceLines: {
|
|
63
|
+
* "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32": [{
|
|
64
|
+
* carcs: [{
|
|
65
|
+
* groupCode: "CO",
|
|
66
|
+
* reasonCode: "1",
|
|
67
|
+
* amountCents: 1
|
|
68
|
+
* }, {
|
|
69
|
+
* groupCode: "CO",
|
|
70
|
+
* reasonCode: "1",
|
|
71
|
+
* amountCents: 1
|
|
72
|
+
* }],
|
|
73
|
+
* rarcs: [{
|
|
74
|
+
* reasonCode: "M1"
|
|
75
|
+
* }, {
|
|
76
|
+
* reasonCode: "M1"
|
|
77
|
+
* }]
|
|
78
|
+
* }, {
|
|
79
|
+
* carcs: [{
|
|
80
|
+
* groupCode: "CO",
|
|
81
|
+
* reasonCode: "1",
|
|
82
|
+
* amountCents: 1
|
|
83
|
+
* }, {
|
|
84
|
+
* groupCode: "CO",
|
|
85
|
+
* reasonCode: "1",
|
|
86
|
+
* amountCents: 1
|
|
87
|
+
* }],
|
|
88
|
+
* rarcs: [{
|
|
89
|
+
* reasonCode: "M1"
|
|
90
|
+
* }, {
|
|
91
|
+
* reasonCode: "M1"
|
|
92
|
+
* }]
|
|
93
|
+
* }]
|
|
94
|
+
* },
|
|
95
|
+
* carcs: [{
|
|
96
|
+
* groupCode: "CO",
|
|
97
|
+
* reasonCode: "1",
|
|
98
|
+
* amountCents: 1
|
|
99
|
+
* }, {
|
|
100
|
+
* groupCode: "CO",
|
|
101
|
+
* reasonCode: "1",
|
|
102
|
+
* amountCents: 1
|
|
103
|
+
* }]
|
|
104
|
+
* }, {
|
|
105
|
+
* claimStatusCode: "1",
|
|
106
|
+
* serviceLines: {
|
|
107
|
+
* "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32": [{
|
|
108
|
+
* carcs: [{
|
|
109
|
+
* groupCode: "CO",
|
|
110
|
+
* reasonCode: "1",
|
|
111
|
+
* amountCents: 1
|
|
112
|
+
* }, {
|
|
113
|
+
* groupCode: "CO",
|
|
114
|
+
* reasonCode: "1",
|
|
115
|
+
* amountCents: 1
|
|
116
|
+
* }],
|
|
117
|
+
* rarcs: [{
|
|
118
|
+
* reasonCode: "M1"
|
|
119
|
+
* }, {
|
|
120
|
+
* reasonCode: "M1"
|
|
121
|
+
* }]
|
|
122
|
+
* }, {
|
|
123
|
+
* carcs: [{
|
|
124
|
+
* groupCode: "CO",
|
|
125
|
+
* reasonCode: "1",
|
|
126
|
+
* amountCents: 1
|
|
127
|
+
* }, {
|
|
128
|
+
* groupCode: "CO",
|
|
129
|
+
* reasonCode: "1",
|
|
130
|
+
* amountCents: 1
|
|
131
|
+
* }],
|
|
132
|
+
* rarcs: [{
|
|
133
|
+
* reasonCode: "M1"
|
|
134
|
+
* }, {
|
|
135
|
+
* reasonCode: "M1"
|
|
136
|
+
* }]
|
|
137
|
+
* }]
|
|
138
|
+
* },
|
|
139
|
+
* carcs: [{
|
|
140
|
+
* groupCode: "CO",
|
|
141
|
+
* reasonCode: "1",
|
|
142
|
+
* amountCents: 1
|
|
143
|
+
* }, {
|
|
144
|
+
* groupCode: "CO",
|
|
145
|
+
* reasonCode: "1",
|
|
146
|
+
* amountCents: 1
|
|
147
|
+
* }]
|
|
65
148
|
* }]
|
|
66
|
-
* }
|
|
67
|
-
* remitDraftId: CandidApi.remitDrafts.v1.RemitDraftId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
149
|
+
* }
|
|
68
150
|
* })
|
|
69
151
|
*/
|
|
70
152
|
create(request: CandidApi.insuranceAdjudications.v1.InsuranceAdjudicationCreate, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.insuranceAdjudications.v1.InsuranceAdjudication, CandidApi.insuranceAdjudications.v1.create.Error>>;
|
|
@@ -73,7 +73,7 @@ class V1 {
|
|
|
73
73
|
const _response = yield core.fetcher({
|
|
74
74
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/insurance-adjudications/v1/${encodeURIComponent(serializers.insuranceAdjudications.v1.InsuranceAdjudicationId.jsonOrThrow(insuranceAdjudicationId))}`),
|
|
75
75
|
method: "GET",
|
|
76
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
76
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.1", "User-Agent": "candidhealth/0.46.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
77
77
|
contentType: "application/json",
|
|
78
78
|
requestType: "json",
|
|
79
79
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -106,27 +106,109 @@ class V1 {
|
|
|
106
106
|
* @example
|
|
107
107
|
* await client.insuranceAdjudications.v1.create({
|
|
108
108
|
* payerIdentifier: {
|
|
109
|
-
* type: "payer_info"
|
|
109
|
+
* type: "payer_info",
|
|
110
|
+
* payerId: CandidApi.payers.v3.PayerId("payer_id"),
|
|
111
|
+
* payerName: CandidApi.payers.v3.PayerName("payer_name")
|
|
110
112
|
* },
|
|
111
113
|
* payee: {
|
|
112
|
-
* payeeName: "
|
|
114
|
+
* payeeName: "payee_name",
|
|
113
115
|
* payeeIdentifier: {
|
|
114
116
|
* type: "npi",
|
|
115
|
-
* value: CandidApi.Npi("
|
|
117
|
+
* value: CandidApi.Npi("payee_identifier")
|
|
116
118
|
* }
|
|
117
119
|
* },
|
|
118
|
-
* postDate: "2023-01-15",
|
|
119
|
-
* checkNumber: "string",
|
|
120
120
|
* checkDate: "2023-01-15",
|
|
121
|
-
* note: "string",
|
|
122
121
|
* claims: {
|
|
123
122
|
* "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32": [{
|
|
124
123
|
* claimStatusCode: "1",
|
|
125
|
-
* serviceLines: {
|
|
126
|
-
*
|
|
124
|
+
* serviceLines: {
|
|
125
|
+
* "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32": [{
|
|
126
|
+
* carcs: [{
|
|
127
|
+
* groupCode: "CO",
|
|
128
|
+
* reasonCode: "1",
|
|
129
|
+
* amountCents: 1
|
|
130
|
+
* }, {
|
|
131
|
+
* groupCode: "CO",
|
|
132
|
+
* reasonCode: "1",
|
|
133
|
+
* amountCents: 1
|
|
134
|
+
* }],
|
|
135
|
+
* rarcs: [{
|
|
136
|
+
* reasonCode: "M1"
|
|
137
|
+
* }, {
|
|
138
|
+
* reasonCode: "M1"
|
|
139
|
+
* }]
|
|
140
|
+
* }, {
|
|
141
|
+
* carcs: [{
|
|
142
|
+
* groupCode: "CO",
|
|
143
|
+
* reasonCode: "1",
|
|
144
|
+
* amountCents: 1
|
|
145
|
+
* }, {
|
|
146
|
+
* groupCode: "CO",
|
|
147
|
+
* reasonCode: "1",
|
|
148
|
+
* amountCents: 1
|
|
149
|
+
* }],
|
|
150
|
+
* rarcs: [{
|
|
151
|
+
* reasonCode: "M1"
|
|
152
|
+
* }, {
|
|
153
|
+
* reasonCode: "M1"
|
|
154
|
+
* }]
|
|
155
|
+
* }]
|
|
156
|
+
* },
|
|
157
|
+
* carcs: [{
|
|
158
|
+
* groupCode: "CO",
|
|
159
|
+
* reasonCode: "1",
|
|
160
|
+
* amountCents: 1
|
|
161
|
+
* }, {
|
|
162
|
+
* groupCode: "CO",
|
|
163
|
+
* reasonCode: "1",
|
|
164
|
+
* amountCents: 1
|
|
165
|
+
* }]
|
|
166
|
+
* }, {
|
|
167
|
+
* claimStatusCode: "1",
|
|
168
|
+
* serviceLines: {
|
|
169
|
+
* "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32": [{
|
|
170
|
+
* carcs: [{
|
|
171
|
+
* groupCode: "CO",
|
|
172
|
+
* reasonCode: "1",
|
|
173
|
+
* amountCents: 1
|
|
174
|
+
* }, {
|
|
175
|
+
* groupCode: "CO",
|
|
176
|
+
* reasonCode: "1",
|
|
177
|
+
* amountCents: 1
|
|
178
|
+
* }],
|
|
179
|
+
* rarcs: [{
|
|
180
|
+
* reasonCode: "M1"
|
|
181
|
+
* }, {
|
|
182
|
+
* reasonCode: "M1"
|
|
183
|
+
* }]
|
|
184
|
+
* }, {
|
|
185
|
+
* carcs: [{
|
|
186
|
+
* groupCode: "CO",
|
|
187
|
+
* reasonCode: "1",
|
|
188
|
+
* amountCents: 1
|
|
189
|
+
* }, {
|
|
190
|
+
* groupCode: "CO",
|
|
191
|
+
* reasonCode: "1",
|
|
192
|
+
* amountCents: 1
|
|
193
|
+
* }],
|
|
194
|
+
* rarcs: [{
|
|
195
|
+
* reasonCode: "M1"
|
|
196
|
+
* }, {
|
|
197
|
+
* reasonCode: "M1"
|
|
198
|
+
* }]
|
|
199
|
+
* }]
|
|
200
|
+
* },
|
|
201
|
+
* carcs: [{
|
|
202
|
+
* groupCode: "CO",
|
|
203
|
+
* reasonCode: "1",
|
|
204
|
+
* amountCents: 1
|
|
205
|
+
* }, {
|
|
206
|
+
* groupCode: "CO",
|
|
207
|
+
* reasonCode: "1",
|
|
208
|
+
* amountCents: 1
|
|
209
|
+
* }]
|
|
127
210
|
* }]
|
|
128
|
-
* }
|
|
129
|
-
* remitDraftId: CandidApi.remitDrafts.v1.RemitDraftId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
211
|
+
* }
|
|
130
212
|
* })
|
|
131
213
|
*/
|
|
132
214
|
create(request, requestOptions) {
|
|
@@ -135,7 +217,7 @@ class V1 {
|
|
|
135
217
|
const _response = yield core.fetcher({
|
|
136
218
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/insurance-adjudications/v1"),
|
|
137
219
|
method: "POST",
|
|
138
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
220
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.1", "User-Agent": "candidhealth/0.46.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
139
221
|
contentType: "application/json",
|
|
140
222
|
requestType: "json",
|
|
141
223
|
body: serializers.insuranceAdjudications.v1.InsuranceAdjudicationCreate.jsonOrThrow(request, {
|
|
@@ -191,7 +273,7 @@ class V1 {
|
|
|
191
273
|
const _response = yield core.fetcher({
|
|
192
274
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/insurance-adjudications/v1/${encodeURIComponent(serializers.insuranceAdjudications.v1.InsuranceAdjudicationId.jsonOrThrow(insuranceAdjudicationId))}`),
|
|
193
275
|
method: "DELETE",
|
|
194
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
276
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.1", "User-Agent": "candidhealth/0.46.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
195
277
|
contentType: "application/json",
|
|
196
278
|
requestType: "json",
|
|
197
279
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -32,16 +32,7 @@ export declare class V1 {
|
|
|
32
32
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
|
-
* await client.insurancePayments.v1.getMulti(
|
|
36
|
-
* limit: 1,
|
|
37
|
-
* payerUuid: CandidApi.payers.v3.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
38
|
-
* claimId: CandidApi.ClaimId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
39
|
-
* serviceLineId: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
40
|
-
* billingProviderId: CandidApi.ProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
41
|
-
* sort: "amount_cents",
|
|
42
|
-
* sortDirection: "asc",
|
|
43
|
-
* pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9")
|
|
44
|
-
* })
|
|
35
|
+
* await client.insurancePayments.v1.getMulti()
|
|
45
36
|
*/
|
|
46
37
|
getMulti(request?: CandidApi.insurancePayments.v1.GetMultiInsurancePaymentRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.insurancePayments.v1.InsurancePaymentsPage, CandidApi.insurancePayments.v1.getMulti.Error>>;
|
|
47
38
|
/**
|