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,422 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
38
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
39
|
+
};
|
|
40
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
41
|
+
exports.V1 = void 0;
|
|
42
|
+
const environments = __importStar(require("../../../../../../environments"));
|
|
43
|
+
const core = __importStar(require("../../../../../../core"));
|
|
44
|
+
const CandidApi = __importStar(require("../../../../../index"));
|
|
45
|
+
const url_join_1 = __importDefault(require("url-join"));
|
|
46
|
+
const serializers = __importStar(require("../../../../../../serialization/index"));
|
|
47
|
+
class V1 {
|
|
48
|
+
constructor(_options = {}) {
|
|
49
|
+
this._options = _options;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Returns all non-insurance payer payments
|
|
53
|
+
*
|
|
54
|
+
* @param {CandidApi.nonInsurancePayerPayments.v1.GetMultiNonInsurancePayerPaymentRequest} request
|
|
55
|
+
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
56
|
+
*
|
|
57
|
+
* @example
|
|
58
|
+
* await client.nonInsurancePayerPayments.v1.getMulti({
|
|
59
|
+
* limit: 1,
|
|
60
|
+
* nonInsurancePayerId: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
61
|
+
* checkNumber: "string",
|
|
62
|
+
* invoiceId: CandidApi.InvoiceId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
63
|
+
* sort: CandidApi.nonInsurancePayerPayments.v1.NonInsurancePayerPaymentSortField.AmountCents,
|
|
64
|
+
* sortDirection: CandidApi.SortDirection.Asc,
|
|
65
|
+
* pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9")
|
|
66
|
+
* })
|
|
67
|
+
*/
|
|
68
|
+
getMulti(request = {}, requestOptions) {
|
|
69
|
+
var _a, _b;
|
|
70
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
71
|
+
const { limit, nonInsurancePayerId, checkNumber, invoiceId, sort, sortDirection, pageToken } = request;
|
|
72
|
+
const _queryParams = {};
|
|
73
|
+
if (limit != null) {
|
|
74
|
+
_queryParams["limit"] = limit.toString();
|
|
75
|
+
}
|
|
76
|
+
if (nonInsurancePayerId != null) {
|
|
77
|
+
_queryParams["non_insurance_payer_id"] = nonInsurancePayerId;
|
|
78
|
+
}
|
|
79
|
+
if (checkNumber != null) {
|
|
80
|
+
if (Array.isArray(checkNumber)) {
|
|
81
|
+
_queryParams["check_number"] = checkNumber.map((item) => item);
|
|
82
|
+
}
|
|
83
|
+
else {
|
|
84
|
+
_queryParams["check_number"] = checkNumber;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
if (invoiceId != null) {
|
|
88
|
+
_queryParams["invoice_id"] = invoiceId;
|
|
89
|
+
}
|
|
90
|
+
if (sort != null) {
|
|
91
|
+
_queryParams["sort"] = sort;
|
|
92
|
+
}
|
|
93
|
+
if (sortDirection != null) {
|
|
94
|
+
_queryParams["sort_direction"] = sortDirection;
|
|
95
|
+
}
|
|
96
|
+
if (pageToken != null) {
|
|
97
|
+
_queryParams["page_token"] = pageToken;
|
|
98
|
+
}
|
|
99
|
+
const _response = yield core.fetcher({
|
|
100
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
101
|
+
.candidApi, "/api/non-insurance-payer-payments/v1"),
|
|
102
|
+
method: "GET",
|
|
103
|
+
headers: {
|
|
104
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
105
|
+
"X-Fern-Language": "JavaScript",
|
|
106
|
+
"X-Fern-SDK-Name": "candidhealth",
|
|
107
|
+
"X-Fern-SDK-Version": "0.30.0",
|
|
108
|
+
"X-Fern-Runtime": core.RUNTIME.type,
|
|
109
|
+
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
110
|
+
},
|
|
111
|
+
contentType: "application/json",
|
|
112
|
+
queryParameters: _queryParams,
|
|
113
|
+
requestType: "json",
|
|
114
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
115
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
116
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
117
|
+
});
|
|
118
|
+
if (_response.ok) {
|
|
119
|
+
return {
|
|
120
|
+
ok: true,
|
|
121
|
+
body: serializers.nonInsurancePayerPayments.v1.NonInsurancePayerPaymentsPage.parseOrThrow(_response.body, {
|
|
122
|
+
unrecognizedObjectKeys: "passthrough",
|
|
123
|
+
allowUnrecognizedUnionMembers: true,
|
|
124
|
+
allowUnrecognizedEnumValues: true,
|
|
125
|
+
breadcrumbsPrefix: ["response"],
|
|
126
|
+
}),
|
|
127
|
+
};
|
|
128
|
+
}
|
|
129
|
+
if (_response.error.reason === "status-code") {
|
|
130
|
+
switch ((_b = _response.error.body) === null || _b === void 0 ? void 0 : _b.errorName) {
|
|
131
|
+
case "UnprocessableEntityError":
|
|
132
|
+
return {
|
|
133
|
+
ok: false,
|
|
134
|
+
error: serializers.nonInsurancePayerPayments.v1.getMulti.Error.parseOrThrow(_response.error.body, {
|
|
135
|
+
unrecognizedObjectKeys: "passthrough",
|
|
136
|
+
allowUnrecognizedUnionMembers: true,
|
|
137
|
+
allowUnrecognizedEnumValues: true,
|
|
138
|
+
breadcrumbsPrefix: ["response"],
|
|
139
|
+
}),
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
return {
|
|
144
|
+
ok: false,
|
|
145
|
+
error: CandidApi.nonInsurancePayerPayments.v1.getMulti.Error._unknown(_response.error),
|
|
146
|
+
};
|
|
147
|
+
});
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* Retrieves a previously created non-insurance payer payment by its `non_insurance_payer_payment_id`.
|
|
151
|
+
*
|
|
152
|
+
* @param {CandidApi.nonInsurancePayerPayments.v1.NonInsurancePayerPaymentId} nonInsurancePayerPaymentId
|
|
153
|
+
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
154
|
+
*
|
|
155
|
+
* @example
|
|
156
|
+
* await client.nonInsurancePayerPayments.v1.get(CandidApi.nonInsurancePayerPayments.v1.NonInsurancePayerPaymentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
|
|
157
|
+
*/
|
|
158
|
+
get(nonInsurancePayerPaymentId, requestOptions) {
|
|
159
|
+
var _a, _b;
|
|
160
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
161
|
+
const _response = yield core.fetcher({
|
|
162
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
163
|
+
.candidApi, `/api/non-insurance-payer-payments/v1/${encodeURIComponent(serializers.nonInsurancePayerPayments.v1.NonInsurancePayerPaymentId.jsonOrThrow(nonInsurancePayerPaymentId))}`),
|
|
164
|
+
method: "GET",
|
|
165
|
+
headers: {
|
|
166
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
167
|
+
"X-Fern-Language": "JavaScript",
|
|
168
|
+
"X-Fern-SDK-Name": "candidhealth",
|
|
169
|
+
"X-Fern-SDK-Version": "0.30.0",
|
|
170
|
+
"X-Fern-Runtime": core.RUNTIME.type,
|
|
171
|
+
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
172
|
+
},
|
|
173
|
+
contentType: "application/json",
|
|
174
|
+
requestType: "json",
|
|
175
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
176
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
177
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
178
|
+
});
|
|
179
|
+
if (_response.ok) {
|
|
180
|
+
return {
|
|
181
|
+
ok: true,
|
|
182
|
+
body: serializers.nonInsurancePayerPayments.v1.NonInsurancePayerPayment.parseOrThrow(_response.body, {
|
|
183
|
+
unrecognizedObjectKeys: "passthrough",
|
|
184
|
+
allowUnrecognizedUnionMembers: true,
|
|
185
|
+
allowUnrecognizedEnumValues: true,
|
|
186
|
+
breadcrumbsPrefix: ["response"],
|
|
187
|
+
}),
|
|
188
|
+
};
|
|
189
|
+
}
|
|
190
|
+
if (_response.error.reason === "status-code") {
|
|
191
|
+
switch ((_b = _response.error.body) === null || _b === void 0 ? void 0 : _b.errorName) {
|
|
192
|
+
case "EntityNotFoundError":
|
|
193
|
+
return {
|
|
194
|
+
ok: false,
|
|
195
|
+
error: serializers.nonInsurancePayerPayments.v1.get.Error.parseOrThrow(_response.error.body, {
|
|
196
|
+
unrecognizedObjectKeys: "passthrough",
|
|
197
|
+
allowUnrecognizedUnionMembers: true,
|
|
198
|
+
allowUnrecognizedEnumValues: true,
|
|
199
|
+
breadcrumbsPrefix: ["response"],
|
|
200
|
+
}),
|
|
201
|
+
};
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
return {
|
|
205
|
+
ok: false,
|
|
206
|
+
error: CandidApi.nonInsurancePayerPayments.v1.get.Error._unknown(_response.error),
|
|
207
|
+
};
|
|
208
|
+
});
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* @param {CandidApi.nonInsurancePayerPayments.v1.NonInsurancePayerPaymentCreate} request
|
|
212
|
+
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
213
|
+
*
|
|
214
|
+
* @example
|
|
215
|
+
* await client.nonInsurancePayerPayments.v1.create({
|
|
216
|
+
* nonInsurancePayerId: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
217
|
+
* amountCents: 1,
|
|
218
|
+
* paymentTimestamp: new Date("2024-01-15T09:30:00.000Z"),
|
|
219
|
+
* paymentNote: "string",
|
|
220
|
+
* checkNumber: "string",
|
|
221
|
+
* allocations: [{}],
|
|
222
|
+
* invoiceId: CandidApi.InvoiceId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
223
|
+
* })
|
|
224
|
+
*/
|
|
225
|
+
create(request, requestOptions) {
|
|
226
|
+
var _a, _b;
|
|
227
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
228
|
+
const _response = yield core.fetcher({
|
|
229
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
230
|
+
.candidApi, "/api/non-insurance-payer-payments/v1"),
|
|
231
|
+
method: "POST",
|
|
232
|
+
headers: {
|
|
233
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
234
|
+
"X-Fern-Language": "JavaScript",
|
|
235
|
+
"X-Fern-SDK-Name": "candidhealth",
|
|
236
|
+
"X-Fern-SDK-Version": "0.30.0",
|
|
237
|
+
"X-Fern-Runtime": core.RUNTIME.type,
|
|
238
|
+
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
239
|
+
},
|
|
240
|
+
contentType: "application/json",
|
|
241
|
+
requestType: "json",
|
|
242
|
+
body: serializers.nonInsurancePayerPayments.v1.NonInsurancePayerPaymentCreate.jsonOrThrow(request, {
|
|
243
|
+
unrecognizedObjectKeys: "strip",
|
|
244
|
+
}),
|
|
245
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
246
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
247
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
248
|
+
});
|
|
249
|
+
if (_response.ok) {
|
|
250
|
+
return {
|
|
251
|
+
ok: true,
|
|
252
|
+
body: serializers.nonInsurancePayerPayments.v1.NonInsurancePayerPayment.parseOrThrow(_response.body, {
|
|
253
|
+
unrecognizedObjectKeys: "passthrough",
|
|
254
|
+
allowUnrecognizedUnionMembers: true,
|
|
255
|
+
allowUnrecognizedEnumValues: true,
|
|
256
|
+
breadcrumbsPrefix: ["response"],
|
|
257
|
+
}),
|
|
258
|
+
};
|
|
259
|
+
}
|
|
260
|
+
if (_response.error.reason === "status-code") {
|
|
261
|
+
switch ((_b = _response.error.body) === null || _b === void 0 ? void 0 : _b.errorName) {
|
|
262
|
+
case "EntityNotFoundError":
|
|
263
|
+
case "UnprocessableEntityError":
|
|
264
|
+
return {
|
|
265
|
+
ok: false,
|
|
266
|
+
error: serializers.nonInsurancePayerPayments.v1.create.Error.parseOrThrow(_response.error.body, {
|
|
267
|
+
unrecognizedObjectKeys: "passthrough",
|
|
268
|
+
allowUnrecognizedUnionMembers: true,
|
|
269
|
+
allowUnrecognizedEnumValues: true,
|
|
270
|
+
breadcrumbsPrefix: ["response"],
|
|
271
|
+
}),
|
|
272
|
+
};
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
return {
|
|
276
|
+
ok: false,
|
|
277
|
+
error: CandidApi.nonInsurancePayerPayments.v1.create.Error._unknown(_response.error),
|
|
278
|
+
};
|
|
279
|
+
});
|
|
280
|
+
}
|
|
281
|
+
/**
|
|
282
|
+
* @param {CandidApi.nonInsurancePayerPayments.v1.NonInsurancePayerPaymentId} nonInsurancePayerPaymentId
|
|
283
|
+
* @param {CandidApi.nonInsurancePayerPayments.v1.UpdateNonInsurancePayerPaymentRequest} request
|
|
284
|
+
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
285
|
+
*
|
|
286
|
+
* @example
|
|
287
|
+
* await client.nonInsurancePayerPayments.v1.update(CandidApi.nonInsurancePayerPayments.v1.NonInsurancePayerPaymentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
288
|
+
* paymentTimestamp: new Date("2024-01-15T09:30:00.000Z"),
|
|
289
|
+
* paymentNote: {
|
|
290
|
+
* type: "set",
|
|
291
|
+
* value: "string"
|
|
292
|
+
* },
|
|
293
|
+
* invoiceId: {
|
|
294
|
+
* type: "set",
|
|
295
|
+
* value: CandidApi.InvoiceId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
296
|
+
* }
|
|
297
|
+
* })
|
|
298
|
+
*/
|
|
299
|
+
update(nonInsurancePayerPaymentId, request = {}, requestOptions) {
|
|
300
|
+
var _a, _b;
|
|
301
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
302
|
+
const _response = yield core.fetcher({
|
|
303
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
304
|
+
.candidApi, `/api/non-insurance-payer-payments/v1/${encodeURIComponent(serializers.nonInsurancePayerPayments.v1.NonInsurancePayerPaymentId.jsonOrThrow(nonInsurancePayerPaymentId))}`),
|
|
305
|
+
method: "PATCH",
|
|
306
|
+
headers: {
|
|
307
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
308
|
+
"X-Fern-Language": "JavaScript",
|
|
309
|
+
"X-Fern-SDK-Name": "candidhealth",
|
|
310
|
+
"X-Fern-SDK-Version": "0.30.0",
|
|
311
|
+
"X-Fern-Runtime": core.RUNTIME.type,
|
|
312
|
+
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
313
|
+
},
|
|
314
|
+
contentType: "application/json",
|
|
315
|
+
requestType: "json",
|
|
316
|
+
body: serializers.nonInsurancePayerPayments.v1.UpdateNonInsurancePayerPaymentRequest.jsonOrThrow(request, {
|
|
317
|
+
unrecognizedObjectKeys: "strip",
|
|
318
|
+
}),
|
|
319
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
320
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
321
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
322
|
+
});
|
|
323
|
+
if (_response.ok) {
|
|
324
|
+
return {
|
|
325
|
+
ok: true,
|
|
326
|
+
body: serializers.nonInsurancePayerPayments.v1.NonInsurancePayerPayment.parseOrThrow(_response.body, {
|
|
327
|
+
unrecognizedObjectKeys: "passthrough",
|
|
328
|
+
allowUnrecognizedUnionMembers: true,
|
|
329
|
+
allowUnrecognizedEnumValues: true,
|
|
330
|
+
breadcrumbsPrefix: ["response"],
|
|
331
|
+
}),
|
|
332
|
+
};
|
|
333
|
+
}
|
|
334
|
+
if (_response.error.reason === "status-code") {
|
|
335
|
+
switch ((_b = _response.error.body) === null || _b === void 0 ? void 0 : _b.errorName) {
|
|
336
|
+
case "EntityNotFoundError":
|
|
337
|
+
case "UnprocessableEntityError":
|
|
338
|
+
return {
|
|
339
|
+
ok: false,
|
|
340
|
+
error: serializers.nonInsurancePayerPayments.v1.update.Error.parseOrThrow(_response.error.body, {
|
|
341
|
+
unrecognizedObjectKeys: "passthrough",
|
|
342
|
+
allowUnrecognizedUnionMembers: true,
|
|
343
|
+
allowUnrecognizedEnumValues: true,
|
|
344
|
+
breadcrumbsPrefix: ["response"],
|
|
345
|
+
}),
|
|
346
|
+
};
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
return {
|
|
350
|
+
ok: false,
|
|
351
|
+
error: CandidApi.nonInsurancePayerPayments.v1.update.Error._unknown(_response.error),
|
|
352
|
+
};
|
|
353
|
+
});
|
|
354
|
+
}
|
|
355
|
+
/**
|
|
356
|
+
* Deletes the non-insurance payer payment record matching the provided `non_insurance_payer_payment_id`.
|
|
357
|
+
*
|
|
358
|
+
* @param {CandidApi.nonInsurancePayerPayments.v1.NonInsurancePayerPaymentId} nonInsurancePayerPaymentId
|
|
359
|
+
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
360
|
+
*
|
|
361
|
+
* @example
|
|
362
|
+
* await client.nonInsurancePayerPayments.v1.delete(CandidApi.nonInsurancePayerPayments.v1.NonInsurancePayerPaymentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
|
|
363
|
+
*/
|
|
364
|
+
delete(nonInsurancePayerPaymentId, requestOptions) {
|
|
365
|
+
var _a, _b;
|
|
366
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
367
|
+
const _response = yield core.fetcher({
|
|
368
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
369
|
+
.candidApi, `/api/non-insurance-payer-payments/v1/${encodeURIComponent(serializers.nonInsurancePayerPayments.v1.NonInsurancePayerPaymentId.jsonOrThrow(nonInsurancePayerPaymentId))}`),
|
|
370
|
+
method: "DELETE",
|
|
371
|
+
headers: {
|
|
372
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
373
|
+
"X-Fern-Language": "JavaScript",
|
|
374
|
+
"X-Fern-SDK-Name": "candidhealth",
|
|
375
|
+
"X-Fern-SDK-Version": "0.30.0",
|
|
376
|
+
"X-Fern-Runtime": core.RUNTIME.type,
|
|
377
|
+
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
378
|
+
},
|
|
379
|
+
contentType: "application/json",
|
|
380
|
+
requestType: "json",
|
|
381
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
382
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
383
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
384
|
+
});
|
|
385
|
+
if (_response.ok) {
|
|
386
|
+
return {
|
|
387
|
+
ok: true,
|
|
388
|
+
body: undefined,
|
|
389
|
+
};
|
|
390
|
+
}
|
|
391
|
+
if (_response.error.reason === "status-code") {
|
|
392
|
+
switch ((_b = _response.error.body) === null || _b === void 0 ? void 0 : _b.errorName) {
|
|
393
|
+
case "EntityNotFoundError":
|
|
394
|
+
case "UnprocessableEntityError":
|
|
395
|
+
return {
|
|
396
|
+
ok: false,
|
|
397
|
+
error: serializers.nonInsurancePayerPayments.v1.delete.Error.parseOrThrow(_response.error.body, {
|
|
398
|
+
unrecognizedObjectKeys: "passthrough",
|
|
399
|
+
allowUnrecognizedUnionMembers: true,
|
|
400
|
+
allowUnrecognizedEnumValues: true,
|
|
401
|
+
breadcrumbsPrefix: ["response"],
|
|
402
|
+
}),
|
|
403
|
+
};
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
return {
|
|
407
|
+
ok: false,
|
|
408
|
+
error: CandidApi.nonInsurancePayerPayments.v1.delete.Error._unknown(_response.error),
|
|
409
|
+
};
|
|
410
|
+
});
|
|
411
|
+
}
|
|
412
|
+
_getAuthorizationHeader() {
|
|
413
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
414
|
+
const bearer = yield core.Supplier.get(this._options.token);
|
|
415
|
+
if (bearer != null) {
|
|
416
|
+
return `Bearer ${bearer}`;
|
|
417
|
+
}
|
|
418
|
+
return undefined;
|
|
419
|
+
});
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
exports.V1 = V1;
|
|
@@ -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.nonInsurancePayerPayments.v1.create.Error.EntityNotFoundError | CandidApi.nonInsurancePayerPayments.v1.create.Error.UnprocessableEntityError | CandidApi.nonInsurancePayerPayments.v1.create.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.nonInsurancePayerPayments.v1.create.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.nonInsurancePayerPayments.v1.create.Error.EntityNotFoundError;
|
|
31
|
+
readonly unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => CandidApi.nonInsurancePayerPayments.v1.create.Error.UnprocessableEntityError;
|
|
32
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.nonInsurancePayerPayments.v1.create.Error._Unknown;
|
|
33
|
+
readonly _visit: <_Result>(value: CandidApi.nonInsurancePayerPayments.v1.create.Error, visitor: CandidApi.nonInsurancePayerPayments.v1.create.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.nonInsurancePayerPayments.v1.create.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.nonInsurancePayerPayments.v1.create.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.nonInsurancePayerPayments.v1.create.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,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.nonInsurancePayerPayments.v1.delete.Error.EntityNotFoundError | CandidApi.nonInsurancePayerPayments.v1.delete.Error.UnprocessableEntityError | CandidApi.nonInsurancePayerPayments.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.nonInsurancePayerPayments.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.nonInsurancePayerPayments.v1.delete.Error.EntityNotFoundError;
|
|
31
|
+
readonly unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => CandidApi.nonInsurancePayerPayments.v1.delete.Error.UnprocessableEntityError;
|
|
32
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.nonInsurancePayerPayments.v1.delete.Error._Unknown;
|
|
33
|
+
readonly _visit: <_Result>(value: CandidApi.nonInsurancePayerPayments.v1.delete.Error, visitor: CandidApi.nonInsurancePayerPayments.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.nonInsurancePayerPayments.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.nonInsurancePayerPayments.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.nonInsurancePayerPayments.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.nonInsurancePayerPayments.v1.get.Error.EntityNotFoundError | CandidApi.nonInsurancePayerPayments.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.nonInsurancePayerPayments.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.nonInsurancePayerPayments.v1.get.Error.EntityNotFoundError;
|
|
26
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.nonInsurancePayerPayments.v1.get.Error._Unknown;
|
|
27
|
+
readonly _visit: <_Result>(value: CandidApi.nonInsurancePayerPayments.v1.get.Error, visitor: CandidApi.nonInsurancePayerPayments.v1.get.Error._Visitor<_Result>) => _Result;
|
|
28
|
+
};
|