candidhealth 0.28.0 → 0.30.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/Client.d.ts +9 -0
- package/Client.js +41 -26
- 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/customSchemas/resources/v1/client/Client.js +4 -4
- package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/api/resources/encounters/resources/v4/client/Client.d.ts +3 -1
- package/api/resources/encounters/resources/v4/client/Client.js +7 -5
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +3 -1
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +3 -1
- package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +3 -1
- package/api/resources/encounters/resources/v4/types/Vitals.d.ts +5 -1
- 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/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/api/resources/index.d.ts +3 -0
- package/api/resources/index.js +4 -1
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayerPayments/client/Client.d.ts +26 -0
- package/api/resources/nonInsurancePayerPayments/client/Client.js +17 -0
- package/api/resources/nonInsurancePayerPayments/client/index.d.ts +1 -0
- package/api/resources/nonInsurancePayerPayments/client/index.js +2 -0
- package/api/resources/nonInsurancePayerPayments/index.d.ts +2 -0
- package/api/resources/nonInsurancePayerPayments/index.js +18 -0
- package/api/resources/nonInsurancePayerPayments/resources/index.d.ts +1 -0
- package/api/resources/nonInsurancePayerPayments/resources/index.js +27 -0
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.d.ts +98 -0
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +422 -0
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/create.d.ts +34 -0
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/create.js +69 -0
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/delete.d.ts +34 -0
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/delete.js +69 -0
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/get.d.ts +28 -0
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/get.js +58 -0
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/getMulti.d.ts +28 -0
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/getMulti.js +58 -0
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/index.d.ts +6 -0
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/index.js +35 -0
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/GetMultiNonInsurancePayerPaymentRequest.d.ts +34 -0
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/GetMultiNonInsurancePayerPaymentRequest.js +5 -0
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/UpdateNonInsurancePayerPaymentRequest.d.ts +23 -0
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/UpdateNonInsurancePayerPaymentRequest.js +5 -0
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/index.d.ts +2 -0
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/index.js +2 -0
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/update.d.ts +34 -0
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/update.js +69 -0
- package/api/resources/nonInsurancePayerPayments/resources/v1/index.d.ts +2 -0
- package/api/resources/nonInsurancePayerPayments/resources/v1/index.js +18 -0
- package/api/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPayment.d.ts +14 -0
- package/api/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPayment.js +5 -0
- package/api/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentCreate.d.ts +13 -0
- package/api/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentCreate.js +5 -0
- package/api/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentId.d.ts +8 -0
- package/api/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentId.js +10 -0
- package/api/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentSortField.d.ts +8 -0
- package/api/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentSortField.js +10 -0
- package/api/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentsPage.d.ts +7 -0
- package/api/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentsPage.js +5 -0
- package/api/resources/nonInsurancePayerPayments/resources/v1/types/index.d.ts +5 -0
- package/api/resources/nonInsurancePayerPayments/resources/v1/types/index.js +21 -0
- package/api/resources/nonInsurancePayerRefunds/client/Client.d.ts +26 -0
- package/api/resources/nonInsurancePayerRefunds/client/Client.js +17 -0
- package/api/resources/nonInsurancePayerRefunds/client/index.d.ts +1 -0
- package/api/resources/nonInsurancePayerRefunds/client/index.js +2 -0
- package/api/resources/nonInsurancePayerRefunds/index.d.ts +2 -0
- package/api/resources/nonInsurancePayerRefunds/index.js +18 -0
- package/api/resources/nonInsurancePayerRefunds/resources/index.d.ts +1 -0
- package/api/resources/nonInsurancePayerRefunds/resources/index.js +27 -0
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.d.ts +109 -0
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +433 -0
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/create.d.ts +34 -0
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/create.js +69 -0
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/delete.d.ts +34 -0
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/delete.js +69 -0
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/get.d.ts +28 -0
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/get.js +58 -0
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/getMulti.d.ts +28 -0
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/getMulti.js +58 -0
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/index.d.ts +6 -0
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/index.js +35 -0
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/GetMultiNonInsurancePayerRefundsRequest.d.ts +34 -0
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/GetMultiNonInsurancePayerRefundsRequest.js +5 -0
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/NonInsurancePayerRefundUpdate.d.ts +28 -0
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/NonInsurancePayerRefundUpdate.js +5 -0
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/index.d.ts +2 -0
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/index.js +2 -0
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/update.d.ts +34 -0
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/update.js +69 -0
- package/api/resources/nonInsurancePayerRefunds/resources/v1/index.d.ts +2 -0
- package/api/resources/nonInsurancePayerRefunds/resources/v1/index.js +18 -0
- package/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.d.ts +14 -0
- package/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.js +5 -0
- package/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.d.ts +13 -0
- package/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.js +5 -0
- package/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundId.d.ts +8 -0
- package/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundId.js +10 -0
- package/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundSortField.d.ts +8 -0
- package/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundSortField.js +10 -0
- package/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundsPage.d.ts +7 -0
- package/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundsPage.js +5 -0
- package/api/resources/nonInsurancePayerRefunds/resources/v1/types/index.d.ts +5 -0
- package/api/resources/nonInsurancePayerRefunds/resources/v1/types/index.js +21 -0
- package/api/resources/nonInsurancePayers/client/Client.d.ts +26 -0
- package/api/resources/nonInsurancePayers/client/Client.js +17 -0
- package/api/resources/nonInsurancePayers/client/index.d.ts +1 -0
- package/api/resources/nonInsurancePayers/client/index.js +2 -0
- package/api/resources/nonInsurancePayers/index.d.ts +2 -0
- package/api/resources/nonInsurancePayers/index.js +18 -0
- package/api/resources/nonInsurancePayers/resources/index.d.ts +1 -0
- package/api/resources/nonInsurancePayers/resources/index.js +27 -0
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +97 -0
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +469 -0
- package/api/resources/nonInsurancePayers/resources/v1/client/create.d.ts +34 -0
- package/api/resources/nonInsurancePayers/resources/v1/client/create.js +69 -0
- package/api/resources/nonInsurancePayers/resources/v1/client/delete.d.ts +28 -0
- package/api/resources/nonInsurancePayers/resources/v1/client/delete.js +58 -0
- package/api/resources/nonInsurancePayers/resources/v1/client/get.d.ts +28 -0
- package/api/resources/nonInsurancePayers/resources/v1/client/get.js +58 -0
- package/api/resources/nonInsurancePayers/resources/v1/client/getMulti.d.ts +28 -0
- package/api/resources/nonInsurancePayers/resources/v1/client/getMulti.js +58 -0
- package/api/resources/nonInsurancePayers/resources/v1/client/index.d.ts +7 -0
- package/api/resources/nonInsurancePayers/resources/v1/client/index.js +36 -0
- package/api/resources/nonInsurancePayers/resources/v1/client/requests/GetMultiNonInsurancePayersRequest.d.ts +28 -0
- package/api/resources/nonInsurancePayers/resources/v1/client/requests/GetMultiNonInsurancePayersRequest.js +5 -0
- package/api/resources/nonInsurancePayers/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/nonInsurancePayers/resources/v1/client/requests/index.js +2 -0
- package/api/resources/nonInsurancePayers/resources/v1/client/toggleEnablement.d.ts +28 -0
- package/api/resources/nonInsurancePayers/resources/v1/client/toggleEnablement.js +58 -0
- package/api/resources/nonInsurancePayers/resources/v1/client/update.d.ts +34 -0
- package/api/resources/nonInsurancePayers/resources/v1/client/update.js +69 -0
- package/api/resources/nonInsurancePayers/resources/v1/index.d.ts +2 -0
- package/api/resources/nonInsurancePayers/resources/v1/index.js +18 -0
- package/api/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.d.ts +11 -0
- package/api/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.js +5 -0
- package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +11 -0
- package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.js +5 -0
- package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerCategoryUpdate.d.ts +17 -0
- package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerCategoryUpdate.js +5 -0
- package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerDescriptionUpdate.d.ts +17 -0
- package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerDescriptionUpdate.js +5 -0
- package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerId.d.ts +8 -0
- package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerId.js +10 -0
- package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerPage.d.ts +7 -0
- package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerPage.js +5 -0
- package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerSortField.d.ts +10 -0
- package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerSortField.js +12 -0
- package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.d.ts +10 -0
- package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.js +5 -0
- package/api/resources/nonInsurancePayers/resources/v1/types/ToggleNonInsurancePayerEnablementRequest.d.ts +6 -0
- package/api/resources/nonInsurancePayers/resources/v1/types/ToggleNonInsurancePayerEnablementRequest.js +5 -0
- package/api/resources/nonInsurancePayers/resources/v1/types/index.d.ts +9 -0
- package/api/resources/nonInsurancePayers/resources/v1/types/index.js +25 -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.js +5 -5
- package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
- package/api/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +1 -1
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +1 -1
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +9 -9
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageEligibilityCheckResponse.d.ts +0 -1
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheck.d.ts +5 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityStatus.d.ts +9 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityStatus.js +11 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanMetadata.d.ts +14 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanMetadata.js +5 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/index.js +2 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +51 -2
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +121 -14
- package/api/resources/preEncounter/resources/patients/resources/v1/client/createNoDuplicateCheck.d.ts +28 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/createNoDuplicateCheck.js +58 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequestPaginated.d.ts +4 -2
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
- package/api/resources/serviceLines/resources/v2/types/DrugIdentification.d.ts +1 -0
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/thirdPartyPayerPayments/resources/v1/client/Client.js +5 -5
- package/api/resources/thirdPartyPayerRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/thirdPartyPayers/resources/v1/client/Client.js +6 -6
- package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/Client.d.ts +9 -0
- package/dist/Client.js +41 -26
- 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/customSchemas/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +3 -1
- package/dist/api/resources/encounters/resources/v4/client/Client.js +7 -5
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +3 -1
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +3 -1
- package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +3 -1
- package/dist/api/resources/encounters/resources/v4/types/Vitals.d.ts +5 -1
- 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/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/index.d.ts +3 -0
- package/dist/api/resources/index.js +4 -1
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayerPayments/client/Client.d.ts +26 -0
- package/dist/api/resources/nonInsurancePayerPayments/client/Client.js +17 -0
- package/dist/api/resources/nonInsurancePayerPayments/client/index.d.ts +1 -0
- package/dist/api/resources/nonInsurancePayerPayments/client/index.js +2 -0
- package/dist/api/resources/nonInsurancePayerPayments/index.d.ts +2 -0
- package/dist/api/resources/nonInsurancePayerPayments/index.js +18 -0
- package/dist/api/resources/nonInsurancePayerPayments/resources/index.d.ts +1 -0
- package/dist/api/resources/nonInsurancePayerPayments/resources/index.js +27 -0
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.d.ts +98 -0
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +422 -0
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/create.d.ts +34 -0
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/create.js +69 -0
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/delete.d.ts +34 -0
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/delete.js +69 -0
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/get.d.ts +28 -0
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/get.js +58 -0
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/getMulti.d.ts +28 -0
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/getMulti.js +58 -0
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/index.d.ts +6 -0
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/index.js +35 -0
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/GetMultiNonInsurancePayerPaymentRequest.d.ts +34 -0
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/GetMultiNonInsurancePayerPaymentRequest.js +5 -0
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/UpdateNonInsurancePayerPaymentRequest.d.ts +23 -0
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/UpdateNonInsurancePayerPaymentRequest.js +5 -0
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/index.d.ts +2 -0
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/index.js +2 -0
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/update.d.ts +34 -0
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/update.js +69 -0
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/index.d.ts +2 -0
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/index.js +18 -0
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPayment.d.ts +14 -0
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPayment.js +5 -0
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentCreate.d.ts +13 -0
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentCreate.js +5 -0
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentId.d.ts +8 -0
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentId.js +10 -0
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentSortField.d.ts +8 -0
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentSortField.js +10 -0
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentsPage.d.ts +7 -0
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentsPage.js +5 -0
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/types/index.d.ts +5 -0
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/types/index.js +21 -0
- package/dist/api/resources/nonInsurancePayerRefunds/client/Client.d.ts +26 -0
- package/dist/api/resources/nonInsurancePayerRefunds/client/Client.js +17 -0
- package/dist/api/resources/nonInsurancePayerRefunds/client/index.d.ts +1 -0
- package/dist/api/resources/nonInsurancePayerRefunds/client/index.js +2 -0
- package/dist/api/resources/nonInsurancePayerRefunds/index.d.ts +2 -0
- package/dist/api/resources/nonInsurancePayerRefunds/index.js +18 -0
- package/dist/api/resources/nonInsurancePayerRefunds/resources/index.d.ts +1 -0
- package/dist/api/resources/nonInsurancePayerRefunds/resources/index.js +27 -0
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.d.ts +109 -0
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +433 -0
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/create.d.ts +34 -0
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/create.js +69 -0
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/delete.d.ts +34 -0
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/delete.js +69 -0
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/get.d.ts +28 -0
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/get.js +58 -0
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/getMulti.d.ts +28 -0
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/getMulti.js +58 -0
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/index.d.ts +6 -0
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/index.js +35 -0
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/GetMultiNonInsurancePayerRefundsRequest.d.ts +34 -0
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/GetMultiNonInsurancePayerRefundsRequest.js +5 -0
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/NonInsurancePayerRefundUpdate.d.ts +28 -0
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/NonInsurancePayerRefundUpdate.js +5 -0
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/index.d.ts +2 -0
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/index.js +2 -0
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/update.d.ts +34 -0
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/update.js +69 -0
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/index.d.ts +2 -0
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/index.js +18 -0
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.d.ts +14 -0
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.js +5 -0
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.d.ts +13 -0
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.js +5 -0
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundId.d.ts +8 -0
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundId.js +10 -0
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundSortField.d.ts +8 -0
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundSortField.js +10 -0
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundsPage.d.ts +7 -0
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundsPage.js +5 -0
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/types/index.d.ts +5 -0
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/types/index.js +21 -0
- package/dist/api/resources/nonInsurancePayers/client/Client.d.ts +26 -0
- package/dist/api/resources/nonInsurancePayers/client/Client.js +17 -0
- package/dist/api/resources/nonInsurancePayers/client/index.d.ts +1 -0
- package/dist/api/resources/nonInsurancePayers/client/index.js +2 -0
- package/dist/api/resources/nonInsurancePayers/index.d.ts +2 -0
- package/dist/api/resources/nonInsurancePayers/index.js +18 -0
- package/dist/api/resources/nonInsurancePayers/resources/index.d.ts +1 -0
- package/dist/api/resources/nonInsurancePayers/resources/index.js +27 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +97 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +469 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/create.d.ts +34 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/create.js +69 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/delete.d.ts +28 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/delete.js +58 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/get.d.ts +28 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/get.js +58 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/getMulti.d.ts +28 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/getMulti.js +58 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/index.d.ts +7 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/index.js +36 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/requests/GetMultiNonInsurancePayersRequest.d.ts +28 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/requests/GetMultiNonInsurancePayersRequest.js +5 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/requests/index.js +2 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/toggleEnablement.d.ts +28 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/toggleEnablement.js +58 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/update.d.ts +34 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/update.js +69 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/index.d.ts +2 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/index.js +18 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.d.ts +11 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.js +5 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +11 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.js +5 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerCategoryUpdate.d.ts +17 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerCategoryUpdate.js +5 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerDescriptionUpdate.d.ts +17 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerDescriptionUpdate.js +5 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerId.d.ts +8 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerId.js +10 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerPage.d.ts +7 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerPage.js +5 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerSortField.d.ts +10 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerSortField.js +12 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.d.ts +10 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.js +5 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/ToggleNonInsurancePayerEnablementRequest.d.ts +6 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/ToggleNonInsurancePayerEnablementRequest.js +5 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/index.d.ts +9 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/index.js +25 -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.js +5 -5
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +9 -9
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageEligibilityCheckResponse.d.ts +0 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheck.d.ts +5 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityStatus.d.ts +9 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityStatus.js +11 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanMetadata.d.ts +14 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanMetadata.js +5 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/index.js +2 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +51 -2
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +121 -14
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/createNoDuplicateCheck.d.ts +28 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/createNoDuplicateCheck.js +58 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequestPaginated.d.ts +4 -2
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/serviceLines/resources/v2/types/DrugIdentification.d.ts +1 -0
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/thirdPartyPayers/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/serialization/resources/encounters/resources/v4/types/Vitals.d.ts +2 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Vitals.js +2 -0
- package/dist/serialization/resources/index.d.ts +3 -0
- package/dist/serialization/resources/index.js +4 -1
- package/dist/serialization/resources/nonInsurancePayerPayments/index.d.ts +1 -0
- package/dist/serialization/resources/nonInsurancePayerPayments/index.js +17 -0
- package/dist/serialization/resources/nonInsurancePayerPayments/resources/index.d.ts +1 -0
- package/dist/serialization/resources/nonInsurancePayerPayments/resources/index.js +27 -0
- package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/client/create.d.ts +20 -0
- package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/client/create.js +67 -0
- package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/client/delete.d.ts +20 -0
- package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/client/delete.js +67 -0
- package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/client/get.d.ts +15 -0
- package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/client/get.js +61 -0
- package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/client/getMulti.d.ts +15 -0
- package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/client/getMulti.js +61 -0
- package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/client/index.d.ts +6 -0
- package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/client/index.js +35 -0
- package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/client/requests/UpdateNonInsurancePayerPaymentRequest.d.ts +16 -0
- package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/client/requests/UpdateNonInsurancePayerPaymentRequest.js +37 -0
- package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/client/requests/index.js +5 -0
- package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/client/update.d.ts +20 -0
- package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/client/update.js +67 -0
- package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/index.d.ts +2 -0
- package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/index.js +18 -0
- package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPayment.d.ts +23 -0
- package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPayment.js +44 -0
- package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentCreate.d.ts +21 -0
- package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentCreate.js +42 -0
- package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentId.d.ts +10 -0
- package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentId.js +35 -0
- package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentSortField.d.ts +10 -0
- package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentSortField.js +31 -0
- package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentsPage.d.ts +14 -0
- package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentsPage.js +37 -0
- package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/types/index.d.ts +5 -0
- package/dist/serialization/resources/nonInsurancePayerPayments/resources/v1/types/index.js +21 -0
- package/dist/serialization/resources/nonInsurancePayerRefunds/index.d.ts +1 -0
- package/dist/serialization/resources/nonInsurancePayerRefunds/index.js +17 -0
- package/dist/serialization/resources/nonInsurancePayerRefunds/resources/index.d.ts +1 -0
- package/dist/serialization/resources/nonInsurancePayerRefunds/resources/index.js +27 -0
- package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/create.d.ts +20 -0
- package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/create.js +67 -0
- package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/delete.d.ts +20 -0
- package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/delete.js +67 -0
- package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/get.d.ts +15 -0
- package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/get.js +61 -0
- package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/getMulti.d.ts +15 -0
- package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/getMulti.js +61 -0
- package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/index.d.ts +6 -0
- package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/index.js +35 -0
- package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/requests/NonInsurancePayerRefundUpdate.d.ts +18 -0
- package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/requests/NonInsurancePayerRefundUpdate.js +39 -0
- package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/requests/index.js +5 -0
- package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/update.d.ts +20 -0
- package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/update.js +67 -0
- package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/index.d.ts +2 -0
- package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/index.js +18 -0
- package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.d.ts +24 -0
- package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.js +45 -0
- package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.d.ts +22 -0
- package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.js +43 -0
- package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundId.d.ts +10 -0
- package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundId.js +35 -0
- package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundSortField.d.ts +10 -0
- package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundSortField.js +31 -0
- package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundsPage.d.ts +14 -0
- package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundsPage.js +37 -0
- package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/index.d.ts +5 -0
- package/dist/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/index.js +21 -0
- package/dist/serialization/resources/nonInsurancePayers/index.d.ts +1 -0
- package/dist/serialization/resources/nonInsurancePayers/index.js +17 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/index.d.ts +1 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/index.js +27 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/client/create.d.ts +20 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/client/create.js +67 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/client/delete.d.ts +15 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/client/delete.js +61 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/client/get.d.ts +15 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/client/get.js +61 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/client/getMulti.d.ts +15 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/client/getMulti.js +61 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/client/index.d.ts +6 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/client/index.js +32 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/client/toggleEnablement.d.ts +15 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/client/toggleEnablement.js +61 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/client/update.d.ts +20 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/client/update.js +67 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/index.d.ts +2 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/index.js +18 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.d.ts +14 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.js +35 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +17 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.js +38 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerCategoryUpdate.d.ts +17 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerCategoryUpdate.js +41 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerDescriptionUpdate.d.ts +17 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerDescriptionUpdate.js +41 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerId.d.ts +10 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerId.js +35 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerPage.d.ts +14 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerPage.js +37 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerSortField.d.ts +10 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerSortField.js +31 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.d.ts +16 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.js +37 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/ToggleNonInsurancePayerEnablementRequest.d.ts +12 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/ToggleNonInsurancePayerEnablementRequest.js +33 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/index.d.ts +9 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/index.js +25 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +1 -1
- package/dist/serialization/resources/preEncounter/resources/common/types/ExternalProvider.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageEligibilityCheckResponse.d.ts +0 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageEligibilityCheckResponse.js +0 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheck.d.ts +7 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheck.js +7 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityStatus.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityStatus.js +31 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanMetadata.d.ts +20 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanMetadata.js +41 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.js +2 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/createNoDuplicateCheck.d.ts +15 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/createNoDuplicateCheck.js +61 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
- package/dist/serialization/resources/serviceLines/resources/v2/types/DrugIdentification.d.ts +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/DrugIdentification.js +1 -0
- package/package.json +1 -1
- package/reference.md +1133 -3
- package/serialization/resources/encounters/resources/v4/types/Vitals.d.ts +2 -0
- package/serialization/resources/encounters/resources/v4/types/Vitals.js +2 -0
- package/serialization/resources/index.d.ts +3 -0
- package/serialization/resources/index.js +4 -1
- package/serialization/resources/nonInsurancePayerPayments/index.d.ts +1 -0
- package/serialization/resources/nonInsurancePayerPayments/index.js +17 -0
- package/serialization/resources/nonInsurancePayerPayments/resources/index.d.ts +1 -0
- package/serialization/resources/nonInsurancePayerPayments/resources/index.js +27 -0
- package/serialization/resources/nonInsurancePayerPayments/resources/v1/client/create.d.ts +20 -0
- package/serialization/resources/nonInsurancePayerPayments/resources/v1/client/create.js +67 -0
- package/serialization/resources/nonInsurancePayerPayments/resources/v1/client/delete.d.ts +20 -0
- package/serialization/resources/nonInsurancePayerPayments/resources/v1/client/delete.js +67 -0
- package/serialization/resources/nonInsurancePayerPayments/resources/v1/client/get.d.ts +15 -0
- package/serialization/resources/nonInsurancePayerPayments/resources/v1/client/get.js +61 -0
- package/serialization/resources/nonInsurancePayerPayments/resources/v1/client/getMulti.d.ts +15 -0
- package/serialization/resources/nonInsurancePayerPayments/resources/v1/client/getMulti.js +61 -0
- package/serialization/resources/nonInsurancePayerPayments/resources/v1/client/index.d.ts +6 -0
- package/serialization/resources/nonInsurancePayerPayments/resources/v1/client/index.js +35 -0
- package/serialization/resources/nonInsurancePayerPayments/resources/v1/client/requests/UpdateNonInsurancePayerPaymentRequest.d.ts +16 -0
- package/serialization/resources/nonInsurancePayerPayments/resources/v1/client/requests/UpdateNonInsurancePayerPaymentRequest.js +37 -0
- package/serialization/resources/nonInsurancePayerPayments/resources/v1/client/requests/index.d.ts +1 -0
- package/serialization/resources/nonInsurancePayerPayments/resources/v1/client/requests/index.js +5 -0
- package/serialization/resources/nonInsurancePayerPayments/resources/v1/client/update.d.ts +20 -0
- package/serialization/resources/nonInsurancePayerPayments/resources/v1/client/update.js +67 -0
- package/serialization/resources/nonInsurancePayerPayments/resources/v1/index.d.ts +2 -0
- package/serialization/resources/nonInsurancePayerPayments/resources/v1/index.js +18 -0
- package/serialization/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPayment.d.ts +23 -0
- package/serialization/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPayment.js +44 -0
- package/serialization/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentCreate.d.ts +21 -0
- package/serialization/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentCreate.js +42 -0
- package/serialization/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentId.d.ts +10 -0
- package/serialization/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentId.js +35 -0
- package/serialization/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentSortField.d.ts +10 -0
- package/serialization/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentSortField.js +31 -0
- package/serialization/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentsPage.d.ts +14 -0
- package/serialization/resources/nonInsurancePayerPayments/resources/v1/types/NonInsurancePayerPaymentsPage.js +37 -0
- package/serialization/resources/nonInsurancePayerPayments/resources/v1/types/index.d.ts +5 -0
- package/serialization/resources/nonInsurancePayerPayments/resources/v1/types/index.js +21 -0
- package/serialization/resources/nonInsurancePayerRefunds/index.d.ts +1 -0
- package/serialization/resources/nonInsurancePayerRefunds/index.js +17 -0
- package/serialization/resources/nonInsurancePayerRefunds/resources/index.d.ts +1 -0
- package/serialization/resources/nonInsurancePayerRefunds/resources/index.js +27 -0
- package/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/create.d.ts +20 -0
- package/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/create.js +67 -0
- package/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/delete.d.ts +20 -0
- package/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/delete.js +67 -0
- package/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/get.d.ts +15 -0
- package/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/get.js +61 -0
- package/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/getMulti.d.ts +15 -0
- package/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/getMulti.js +61 -0
- package/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/index.d.ts +6 -0
- package/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/index.js +35 -0
- package/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/requests/NonInsurancePayerRefundUpdate.d.ts +18 -0
- package/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/requests/NonInsurancePayerRefundUpdate.js +39 -0
- package/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/requests/index.d.ts +1 -0
- package/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/requests/index.js +5 -0
- package/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/update.d.ts +20 -0
- package/serialization/resources/nonInsurancePayerRefunds/resources/v1/client/update.js +67 -0
- package/serialization/resources/nonInsurancePayerRefunds/resources/v1/index.d.ts +2 -0
- package/serialization/resources/nonInsurancePayerRefunds/resources/v1/index.js +18 -0
- package/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.d.ts +24 -0
- package/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.js +45 -0
- package/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.d.ts +22 -0
- package/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.js +43 -0
- package/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundId.d.ts +10 -0
- package/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundId.js +35 -0
- package/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundSortField.d.ts +10 -0
- package/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundSortField.js +31 -0
- package/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundsPage.d.ts +14 -0
- package/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundsPage.js +37 -0
- package/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/index.d.ts +5 -0
- package/serialization/resources/nonInsurancePayerRefunds/resources/v1/types/index.js +21 -0
- package/serialization/resources/nonInsurancePayers/index.d.ts +1 -0
- package/serialization/resources/nonInsurancePayers/index.js +17 -0
- package/serialization/resources/nonInsurancePayers/resources/index.d.ts +1 -0
- package/serialization/resources/nonInsurancePayers/resources/index.js +27 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/client/create.d.ts +20 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/client/create.js +67 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/client/delete.d.ts +15 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/client/delete.js +61 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/client/get.d.ts +15 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/client/get.js +61 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/client/getMulti.d.ts +15 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/client/getMulti.js +61 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/client/index.d.ts +6 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/client/index.js +32 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/client/toggleEnablement.d.ts +15 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/client/toggleEnablement.js +61 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/client/update.d.ts +20 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/client/update.js +67 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/index.d.ts +2 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/index.js +18 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.d.ts +14 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.js +35 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +17 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.js +38 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerCategoryUpdate.d.ts +17 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerCategoryUpdate.js +41 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerDescriptionUpdate.d.ts +17 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerDescriptionUpdate.js +41 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerId.d.ts +10 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerId.js +35 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerPage.d.ts +14 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerPage.js +37 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerSortField.d.ts +10 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerSortField.js +31 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.d.ts +16 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.js +37 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/ToggleNonInsurancePayerEnablementRequest.d.ts +12 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/ToggleNonInsurancePayerEnablementRequest.js +33 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/index.d.ts +9 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/index.js +25 -0
- package/serialization/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +1 -1
- package/serialization/resources/preEncounter/resources/common/types/ExternalProvider.js +1 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageEligibilityCheckResponse.d.ts +0 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageEligibilityCheckResponse.js +0 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheck.d.ts +7 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityCheck.js +7 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityStatus.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/EligibilityStatus.js +31 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanMetadata.d.ts +20 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanMetadata.js +41 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.js +2 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/createNoDuplicateCheck.d.ts +15 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/createNoDuplicateCheck.js +61 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
- package/serialization/resources/serviceLines/resources/v2/types/DrugIdentification.d.ts +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/DrugIdentification.js +1 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
import * as core from "../../../../../../core";
|
|
6
|
+
export declare type Error = CandidApi.nonInsurancePayerRefunds.v1.delete.Error.EntityNotFoundError | CandidApi.nonInsurancePayerRefunds.v1.delete.Error.UnprocessableEntityError | CandidApi.nonInsurancePayerRefunds.v1.delete.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface EntityNotFoundError extends _Utils {
|
|
9
|
+
errorName: "EntityNotFoundError";
|
|
10
|
+
content: CandidApi.EntityNotFoundErrorMessage;
|
|
11
|
+
}
|
|
12
|
+
interface UnprocessableEntityError extends _Utils {
|
|
13
|
+
errorName: "UnprocessableEntityError";
|
|
14
|
+
content: CandidApi.UnprocessableEntityErrorMessage;
|
|
15
|
+
}
|
|
16
|
+
interface _Unknown extends _Utils {
|
|
17
|
+
errorName: void;
|
|
18
|
+
content: core.Fetcher.Error;
|
|
19
|
+
}
|
|
20
|
+
interface _Utils {
|
|
21
|
+
_visit: <_Result>(visitor: CandidApi.nonInsurancePayerRefunds.v1.delete.Error._Visitor<_Result>) => _Result;
|
|
22
|
+
}
|
|
23
|
+
interface _Visitor<_Result> {
|
|
24
|
+
entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
|
|
25
|
+
unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => _Result;
|
|
26
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
export declare const Error: {
|
|
30
|
+
readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.nonInsurancePayerRefunds.v1.delete.Error.EntityNotFoundError;
|
|
31
|
+
readonly unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => CandidApi.nonInsurancePayerRefunds.v1.delete.Error.UnprocessableEntityError;
|
|
32
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.nonInsurancePayerRefunds.v1.delete.Error._Unknown;
|
|
33
|
+
readonly _visit: <_Result>(value: CandidApi.nonInsurancePayerRefunds.v1.delete.Error, visitor: CandidApi.nonInsurancePayerRefunds.v1.delete.Error._Visitor<_Result>) => _Result;
|
|
34
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../index"));
|
|
31
|
+
exports.Error = {
|
|
32
|
+
entityNotFoundError: (value) => {
|
|
33
|
+
return {
|
|
34
|
+
content: value,
|
|
35
|
+
errorName: "EntityNotFoundError",
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.nonInsurancePayerRefunds.v1.delete.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
unprocessableEntityError: (value) => {
|
|
42
|
+
return {
|
|
43
|
+
content: value,
|
|
44
|
+
errorName: "UnprocessableEntityError",
|
|
45
|
+
_visit: function (visitor) {
|
|
46
|
+
return CandidApi.nonInsurancePayerRefunds.v1.delete.Error._visit(this, visitor);
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
},
|
|
50
|
+
_unknown: (fetcherError) => {
|
|
51
|
+
return {
|
|
52
|
+
errorName: undefined,
|
|
53
|
+
content: fetcherError,
|
|
54
|
+
_visit: function (visitor) {
|
|
55
|
+
return CandidApi.nonInsurancePayerRefunds.v1.delete.Error._visit(this, visitor);
|
|
56
|
+
},
|
|
57
|
+
};
|
|
58
|
+
},
|
|
59
|
+
_visit: (value, visitor) => {
|
|
60
|
+
switch (value.errorName) {
|
|
61
|
+
case "EntityNotFoundError":
|
|
62
|
+
return visitor.entityNotFoundError(value.content);
|
|
63
|
+
case "UnprocessableEntityError":
|
|
64
|
+
return visitor.unprocessableEntityError(value.content);
|
|
65
|
+
default:
|
|
66
|
+
return visitor._other(value);
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
import * as core from "../../../../../../core";
|
|
6
|
+
export declare type Error = CandidApi.nonInsurancePayerRefunds.v1.get.Error.EntityNotFoundError | CandidApi.nonInsurancePayerRefunds.v1.get.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface EntityNotFoundError extends _Utils {
|
|
9
|
+
errorName: "EntityNotFoundError";
|
|
10
|
+
content: CandidApi.EntityNotFoundErrorMessage;
|
|
11
|
+
}
|
|
12
|
+
interface _Unknown extends _Utils {
|
|
13
|
+
errorName: void;
|
|
14
|
+
content: core.Fetcher.Error;
|
|
15
|
+
}
|
|
16
|
+
interface _Utils {
|
|
17
|
+
_visit: <_Result>(visitor: CandidApi.nonInsurancePayerRefunds.v1.get.Error._Visitor<_Result>) => _Result;
|
|
18
|
+
}
|
|
19
|
+
interface _Visitor<_Result> {
|
|
20
|
+
entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
|
|
21
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
export declare const Error: {
|
|
25
|
+
readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.nonInsurancePayerRefunds.v1.get.Error.EntityNotFoundError;
|
|
26
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.nonInsurancePayerRefunds.v1.get.Error._Unknown;
|
|
27
|
+
readonly _visit: <_Result>(value: CandidApi.nonInsurancePayerRefunds.v1.get.Error, visitor: CandidApi.nonInsurancePayerRefunds.v1.get.Error._Visitor<_Result>) => _Result;
|
|
28
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../index"));
|
|
31
|
+
exports.Error = {
|
|
32
|
+
entityNotFoundError: (value) => {
|
|
33
|
+
return {
|
|
34
|
+
content: value,
|
|
35
|
+
errorName: "EntityNotFoundError",
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.nonInsurancePayerRefunds.v1.get.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
_unknown: (fetcherError) => {
|
|
42
|
+
return {
|
|
43
|
+
errorName: undefined,
|
|
44
|
+
content: fetcherError,
|
|
45
|
+
_visit: function (visitor) {
|
|
46
|
+
return CandidApi.nonInsurancePayerRefunds.v1.get.Error._visit(this, visitor);
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
},
|
|
50
|
+
_visit: (value, visitor) => {
|
|
51
|
+
switch (value.errorName) {
|
|
52
|
+
case "EntityNotFoundError":
|
|
53
|
+
return visitor.entityNotFoundError(value.content);
|
|
54
|
+
default:
|
|
55
|
+
return visitor._other(value);
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
import * as core from "../../../../../../core";
|
|
6
|
+
export declare type Error = CandidApi.nonInsurancePayerRefunds.v1.getMulti.Error.UnprocessableEntityError | CandidApi.nonInsurancePayerRefunds.v1.getMulti.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface UnprocessableEntityError extends _Utils {
|
|
9
|
+
errorName: "UnprocessableEntityError";
|
|
10
|
+
content: CandidApi.UnprocessableEntityErrorMessage;
|
|
11
|
+
}
|
|
12
|
+
interface _Unknown extends _Utils {
|
|
13
|
+
errorName: void;
|
|
14
|
+
content: core.Fetcher.Error;
|
|
15
|
+
}
|
|
16
|
+
interface _Utils {
|
|
17
|
+
_visit: <_Result>(visitor: CandidApi.nonInsurancePayerRefunds.v1.getMulti.Error._Visitor<_Result>) => _Result;
|
|
18
|
+
}
|
|
19
|
+
interface _Visitor<_Result> {
|
|
20
|
+
unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => _Result;
|
|
21
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
export declare const Error: {
|
|
25
|
+
readonly unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => CandidApi.nonInsurancePayerRefunds.v1.getMulti.Error.UnprocessableEntityError;
|
|
26
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.nonInsurancePayerRefunds.v1.getMulti.Error._Unknown;
|
|
27
|
+
readonly _visit: <_Result>(value: CandidApi.nonInsurancePayerRefunds.v1.getMulti.Error, visitor: CandidApi.nonInsurancePayerRefunds.v1.getMulti.Error._Visitor<_Result>) => _Result;
|
|
28
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../index"));
|
|
31
|
+
exports.Error = {
|
|
32
|
+
unprocessableEntityError: (value) => {
|
|
33
|
+
return {
|
|
34
|
+
content: value,
|
|
35
|
+
errorName: "UnprocessableEntityError",
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.nonInsurancePayerRefunds.v1.getMulti.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
_unknown: (fetcherError) => {
|
|
42
|
+
return {
|
|
43
|
+
errorName: undefined,
|
|
44
|
+
content: fetcherError,
|
|
45
|
+
_visit: function (visitor) {
|
|
46
|
+
return CandidApi.nonInsurancePayerRefunds.v1.getMulti.Error._visit(this, visitor);
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
},
|
|
50
|
+
_visit: (value, visitor) => {
|
|
51
|
+
switch (value.errorName) {
|
|
52
|
+
case "UnprocessableEntityError":
|
|
53
|
+
return visitor.unprocessableEntityError(value.content);
|
|
54
|
+
default:
|
|
55
|
+
return visitor._other(value);
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
19
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
20
|
+
};
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.delete = exports.update = exports.create = exports.get = exports.getMulti = void 0;
|
|
30
|
+
__exportStar(require("./requests"), exports);
|
|
31
|
+
exports.getMulti = __importStar(require("./getMulti"));
|
|
32
|
+
exports.get = __importStar(require("./get"));
|
|
33
|
+
exports.create = __importStar(require("./create"));
|
|
34
|
+
exports.update = __importStar(require("./update"));
|
|
35
|
+
exports.delete = __importStar(require("./delete"));
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* limit: 1,
|
|
9
|
+
* nonInsurancePayerId: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
10
|
+
* checkNumber: "string",
|
|
11
|
+
* invoiceId: CandidApi.InvoiceId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
12
|
+
* sort: CandidApi.nonInsurancePayerRefunds.v1.NonInsurancePayerRefundSortField.AmountCents,
|
|
13
|
+
* sortDirection: CandidApi.SortDirection.Asc,
|
|
14
|
+
* pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9")
|
|
15
|
+
* }
|
|
16
|
+
*/
|
|
17
|
+
export interface GetMultiNonInsurancePayerRefundsRequest {
|
|
18
|
+
/**
|
|
19
|
+
* Defaults to 100. The value must be greater than 0 and less than 1000.
|
|
20
|
+
*/
|
|
21
|
+
limit?: number;
|
|
22
|
+
nonInsurancePayerId?: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId;
|
|
23
|
+
checkNumber?: string | string[];
|
|
24
|
+
invoiceId?: CandidApi.InvoiceId;
|
|
25
|
+
/**
|
|
26
|
+
* Defaults to refund_timestamp
|
|
27
|
+
*/
|
|
28
|
+
sort?: CandidApi.nonInsurancePayerRefunds.v1.NonInsurancePayerRefundSortField;
|
|
29
|
+
/**
|
|
30
|
+
* Sort direction. Defaults to descending order if not provided.
|
|
31
|
+
*/
|
|
32
|
+
sortDirection?: CandidApi.SortDirection;
|
|
33
|
+
pageToken?: CandidApi.PageToken;
|
|
34
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* refundTimestamp: new Date("2024-01-15T09:30:00.000Z"),
|
|
9
|
+
* refundNote: {
|
|
10
|
+
* type: "set",
|
|
11
|
+
* value: "string"
|
|
12
|
+
* },
|
|
13
|
+
* refundReason: {
|
|
14
|
+
* type: "set",
|
|
15
|
+
* value: CandidApi.RefundReason.Overcharged
|
|
16
|
+
* },
|
|
17
|
+
* invoiceId: {
|
|
18
|
+
* type: "set",
|
|
19
|
+
* value: CandidApi.InvoiceId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
20
|
+
* }
|
|
21
|
+
* }
|
|
22
|
+
*/
|
|
23
|
+
export interface NonInsurancePayerRefundUpdate {
|
|
24
|
+
refundTimestamp?: Date;
|
|
25
|
+
refundNote?: CandidApi.NoteUpdate;
|
|
26
|
+
refundReason?: CandidApi.RefundReasonUpdate;
|
|
27
|
+
invoiceId?: CandidApi.InvoiceUpdate;
|
|
28
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
import * as core from "../../../../../../core";
|
|
6
|
+
export declare type Error = CandidApi.nonInsurancePayerRefunds.v1.update.Error.EntityNotFoundError | CandidApi.nonInsurancePayerRefunds.v1.update.Error.UnprocessableEntityError | CandidApi.nonInsurancePayerRefunds.v1.update.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface EntityNotFoundError extends _Utils {
|
|
9
|
+
errorName: "EntityNotFoundError";
|
|
10
|
+
content: CandidApi.EntityNotFoundErrorMessage;
|
|
11
|
+
}
|
|
12
|
+
interface UnprocessableEntityError extends _Utils {
|
|
13
|
+
errorName: "UnprocessableEntityError";
|
|
14
|
+
content: CandidApi.UnprocessableEntityErrorMessage;
|
|
15
|
+
}
|
|
16
|
+
interface _Unknown extends _Utils {
|
|
17
|
+
errorName: void;
|
|
18
|
+
content: core.Fetcher.Error;
|
|
19
|
+
}
|
|
20
|
+
interface _Utils {
|
|
21
|
+
_visit: <_Result>(visitor: CandidApi.nonInsurancePayerRefunds.v1.update.Error._Visitor<_Result>) => _Result;
|
|
22
|
+
}
|
|
23
|
+
interface _Visitor<_Result> {
|
|
24
|
+
entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
|
|
25
|
+
unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => _Result;
|
|
26
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
export declare const Error: {
|
|
30
|
+
readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.nonInsurancePayerRefunds.v1.update.Error.EntityNotFoundError;
|
|
31
|
+
readonly unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => CandidApi.nonInsurancePayerRefunds.v1.update.Error.UnprocessableEntityError;
|
|
32
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.nonInsurancePayerRefunds.v1.update.Error._Unknown;
|
|
33
|
+
readonly _visit: <_Result>(value: CandidApi.nonInsurancePayerRefunds.v1.update.Error, visitor: CandidApi.nonInsurancePayerRefunds.v1.update.Error._Visitor<_Result>) => _Result;
|
|
34
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../index"));
|
|
31
|
+
exports.Error = {
|
|
32
|
+
entityNotFoundError: (value) => {
|
|
33
|
+
return {
|
|
34
|
+
content: value,
|
|
35
|
+
errorName: "EntityNotFoundError",
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.nonInsurancePayerRefunds.v1.update.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
unprocessableEntityError: (value) => {
|
|
42
|
+
return {
|
|
43
|
+
content: value,
|
|
44
|
+
errorName: "UnprocessableEntityError",
|
|
45
|
+
_visit: function (visitor) {
|
|
46
|
+
return CandidApi.nonInsurancePayerRefunds.v1.update.Error._visit(this, visitor);
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
},
|
|
50
|
+
_unknown: (fetcherError) => {
|
|
51
|
+
return {
|
|
52
|
+
errorName: undefined,
|
|
53
|
+
content: fetcherError,
|
|
54
|
+
_visit: function (visitor) {
|
|
55
|
+
return CandidApi.nonInsurancePayerRefunds.v1.update.Error._visit(this, visitor);
|
|
56
|
+
},
|
|
57
|
+
};
|
|
58
|
+
},
|
|
59
|
+
_visit: (value, visitor) => {
|
|
60
|
+
switch (value.errorName) {
|
|
61
|
+
case "EntityNotFoundError":
|
|
62
|
+
return visitor.entityNotFoundError(value.content);
|
|
63
|
+
case "UnprocessableEntityError":
|
|
64
|
+
return visitor.unprocessableEntityError(value.content);
|
|
65
|
+
default:
|
|
66
|
+
return visitor._other(value);
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
18
|
+
__exportStar(require("./client"), exports);
|
package/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefund.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
export interface NonInsurancePayerRefund {
|
|
6
|
+
nonInsurancePayerRefundId: CandidApi.nonInsurancePayerRefunds.v1.NonInsurancePayerRefundId;
|
|
7
|
+
nonInsurancePayer: CandidApi.nonInsurancePayers.v1.NonInsurancePayer;
|
|
8
|
+
amountCents: number;
|
|
9
|
+
refundTimestamp?: Date;
|
|
10
|
+
refundNote?: string;
|
|
11
|
+
allocations: CandidApi.Allocation[];
|
|
12
|
+
refundReason?: CandidApi.RefundReason;
|
|
13
|
+
invoiceId?: CandidApi.InvoiceId;
|
|
14
|
+
}
|
package/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundCreate.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
export interface NonInsurancePayerRefundCreate {
|
|
6
|
+
nonInsurancePayerId: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId;
|
|
7
|
+
invoiceId?: CandidApi.InvoiceId;
|
|
8
|
+
amountCents: number;
|
|
9
|
+
refundTimestamp?: Date;
|
|
10
|
+
refundNote?: string;
|
|
11
|
+
allocations: CandidApi.AllocationCreate[];
|
|
12
|
+
refundReason?: CandidApi.RefundReason;
|
|
13
|
+
}
|
package/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundId.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
export declare type NonInsurancePayerRefundId = string & {
|
|
6
|
+
nonInsurancePayerRefunds_v1_NonInsurancePayerRefundId: void;
|
|
7
|
+
};
|
|
8
|
+
export declare function NonInsurancePayerRefundId(value: string): CandidApi.nonInsurancePayerRefunds.v1.NonInsurancePayerRefundId;
|
package/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundId.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.NonInsurancePayerRefundId = void 0;
|
|
7
|
+
function NonInsurancePayerRefundId(value) {
|
|
8
|
+
return value;
|
|
9
|
+
}
|
|
10
|
+
exports.NonInsurancePayerRefundId = NonInsurancePayerRefundId;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export declare type NonInsurancePayerRefundSortField = "amount_cents" | "refund_timestamp";
|
|
5
|
+
export declare const NonInsurancePayerRefundSortField: {
|
|
6
|
+
readonly AmountCents: "amount_cents";
|
|
7
|
+
readonly RefundTimestamp: "refund_timestamp";
|
|
8
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.NonInsurancePayerRefundSortField = void 0;
|
|
7
|
+
exports.NonInsurancePayerRefundSortField = {
|
|
8
|
+
AmountCents: "amount_cents",
|
|
9
|
+
RefundTimestamp: "refund_timestamp",
|
|
10
|
+
};
|
package/api/resources/nonInsurancePayerRefunds/resources/v1/types/NonInsurancePayerRefundsPage.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
export interface NonInsurancePayerRefundsPage extends CandidApi.ResourcePage {
|
|
6
|
+
items: CandidApi.nonInsurancePayerRefunds.v1.NonInsurancePayerRefund[];
|
|
7
|
+
}
|