candidhealth 0.6.4 → 0.7.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 +15 -0
- package/Client.js +29 -4
- package/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/api/resources/claimSubmission/index.d.ts +1 -0
- package/api/resources/claimSubmission/index.js +17 -0
- package/api/resources/claimSubmission/resources/index.d.ts +1 -0
- package/api/resources/claimSubmission/resources/index.js +27 -0
- package/api/resources/claimSubmission/resources/v1/index.d.ts +1 -0
- package/api/resources/claimSubmission/resources/v1/index.js +17 -0
- package/api/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.d.ts +10 -0
- package/api/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.js +12 -0
- package/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +27 -0
- package/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.js +5 -0
- package/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +32 -0
- package/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.js +5 -0
- package/api/resources/claimSubmission/resources/v1/types/index.d.ts +3 -0
- package/api/resources/claimSubmission/resources/v1/types/index.js +19 -0
- package/api/resources/commons/types/ClaimAdjustmentGroupCodes.d.ts +15 -0
- package/api/resources/commons/types/ClaimAdjustmentGroupCodes.js +17 -0
- package/api/resources/commons/types/ClaimSubmissionPayerResponsibilityType.d.ts +8 -0
- package/api/resources/commons/types/ClaimSubmissionPayerResponsibilityType.js +10 -0
- package/api/resources/commons/types/ProcedureModifier.d.ts +5 -1
- package/api/resources/commons/types/ProcedureModifier.js +1 -0
- package/api/resources/commons/types/ProviderId.d.ts +8 -0
- package/api/resources/commons/types/ProviderId.js +10 -0
- package/api/resources/commons/types/UpdatesDisabledDueToExternalSystemIntegrationErrorMessage.d.ts +6 -0
- package/api/resources/commons/types/UpdatesDisabledDueToExternalSystemIntegrationErrorMessage.js +5 -0
- package/api/resources/commons/types/index.d.ts +5 -0
- package/api/resources/commons/types/index.js +5 -0
- package/api/resources/eligibility/resources/v2/client/Client.js +1 -1
- package/api/resources/encounters/resources/v4/client/Client.js +4 -4
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +7 -0
- package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +6 -0
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +2 -2
- package/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +6 -0
- package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +2 -2
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +5 -0
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +6 -1
- package/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/api/resources/financials/index.d.ts +1 -0
- package/api/resources/financials/index.js +17 -0
- package/api/resources/financials/types/Allocation.d.ts +8 -0
- package/api/resources/financials/types/Allocation.js +5 -0
- package/api/resources/financials/types/AllocationCreate.d.ts +8 -0
- package/api/resources/financials/types/AllocationCreate.js +5 -0
- package/api/resources/financials/types/AllocationRecipient.d.ts +19 -0
- package/api/resources/financials/types/AllocationRecipient.js +5 -0
- package/api/resources/financials/types/AllocationRecipientCreate.d.ts +19 -0
- package/api/resources/financials/types/AllocationRecipientCreate.js +5 -0
- package/api/resources/financials/types/RefundAllocation.d.ts +8 -0
- package/api/resources/financials/types/RefundAllocation.js +5 -0
- package/api/resources/financials/types/RefundAllocationCreate.d.ts +8 -0
- package/api/resources/financials/types/RefundAllocationCreate.js +5 -0
- package/api/resources/financials/types/RefundReason.d.ts +7 -0
- package/api/resources/financials/types/RefundReason.js +9 -0
- package/api/resources/financials/types/index.d.ts +7 -0
- package/api/resources/financials/types/index.js +23 -0
- package/api/resources/guarantor/resources/v1/client/Client.d.ts +15 -0
- package/api/resources/guarantor/resources/v1/client/Client.js +18 -3
- package/api/resources/index.d.ts +8 -0
- package/api/resources/index.js +9 -1
- package/api/resources/individual/types/Subscriber.d.ts +1 -1
- package/api/resources/insuranceAdjudication/client/Client.d.ts +18 -0
- package/api/resources/insuranceAdjudication/client/Client.js +18 -0
- package/api/resources/insuranceAdjudication/client/index.d.ts +1 -0
- package/api/resources/insuranceAdjudication/client/index.js +2 -0
- package/api/resources/insuranceAdjudication/index.d.ts +2 -0
- package/api/resources/insuranceAdjudication/index.js +18 -0
- package/api/resources/insuranceAdjudication/resources/index.d.ts +1 -0
- package/api/resources/insuranceAdjudication/resources/index.js +27 -0
- package/api/resources/insuranceAdjudication/resources/v1/client/Client.d.ts +35 -0
- package/api/resources/insuranceAdjudication/resources/v1/client/Client.js +151 -0
- package/api/resources/insuranceAdjudication/resources/v1/client/create.d.ts +22 -0
- package/api/resources/insuranceAdjudication/resources/v1/client/create.js +47 -0
- package/api/resources/insuranceAdjudication/resources/v1/client/delete.d.ts +22 -0
- package/api/resources/insuranceAdjudication/resources/v1/client/delete.js +47 -0
- package/api/resources/insuranceAdjudication/resources/v1/client/get.d.ts +22 -0
- package/api/resources/insuranceAdjudication/resources/v1/client/get.js +47 -0
- package/api/resources/insuranceAdjudication/resources/v1/client/index.d.ts +3 -0
- package/api/resources/insuranceAdjudication/resources/v1/client/index.js +29 -0
- package/api/resources/insuranceAdjudication/resources/v1/index.d.ts +2 -0
- package/api/resources/insuranceAdjudication/resources/v1/index.js +18 -0
- package/api/resources/insuranceAdjudication/resources/v1/types/ClaimAdjudication.d.ts +10 -0
- package/api/resources/insuranceAdjudication/resources/v1/types/ClaimAdjudication.js +5 -0
- package/api/resources/insuranceAdjudication/resources/v1/types/ClaimAdjudicationCreate.d.ts +10 -0
- package/api/resources/insuranceAdjudication/resources/v1/types/ClaimAdjudicationCreate.js +5 -0
- package/api/resources/insuranceAdjudication/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +9 -0
- package/api/resources/insuranceAdjudication/resources/v1/types/ClaimAdjustmentReasonCode.js +5 -0
- package/api/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudication.d.ts +14 -0
- package/api/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudication.js +5 -0
- package/api/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudicationCreate.d.ts +13 -0
- package/api/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudicationCreate.js +5 -0
- package/api/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudicationId.d.ts +8 -0
- package/api/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudicationId.js +10 -0
- package/api/resources/insuranceAdjudication/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +7 -0
- package/api/resources/insuranceAdjudication/resources/v1/types/RemittanceAdviceRemarkCode.js +5 -0
- package/api/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudication.d.ts +16 -0
- package/api/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudication.js +5 -0
- package/api/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +15 -0
- package/api/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationCreate.js +5 -0
- package/api/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationId.d.ts +8 -0
- package/api/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationId.js +10 -0
- package/api/resources/insuranceAdjudication/resources/v1/types/index.d.ts +10 -0
- package/api/resources/insuranceAdjudication/resources/v1/types/index.js +26 -0
- package/api/resources/insuranceCard/types/InsuranceCard.d.ts +1 -1
- package/api/resources/insuranceRefunds/client/Client.d.ts +18 -0
- package/api/resources/insuranceRefunds/client/Client.js +18 -0
- package/api/resources/insuranceRefunds/client/index.d.ts +1 -0
- package/api/resources/insuranceRefunds/client/index.js +2 -0
- package/api/resources/insuranceRefunds/index.d.ts +2 -0
- package/api/resources/insuranceRefunds/index.js +18 -0
- package/api/resources/insuranceRefunds/resources/index.d.ts +1 -0
- package/api/resources/insuranceRefunds/resources/index.js +27 -0
- package/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +40 -0
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +156 -0
- package/api/resources/insuranceRefunds/resources/v1/client/create.d.ts +22 -0
- package/api/resources/insuranceRefunds/resources/v1/client/create.js +47 -0
- package/api/resources/insuranceRefunds/resources/v1/client/delete.d.ts +22 -0
- package/api/resources/insuranceRefunds/resources/v1/client/delete.js +47 -0
- package/api/resources/insuranceRefunds/resources/v1/client/get.d.ts +22 -0
- package/api/resources/insuranceRefunds/resources/v1/client/get.js +47 -0
- package/api/resources/insuranceRefunds/resources/v1/client/index.d.ts +3 -0
- package/api/resources/insuranceRefunds/resources/v1/client/index.js +29 -0
- package/api/resources/insuranceRefunds/resources/v1/index.d.ts +2 -0
- package/api/resources/insuranceRefunds/resources/v1/index.js +18 -0
- package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +11 -0
- package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.js +5 -0
- package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +10 -0
- package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.js +5 -0
- package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundId.d.ts +8 -0
- package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundId.js +10 -0
- package/api/resources/insuranceRefunds/resources/v1/types/index.d.ts +3 -0
- package/api/resources/insuranceRefunds/resources/v1/types/index.js +19 -0
- package/api/resources/invoices/types/index.d.ts +0 -1
- package/api/resources/invoices/types/index.js +0 -1
- package/api/resources/organizationProviders/resources/v3/client/Client.js +6 -4
- package/api/resources/organizationProviders/resources/v3/client/create.d.ts +7 -1
- package/api/resources/organizationProviders/resources/v3/client/create.js +11 -0
- package/api/resources/organizationProviders/resources/v3/client/update.d.ts +7 -1
- package/api/resources/organizationProviders/resources/v3/client/update.js +11 -0
- package/api/resources/patientPayments/client/Client.d.ts +18 -0
- package/api/resources/patientPayments/client/Client.js +18 -0
- package/api/resources/patientPayments/client/index.d.ts +1 -0
- package/api/resources/patientPayments/client/index.js +2 -0
- package/api/resources/patientPayments/index.d.ts +1 -0
- package/api/resources/patientPayments/index.js +1 -0
- package/api/resources/patientPayments/resources/index.d.ts +1 -0
- package/api/resources/patientPayments/resources/index.js +2 -1
- package/api/resources/patientPayments/resources/v4/client/Client.d.ts +37 -0
- package/api/resources/patientPayments/resources/v4/client/Client.js +153 -0
- package/api/resources/patientPayments/resources/v4/client/create.d.ts +22 -0
- package/api/resources/patientPayments/resources/v4/client/create.js +47 -0
- package/api/resources/patientPayments/resources/v4/client/delete.d.ts +22 -0
- package/api/resources/patientPayments/resources/v4/client/delete.js +47 -0
- package/api/resources/patientPayments/resources/v4/client/get.d.ts +22 -0
- package/api/resources/patientPayments/resources/v4/client/get.js +47 -0
- package/api/resources/patientPayments/resources/v4/client/index.d.ts +4 -0
- package/api/resources/patientPayments/resources/v4/client/index.js +33 -0
- package/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.d.ts +12 -0
- package/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.js +5 -0
- package/api/resources/patientPayments/resources/v4/client/requests/index.d.ts +1 -0
- package/api/resources/patientPayments/resources/v4/client/requests/index.js +2 -0
- package/api/resources/patientPayments/resources/v4/index.d.ts +2 -0
- package/api/resources/patientPayments/resources/v4/index.js +18 -0
- package/api/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +14 -0
- package/api/resources/patientPayments/resources/v4/types/PatientPayment.js +5 -0
- package/api/resources/patientPayments/resources/v4/types/PatientPaymentId.d.ts +8 -0
- package/api/resources/patientPayments/resources/v4/types/PatientPaymentId.js +10 -0
- package/api/resources/patientPayments/resources/v4/types/index.d.ts +2 -0
- package/api/resources/patientPayments/resources/v4/types/index.js +18 -0
- package/api/resources/patientRefunds/client/Client.d.ts +18 -0
- package/api/resources/patientRefunds/client/Client.js +18 -0
- package/api/resources/patientRefunds/client/index.d.ts +1 -0
- package/api/resources/patientRefunds/client/index.js +2 -0
- package/api/resources/patientRefunds/index.d.ts +2 -0
- package/api/resources/patientRefunds/index.js +18 -0
- package/api/resources/patientRefunds/resources/index.d.ts +1 -0
- package/api/resources/patientRefunds/resources/index.js +27 -0
- package/api/resources/patientRefunds/resources/v1/client/Client.d.ts +37 -0
- package/api/resources/patientRefunds/resources/v1/client/Client.js +153 -0
- package/api/resources/patientRefunds/resources/v1/client/create.d.ts +22 -0
- package/api/resources/patientRefunds/resources/v1/client/create.js +47 -0
- package/api/resources/patientRefunds/resources/v1/client/delete.d.ts +22 -0
- package/api/resources/patientRefunds/resources/v1/client/delete.js +47 -0
- package/api/resources/patientRefunds/resources/v1/client/get.d.ts +22 -0
- package/api/resources/patientRefunds/resources/v1/client/get.js +47 -0
- package/api/resources/patientRefunds/resources/v1/client/index.d.ts +4 -0
- package/api/resources/patientRefunds/resources/v1/client/index.js +33 -0
- package/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts +12 -0
- package/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.js +5 -0
- package/api/resources/patientRefunds/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/patientRefunds/resources/v1/client/requests/index.js +2 -0
- package/api/resources/patientRefunds/resources/v1/index.d.ts +2 -0
- package/api/resources/patientRefunds/resources/v1/index.js +18 -0
- package/api/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +14 -0
- package/api/resources/patientRefunds/resources/v1/types/PatientRefund.js +5 -0
- package/api/resources/patientRefunds/resources/v1/types/PatientRefundId.d.ts +8 -0
- package/api/resources/patientRefunds/resources/v1/types/PatientRefundId.js +10 -0
- package/api/resources/patientRefunds/resources/v1/types/index.d.ts +2 -0
- package/api/resources/patientRefunds/resources/v1/types/index.js +18 -0
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/writeOffs/client/Client.d.ts +18 -0
- package/api/resources/writeOffs/client/Client.js +18 -0
- package/api/resources/writeOffs/client/index.d.ts +1 -0
- package/api/resources/writeOffs/client/index.js +2 -0
- package/api/resources/writeOffs/index.d.ts +2 -0
- package/api/resources/writeOffs/index.js +18 -0
- package/api/resources/writeOffs/resources/index.d.ts +1 -0
- package/api/resources/writeOffs/resources/index.js +27 -0
- package/api/resources/writeOffs/resources/v1/client/Client.d.ts +37 -0
- package/api/resources/writeOffs/resources/v1/client/Client.js +158 -0
- package/api/resources/writeOffs/resources/v1/client/create.d.ts +22 -0
- package/api/resources/writeOffs/resources/v1/client/create.js +47 -0
- package/api/resources/writeOffs/resources/v1/client/get.d.ts +22 -0
- package/api/resources/writeOffs/resources/v1/client/get.js +47 -0
- package/api/resources/writeOffs/resources/v1/client/index.d.ts +4 -0
- package/api/resources/writeOffs/resources/v1/client/index.js +33 -0
- package/api/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.d.ts +7 -0
- package/api/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.js +5 -0
- package/api/resources/writeOffs/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/writeOffs/resources/v1/client/requests/index.js +2 -0
- package/api/resources/writeOffs/resources/v1/client/revert.d.ts +22 -0
- package/api/resources/writeOffs/resources/v1/client/revert.js +47 -0
- package/api/resources/writeOffs/resources/v1/index.d.ts +2 -0
- package/api/resources/writeOffs/resources/v1/index.js +18 -0
- package/api/resources/writeOffs/resources/v1/types/WriteOff.d.ts +11 -0
- package/api/resources/writeOffs/resources/v1/types/WriteOff.js +5 -0
- package/api/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +10 -0
- package/api/resources/writeOffs/resources/v1/types/WriteOffCreate.js +5 -0
- package/api/resources/writeOffs/resources/v1/types/WriteOffId.d.ts +8 -0
- package/api/resources/writeOffs/resources/v1/types/WriteOffId.js +10 -0
- package/api/resources/writeOffs/resources/v1/types/WriteOffReason.d.ts +10 -0
- package/api/resources/writeOffs/resources/v1/types/WriteOffReason.js +12 -0
- package/api/resources/writeOffs/resources/v1/types/index.d.ts +4 -0
- package/api/resources/writeOffs/resources/v1/types/index.js +20 -0
- package/api/resources/x12/index.d.ts +1 -0
- package/api/resources/x12/index.js +17 -0
- package/api/resources/x12/resources/index.d.ts +1 -0
- package/api/resources/x12/resources/index.js +27 -0
- package/api/resources/x12/resources/v1/index.d.ts +1 -0
- package/api/resources/x12/resources/v1/index.js +17 -0
- package/api/resources/x12/resources/v1/types/Carc.d.ts +272 -0
- package/api/resources/x12/resources/v1/types/Carc.js +274 -0
- package/api/resources/x12/resources/v1/types/Rarc.d.ts +1066 -0
- package/api/resources/x12/resources/v1/types/Rarc.js +1068 -0
- package/api/resources/x12/resources/v1/types/index.d.ts +2 -0
- package/api/resources/x12/resources/v1/types/index.js +18 -0
- package/dist/Client.d.ts +15 -0
- package/dist/Client.js +29 -4
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/claimSubmission/index.d.ts +1 -0
- package/dist/api/resources/claimSubmission/index.js +17 -0
- package/dist/api/resources/claimSubmission/resources/index.d.ts +1 -0
- package/dist/api/resources/claimSubmission/resources/index.js +27 -0
- package/dist/api/resources/claimSubmission/resources/v1/index.d.ts +1 -0
- package/dist/api/resources/claimSubmission/resources/v1/index.js +17 -0
- package/dist/api/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.d.ts +10 -0
- package/dist/api/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.js +12 -0
- package/dist/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +27 -0
- package/dist/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.js +5 -0
- package/dist/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +32 -0
- package/dist/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.js +5 -0
- package/dist/api/resources/claimSubmission/resources/v1/types/index.d.ts +3 -0
- package/dist/api/resources/claimSubmission/resources/v1/types/index.js +19 -0
- package/dist/api/resources/commons/types/ClaimAdjustmentGroupCodes.d.ts +15 -0
- package/dist/api/resources/commons/types/ClaimAdjustmentGroupCodes.js +17 -0
- package/dist/api/resources/commons/types/ClaimSubmissionPayerResponsibilityType.d.ts +8 -0
- package/dist/api/resources/commons/types/ClaimSubmissionPayerResponsibilityType.js +10 -0
- package/dist/api/resources/commons/types/ProcedureModifier.d.ts +5 -1
- package/dist/api/resources/commons/types/ProcedureModifier.js +1 -0
- package/dist/api/resources/commons/types/ProviderId.d.ts +8 -0
- package/dist/api/resources/commons/types/ProviderId.js +10 -0
- package/dist/api/resources/commons/types/UpdatesDisabledDueToExternalSystemIntegrationErrorMessage.d.ts +6 -0
- package/dist/api/resources/commons/types/UpdatesDisabledDueToExternalSystemIntegrationErrorMessage.js +5 -0
- package/dist/api/resources/commons/types/index.d.ts +5 -0
- package/dist/api/resources/commons/types/index.js +5 -0
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +7 -0
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +6 -0
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +2 -2
- package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +6 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +2 -2
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +5 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +6 -1
- package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/dist/api/resources/financials/index.d.ts +1 -0
- package/dist/api/resources/financials/index.js +17 -0
- package/dist/api/resources/financials/types/Allocation.d.ts +8 -0
- package/dist/api/resources/financials/types/Allocation.js +5 -0
- package/dist/api/resources/financials/types/AllocationCreate.d.ts +8 -0
- package/dist/api/resources/financials/types/AllocationCreate.js +5 -0
- package/dist/api/resources/financials/types/AllocationRecipient.d.ts +19 -0
- package/dist/api/resources/financials/types/AllocationRecipient.js +5 -0
- package/dist/api/resources/financials/types/AllocationRecipientCreate.d.ts +19 -0
- package/dist/api/resources/financials/types/AllocationRecipientCreate.js +5 -0
- package/dist/api/resources/financials/types/RefundAllocation.d.ts +8 -0
- package/dist/api/resources/financials/types/RefundAllocation.js +5 -0
- package/dist/api/resources/financials/types/RefundAllocationCreate.d.ts +8 -0
- package/dist/api/resources/financials/types/RefundAllocationCreate.js +5 -0
- package/dist/api/resources/financials/types/RefundReason.d.ts +7 -0
- package/dist/api/resources/financials/types/RefundReason.js +9 -0
- package/dist/api/resources/financials/types/index.d.ts +7 -0
- package/dist/api/resources/financials/types/index.js +23 -0
- package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +15 -0
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +18 -3
- package/dist/api/resources/index.d.ts +8 -0
- package/dist/api/resources/index.js +9 -1
- package/dist/api/resources/individual/types/Subscriber.d.ts +1 -1
- package/dist/api/resources/insuranceAdjudication/client/Client.d.ts +18 -0
- package/dist/api/resources/insuranceAdjudication/client/Client.js +18 -0
- package/dist/api/resources/insuranceAdjudication/client/index.d.ts +1 -0
- package/dist/api/resources/insuranceAdjudication/client/index.js +2 -0
- package/dist/api/resources/insuranceAdjudication/index.d.ts +2 -0
- package/dist/api/resources/insuranceAdjudication/index.js +18 -0
- package/dist/api/resources/insuranceAdjudication/resources/index.d.ts +1 -0
- package/dist/api/resources/insuranceAdjudication/resources/index.js +27 -0
- package/dist/api/resources/insuranceAdjudication/resources/v1/client/Client.d.ts +35 -0
- package/dist/api/resources/insuranceAdjudication/resources/v1/client/Client.js +151 -0
- package/dist/api/resources/insuranceAdjudication/resources/v1/client/create.d.ts +22 -0
- package/dist/api/resources/insuranceAdjudication/resources/v1/client/create.js +47 -0
- package/dist/api/resources/insuranceAdjudication/resources/v1/client/delete.d.ts +22 -0
- package/dist/api/resources/insuranceAdjudication/resources/v1/client/delete.js +47 -0
- package/dist/api/resources/insuranceAdjudication/resources/v1/client/get.d.ts +22 -0
- package/dist/api/resources/insuranceAdjudication/resources/v1/client/get.js +47 -0
- package/dist/api/resources/insuranceAdjudication/resources/v1/client/index.d.ts +3 -0
- package/dist/api/resources/insuranceAdjudication/resources/v1/client/index.js +29 -0
- package/dist/api/resources/insuranceAdjudication/resources/v1/index.d.ts +2 -0
- package/dist/api/resources/insuranceAdjudication/resources/v1/index.js +18 -0
- package/dist/api/resources/insuranceAdjudication/resources/v1/types/ClaimAdjudication.d.ts +10 -0
- package/dist/api/resources/insuranceAdjudication/resources/v1/types/ClaimAdjudication.js +5 -0
- package/dist/api/resources/insuranceAdjudication/resources/v1/types/ClaimAdjudicationCreate.d.ts +10 -0
- package/dist/api/resources/insuranceAdjudication/resources/v1/types/ClaimAdjudicationCreate.js +5 -0
- package/dist/api/resources/insuranceAdjudication/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +9 -0
- package/dist/api/resources/insuranceAdjudication/resources/v1/types/ClaimAdjustmentReasonCode.js +5 -0
- package/dist/api/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudication.d.ts +14 -0
- package/dist/api/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudication.js +5 -0
- package/dist/api/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudicationCreate.d.ts +13 -0
- package/dist/api/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudicationCreate.js +5 -0
- package/dist/api/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudicationId.d.ts +8 -0
- package/dist/api/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudicationId.js +10 -0
- package/dist/api/resources/insuranceAdjudication/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +7 -0
- package/dist/api/resources/insuranceAdjudication/resources/v1/types/RemittanceAdviceRemarkCode.js +5 -0
- package/dist/api/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudication.d.ts +16 -0
- package/dist/api/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudication.js +5 -0
- package/dist/api/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +15 -0
- package/dist/api/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationCreate.js +5 -0
- package/dist/api/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationId.d.ts +8 -0
- package/dist/api/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationId.js +10 -0
- package/dist/api/resources/insuranceAdjudication/resources/v1/types/index.d.ts +10 -0
- package/dist/api/resources/insuranceAdjudication/resources/v1/types/index.js +26 -0
- package/dist/api/resources/insuranceCard/types/InsuranceCard.d.ts +1 -1
- package/dist/api/resources/insuranceRefunds/client/Client.d.ts +18 -0
- package/dist/api/resources/insuranceRefunds/client/Client.js +18 -0
- package/dist/api/resources/insuranceRefunds/client/index.d.ts +1 -0
- package/dist/api/resources/insuranceRefunds/client/index.js +2 -0
- package/dist/api/resources/insuranceRefunds/index.d.ts +2 -0
- package/dist/api/resources/insuranceRefunds/index.js +18 -0
- package/dist/api/resources/insuranceRefunds/resources/index.d.ts +1 -0
- package/dist/api/resources/insuranceRefunds/resources/index.js +27 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +40 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +156 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/client/create.d.ts +22 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/client/create.js +47 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/client/delete.d.ts +22 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/client/delete.js +47 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/client/get.d.ts +22 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/client/get.js +47 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/client/index.d.ts +3 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/client/index.js +29 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/index.d.ts +2 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/index.js +18 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +11 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.js +5 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +10 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.js +5 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundId.d.ts +8 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundId.js +10 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/types/index.d.ts +3 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/types/index.js +19 -0
- package/dist/api/resources/invoices/types/index.d.ts +0 -1
- package/dist/api/resources/invoices/types/index.js +0 -1
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +6 -4
- package/dist/api/resources/organizationProviders/resources/v3/client/create.d.ts +7 -1
- package/dist/api/resources/organizationProviders/resources/v3/client/create.js +11 -0
- package/dist/api/resources/organizationProviders/resources/v3/client/update.d.ts +7 -1
- package/dist/api/resources/organizationProviders/resources/v3/client/update.js +11 -0
- package/dist/api/resources/patientPayments/client/Client.d.ts +18 -0
- package/dist/api/resources/patientPayments/client/Client.js +18 -0
- package/dist/api/resources/patientPayments/client/index.d.ts +1 -0
- package/dist/api/resources/patientPayments/client/index.js +2 -0
- package/dist/api/resources/patientPayments/index.d.ts +1 -0
- package/dist/api/resources/patientPayments/index.js +1 -0
- package/dist/api/resources/patientPayments/resources/index.d.ts +1 -0
- package/dist/api/resources/patientPayments/resources/index.js +2 -1
- package/dist/api/resources/patientPayments/resources/v4/client/Client.d.ts +37 -0
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +153 -0
- package/dist/api/resources/patientPayments/resources/v4/client/create.d.ts +22 -0
- package/dist/api/resources/patientPayments/resources/v4/client/create.js +47 -0
- package/dist/api/resources/patientPayments/resources/v4/client/delete.d.ts +22 -0
- package/dist/api/resources/patientPayments/resources/v4/client/delete.js +47 -0
- package/dist/api/resources/patientPayments/resources/v4/client/get.d.ts +22 -0
- package/dist/api/resources/patientPayments/resources/v4/client/get.js +47 -0
- package/dist/api/resources/patientPayments/resources/v4/client/index.d.ts +4 -0
- package/dist/api/resources/patientPayments/resources/v4/client/index.js +33 -0
- package/dist/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.d.ts +12 -0
- package/dist/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.js +5 -0
- package/dist/api/resources/patientPayments/resources/v4/client/requests/index.d.ts +1 -0
- package/dist/api/resources/patientPayments/resources/v4/client/requests/index.js +2 -0
- package/dist/api/resources/patientPayments/resources/v4/index.d.ts +2 -0
- package/dist/api/resources/patientPayments/resources/v4/index.js +18 -0
- package/dist/api/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +14 -0
- package/dist/api/resources/patientPayments/resources/v4/types/PatientPayment.js +5 -0
- package/dist/api/resources/patientPayments/resources/v4/types/PatientPaymentId.d.ts +8 -0
- package/dist/api/resources/patientPayments/resources/v4/types/PatientPaymentId.js +10 -0
- package/dist/api/resources/patientPayments/resources/v4/types/index.d.ts +2 -0
- package/dist/api/resources/patientPayments/resources/v4/types/index.js +18 -0
- package/dist/api/resources/patientRefunds/client/Client.d.ts +18 -0
- package/dist/api/resources/patientRefunds/client/Client.js +18 -0
- package/dist/api/resources/patientRefunds/client/index.d.ts +1 -0
- package/dist/api/resources/patientRefunds/client/index.js +2 -0
- package/dist/api/resources/patientRefunds/index.d.ts +2 -0
- package/dist/api/resources/patientRefunds/index.js +18 -0
- package/dist/api/resources/patientRefunds/resources/index.d.ts +1 -0
- package/dist/api/resources/patientRefunds/resources/index.js +27 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.d.ts +37 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +153 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/create.d.ts +22 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/create.js +47 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/delete.d.ts +22 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/delete.js +47 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/get.d.ts +22 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/get.js +47 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/index.d.ts +4 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/index.js +33 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts +12 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.js +5 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/requests/index.js +2 -0
- package/dist/api/resources/patientRefunds/resources/v1/index.d.ts +2 -0
- package/dist/api/resources/patientRefunds/resources/v1/index.js +18 -0
- package/dist/api/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +14 -0
- package/dist/api/resources/patientRefunds/resources/v1/types/PatientRefund.js +5 -0
- package/dist/api/resources/patientRefunds/resources/v1/types/PatientRefundId.d.ts +8 -0
- package/dist/api/resources/patientRefunds/resources/v1/types/PatientRefundId.js +10 -0
- package/dist/api/resources/patientRefunds/resources/v1/types/index.d.ts +2 -0
- package/dist/api/resources/patientRefunds/resources/v1/types/index.js +18 -0
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/writeOffs/client/Client.d.ts +18 -0
- package/dist/api/resources/writeOffs/client/Client.js +18 -0
- package/dist/api/resources/writeOffs/client/index.d.ts +1 -0
- package/dist/api/resources/writeOffs/client/index.js +2 -0
- package/dist/api/resources/writeOffs/index.d.ts +2 -0
- package/dist/api/resources/writeOffs/index.js +18 -0
- package/dist/api/resources/writeOffs/resources/index.d.ts +1 -0
- package/dist/api/resources/writeOffs/resources/index.js +27 -0
- package/dist/api/resources/writeOffs/resources/v1/client/Client.d.ts +37 -0
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +158 -0
- package/dist/api/resources/writeOffs/resources/v1/client/create.d.ts +22 -0
- package/dist/api/resources/writeOffs/resources/v1/client/create.js +47 -0
- package/dist/api/resources/writeOffs/resources/v1/client/get.d.ts +22 -0
- package/dist/api/resources/writeOffs/resources/v1/client/get.js +47 -0
- package/dist/api/resources/writeOffs/resources/v1/client/index.d.ts +4 -0
- package/dist/api/resources/writeOffs/resources/v1/client/index.js +33 -0
- package/dist/api/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.d.ts +7 -0
- package/dist/api/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.js +5 -0
- package/dist/api/resources/writeOffs/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/api/resources/writeOffs/resources/v1/client/requests/index.js +2 -0
- package/dist/api/resources/writeOffs/resources/v1/client/revert.d.ts +22 -0
- package/dist/api/resources/writeOffs/resources/v1/client/revert.js +47 -0
- package/dist/api/resources/writeOffs/resources/v1/index.d.ts +2 -0
- package/dist/api/resources/writeOffs/resources/v1/index.js +18 -0
- package/dist/api/resources/writeOffs/resources/v1/types/WriteOff.d.ts +11 -0
- package/dist/api/resources/writeOffs/resources/v1/types/WriteOff.js +5 -0
- package/dist/api/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +10 -0
- package/dist/api/resources/writeOffs/resources/v1/types/WriteOffCreate.js +5 -0
- package/dist/api/resources/writeOffs/resources/v1/types/WriteOffId.d.ts +8 -0
- package/dist/api/resources/writeOffs/resources/v1/types/WriteOffId.js +10 -0
- package/dist/api/resources/writeOffs/resources/v1/types/WriteOffReason.d.ts +10 -0
- package/dist/api/resources/writeOffs/resources/v1/types/WriteOffReason.js +12 -0
- package/dist/api/resources/writeOffs/resources/v1/types/index.d.ts +4 -0
- package/dist/api/resources/writeOffs/resources/v1/types/index.js +20 -0
- package/dist/api/resources/x12/index.d.ts +1 -0
- package/dist/api/resources/x12/index.js +17 -0
- package/dist/api/resources/x12/resources/index.d.ts +1 -0
- package/dist/api/resources/x12/resources/index.js +27 -0
- package/dist/api/resources/x12/resources/v1/index.d.ts +1 -0
- package/dist/api/resources/x12/resources/v1/index.js +17 -0
- package/dist/api/resources/x12/resources/v1/types/Carc.d.ts +272 -0
- package/dist/api/resources/x12/resources/v1/types/Carc.js +274 -0
- package/dist/api/resources/x12/resources/v1/types/Rarc.d.ts +1066 -0
- package/dist/api/resources/x12/resources/v1/types/Rarc.js +1068 -0
- package/dist/api/resources/x12/resources/v1/types/index.d.ts +2 -0
- package/dist/api/resources/x12/resources/v1/types/index.js +18 -0
- package/dist/serialization/resources/claimSubmission/index.d.ts +1 -0
- package/dist/serialization/resources/claimSubmission/index.js +17 -0
- package/dist/serialization/resources/claimSubmission/resources/index.d.ts +1 -0
- package/dist/serialization/resources/claimSubmission/resources/index.js +27 -0
- package/dist/serialization/resources/claimSubmission/resources/v1/index.d.ts +1 -0
- package/dist/serialization/resources/claimSubmission/resources/v1/index.js +17 -0
- package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.d.ts +10 -0
- package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.js +31 -0
- package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +14 -0
- package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.js +35 -0
- package/dist/serialization/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +14 -0
- package/dist/serialization/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.js +35 -0
- package/dist/serialization/resources/claimSubmission/resources/v1/types/index.d.ts +3 -0
- package/dist/serialization/resources/claimSubmission/resources/v1/types/index.js +19 -0
- package/dist/serialization/resources/commons/types/ClaimAdjustmentGroupCodes.d.ts +10 -0
- package/dist/serialization/resources/commons/types/ClaimAdjustmentGroupCodes.js +31 -0
- package/dist/serialization/resources/commons/types/ClaimSubmissionPayerResponsibilityType.d.ts +10 -0
- package/dist/serialization/resources/commons/types/ClaimSubmissionPayerResponsibilityType.js +31 -0
- package/dist/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
- package/dist/serialization/resources/commons/types/ProcedureModifier.js +1 -0
- package/dist/serialization/resources/commons/types/ProviderId.d.ts +10 -0
- package/dist/serialization/resources/commons/types/ProviderId.js +35 -0
- package/dist/serialization/resources/commons/types/UpdatesDisabledDueToExternalSystemIntegrationErrorMessage.d.ts +12 -0
- package/dist/serialization/resources/commons/types/UpdatesDisabledDueToExternalSystemIntegrationErrorMessage.js +33 -0
- package/dist/serialization/resources/commons/types/index.d.ts +5 -0
- package/dist/serialization/resources/commons/types/index.js +5 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +3 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.js +1 -0
- package/dist/serialization/resources/financials/index.d.ts +1 -0
- package/dist/serialization/resources/financials/index.js +17 -0
- package/dist/serialization/resources/financials/types/Allocation.d.ts +13 -0
- package/dist/serialization/resources/financials/types/Allocation.js +34 -0
- package/dist/serialization/resources/financials/types/AllocationCreate.d.ts +13 -0
- package/dist/serialization/resources/financials/types/AllocationCreate.js +34 -0
- package/dist/serialization/resources/financials/types/AllocationRecipient.d.ts +22 -0
- package/dist/serialization/resources/financials/types/AllocationRecipient.js +46 -0
- package/dist/serialization/resources/financials/types/AllocationRecipientCreate.d.ts +22 -0
- package/dist/serialization/resources/financials/types/AllocationRecipientCreate.js +46 -0
- package/dist/serialization/resources/financials/types/RefundAllocation.d.ts +13 -0
- package/dist/serialization/resources/financials/types/RefundAllocation.js +34 -0
- package/dist/serialization/resources/financials/types/RefundAllocationCreate.d.ts +13 -0
- package/dist/serialization/resources/financials/types/RefundAllocationCreate.js +34 -0
- package/dist/serialization/resources/financials/types/RefundReason.d.ts +10 -0
- package/dist/serialization/resources/financials/types/RefundReason.js +31 -0
- package/dist/serialization/resources/financials/types/index.d.ts +7 -0
- package/dist/serialization/resources/financials/types/index.js +23 -0
- package/dist/serialization/resources/index.d.ts +8 -0
- package/dist/serialization/resources/index.js +9 -1
- package/dist/serialization/resources/insuranceAdjudication/index.d.ts +1 -0
- package/dist/serialization/resources/insuranceAdjudication/index.js +17 -0
- package/dist/serialization/resources/insuranceAdjudication/resources/index.d.ts +1 -0
- package/dist/serialization/resources/insuranceAdjudication/resources/index.js +27 -0
- package/dist/serialization/resources/insuranceAdjudication/resources/v1/index.d.ts +1 -0
- package/dist/serialization/resources/insuranceAdjudication/resources/v1/index.js +17 -0
- package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/ClaimAdjudication.d.ts +15 -0
- package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/ClaimAdjudication.js +36 -0
- package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/ClaimAdjudicationCreate.d.ts +15 -0
- package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/ClaimAdjudicationCreate.js +36 -0
- package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +14 -0
- package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/ClaimAdjustmentReasonCode.js +35 -0
- package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudication.d.ts +19 -0
- package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudication.js +40 -0
- package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudicationCreate.d.ts +18 -0
- package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudicationCreate.js +39 -0
- package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudicationId.d.ts +10 -0
- package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudicationId.js +35 -0
- package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +12 -0
- package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/RemittanceAdviceRemarkCode.js +33 -0
- package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudication.d.ts +20 -0
- package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudication.js +43 -0
- package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +19 -0
- package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationCreate.js +42 -0
- package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationId.d.ts +10 -0
- package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationId.js +35 -0
- package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/index.d.ts +10 -0
- package/dist/serialization/resources/insuranceAdjudication/resources/v1/types/index.js +26 -0
- package/dist/serialization/resources/insuranceRefunds/index.d.ts +1 -0
- package/dist/serialization/resources/insuranceRefunds/index.js +17 -0
- package/dist/serialization/resources/insuranceRefunds/resources/index.d.ts +1 -0
- package/dist/serialization/resources/insuranceRefunds/resources/index.js +27 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/index.d.ts +1 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/index.js +17 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +16 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.js +37 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +15 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.js +36 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundId.d.ts +10 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundId.js +35 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/types/index.d.ts +3 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/types/index.js +19 -0
- package/dist/serialization/resources/invoices/types/index.d.ts +0 -1
- package/dist/serialization/resources/invoices/types/index.js +0 -1
- package/dist/serialization/resources/organizationProviders/resources/v3/client/create.d.ts +5 -1
- package/dist/serialization/resources/organizationProviders/resources/v3/client/create.js +5 -0
- package/dist/serialization/resources/organizationProviders/resources/v3/client/update.d.ts +5 -1
- package/dist/serialization/resources/organizationProviders/resources/v3/client/update.js +5 -0
- package/dist/serialization/resources/patientPayments/resources/index.d.ts +1 -0
- package/dist/serialization/resources/patientPayments/resources/index.js +2 -1
- package/dist/serialization/resources/patientPayments/resources/v4/client/index.d.ts +1 -0
- package/dist/serialization/resources/patientPayments/resources/v4/client/index.js +17 -0
- package/dist/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.d.ts +17 -0
- package/dist/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.js +38 -0
- package/dist/serialization/resources/patientPayments/resources/v4/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/patientPayments/resources/v4/client/requests/index.js +5 -0
- package/dist/serialization/resources/patientPayments/resources/v4/index.d.ts +2 -0
- package/dist/serialization/resources/patientPayments/resources/v4/index.js +18 -0
- package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +19 -0
- package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPayment.js +40 -0
- package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPaymentId.d.ts +10 -0
- package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPaymentId.js +35 -0
- package/dist/serialization/resources/patientPayments/resources/v4/types/index.d.ts +2 -0
- package/dist/serialization/resources/patientPayments/resources/v4/types/index.js +18 -0
- package/dist/serialization/resources/patientRefunds/index.d.ts +1 -0
- package/dist/serialization/resources/patientRefunds/index.js +17 -0
- package/dist/serialization/resources/patientRefunds/resources/index.d.ts +1 -0
- package/dist/serialization/resources/patientRefunds/resources/index.js +27 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/client/index.d.ts +1 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/client/index.js +17 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts +17 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.js +38 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/client/requests/index.js +5 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/index.d.ts +2 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/index.js +18 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +19 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.js +40 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefundId.d.ts +10 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefundId.js +35 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/types/index.d.ts +2 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/types/index.js +18 -0
- package/dist/serialization/resources/writeOffs/index.d.ts +1 -0
- package/dist/serialization/resources/writeOffs/index.js +17 -0
- package/dist/serialization/resources/writeOffs/resources/index.d.ts +1 -0
- package/dist/serialization/resources/writeOffs/resources/index.js +27 -0
- package/dist/serialization/resources/writeOffs/resources/v1/client/create.d.ts +10 -0
- package/dist/serialization/resources/writeOffs/resources/v1/client/create.js +31 -0
- package/dist/serialization/resources/writeOffs/resources/v1/client/index.d.ts +2 -0
- package/dist/serialization/resources/writeOffs/resources/v1/client/index.js +31 -0
- package/dist/serialization/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.d.ts +12 -0
- package/dist/serialization/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.js +33 -0
- package/dist/serialization/resources/writeOffs/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/writeOffs/resources/v1/client/requests/index.js +5 -0
- package/dist/serialization/resources/writeOffs/resources/v1/index.d.ts +2 -0
- package/dist/serialization/resources/writeOffs/resources/v1/index.js +18 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOff.d.ts +16 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOff.js +37 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +15 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.js +36 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffId.d.ts +10 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffId.js +35 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffReason.d.ts +10 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffReason.js +31 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/index.d.ts +4 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/index.js +20 -0
- package/dist/serialization/resources/x12/index.d.ts +1 -0
- package/dist/serialization/resources/x12/index.js +17 -0
- package/dist/serialization/resources/x12/resources/index.d.ts +1 -0
- package/dist/serialization/resources/x12/resources/index.js +27 -0
- package/dist/serialization/resources/x12/resources/v1/index.d.ts +1 -0
- package/dist/serialization/resources/x12/resources/v1/index.js +17 -0
- package/dist/serialization/resources/x12/resources/v1/types/Carc.d.ts +10 -0
- package/dist/serialization/resources/x12/resources/v1/types/Carc.js +298 -0
- package/dist/serialization/resources/x12/resources/v1/types/Rarc.d.ts +10 -0
- package/dist/serialization/resources/x12/resources/v1/types/Rarc.js +1092 -0
- package/dist/serialization/resources/x12/resources/v1/types/index.d.ts +2 -0
- package/dist/serialization/resources/x12/resources/v1/types/index.js +18 -0
- package/package.json +1 -1
- package/serialization/resources/claimSubmission/index.d.ts +1 -0
- package/serialization/resources/claimSubmission/index.js +17 -0
- package/serialization/resources/claimSubmission/resources/index.d.ts +1 -0
- package/serialization/resources/claimSubmission/resources/index.js +27 -0
- package/serialization/resources/claimSubmission/resources/v1/index.d.ts +1 -0
- package/serialization/resources/claimSubmission/resources/v1/index.js +17 -0
- package/serialization/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.d.ts +10 -0
- package/serialization/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.js +31 -0
- package/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +14 -0
- package/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.js +35 -0
- package/serialization/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +14 -0
- package/serialization/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.js +35 -0
- package/serialization/resources/claimSubmission/resources/v1/types/index.d.ts +3 -0
- package/serialization/resources/claimSubmission/resources/v1/types/index.js +19 -0
- package/serialization/resources/commons/types/ClaimAdjustmentGroupCodes.d.ts +10 -0
- package/serialization/resources/commons/types/ClaimAdjustmentGroupCodes.js +31 -0
- package/serialization/resources/commons/types/ClaimSubmissionPayerResponsibilityType.d.ts +10 -0
- package/serialization/resources/commons/types/ClaimSubmissionPayerResponsibilityType.js +31 -0
- package/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
- package/serialization/resources/commons/types/ProcedureModifier.js +1 -0
- package/serialization/resources/commons/types/ProviderId.d.ts +10 -0
- package/serialization/resources/commons/types/ProviderId.js +35 -0
- package/serialization/resources/commons/types/UpdatesDisabledDueToExternalSystemIntegrationErrorMessage.d.ts +12 -0
- package/serialization/resources/commons/types/UpdatesDisabledDueToExternalSystemIntegrationErrorMessage.js +33 -0
- package/serialization/resources/commons/types/index.d.ts +5 -0
- package/serialization/resources/commons/types/index.js +5 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +3 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +1 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +1 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterBase.js +1 -0
- package/serialization/resources/financials/index.d.ts +1 -0
- package/serialization/resources/financials/index.js +17 -0
- package/serialization/resources/financials/types/Allocation.d.ts +13 -0
- package/serialization/resources/financials/types/Allocation.js +34 -0
- package/serialization/resources/financials/types/AllocationCreate.d.ts +13 -0
- package/serialization/resources/financials/types/AllocationCreate.js +34 -0
- package/serialization/resources/financials/types/AllocationRecipient.d.ts +22 -0
- package/serialization/resources/financials/types/AllocationRecipient.js +46 -0
- package/serialization/resources/financials/types/AllocationRecipientCreate.d.ts +22 -0
- package/serialization/resources/financials/types/AllocationRecipientCreate.js +46 -0
- package/serialization/resources/financials/types/RefundAllocation.d.ts +13 -0
- package/serialization/resources/financials/types/RefundAllocation.js +34 -0
- package/serialization/resources/financials/types/RefundAllocationCreate.d.ts +13 -0
- package/serialization/resources/financials/types/RefundAllocationCreate.js +34 -0
- package/serialization/resources/financials/types/RefundReason.d.ts +10 -0
- package/serialization/resources/financials/types/RefundReason.js +31 -0
- package/serialization/resources/financials/types/index.d.ts +7 -0
- package/serialization/resources/financials/types/index.js +23 -0
- package/serialization/resources/index.d.ts +8 -0
- package/serialization/resources/index.js +9 -1
- package/serialization/resources/insuranceAdjudication/index.d.ts +1 -0
- package/serialization/resources/insuranceAdjudication/index.js +17 -0
- package/serialization/resources/insuranceAdjudication/resources/index.d.ts +1 -0
- package/serialization/resources/insuranceAdjudication/resources/index.js +27 -0
- package/serialization/resources/insuranceAdjudication/resources/v1/index.d.ts +1 -0
- package/serialization/resources/insuranceAdjudication/resources/v1/index.js +17 -0
- package/serialization/resources/insuranceAdjudication/resources/v1/types/ClaimAdjudication.d.ts +15 -0
- package/serialization/resources/insuranceAdjudication/resources/v1/types/ClaimAdjudication.js +36 -0
- package/serialization/resources/insuranceAdjudication/resources/v1/types/ClaimAdjudicationCreate.d.ts +15 -0
- package/serialization/resources/insuranceAdjudication/resources/v1/types/ClaimAdjudicationCreate.js +36 -0
- package/serialization/resources/insuranceAdjudication/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +14 -0
- package/serialization/resources/insuranceAdjudication/resources/v1/types/ClaimAdjustmentReasonCode.js +35 -0
- package/serialization/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudication.d.ts +19 -0
- package/serialization/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudication.js +40 -0
- package/serialization/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudicationCreate.d.ts +18 -0
- package/serialization/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudicationCreate.js +39 -0
- package/serialization/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudicationId.d.ts +10 -0
- package/serialization/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudicationId.js +35 -0
- package/serialization/resources/insuranceAdjudication/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +12 -0
- package/serialization/resources/insuranceAdjudication/resources/v1/types/RemittanceAdviceRemarkCode.js +33 -0
- package/serialization/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudication.d.ts +20 -0
- package/serialization/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudication.js +43 -0
- package/serialization/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +19 -0
- package/serialization/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationCreate.js +42 -0
- package/serialization/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationId.d.ts +10 -0
- package/serialization/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationId.js +35 -0
- package/serialization/resources/insuranceAdjudication/resources/v1/types/index.d.ts +10 -0
- package/serialization/resources/insuranceAdjudication/resources/v1/types/index.js +26 -0
- package/serialization/resources/insuranceRefunds/index.d.ts +1 -0
- package/serialization/resources/insuranceRefunds/index.js +17 -0
- package/serialization/resources/insuranceRefunds/resources/index.d.ts +1 -0
- package/serialization/resources/insuranceRefunds/resources/index.js +27 -0
- package/serialization/resources/insuranceRefunds/resources/v1/index.d.ts +1 -0
- package/serialization/resources/insuranceRefunds/resources/v1/index.js +17 -0
- package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +16 -0
- package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.js +37 -0
- package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +15 -0
- package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.js +36 -0
- package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundId.d.ts +10 -0
- package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundId.js +35 -0
- package/serialization/resources/insuranceRefunds/resources/v1/types/index.d.ts +3 -0
- package/serialization/resources/insuranceRefunds/resources/v1/types/index.js +19 -0
- package/serialization/resources/invoices/types/index.d.ts +0 -1
- package/serialization/resources/invoices/types/index.js +0 -1
- package/serialization/resources/organizationProviders/resources/v3/client/create.d.ts +5 -1
- package/serialization/resources/organizationProviders/resources/v3/client/create.js +5 -0
- package/serialization/resources/organizationProviders/resources/v3/client/update.d.ts +5 -1
- package/serialization/resources/organizationProviders/resources/v3/client/update.js +5 -0
- package/serialization/resources/patientPayments/resources/index.d.ts +1 -0
- package/serialization/resources/patientPayments/resources/index.js +2 -1
- package/serialization/resources/patientPayments/resources/v4/client/index.d.ts +1 -0
- package/serialization/resources/patientPayments/resources/v4/client/index.js +17 -0
- package/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.d.ts +17 -0
- package/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.js +38 -0
- package/serialization/resources/patientPayments/resources/v4/client/requests/index.d.ts +1 -0
- package/serialization/resources/patientPayments/resources/v4/client/requests/index.js +5 -0
- package/serialization/resources/patientPayments/resources/v4/index.d.ts +2 -0
- package/serialization/resources/patientPayments/resources/v4/index.js +18 -0
- package/serialization/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +19 -0
- package/serialization/resources/patientPayments/resources/v4/types/PatientPayment.js +40 -0
- package/serialization/resources/patientPayments/resources/v4/types/PatientPaymentId.d.ts +10 -0
- package/serialization/resources/patientPayments/resources/v4/types/PatientPaymentId.js +35 -0
- package/serialization/resources/patientPayments/resources/v4/types/index.d.ts +2 -0
- package/serialization/resources/patientPayments/resources/v4/types/index.js +18 -0
- package/serialization/resources/patientRefunds/index.d.ts +1 -0
- package/serialization/resources/patientRefunds/index.js +17 -0
- package/serialization/resources/patientRefunds/resources/index.d.ts +1 -0
- package/serialization/resources/patientRefunds/resources/index.js +27 -0
- package/serialization/resources/patientRefunds/resources/v1/client/index.d.ts +1 -0
- package/serialization/resources/patientRefunds/resources/v1/client/index.js +17 -0
- package/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts +17 -0
- package/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.js +38 -0
- package/serialization/resources/patientRefunds/resources/v1/client/requests/index.d.ts +1 -0
- package/serialization/resources/patientRefunds/resources/v1/client/requests/index.js +5 -0
- package/serialization/resources/patientRefunds/resources/v1/index.d.ts +2 -0
- package/serialization/resources/patientRefunds/resources/v1/index.js +18 -0
- package/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +19 -0
- package/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.js +40 -0
- package/serialization/resources/patientRefunds/resources/v1/types/PatientRefundId.d.ts +10 -0
- package/serialization/resources/patientRefunds/resources/v1/types/PatientRefundId.js +35 -0
- package/serialization/resources/patientRefunds/resources/v1/types/index.d.ts +2 -0
- package/serialization/resources/patientRefunds/resources/v1/types/index.js +18 -0
- package/serialization/resources/writeOffs/index.d.ts +1 -0
- package/serialization/resources/writeOffs/index.js +17 -0
- package/serialization/resources/writeOffs/resources/index.d.ts +1 -0
- package/serialization/resources/writeOffs/resources/index.js +27 -0
- package/serialization/resources/writeOffs/resources/v1/client/create.d.ts +10 -0
- package/serialization/resources/writeOffs/resources/v1/client/create.js +31 -0
- package/serialization/resources/writeOffs/resources/v1/client/index.d.ts +2 -0
- package/serialization/resources/writeOffs/resources/v1/client/index.js +31 -0
- package/serialization/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.d.ts +12 -0
- package/serialization/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.js +33 -0
- package/serialization/resources/writeOffs/resources/v1/client/requests/index.d.ts +1 -0
- package/serialization/resources/writeOffs/resources/v1/client/requests/index.js +5 -0
- package/serialization/resources/writeOffs/resources/v1/index.d.ts +2 -0
- package/serialization/resources/writeOffs/resources/v1/index.js +18 -0
- package/serialization/resources/writeOffs/resources/v1/types/WriteOff.d.ts +16 -0
- package/serialization/resources/writeOffs/resources/v1/types/WriteOff.js +37 -0
- package/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +15 -0
- package/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.js +36 -0
- package/serialization/resources/writeOffs/resources/v1/types/WriteOffId.d.ts +10 -0
- package/serialization/resources/writeOffs/resources/v1/types/WriteOffId.js +35 -0
- package/serialization/resources/writeOffs/resources/v1/types/WriteOffReason.d.ts +10 -0
- package/serialization/resources/writeOffs/resources/v1/types/WriteOffReason.js +31 -0
- package/serialization/resources/writeOffs/resources/v1/types/index.d.ts +4 -0
- package/serialization/resources/writeOffs/resources/v1/types/index.js +20 -0
- package/serialization/resources/x12/index.d.ts +1 -0
- package/serialization/resources/x12/index.js +17 -0
- package/serialization/resources/x12/resources/index.d.ts +1 -0
- package/serialization/resources/x12/resources/index.js +27 -0
- package/serialization/resources/x12/resources/v1/index.d.ts +1 -0
- package/serialization/resources/x12/resources/v1/index.js +17 -0
- package/serialization/resources/x12/resources/v1/types/Carc.d.ts +10 -0
- package/serialization/resources/x12/resources/v1/types/Carc.js +298 -0
- package/serialization/resources/x12/resources/v1/types/Rarc.d.ts +10 -0
- package/serialization/resources/x12/resources/v1/types/Rarc.js +1092 -0
- package/serialization/resources/x12/resources/v1/types/index.d.ts +2 -0
- package/serialization/resources/x12/resources/v1/types/index.js +18 -0
- /package/api/resources/{invoices → commons}/types/InvoiceId.d.ts +0 -0
- /package/api/resources/{invoices → commons}/types/InvoiceId.js +0 -0
- /package/dist/api/resources/{invoices → commons}/types/InvoiceId.d.ts +0 -0
- /package/dist/api/resources/{invoices → commons}/types/InvoiceId.js +0 -0
- /package/dist/serialization/resources/{invoices → commons}/types/InvoiceId.d.ts +0 -0
- /package/dist/serialization/resources/{invoices → commons}/types/InvoiceId.js +0 -0
- /package/serialization/resources/{invoices → commons}/types/InvoiceId.d.ts +0 -0
- /package/serialization/resources/{invoices → commons}/types/InvoiceId.js +0 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../..";
|
|
5
|
+
import * as core from "../../../../../../core";
|
|
6
|
+
export declare type Error = CandidApi.patientRefunds.v1.get.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface _Unknown extends _Utils {
|
|
9
|
+
errorName: void;
|
|
10
|
+
content: core.Fetcher.Error;
|
|
11
|
+
}
|
|
12
|
+
interface _Utils {
|
|
13
|
+
_visit: <_Result>(visitor: CandidApi.patientRefunds.v1.get.Error._Visitor<_Result>) => _Result;
|
|
14
|
+
}
|
|
15
|
+
interface _Visitor<_Result> {
|
|
16
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export declare const Error: {
|
|
20
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.patientRefunds.v1.get.Error._Unknown;
|
|
21
|
+
readonly _visit: <_Result>(value: CandidApi.patientRefunds.v1.get.Error, visitor: CandidApi.patientRefunds.v1.get.Error._Visitor<_Result>) => _Result;
|
|
22
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../.."));
|
|
31
|
+
exports.Error = {
|
|
32
|
+
_unknown: (fetcherError) => {
|
|
33
|
+
return {
|
|
34
|
+
errorName: undefined,
|
|
35
|
+
content: fetcherError,
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.patientRefunds.v1.get.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
_visit: (value, visitor) => {
|
|
42
|
+
switch (value.errorName) {
|
|
43
|
+
default:
|
|
44
|
+
return visitor._other(value);
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
19
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
20
|
+
};
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.delete = exports.create = exports.get = void 0;
|
|
30
|
+
__exportStar(require("./requests"), exports);
|
|
31
|
+
exports.get = __importStar(require("./get"));
|
|
32
|
+
exports.create = __importStar(require("./create"));
|
|
33
|
+
exports.delete = __importStar(require("./delete"));
|
package/dist/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../..";
|
|
5
|
+
export interface PatientRefundCreate {
|
|
6
|
+
amountCents: number;
|
|
7
|
+
refundTimestamp?: Date;
|
|
8
|
+
refundNote?: string;
|
|
9
|
+
patientExternalId?: CandidApi.PatientExternalId;
|
|
10
|
+
allocations: CandidApi.RefundAllocation[];
|
|
11
|
+
invoice?: CandidApi.InvoiceId;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { PatientRefundCreate } from "./PatientRefundCreate";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
18
|
+
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../..";
|
|
5
|
+
export interface PatientRefund {
|
|
6
|
+
patientRefundId: CandidApi.patientRefunds.v1.PatientRefundId;
|
|
7
|
+
organizationId: CandidApi.OrganizationId;
|
|
8
|
+
sourceInternalId: string;
|
|
9
|
+
amountCents: number;
|
|
10
|
+
refundTimestamp?: Date;
|
|
11
|
+
refundNote?: string;
|
|
12
|
+
allocations: CandidApi.Allocation[];
|
|
13
|
+
invoice?: CandidApi.InvoiceId;
|
|
14
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../..";
|
|
5
|
+
export declare type PatientRefundId = string & {
|
|
6
|
+
patientRefunds_v1_PatientRefundId: void;
|
|
7
|
+
};
|
|
8
|
+
export declare function PatientRefundId(value: string): CandidApi.patientRefunds.v1.PatientRefundId;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.PatientRefundId = void 0;
|
|
7
|
+
function PatientRefundId(value) {
|
|
8
|
+
return value;
|
|
9
|
+
}
|
|
10
|
+
exports.PatientRefundId = PatientRefundId;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./PatientRefundId"), exports);
|
|
18
|
+
__exportStar(require("./PatientRefund"), exports);
|
|
@@ -49,7 +49,7 @@ class V3 {
|
|
|
49
49
|
Authorization: await this._getAuthorizationHeader(),
|
|
50
50
|
"X-Fern-Language": "JavaScript",
|
|
51
51
|
"X-Fern-SDK-Name": "candidhealth",
|
|
52
|
-
"X-Fern-SDK-Version": "0.
|
|
52
|
+
"X-Fern-SDK-Version": "0.7.1",
|
|
53
53
|
},
|
|
54
54
|
contentType: "application/json",
|
|
55
55
|
timeoutMs: 60000,
|
|
@@ -89,7 +89,7 @@ class V3 {
|
|
|
89
89
|
Authorization: await this._getAuthorizationHeader(),
|
|
90
90
|
"X-Fern-Language": "JavaScript",
|
|
91
91
|
"X-Fern-SDK-Name": "candidhealth",
|
|
92
|
-
"X-Fern-SDK-Version": "0.
|
|
92
|
+
"X-Fern-SDK-Version": "0.7.1",
|
|
93
93
|
},
|
|
94
94
|
contentType: "application/json",
|
|
95
95
|
queryParameters: _queryParams,
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as environments from "../../../../environments";
|
|
5
|
+
import * as core from "../../../../core";
|
|
6
|
+
import { V1 } from "../resources/v1/client/Client";
|
|
7
|
+
export declare namespace WriteOffs {
|
|
8
|
+
interface Options {
|
|
9
|
+
environment?: environments.CandidApiEnvironment | string;
|
|
10
|
+
token?: core.Supplier<core.BearerToken | undefined>;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
export declare class WriteOffs {
|
|
14
|
+
protected readonly options: WriteOffs.Options;
|
|
15
|
+
constructor(options: WriteOffs.Options);
|
|
16
|
+
protected _v1: V1 | undefined;
|
|
17
|
+
get v1(): V1;
|
|
18
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.WriteOffs = void 0;
|
|
7
|
+
const Client_1 = require("../resources/v1/client/Client");
|
|
8
|
+
class WriteOffs {
|
|
9
|
+
options;
|
|
10
|
+
constructor(options) {
|
|
11
|
+
this.options = options;
|
|
12
|
+
}
|
|
13
|
+
_v1;
|
|
14
|
+
get v1() {
|
|
15
|
+
return (this._v1 ??= new Client_1.V1(this.options));
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
exports.WriteOffs = WriteOffs;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./resources"), exports);
|
|
18
|
+
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as v1 from "./v1";
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.v1 = void 0;
|
|
27
|
+
exports.v1 = __importStar(require("./v1"));
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as environments from "../../../../../../environments";
|
|
5
|
+
import * as core from "../../../../../../core";
|
|
6
|
+
import * as CandidApi from "../../../../..";
|
|
7
|
+
export declare namespace V1 {
|
|
8
|
+
interface Options {
|
|
9
|
+
environment?: environments.CandidApiEnvironment | string;
|
|
10
|
+
token?: core.Supplier<core.BearerToken | undefined>;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
export declare class V1 {
|
|
14
|
+
protected readonly options: V1.Options;
|
|
15
|
+
constructor(options: V1.Options);
|
|
16
|
+
/**
|
|
17
|
+
* **This endpoint is incubating.**
|
|
18
|
+
* Retrieves a previously created write off by its `write_off_id`.
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
get(writeOffId: CandidApi.writeOffs.v1.WriteOffId): Promise<core.APIResponse<CandidApi.writeOffs.v1.WriteOff, CandidApi.writeOffs.v1.get.Error>>;
|
|
22
|
+
/**
|
|
23
|
+
* **This endpoint is incubating.**
|
|
24
|
+
* Creates one or many write-offs given a specific set of allocations.
|
|
25
|
+
* The allocations can describe whether the refund is being applied toward a specific service line,
|
|
26
|
+
* claim, or billing provider.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
create(request: CandidApi.writeOffs.v1.CreateWriteOffsRequest): Promise<core.APIResponse<CandidApi.writeOffs.v1.WriteOff[], CandidApi.writeOffs.v1.create.Error>>;
|
|
30
|
+
/**
|
|
31
|
+
* **This endpoint is incubating.**
|
|
32
|
+
* Reverts a write off given a `write_off_id`.
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
revert(writeOffId: CandidApi.writeOffs.v1.WriteOffId): Promise<core.APIResponse<CandidApi.writeOffs.v1.WriteOff, CandidApi.writeOffs.v1.revert.Error>>;
|
|
36
|
+
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
37
|
+
}
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
29
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
30
|
+
};
|
|
31
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32
|
+
exports.V1 = void 0;
|
|
33
|
+
const environments = __importStar(require("../../../../../../environments"));
|
|
34
|
+
const core = __importStar(require("../../../../../../core"));
|
|
35
|
+
const CandidApi = __importStar(require("../../../../.."));
|
|
36
|
+
const serializers = __importStar(require("../../../../../../serialization"));
|
|
37
|
+
const url_join_1 = __importDefault(require("url-join"));
|
|
38
|
+
class V1 {
|
|
39
|
+
options;
|
|
40
|
+
constructor(options) {
|
|
41
|
+
this.options = options;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* **This endpoint is incubating.**
|
|
45
|
+
* Retrieves a previously created write off by its `write_off_id`.
|
|
46
|
+
*
|
|
47
|
+
*/
|
|
48
|
+
async get(writeOffId) {
|
|
49
|
+
const _response = await core.fetcher({
|
|
50
|
+
url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, `/api/write-offs/v1/${await serializers.writeOffs.v1.WriteOffId.jsonOrThrow(writeOffId)}`),
|
|
51
|
+
method: "GET",
|
|
52
|
+
headers: {
|
|
53
|
+
Authorization: await this._getAuthorizationHeader(),
|
|
54
|
+
"X-Fern-Language": "JavaScript",
|
|
55
|
+
"X-Fern-SDK-Name": "candidhealth",
|
|
56
|
+
"X-Fern-SDK-Version": "0.7.1",
|
|
57
|
+
},
|
|
58
|
+
contentType: "application/json",
|
|
59
|
+
timeoutMs: 60000,
|
|
60
|
+
});
|
|
61
|
+
if (_response.ok) {
|
|
62
|
+
return {
|
|
63
|
+
ok: true,
|
|
64
|
+
body: await serializers.writeOffs.v1.WriteOff.parseOrThrow(_response.body, {
|
|
65
|
+
unrecognizedObjectKeys: "passthrough",
|
|
66
|
+
allowUnrecognizedUnionMembers: true,
|
|
67
|
+
allowUnrecognizedEnumValues: true,
|
|
68
|
+
breadcrumbsPrefix: ["response"],
|
|
69
|
+
}),
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
return {
|
|
73
|
+
ok: false,
|
|
74
|
+
error: CandidApi.writeOffs.v1.get.Error._unknown(_response.error),
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* **This endpoint is incubating.**
|
|
79
|
+
* Creates one or many write-offs given a specific set of allocations.
|
|
80
|
+
* The allocations can describe whether the refund is being applied toward a specific service line,
|
|
81
|
+
* claim, or billing provider.
|
|
82
|
+
*
|
|
83
|
+
*/
|
|
84
|
+
async create(request) {
|
|
85
|
+
const _response = await core.fetcher({
|
|
86
|
+
url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, "/api/write-offs/v1"),
|
|
87
|
+
method: "POST",
|
|
88
|
+
headers: {
|
|
89
|
+
Authorization: await this._getAuthorizationHeader(),
|
|
90
|
+
"X-Fern-Language": "JavaScript",
|
|
91
|
+
"X-Fern-SDK-Name": "candidhealth",
|
|
92
|
+
"X-Fern-SDK-Version": "0.7.1",
|
|
93
|
+
},
|
|
94
|
+
contentType: "application/json",
|
|
95
|
+
body: await serializers.writeOffs.v1.CreateWriteOffsRequest.jsonOrThrow(request, {
|
|
96
|
+
unrecognizedObjectKeys: "strip",
|
|
97
|
+
}),
|
|
98
|
+
timeoutMs: 60000,
|
|
99
|
+
});
|
|
100
|
+
if (_response.ok) {
|
|
101
|
+
return {
|
|
102
|
+
ok: true,
|
|
103
|
+
body: await serializers.writeOffs.v1.create.Response.parseOrThrow(_response.body, {
|
|
104
|
+
unrecognizedObjectKeys: "passthrough",
|
|
105
|
+
allowUnrecognizedUnionMembers: true,
|
|
106
|
+
allowUnrecognizedEnumValues: true,
|
|
107
|
+
breadcrumbsPrefix: ["response"],
|
|
108
|
+
}),
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
return {
|
|
112
|
+
ok: false,
|
|
113
|
+
error: CandidApi.writeOffs.v1.create.Error._unknown(_response.error),
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* **This endpoint is incubating.**
|
|
118
|
+
* Reverts a write off given a `write_off_id`.
|
|
119
|
+
*
|
|
120
|
+
*/
|
|
121
|
+
async revert(writeOffId) {
|
|
122
|
+
const _response = await core.fetcher({
|
|
123
|
+
url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, `/api/write-offs/v1/${await serializers.writeOffs.v1.WriteOffId.jsonOrThrow(writeOffId)}/revert`),
|
|
124
|
+
method: "POST",
|
|
125
|
+
headers: {
|
|
126
|
+
Authorization: await this._getAuthorizationHeader(),
|
|
127
|
+
"X-Fern-Language": "JavaScript",
|
|
128
|
+
"X-Fern-SDK-Name": "candidhealth",
|
|
129
|
+
"X-Fern-SDK-Version": "0.7.1",
|
|
130
|
+
},
|
|
131
|
+
contentType: "application/json",
|
|
132
|
+
timeoutMs: 60000,
|
|
133
|
+
});
|
|
134
|
+
if (_response.ok) {
|
|
135
|
+
return {
|
|
136
|
+
ok: true,
|
|
137
|
+
body: await serializers.writeOffs.v1.WriteOff.parseOrThrow(_response.body, {
|
|
138
|
+
unrecognizedObjectKeys: "passthrough",
|
|
139
|
+
allowUnrecognizedUnionMembers: true,
|
|
140
|
+
allowUnrecognizedEnumValues: true,
|
|
141
|
+
breadcrumbsPrefix: ["response"],
|
|
142
|
+
}),
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
return {
|
|
146
|
+
ok: false,
|
|
147
|
+
error: CandidApi.writeOffs.v1.revert.Error._unknown(_response.error),
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
async _getAuthorizationHeader() {
|
|
151
|
+
const bearer = await core.Supplier.get(this.options.token);
|
|
152
|
+
if (bearer != null) {
|
|
153
|
+
return `Bearer ${bearer}`;
|
|
154
|
+
}
|
|
155
|
+
return undefined;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
exports.V1 = V1;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../..";
|
|
5
|
+
import * as core from "../../../../../../core";
|
|
6
|
+
export declare type Error = CandidApi.writeOffs.v1.create.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface _Unknown extends _Utils {
|
|
9
|
+
errorName: void;
|
|
10
|
+
content: core.Fetcher.Error;
|
|
11
|
+
}
|
|
12
|
+
interface _Utils {
|
|
13
|
+
_visit: <_Result>(visitor: CandidApi.writeOffs.v1.create.Error._Visitor<_Result>) => _Result;
|
|
14
|
+
}
|
|
15
|
+
interface _Visitor<_Result> {
|
|
16
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export declare const Error: {
|
|
20
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.writeOffs.v1.create.Error._Unknown;
|
|
21
|
+
readonly _visit: <_Result>(value: CandidApi.writeOffs.v1.create.Error, visitor: CandidApi.writeOffs.v1.create.Error._Visitor<_Result>) => _Result;
|
|
22
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../.."));
|
|
31
|
+
exports.Error = {
|
|
32
|
+
_unknown: (fetcherError) => {
|
|
33
|
+
return {
|
|
34
|
+
errorName: undefined,
|
|
35
|
+
content: fetcherError,
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.writeOffs.v1.create.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
_visit: (value, visitor) => {
|
|
42
|
+
switch (value.errorName) {
|
|
43
|
+
default:
|
|
44
|
+
return visitor._other(value);
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../..";
|
|
5
|
+
import * as core from "../../../../../../core";
|
|
6
|
+
export declare type Error = CandidApi.writeOffs.v1.get.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface _Unknown extends _Utils {
|
|
9
|
+
errorName: void;
|
|
10
|
+
content: core.Fetcher.Error;
|
|
11
|
+
}
|
|
12
|
+
interface _Utils {
|
|
13
|
+
_visit: <_Result>(visitor: CandidApi.writeOffs.v1.get.Error._Visitor<_Result>) => _Result;
|
|
14
|
+
}
|
|
15
|
+
interface _Visitor<_Result> {
|
|
16
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export declare const Error: {
|
|
20
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.writeOffs.v1.get.Error._Unknown;
|
|
21
|
+
readonly _visit: <_Result>(value: CandidApi.writeOffs.v1.get.Error, visitor: CandidApi.writeOffs.v1.get.Error._Visitor<_Result>) => _Result;
|
|
22
|
+
};
|