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
|
@@ -68,7 +68,7 @@ class V3 {
|
|
|
68
68
|
Authorization: await this._getAuthorizationHeader(),
|
|
69
69
|
"X-Fern-Language": "JavaScript",
|
|
70
70
|
"X-Fern-SDK-Name": "candidhealth",
|
|
71
|
-
"X-Fern-SDK-Version": "0.
|
|
71
|
+
"X-Fern-SDK-Version": "0.14.1",
|
|
72
72
|
},
|
|
73
73
|
contentType: "application/json",
|
|
74
74
|
queryParameters: _queryParams,
|
|
@@ -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.AccountType = void 0;
|
|
7
|
+
exports.AccountType = {
|
|
8
|
+
Patient: "PATIENT",
|
|
9
|
+
Insurance: "INSURANCE",
|
|
10
|
+
};
|
|
@@ -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 declare type InvoiceUpdate = CandidApi.InvoiceUpdate.Set | CandidApi.InvoiceUpdate.Remove;
|
|
6
|
+
export declare namespace InvoiceUpdate {
|
|
7
|
+
interface Set {
|
|
8
|
+
type: "set";
|
|
9
|
+
value: CandidApi.InvoiceId;
|
|
10
|
+
}
|
|
11
|
+
interface Remove {
|
|
12
|
+
type: "remove";
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -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 declare type NoteUpdate = CandidApi.NoteUpdate.Set | CandidApi.NoteUpdate.Remove;
|
|
6
|
+
export declare namespace NoteUpdate {
|
|
7
|
+
interface Set {
|
|
8
|
+
type: "set";
|
|
9
|
+
value: string;
|
|
10
|
+
}
|
|
11
|
+
interface Remove {
|
|
12
|
+
type: "remove";
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -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 declare type RefundReasonUpdate = CandidApi.RefundReasonUpdate.Set | CandidApi.RefundReasonUpdate.Remove;
|
|
6
|
+
export declare namespace RefundReasonUpdate {
|
|
7
|
+
interface Set {
|
|
8
|
+
type: "set";
|
|
9
|
+
value: CandidApi.RefundReason;
|
|
10
|
+
}
|
|
11
|
+
interface Remove {
|
|
12
|
+
type: "remove";
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -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";
|
|
@@ -20,3 +20,8 @@ __exportStar(require("./Allocation"), exports);
|
|
|
20
20
|
__exportStar(require("./AllocationTarget"), exports);
|
|
21
21
|
__exportStar(require("./AllocationCreate"), exports);
|
|
22
22
|
__exportStar(require("./AllocationTargetCreate"), exports);
|
|
23
|
+
__exportStar(require("./AccountType"), exports);
|
|
24
|
+
__exportStar(require("./AllocationAmountUpdate"), exports);
|
|
25
|
+
__exportStar(require("./NoteUpdate"), exports);
|
|
26
|
+
__exportStar(require("./InvoiceUpdate"), exports);
|
|
27
|
+
__exportStar(require("./RefundReasonUpdate"), exports);
|
|
@@ -52,7 +52,7 @@ class V1 {
|
|
|
52
52
|
Authorization: await this._getAuthorizationHeader(),
|
|
53
53
|
"X-Fern-Language": "JavaScript",
|
|
54
54
|
"X-Fern-SDK-Name": "candidhealth",
|
|
55
|
-
"X-Fern-SDK-Version": "0.
|
|
55
|
+
"X-Fern-SDK-Version": "0.14.1",
|
|
56
56
|
},
|
|
57
57
|
contentType: "application/json",
|
|
58
58
|
body: await serializers.guarantor.v1.GuarantorCreate.jsonOrThrow(request, {
|
|
@@ -102,7 +102,7 @@ class V1 {
|
|
|
102
102
|
Authorization: await this._getAuthorizationHeader(),
|
|
103
103
|
"X-Fern-Language": "JavaScript",
|
|
104
104
|
"X-Fern-SDK-Name": "candidhealth",
|
|
105
|
-
"X-Fern-SDK-Version": "0.
|
|
105
|
+
"X-Fern-SDK-Version": "0.14.1",
|
|
106
106
|
},
|
|
107
107
|
contentType: "application/json",
|
|
108
108
|
timeoutMs: 60000,
|
|
@@ -135,7 +135,7 @@ class V1 {
|
|
|
135
135
|
Authorization: await this._getAuthorizationHeader(),
|
|
136
136
|
"X-Fern-Language": "JavaScript",
|
|
137
137
|
"X-Fern-SDK-Name": "candidhealth",
|
|
138
|
-
"X-Fern-SDK-Version": "0.
|
|
138
|
+
"X-Fern-SDK-Version": "0.14.1",
|
|
139
139
|
},
|
|
140
140
|
contentType: "application/json",
|
|
141
141
|
body: await serializers.guarantor.v1.GuarantorUpdate.jsonOrThrow(request, {
|
|
@@ -8,6 +8,7 @@ export * as expectedNetworkStatus from "./expectedNetworkStatus";
|
|
|
8
8
|
export * as exports from "./exports";
|
|
9
9
|
export * as guarantor from "./guarantor";
|
|
10
10
|
export * as insuranceAdjudications from "./insuranceAdjudications";
|
|
11
|
+
export * as insuranceCards from "./insuranceCards";
|
|
11
12
|
export * as insuranceRefunds from "./insuranceRefunds";
|
|
12
13
|
export * as organizationServiceFacilities from "./organizationServiceFacilities";
|
|
13
14
|
export * as organizationProviders from "./organizationProviders";
|
|
@@ -33,8 +34,6 @@ export * as identifiers from "./identifiers";
|
|
|
33
34
|
export * from "./identifiers/types";
|
|
34
35
|
export * as individual from "./individual";
|
|
35
36
|
export * from "./individual/types";
|
|
36
|
-
export * as insuranceCard from "./insuranceCard";
|
|
37
|
-
export * from "./insuranceCard/types";
|
|
38
37
|
export * as invoices from "./invoices";
|
|
39
38
|
export * from "./invoices/types";
|
|
40
39
|
export * as serviceFacility from "./serviceFacility";
|
|
@@ -26,7 +26,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
26
26
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.eligibility = exports.tags = exports.serviceFacility = exports.invoices = exports.
|
|
29
|
+
exports.eligibility = exports.tags = exports.serviceFacility = exports.invoices = exports.individual = exports.identifiers = exports.financials = exports.era = exports.diagnoses = exports.commons = exports.claims = exports.x12 = exports.writeOffs = exports.tasks = exports.serviceLines = exports.remits = exports.payers = exports.patientRefunds = exports.patientPayments = exports.organizationProviders = exports.organizationServiceFacilities = exports.insuranceRefunds = exports.insuranceCards = exports.insuranceAdjudications = exports.guarantor = exports.exports = exports.expectedNetworkStatus = exports.encounters = exports.encounterProviders = exports.contracts = exports.claimSubmission = exports.billingNotes = exports.auth = void 0;
|
|
30
30
|
exports.auth = __importStar(require("./auth"));
|
|
31
31
|
exports.billingNotes = __importStar(require("./billingNotes"));
|
|
32
32
|
exports.claimSubmission = __importStar(require("./claimSubmission"));
|
|
@@ -37,6 +37,7 @@ exports.expectedNetworkStatus = __importStar(require("./expectedNetworkStatus"))
|
|
|
37
37
|
exports.exports = __importStar(require("./exports"));
|
|
38
38
|
exports.guarantor = __importStar(require("./guarantor"));
|
|
39
39
|
exports.insuranceAdjudications = __importStar(require("./insuranceAdjudications"));
|
|
40
|
+
exports.insuranceCards = __importStar(require("./insuranceCards"));
|
|
40
41
|
exports.insuranceRefunds = __importStar(require("./insuranceRefunds"));
|
|
41
42
|
exports.organizationServiceFacilities = __importStar(require("./organizationServiceFacilities"));
|
|
42
43
|
exports.organizationProviders = __importStar(require("./organizationProviders"));
|
|
@@ -62,8 +63,6 @@ exports.identifiers = __importStar(require("./identifiers"));
|
|
|
62
63
|
__exportStar(require("./identifiers/types"), exports);
|
|
63
64
|
exports.individual = __importStar(require("./individual"));
|
|
64
65
|
__exportStar(require("./individual/types"), exports);
|
|
65
|
-
exports.insuranceCard = __importStar(require("./insuranceCard"));
|
|
66
|
-
__exportStar(require("./insuranceCard/types"), exports);
|
|
67
66
|
exports.invoices = __importStar(require("./invoices"));
|
|
68
67
|
__exportStar(require("./invoices/types"), exports);
|
|
69
68
|
exports.serviceFacility = __importStar(require("./serviceFacility"));
|
|
@@ -7,7 +7,7 @@ import * as CandidApi from "../../..";
|
|
|
7
7
|
* {
|
|
8
8
|
* individualId: CandidApi.IndividualId("797348A9-E7E8-4E59-8628-95390D079C0B"),
|
|
9
9
|
* insuranceCard: {
|
|
10
|
-
* insuranceCardId: CandidApi.InsuranceCardId("CA5B7711-4419-4161-9B7C-3494AC40C8D4"),
|
|
10
|
+
* insuranceCardId: CandidApi.insuranceCards.v2.InsuranceCardId("CA5B7711-4419-4161-9B7C-3494AC40C8D4"),
|
|
11
11
|
* memberId: "E85313B4-0FFC-4119-8042-8161A4ECFF0A",
|
|
12
12
|
* payerName: "John Doe",
|
|
13
13
|
* payerId: "836DDAA6-863F-4020-ACCA-205A689F0002",
|
|
@@ -37,5 +37,5 @@ import * as CandidApi from "../../..";
|
|
|
37
37
|
*/
|
|
38
38
|
export interface Subscriber extends CandidApi.SubscriberBase {
|
|
39
39
|
individualId: CandidApi.IndividualId;
|
|
40
|
-
insuranceCard: CandidApi.InsuranceCard;
|
|
40
|
+
insuranceCard: CandidApi.insuranceCards.v2.InsuranceCard;
|
|
41
41
|
}
|
|
@@ -52,7 +52,7 @@ class V1 {
|
|
|
52
52
|
Authorization: await this._getAuthorizationHeader(),
|
|
53
53
|
"X-Fern-Language": "JavaScript",
|
|
54
54
|
"X-Fern-SDK-Name": "candidhealth",
|
|
55
|
-
"X-Fern-SDK-Version": "0.
|
|
55
|
+
"X-Fern-SDK-Version": "0.14.1",
|
|
56
56
|
},
|
|
57
57
|
contentType: "application/json",
|
|
58
58
|
timeoutMs: 60000,
|
|
@@ -85,7 +85,7 @@ class V1 {
|
|
|
85
85
|
Authorization: await this._getAuthorizationHeader(),
|
|
86
86
|
"X-Fern-Language": "JavaScript",
|
|
87
87
|
"X-Fern-SDK-Name": "candidhealth",
|
|
88
|
-
"X-Fern-SDK-Version": "0.
|
|
88
|
+
"X-Fern-SDK-Version": "0.14.1",
|
|
89
89
|
},
|
|
90
90
|
contentType: "application/json",
|
|
91
91
|
body: await serializers.insuranceAdjudications.v1.InsuranceAdjudicationCreate.jsonOrThrow(request, {
|
|
@@ -121,7 +121,7 @@ class V1 {
|
|
|
121
121
|
Authorization: await this._getAuthorizationHeader(),
|
|
122
122
|
"X-Fern-Language": "JavaScript",
|
|
123
123
|
"X-Fern-SDK-Name": "candidhealth",
|
|
124
|
-
"X-Fern-SDK-Version": "0.
|
|
124
|
+
"X-Fern-SDK-Version": "0.14.1",
|
|
125
125
|
},
|
|
126
126
|
contentType: "application/json",
|
|
127
127
|
timeoutMs: 60000,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./resources";
|
|
@@ -0,0 +1,17 @@
|
|
|
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);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as v2 from "./v2";
|
|
@@ -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.v2 = void 0;
|
|
27
|
+
exports.v2 = __importStar(require("./v2"));
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as CandidApi from "
|
|
4
|
+
import * as CandidApi from "../../../../..";
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
7
|
* {
|
|
8
|
-
* insuranceCardId: CandidApi.InsuranceCardId("CA5B7711-4419-4161-9B7C-3494AC40C8D4"),
|
|
8
|
+
* insuranceCardId: CandidApi.insuranceCards.v2.InsuranceCardId("CA5B7711-4419-4161-9B7C-3494AC40C8D4"),
|
|
9
9
|
* memberId: "E85313B4-0FFC-4119-8042-8161A4ECFF0A",
|
|
10
10
|
* payerName: "John Doe",
|
|
11
11
|
* payerId: "836DDAA6-863F-4020-ACCA-205A689F0002",
|
|
@@ -19,8 +19,8 @@ import * as CandidApi from "../../..";
|
|
|
19
19
|
* insuranceType: CandidApi.InsuranceTypeCode.C12
|
|
20
20
|
* }
|
|
21
21
|
*/
|
|
22
|
-
export interface InsuranceCard extends CandidApi.InsuranceCardBase {
|
|
23
|
-
insuranceCardId: CandidApi.InsuranceCardId;
|
|
22
|
+
export interface InsuranceCard extends CandidApi.insuranceCards.v2.InsuranceCardBase {
|
|
23
|
+
insuranceCardId: CandidApi.insuranceCards.v2.InsuranceCardId;
|
|
24
24
|
memberId: string;
|
|
25
25
|
payerName: string;
|
|
26
26
|
payerId: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as CandidApi from "
|
|
4
|
+
import * as CandidApi from "../../../../..";
|
|
5
5
|
export interface InsuranceCardBase {
|
|
6
6
|
/** Box 11 on the CMS-1500 claim form. */
|
|
7
7
|
groupNumber?: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as CandidApi from "
|
|
5
|
-
export interface InsuranceCardCreate extends CandidApi.InsuranceCardBase {
|
|
4
|
+
import * as CandidApi from "../../../../..";
|
|
5
|
+
export interface InsuranceCardCreate extends CandidApi.insuranceCards.v2.InsuranceCardBase {
|
|
6
6
|
memberId: string;
|
|
7
7
|
payerName: string;
|
|
8
8
|
payerId: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as CandidApi from "
|
|
4
|
+
import * as CandidApi from "../../../../..";
|
|
5
5
|
export declare type InsuranceCardId = string & {
|
|
6
|
-
|
|
6
|
+
insuranceCards_v2_InsuranceCardId: void;
|
|
7
7
|
};
|
|
8
|
-
export declare function InsuranceCardId(value: string): CandidApi.InsuranceCardId;
|
|
8
|
+
export declare function InsuranceCardId(value: string): CandidApi.insuranceCards.v2.InsuranceCardId;
|
|
@@ -32,6 +32,12 @@ export declare class V1 {
|
|
|
32
32
|
*
|
|
33
33
|
*/
|
|
34
34
|
create(request: CandidApi.insuranceRefunds.v1.InsuranceRefundCreate): Promise<core.APIResponse<CandidApi.insuranceRefunds.v1.InsuranceRefund, CandidApi.insuranceRefunds.v1.create.Error>>;
|
|
35
|
+
/**
|
|
36
|
+
* Updates the patient refund record matching the provided insurance_refund_id. If updating the refund amount,
|
|
37
|
+
* then the allocations must be appropriately updated as well.
|
|
38
|
+
*
|
|
39
|
+
*/
|
|
40
|
+
update(insuranceRefundId: CandidApi.insuranceRefunds.v1.InsuranceRefundId, request?: CandidApi.insuranceRefunds.v1.InsuranceRefundUpdate): Promise<core.APIResponse<CandidApi.insuranceRefunds.v1.InsuranceRefund, CandidApi.insuranceRefunds.v1.update.Error>>;
|
|
35
41
|
/**
|
|
36
42
|
* Deletes the insurance refund record matching the provided `insurance_refund_id`.
|
|
37
43
|
* If the matching record's organization_id does not match the authenticated user's
|
|
@@ -80,7 +80,7 @@ class V1 {
|
|
|
80
80
|
Authorization: await this._getAuthorizationHeader(),
|
|
81
81
|
"X-Fern-Language": "JavaScript",
|
|
82
82
|
"X-Fern-SDK-Name": "candidhealth",
|
|
83
|
-
"X-Fern-SDK-Version": "0.
|
|
83
|
+
"X-Fern-SDK-Version": "0.14.1",
|
|
84
84
|
},
|
|
85
85
|
contentType: "application/json",
|
|
86
86
|
queryParameters: _queryParams,
|
|
@@ -115,7 +115,7 @@ class V1 {
|
|
|
115
115
|
Authorization: await this._getAuthorizationHeader(),
|
|
116
116
|
"X-Fern-Language": "JavaScript",
|
|
117
117
|
"X-Fern-SDK-Name": "candidhealth",
|
|
118
|
-
"X-Fern-SDK-Version": "0.
|
|
118
|
+
"X-Fern-SDK-Version": "0.14.1",
|
|
119
119
|
},
|
|
120
120
|
contentType: "application/json",
|
|
121
121
|
timeoutMs: 60000,
|
|
@@ -150,7 +150,7 @@ class V1 {
|
|
|
150
150
|
Authorization: await this._getAuthorizationHeader(),
|
|
151
151
|
"X-Fern-Language": "JavaScript",
|
|
152
152
|
"X-Fern-SDK-Name": "candidhealth",
|
|
153
|
-
"X-Fern-SDK-Version": "0.
|
|
153
|
+
"X-Fern-SDK-Version": "0.14.1",
|
|
154
154
|
},
|
|
155
155
|
contentType: "application/json",
|
|
156
156
|
body: await serializers.insuranceRefunds.v1.InsuranceRefundCreate.jsonOrThrow(request, {
|
|
@@ -174,6 +174,43 @@ class V1 {
|
|
|
174
174
|
error: CandidApi.insuranceRefunds.v1.create.Error._unknown(_response.error),
|
|
175
175
|
};
|
|
176
176
|
}
|
|
177
|
+
/**
|
|
178
|
+
* Updates the patient refund record matching the provided insurance_refund_id. If updating the refund amount,
|
|
179
|
+
* then the allocations must be appropriately updated as well.
|
|
180
|
+
*
|
|
181
|
+
*/
|
|
182
|
+
async update(insuranceRefundId, request = {}) {
|
|
183
|
+
const _response = await core.fetcher({
|
|
184
|
+
url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, `/api/insurance-refunds/v1/${await serializers.insuranceRefunds.v1.InsuranceRefundId.jsonOrThrow(insuranceRefundId)}`),
|
|
185
|
+
method: "PATCH",
|
|
186
|
+
headers: {
|
|
187
|
+
Authorization: await this._getAuthorizationHeader(),
|
|
188
|
+
"X-Fern-Language": "JavaScript",
|
|
189
|
+
"X-Fern-SDK-Name": "candidhealth",
|
|
190
|
+
"X-Fern-SDK-Version": "0.14.1",
|
|
191
|
+
},
|
|
192
|
+
contentType: "application/json",
|
|
193
|
+
body: await serializers.insuranceRefunds.v1.InsuranceRefundUpdate.jsonOrThrow(request, {
|
|
194
|
+
unrecognizedObjectKeys: "strip",
|
|
195
|
+
}),
|
|
196
|
+
timeoutMs: 60000,
|
|
197
|
+
});
|
|
198
|
+
if (_response.ok) {
|
|
199
|
+
return {
|
|
200
|
+
ok: true,
|
|
201
|
+
body: await serializers.insuranceRefunds.v1.InsuranceRefund.parseOrThrow(_response.body, {
|
|
202
|
+
unrecognizedObjectKeys: "passthrough",
|
|
203
|
+
allowUnrecognizedUnionMembers: true,
|
|
204
|
+
allowUnrecognizedEnumValues: true,
|
|
205
|
+
breadcrumbsPrefix: ["response"],
|
|
206
|
+
}),
|
|
207
|
+
};
|
|
208
|
+
}
|
|
209
|
+
return {
|
|
210
|
+
ok: false,
|
|
211
|
+
error: CandidApi.insuranceRefunds.v1.update.Error._unknown(_response.error),
|
|
212
|
+
};
|
|
213
|
+
}
|
|
177
214
|
/**
|
|
178
215
|
* Deletes the insurance refund record matching the provided `insurance_refund_id`.
|
|
179
216
|
* If the matching record's organization_id does not match the authenticated user's
|
|
@@ -188,7 +225,7 @@ class V1 {
|
|
|
188
225
|
Authorization: await this._getAuthorizationHeader(),
|
|
189
226
|
"X-Fern-Language": "JavaScript",
|
|
190
227
|
"X-Fern-SDK-Name": "candidhealth",
|
|
191
|
-
"X-Fern-SDK-Version": "0.
|
|
228
|
+
"X-Fern-SDK-Version": "0.14.1",
|
|
192
229
|
},
|
|
193
230
|
contentType: "application/json",
|
|
194
231
|
timeoutMs: 60000,
|
|
@@ -26,9 +26,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.delete = exports.create = exports.get = exports.getMulti = void 0;
|
|
29
|
+
exports.delete = exports.update = exports.create = exports.get = exports.getMulti = void 0;
|
|
30
30
|
__exportStar(require("./requests"), exports);
|
|
31
31
|
exports.getMulti = __importStar(require("./getMulti"));
|
|
32
32
|
exports.get = __importStar(require("./get"));
|
|
33
33
|
exports.create = __importStar(require("./create"));
|
|
34
|
+
exports.update = __importStar(require("./update"));
|
|
34
35
|
exports.delete = __importStar(require("./delete"));
|
package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts
ADDED
|
@@ -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 InsuranceRefundUpdate {
|
|
6
|
+
refundTimestamp?: Date;
|
|
7
|
+
refundNote?: CandidApi.NoteUpdate;
|
|
8
|
+
payerIdentifier?: CandidApi.payers.v3.PayerIdentifier;
|
|
9
|
+
allocations?: CandidApi.AllocationAmountUpdate;
|
|
10
|
+
refundReason?: CandidApi.RefundReasonUpdate;
|
|
11
|
+
}
|
|
@@ -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.insuranceRefunds.v1.update.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.insuranceRefunds.v1.update.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.insuranceRefunds.v1.update.Error._Unknown;
|
|
21
|
+
readonly _visit: <_Result>(value: CandidApi.insuranceRefunds.v1.update.Error, visitor: CandidApi.insuranceRefunds.v1.update.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.insuranceRefunds.v1.update.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
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export declare type LicenseType = "MD" | "NP" | "PA" | "LMFT" | "LCPC" | "LCSW" | "PMHNP" | "FNP" | "LPCC" | "DO" | "RD" | "SLP" | "APRN" | "LPC" | "PHD" | "PSYD" | "LMSW" | "LMHC" | "OTHER_MASTERS" | "BCBA" | "UNKNOWN" | "RPH" | "PHT" | "LAC" | "LMT" | "DC" | "ND" | "MA" | "PT" | "IBCLC" | "RN" | "DPT" | "LCMHC" | "CNM" | "RNFA" | "ACSW" | "APC" | "BCABA" | "BHA" | "OD" | "DPM" | "DA" | "DDS" | "DEH" | "DMD" | "PTA" | "LCADC" | "LCAT" | "LCMHCS" | "LCMHCA" | "LCSWA" | "LICSW" | "LISW" | "LMFTS" | "LMFTA" | "LPCI" | "LSCSW" | "MHCA" | "MHT" | "RBT" | "RCSWI" | "RHMCI" | "LPN" | "OTD" | "OMS" | "MFTA" | "APCC";
|
|
4
|
+
export declare type LicenseType = "MD" | "NP" | "PA" | "LMFT" | "LCPC" | "LCSW" | "PMHNP" | "FNP" | "LPCC" | "DO" | "RD" | "SLP" | "APRN" | "LPC" | "PHD" | "PSYD" | "LMSW" | "LMHC" | "OTHER_MASTERS" | "BCBA" | "UNKNOWN" | "RPH" | "PHT" | "LAC" | "LMT" | "DC" | "ND" | "MA" | "PT" | "IBCLC" | "RN" | "DPT" | "LCMHC" | "CNM" | "RNFA" | "ACSW" | "APC" | "BCABA" | "BHA" | "OD" | "DPM" | "DA" | "DDS" | "DEH" | "DMD" | "PTA" | "LCADC" | "LCAT" | "LCMHCS" | "LCMHCA" | "LCSWA" | "LICSW" | "LISW" | "LMFTS" | "LMFTA" | "LPCI" | "LSCSW" | "MHCA" | "MHT" | "RBT" | "RCSWI" | "RHMCI" | "LPN" | "OTD" | "OMS" | "MFTA" | "APCC" | "DNP";
|
|
5
5
|
export declare const LicenseType: {
|
|
6
6
|
readonly Md: "MD";
|
|
7
7
|
readonly Np: "NP";
|
|
@@ -70,4 +70,5 @@ export declare const LicenseType: {
|
|
|
70
70
|
readonly Oms: "OMS";
|
|
71
71
|
readonly Mfta: "MFTA";
|
|
72
72
|
readonly Apcc: "APCC";
|
|
73
|
+
readonly Dnp: "DNP";
|
|
73
74
|
};
|