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
package/reference.md
CHANGED
|
@@ -244,7 +244,7 @@ await client.billingNotes.v2.update(CandidApi.BillingNoteId("d5e9c84f-c2b2-4bf4-
|
|
|
244
244
|
|
|
245
245
|
## ChargeCaptureBundles V1
|
|
246
246
|
|
|
247
|
-
<details><summary><code>client.chargeCaptureBundles.v1.<a href="/src/api/resources/chargeCaptureBundles/resources/v1/client/Client.ts">get</a>(
|
|
247
|
+
<details><summary><code>client.chargeCaptureBundles.v1.<a href="/src/api/resources/chargeCaptureBundles/resources/v1/client/Client.ts">get</a>(chargeCaptureClaimCreationId) -> core.APIResponse<CandidApi.ChargeCaptureClaimCreation, CandidApi.chargeCaptureBundles.v1.get.Error></code></summary>
|
|
248
248
|
<dl>
|
|
249
249
|
<dd>
|
|
250
250
|
|
|
@@ -257,7 +257,9 @@ await client.billingNotes.v2.update(CandidApi.BillingNoteId("d5e9c84f-c2b2-4bf4-
|
|
|
257
257
|
<dd>
|
|
258
258
|
|
|
259
259
|
```typescript
|
|
260
|
-
await client.chargeCaptureBundles.v1.get(
|
|
260
|
+
await client.chargeCaptureBundles.v1.get(
|
|
261
|
+
CandidApi.ChargeCaptureClaimCreationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
262
|
+
);
|
|
261
263
|
```
|
|
262
264
|
|
|
263
265
|
</dd>
|
|
@@ -273,7 +275,7 @@ await client.chargeCaptureBundles.v1.get(CandidApi.ChargeCaptureBundleId("d5e9c8
|
|
|
273
275
|
<dl>
|
|
274
276
|
<dd>
|
|
275
277
|
|
|
276
|
-
**
|
|
278
|
+
**chargeCaptureClaimCreationId:** `CandidApi.ChargeCaptureClaimCreationId`
|
|
277
279
|
|
|
278
280
|
</dd>
|
|
279
281
|
</dl>
|
|
@@ -292,7 +294,7 @@ await client.chargeCaptureBundles.v1.get(CandidApi.ChargeCaptureBundleId("d5e9c8
|
|
|
292
294
|
</dl>
|
|
293
295
|
</details>
|
|
294
296
|
|
|
295
|
-
<details><summary><code>client.chargeCaptureBundles.v1.<a href="/src/api/resources/chargeCaptureBundles/resources/v1/client/Client.ts">getSummary</a>() -> core.APIResponse<CandidApi.
|
|
297
|
+
<details><summary><code>client.chargeCaptureBundles.v1.<a href="/src/api/resources/chargeCaptureBundles/resources/v1/client/Client.ts">getSummary</a>() -> core.APIResponse<CandidApi.ChargeCaptureClaimCreationSummary, CandidApi.chargeCaptureBundles.v1.getSummary.Error></code></summary>
|
|
296
298
|
<dl>
|
|
297
299
|
<dd>
|
|
298
300
|
|
|
@@ -332,55 +334,7 @@ await client.chargeCaptureBundles.v1.getSummary();
|
|
|
332
334
|
</dl>
|
|
333
335
|
</details>
|
|
334
336
|
|
|
335
|
-
<details><summary><code>client.chargeCaptureBundles.v1.<a href="/src/api/resources/chargeCaptureBundles/resources/v1/client/Client.ts">
|
|
336
|
-
<dl>
|
|
337
|
-
<dd>
|
|
338
|
-
|
|
339
|
-
#### 🔌 Usage
|
|
340
|
-
|
|
341
|
-
<dl>
|
|
342
|
-
<dd>
|
|
343
|
-
|
|
344
|
-
<dl>
|
|
345
|
-
<dd>
|
|
346
|
-
|
|
347
|
-
```typescript
|
|
348
|
-
await client.chargeCaptureBundles.v1.resubmit(CandidApi.ChargeCaptureBundleId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));
|
|
349
|
-
```
|
|
350
|
-
|
|
351
|
-
</dd>
|
|
352
|
-
</dl>
|
|
353
|
-
</dd>
|
|
354
|
-
</dl>
|
|
355
|
-
|
|
356
|
-
#### ⚙️ Parameters
|
|
357
|
-
|
|
358
|
-
<dl>
|
|
359
|
-
<dd>
|
|
360
|
-
|
|
361
|
-
<dl>
|
|
362
|
-
<dd>
|
|
363
|
-
|
|
364
|
-
**chargeCaptureBundleId:** `CandidApi.ChargeCaptureBundleId`
|
|
365
|
-
|
|
366
|
-
</dd>
|
|
367
|
-
</dl>
|
|
368
|
-
|
|
369
|
-
<dl>
|
|
370
|
-
<dd>
|
|
371
|
-
|
|
372
|
-
**requestOptions:** `V1.RequestOptions`
|
|
373
|
-
|
|
374
|
-
</dd>
|
|
375
|
-
</dl>
|
|
376
|
-
</dd>
|
|
377
|
-
</dl>
|
|
378
|
-
|
|
379
|
-
</dd>
|
|
380
|
-
</dl>
|
|
381
|
-
</details>
|
|
382
|
-
|
|
383
|
-
<details><summary><code>client.chargeCaptureBundles.v1.<a href="/src/api/resources/chargeCaptureBundles/resources/v1/client/Client.ts">getAll</a>({ ...params }) -> core.APIResponse<CandidApi.ChargeCaptureBundlePage, CandidApi.chargeCaptureBundles.v1.getAll.Error></code></summary>
|
|
337
|
+
<details><summary><code>client.chargeCaptureBundles.v1.<a href="/src/api/resources/chargeCaptureBundles/resources/v1/client/Client.ts">getAll</a>({ ...params }) -> core.APIResponse<CandidApi.ChargeCaptureClaimCreationPage, CandidApi.chargeCaptureBundles.v1.getAll.Error></code></summary>
|
|
384
338
|
<dl>
|
|
385
339
|
<dd>
|
|
386
340
|
|
|
@@ -399,13 +353,13 @@ await client.chargeCaptureBundles.v1.getAll({
|
|
|
399
353
|
sortDirection: "asc",
|
|
400
354
|
pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
|
|
401
355
|
patientExternalId: "string",
|
|
402
|
-
|
|
356
|
+
claimCreationStatus: "not-started",
|
|
403
357
|
chargeStatus: "planned",
|
|
404
358
|
chargeExternalId: "string",
|
|
405
359
|
dateOfServiceMin: "2023-01-15",
|
|
406
360
|
dateOfServiceMax: "2023-01-15",
|
|
407
361
|
claimIds: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
408
|
-
|
|
362
|
+
claimCreationIds: CandidApi.ChargeCaptureClaimCreationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
409
363
|
billingProviderNpis: "string",
|
|
410
364
|
serviceFacilityName: "string",
|
|
411
365
|
primaryPayerIds: "string",
|
|
@@ -430,7 +384,7 @@ await client.chargeCaptureBundles.v1.getAll({
|
|
|
430
384
|
<dl>
|
|
431
385
|
<dd>
|
|
432
386
|
|
|
433
|
-
**request:** `CandidApi.chargeCaptureBundles.v1.
|
|
387
|
+
**request:** `CandidApi.chargeCaptureBundles.v1.GetAllChargeCaptureClaimCreationsRequest`
|
|
434
388
|
|
|
435
389
|
</dd>
|
|
436
390
|
</dl>
|
|
@@ -687,8 +641,7 @@ await client.chargeCapture.v1.getAll({
|
|
|
687
641
|
dateOfServiceMin: "2023-01-15",
|
|
688
642
|
dateOfServiceMax: "2023-01-15",
|
|
689
643
|
claimIds: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
690
|
-
|
|
691
|
-
bundleIds: CandidApi.ChargeCaptureBundleId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
644
|
+
claimCreationIds: CandidApi.ChargeCaptureClaimCreationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
692
645
|
billingProviderNpis: "string",
|
|
693
646
|
serviceFacilityName: "string",
|
|
694
647
|
primaryPayerIds: "string",
|
|
@@ -703,7 +656,7 @@ await client.chargeCapture.v1.getAll({
|
|
|
703
656
|
dateOfServiceMinRankedSort: "2023-01-15",
|
|
704
657
|
dateOfServiceMaxRankedSort: "2023-01-15",
|
|
705
658
|
claimIdsRankedSort: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
706
|
-
|
|
659
|
+
claimCreationIdsRankedSort: CandidApi.ChargeCaptureClaimCreationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
707
660
|
billingProviderNpisRankedSort: "string",
|
|
708
661
|
serviceFacilityNameRankedSort: "string",
|
|
709
662
|
primaryPayerIdsRankedSort: "string",
|
|
@@ -746,7 +699,7 @@ await client.chargeCapture.v1.getAll({
|
|
|
746
699
|
</dl>
|
|
747
700
|
</details>
|
|
748
701
|
|
|
749
|
-
<details><summary><code>client.chargeCapture.v1.<a href="/src/api/resources/chargeCapture/resources/v1/client/Client.ts">
|
|
702
|
+
<details><summary><code>client.chargeCapture.v1.<a href="/src/api/resources/chargeCapture/resources/v1/client/Client.ts">updatePostBilledChanges</a>({ ...params }) -> core.APIResponse<CandidApi.ChargeCapturePostBilledChange[], CandidApi.chargeCapture.v1.updatePostBilledChanges.Error></code></summary>
|
|
750
703
|
<dl>
|
|
751
704
|
<dd>
|
|
752
705
|
|
|
@@ -759,12 +712,10 @@ await client.chargeCapture.v1.getAll({
|
|
|
759
712
|
<dd>
|
|
760
713
|
|
|
761
714
|
```typescript
|
|
762
|
-
await client.chargeCapture.v1.
|
|
763
|
-
CandidApi.ChargeCapturePostBilledChangeId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
},
|
|
767
|
-
);
|
|
715
|
+
await client.chargeCapture.v1.updatePostBilledChanges({
|
|
716
|
+
chargeCaptureChangeIds: [CandidApi.ChargeCapturePostBilledChangeId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
717
|
+
resolved: true,
|
|
718
|
+
});
|
|
768
719
|
```
|
|
769
720
|
|
|
770
721
|
</dd>
|
|
@@ -780,14 +731,6 @@ await client.chargeCapture.v1.updatePostBilledChange(
|
|
|
780
731
|
<dl>
|
|
781
732
|
<dd>
|
|
782
733
|
|
|
783
|
-
**chargeCaptureChangeId:** `CandidApi.ChargeCapturePostBilledChangeId`
|
|
784
|
-
|
|
785
|
-
</dd>
|
|
786
|
-
</dl>
|
|
787
|
-
|
|
788
|
-
<dl>
|
|
789
|
-
<dd>
|
|
790
|
-
|
|
791
734
|
**request:** `CandidApi.chargeCapture.v1.ChargeCapturePostBilledChangeUpdate`
|
|
792
735
|
|
|
793
736
|
</dd>
|
|
@@ -1957,6 +1900,198 @@ await client.eligibility.v2.submitEligibilityCheckAvailityPost({
|
|
|
1957
1900
|
</dl>
|
|
1958
1901
|
</details>
|
|
1959
1902
|
|
|
1903
|
+
## EncounterAttachments V1
|
|
1904
|
+
|
|
1905
|
+
<details><summary><code>client.encounterAttachments.v1.<a href="/src/api/resources/encounterAttachments/resources/v1/client/Client.ts">get</a>(encounterId) -> core.APIResponse<CandidApi.EncounterAttachment[], CandidApi.encounterAttachments.v1.get.Error></code></summary>
|
|
1906
|
+
<dl>
|
|
1907
|
+
<dd>
|
|
1908
|
+
|
|
1909
|
+
#### 🔌 Usage
|
|
1910
|
+
|
|
1911
|
+
<dl>
|
|
1912
|
+
<dd>
|
|
1913
|
+
|
|
1914
|
+
<dl>
|
|
1915
|
+
<dd>
|
|
1916
|
+
|
|
1917
|
+
```typescript
|
|
1918
|
+
await client.encounterAttachments.v1.get(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));
|
|
1919
|
+
```
|
|
1920
|
+
|
|
1921
|
+
</dd>
|
|
1922
|
+
</dl>
|
|
1923
|
+
</dd>
|
|
1924
|
+
</dl>
|
|
1925
|
+
|
|
1926
|
+
#### ⚙️ Parameters
|
|
1927
|
+
|
|
1928
|
+
<dl>
|
|
1929
|
+
<dd>
|
|
1930
|
+
|
|
1931
|
+
<dl>
|
|
1932
|
+
<dd>
|
|
1933
|
+
|
|
1934
|
+
**encounterId:** `CandidApi.EncounterId`
|
|
1935
|
+
|
|
1936
|
+
</dd>
|
|
1937
|
+
</dl>
|
|
1938
|
+
|
|
1939
|
+
<dl>
|
|
1940
|
+
<dd>
|
|
1941
|
+
|
|
1942
|
+
**requestOptions:** `V1.RequestOptions`
|
|
1943
|
+
|
|
1944
|
+
</dd>
|
|
1945
|
+
</dl>
|
|
1946
|
+
</dd>
|
|
1947
|
+
</dl>
|
|
1948
|
+
|
|
1949
|
+
</dd>
|
|
1950
|
+
</dl>
|
|
1951
|
+
</details>
|
|
1952
|
+
|
|
1953
|
+
<details><summary><code>client.encounterAttachments.v1.<a href="/src/api/resources/encounterAttachments/resources/v1/client/Client.ts">create</a>(attachmentFile, encounterId, { ...params }) -> core.APIResponse<CandidApi.AttachmentId, CandidApi.encounterAttachments.v1.create.Error></code></summary>
|
|
1954
|
+
<dl>
|
|
1955
|
+
<dd>
|
|
1956
|
+
|
|
1957
|
+
#### 📝 Description
|
|
1958
|
+
|
|
1959
|
+
<dl>
|
|
1960
|
+
<dd>
|
|
1961
|
+
|
|
1962
|
+
<dl>
|
|
1963
|
+
<dd>
|
|
1964
|
+
|
|
1965
|
+
Uploads a file to the encounter. The file will be stored in the
|
|
1966
|
+
encounter's attachments.
|
|
1967
|
+
|
|
1968
|
+
</dd>
|
|
1969
|
+
</dl>
|
|
1970
|
+
</dd>
|
|
1971
|
+
</dl>
|
|
1972
|
+
|
|
1973
|
+
#### 🔌 Usage
|
|
1974
|
+
|
|
1975
|
+
<dl>
|
|
1976
|
+
<dd>
|
|
1977
|
+
|
|
1978
|
+
<dl>
|
|
1979
|
+
<dd>
|
|
1980
|
+
|
|
1981
|
+
```typescript
|
|
1982
|
+
await client.encounterAttachments.v1.create(
|
|
1983
|
+
fs.createReadStream("/path/to/your/file"),
|
|
1984
|
+
CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
1985
|
+
{},
|
|
1986
|
+
);
|
|
1987
|
+
```
|
|
1988
|
+
|
|
1989
|
+
</dd>
|
|
1990
|
+
</dl>
|
|
1991
|
+
</dd>
|
|
1992
|
+
</dl>
|
|
1993
|
+
|
|
1994
|
+
#### ⚙️ Parameters
|
|
1995
|
+
|
|
1996
|
+
<dl>
|
|
1997
|
+
<dd>
|
|
1998
|
+
|
|
1999
|
+
<dl>
|
|
2000
|
+
<dd>
|
|
2001
|
+
|
|
2002
|
+
**attachmentFile:** `File | fs.ReadStream | Blob`
|
|
2003
|
+
|
|
2004
|
+
</dd>
|
|
2005
|
+
</dl>
|
|
2006
|
+
|
|
2007
|
+
<dl>
|
|
2008
|
+
<dd>
|
|
2009
|
+
|
|
2010
|
+
**encounterId:** `CandidApi.EncounterId`
|
|
2011
|
+
|
|
2012
|
+
</dd>
|
|
2013
|
+
</dl>
|
|
2014
|
+
|
|
2015
|
+
<dl>
|
|
2016
|
+
<dd>
|
|
2017
|
+
|
|
2018
|
+
**request:** `CandidApi.encounterAttachments.v1.CreateAttachmentRequest`
|
|
2019
|
+
|
|
2020
|
+
</dd>
|
|
2021
|
+
</dl>
|
|
2022
|
+
|
|
2023
|
+
<dl>
|
|
2024
|
+
<dd>
|
|
2025
|
+
|
|
2026
|
+
**requestOptions:** `V1.RequestOptions`
|
|
2027
|
+
|
|
2028
|
+
</dd>
|
|
2029
|
+
</dl>
|
|
2030
|
+
</dd>
|
|
2031
|
+
</dl>
|
|
2032
|
+
|
|
2033
|
+
</dd>
|
|
2034
|
+
</dl>
|
|
2035
|
+
</details>
|
|
2036
|
+
|
|
2037
|
+
<details><summary><code>client.encounterAttachments.v1.<a href="/src/api/resources/encounterAttachments/resources/v1/client/Client.ts">delete</a>(encounterId, { ...params }) -> core.APIResponse<void, CandidApi.encounterAttachments.v1.delete.Error></code></summary>
|
|
2038
|
+
<dl>
|
|
2039
|
+
<dd>
|
|
2040
|
+
|
|
2041
|
+
#### 🔌 Usage
|
|
2042
|
+
|
|
2043
|
+
<dl>
|
|
2044
|
+
<dd>
|
|
2045
|
+
|
|
2046
|
+
<dl>
|
|
2047
|
+
<dd>
|
|
2048
|
+
|
|
2049
|
+
```typescript
|
|
2050
|
+
await client.encounterAttachments.v1.delete(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
2051
|
+
attachmentId: CandidApi.AttachmentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
2052
|
+
});
|
|
2053
|
+
```
|
|
2054
|
+
|
|
2055
|
+
</dd>
|
|
2056
|
+
</dl>
|
|
2057
|
+
</dd>
|
|
2058
|
+
</dl>
|
|
2059
|
+
|
|
2060
|
+
#### ⚙️ Parameters
|
|
2061
|
+
|
|
2062
|
+
<dl>
|
|
2063
|
+
<dd>
|
|
2064
|
+
|
|
2065
|
+
<dl>
|
|
2066
|
+
<dd>
|
|
2067
|
+
|
|
2068
|
+
**encounterId:** `CandidApi.EncounterId`
|
|
2069
|
+
|
|
2070
|
+
</dd>
|
|
2071
|
+
</dl>
|
|
2072
|
+
|
|
2073
|
+
<dl>
|
|
2074
|
+
<dd>
|
|
2075
|
+
|
|
2076
|
+
**request:** `CandidApi.encounterAttachments.v1.DeleteAttachmentRequest`
|
|
2077
|
+
|
|
2078
|
+
</dd>
|
|
2079
|
+
</dl>
|
|
2080
|
+
|
|
2081
|
+
<dl>
|
|
2082
|
+
<dd>
|
|
2083
|
+
|
|
2084
|
+
**requestOptions:** `V1.RequestOptions`
|
|
2085
|
+
|
|
2086
|
+
</dd>
|
|
2087
|
+
</dl>
|
|
2088
|
+
</dd>
|
|
2089
|
+
</dl>
|
|
2090
|
+
|
|
2091
|
+
</dd>
|
|
2092
|
+
</dl>
|
|
2093
|
+
</details>
|
|
2094
|
+
|
|
1960
2095
|
## EncounterProviders V2
|
|
1961
2096
|
|
|
1962
2097
|
<details><summary><code>client.encounterProviders.v2.<a href="/src/api/resources/encounterProviders/resources/v2/client/Client.ts">updateReferringProvider</a>(encounterId, { ...params }) -> core.APIResponse<CandidApi.EncounterProvider, CandidApi.encounterProviders.v2.updateReferringProvider.Error></code></summary>
|
|
@@ -9,9 +9,10 @@ import { UnauthorizedErrorMessage } from "../../../../commons/types/Unauthorized
|
|
|
9
9
|
import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
|
|
10
10
|
import { SchemaInstanceValidationFailure } from "../../../../encounters/resources/v4/types/SchemaInstanceValidationFailure";
|
|
11
11
|
import { UnprocessableEntityErrorMessage } from "../../../../commons/types/UnprocessableEntityErrorMessage";
|
|
12
|
+
import { ChargeExternalIdConflictErrorMessage } from "../types/ChargeExternalIdConflictErrorMessage";
|
|
12
13
|
export declare const Error: core.serialization.Schema<serializers.chargeCapture.v1.create.Error.Raw, CandidApi.chargeCapture.v1.create.Error>;
|
|
13
14
|
export declare namespace Error {
|
|
14
|
-
type Raw = Error.EntityNotFoundError | Error.UnauthorizedError | Error.HttpRequestValidationsError | Error.SchemaInstanceValidationHttpFailure | Error.UnprocessableEntityError;
|
|
15
|
+
type Raw = Error.EntityNotFoundError | Error.UnauthorizedError | Error.HttpRequestValidationsError | Error.SchemaInstanceValidationHttpFailure | Error.UnprocessableEntityError | Error.ChargeExternalIdConflictError;
|
|
15
16
|
interface EntityNotFoundError {
|
|
16
17
|
errorName: "EntityNotFoundError";
|
|
17
18
|
content: EntityNotFoundErrorMessage.Raw;
|
|
@@ -32,4 +33,8 @@ export declare namespace Error {
|
|
|
32
33
|
errorName: "UnprocessableEntityError";
|
|
33
34
|
content: UnprocessableEntityErrorMessage.Raw;
|
|
34
35
|
}
|
|
36
|
+
interface ChargeExternalIdConflictError {
|
|
37
|
+
errorName: "ChargeExternalIdConflictError";
|
|
38
|
+
content: ChargeExternalIdConflictErrorMessage.Raw;
|
|
39
|
+
}
|
|
35
40
|
}
|
|
@@ -55,6 +55,7 @@ const UnauthorizedErrorMessage_1 = require("../../../../commons/types/Unauthoriz
|
|
|
55
55
|
const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
|
|
56
56
|
const SchemaInstanceValidationFailure_1 = require("../../../../encounters/resources/v4/types/SchemaInstanceValidationFailure");
|
|
57
57
|
const UnprocessableEntityErrorMessage_1 = require("../../../../commons/types/UnprocessableEntityErrorMessage");
|
|
58
|
+
const ChargeExternalIdConflictErrorMessage_1 = require("../types/ChargeExternalIdConflictErrorMessage");
|
|
58
59
|
exports.Error = core.serialization
|
|
59
60
|
.union("errorName", {
|
|
60
61
|
EntityNotFoundError: core.serialization.object({
|
|
@@ -72,6 +73,9 @@ exports.Error = core.serialization
|
|
|
72
73
|
UnprocessableEntityError: core.serialization.object({
|
|
73
74
|
content: UnprocessableEntityErrorMessage_1.UnprocessableEntityErrorMessage,
|
|
74
75
|
}),
|
|
76
|
+
ChargeExternalIdConflictError: core.serialization.object({
|
|
77
|
+
content: ChargeExternalIdConflictErrorMessage_1.ChargeExternalIdConflictErrorMessage,
|
|
78
|
+
}),
|
|
75
79
|
})
|
|
76
80
|
.transform({
|
|
77
81
|
transform: (value) => {
|
|
@@ -86,6 +90,8 @@ exports.Error = core.serialization
|
|
|
86
90
|
return CandidApi.chargeCapture.v1.create.Error.schemaInstanceValidationHttpFailure(value.content);
|
|
87
91
|
case "UnprocessableEntityError":
|
|
88
92
|
return CandidApi.chargeCapture.v1.create.Error.unprocessableEntityError(value.content);
|
|
93
|
+
case "ChargeExternalIdConflictError":
|
|
94
|
+
return CandidApi.chargeCapture.v1.create.Error.chargeExternalIdConflictError(value.content);
|
|
89
95
|
}
|
|
90
96
|
},
|
|
91
97
|
untransform: (_a) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * as create from "./create";
|
|
2
2
|
export * as delete from "./delete";
|
|
3
3
|
export * as update from "./update";
|
|
4
|
-
export * as
|
|
4
|
+
export * as updatePostBilledChanges from "./updatePostBilledChanges";
|
|
5
5
|
export * from "./requests";
|
|
@@ -36,9 +36,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.updatePostBilledChanges = exports.update = exports.delete = exports.create = void 0;
|
|
40
40
|
exports.create = __importStar(require("./create"));
|
|
41
41
|
exports.delete = __importStar(require("./delete"));
|
|
42
42
|
exports.update = __importStar(require("./update"));
|
|
43
|
-
exports.
|
|
43
|
+
exports.updatePostBilledChanges = __importStar(require("./updatePostBilledChanges"));
|
|
44
44
|
__exportStar(require("./requests"), exports);
|
|
@@ -4,9 +4,11 @@
|
|
|
4
4
|
import * as serializers from "../../../../../../index";
|
|
5
5
|
import * as CandidApi from "../../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../../core";
|
|
7
|
+
import { ChargeCapturePostBilledChangeId } from "../../../../../commons/types/ChargeCapturePostBilledChangeId";
|
|
7
8
|
export declare const ChargeCapturePostBilledChangeUpdate: core.serialization.Schema<serializers.chargeCapture.v1.ChargeCapturePostBilledChangeUpdate.Raw, CandidApi.chargeCapture.v1.ChargeCapturePostBilledChangeUpdate>;
|
|
8
9
|
export declare namespace ChargeCapturePostBilledChangeUpdate {
|
|
9
10
|
interface Raw {
|
|
11
|
+
charge_capture_change_ids: ChargeCapturePostBilledChangeId.Raw[];
|
|
10
12
|
resolved: boolean;
|
|
11
13
|
}
|
|
12
14
|
}
|
|
@@ -38,6 +38,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.ChargeCapturePostBilledChangeUpdate = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../../../../core"));
|
|
41
|
+
const ChargeCapturePostBilledChangeId_1 = require("../../../../../commons/types/ChargeCapturePostBilledChangeId");
|
|
41
42
|
exports.ChargeCapturePostBilledChangeUpdate = core.serialization.object({
|
|
43
|
+
chargeCaptureChangeIds: core.serialization.property("charge_capture_change_ids", core.serialization.list(ChargeCapturePostBilledChangeId_1.ChargeCapturePostBilledChangeId)),
|
|
42
44
|
resolved: core.serialization.boolean(),
|
|
43
45
|
});
|
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
import * as serializers from "../../../../../index";
|
|
5
5
|
import * as CandidApi from "../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
|
+
import { ChargeCapturePostBilledChange } from "../types/ChargeCapturePostBilledChange";
|
|
7
8
|
import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
|
|
8
9
|
import { UnauthorizedErrorMessage } from "../../../../commons/types/UnauthorizedErrorMessage";
|
|
9
|
-
export declare const
|
|
10
|
+
export declare const Response: core.serialization.Schema<serializers.chargeCapture.v1.updatePostBilledChanges.Response.Raw, CandidApi.chargeCapture.v1.ChargeCapturePostBilledChange[]>;
|
|
11
|
+
export declare namespace Response {
|
|
12
|
+
type Raw = ChargeCapturePostBilledChange.Raw[];
|
|
13
|
+
}
|
|
14
|
+
export declare const Error: core.serialization.Schema<serializers.chargeCapture.v1.updatePostBilledChanges.Error.Raw, CandidApi.chargeCapture.v1.updatePostBilledChanges.Error>;
|
|
10
15
|
export declare namespace Error {
|
|
11
16
|
type Raw = Error.EntityNotFoundError | Error.UnauthorizedError;
|
|
12
17
|
interface EntityNotFoundError {
|
|
@@ -47,11 +47,13 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
47
47
|
return t;
|
|
48
48
|
};
|
|
49
49
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
50
|
-
exports.Error = void 0;
|
|
50
|
+
exports.Error = exports.Response = void 0;
|
|
51
51
|
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
52
52
|
const core = __importStar(require("../../../../../../core"));
|
|
53
|
+
const ChargeCapturePostBilledChange_1 = require("../types/ChargeCapturePostBilledChange");
|
|
53
54
|
const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
|
|
54
55
|
const UnauthorizedErrorMessage_1 = require("../../../../commons/types/UnauthorizedErrorMessage");
|
|
56
|
+
exports.Response = core.serialization.list(ChargeCapturePostBilledChange_1.ChargeCapturePostBilledChange);
|
|
55
57
|
exports.Error = core.serialization
|
|
56
58
|
.union("errorName", {
|
|
57
59
|
EntityNotFoundError: core.serialization.object({
|
|
@@ -65,9 +67,9 @@ exports.Error = core.serialization
|
|
|
65
67
|
transform: (value) => {
|
|
66
68
|
switch (value.errorName) {
|
|
67
69
|
case "EntityNotFoundError":
|
|
68
|
-
return CandidApi.chargeCapture.v1.
|
|
70
|
+
return CandidApi.chargeCapture.v1.updatePostBilledChanges.Error.entityNotFoundError(value.content);
|
|
69
71
|
case "UnauthorizedError":
|
|
70
|
-
return CandidApi.chargeCapture.v1.
|
|
72
|
+
return CandidApi.chargeCapture.v1.updatePostBilledChanges.Error.unauthorizedError(value.content);
|
|
71
73
|
}
|
|
72
74
|
},
|
|
73
75
|
untransform: (_a) => {
|
|
@@ -10,7 +10,7 @@ import { ChargeCaptureData } from "./ChargeCaptureData";
|
|
|
10
10
|
import { PatientExternalId } from "../../../../commons/types/PatientExternalId";
|
|
11
11
|
import { ChargeCaptureError } from "./ChargeCaptureError";
|
|
12
12
|
import { ChargeCapturePostBilledChange } from "./ChargeCapturePostBilledChange";
|
|
13
|
-
import {
|
|
13
|
+
import { ChargeCaptureClaimCreationId } from "../../../../commons/types/ChargeCaptureClaimCreationId";
|
|
14
14
|
export declare const ChargeCapture: core.serialization.ObjectSchema<serializers.chargeCapture.v1.ChargeCapture.Raw, CandidApi.chargeCapture.v1.ChargeCapture>;
|
|
15
15
|
export declare namespace ChargeCapture {
|
|
16
16
|
interface Raw {
|
|
@@ -23,6 +23,6 @@ export declare namespace ChargeCapture {
|
|
|
23
23
|
ehr_source_url?: string | null;
|
|
24
24
|
error?: ChargeCaptureError.Raw | null;
|
|
25
25
|
updates: ChargeCapturePostBilledChange.Raw[];
|
|
26
|
-
|
|
26
|
+
claim_creation_id?: ChargeCaptureClaimCreationId.Raw | null;
|
|
27
27
|
}
|
|
28
28
|
}
|
|
@@ -44,7 +44,7 @@ const ChargeCaptureData_1 = require("./ChargeCaptureData");
|
|
|
44
44
|
const PatientExternalId_1 = require("../../../../commons/types/PatientExternalId");
|
|
45
45
|
const ChargeCaptureError_1 = require("./ChargeCaptureError");
|
|
46
46
|
const ChargeCapturePostBilledChange_1 = require("./ChargeCapturePostBilledChange");
|
|
47
|
-
const
|
|
47
|
+
const ChargeCaptureClaimCreationId_1 = require("../../../../commons/types/ChargeCaptureClaimCreationId");
|
|
48
48
|
exports.ChargeCapture = core.serialization.object({
|
|
49
49
|
id: ChargeCaptureId_1.ChargeCaptureId,
|
|
50
50
|
status: ChargeCaptureStatus_1.ChargeCaptureStatus,
|
|
@@ -55,5 +55,5 @@ exports.ChargeCapture = core.serialization.object({
|
|
|
55
55
|
ehrSourceUrl: core.serialization.property("ehr_source_url", core.serialization.string().optional()),
|
|
56
56
|
error: ChargeCaptureError_1.ChargeCaptureError.optional(),
|
|
57
57
|
updates: core.serialization.list(ChargeCapturePostBilledChange_1.ChargeCapturePostBilledChange),
|
|
58
|
-
|
|
58
|
+
claimCreationId: core.serialization.property("claim_creation_id", ChargeCaptureClaimCreationId_1.ChargeCaptureClaimCreationId.optional()),
|
|
59
59
|
});
|
|
@@ -5,7 +5,7 @@ import * as serializers from "../../../../../index";
|
|
|
5
5
|
import * as CandidApi from "../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
7
|
import { ChargeCaptureId } from "../../../../commons/types/ChargeCaptureId";
|
|
8
|
-
import {
|
|
8
|
+
import { ChargeCaptureClaimCreationId } from "../../../../commons/types/ChargeCaptureClaimCreationId";
|
|
9
9
|
export declare const ChargeCaptureError: core.serialization.ObjectSchema<serializers.chargeCapture.v1.ChargeCaptureError.Raw, CandidApi.chargeCapture.v1.ChargeCaptureError>;
|
|
10
10
|
export declare namespace ChargeCaptureError {
|
|
11
11
|
interface Raw {
|
|
@@ -13,6 +13,6 @@ export declare namespace ChargeCaptureError {
|
|
|
13
13
|
charge_capture_id?: ChargeCaptureId.Raw | null;
|
|
14
14
|
message: string;
|
|
15
15
|
field_in_error?: string | null;
|
|
16
|
-
|
|
16
|
+
claim_creation_id: ChargeCaptureClaimCreationId.Raw;
|
|
17
17
|
}
|
|
18
18
|
}
|
|
@@ -39,11 +39,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.ChargeCaptureError = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../../../core"));
|
|
41
41
|
const ChargeCaptureId_1 = require("../../../../commons/types/ChargeCaptureId");
|
|
42
|
-
const
|
|
42
|
+
const ChargeCaptureClaimCreationId_1 = require("../../../../commons/types/ChargeCaptureClaimCreationId");
|
|
43
43
|
exports.ChargeCaptureError = core.serialization.object({
|
|
44
44
|
id: core.serialization.string(),
|
|
45
45
|
chargeCaptureId: core.serialization.property("charge_capture_id", ChargeCaptureId_1.ChargeCaptureId.optional()),
|
|
46
46
|
message: core.serialization.string(),
|
|
47
47
|
fieldInError: core.serialization.property("field_in_error", core.serialization.string().optional()),
|
|
48
|
-
|
|
48
|
+
claimCreationId: core.serialization.property("claim_creation_id", ChargeCaptureClaimCreationId_1.ChargeCaptureClaimCreationId),
|
|
49
49
|
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const ChargeExternalIdConflictErrorMessage: core.serialization.ObjectSchema<serializers.chargeCapture.v1.ChargeExternalIdConflictErrorMessage.Raw, CandidApi.chargeCapture.v1.ChargeExternalIdConflictErrorMessage>;
|
|
8
|
+
export declare namespace ChargeExternalIdConflictErrorMessage {
|
|
9
|
+
interface Raw {
|
|
10
|
+
message?: string | null;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ChargeExternalIdConflictErrorMessage = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../core"));
|
|
41
|
+
exports.ChargeExternalIdConflictErrorMessage = core.serialization.object({
|
|
42
|
+
message: core.serialization.string().optional(),
|
|
43
|
+
});
|
|
@@ -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);
|