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
|
@@ -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);
|
|
@@ -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"));
|
|
@@ -8,6 +8,6 @@ export declare const Subscriber: core.serialization.ObjectSchema<serializers.Sub
|
|
|
8
8
|
export declare namespace Subscriber {
|
|
9
9
|
interface Raw extends serializers.SubscriberBase.Raw {
|
|
10
10
|
individual_id: serializers.IndividualId.Raw;
|
|
11
|
-
insurance_card: serializers.InsuranceCard.Raw;
|
|
11
|
+
insurance_card: serializers.insuranceCards.v2.InsuranceCard.Raw;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -31,6 +31,6 @@ const core = __importStar(require("../../../../core"));
|
|
|
31
31
|
exports.Subscriber = core.serialization
|
|
32
32
|
.object({
|
|
33
33
|
individualId: core.serialization.property("individual_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).IndividualId)),
|
|
34
|
-
insuranceCard: core.serialization.property("insurance_card", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).InsuranceCard)),
|
|
34
|
+
insuranceCard: core.serialization.property("insurance_card", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).insuranceCards.v2.InsuranceCard)),
|
|
35
35
|
})
|
|
36
36
|
.extend(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).SubscriberBase));
|
|
@@ -7,6 +7,6 @@ import * as core from "../../../../core";
|
|
|
7
7
|
export declare const SubscriberCreate: core.serialization.ObjectSchema<serializers.SubscriberCreate.Raw, CandidApi.SubscriberCreate>;
|
|
8
8
|
export declare namespace SubscriberCreate {
|
|
9
9
|
interface Raw extends serializers.SubscriberBase.Raw {
|
|
10
|
-
insurance_card: serializers.InsuranceCardCreate.Raw;
|
|
10
|
+
insurance_card: serializers.insuranceCards.v2.InsuranceCardCreate.Raw;
|
|
11
11
|
}
|
|
12
12
|
}
|
|
@@ -30,6 +30,6 @@ exports.SubscriberCreate = void 0;
|
|
|
30
30
|
const core = __importStar(require("../../../../core"));
|
|
31
31
|
exports.SubscriberCreate = core.serialization
|
|
32
32
|
.object({
|
|
33
|
-
insuranceCard: core.serialization.property("insurance_card", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).InsuranceCardCreate)),
|
|
33
|
+
insuranceCard: core.serialization.property("insurance_card", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).insuranceCards.v2.InsuranceCardCreate)),
|
|
34
34
|
})
|
|
35
35
|
.extend(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).SubscriberBase));
|
|
@@ -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,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as serializers from "
|
|
5
|
-
import * as CandidApi from "
|
|
6
|
-
import * as core from "
|
|
7
|
-
export declare const InsuranceCard: core.serialization.ObjectSchema<serializers.InsuranceCard.Raw, CandidApi.InsuranceCard>;
|
|
4
|
+
import * as serializers from "../../../../..";
|
|
5
|
+
import * as CandidApi from "../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const InsuranceCard: core.serialization.ObjectSchema<serializers.insuranceCards.v2.InsuranceCard.Raw, CandidApi.insuranceCards.v2.InsuranceCard>;
|
|
8
8
|
export declare namespace InsuranceCard {
|
|
9
|
-
interface Raw extends serializers.InsuranceCardBase.Raw {
|
|
10
|
-
insurance_card_id: serializers.InsuranceCardId.Raw;
|
|
9
|
+
interface Raw extends serializers.insuranceCards.v2.InsuranceCardBase.Raw {
|
|
10
|
+
insurance_card_id: serializers.insuranceCards.v2.InsuranceCardId.Raw;
|
|
11
11
|
member_id: string;
|
|
12
12
|
payer_name: string;
|
|
13
13
|
payer_id: string;
|
|
@@ -27,10 +27,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.InsuranceCard = void 0;
|
|
30
|
-
const core = __importStar(require("
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
31
|
exports.InsuranceCard = core.serialization
|
|
32
32
|
.object({
|
|
33
|
-
insuranceCardId: core.serialization.property("insurance_card_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("
|
|
33
|
+
insuranceCardId: core.serialization.property("insurance_card_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).insuranceCards.v2.InsuranceCardId)),
|
|
34
34
|
memberId: core.serialization.property("member_id", core.serialization.string()),
|
|
35
35
|
payerName: core.serialization.property("payer_name", core.serialization.string()),
|
|
36
36
|
payerId: core.serialization.property("payer_id", core.serialization.string()),
|
|
@@ -39,4 +39,4 @@ exports.InsuranceCard = core.serialization
|
|
|
39
39
|
imageUrlFront: core.serialization.property("image_url_front", core.serialization.string().optional()),
|
|
40
40
|
imageUrlBack: core.serialization.property("image_url_back", core.serialization.string().optional()),
|
|
41
41
|
})
|
|
42
|
-
.extend(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("
|
|
42
|
+
.extend(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).insuranceCards.v2.InsuranceCardBase));
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as serializers from "
|
|
5
|
-
import * as CandidApi from "
|
|
6
|
-
import * as core from "
|
|
7
|
-
export declare const InsuranceCardBase: core.serialization.ObjectSchema<serializers.InsuranceCardBase.Raw, CandidApi.InsuranceCardBase>;
|
|
4
|
+
import * as serializers from "../../../../..";
|
|
5
|
+
import * as CandidApi from "../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const InsuranceCardBase: core.serialization.ObjectSchema<serializers.insuranceCards.v2.InsuranceCardBase.Raw, CandidApi.insuranceCards.v2.InsuranceCardBase>;
|
|
8
8
|
export declare namespace InsuranceCardBase {
|
|
9
9
|
interface Raw {
|
|
10
10
|
group_number?: string | null;
|
|
@@ -27,10 +27,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.InsuranceCardBase = void 0;
|
|
30
|
-
const core = __importStar(require("
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
31
|
exports.InsuranceCardBase = core.serialization.object({
|
|
32
32
|
groupNumber: core.serialization.property("group_number", core.serialization.string().optional()),
|
|
33
33
|
planName: core.serialization.property("plan_name", core.serialization.string().optional()),
|
|
34
|
-
planType: core.serialization.property("plan_type", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("
|
|
35
|
-
insuranceType: core.serialization.property("insurance_type", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("
|
|
34
|
+
planType: core.serialization.property("plan_type", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).SourceOfPaymentCode).optional()),
|
|
35
|
+
insuranceType: core.serialization.property("insurance_type", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).InsuranceTypeCode).optional()),
|
|
36
36
|
});
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as serializers from "
|
|
5
|
-
import * as CandidApi from "
|
|
6
|
-
import * as core from "
|
|
7
|
-
export declare const InsuranceCardCreate: core.serialization.ObjectSchema<serializers.InsuranceCardCreate.Raw, CandidApi.InsuranceCardCreate>;
|
|
4
|
+
import * as serializers from "../../../../..";
|
|
5
|
+
import * as CandidApi from "../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const InsuranceCardCreate: core.serialization.ObjectSchema<serializers.insuranceCards.v2.InsuranceCardCreate.Raw, CandidApi.insuranceCards.v2.InsuranceCardCreate>;
|
|
8
8
|
export declare namespace InsuranceCardCreate {
|
|
9
|
-
interface Raw extends serializers.InsuranceCardBase.Raw {
|
|
9
|
+
interface Raw extends serializers.insuranceCards.v2.InsuranceCardBase.Raw {
|
|
10
10
|
member_id: string;
|
|
11
11
|
payer_name: string;
|
|
12
12
|
payer_id: string;
|
|
@@ -27,7 +27,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.InsuranceCardCreate = void 0;
|
|
30
|
-
const core = __importStar(require("
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
31
|
exports.InsuranceCardCreate = core.serialization
|
|
32
32
|
.object({
|
|
33
33
|
memberId: core.serialization.property("member_id", core.serialization.string()),
|
|
@@ -37,6 +37,6 @@ exports.InsuranceCardCreate = core.serialization
|
|
|
37
37
|
rxPcn: core.serialization.property("rx_pcn", core.serialization.string().optional()),
|
|
38
38
|
imageUrlFront: core.serialization.property("image_url_front", core.serialization.string().optional()),
|
|
39
39
|
imageUrlBack: core.serialization.property("image_url_back", core.serialization.string().optional()),
|
|
40
|
-
emrPayerCrosswalk: core.serialization.property("emr_payer_crosswalk", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("
|
|
40
|
+
emrPayerCrosswalk: core.serialization.property("emr_payer_crosswalk", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).EmrPayerCrosswalk).optional()),
|
|
41
41
|
})
|
|
42
|
-
.extend(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("
|
|
42
|
+
.extend(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).insuranceCards.v2.InsuranceCardBase));
|
|
@@ -0,0 +1,10 @@
|
|
|
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 InsuranceCardId: core.serialization.Schema<serializers.insuranceCards.v2.InsuranceCardId.Raw, CandidApi.insuranceCards.v2.InsuranceCardId>;
|
|
8
|
+
export declare namespace InsuranceCardId {
|
|
9
|
+
type Raw = string;
|
|
10
|
+
}
|
|
@@ -27,9 +27,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.InsuranceCardId = void 0;
|
|
30
|
-
const CandidApi = __importStar(require("
|
|
31
|
-
const core = __importStar(require("
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../../api"));
|
|
31
|
+
const core = __importStar(require("../../../../../../core"));
|
|
32
32
|
exports.InsuranceCardId = core.serialization.string().transform({
|
|
33
|
-
transform: CandidApi.InsuranceCardId,
|
|
33
|
+
transform: CandidApi.insuranceCards.v2.InsuranceCardId,
|
|
34
34
|
untransform: (value) => value,
|
|
35
35
|
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests";
|
|
@@ -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("./requests"), exports);
|
|
@@ -0,0 +1,16 @@
|
|
|
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 InsuranceRefundUpdate: core.serialization.Schema<serializers.insuranceRefunds.v1.InsuranceRefundUpdate.Raw, CandidApi.insuranceRefunds.v1.InsuranceRefundUpdate>;
|
|
8
|
+
export declare namespace InsuranceRefundUpdate {
|
|
9
|
+
interface Raw {
|
|
10
|
+
refund_timestamp?: string | null;
|
|
11
|
+
refund_note?: serializers.NoteUpdate.Raw | null;
|
|
12
|
+
payer_identifier?: serializers.payers.v3.PayerIdentifier.Raw | null;
|
|
13
|
+
allocations?: serializers.AllocationAmountUpdate.Raw | null;
|
|
14
|
+
refund_reason?: serializers.RefundReasonUpdate.Raw | null;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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.InsuranceRefundUpdate = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../../core"));
|
|
31
|
+
exports.InsuranceRefundUpdate = core.serialization.object({
|
|
32
|
+
refundTimestamp: core.serialization.property("refund_timestamp", core.serialization.date().optional()),
|
|
33
|
+
refundNote: core.serialization.property("refund_note", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).NoteUpdate).optional()),
|
|
34
|
+
payerIdentifier: core.serialization.property("payer_identifier", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).payers.v3.PayerIdentifier).optional()),
|
|
35
|
+
allocations: core.serialization
|
|
36
|
+
.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).AllocationAmountUpdate)
|
|
37
|
+
.optional(),
|
|
38
|
+
refundReason: core.serialization.property("refund_reason", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).RefundReasonUpdate).optional()),
|
|
39
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { InsuranceRefundUpdate } from "./InsuranceRefundUpdate";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.InsuranceRefundUpdate = void 0;
|
|
4
|
+
var InsuranceRefundUpdate_1 = require("./InsuranceRefundUpdate");
|
|
5
|
+
Object.defineProperty(exports, "InsuranceRefundUpdate", { enumerable: true, get: function () { return InsuranceRefundUpdate_1.InsuranceRefundUpdate; } });
|
package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts
CHANGED
|
@@ -6,5 +6,5 @@ import * as CandidApi from "../../../../../../api";
|
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
7
|
export declare const LicenseType: core.serialization.Schema<serializers.organizationProviders.v2.LicenseType.Raw, CandidApi.organizationProviders.v2.LicenseType>;
|
|
8
8
|
export declare namespace LicenseType {
|
|
9
|
-
type Raw = "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";
|
|
9
|
+
type Raw = "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";
|
|
10
10
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
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 PatientPaymentUpdate: core.serialization.Schema<serializers.patientPayments.v4.PatientPaymentUpdate.Raw, CandidApi.patientPayments.v4.PatientPaymentUpdate>;
|
|
8
|
+
export declare namespace PatientPaymentUpdate {
|
|
9
|
+
interface Raw {
|
|
10
|
+
payment_timestamp?: string | null;
|
|
11
|
+
payment_note?: serializers.NoteUpdate.Raw | null;
|
|
12
|
+
patient_external_id?: serializers.PatientExternalId.Raw | null;
|
|
13
|
+
allocations?: serializers.AllocationAmountUpdate.Raw | null;
|
|
14
|
+
invoice?: serializers.InvoiceUpdate.Raw | null;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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.PatientPaymentUpdate = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../../core"));
|
|
31
|
+
exports.PatientPaymentUpdate = core.serialization.object({
|
|
32
|
+
paymentTimestamp: core.serialization.property("payment_timestamp", core.serialization.date().optional()),
|
|
33
|
+
paymentNote: core.serialization.property("payment_note", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).NoteUpdate).optional()),
|
|
34
|
+
patientExternalId: core.serialization.property("patient_external_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).PatientExternalId).optional()),
|
|
35
|
+
allocations: core.serialization
|
|
36
|
+
.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).AllocationAmountUpdate)
|
|
37
|
+
.optional(),
|
|
38
|
+
invoice: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).InvoiceUpdate).optional(),
|
|
39
|
+
});
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PatientPaymentCreate = void 0;
|
|
3
|
+
exports.PatientPaymentUpdate = exports.PatientPaymentCreate = void 0;
|
|
4
4
|
var PatientPaymentCreate_1 = require("./PatientPaymentCreate");
|
|
5
5
|
Object.defineProperty(exports, "PatientPaymentCreate", { enumerable: true, get: function () { return PatientPaymentCreate_1.PatientPaymentCreate; } });
|
|
6
|
+
var PatientPaymentUpdate_1 = require("./PatientPaymentUpdate");
|
|
7
|
+
Object.defineProperty(exports, "PatientPaymentUpdate", { enumerable: true, get: function () { return PatientPaymentUpdate_1.PatientPaymentUpdate; } });
|
|
@@ -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 PatientRefundUpdate: core.serialization.Schema<serializers.patientRefunds.v1.PatientRefundUpdate.Raw, CandidApi.patientRefunds.v1.PatientRefundUpdate>;
|
|
8
|
+
export declare namespace PatientRefundUpdate {
|
|
9
|
+
interface Raw {
|
|
10
|
+
refund_timestamp?: string | null;
|
|
11
|
+
refund_note?: serializers.NoteUpdate.Raw | null;
|
|
12
|
+
patient_external_id?: serializers.PatientExternalId.Raw | null;
|
|
13
|
+
allocations?: serializers.AllocationAmountUpdate.Raw | null;
|
|
14
|
+
invoice?: serializers.InvoiceUpdate.Raw | null;
|
|
15
|
+
refund_reason?: serializers.RefundReasonUpdate.Raw | null;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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.PatientRefundUpdate = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../../core"));
|
|
31
|
+
exports.PatientRefundUpdate = core.serialization.object({
|
|
32
|
+
refundTimestamp: core.serialization.property("refund_timestamp", core.serialization.date().optional()),
|
|
33
|
+
refundNote: core.serialization.property("refund_note", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).NoteUpdate).optional()),
|
|
34
|
+
patientExternalId: core.serialization.property("patient_external_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).PatientExternalId).optional()),
|
|
35
|
+
allocations: core.serialization
|
|
36
|
+
.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).AllocationAmountUpdate)
|
|
37
|
+
.optional(),
|
|
38
|
+
invoice: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).InvoiceUpdate).optional(),
|
|
39
|
+
refundReason: core.serialization.property("refund_reason", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).RefundReasonUpdate).optional()),
|
|
40
|
+
});
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PatientRefundCreate = void 0;
|
|
3
|
+
exports.PatientRefundUpdate = exports.PatientRefundCreate = void 0;
|
|
4
4
|
var PatientRefundCreate_1 = require("./PatientRefundCreate");
|
|
5
5
|
Object.defineProperty(exports, "PatientRefundCreate", { enumerable: true, get: function () { return PatientRefundCreate_1.PatientRefundCreate; } });
|
|
6
|
+
var PatientRefundUpdate_1 = require("./PatientRefundUpdate");
|
|
7
|
+
Object.defineProperty(exports, "PatientRefundUpdate", { enumerable: true, get: function () { return PatientRefundUpdate_1.PatientRefundUpdate; } });
|
|
@@ -29,5 +29,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.CreateWriteOffsRequest = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../../../core"));
|
|
31
31
|
exports.CreateWriteOffsRequest = core.serialization.object({
|
|
32
|
-
writeOffs: core.serialization.property("write_offs", core.serialization.list(core.serialization.
|
|
32
|
+
writeOffs: core.serialization.property("write_offs", core.serialization.list(core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).writeOffs.v1.WriteOffCreate))),
|
|
33
33
|
});
|
package/dist/serialization/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.js
CHANGED
|
@@ -29,5 +29,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.CreateWriteOffsResponse = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../../core"));
|
|
31
31
|
exports.CreateWriteOffsResponse = core.serialization.object({
|
|
32
|
-
writeOffs: core.serialization.property("write_offs", core.serialization.list(core.serialization.
|
|
32
|
+
writeOffs: core.serialization.property("write_offs", core.serialization.list(core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).writeOffs.v1.WriteOff))),
|
|
33
33
|
});
|
|
@@ -0,0 +1,20 @@
|
|
|
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 InsuranceWriteOff: core.serialization.ObjectSchema<serializers.writeOffs.v1.InsuranceWriteOff.Raw, CandidApi.writeOffs.v1.InsuranceWriteOff>;
|
|
8
|
+
export declare namespace InsuranceWriteOff {
|
|
9
|
+
interface Raw {
|
|
10
|
+
write_off_id: serializers.writeOffs.v1.WriteOffId.Raw;
|
|
11
|
+
payer: serializers.payers.v3.Payer.Raw;
|
|
12
|
+
write_off_target: serializers.writeOffs.v1.InsuranceWriteOffTarget.Raw;
|
|
13
|
+
write_off_timestamp: string;
|
|
14
|
+
write_off_note?: string | null;
|
|
15
|
+
write_off_reason: serializers.writeOffs.v1.InsuranceWriteOffReason.Raw;
|
|
16
|
+
reverts_write_off_id?: serializers.writeOffs.v1.WriteOffId.Raw | null;
|
|
17
|
+
reverted_by_write_off_id?: serializers.writeOffs.v1.WriteOffId.Raw | null;
|
|
18
|
+
amount_cents: number;
|
|
19
|
+
}
|
|
20
|
+
}
|