candidhealth 0.13.0 → 0.14.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/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- 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/types/Encounter.d.ts +2 -2
- package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +2 -2
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/api/resources/financials/types/AccountType.d.ts +8 -0
- package/api/resources/financials/types/AccountType.js +10 -0
- package/api/resources/financials/types/AllocationAmountUpdate.d.ts +8 -0
- package/api/resources/financials/types/InvoiceUpdate.d.ts +14 -0
- package/api/resources/financials/types/NoteUpdate.d.ts +14 -0
- package/api/resources/financials/types/RefundReasonUpdate.d.ts +14 -0
- package/api/resources/financials/types/index.d.ts +5 -0
- package/api/resources/financials/types/index.js +5 -0
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/index.d.ts +1 -2
- package/api/resources/index.js +2 -3
- package/api/resources/individual/types/Subscriber.d.ts +2 -2
- package/api/resources/individual/types/SubscriberCreate.d.ts +1 -1
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/api/resources/insuranceCards/index.d.ts +1 -0
- package/api/resources/insuranceCards/index.js +17 -0
- package/api/resources/insuranceCards/resources/index.d.ts +1 -0
- package/api/resources/insuranceCards/resources/index.js +27 -0
- package/{dist/api/resources/insuranceCard → api/resources/insuranceCards/resources/v2}/types/InsuranceCard.d.ts +4 -4
- package/api/resources/{insuranceCard → insuranceCards/resources/v2}/types/InsuranceCardBase.d.ts +1 -1
- package/{dist/api/resources/insuranceCard → api/resources/insuranceCards/resources/v2}/types/InsuranceCardCreate.d.ts +2 -2
- package/api/resources/insuranceCards/resources/v2/types/InsuranceCardCreate.js +5 -0
- package/{dist/api/resources/insuranceCard → api/resources/insuranceCards/resources/v2}/types/InsuranceCardId.d.ts +3 -3
- package/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +6 -0
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +41 -4
- package/api/resources/insuranceRefunds/resources/v1/client/index.d.ts +1 -0
- package/api/resources/insuranceRefunds/resources/v1/client/index.js +2 -1
- package/api/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +11 -0
- package/api/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.js +5 -0
- package/api/resources/insuranceRefunds/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/insuranceRefunds/resources/v1/client/update.d.ts +22 -0
- package/api/resources/insuranceRefunds/resources/v1/client/update.js +47 -0
- package/api/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +2 -1
- package/api/resources/organizationProviders/resources/v2/types/LicenseType.js +1 -0
- package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/api/resources/patientPayments/resources/v4/client/Client.d.ts +5 -0
- package/api/resources/patientPayments/resources/v4/client/Client.js +40 -4
- package/api/resources/patientPayments/resources/v4/client/index.d.ts +1 -0
- package/api/resources/patientPayments/resources/v4/client/index.js +2 -1
- package/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +11 -0
- package/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.js +5 -0
- package/api/resources/patientPayments/resources/v4/client/requests/index.d.ts +1 -0
- package/api/resources/patientPayments/resources/v4/client/update.d.ts +22 -0
- package/api/resources/patientPayments/resources/v4/client/update.js +47 -0
- package/api/resources/patientRefunds/resources/v1/client/Client.d.ts +5 -0
- package/api/resources/patientRefunds/resources/v1/client/Client.js +40 -4
- package/api/resources/patientRefunds/resources/v1/client/index.d.ts +1 -0
- package/api/resources/patientRefunds/resources/v1/client/index.js +2 -1
- package/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +12 -0
- package/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.js +5 -0
- package/api/resources/patientRefunds/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/patientRefunds/resources/v1/client/update.d.ts +22 -0
- package/api/resources/patientRefunds/resources/v1/client/update.js +47 -0
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.d.ts +1 -2
- package/api/resources/writeOffs/resources/v1/client/Client.js +25 -7
- package/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +7 -0
- package/api/resources/writeOffs/resources/v1/types/InsuranceWriteOff.d.ts +15 -0
- package/api/resources/writeOffs/resources/v1/types/InsuranceWriteOff.js +5 -0
- package/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffCreate.d.ts +12 -0
- package/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffCreate.js +5 -0
- package/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.d.ts +21 -0
- package/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.js +23 -0
- package/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffTarget.d.ts +19 -0
- package/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffTarget.js +5 -0
- package/api/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +14 -0
- package/api/resources/writeOffs/resources/v1/types/PatientWriteOff.js +5 -0
- package/api/resources/writeOffs/resources/v1/types/PatientWriteOffCreate.d.ts +11 -0
- package/api/resources/writeOffs/resources/v1/types/PatientWriteOffCreate.js +5 -0
- package/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +15 -0
- package/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +17 -0
- package/api/resources/writeOffs/resources/v1/types/WriteOff.d.ts +8 -7
- package/api/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +8 -6
- package/api/resources/writeOffs/resources/v1/types/index.d.ts +7 -1
- package/api/resources/writeOffs/resources/v1/types/index.js +7 -1
- 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/contracts/resources/v2/client/Client.js +5 -5
- 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/types/Encounter.d.ts +2 -2
- package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +2 -2
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/dist/api/resources/financials/types/AccountType.d.ts +8 -0
- package/dist/api/resources/financials/types/AccountType.js +10 -0
- package/dist/api/resources/financials/types/AllocationAmountUpdate.d.ts +8 -0
- package/dist/api/resources/financials/types/AllocationAmountUpdate.js +5 -0
- package/dist/api/resources/financials/types/InvoiceUpdate.d.ts +14 -0
- package/dist/api/resources/financials/types/InvoiceUpdate.js +5 -0
- package/dist/api/resources/financials/types/NoteUpdate.d.ts +14 -0
- package/dist/api/resources/financials/types/NoteUpdate.js +5 -0
- package/dist/api/resources/financials/types/RefundReasonUpdate.d.ts +14 -0
- package/dist/api/resources/financials/types/RefundReasonUpdate.js +5 -0
- package/dist/api/resources/financials/types/index.d.ts +5 -0
- package/dist/api/resources/financials/types/index.js +5 -0
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/index.d.ts +1 -2
- package/dist/api/resources/index.js +2 -3
- package/dist/api/resources/individual/types/Subscriber.d.ts +2 -2
- package/dist/api/resources/individual/types/SubscriberCreate.d.ts +1 -1
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/insuranceCards/index.d.ts +1 -0
- package/dist/api/resources/insuranceCards/index.js +17 -0
- package/dist/api/resources/insuranceCards/resources/index.d.ts +1 -0
- package/dist/api/resources/insuranceCards/resources/index.js +27 -0
- package/{api/resources/insuranceCard → dist/api/resources/insuranceCards/resources/v2}/types/InsuranceCard.d.ts +4 -4
- package/dist/api/resources/insuranceCards/resources/v2/types/InsuranceCard.js +5 -0
- package/dist/api/resources/{insuranceCard → insuranceCards/resources/v2}/types/InsuranceCardBase.d.ts +1 -1
- package/dist/api/resources/insuranceCards/resources/v2/types/InsuranceCardBase.js +5 -0
- package/{api/resources/insuranceCard → dist/api/resources/insuranceCards/resources/v2}/types/InsuranceCardCreate.d.ts +2 -2
- package/dist/api/resources/insuranceCards/resources/v2/types/InsuranceCardCreate.js +5 -0
- package/{api/resources/insuranceCard → dist/api/resources/insuranceCards/resources/v2}/types/InsuranceCardId.d.ts +3 -3
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +6 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +41 -4
- package/dist/api/resources/insuranceRefunds/resources/v1/client/index.d.ts +1 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/client/index.js +2 -1
- package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +11 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.js +5 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/client/update.d.ts +22 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/client/update.js +47 -0
- package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +2 -1
- package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.js +1 -0
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/patientPayments/resources/v4/client/Client.d.ts +5 -0
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +40 -4
- package/dist/api/resources/patientPayments/resources/v4/client/index.d.ts +1 -0
- package/dist/api/resources/patientPayments/resources/v4/client/index.js +2 -1
- package/dist/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +11 -0
- package/dist/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.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/update.d.ts +22 -0
- package/dist/api/resources/patientPayments/resources/v4/client/update.js +47 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.d.ts +5 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +40 -4
- package/dist/api/resources/patientRefunds/resources/v1/client/index.d.ts +1 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/index.js +2 -1
- package/dist/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +12 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.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/update.d.ts +22 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/update.js +47 -0
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/writeOffs/resources/v1/client/Client.d.ts +1 -2
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +25 -7
- package/dist/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +7 -0
- package/dist/api/resources/writeOffs/resources/v1/types/InsuranceWriteOff.d.ts +15 -0
- package/dist/api/resources/writeOffs/resources/v1/types/InsuranceWriteOff.js +5 -0
- package/dist/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffCreate.d.ts +12 -0
- package/dist/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffCreate.js +5 -0
- package/dist/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.d.ts +21 -0
- package/dist/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.js +23 -0
- package/dist/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffTarget.d.ts +19 -0
- package/dist/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffTarget.js +5 -0
- package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +14 -0
- package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOff.js +5 -0
- package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOffCreate.d.ts +11 -0
- package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOffCreate.js +5 -0
- package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +15 -0
- package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +17 -0
- package/dist/api/resources/writeOffs/resources/v1/types/WriteOff.d.ts +8 -7
- package/dist/api/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +8 -6
- package/dist/api/resources/writeOffs/resources/v1/types/index.d.ts +7 -1
- package/dist/api/resources/writeOffs/resources/v1/types/index.js +7 -1
- package/{serialization/resources/insuranceCard/types/InsuranceCardId.d.ts → dist/serialization/resources/financials/types/AccountType.d.ts} +3 -3
- package/{serialization/resources/writeOffs/resources/v1/types/WriteOffReason.js → dist/serialization/resources/financials/types/AccountType.js} +3 -3
- package/dist/serialization/resources/financials/types/AllocationAmountUpdate.d.ts +13 -0
- package/dist/serialization/resources/financials/types/AllocationAmountUpdate.js +34 -0
- package/dist/serialization/resources/financials/types/InvoiceUpdate.d.ts +17 -0
- package/dist/serialization/resources/financials/types/InvoiceUpdate.js +41 -0
- package/dist/serialization/resources/financials/types/NoteUpdate.d.ts +17 -0
- package/dist/serialization/resources/financials/types/NoteUpdate.js +41 -0
- package/dist/serialization/resources/financials/types/RefundReasonUpdate.d.ts +17 -0
- package/dist/serialization/resources/financials/types/RefundReasonUpdate.js +41 -0
- package/dist/serialization/resources/financials/types/index.d.ts +5 -0
- package/dist/serialization/resources/financials/types/index.js +5 -0
- package/dist/serialization/resources/index.d.ts +1 -2
- package/dist/serialization/resources/index.js +2 -3
- package/dist/serialization/resources/individual/types/Subscriber.d.ts +1 -1
- package/dist/serialization/resources/individual/types/Subscriber.js +1 -1
- package/dist/serialization/resources/individual/types/SubscriberCreate.d.ts +1 -1
- package/dist/serialization/resources/individual/types/SubscriberCreate.js +1 -1
- package/dist/serialization/resources/insuranceCards/index.d.ts +1 -0
- package/dist/serialization/resources/insuranceCards/index.js +17 -0
- package/dist/serialization/resources/insuranceCards/resources/index.d.ts +1 -0
- package/dist/serialization/resources/insuranceCards/resources/index.js +27 -0
- package/dist/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/types/InsuranceCard.d.ts +6 -6
- package/dist/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/types/InsuranceCard.js +3 -3
- package/{serialization/resources/insuranceCard → dist/serialization/resources/insuranceCards/resources/v2}/types/InsuranceCardBase.d.ts +4 -4
- package/{serialization/resources/insuranceCard → dist/serialization/resources/insuranceCards/resources/v2}/types/InsuranceCardBase.js +3 -3
- package/dist/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/types/InsuranceCardCreate.d.ts +5 -5
- package/dist/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/types/InsuranceCardCreate.js +3 -3
- package/dist/serialization/resources/insuranceCards/resources/v2/types/InsuranceCardId.d.ts +10 -0
- package/{serialization/resources/insuranceCard → dist/serialization/resources/insuranceCards/resources/v2}/types/InsuranceCardId.js +3 -3
- package/dist/serialization/resources/insuranceRefunds/resources/v1/client/index.d.ts +1 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/client/index.js +17 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +16 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.js +39 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/client/requests/index.js +5 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/index.d.ts +1 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/index.js +1 -0
- package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
- package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +1 -0
- package/dist/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +16 -0
- package/dist/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.js +39 -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 +3 -1
- package/dist/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +17 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.js +40 -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 +3 -1
- package/dist/serialization/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.js +1 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.js +1 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOff.d.ts +20 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOff.js +41 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffCreate.d.ts +17 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffCreate.js +38 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.d.ts +10 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.js +47 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffTarget.d.ts +22 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffTarget.js +46 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +19 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.js +40 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffCreate.d.ts +16 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffCreate.js +37 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +10 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +41 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOff.d.ts +7 -8
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOff.js +8 -7
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +7 -7
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.js +8 -6
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffsPage.js +1 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/index.d.ts +7 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/index.js +7 -1
- package/package.json +1 -1
- package/{dist/serialization/resources/insuranceCard/types/InsuranceCardId.d.ts → serialization/resources/financials/types/AccountType.d.ts} +3 -3
- package/{dist/serialization/resources/writeOffs/resources/v1/types/WriteOffReason.js → serialization/resources/financials/types/AccountType.js} +3 -3
- package/serialization/resources/financials/types/AllocationAmountUpdate.d.ts +13 -0
- package/serialization/resources/financials/types/AllocationAmountUpdate.js +34 -0
- package/serialization/resources/financials/types/InvoiceUpdate.d.ts +17 -0
- package/serialization/resources/financials/types/InvoiceUpdate.js +41 -0
- package/serialization/resources/financials/types/NoteUpdate.d.ts +17 -0
- package/serialization/resources/financials/types/NoteUpdate.js +41 -0
- package/serialization/resources/financials/types/RefundReasonUpdate.d.ts +17 -0
- package/serialization/resources/financials/types/RefundReasonUpdate.js +41 -0
- package/serialization/resources/financials/types/index.d.ts +5 -0
- package/serialization/resources/financials/types/index.js +5 -0
- package/serialization/resources/index.d.ts +1 -2
- package/serialization/resources/index.js +2 -3
- package/serialization/resources/individual/types/Subscriber.d.ts +1 -1
- package/serialization/resources/individual/types/Subscriber.js +1 -1
- package/serialization/resources/individual/types/SubscriberCreate.d.ts +1 -1
- package/serialization/resources/individual/types/SubscriberCreate.js +1 -1
- package/serialization/resources/insuranceCards/index.d.ts +1 -0
- package/serialization/resources/insuranceCards/index.js +17 -0
- package/serialization/resources/insuranceCards/resources/index.d.ts +1 -0
- package/serialization/resources/insuranceCards/resources/index.js +27 -0
- package/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/types/InsuranceCard.d.ts +6 -6
- package/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/types/InsuranceCard.js +3 -3
- package/{dist/serialization/resources/insuranceCard → serialization/resources/insuranceCards/resources/v2}/types/InsuranceCardBase.d.ts +4 -4
- package/{dist/serialization/resources/insuranceCard → serialization/resources/insuranceCards/resources/v2}/types/InsuranceCardBase.js +3 -3
- package/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/types/InsuranceCardCreate.d.ts +5 -5
- package/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/types/InsuranceCardCreate.js +3 -3
- package/serialization/resources/insuranceCards/resources/v2/types/InsuranceCardId.d.ts +10 -0
- package/{dist/serialization/resources/insuranceCard → serialization/resources/insuranceCards/resources/v2}/types/InsuranceCardId.js +3 -3
- package/serialization/resources/insuranceRefunds/resources/v1/client/index.d.ts +1 -0
- package/serialization/resources/insuranceRefunds/resources/v1/client/index.js +17 -0
- package/serialization/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +16 -0
- package/serialization/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.js +39 -0
- package/serialization/resources/insuranceRefunds/resources/v1/client/requests/index.d.ts +1 -0
- package/serialization/resources/insuranceRefunds/resources/v1/client/requests/index.js +5 -0
- package/serialization/resources/insuranceRefunds/resources/v1/index.d.ts +1 -0
- package/serialization/resources/insuranceRefunds/resources/v1/index.js +1 -0
- package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
- package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +1 -0
- package/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +16 -0
- package/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.js +39 -0
- package/serialization/resources/patientPayments/resources/v4/client/requests/index.d.ts +1 -0
- package/serialization/resources/patientPayments/resources/v4/client/requests/index.js +3 -1
- package/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +17 -0
- package/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.js +40 -0
- package/serialization/resources/patientRefunds/resources/v1/client/requests/index.d.ts +1 -0
- package/serialization/resources/patientRefunds/resources/v1/client/requests/index.js +3 -1
- package/serialization/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.js +1 -1
- package/serialization/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.js +1 -1
- package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOff.d.ts +20 -0
- package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOff.js +41 -0
- package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffCreate.d.ts +17 -0
- package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffCreate.js +38 -0
- package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.d.ts +10 -0
- package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.js +47 -0
- package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffTarget.d.ts +22 -0
- package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffTarget.js +46 -0
- package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +19 -0
- package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.js +40 -0
- package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffCreate.d.ts +16 -0
- package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffCreate.js +37 -0
- package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +10 -0
- package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +41 -0
- package/serialization/resources/writeOffs/resources/v1/types/WriteOff.d.ts +7 -8
- package/serialization/resources/writeOffs/resources/v1/types/WriteOff.js +8 -7
- package/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +7 -7
- package/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.js +8 -6
- package/serialization/resources/writeOffs/resources/v1/types/WriteOffsPage.js +1 -1
- package/serialization/resources/writeOffs/resources/v1/types/index.d.ts +7 -1
- package/serialization/resources/writeOffs/resources/v1/types/index.js +7 -1
- package/api/resources/writeOffs/resources/v1/types/WriteOffReason.d.ts +0 -10
- package/api/resources/writeOffs/resources/v1/types/WriteOffReason.js +0 -12
- package/dist/api/resources/writeOffs/resources/v1/types/WriteOffReason.d.ts +0 -10
- package/dist/api/resources/writeOffs/resources/v1/types/WriteOffReason.js +0 -12
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffReason.d.ts +0 -10
- package/serialization/resources/writeOffs/resources/v1/types/WriteOffReason.d.ts +0 -10
- /package/api/resources/{insuranceCard/types/InsuranceCard.js → financials/types/AllocationAmountUpdate.js} +0 -0
- /package/api/resources/{insuranceCard/types/InsuranceCardBase.js → financials/types/InvoiceUpdate.js} +0 -0
- /package/api/resources/{insuranceCard/types/InsuranceCardCreate.js → financials/types/NoteUpdate.js} +0 -0
- /package/{dist/api/resources/insuranceCard/types/InsuranceCard.js → api/resources/financials/types/RefundReasonUpdate.js} +0 -0
- /package/api/resources/{insuranceCard → insuranceCards/resources/v2}/index.d.ts +0 -0
- /package/api/resources/{insuranceCard → insuranceCards/resources/v2}/index.js +0 -0
- /package/{dist/api/resources/insuranceCard/types/InsuranceCardBase.js → api/resources/insuranceCards/resources/v2/types/InsuranceCard.js} +0 -0
- /package/{dist/api/resources/insuranceCard/types/InsuranceCardCreate.js → api/resources/insuranceCards/resources/v2/types/InsuranceCardBase.js} +0 -0
- /package/api/resources/{insuranceCard → insuranceCards/resources/v2}/types/InsuranceCardId.js +0 -0
- /package/api/resources/{insuranceCard → insuranceCards/resources/v2}/types/index.d.ts +0 -0
- /package/api/resources/{insuranceCard → insuranceCards/resources/v2}/types/index.js +0 -0
- /package/dist/api/resources/{insuranceCard → insuranceCards/resources/v2}/index.d.ts +0 -0
- /package/dist/api/resources/{insuranceCard → insuranceCards/resources/v2}/index.js +0 -0
- /package/dist/api/resources/{insuranceCard → insuranceCards/resources/v2}/types/InsuranceCardId.js +0 -0
- /package/dist/api/resources/{insuranceCard → insuranceCards/resources/v2}/types/index.d.ts +0 -0
- /package/dist/api/resources/{insuranceCard → insuranceCards/resources/v2}/types/index.js +0 -0
- /package/dist/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/index.d.ts +0 -0
- /package/dist/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/index.js +0 -0
- /package/dist/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/types/index.d.ts +0 -0
- /package/dist/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/types/index.js +0 -0
- /package/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/index.d.ts +0 -0
- /package/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/index.js +0 -0
- /package/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/types/index.d.ts +0 -0
- /package/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/types/index.js +0 -0
|
@@ -42,12 +42,11 @@ class V1 {
|
|
|
42
42
|
this.options = options;
|
|
43
43
|
}
|
|
44
44
|
/**
|
|
45
|
-
* Returns all write-offs satisfying the search criteria
|
|
46
|
-
* the current organization_id of the authenticated user.
|
|
45
|
+
* Returns all write-offs satisfying the search criteria.
|
|
47
46
|
*
|
|
48
47
|
*/
|
|
49
48
|
async getMulti(request = {}) {
|
|
50
|
-
const { limit, patientExternalId, serviceLineId, sort, sortDirection, pageToken } = request;
|
|
49
|
+
const { limit, patientExternalId, payerUuid, serviceLineId, claimId, billingProviderId, sort, sortDirection, pageToken, accountTypes, } = request;
|
|
51
50
|
const _queryParams = new url_search_params_1.default();
|
|
52
51
|
if (limit != null) {
|
|
53
52
|
_queryParams.append("limit", limit.toString());
|
|
@@ -55,9 +54,18 @@ class V1 {
|
|
|
55
54
|
if (patientExternalId != null) {
|
|
56
55
|
_queryParams.append("patient_external_id", patientExternalId);
|
|
57
56
|
}
|
|
57
|
+
if (payerUuid != null) {
|
|
58
|
+
_queryParams.append("payer_uuid", payerUuid);
|
|
59
|
+
}
|
|
58
60
|
if (serviceLineId != null) {
|
|
59
61
|
_queryParams.append("service_line_id", serviceLineId);
|
|
60
62
|
}
|
|
63
|
+
if (claimId != null) {
|
|
64
|
+
_queryParams.append("claim_id", claimId);
|
|
65
|
+
}
|
|
66
|
+
if (billingProviderId != null) {
|
|
67
|
+
_queryParams.append("billing_provider_id", billingProviderId);
|
|
68
|
+
}
|
|
61
69
|
if (sort != null) {
|
|
62
70
|
_queryParams.append("sort", sort);
|
|
63
71
|
}
|
|
@@ -67,6 +75,16 @@ class V1 {
|
|
|
67
75
|
if (pageToken != null) {
|
|
68
76
|
_queryParams.append("page_token", pageToken);
|
|
69
77
|
}
|
|
78
|
+
if (accountTypes != null) {
|
|
79
|
+
if (Array.isArray(accountTypes)) {
|
|
80
|
+
for (const _item of accountTypes) {
|
|
81
|
+
_queryParams.append("account_types", _item);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
else {
|
|
85
|
+
_queryParams.append("account_types", accountTypes);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
70
88
|
const _response = await core.fetcher({
|
|
71
89
|
url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, "/api/write-offs/v1"),
|
|
72
90
|
method: "GET",
|
|
@@ -74,7 +92,7 @@ class V1 {
|
|
|
74
92
|
Authorization: await this._getAuthorizationHeader(),
|
|
75
93
|
"X-Fern-Language": "JavaScript",
|
|
76
94
|
"X-Fern-SDK-Name": "candidhealth",
|
|
77
|
-
"X-Fern-SDK-Version": "0.
|
|
95
|
+
"X-Fern-SDK-Version": "0.14.1",
|
|
78
96
|
},
|
|
79
97
|
contentType: "application/json",
|
|
80
98
|
queryParameters: _queryParams,
|
|
@@ -108,7 +126,7 @@ class V1 {
|
|
|
108
126
|
Authorization: await this._getAuthorizationHeader(),
|
|
109
127
|
"X-Fern-Language": "JavaScript",
|
|
110
128
|
"X-Fern-SDK-Name": "candidhealth",
|
|
111
|
-
"X-Fern-SDK-Version": "0.
|
|
129
|
+
"X-Fern-SDK-Version": "0.14.1",
|
|
112
130
|
},
|
|
113
131
|
contentType: "application/json",
|
|
114
132
|
timeoutMs: 60000,
|
|
@@ -143,7 +161,7 @@ class V1 {
|
|
|
143
161
|
Authorization: await this._getAuthorizationHeader(),
|
|
144
162
|
"X-Fern-Language": "JavaScript",
|
|
145
163
|
"X-Fern-SDK-Name": "candidhealth",
|
|
146
|
-
"X-Fern-SDK-Version": "0.
|
|
164
|
+
"X-Fern-SDK-Version": "0.14.1",
|
|
147
165
|
},
|
|
148
166
|
contentType: "application/json",
|
|
149
167
|
body: await serializers.writeOffs.v1.CreateWriteOffsRequest.jsonOrThrow(request, {
|
|
@@ -179,7 +197,7 @@ class V1 {
|
|
|
179
197
|
Authorization: await this._getAuthorizationHeader(),
|
|
180
198
|
"X-Fern-Language": "JavaScript",
|
|
181
199
|
"X-Fern-SDK-Name": "candidhealth",
|
|
182
|
-
"X-Fern-SDK-Version": "0.
|
|
200
|
+
"X-Fern-SDK-Version": "0.14.1",
|
|
183
201
|
},
|
|
184
202
|
contentType: "application/json",
|
|
185
203
|
timeoutMs: 60000,
|
package/dist/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts
CHANGED
|
@@ -8,7 +8,10 @@ export interface GetMultiWriteOffsRequest {
|
|
|
8
8
|
*/
|
|
9
9
|
limit?: number;
|
|
10
10
|
patientExternalId?: CandidApi.PatientExternalId;
|
|
11
|
+
payerUuid?: CandidApi.payers.v3.PayerUuid;
|
|
11
12
|
serviceLineId?: CandidApi.ServiceLineId;
|
|
13
|
+
claimId?: CandidApi.ClaimId;
|
|
14
|
+
billingProviderId?: CandidApi.ProviderId;
|
|
12
15
|
/**
|
|
13
16
|
* Defaults to write_off_timestamp
|
|
14
17
|
*/
|
|
@@ -18,4 +21,8 @@ export interface GetMultiWriteOffsRequest {
|
|
|
18
21
|
*/
|
|
19
22
|
sortDirection?: CandidApi.SortDirection;
|
|
20
23
|
pageToken?: CandidApi.PageToken;
|
|
24
|
+
/**
|
|
25
|
+
* Filters the returned values to include only the provided account types.
|
|
26
|
+
*/
|
|
27
|
+
accountTypes?: CandidApi.AccountType | CandidApi.AccountType[];
|
|
21
28
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../..";
|
|
5
|
+
export interface InsuranceWriteOff {
|
|
6
|
+
writeOffId: CandidApi.writeOffs.v1.WriteOffId;
|
|
7
|
+
payer: CandidApi.payers.v3.Payer;
|
|
8
|
+
writeOffTarget: CandidApi.writeOffs.v1.InsuranceWriteOffTarget;
|
|
9
|
+
writeOffTimestamp: Date;
|
|
10
|
+
writeOffNote?: string;
|
|
11
|
+
writeOffReason: CandidApi.writeOffs.v1.InsuranceWriteOffReason;
|
|
12
|
+
revertsWriteOffId?: CandidApi.writeOffs.v1.WriteOffId;
|
|
13
|
+
revertedByWriteOffId?: CandidApi.writeOffs.v1.WriteOffId;
|
|
14
|
+
amountCents: number;
|
|
15
|
+
}
|
|
@@ -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 InsuranceWriteOffCreate {
|
|
6
|
+
payerIdentifier: CandidApi.payers.v3.PayerIdentifier;
|
|
7
|
+
writeOffTarget: CandidApi.writeOffs.v1.InsuranceWriteOffTarget;
|
|
8
|
+
writeOffTimestamp: Date;
|
|
9
|
+
writeOffNote?: string;
|
|
10
|
+
writeOffReason: CandidApi.writeOffs.v1.InsuranceWriteOffReason;
|
|
11
|
+
amountCents: number;
|
|
12
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export declare type InsuranceWriteOffReason = "SMALL_BALANCE" | "NO_AUTHORIZATION_REFERRAL" | "TIMELY_FILING" | "STALE_DATE" | "TIMELY_FILING_LATE_ENCOUNTER" | "CREDENTIALING_OR_CONTRACTING" | "NON_COVERED_MAX_BENEFIT" | "NOT_MEDICALLY_NECESSARY" | "BUNDLED_OR_INCLUSIVE" | "UNCOLLECTIBLE_OR_NON_BILLABLE" | "EFFORTS_EXHAUSTED" | "ADMINISTRATIVE_WRITE_OFF" | "CASE_RATE_OR_CAPITATED" | "OTHER" | "UNKNOWN";
|
|
5
|
+
export declare const InsuranceWriteOffReason: {
|
|
6
|
+
readonly SmallBalance: "SMALL_BALANCE";
|
|
7
|
+
readonly NoAuthorizationReferral: "NO_AUTHORIZATION_REFERRAL";
|
|
8
|
+
readonly TimelyFiling: "TIMELY_FILING";
|
|
9
|
+
readonly StaleDate: "STALE_DATE";
|
|
10
|
+
readonly TimelyFilingLateEncounter: "TIMELY_FILING_LATE_ENCOUNTER";
|
|
11
|
+
readonly CredentialingOrContracting: "CREDENTIALING_OR_CONTRACTING";
|
|
12
|
+
readonly NonCoveredMaxBenefit: "NON_COVERED_MAX_BENEFIT";
|
|
13
|
+
readonly NotMedicallyNecessary: "NOT_MEDICALLY_NECESSARY";
|
|
14
|
+
readonly BundledOrInclusive: "BUNDLED_OR_INCLUSIVE";
|
|
15
|
+
readonly UncollectibleOrNonBillable: "UNCOLLECTIBLE_OR_NON_BILLABLE";
|
|
16
|
+
readonly EffortsExhausted: "EFFORTS_EXHAUSTED";
|
|
17
|
+
readonly AdministrativeWriteOff: "ADMINISTRATIVE_WRITE_OFF";
|
|
18
|
+
readonly CaseRateOrCapitated: "CASE_RATE_OR_CAPITATED";
|
|
19
|
+
readonly Other: "OTHER";
|
|
20
|
+
readonly Unknown: "UNKNOWN";
|
|
21
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
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.InsuranceWriteOffReason = void 0;
|
|
7
|
+
exports.InsuranceWriteOffReason = {
|
|
8
|
+
SmallBalance: "SMALL_BALANCE",
|
|
9
|
+
NoAuthorizationReferral: "NO_AUTHORIZATION_REFERRAL",
|
|
10
|
+
TimelyFiling: "TIMELY_FILING",
|
|
11
|
+
StaleDate: "STALE_DATE",
|
|
12
|
+
TimelyFilingLateEncounter: "TIMELY_FILING_LATE_ENCOUNTER",
|
|
13
|
+
CredentialingOrContracting: "CREDENTIALING_OR_CONTRACTING",
|
|
14
|
+
NonCoveredMaxBenefit: "NON_COVERED_MAX_BENEFIT",
|
|
15
|
+
NotMedicallyNecessary: "NOT_MEDICALLY_NECESSARY",
|
|
16
|
+
BundledOrInclusive: "BUNDLED_OR_INCLUSIVE",
|
|
17
|
+
UncollectibleOrNonBillable: "UNCOLLECTIBLE_OR_NON_BILLABLE",
|
|
18
|
+
EffortsExhausted: "EFFORTS_EXHAUSTED",
|
|
19
|
+
AdministrativeWriteOff: "ADMINISTRATIVE_WRITE_OFF",
|
|
20
|
+
CaseRateOrCapitated: "CASE_RATE_OR_CAPITATED",
|
|
21
|
+
Other: "OTHER",
|
|
22
|
+
Unknown: "UNKNOWN",
|
|
23
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../..";
|
|
5
|
+
export declare type InsuranceWriteOffTarget = CandidApi.writeOffs.v1.InsuranceWriteOffTarget.ServiceLineId | CandidApi.writeOffs.v1.InsuranceWriteOffTarget.ClaimId | CandidApi.writeOffs.v1.InsuranceWriteOffTarget.BillingProviderId;
|
|
6
|
+
export declare namespace InsuranceWriteOffTarget {
|
|
7
|
+
interface ServiceLineId {
|
|
8
|
+
type: "service_line_id";
|
|
9
|
+
value: CandidApi.ServiceLineId;
|
|
10
|
+
}
|
|
11
|
+
interface ClaimId {
|
|
12
|
+
type: "claim_id";
|
|
13
|
+
value: CandidApi.ClaimId;
|
|
14
|
+
}
|
|
15
|
+
interface BillingProviderId {
|
|
16
|
+
type: "billing_provider_id";
|
|
17
|
+
value: CandidApi.ProviderId;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -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 PatientWriteOff {
|
|
6
|
+
writeOffId: CandidApi.writeOffs.v1.WriteOffId;
|
|
7
|
+
writeOffTimestamp: Date;
|
|
8
|
+
writeOffNote?: string;
|
|
9
|
+
writeOffReason: CandidApi.writeOffs.v1.PatientWriteOffReason;
|
|
10
|
+
serviceLineId: CandidApi.ServiceLineId;
|
|
11
|
+
revertsWriteOffId?: CandidApi.writeOffs.v1.WriteOffId;
|
|
12
|
+
revertedByWriteOffId?: CandidApi.writeOffs.v1.WriteOffId;
|
|
13
|
+
amountCents: number;
|
|
14
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../..";
|
|
5
|
+
export interface PatientWriteOffCreate {
|
|
6
|
+
writeOffTimestamp: Date;
|
|
7
|
+
writeOffNote?: string;
|
|
8
|
+
writeOffReason: CandidApi.writeOffs.v1.PatientWriteOffReason;
|
|
9
|
+
serviceLineId: CandidApi.ServiceLineId;
|
|
10
|
+
amountCents: number;
|
|
11
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export declare type PatientWriteOffReason = "SMALL_BALANCE" | "CHARITY_OR_FINANCIAL_ASSISTANCE" | "PATIENT_EXPERIENCE_OR_SERVICE_RECOVERY" | "OON_COURTESY_ADJUSTMENT" | "PROMPT_PAY_DISCOUNT" | "BAD_DEBT" | "COLLECTION_AGENCY" | "OTHER" | "UNKNOWN";
|
|
5
|
+
export declare const PatientWriteOffReason: {
|
|
6
|
+
readonly SmallBalance: "SMALL_BALANCE";
|
|
7
|
+
readonly CharityOrFinancialAssistance: "CHARITY_OR_FINANCIAL_ASSISTANCE";
|
|
8
|
+
readonly PatientExperienceOrServiceRecovery: "PATIENT_EXPERIENCE_OR_SERVICE_RECOVERY";
|
|
9
|
+
readonly OonCourtesyAdjustment: "OON_COURTESY_ADJUSTMENT";
|
|
10
|
+
readonly PromptPayDiscount: "PROMPT_PAY_DISCOUNT";
|
|
11
|
+
readonly BadDebt: "BAD_DEBT";
|
|
12
|
+
readonly CollectionAgency: "COLLECTION_AGENCY";
|
|
13
|
+
readonly Other: "OTHER";
|
|
14
|
+
readonly Unknown: "UNKNOWN";
|
|
15
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
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.PatientWriteOffReason = void 0;
|
|
7
|
+
exports.PatientWriteOffReason = {
|
|
8
|
+
SmallBalance: "SMALL_BALANCE",
|
|
9
|
+
CharityOrFinancialAssistance: "CHARITY_OR_FINANCIAL_ASSISTANCE",
|
|
10
|
+
PatientExperienceOrServiceRecovery: "PATIENT_EXPERIENCE_OR_SERVICE_RECOVERY",
|
|
11
|
+
OonCourtesyAdjustment: "OON_COURTESY_ADJUSTMENT",
|
|
12
|
+
PromptPayDiscount: "PROMPT_PAY_DISCOUNT",
|
|
13
|
+
BadDebt: "BAD_DEBT",
|
|
14
|
+
CollectionAgency: "COLLECTION_AGENCY",
|
|
15
|
+
Other: "OTHER",
|
|
16
|
+
Unknown: "UNKNOWN",
|
|
17
|
+
};
|
|
@@ -2,11 +2,12 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../../../..";
|
|
5
|
-
export
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
5
|
+
export declare type WriteOff = CandidApi.writeOffs.v1.WriteOff.Patient | CandidApi.writeOffs.v1.WriteOff.Insurance;
|
|
6
|
+
export declare namespace WriteOff {
|
|
7
|
+
interface Patient extends CandidApi.writeOffs.v1.PatientWriteOff {
|
|
8
|
+
type: "patient";
|
|
9
|
+
}
|
|
10
|
+
interface Insurance extends CandidApi.writeOffs.v1.InsuranceWriteOff {
|
|
11
|
+
type: "insurance";
|
|
12
|
+
}
|
|
12
13
|
}
|
|
@@ -2,10 +2,12 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../../../..";
|
|
5
|
-
export
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
export declare type WriteOffCreate = CandidApi.writeOffs.v1.WriteOffCreate.Patient | CandidApi.writeOffs.v1.WriteOffCreate.Insurance;
|
|
6
|
+
export declare namespace WriteOffCreate {
|
|
7
|
+
interface Patient extends CandidApi.writeOffs.v1.PatientWriteOffCreate {
|
|
8
|
+
type: "patient";
|
|
9
|
+
}
|
|
10
|
+
interface Insurance extends CandidApi.writeOffs.v1.InsuranceWriteOffCreate {
|
|
11
|
+
type: "insurance";
|
|
12
|
+
}
|
|
11
13
|
}
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
export * from "./WriteOffId";
|
|
2
2
|
export * from "./WriteOff";
|
|
3
3
|
export * from "./WriteOffCreate";
|
|
4
|
-
export * from "./
|
|
4
|
+
export * from "./PatientWriteOffReason";
|
|
5
|
+
export * from "./PatientWriteOff";
|
|
6
|
+
export * from "./PatientWriteOffCreate";
|
|
7
|
+
export * from "./InsuranceWriteOff";
|
|
8
|
+
export * from "./InsuranceWriteOffCreate";
|
|
9
|
+
export * from "./InsuranceWriteOffTarget";
|
|
10
|
+
export * from "./InsuranceWriteOffReason";
|
|
5
11
|
export * from "./CreateWriteOffsResponse";
|
|
6
12
|
export * from "./WriteOffsPage";
|
|
7
13
|
export * from "./WriteOffSortField";
|
|
@@ -17,7 +17,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./WriteOffId"), exports);
|
|
18
18
|
__exportStar(require("./WriteOff"), exports);
|
|
19
19
|
__exportStar(require("./WriteOffCreate"), exports);
|
|
20
|
-
__exportStar(require("./
|
|
20
|
+
__exportStar(require("./PatientWriteOffReason"), exports);
|
|
21
|
+
__exportStar(require("./PatientWriteOff"), exports);
|
|
22
|
+
__exportStar(require("./PatientWriteOffCreate"), exports);
|
|
23
|
+
__exportStar(require("./InsuranceWriteOff"), exports);
|
|
24
|
+
__exportStar(require("./InsuranceWriteOffCreate"), exports);
|
|
25
|
+
__exportStar(require("./InsuranceWriteOffTarget"), exports);
|
|
26
|
+
__exportStar(require("./InsuranceWriteOffReason"), exports);
|
|
21
27
|
__exportStar(require("./CreateWriteOffsResponse"), exports);
|
|
22
28
|
__exportStar(require("./WriteOffsPage"), exports);
|
|
23
29
|
__exportStar(require("./WriteOffSortField"), exports);
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import * as serializers from "../../..";
|
|
5
5
|
import * as CandidApi from "../../../../api";
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
|
-
export declare const
|
|
8
|
-
export declare namespace
|
|
9
|
-
type Raw =
|
|
7
|
+
export declare const AccountType: core.serialization.Schema<serializers.AccountType.Raw, CandidApi.AccountType>;
|
|
8
|
+
export declare namespace AccountType {
|
|
9
|
+
type Raw = "PATIENT" | "INSURANCE";
|
|
10
10
|
}
|
|
@@ -26,6 +26,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
30
|
-
const core = __importStar(require("
|
|
31
|
-
exports.
|
|
29
|
+
exports.AccountType = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.AccountType = core.serialization.enum_(["PATIENT", "INSURANCE"]);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../..";
|
|
5
|
+
import * as CandidApi from "../../../../api";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const AllocationAmountUpdate: core.serialization.ObjectSchema<serializers.AllocationAmountUpdate.Raw, CandidApi.AllocationAmountUpdate>;
|
|
8
|
+
export declare namespace AllocationAmountUpdate {
|
|
9
|
+
interface Raw {
|
|
10
|
+
amount_cents?: number | null;
|
|
11
|
+
allocations: serializers.AllocationCreate.Raw[];
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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.AllocationAmountUpdate = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.AllocationAmountUpdate = core.serialization.object({
|
|
32
|
+
amountCents: core.serialization.property("amount_cents", core.serialization.number().optional()),
|
|
33
|
+
allocations: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).AllocationCreate)),
|
|
34
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../..";
|
|
5
|
+
import * as CandidApi from "../../../../api";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const InvoiceUpdate: core.serialization.Schema<serializers.InvoiceUpdate.Raw, CandidApi.InvoiceUpdate>;
|
|
8
|
+
export declare namespace InvoiceUpdate {
|
|
9
|
+
type Raw = InvoiceUpdate.Set | InvoiceUpdate.Remove;
|
|
10
|
+
interface Set {
|
|
11
|
+
type: "set";
|
|
12
|
+
value: serializers.InvoiceId.Raw;
|
|
13
|
+
}
|
|
14
|
+
interface Remove {
|
|
15
|
+
type: "remove";
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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.InvoiceUpdate = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.InvoiceUpdate = core.serialization
|
|
32
|
+
.union("type", {
|
|
33
|
+
set: core.serialization.object({
|
|
34
|
+
value: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).InvoiceId),
|
|
35
|
+
}),
|
|
36
|
+
remove: core.serialization.object({}),
|
|
37
|
+
})
|
|
38
|
+
.transform({
|
|
39
|
+
transform: (value) => value,
|
|
40
|
+
untransform: (value) => value,
|
|
41
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../..";
|
|
5
|
+
import * as CandidApi from "../../../../api";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const NoteUpdate: core.serialization.Schema<serializers.NoteUpdate.Raw, CandidApi.NoteUpdate>;
|
|
8
|
+
export declare namespace NoteUpdate {
|
|
9
|
+
type Raw = NoteUpdate.Set | NoteUpdate.Remove;
|
|
10
|
+
interface Set {
|
|
11
|
+
type: "set";
|
|
12
|
+
value: string;
|
|
13
|
+
}
|
|
14
|
+
interface Remove {
|
|
15
|
+
type: "remove";
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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.NoteUpdate = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.NoteUpdate = core.serialization
|
|
32
|
+
.union("type", {
|
|
33
|
+
set: core.serialization.object({
|
|
34
|
+
value: core.serialization.string(),
|
|
35
|
+
}),
|
|
36
|
+
remove: core.serialization.object({}),
|
|
37
|
+
})
|
|
38
|
+
.transform({
|
|
39
|
+
transform: (value) => value,
|
|
40
|
+
untransform: (value) => value,
|
|
41
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../..";
|
|
5
|
+
import * as CandidApi from "../../../../api";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const RefundReasonUpdate: core.serialization.Schema<serializers.RefundReasonUpdate.Raw, CandidApi.RefundReasonUpdate>;
|
|
8
|
+
export declare namespace RefundReasonUpdate {
|
|
9
|
+
type Raw = RefundReasonUpdate.Set | RefundReasonUpdate.Remove;
|
|
10
|
+
interface Set {
|
|
11
|
+
type: "set";
|
|
12
|
+
value: serializers.RefundReason.Raw;
|
|
13
|
+
}
|
|
14
|
+
interface Remove {
|
|
15
|
+
type: "remove";
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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.RefundReasonUpdate = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.RefundReasonUpdate = core.serialization
|
|
32
|
+
.union("type", {
|
|
33
|
+
set: core.serialization.object({
|
|
34
|
+
value: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).RefundReason),
|
|
35
|
+
}),
|
|
36
|
+
remove: core.serialization.object({}),
|
|
37
|
+
})
|
|
38
|
+
.transform({
|
|
39
|
+
transform: (value) => value,
|
|
40
|
+
untransform: (value) => value,
|
|
41
|
+
});
|
|
@@ -4,3 +4,8 @@ export * from "./Allocation";
|
|
|
4
4
|
export * from "./AllocationTarget";
|
|
5
5
|
export * from "./AllocationCreate";
|
|
6
6
|
export * from "./AllocationTargetCreate";
|
|
7
|
+
export * from "./AccountType";
|
|
8
|
+
export * from "./AllocationAmountUpdate";
|
|
9
|
+
export * from "./NoteUpdate";
|
|
10
|
+
export * from "./InvoiceUpdate";
|
|
11
|
+
export * from "./RefundReasonUpdate";
|