candidhealth 0.42.5 → 0.43.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 +3 -3
- package/api/resources/chargeCapture/resources/v1/client/Client.d.ts +5 -6
- package/api/resources/chargeCapture/resources/v1/client/Client.js +25 -28
- package/api/resources/chargeCapture/resources/v1/client/create.d.ts +7 -1
- package/api/resources/chargeCapture/resources/v1/client/create.js +11 -0
- package/api/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
- package/api/resources/chargeCapture/resources/v1/client/index.js +2 -2
- package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +8 -0
- package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +6 -11
- package/api/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.d.ts → updatePostBilledChanges.d.ts} +6 -6
- package/{dist/api/resources/chargeCapture/resources/v1/client/updatePostBilledChange.js → api/resources/chargeCapture/resources/v1/client/updatePostBilledChanges.js} +3 -3
- package/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +1 -1
- package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureError.d.ts +5 -5
- package/api/resources/{commons/types/NotImplementedErrorMessage.d.ts → chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.d.ts} +1 -1
- package/api/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
- package/api/resources/chargeCapture/resources/v1/types/index.js +1 -0
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +8 -16
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +26 -76
- package/api/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +0 -1
- package/api/resources/chargeCaptureBundles/resources/v1/client/index.js +1 -2
- package/api/resources/chargeCaptureBundles/resources/v1/client/requests/{GetAllChargeCaptureBundlesRequest.d.ts → GetAllChargeCaptureClaimCreationsRequest.d.ts} +17 -17
- package/api/resources/chargeCaptureBundles/resources/v1/client/requests/index.d.ts +1 -1
- package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +22 -0
- package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.d.ts +7 -0
- package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.d.ts +7 -0
- package/{dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.js → api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.js} +2 -2
- package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.d.ts +15 -0
- package/{dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js → api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.js} +2 -2
- package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.d.ts +15 -0
- package/api/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +5 -5
- package/api/resources/chargeCaptureBundles/resources/v1/types/index.js +5 -5
- package/api/resources/commons/types/ChargeCaptureClaimCreationId.d.ts +8 -0
- package/api/resources/commons/types/ChargeCaptureClaimCreationId.js +9 -0
- package/api/resources/commons/types/index.d.ts +1 -2
- package/api/resources/commons/types/index.js +1 -2
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
- package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/api/resources/diagnoses/client/Client.js +3 -3
- package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/api/resources/encounterAttachments/client/Client.d.ts +30 -0
- package/api/resources/encounterAttachments/client/Client.js +17 -0
- package/api/resources/encounterAttachments/client/index.d.ts +1 -0
- package/api/resources/encounterAttachments/client/index.js +2 -0
- package/api/resources/encounterAttachments/index.d.ts +2 -0
- package/api/resources/encounterAttachments/index.js +18 -0
- package/api/resources/encounterAttachments/resources/index.d.ts +1 -0
- package/{dist/serialization/resources/chargeCaptureBundles/resources/v1/client → api/resources/encounterAttachments/resources}/index.js +2 -2
- package/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +63 -0
- package/api/resources/encounterAttachments/resources/v1/client/Client.js +195 -0
- package/api/resources/encounterAttachments/resources/v1/client/create.d.ts +22 -0
- package/{dist/api/resources/chargeCaptureBundles/resources/v1/client/resubmit.js → api/resources/encounterAttachments/resources/v1/client/create.js} +1 -12
- package/api/resources/encounterAttachments/resources/v1/client/delete.d.ts +22 -0
- package/api/resources/{chargeCaptureBundles/resources/v1/client/resubmit.js → encounterAttachments/resources/v1/client/delete.js} +1 -12
- package/api/resources/encounterAttachments/resources/v1/client/get.d.ts +22 -0
- package/api/resources/encounterAttachments/resources/v1/client/get.js +57 -0
- package/api/resources/encounterAttachments/resources/v1/client/index.d.ts +4 -0
- package/api/resources/encounterAttachments/resources/v1/client/index.js +43 -0
- package/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.d.ts +11 -0
- package/api/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.d.ts +13 -0
- package/api/resources/encounterAttachments/resources/v1/client/requests/index.d.ts +2 -0
- package/api/resources/encounterAttachments/resources/v1/client/requests/index.js +2 -0
- package/api/resources/encounterAttachments/resources/v1/index.d.ts +2 -0
- package/api/resources/encounterAttachments/resources/v1/index.js +18 -0
- package/api/resources/encounterAttachments/resources/v1/types/AttachmentId.d.ts +8 -0
- package/api/resources/{commons/types/ChargeCaptureBundleId.js → encounterAttachments/resources/v1/types/AttachmentId.js} +2 -2
- package/api/resources/encounterAttachments/resources/v1/types/BaseAttachment.d.ts +11 -0
- package/api/resources/encounterAttachments/resources/v1/types/EncounterAttachment.d.ts +8 -0
- package/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +9 -0
- package/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +11 -0
- package/api/resources/encounterAttachments/resources/v1/types/index.d.ts +4 -0
- package/api/resources/encounterAttachments/resources/v1/types/index.js +20 -0
- package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/api/resources/encounters/resources/v4/client/Client.js +5 -5
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/api/resources/index.d.ts +1 -0
- package/api/resources/index.js +3 -2
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
- 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/organizationProviders/resources/v3/client/Client.js +4 -4
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
- package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
- package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
- package/api/resources/superbills/resources/v1/client/Client.js +1 -1
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
- package/core/form-data-utils/FormDataWrapper.d.ts +60 -0
- package/core/form-data-utils/FormDataWrapper.js +188 -0
- package/core/form-data-utils/index.d.ts +1 -0
- package/core/form-data-utils/index.js +17 -0
- package/core/index.d.ts +1 -0
- package/core/index.js +1 -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 +3 -3
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +5 -6
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +25 -28
- package/dist/api/resources/chargeCapture/resources/v1/client/create.d.ts +7 -1
- package/dist/api/resources/chargeCapture/resources/v1/client/create.js +11 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/chargeCapture/resources/v1/client/index.js +2 -2
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +8 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +6 -11
- package/dist/api/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.d.ts → updatePostBilledChanges.d.ts} +6 -6
- package/{api/resources/chargeCapture/resources/v1/client/updatePostBilledChange.js → dist/api/resources/chargeCapture/resources/v1/client/updatePostBilledChanges.js} +3 -3
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +1 -1
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureError.d.ts +5 -5
- package/dist/api/resources/{commons/types/NotImplementedErrorMessage.d.ts → chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.d.ts} +1 -1
- package/dist/api/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
- package/dist/api/resources/chargeCapture/resources/v1/types/index.js +1 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +8 -16
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +26 -76
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +0 -1
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/index.js +1 -2
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/{GetAllChargeCaptureBundlesRequest.d.ts → GetAllChargeCaptureClaimCreationsRequest.d.ts} +17 -17
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureClaimCreationsRequest.js +5 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/index.d.ts +1 -1
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +22 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.js +5 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.d.ts +7 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.js +5 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.d.ts +7 -0
- package/{api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.js → dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.js} +2 -2
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.d.ts +15 -0
- package/{api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js → dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.js} +2 -2
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.d.ts +15 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.js +5 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +5 -5
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/index.js +5 -5
- package/dist/api/resources/commons/types/ChargeCaptureClaimCreationId.d.ts +8 -0
- package/dist/api/resources/commons/types/ChargeCaptureClaimCreationId.js +9 -0
- package/dist/api/resources/commons/types/index.d.ts +1 -2
- package/dist/api/resources/commons/types/index.js +1 -2
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/diagnoses/client/Client.js +3 -3
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/encounterAttachments/client/Client.d.ts +30 -0
- package/dist/api/resources/encounterAttachments/client/Client.js +17 -0
- package/dist/api/resources/encounterAttachments/client/index.d.ts +1 -0
- package/dist/api/resources/encounterAttachments/client/index.js +2 -0
- package/dist/api/resources/encounterAttachments/index.d.ts +2 -0
- package/dist/api/resources/encounterAttachments/index.js +18 -0
- package/dist/api/resources/encounterAttachments/resources/index.d.ts +1 -0
- package/{serialization/resources/chargeCaptureBundles/resources/v1/client → dist/api/resources/encounterAttachments/resources}/index.js +2 -2
- package/dist/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +63 -0
- package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +195 -0
- package/dist/api/resources/encounterAttachments/resources/v1/client/create.d.ts +22 -0
- package/dist/api/resources/encounterAttachments/resources/v1/client/create.js +57 -0
- package/dist/api/resources/encounterAttachments/resources/v1/client/delete.d.ts +22 -0
- package/dist/api/resources/encounterAttachments/resources/v1/client/delete.js +57 -0
- package/dist/api/resources/encounterAttachments/resources/v1/client/get.d.ts +22 -0
- package/dist/api/resources/encounterAttachments/resources/v1/client/get.js +57 -0
- package/dist/api/resources/encounterAttachments/resources/v1/client/index.d.ts +4 -0
- package/dist/api/resources/encounterAttachments/resources/v1/client/index.js +43 -0
- package/dist/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.d.ts +11 -0
- package/dist/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.js +5 -0
- package/dist/api/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.d.ts +13 -0
- package/dist/api/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.js +5 -0
- package/dist/api/resources/encounterAttachments/resources/v1/client/requests/index.d.ts +2 -0
- package/dist/api/resources/encounterAttachments/resources/v1/client/requests/index.js +2 -0
- package/dist/api/resources/encounterAttachments/resources/v1/index.d.ts +2 -0
- package/dist/api/resources/encounterAttachments/resources/v1/index.js +18 -0
- package/dist/api/resources/encounterAttachments/resources/v1/types/AttachmentId.d.ts +8 -0
- package/dist/api/resources/{commons/types/ChargeCaptureBundleId.js → encounterAttachments/resources/v1/types/AttachmentId.js} +2 -2
- package/dist/api/resources/encounterAttachments/resources/v1/types/BaseAttachment.d.ts +11 -0
- package/dist/api/resources/encounterAttachments/resources/v1/types/BaseAttachment.js +5 -0
- package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachment.d.ts +8 -0
- package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachment.js +5 -0
- package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +9 -0
- package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +11 -0
- package/dist/api/resources/encounterAttachments/resources/v1/types/index.d.ts +4 -0
- package/dist/api/resources/encounterAttachments/resources/v1/types/index.js +20 -0
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/dist/api/resources/encounters/resources/v4/client/Client.js +5 -5
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/index.d.ts +1 -0
- package/dist/api/resources/index.js +3 -2
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
- 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/organizationProviders/resources/v3/client/Client.js +4 -4
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/superbills/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
- package/dist/core/form-data-utils/FormDataWrapper.d.ts +60 -0
- package/dist/core/form-data-utils/FormDataWrapper.js +188 -0
- package/dist/core/form-data-utils/index.d.ts +1 -0
- package/dist/core/form-data-utils/index.js +17 -0
- package/dist/core/index.d.ts +1 -0
- package/dist/core/index.js +1 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/create.d.ts +6 -1
- package/dist/serialization/resources/chargeCapture/resources/v1/client/create.js +6 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
- package/dist/serialization/resources/chargeCapture/resources/v1/client/index.js +2 -2
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +2 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.js +2 -0
- package/{serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChange.d.ts → dist/serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChanges.d.ts} +6 -1
- package/{serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChange.js → dist/serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChanges.js} +5 -3
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +2 -2
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +2 -2
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.d.ts +2 -2
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.js +2 -2
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.d.ts +12 -0
- package/{serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js → dist/serialization/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.js} +4 -2
- package/dist/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/index.js +1 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/index.d.ts +0 -1
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/index.js +0 -1
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +22 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundle.js → ChargeCaptureClaimCreation.js} +9 -9
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.d.ts +14 -0
- package/{serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.js → dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.js} +4 -4
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.d.ts +10 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundleStatus.js → ChargeCaptureClaimCreationSortField.js} +2 -2
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundleStatus.d.ts → ChargeCaptureClaimCreationStatus.d.ts} +2 -2
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.js +41 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.d.ts +16 -0
- package/{serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.js → dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.js} +5 -5
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +5 -5
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/index.js +5 -5
- package/dist/serialization/resources/commons/types/{ChargeCaptureBundleId.d.ts → ChargeCaptureClaimCreationId.d.ts} +2 -2
- package/dist/serialization/resources/commons/types/{ChargeCaptureBundleId.js → ChargeCaptureClaimCreationId.js} +3 -3
- package/dist/serialization/resources/commons/types/index.d.ts +1 -2
- package/dist/serialization/resources/commons/types/index.js +1 -2
- package/dist/serialization/resources/encounterAttachments/index.d.ts +1 -0
- package/dist/serialization/resources/encounterAttachments/index.js +17 -0
- package/dist/serialization/resources/encounterAttachments/resources/index.d.ts +1 -0
- package/dist/serialization/resources/encounterAttachments/resources/index.js +37 -0
- package/dist/serialization/resources/encounterAttachments/resources/v1/client/get.d.ts +11 -0
- package/dist/serialization/resources/encounterAttachments/resources/v1/client/get.js +42 -0
- package/dist/serialization/resources/encounterAttachments/resources/v1/client/index.d.ts +2 -0
- package/dist/serialization/resources/encounterAttachments/resources/v1/client/index.js +41 -0
- package/dist/serialization/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.d.ts +13 -0
- package/dist/serialization/resources/{commons/types/NotImplementedErrorMessage.js → encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.js} +5 -4
- package/dist/serialization/resources/encounterAttachments/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/encounterAttachments/resources/v1/client/requests/index.js +5 -0
- package/dist/serialization/resources/encounterAttachments/resources/v1/index.d.ts +2 -0
- package/dist/serialization/resources/encounterAttachments/resources/v1/index.js +18 -0
- package/dist/serialization/resources/encounterAttachments/resources/v1/types/AttachmentId.d.ts +10 -0
- package/dist/serialization/resources/encounterAttachments/resources/v1/types/AttachmentId.js +45 -0
- package/dist/serialization/resources/encounterAttachments/resources/v1/types/BaseAttachment.d.ts +18 -0
- package/dist/serialization/resources/encounterAttachments/resources/v1/types/BaseAttachment.js +49 -0
- package/dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachment.d.ts +16 -0
- package/dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachment.js +49 -0
- package/dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +10 -0
- package/{serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.js → dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js} +2 -2
- package/dist/serialization/resources/encounterAttachments/resources/v1/types/index.d.ts +4 -0
- package/dist/serialization/resources/encounterAttachments/resources/v1/types/index.js +20 -0
- package/dist/serialization/resources/index.d.ts +1 -0
- package/dist/serialization/resources/index.js +3 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -2
- package/reference.md +209 -74
- package/serialization/resources/chargeCapture/resources/v1/client/create.d.ts +6 -1
- package/serialization/resources/chargeCapture/resources/v1/client/create.js +6 -0
- package/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
- package/serialization/resources/chargeCapture/resources/v1/client/index.js +2 -2
- package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +2 -0
- package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.js +2 -0
- package/{dist/serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChange.d.ts → serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChanges.d.ts} +6 -1
- package/{dist/serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChange.js → serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChanges.js} +5 -3
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +2 -2
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +2 -2
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.d.ts +2 -2
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.js +2 -2
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.d.ts +12 -0
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.js +43 -0
- package/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
- package/serialization/resources/chargeCapture/resources/v1/types/index.js +1 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/index.d.ts +0 -1
- package/serialization/resources/chargeCaptureBundles/resources/v1/index.js +0 -1
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +22 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundle.js → ChargeCaptureClaimCreation.js} +9 -9
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.d.ts +14 -0
- package/{dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.js → serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationPage.js} +4 -4
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.d.ts +10 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSortField.js +41 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundleStatus.d.ts → ChargeCaptureClaimCreationStatus.d.ts} +2 -2
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationStatus.js +41 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.d.ts +16 -0
- package/{dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.js → serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.js} +5 -5
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +5 -5
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/index.js +5 -5
- package/serialization/resources/commons/types/{ChargeCaptureBundleId.d.ts → ChargeCaptureClaimCreationId.d.ts} +2 -2
- package/serialization/resources/commons/types/{ChargeCaptureBundleId.js → ChargeCaptureClaimCreationId.js} +3 -3
- package/serialization/resources/commons/types/index.d.ts +1 -2
- package/serialization/resources/commons/types/index.js +1 -2
- package/serialization/resources/encounterAttachments/index.d.ts +1 -0
- package/serialization/resources/encounterAttachments/index.js +17 -0
- package/serialization/resources/encounterAttachments/resources/index.d.ts +1 -0
- package/serialization/resources/encounterAttachments/resources/index.js +37 -0
- package/serialization/resources/encounterAttachments/resources/v1/client/get.d.ts +11 -0
- package/serialization/resources/encounterAttachments/resources/v1/client/get.js +42 -0
- package/serialization/resources/encounterAttachments/resources/v1/client/index.d.ts +2 -0
- package/serialization/resources/encounterAttachments/resources/v1/client/index.js +41 -0
- package/serialization/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.d.ts +13 -0
- package/serialization/resources/{commons/types/NotImplementedErrorMessage.js → encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.js} +5 -4
- package/serialization/resources/encounterAttachments/resources/v1/client/requests/index.d.ts +1 -0
- package/serialization/resources/encounterAttachments/resources/v1/client/requests/index.js +5 -0
- package/serialization/resources/encounterAttachments/resources/v1/index.d.ts +2 -0
- package/serialization/resources/encounterAttachments/resources/v1/index.js +18 -0
- package/serialization/resources/encounterAttachments/resources/v1/types/AttachmentId.d.ts +10 -0
- package/serialization/resources/encounterAttachments/resources/v1/types/AttachmentId.js +45 -0
- package/serialization/resources/encounterAttachments/resources/v1/types/BaseAttachment.d.ts +18 -0
- package/serialization/resources/encounterAttachments/resources/v1/types/BaseAttachment.js +49 -0
- package/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachment.d.ts +16 -0
- package/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachment.js +49 -0
- package/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +10 -0
- package/{dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.js → serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js} +2 -2
- package/serialization/resources/encounterAttachments/resources/v1/types/index.d.ts +4 -0
- package/serialization/resources/encounterAttachments/resources/v1/types/index.js +20 -0
- package/serialization/resources/index.d.ts +1 -0
- package/serialization/resources/index.js +3 -2
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/chargeCaptureBundles/resources/v1/client/resubmit.d.ts +0 -28
- package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +0 -22
- package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.d.ts +0 -7
- package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.d.ts +0 -7
- package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +0 -15
- package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +0 -15
- package/api/resources/commons/types/ChargeCaptureBundleId.d.ts +0 -8
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/resubmit.d.ts +0 -28
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +0 -22
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.d.ts +0 -7
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.d.ts +0 -7
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +0 -15
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +0 -15
- package/dist/api/resources/commons/types/ChargeCaptureBundleId.d.ts +0 -8
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +0 -1
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/resubmit.d.ts +0 -15
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/resubmit.js +0 -71
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +0 -22
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.d.ts +0 -14
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.d.ts +0 -10
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +0 -16
- package/dist/serialization/resources/commons/types/NotImplementedErrorMessage.d.ts +0 -12
- package/serialization/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +0 -1
- package/serialization/resources/chargeCaptureBundles/resources/v1/client/resubmit.d.ts +0 -15
- package/serialization/resources/chargeCaptureBundles/resources/v1/client/resubmit.js +0 -71
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +0 -22
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.d.ts +0 -14
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.d.ts +0 -10
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +0 -16
- package/serialization/resources/commons/types/NotImplementedErrorMessage.d.ts +0 -12
- /package/api/resources/{chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureBundlesRequest.js → chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.js} +0 -0
- /package/api/resources/chargeCaptureBundles/resources/v1/{types/ChargeCaptureBundle.js → client/requests/GetAllChargeCaptureClaimCreationsRequest.js} +0 -0
- /package/api/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundlePage.js → ChargeCaptureClaimCreation.js} +0 -0
- /package/api/resources/chargeCaptureBundles/resources/v1/types/{ChargeCaptureBundleSummary.js → ChargeCaptureClaimCreationPage.js} +0 -0
- /package/api/resources/{commons/types/NotImplementedErrorMessage.js → chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreationSummary.js} +0 -0
- /package/{dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureBundlesRequest.js → api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.js} +0 -0
- /package/{dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.js → api/resources/encounterAttachments/resources/v1/client/requests/DeleteAttachmentRequest.js} +0 -0
- /package/{dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundlePage.js → api/resources/encounterAttachments/resources/v1/types/BaseAttachment.js} +0 -0
- /package/{dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.js → api/resources/encounterAttachments/resources/v1/types/EncounterAttachment.js} +0 -0
- /package/dist/api/resources/{commons/types/NotImplementedErrorMessage.js → chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.js} +0 -0
|
@@ -74,7 +74,7 @@ class V2 {
|
|
|
74
74
|
const _response = yield core.fetcher({
|
|
75
75
|
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/billing_notes/v2"),
|
|
76
76
|
method: "POST",
|
|
77
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
77
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
78
78
|
contentType: "application/json",
|
|
79
79
|
requestType: "json",
|
|
80
80
|
body: serializers.billingNotes.v2.StandaloneBillingNoteCreate.jsonOrThrow(request, {
|
|
@@ -114,7 +114,7 @@ class V2 {
|
|
|
114
114
|
const _response = yield core.fetcher({
|
|
115
115
|
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/billing_notes/v2/${encodeURIComponent(serializers.billingNotes.v2.BillingNoteId.jsonOrThrow(billingNoteId))}`),
|
|
116
116
|
method: "DELETE",
|
|
117
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
117
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
118
118
|
contentType: "application/json",
|
|
119
119
|
requestType: "json",
|
|
120
120
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -165,7 +165,7 @@ class V2 {
|
|
|
165
165
|
const _response = yield core.fetcher({
|
|
166
166
|
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/billing_notes/v2/${encodeURIComponent(serializers.billingNotes.v2.BillingNoteId.jsonOrThrow(billingNoteId))}`),
|
|
167
167
|
method: "PATCH",
|
|
168
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
168
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
169
169
|
contentType: "application/json",
|
|
170
170
|
requestType: "json",
|
|
171
171
|
body: serializers.billingNotes.v2.BillingNoteUpdate.jsonOrThrow(request, {
|
|
@@ -86,8 +86,7 @@ export declare class V1 {
|
|
|
86
86
|
* dateOfServiceMin: "2023-01-15",
|
|
87
87
|
* dateOfServiceMax: "2023-01-15",
|
|
88
88
|
* claimIds: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
89
|
-
*
|
|
90
|
-
* bundleIds: CandidApi.ChargeCaptureBundleId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
89
|
+
* claimCreationIds: CandidApi.ChargeCaptureClaimCreationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
91
90
|
* billingProviderNpis: "string",
|
|
92
91
|
* serviceFacilityName: "string",
|
|
93
92
|
* primaryPayerIds: "string",
|
|
@@ -102,7 +101,7 @@ export declare class V1 {
|
|
|
102
101
|
* dateOfServiceMinRankedSort: "2023-01-15",
|
|
103
102
|
* dateOfServiceMaxRankedSort: "2023-01-15",
|
|
104
103
|
* claimIdsRankedSort: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
105
|
-
*
|
|
104
|
+
* claimCreationIdsRankedSort: CandidApi.ChargeCaptureClaimCreationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
106
105
|
* billingProviderNpisRankedSort: "string",
|
|
107
106
|
* serviceFacilityNameRankedSort: "string",
|
|
108
107
|
* primaryPayerIdsRankedSort: "string",
|
|
@@ -114,15 +113,15 @@ export declare class V1 {
|
|
|
114
113
|
*/
|
|
115
114
|
getAll(request?: CandidApi.chargeCapture.v1.GetAllChargeCapturesRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.chargeCapture.v1.ChargeCapturePage, CandidApi.chargeCapture.v1.getAll.Error>>;
|
|
116
115
|
/**
|
|
117
|
-
* @param {CandidApi.ChargeCapturePostBilledChangeId} chargeCaptureChangeId
|
|
118
116
|
* @param {CandidApi.chargeCapture.v1.ChargeCapturePostBilledChangeUpdate} request
|
|
119
117
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
120
118
|
*
|
|
121
119
|
* @example
|
|
122
|
-
* await client.chargeCapture.v1.
|
|
120
|
+
* await client.chargeCapture.v1.updatePostBilledChanges({
|
|
121
|
+
* chargeCaptureChangeIds: [CandidApi.ChargeCapturePostBilledChangeId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
123
122
|
* resolved: true
|
|
124
123
|
* })
|
|
125
124
|
*/
|
|
126
|
-
|
|
125
|
+
updatePostBilledChanges(request: CandidApi.chargeCapture.v1.ChargeCapturePostBilledChangeUpdate, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.chargeCapture.v1.ChargeCapturePostBilledChange[], CandidApi.chargeCapture.v1.updatePostBilledChanges.Error>>;
|
|
127
126
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
128
127
|
}
|
|
@@ -77,7 +77,7 @@ class V1 {
|
|
|
77
77
|
const _response = yield core.fetcher({
|
|
78
78
|
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/charge_captures/v1"),
|
|
79
79
|
method: "POST",
|
|
80
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
80
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
81
81
|
contentType: "application/json",
|
|
82
82
|
requestType: "json",
|
|
83
83
|
body: serializers.chargeCapture.v1.CreateChargeCaptureRequest.jsonOrThrow(request, {
|
|
@@ -105,6 +105,7 @@ class V1 {
|
|
|
105
105
|
case "HttpRequestValidationsError":
|
|
106
106
|
case "SchemaInstanceValidationHttpFailure":
|
|
107
107
|
case "UnprocessableEntityError":
|
|
108
|
+
case "ChargeExternalIdConflictError":
|
|
108
109
|
return {
|
|
109
110
|
ok: false,
|
|
110
111
|
error: serializers.chargeCapture.v1.create.Error.parseOrThrow(_response.error.body, {
|
|
@@ -135,7 +136,7 @@ class V1 {
|
|
|
135
136
|
const _response = yield core.fetcher({
|
|
136
137
|
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/charge_captures/v1/${encodeURIComponent(serializers.ChargeCaptureId.jsonOrThrow(chargeCaptureId))}`),
|
|
137
138
|
method: "DELETE",
|
|
138
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
139
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
139
140
|
contentType: "application/json",
|
|
140
141
|
requestType: "json",
|
|
141
142
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -189,7 +190,7 @@ class V1 {
|
|
|
189
190
|
const _response = yield core.fetcher({
|
|
190
191
|
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/charge_captures/v1/${encodeURIComponent(serializers.ChargeCaptureId.jsonOrThrow(chargeCaptureId))}`),
|
|
191
192
|
method: "PATCH",
|
|
192
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
193
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
193
194
|
contentType: "application/json",
|
|
194
195
|
requestType: "json",
|
|
195
196
|
body: serializers.chargeCapture.v1.ChargeCaptureUpdate.jsonOrThrow(request, {
|
|
@@ -247,7 +248,7 @@ class V1 {
|
|
|
247
248
|
const _response = yield core.fetcher({
|
|
248
249
|
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/charge_captures/v1/${encodeURIComponent(serializers.ChargeCaptureId.jsonOrThrow(chargeCaptureId))}`),
|
|
249
250
|
method: "GET",
|
|
250
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
251
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
251
252
|
contentType: "application/json",
|
|
252
253
|
requestType: "json",
|
|
253
254
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -287,8 +288,7 @@ class V1 {
|
|
|
287
288
|
* dateOfServiceMin: "2023-01-15",
|
|
288
289
|
* dateOfServiceMax: "2023-01-15",
|
|
289
290
|
* claimIds: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
290
|
-
*
|
|
291
|
-
* bundleIds: CandidApi.ChargeCaptureBundleId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
291
|
+
* claimCreationIds: CandidApi.ChargeCaptureClaimCreationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
292
292
|
* billingProviderNpis: "string",
|
|
293
293
|
* serviceFacilityName: "string",
|
|
294
294
|
* primaryPayerIds: "string",
|
|
@@ -303,7 +303,7 @@ class V1 {
|
|
|
303
303
|
* dateOfServiceMinRankedSort: "2023-01-15",
|
|
304
304
|
* dateOfServiceMaxRankedSort: "2023-01-15",
|
|
305
305
|
* claimIdsRankedSort: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
306
|
-
*
|
|
306
|
+
* claimCreationIdsRankedSort: CandidApi.ChargeCaptureClaimCreationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
307
307
|
* billingProviderNpisRankedSort: "string",
|
|
308
308
|
* serviceFacilityNameRankedSort: "string",
|
|
309
309
|
* primaryPayerIdsRankedSort: "string",
|
|
@@ -316,7 +316,7 @@ class V1 {
|
|
|
316
316
|
getAll() {
|
|
317
317
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
318
318
|
var _a, _b;
|
|
319
|
-
const { limit, sort, sortDirection, pageToken, patientExternalId, status, chargeExternalId, dateOfServiceMin, dateOfServiceMax, claimIds,
|
|
319
|
+
const { limit, sort, sortDirection, pageToken, patientExternalId, status, chargeExternalId, dateOfServiceMin, dateOfServiceMax, claimIds, claimCreationIds, billingProviderNpis, serviceFacilityName, primaryPayerIds, renderingProviderNpis, renderingProviderNames, supervisingProviderNpis, supervisingProviderNames, excludeChargesLinkedToClaims, patientExternalIdRankedSort, statusRankedSort, chargeExternalIdRankedSort, dateOfServiceMinRankedSort, dateOfServiceMaxRankedSort, claimIdsRankedSort, claimCreationIdsRankedSort, billingProviderNpisRankedSort, serviceFacilityNameRankedSort, primaryPayerIdsRankedSort, renderingProviderNpisRankedSort, renderingProviderNamesRankedSort, supervisingProviderNpisRankedSort, supervisingProviderNamesRankedSort, } = request;
|
|
320
320
|
const _queryParams = {};
|
|
321
321
|
if (limit != null) {
|
|
322
322
|
_queryParams["limit"] = limit.toString();
|
|
@@ -359,15 +359,12 @@ class V1 {
|
|
|
359
359
|
_queryParams["claim_ids"] = claimIds;
|
|
360
360
|
}
|
|
361
361
|
}
|
|
362
|
-
if (
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
if (bundleIds != null) {
|
|
366
|
-
if (Array.isArray(bundleIds)) {
|
|
367
|
-
_queryParams["bundle_ids"] = bundleIds.map((item) => serializers.ChargeCaptureBundleId.jsonOrThrow(item, { unrecognizedObjectKeys: "strip" }));
|
|
362
|
+
if (claimCreationIds != null) {
|
|
363
|
+
if (Array.isArray(claimCreationIds)) {
|
|
364
|
+
_queryParams["claim_creation_ids"] = claimCreationIds.map((item) => serializers.ChargeCaptureClaimCreationId.jsonOrThrow(item, { unrecognizedObjectKeys: "strip" }));
|
|
368
365
|
}
|
|
369
366
|
else {
|
|
370
|
-
_queryParams["
|
|
367
|
+
_queryParams["claim_creation_ids"] = claimCreationIds;
|
|
371
368
|
}
|
|
372
369
|
}
|
|
373
370
|
if (billingProviderNpis != null) {
|
|
@@ -447,12 +444,12 @@ class V1 {
|
|
|
447
444
|
_queryParams["claim_ids_ranked_sort"] = claimIdsRankedSort;
|
|
448
445
|
}
|
|
449
446
|
}
|
|
450
|
-
if (
|
|
451
|
-
if (Array.isArray(
|
|
452
|
-
_queryParams["
|
|
447
|
+
if (claimCreationIdsRankedSort != null) {
|
|
448
|
+
if (Array.isArray(claimCreationIdsRankedSort)) {
|
|
449
|
+
_queryParams["claim_creation_ids_ranked_sort"] = claimCreationIdsRankedSort.map((item) => serializers.ChargeCaptureClaimCreationId.jsonOrThrow(item, { unrecognizedObjectKeys: "strip" }));
|
|
453
450
|
}
|
|
454
451
|
else {
|
|
455
|
-
_queryParams["
|
|
452
|
+
_queryParams["claim_creation_ids_ranked_sort"] = claimCreationIdsRankedSort;
|
|
456
453
|
}
|
|
457
454
|
}
|
|
458
455
|
if (billingProviderNpisRankedSort != null) {
|
|
@@ -509,7 +506,7 @@ class V1 {
|
|
|
509
506
|
const _response = yield core.fetcher({
|
|
510
507
|
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/charge_captures/v1"),
|
|
511
508
|
method: "GET",
|
|
512
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
509
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
513
510
|
contentType: "application/json",
|
|
514
511
|
queryParameters: _queryParams,
|
|
515
512
|
requestType: "json",
|
|
@@ -535,22 +532,22 @@ class V1 {
|
|
|
535
532
|
});
|
|
536
533
|
}
|
|
537
534
|
/**
|
|
538
|
-
* @param {CandidApi.ChargeCapturePostBilledChangeId} chargeCaptureChangeId
|
|
539
535
|
* @param {CandidApi.chargeCapture.v1.ChargeCapturePostBilledChangeUpdate} request
|
|
540
536
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
541
537
|
*
|
|
542
538
|
* @example
|
|
543
|
-
* await client.chargeCapture.v1.
|
|
539
|
+
* await client.chargeCapture.v1.updatePostBilledChanges({
|
|
540
|
+
* chargeCaptureChangeIds: [CandidApi.ChargeCapturePostBilledChangeId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
544
541
|
* resolved: true
|
|
545
542
|
* })
|
|
546
543
|
*/
|
|
547
|
-
|
|
544
|
+
updatePostBilledChanges(request, requestOptions) {
|
|
548
545
|
return __awaiter(this, void 0, void 0, function* () {
|
|
549
546
|
var _a, _b, _c;
|
|
550
547
|
const _response = yield core.fetcher({
|
|
551
|
-
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,
|
|
548
|
+
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/charge_captures/v1/changes/"),
|
|
552
549
|
method: "PATCH",
|
|
553
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
550
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
554
551
|
contentType: "application/json",
|
|
555
552
|
requestType: "json",
|
|
556
553
|
body: serializers.chargeCapture.v1.ChargeCapturePostBilledChangeUpdate.jsonOrThrow(request, {
|
|
@@ -563,7 +560,7 @@ class V1 {
|
|
|
563
560
|
if (_response.ok) {
|
|
564
561
|
return {
|
|
565
562
|
ok: true,
|
|
566
|
-
body: serializers.chargeCapture.v1.
|
|
563
|
+
body: serializers.chargeCapture.v1.updatePostBilledChanges.Response.parseOrThrow(_response.body, {
|
|
567
564
|
unrecognizedObjectKeys: "passthrough",
|
|
568
565
|
allowUnrecognizedUnionMembers: true,
|
|
569
566
|
allowUnrecognizedEnumValues: true,
|
|
@@ -577,7 +574,7 @@ class V1 {
|
|
|
577
574
|
case "UnauthorizedError":
|
|
578
575
|
return {
|
|
579
576
|
ok: false,
|
|
580
|
-
error: serializers.chargeCapture.v1.
|
|
577
|
+
error: serializers.chargeCapture.v1.updatePostBilledChanges.Error.parseOrThrow(_response.error.body, {
|
|
581
578
|
unrecognizedObjectKeys: "passthrough",
|
|
582
579
|
allowUnrecognizedUnionMembers: true,
|
|
583
580
|
allowUnrecognizedEnumValues: true,
|
|
@@ -588,7 +585,7 @@ class V1 {
|
|
|
588
585
|
}
|
|
589
586
|
return {
|
|
590
587
|
ok: false,
|
|
591
|
-
error: CandidApi.chargeCapture.v1.
|
|
588
|
+
error: CandidApi.chargeCapture.v1.updatePostBilledChanges.Error._unknown(_response.error),
|
|
592
589
|
};
|
|
593
590
|
});
|
|
594
591
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../../../../index";
|
|
5
5
|
import * as core from "../../../../../../core";
|
|
6
|
-
export type Error = CandidApi.chargeCapture.v1.create.Error.EntityNotFoundError | CandidApi.chargeCapture.v1.create.Error.UnauthorizedError | CandidApi.chargeCapture.v1.create.Error.HttpRequestValidationsError | CandidApi.chargeCapture.v1.create.Error.SchemaInstanceValidationHttpFailure | CandidApi.chargeCapture.v1.create.Error.UnprocessableEntityError | CandidApi.chargeCapture.v1.create.Error._Unknown;
|
|
6
|
+
export type Error = CandidApi.chargeCapture.v1.create.Error.EntityNotFoundError | CandidApi.chargeCapture.v1.create.Error.UnauthorizedError | CandidApi.chargeCapture.v1.create.Error.HttpRequestValidationsError | CandidApi.chargeCapture.v1.create.Error.SchemaInstanceValidationHttpFailure | CandidApi.chargeCapture.v1.create.Error.UnprocessableEntityError | CandidApi.chargeCapture.v1.create.Error.ChargeExternalIdConflictError | CandidApi.chargeCapture.v1.create.Error._Unknown;
|
|
7
7
|
export declare namespace Error {
|
|
8
8
|
interface EntityNotFoundError extends _Utils {
|
|
9
9
|
errorName: "EntityNotFoundError";
|
|
@@ -25,6 +25,10 @@ export declare namespace Error {
|
|
|
25
25
|
errorName: "UnprocessableEntityError";
|
|
26
26
|
content: CandidApi.UnprocessableEntityErrorMessage;
|
|
27
27
|
}
|
|
28
|
+
interface ChargeExternalIdConflictError extends _Utils {
|
|
29
|
+
errorName: "ChargeExternalIdConflictError";
|
|
30
|
+
content: CandidApi.chargeCapture.v1.ChargeExternalIdConflictErrorMessage;
|
|
31
|
+
}
|
|
28
32
|
interface _Unknown extends _Utils {
|
|
29
33
|
errorName: void;
|
|
30
34
|
content: core.Fetcher.Error;
|
|
@@ -38,6 +42,7 @@ export declare namespace Error {
|
|
|
38
42
|
httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => _Result;
|
|
39
43
|
schemaInstanceValidationHttpFailure: (value: CandidApi.encounters.v4.SchemaInstanceValidationFailure) => _Result;
|
|
40
44
|
unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => _Result;
|
|
45
|
+
chargeExternalIdConflictError: (value: CandidApi.chargeCapture.v1.ChargeExternalIdConflictErrorMessage) => _Result;
|
|
41
46
|
_other: (value: core.Fetcher.Error) => _Result;
|
|
42
47
|
}
|
|
43
48
|
}
|
|
@@ -47,6 +52,7 @@ export declare const Error: {
|
|
|
47
52
|
readonly httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => CandidApi.chargeCapture.v1.create.Error.HttpRequestValidationsError;
|
|
48
53
|
readonly schemaInstanceValidationHttpFailure: (value: CandidApi.encounters.v4.SchemaInstanceValidationFailure) => CandidApi.chargeCapture.v1.create.Error.SchemaInstanceValidationHttpFailure;
|
|
49
54
|
readonly unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => CandidApi.chargeCapture.v1.create.Error.UnprocessableEntityError;
|
|
55
|
+
readonly chargeExternalIdConflictError: (value: CandidApi.chargeCapture.v1.ChargeExternalIdConflictErrorMessage) => CandidApi.chargeCapture.v1.create.Error.ChargeExternalIdConflictError;
|
|
50
56
|
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.chargeCapture.v1.create.Error._Unknown;
|
|
51
57
|
readonly _visit: <_Result>(value: CandidApi.chargeCapture.v1.create.Error, visitor: CandidApi.chargeCapture.v1.create.Error._Visitor<_Result>) => _Result;
|
|
52
58
|
};
|
|
@@ -84,6 +84,15 @@ exports.Error = {
|
|
|
84
84
|
},
|
|
85
85
|
};
|
|
86
86
|
},
|
|
87
|
+
chargeExternalIdConflictError: (value) => {
|
|
88
|
+
return {
|
|
89
|
+
content: value,
|
|
90
|
+
errorName: "ChargeExternalIdConflictError",
|
|
91
|
+
_visit: function (visitor) {
|
|
92
|
+
return CandidApi.chargeCapture.v1.create.Error._visit(this, visitor);
|
|
93
|
+
},
|
|
94
|
+
};
|
|
95
|
+
},
|
|
87
96
|
_unknown: (fetcherError) => {
|
|
88
97
|
return {
|
|
89
98
|
errorName: undefined,
|
|
@@ -105,6 +114,8 @@ exports.Error = {
|
|
|
105
114
|
return visitor.schemaInstanceValidationHttpFailure(value.content);
|
|
106
115
|
case "UnprocessableEntityError":
|
|
107
116
|
return visitor.unprocessableEntityError(value.content);
|
|
117
|
+
case "ChargeExternalIdConflictError":
|
|
118
|
+
return visitor.chargeExternalIdConflictError(value.content);
|
|
108
119
|
default:
|
|
109
120
|
return visitor._other(value);
|
|
110
121
|
}
|
|
@@ -4,4 +4,4 @@ export * as delete from "./delete";
|
|
|
4
4
|
export * as update from "./update";
|
|
5
5
|
export * as get from "./get";
|
|
6
6
|
export * as getAll from "./getAll";
|
|
7
|
-
export * as
|
|
7
|
+
export * as updatePostBilledChanges from "./updatePostBilledChanges";
|
|
@@ -36,11 +36,11 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.updatePostBilledChanges = exports.getAll = exports.get = exports.update = exports.delete = exports.create = void 0;
|
|
40
40
|
__exportStar(require("./requests"), exports);
|
|
41
41
|
exports.create = __importStar(require("./create"));
|
|
42
42
|
exports.delete = __importStar(require("./delete"));
|
|
43
43
|
exports.update = __importStar(require("./update"));
|
|
44
44
|
exports.get = __importStar(require("./get"));
|
|
45
45
|
exports.getAll = __importStar(require("./getAll"));
|
|
46
|
-
exports.
|
|
46
|
+
exports.updatePostBilledChanges = __importStar(require("./updatePostBilledChanges"));
|
|
@@ -1,13 +1,21 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
+
import * as CandidApi from "../../../../../../index";
|
|
4
5
|
/**
|
|
5
6
|
* @example
|
|
6
7
|
* {
|
|
8
|
+
* chargeCaptureChangeIds: [CandidApi.ChargeCapturePostBilledChangeId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
7
9
|
* resolved: true
|
|
8
10
|
* }
|
|
9
11
|
*/
|
|
10
12
|
export interface ChargeCapturePostBilledChangeUpdate {
|
|
13
|
+
/**
|
|
14
|
+
* A list of UUIDs corresponding to ChargeCapturePostBilledChanges.
|
|
15
|
+
* All of the charges sent will be marked as resolved
|
|
16
|
+
*
|
|
17
|
+
*/
|
|
18
|
+
chargeCaptureChangeIds: CandidApi.ChargeCapturePostBilledChangeId[];
|
|
11
19
|
/**
|
|
12
20
|
* Whether the change has been resolved. If true, the change will be marked as resolved.
|
|
13
21
|
* If false, the change will be marked as unresolved.
|
|
@@ -15,8 +15,7 @@ import * as CandidApi from "../../../../../../index";
|
|
|
15
15
|
* dateOfServiceMin: "2023-01-15",
|
|
16
16
|
* dateOfServiceMax: "2023-01-15",
|
|
17
17
|
* claimIds: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
18
|
-
*
|
|
19
|
-
* bundleIds: CandidApi.ChargeCaptureBundleId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
18
|
+
* claimCreationIds: CandidApi.ChargeCaptureClaimCreationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
20
19
|
* billingProviderNpis: "string",
|
|
21
20
|
* serviceFacilityName: "string",
|
|
22
21
|
* primaryPayerIds: "string",
|
|
@@ -31,7 +30,7 @@ import * as CandidApi from "../../../../../../index";
|
|
|
31
30
|
* dateOfServiceMinRankedSort: "2023-01-15",
|
|
32
31
|
* dateOfServiceMaxRankedSort: "2023-01-15",
|
|
33
32
|
* claimIdsRankedSort: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
34
|
-
*
|
|
33
|
+
* claimCreationIdsRankedSort: CandidApi.ChargeCaptureClaimCreationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
35
34
|
* billingProviderNpisRankedSort: "string",
|
|
36
35
|
* serviceFacilityNameRankedSort: "string",
|
|
37
36
|
* primaryPayerIdsRankedSort: "string",
|
|
@@ -84,13 +83,9 @@ export interface GetAllChargeCapturesRequest {
|
|
|
84
83
|
*/
|
|
85
84
|
claimIds?: CandidApi.EncounterId | CandidApi.EncounterId[];
|
|
86
85
|
/**
|
|
87
|
-
* A list of
|
|
86
|
+
* A list of Claim Creation IDs to filter by.
|
|
88
87
|
*/
|
|
89
|
-
|
|
90
|
-
/**
|
|
91
|
-
* A list of bundle IDs to filter by.
|
|
92
|
-
*/
|
|
93
|
-
bundleIds?: CandidApi.ChargeCaptureBundleId | CandidApi.ChargeCaptureBundleId[];
|
|
88
|
+
claimCreationIds?: CandidApi.ChargeCaptureClaimCreationId | CandidApi.ChargeCaptureClaimCreationId[];
|
|
94
89
|
/**
|
|
95
90
|
* A list of billing provider NPIs to filter by. This will return all charge captures with one of the NPIs in this list.
|
|
96
91
|
*/
|
|
@@ -152,9 +147,9 @@ export interface GetAllChargeCapturesRequest {
|
|
|
152
147
|
*/
|
|
153
148
|
claimIdsRankedSort?: CandidApi.EncounterId | CandidApi.EncounterId[];
|
|
154
149
|
/**
|
|
155
|
-
* A list of
|
|
150
|
+
* A list of Claim Creation IDs to show first.
|
|
156
151
|
*/
|
|
157
|
-
|
|
152
|
+
claimCreationIdsRankedSort?: CandidApi.ChargeCaptureClaimCreationId | CandidApi.ChargeCaptureClaimCreationId[];
|
|
158
153
|
/**
|
|
159
154
|
* A list of billing provider NPIs to show first. This will return all charge captures with one of the NPIs in this list.
|
|
160
155
|
*/
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../../../../index";
|
|
5
5
|
import * as core from "../../../../../../core";
|
|
6
|
-
export type Error = CandidApi.chargeCapture.v1.
|
|
6
|
+
export type Error = CandidApi.chargeCapture.v1.updatePostBilledChanges.Error.EntityNotFoundError | CandidApi.chargeCapture.v1.updatePostBilledChanges.Error.UnauthorizedError | CandidApi.chargeCapture.v1.updatePostBilledChanges.Error._Unknown;
|
|
7
7
|
export declare namespace Error {
|
|
8
8
|
interface EntityNotFoundError extends _Utils {
|
|
9
9
|
errorName: "EntityNotFoundError";
|
|
@@ -18,7 +18,7 @@ export declare namespace Error {
|
|
|
18
18
|
content: core.Fetcher.Error;
|
|
19
19
|
}
|
|
20
20
|
interface _Utils {
|
|
21
|
-
_visit: <_Result>(visitor: CandidApi.chargeCapture.v1.
|
|
21
|
+
_visit: <_Result>(visitor: CandidApi.chargeCapture.v1.updatePostBilledChanges.Error._Visitor<_Result>) => _Result;
|
|
22
22
|
}
|
|
23
23
|
interface _Visitor<_Result> {
|
|
24
24
|
entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
|
|
@@ -27,8 +27,8 @@ export declare namespace Error {
|
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
export declare const Error: {
|
|
30
|
-
readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.chargeCapture.v1.
|
|
31
|
-
readonly unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => CandidApi.chargeCapture.v1.
|
|
32
|
-
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.chargeCapture.v1.
|
|
33
|
-
readonly _visit: <_Result>(value: CandidApi.chargeCapture.v1.
|
|
30
|
+
readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.chargeCapture.v1.updatePostBilledChanges.Error.EntityNotFoundError;
|
|
31
|
+
readonly unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => CandidApi.chargeCapture.v1.updatePostBilledChanges.Error.UnauthorizedError;
|
|
32
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.chargeCapture.v1.updatePostBilledChanges.Error._Unknown;
|
|
33
|
+
readonly _visit: <_Result>(value: CandidApi.chargeCapture.v1.updatePostBilledChanges.Error, visitor: CandidApi.chargeCapture.v1.updatePostBilledChanges.Error._Visitor<_Result>) => _Result;
|
|
34
34
|
};
|
|
@@ -44,7 +44,7 @@ exports.Error = {
|
|
|
44
44
|
content: value,
|
|
45
45
|
errorName: "EntityNotFoundError",
|
|
46
46
|
_visit: function (visitor) {
|
|
47
|
-
return CandidApi.chargeCapture.v1.
|
|
47
|
+
return CandidApi.chargeCapture.v1.updatePostBilledChanges.Error._visit(this, visitor);
|
|
48
48
|
},
|
|
49
49
|
};
|
|
50
50
|
},
|
|
@@ -53,7 +53,7 @@ exports.Error = {
|
|
|
53
53
|
content: value,
|
|
54
54
|
errorName: "UnauthorizedError",
|
|
55
55
|
_visit: function (visitor) {
|
|
56
|
-
return CandidApi.chargeCapture.v1.
|
|
56
|
+
return CandidApi.chargeCapture.v1.updatePostBilledChanges.Error._visit(this, visitor);
|
|
57
57
|
},
|
|
58
58
|
};
|
|
59
59
|
},
|
|
@@ -62,7 +62,7 @@ exports.Error = {
|
|
|
62
62
|
errorName: undefined,
|
|
63
63
|
content: fetcherError,
|
|
64
64
|
_visit: function (visitor) {
|
|
65
|
-
return CandidApi.chargeCapture.v1.
|
|
65
|
+
return CandidApi.chargeCapture.v1.updatePostBilledChanges.Error._visit(this, visitor);
|
|
66
66
|
},
|
|
67
67
|
};
|
|
68
68
|
},
|
|
@@ -12,5 +12,5 @@ export interface ChargeCapture {
|
|
|
12
12
|
ehrSourceUrl?: string;
|
|
13
13
|
error?: CandidApi.chargeCapture.v1.ChargeCaptureError;
|
|
14
14
|
updates: CandidApi.chargeCapture.v1.ChargeCapturePostBilledChange[];
|
|
15
|
-
|
|
15
|
+
claimCreationId?: CandidApi.ChargeCaptureClaimCreationId;
|
|
16
16
|
}
|
|
@@ -6,17 +6,17 @@ export interface ChargeCaptureError {
|
|
|
6
6
|
id: string;
|
|
7
7
|
/**
|
|
8
8
|
* The underlying Charge Capture that this error object references.
|
|
9
|
-
* The Charge Capture referenced will be a part of the
|
|
10
|
-
* Errors may also refer to all charge_captures present in a
|
|
9
|
+
* The Charge Capture referenced will be a part of the Claim Creation tied to this error.
|
|
10
|
+
* Errors may also refer to all charge_captures present in a Claim Creation, in which case this field will be null.
|
|
11
11
|
*/
|
|
12
12
|
chargeCaptureId?: CandidApi.ChargeCaptureId;
|
|
13
|
-
/** A human readable error explaining why this charge capture
|
|
13
|
+
/** A human readable error explaining why this charge capture Claim Creation failed to create a claim. */
|
|
14
14
|
message: string;
|
|
15
15
|
/**
|
|
16
16
|
* The field of the corresponding underlying ChargeCapture that has a field that is failing validations,
|
|
17
17
|
* is not present but marked as required, or otherwise in error.
|
|
18
18
|
*/
|
|
19
19
|
fieldInError?: string;
|
|
20
|
-
/** The ID of the
|
|
21
|
-
|
|
20
|
+
/** The ID of the ChargeCaptureClaimCreation associated with this Error. */
|
|
21
|
+
claimCreationId: CandidApi.ChargeCaptureClaimCreationId;
|
|
22
22
|
}
|
|
@@ -21,3 +21,4 @@ __exportStar(require("./ChargeCaptureError"), exports);
|
|
|
21
21
|
__exportStar(require("./ChargeCaptureSortField"), exports);
|
|
22
22
|
__exportStar(require("./ChargeCaptureStatus"), exports);
|
|
23
23
|
__exportStar(require("./ChargeCapturePostBilledChange"), exports);
|
|
24
|
+
__exportStar(require("./ChargeExternalIdConflictErrorMessage"), exports);
|
|
@@ -26,30 +26,22 @@ export declare class V1 {
|
|
|
26
26
|
protected readonly _options: V1.Options;
|
|
27
27
|
constructor(_options?: V1.Options);
|
|
28
28
|
/**
|
|
29
|
-
* @param {CandidApi.
|
|
29
|
+
* @param {CandidApi.ChargeCaptureClaimCreationId} chargeCaptureClaimCreationId
|
|
30
30
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
31
31
|
*
|
|
32
32
|
* @example
|
|
33
|
-
* await client.chargeCaptureBundles.v1.get(CandidApi.
|
|
33
|
+
* await client.chargeCaptureBundles.v1.get(CandidApi.ChargeCaptureClaimCreationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
|
|
34
34
|
*/
|
|
35
|
-
get(
|
|
35
|
+
get(chargeCaptureClaimCreationId: CandidApi.ChargeCaptureClaimCreationId, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.chargeCaptureBundles.v1.ChargeCaptureClaimCreation, CandidApi.chargeCaptureBundles.v1.get.Error>>;
|
|
36
36
|
/**
|
|
37
37
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
38
38
|
*
|
|
39
39
|
* @example
|
|
40
40
|
* await client.chargeCaptureBundles.v1.getSummary()
|
|
41
41
|
*/
|
|
42
|
-
getSummary(requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.chargeCaptureBundles.v1.
|
|
42
|
+
getSummary(requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.chargeCaptureBundles.v1.ChargeCaptureClaimCreationSummary, CandidApi.chargeCaptureBundles.v1.getSummary.Error>>;
|
|
43
43
|
/**
|
|
44
|
-
* @param {CandidApi.
|
|
45
|
-
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
46
|
-
*
|
|
47
|
-
* @example
|
|
48
|
-
* await client.chargeCaptureBundles.v1.resubmit(CandidApi.ChargeCaptureBundleId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
|
|
49
|
-
*/
|
|
50
|
-
resubmit(chargeCaptureBundleId: CandidApi.ChargeCaptureBundleId, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.chargeCaptureBundles.v1.ChargeCaptureBundle, CandidApi.chargeCaptureBundles.v1.resubmit.Error>>;
|
|
51
|
-
/**
|
|
52
|
-
* @param {CandidApi.chargeCaptureBundles.v1.GetAllChargeCaptureBundlesRequest} request
|
|
44
|
+
* @param {CandidApi.chargeCaptureBundles.v1.GetAllChargeCaptureClaimCreationsRequest} request
|
|
53
45
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
54
46
|
*
|
|
55
47
|
* @example
|
|
@@ -59,13 +51,13 @@ export declare class V1 {
|
|
|
59
51
|
* sortDirection: "asc",
|
|
60
52
|
* pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
|
|
61
53
|
* patientExternalId: "string",
|
|
62
|
-
*
|
|
54
|
+
* claimCreationStatus: "not-started",
|
|
63
55
|
* chargeStatus: "planned",
|
|
64
56
|
* chargeExternalId: "string",
|
|
65
57
|
* dateOfServiceMin: "2023-01-15",
|
|
66
58
|
* dateOfServiceMax: "2023-01-15",
|
|
67
59
|
* claimIds: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
68
|
-
*
|
|
60
|
+
* claimCreationIds: CandidApi.ChargeCaptureClaimCreationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
69
61
|
* billingProviderNpis: "string",
|
|
70
62
|
* serviceFacilityName: "string",
|
|
71
63
|
* primaryPayerIds: "string",
|
|
@@ -76,6 +68,6 @@ export declare class V1 {
|
|
|
76
68
|
* hasChargeCaptureUpdates: true
|
|
77
69
|
* })
|
|
78
70
|
*/
|
|
79
|
-
getAll(request?: CandidApi.chargeCaptureBundles.v1.
|
|
71
|
+
getAll(request?: CandidApi.chargeCaptureBundles.v1.GetAllChargeCaptureClaimCreationsRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.chargeCaptureBundles.v1.ChargeCaptureClaimCreationPage, CandidApi.chargeCaptureBundles.v1.getAll.Error>>;
|
|
80
72
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
81
73
|
}
|