candidhealth 0.13.0 → 0.14.0
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 +12 -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 +13 -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/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 +12 -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/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 +5 -0
- package/api/resources/writeOffs/resources/v1/types/index.js +5 -0
- 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 +12 -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 +13 -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/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 +12 -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/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 +5 -0
- package/dist/api/resources/writeOffs/resources/v1/types/index.js +5 -0
- package/{serialization/resources/insuranceCard/types/InsuranceCardId.d.ts → dist/serialization/resources/financials/types/AccountType.d.ts} +3 -3
- package/dist/serialization/resources/financials/types/AccountType.js +31 -0
- 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/dist/serialization/resources/{insuranceCard → 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/{serialization/resources/insuranceCard → dist/serialization/resources/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 +17 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.js +40 -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 +18 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOff.js +39 -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/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 +17 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.js +38 -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/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 +5 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/index.js +5 -0
- package/package.json +1 -1
- package/{dist/serialization/resources/insuranceCard/types/InsuranceCardId.d.ts → serialization/resources/financials/types/AccountType.d.ts} +3 -3
- package/serialization/resources/financials/types/AccountType.js +31 -0
- 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/serialization/resources/{insuranceCard → 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/{dist/serialization/resources/insuranceCard → serialization/resources/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 +17 -0
- package/serialization/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.js +40 -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 +18 -0
- package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOff.js +39 -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/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 +17 -0
- package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.js +38 -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/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 +5 -0
- package/serialization/resources/writeOffs/resources/v1/types/index.js +5 -0
- /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
|
@@ -0,0 +1,38 @@
|
|
|
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.PatientWriteOff = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
exports.PatientWriteOff = core.serialization.object({
|
|
32
|
+
writeOffId: core.serialization.property("write_off_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).writeOffs.v1.WriteOffId)),
|
|
33
|
+
writeOffTimestamp: core.serialization.property("write_off_timestamp", core.serialization.date()),
|
|
34
|
+
writeOffNote: core.serialization.property("write_off_note", core.serialization.string().optional()),
|
|
35
|
+
writeOffReason: core.serialization.property("write_off_reason", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).writeOffs.v1.WriteOffReason)),
|
|
36
|
+
serviceLineId: core.serialization.property("service_line_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ServiceLineId)),
|
|
37
|
+
amountCents: core.serialization.property("amount_cents", core.serialization.number()),
|
|
38
|
+
});
|
|
@@ -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 PatientWriteOffCreate: core.serialization.ObjectSchema<serializers.writeOffs.v1.PatientWriteOffCreate.Raw, CandidApi.writeOffs.v1.PatientWriteOffCreate>;
|
|
8
|
+
export declare namespace PatientWriteOffCreate {
|
|
9
|
+
interface Raw {
|
|
10
|
+
write_off_timestamp: string;
|
|
11
|
+
write_off_note?: string | null;
|
|
12
|
+
write_off_reason: serializers.writeOffs.v1.WriteOffReason.Raw;
|
|
13
|
+
service_line_id: serializers.ServiceLineId.Raw;
|
|
14
|
+
amount_cents: number;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
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.PatientWriteOffCreate = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
exports.PatientWriteOffCreate = core.serialization.object({
|
|
32
|
+
writeOffTimestamp: core.serialization.property("write_off_timestamp", core.serialization.date()),
|
|
33
|
+
writeOffNote: core.serialization.property("write_off_note", core.serialization.string().optional()),
|
|
34
|
+
writeOffReason: core.serialization.property("write_off_reason", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).writeOffs.v1.WriteOffReason)),
|
|
35
|
+
serviceLineId: core.serialization.property("service_line_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ServiceLineId)),
|
|
36
|
+
amountCents: core.serialization.property("amount_cents", core.serialization.number()),
|
|
37
|
+
});
|
|
@@ -4,14 +4,13 @@
|
|
|
4
4
|
import * as serializers from "../../../../..";
|
|
5
5
|
import * as CandidApi from "../../../../../../api";
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
|
-
export declare const WriteOff: core.serialization.
|
|
7
|
+
export declare const WriteOff: core.serialization.Schema<serializers.writeOffs.v1.WriteOff.Raw, CandidApi.writeOffs.v1.WriteOff>;
|
|
8
8
|
export declare namespace WriteOff {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
amount_cents: number;
|
|
9
|
+
type Raw = WriteOff.Patient | WriteOff.Insurance;
|
|
10
|
+
interface Patient extends serializers.writeOffs.v1.PatientWriteOff.Raw {
|
|
11
|
+
type: "patient";
|
|
12
|
+
}
|
|
13
|
+
interface Insurance extends serializers.writeOffs.v1.InsuranceWriteOff.Raw {
|
|
14
|
+
type: "insurance";
|
|
16
15
|
}
|
|
17
16
|
}
|
|
@@ -28,11 +28,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.WriteOff = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../../core"));
|
|
31
|
-
exports.WriteOff = core.serialization
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
31
|
+
exports.WriteOff = core.serialization
|
|
32
|
+
.union("type", {
|
|
33
|
+
patient: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).writeOffs.v1.PatientWriteOff),
|
|
34
|
+
insurance: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).writeOffs.v1.InsuranceWriteOff),
|
|
35
|
+
})
|
|
36
|
+
.transform({
|
|
37
|
+
transform: (value) => value,
|
|
38
|
+
untransform: (value) => value,
|
|
38
39
|
});
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
import * as serializers from "../../../../..";
|
|
5
5
|
import * as CandidApi from "../../../../../../api";
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
|
-
export declare const WriteOffCreate: core.serialization.
|
|
7
|
+
export declare const WriteOffCreate: core.serialization.Schema<serializers.writeOffs.v1.WriteOffCreate.Raw, CandidApi.writeOffs.v1.WriteOffCreate>;
|
|
8
8
|
export declare namespace WriteOffCreate {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
9
|
+
type Raw = WriteOffCreate.Patient | WriteOffCreate.Insurance;
|
|
10
|
+
interface Patient extends serializers.writeOffs.v1.PatientWriteOffCreate.Raw {
|
|
11
|
+
type: "patient";
|
|
12
|
+
}
|
|
13
|
+
interface Insurance extends serializers.writeOffs.v1.InsuranceWriteOffCreate.Raw {
|
|
14
|
+
type: "insurance";
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -28,10 +28,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.WriteOffCreate = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../../core"));
|
|
31
|
-
exports.WriteOffCreate = core.serialization
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
31
|
+
exports.WriteOffCreate = core.serialization
|
|
32
|
+
.union("type", {
|
|
33
|
+
patient: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).writeOffs.v1.PatientWriteOffCreate),
|
|
34
|
+
insurance: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).writeOffs.v1.InsuranceWriteOffCreate),
|
|
35
|
+
})
|
|
36
|
+
.transform({
|
|
37
|
+
transform: (value) => value,
|
|
38
|
+
untransform: (value) => value,
|
|
37
39
|
});
|
|
@@ -30,6 +30,6 @@ exports.WriteOffsPage = void 0;
|
|
|
30
30
|
const core = __importStar(require("../../../../../../core"));
|
|
31
31
|
exports.WriteOffsPage = core.serialization
|
|
32
32
|
.object({
|
|
33
|
-
items: core.serialization.list(core.serialization.
|
|
33
|
+
items: core.serialization.list(core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).writeOffs.v1.WriteOff)),
|
|
34
34
|
})
|
|
35
35
|
.extend(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ResourcePage));
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
export * from "./WriteOffId";
|
|
2
2
|
export * from "./WriteOff";
|
|
3
3
|
export * from "./WriteOffCreate";
|
|
4
|
+
export * from "./PatientWriteOff";
|
|
5
|
+
export * from "./PatientWriteOffCreate";
|
|
6
|
+
export * from "./InsuranceWriteOff";
|
|
7
|
+
export * from "./InsuranceWriteOffCreate";
|
|
8
|
+
export * from "./InsuranceWriteOffTarget";
|
|
4
9
|
export * from "./WriteOffReason";
|
|
5
10
|
export * from "./CreateWriteOffsResponse";
|
|
6
11
|
export * from "./WriteOffsPage";
|
|
@@ -17,6 +17,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./WriteOffId"), exports);
|
|
18
18
|
__exportStar(require("./WriteOff"), exports);
|
|
19
19
|
__exportStar(require("./WriteOffCreate"), exports);
|
|
20
|
+
__exportStar(require("./PatientWriteOff"), exports);
|
|
21
|
+
__exportStar(require("./PatientWriteOffCreate"), exports);
|
|
22
|
+
__exportStar(require("./InsuranceWriteOff"), exports);
|
|
23
|
+
__exportStar(require("./InsuranceWriteOffCreate"), exports);
|
|
24
|
+
__exportStar(require("./InsuranceWriteOffTarget"), exports);
|
|
20
25
|
__exportStar(require("./WriteOffReason"), exports);
|
|
21
26
|
__exportStar(require("./CreateWriteOffsResponse"), exports);
|
|
22
27
|
__exportStar(require("./WriteOffsPage"), exports);
|
|
File without changes
|
|
File without changes
|
/package/api/resources/{insuranceCard/types/InsuranceCardCreate.js → financials/types/NoteUpdate.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/api/resources/{insuranceCard → insuranceCards/resources/v2}/types/InsuranceCardId.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/api/resources/{insuranceCard → insuranceCards/resources/v2}/types/InsuranceCardId.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/index.d.ts
RENAMED
|
File without changes
|
/package/dist/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/index.js
RENAMED
|
File without changes
|
/package/dist/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/types/index.d.ts
RENAMED
|
File without changes
|
/package/dist/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/types/index.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/types/index.d.ts
RENAMED
|
File without changes
|
/package/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/types/index.js
RENAMED
|
File without changes
|