candidhealth 0.24.7 → 0.26.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 +12 -0
- package/Client.js +28 -8
- 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/commons/types/AppointmentId.d.ts +8 -0
- package/api/resources/commons/types/AppointmentId.js +10 -0
- package/api/resources/commons/types/index.d.ts +1 -0
- package/api/resources/commons/types/index.js +1 -0
- 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.js +4 -4
- 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/financials/types/AllocationTarget.d.ts +4 -1
- package/api/resources/financials/types/AllocationTargetCreate.d.ts +5 -1
- package/api/resources/financials/types/AppointmentAllocationTarget.d.ts +7 -0
- package/api/resources/financials/types/AppointmentAllocationTarget.js +5 -0
- package/api/resources/financials/types/index.d.ts +1 -0
- package/api/resources/financials/types/index.js +1 -0
- 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/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/coverages/resources/v1/client/Client.js +6 -6
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +7 -7
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceLines/client/Client.d.ts +26 -0
- package/api/resources/serviceLines/client/Client.js +17 -0
- package/api/resources/serviceLines/client/index.d.ts +1 -0
- package/api/resources/serviceLines/client/index.js +2 -0
- package/api/resources/serviceLines/index.d.ts +1 -0
- package/api/resources/serviceLines/index.js +1 -0
- package/api/resources/serviceLines/resources/v2/client/Client.d.ts +92 -0
- package/api/resources/serviceLines/resources/v2/client/Client.js +238 -0
- package/api/resources/serviceLines/resources/v2/client/create.d.ts +28 -0
- package/api/resources/serviceLines/resources/v2/client/create.js +58 -0
- package/api/resources/serviceLines/resources/v2/client/index.d.ts +2 -0
- package/api/resources/serviceLines/resources/v2/client/index.js +28 -0
- package/api/resources/serviceLines/resources/v2/client/update.d.ts +40 -0
- package/api/resources/serviceLines/resources/v2/client/update.js +80 -0
- package/api/resources/serviceLines/resources/v2/index.d.ts +1 -0
- package/api/resources/serviceLines/resources/v2/index.js +1 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +36 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +5 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +37 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +5 -0
- package/api/resources/serviceLines/resources/v2/types/index.d.ts +2 -0
- package/api/resources/serviceLines/resources/v2/types/index.js +2 -0
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/thirdPartyPayerPayments/client/Client.d.ts +26 -0
- package/api/resources/thirdPartyPayerPayments/client/Client.js +17 -0
- package/api/resources/thirdPartyPayerPayments/client/index.d.ts +1 -0
- package/api/resources/thirdPartyPayerPayments/client/index.js +2 -0
- package/api/resources/thirdPartyPayerPayments/index.d.ts +2 -0
- package/api/resources/thirdPartyPayerPayments/index.js +18 -0
- package/api/resources/thirdPartyPayerPayments/resources/index.d.ts +1 -0
- package/api/resources/thirdPartyPayerPayments/resources/index.js +27 -0
- package/api/resources/thirdPartyPayerPayments/resources/v1/client/Client.d.ts +98 -0
- package/api/resources/thirdPartyPayerPayments/resources/v1/client/Client.js +422 -0
- package/api/resources/thirdPartyPayerPayments/resources/v1/client/create.d.ts +34 -0
- package/api/resources/thirdPartyPayerPayments/resources/v1/client/create.js +69 -0
- package/api/resources/thirdPartyPayerPayments/resources/v1/client/delete.d.ts +34 -0
- package/api/resources/thirdPartyPayerPayments/resources/v1/client/delete.js +69 -0
- package/api/resources/thirdPartyPayerPayments/resources/v1/client/get.d.ts +28 -0
- package/api/resources/thirdPartyPayerPayments/resources/v1/client/get.js +58 -0
- package/api/resources/thirdPartyPayerPayments/resources/v1/client/getMulti.d.ts +28 -0
- package/api/resources/thirdPartyPayerPayments/resources/v1/client/getMulti.js +58 -0
- package/api/resources/thirdPartyPayerPayments/resources/v1/client/index.d.ts +6 -0
- package/api/resources/thirdPartyPayerPayments/resources/v1/client/index.js +35 -0
- package/api/resources/thirdPartyPayerPayments/resources/v1/client/requests/GetMultiThirdPartyPayerPaymentRequest.d.ts +34 -0
- package/api/resources/thirdPartyPayerPayments/resources/v1/client/requests/GetMultiThirdPartyPayerPaymentRequest.js +5 -0
- package/api/resources/thirdPartyPayerPayments/resources/v1/client/requests/UpdateThirdPartyPayerPaymentRequest.d.ts +23 -0
- package/api/resources/thirdPartyPayerPayments/resources/v1/client/requests/UpdateThirdPartyPayerPaymentRequest.js +5 -0
- package/api/resources/thirdPartyPayerPayments/resources/v1/client/requests/index.d.ts +2 -0
- package/api/resources/thirdPartyPayerPayments/resources/v1/client/requests/index.js +2 -0
- package/api/resources/thirdPartyPayerPayments/resources/v1/client/update.d.ts +34 -0
- package/api/resources/thirdPartyPayerPayments/resources/v1/client/update.js +69 -0
- package/api/resources/thirdPartyPayerPayments/resources/v1/index.d.ts +2 -0
- package/api/resources/thirdPartyPayerPayments/resources/v1/index.js +18 -0
- package/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPayment.d.ts +14 -0
- package/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPayment.js +5 -0
- package/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentCreate.d.ts +13 -0
- package/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentCreate.js +5 -0
- package/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentId.d.ts +8 -0
- package/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentId.js +10 -0
- package/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentSortField.d.ts +8 -0
- package/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentSortField.js +10 -0
- package/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentsPage.d.ts +7 -0
- package/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentsPage.js +5 -0
- package/api/resources/thirdPartyPayerPayments/resources/v1/types/index.d.ts +5 -0
- package/api/resources/thirdPartyPayerPayments/resources/v1/types/index.js +21 -0
- package/api/resources/thirdPartyPayerRefunds/client/Client.d.ts +26 -0
- package/api/resources/thirdPartyPayerRefunds/client/Client.js +17 -0
- package/api/resources/thirdPartyPayerRefunds/client/index.d.ts +1 -0
- package/api/resources/thirdPartyPayerRefunds/client/index.js +2 -0
- package/api/resources/thirdPartyPayerRefunds/index.d.ts +2 -0
- package/api/resources/thirdPartyPayerRefunds/index.js +18 -0
- package/api/resources/thirdPartyPayerRefunds/resources/index.d.ts +1 -0
- package/api/resources/thirdPartyPayerRefunds/resources/index.js +27 -0
- package/api/resources/thirdPartyPayerRefunds/resources/v1/client/Client.d.ts +109 -0
- package/api/resources/thirdPartyPayerRefunds/resources/v1/client/Client.js +433 -0
- package/api/resources/thirdPartyPayerRefunds/resources/v1/client/create.d.ts +34 -0
- package/api/resources/thirdPartyPayerRefunds/resources/v1/client/create.js +69 -0
- package/api/resources/thirdPartyPayerRefunds/resources/v1/client/delete.d.ts +34 -0
- package/api/resources/thirdPartyPayerRefunds/resources/v1/client/delete.js +69 -0
- package/api/resources/thirdPartyPayerRefunds/resources/v1/client/get.d.ts +28 -0
- package/api/resources/thirdPartyPayerRefunds/resources/v1/client/get.js +58 -0
- package/api/resources/thirdPartyPayerRefunds/resources/v1/client/getMulti.d.ts +28 -0
- package/api/resources/thirdPartyPayerRefunds/resources/v1/client/getMulti.js +58 -0
- package/api/resources/thirdPartyPayerRefunds/resources/v1/client/index.d.ts +6 -0
- package/api/resources/thirdPartyPayerRefunds/resources/v1/client/index.js +35 -0
- package/api/resources/thirdPartyPayerRefunds/resources/v1/client/requests/GetMultiThirdPartyPayerRefundsRequest.d.ts +34 -0
- package/api/resources/thirdPartyPayerRefunds/resources/v1/client/requests/GetMultiThirdPartyPayerRefundsRequest.js +5 -0
- package/api/resources/thirdPartyPayerRefunds/resources/v1/client/requests/ThirdPartyPayerRefundUpdate.d.ts +28 -0
- package/api/resources/thirdPartyPayerRefunds/resources/v1/client/requests/ThirdPartyPayerRefundUpdate.js +5 -0
- package/api/resources/thirdPartyPayerRefunds/resources/v1/client/requests/index.d.ts +2 -0
- package/api/resources/thirdPartyPayerRefunds/resources/v1/client/requests/index.js +2 -0
- package/api/resources/thirdPartyPayerRefunds/resources/v1/client/update.d.ts +34 -0
- package/api/resources/thirdPartyPayerRefunds/resources/v1/client/update.js +69 -0
- package/api/resources/thirdPartyPayerRefunds/resources/v1/index.d.ts +2 -0
- package/api/resources/thirdPartyPayerRefunds/resources/v1/index.js +18 -0
- package/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefund.d.ts +14 -0
- package/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefund.js +5 -0
- package/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundCreate.d.ts +13 -0
- package/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundCreate.js +5 -0
- package/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundId.d.ts +8 -0
- package/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundId.js +10 -0
- package/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundSortField.d.ts +8 -0
- package/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundSortField.js +10 -0
- package/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundsPage.d.ts +7 -0
- package/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundsPage.js +5 -0
- package/api/resources/thirdPartyPayerRefunds/resources/v1/types/index.d.ts +5 -0
- package/api/resources/thirdPartyPayerRefunds/resources/v1/types/index.js +21 -0
- package/api/resources/thirdPartyPayers/client/Client.d.ts +26 -0
- package/api/resources/thirdPartyPayers/client/Client.js +17 -0
- package/api/resources/thirdPartyPayers/client/index.d.ts +1 -0
- package/api/resources/thirdPartyPayers/client/index.js +2 -0
- package/api/resources/thirdPartyPayers/index.d.ts +2 -0
- package/api/resources/thirdPartyPayers/index.js +18 -0
- package/api/resources/thirdPartyPayers/resources/index.d.ts +1 -0
- package/api/resources/thirdPartyPayers/resources/index.js +27 -0
- package/api/resources/thirdPartyPayers/resources/v1/client/Client.d.ts +97 -0
- package/api/resources/thirdPartyPayers/resources/v1/client/Client.js +469 -0
- package/api/resources/thirdPartyPayers/resources/v1/client/create.d.ts +34 -0
- package/api/resources/thirdPartyPayers/resources/v1/client/create.js +69 -0
- package/api/resources/thirdPartyPayers/resources/v1/client/delete.d.ts +28 -0
- package/api/resources/thirdPartyPayers/resources/v1/client/delete.js +58 -0
- package/api/resources/thirdPartyPayers/resources/v1/client/get.d.ts +28 -0
- package/api/resources/thirdPartyPayers/resources/v1/client/get.js +58 -0
- package/api/resources/thirdPartyPayers/resources/v1/client/getMulti.d.ts +28 -0
- package/api/resources/thirdPartyPayers/resources/v1/client/getMulti.js +58 -0
- package/api/resources/thirdPartyPayers/resources/v1/client/index.d.ts +7 -0
- package/api/resources/thirdPartyPayers/resources/v1/client/index.js +36 -0
- package/api/resources/thirdPartyPayers/resources/v1/client/requests/GetMultiThirdPartyPayersRequest.d.ts +28 -0
- package/api/resources/thirdPartyPayers/resources/v1/client/requests/GetMultiThirdPartyPayersRequest.js +5 -0
- package/api/resources/thirdPartyPayers/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/thirdPartyPayers/resources/v1/client/requests/index.js +2 -0
- package/api/resources/thirdPartyPayers/resources/v1/client/toggleEnablement.d.ts +28 -0
- package/api/resources/thirdPartyPayers/resources/v1/client/toggleEnablement.js +58 -0
- package/api/resources/thirdPartyPayers/resources/v1/client/update.d.ts +34 -0
- package/api/resources/thirdPartyPayers/resources/v1/client/update.js +69 -0
- package/api/resources/thirdPartyPayers/resources/v1/index.d.ts +2 -0
- package/api/resources/thirdPartyPayers/resources/v1/index.js +18 -0
- package/api/resources/thirdPartyPayers/resources/v1/types/CreateThirdPartyPayerRequest.d.ts +11 -0
- package/api/resources/thirdPartyPayers/resources/v1/types/CreateThirdPartyPayerRequest.js +5 -0
- package/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayer.d.ts +11 -0
- package/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayer.js +5 -0
- package/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerCategoryUpdate.d.ts +17 -0
- package/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerCategoryUpdate.js +5 -0
- package/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerDescriptionUpdate.d.ts +17 -0
- package/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerDescriptionUpdate.js +5 -0
- package/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerId.d.ts +8 -0
- package/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerId.js +10 -0
- package/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerPage.d.ts +7 -0
- package/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerPage.js +5 -0
- package/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerSortField.d.ts +10 -0
- package/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerSortField.js +12 -0
- package/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerUpdateRequest.d.ts +10 -0
- package/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerUpdateRequest.js +5 -0
- package/api/resources/thirdPartyPayers/resources/v1/types/ToggleThirdPartyPayerEnablementRequest.d.ts +6 -0
- package/api/resources/thirdPartyPayers/resources/v1/types/ToggleThirdPartyPayerEnablementRequest.js +5 -0
- package/api/resources/thirdPartyPayers/resources/v1/types/index.d.ts +9 -0
- package/api/resources/thirdPartyPayers/resources/v1/types/index.js +25 -0
- package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/api/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +2 -0
- package/dist/Client.d.ts +12 -0
- package/dist/Client.js +28 -8
- 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/commons/types/AppointmentId.d.ts +8 -0
- package/dist/api/resources/commons/types/AppointmentId.js +10 -0
- package/dist/api/resources/commons/types/index.d.ts +1 -0
- package/dist/api/resources/commons/types/index.js +1 -0
- 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.js +4 -4
- 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/financials/types/AllocationTarget.d.ts +4 -1
- package/dist/api/resources/financials/types/AllocationTargetCreate.d.ts +5 -1
- package/dist/api/resources/financials/types/AppointmentAllocationTarget.d.ts +7 -0
- package/dist/api/resources/financials/types/AppointmentAllocationTarget.js +5 -0
- package/dist/api/resources/financials/types/index.d.ts +1 -0
- package/dist/api/resources/financials/types/index.js +1 -0
- 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/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/coverages/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +7 -7
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/serviceLines/client/Client.d.ts +26 -0
- package/dist/api/resources/serviceLines/client/Client.js +17 -0
- package/dist/api/resources/serviceLines/client/index.d.ts +1 -0
- package/dist/api/resources/serviceLines/client/index.js +2 -0
- package/dist/api/resources/serviceLines/index.d.ts +1 -0
- package/dist/api/resources/serviceLines/index.js +1 -0
- package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +92 -0
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +238 -0
- package/dist/api/resources/serviceLines/resources/v2/client/create.d.ts +28 -0
- package/dist/api/resources/serviceLines/resources/v2/client/create.js +58 -0
- package/dist/api/resources/serviceLines/resources/v2/client/index.d.ts +2 -0
- package/dist/api/resources/serviceLines/resources/v2/client/index.js +28 -0
- package/dist/api/resources/serviceLines/resources/v2/client/update.d.ts +40 -0
- package/dist/api/resources/serviceLines/resources/v2/client/update.js +80 -0
- package/dist/api/resources/serviceLines/resources/v2/index.d.ts +1 -0
- package/dist/api/resources/serviceLines/resources/v2/index.js +1 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +36 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +5 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +37 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +5 -0
- package/dist/api/resources/serviceLines/resources/v2/types/index.d.ts +2 -0
- package/dist/api/resources/serviceLines/resources/v2/types/index.js +2 -0
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/thirdPartyPayerPayments/client/Client.d.ts +26 -0
- package/dist/api/resources/thirdPartyPayerPayments/client/Client.js +17 -0
- package/dist/api/resources/thirdPartyPayerPayments/client/index.d.ts +1 -0
- package/dist/api/resources/thirdPartyPayerPayments/client/index.js +2 -0
- package/dist/api/resources/thirdPartyPayerPayments/index.d.ts +2 -0
- package/dist/api/resources/thirdPartyPayerPayments/index.js +18 -0
- package/dist/api/resources/thirdPartyPayerPayments/resources/index.d.ts +1 -0
- package/dist/api/resources/thirdPartyPayerPayments/resources/index.js +27 -0
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/Client.d.ts +98 -0
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/Client.js +422 -0
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/create.d.ts +34 -0
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/create.js +69 -0
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/delete.d.ts +34 -0
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/delete.js +69 -0
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/get.d.ts +28 -0
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/get.js +58 -0
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/getMulti.d.ts +28 -0
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/getMulti.js +58 -0
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/index.d.ts +6 -0
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/index.js +35 -0
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/requests/GetMultiThirdPartyPayerPaymentRequest.d.ts +34 -0
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/requests/GetMultiThirdPartyPayerPaymentRequest.js +5 -0
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/requests/UpdateThirdPartyPayerPaymentRequest.d.ts +23 -0
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/requests/UpdateThirdPartyPayerPaymentRequest.js +5 -0
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/requests/index.d.ts +2 -0
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/requests/index.js +2 -0
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/update.d.ts +34 -0
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/update.js +69 -0
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/index.d.ts +2 -0
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/index.js +18 -0
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPayment.d.ts +14 -0
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPayment.js +5 -0
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentCreate.d.ts +13 -0
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentCreate.js +5 -0
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentId.d.ts +8 -0
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentId.js +10 -0
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentSortField.d.ts +8 -0
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentSortField.js +10 -0
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentsPage.d.ts +7 -0
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentsPage.js +5 -0
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/types/index.d.ts +5 -0
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/types/index.js +21 -0
- package/dist/api/resources/thirdPartyPayerRefunds/client/Client.d.ts +26 -0
- package/dist/api/resources/thirdPartyPayerRefunds/client/Client.js +17 -0
- package/dist/api/resources/thirdPartyPayerRefunds/client/index.d.ts +1 -0
- package/dist/api/resources/thirdPartyPayerRefunds/client/index.js +2 -0
- package/dist/api/resources/thirdPartyPayerRefunds/index.d.ts +2 -0
- package/dist/api/resources/thirdPartyPayerRefunds/index.js +18 -0
- package/dist/api/resources/thirdPartyPayerRefunds/resources/index.d.ts +1 -0
- package/dist/api/resources/thirdPartyPayerRefunds/resources/index.js +27 -0
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/Client.d.ts +109 -0
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/Client.js +433 -0
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/create.d.ts +34 -0
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/create.js +69 -0
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/delete.d.ts +34 -0
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/delete.js +69 -0
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/get.d.ts +28 -0
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/get.js +58 -0
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/getMulti.d.ts +28 -0
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/getMulti.js +58 -0
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/index.d.ts +6 -0
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/index.js +35 -0
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/requests/GetMultiThirdPartyPayerRefundsRequest.d.ts +34 -0
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/requests/GetMultiThirdPartyPayerRefundsRequest.js +5 -0
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/requests/ThirdPartyPayerRefundUpdate.d.ts +28 -0
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/requests/ThirdPartyPayerRefundUpdate.js +5 -0
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/requests/index.d.ts +2 -0
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/requests/index.js +2 -0
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/update.d.ts +34 -0
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/update.js +69 -0
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/index.d.ts +2 -0
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/index.js +18 -0
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefund.d.ts +14 -0
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefund.js +5 -0
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundCreate.d.ts +13 -0
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundCreate.js +5 -0
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundId.d.ts +8 -0
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundId.js +10 -0
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundSortField.d.ts +8 -0
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundSortField.js +10 -0
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundsPage.d.ts +7 -0
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundsPage.js +5 -0
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/types/index.d.ts +5 -0
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/types/index.js +21 -0
- package/dist/api/resources/thirdPartyPayers/client/Client.d.ts +26 -0
- package/dist/api/resources/thirdPartyPayers/client/Client.js +17 -0
- package/dist/api/resources/thirdPartyPayers/client/index.d.ts +1 -0
- package/dist/api/resources/thirdPartyPayers/client/index.js +2 -0
- package/dist/api/resources/thirdPartyPayers/index.d.ts +2 -0
- package/dist/api/resources/thirdPartyPayers/index.js +18 -0
- package/dist/api/resources/thirdPartyPayers/resources/index.d.ts +1 -0
- package/dist/api/resources/thirdPartyPayers/resources/index.js +27 -0
- package/dist/api/resources/thirdPartyPayers/resources/v1/client/Client.d.ts +97 -0
- package/dist/api/resources/thirdPartyPayers/resources/v1/client/Client.js +469 -0
- package/dist/api/resources/thirdPartyPayers/resources/v1/client/create.d.ts +34 -0
- package/dist/api/resources/thirdPartyPayers/resources/v1/client/create.js +69 -0
- package/dist/api/resources/thirdPartyPayers/resources/v1/client/delete.d.ts +28 -0
- package/dist/api/resources/thirdPartyPayers/resources/v1/client/delete.js +58 -0
- package/dist/api/resources/thirdPartyPayers/resources/v1/client/get.d.ts +28 -0
- package/dist/api/resources/thirdPartyPayers/resources/v1/client/get.js +58 -0
- package/dist/api/resources/thirdPartyPayers/resources/v1/client/getMulti.d.ts +28 -0
- package/dist/api/resources/thirdPartyPayers/resources/v1/client/getMulti.js +58 -0
- package/dist/api/resources/thirdPartyPayers/resources/v1/client/index.d.ts +7 -0
- package/dist/api/resources/thirdPartyPayers/resources/v1/client/index.js +36 -0
- package/dist/api/resources/thirdPartyPayers/resources/v1/client/requests/GetMultiThirdPartyPayersRequest.d.ts +28 -0
- package/dist/api/resources/thirdPartyPayers/resources/v1/client/requests/GetMultiThirdPartyPayersRequest.js +5 -0
- package/dist/api/resources/thirdPartyPayers/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/api/resources/thirdPartyPayers/resources/v1/client/requests/index.js +2 -0
- package/dist/api/resources/thirdPartyPayers/resources/v1/client/toggleEnablement.d.ts +28 -0
- package/dist/api/resources/thirdPartyPayers/resources/v1/client/toggleEnablement.js +58 -0
- package/dist/api/resources/thirdPartyPayers/resources/v1/client/update.d.ts +34 -0
- package/dist/api/resources/thirdPartyPayers/resources/v1/client/update.js +69 -0
- package/dist/api/resources/thirdPartyPayers/resources/v1/index.d.ts +2 -0
- package/dist/api/resources/thirdPartyPayers/resources/v1/index.js +18 -0
- package/dist/api/resources/thirdPartyPayers/resources/v1/types/CreateThirdPartyPayerRequest.d.ts +11 -0
- package/dist/api/resources/thirdPartyPayers/resources/v1/types/CreateThirdPartyPayerRequest.js +5 -0
- package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayer.d.ts +11 -0
- package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayer.js +5 -0
- package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerCategoryUpdate.d.ts +17 -0
- package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerCategoryUpdate.js +5 -0
- package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerDescriptionUpdate.d.ts +17 -0
- package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerDescriptionUpdate.js +5 -0
- package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerId.d.ts +8 -0
- package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerId.js +10 -0
- package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerPage.d.ts +7 -0
- package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerPage.js +5 -0
- package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerSortField.d.ts +10 -0
- package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerSortField.js +12 -0
- package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerUpdateRequest.d.ts +10 -0
- package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerUpdateRequest.js +5 -0
- package/dist/api/resources/thirdPartyPayers/resources/v1/types/ToggleThirdPartyPayerEnablementRequest.d.ts +6 -0
- package/dist/api/resources/thirdPartyPayers/resources/v1/types/ToggleThirdPartyPayerEnablementRequest.js +5 -0
- package/dist/api/resources/thirdPartyPayers/resources/v1/types/index.d.ts +9 -0
- package/dist/api/resources/thirdPartyPayers/resources/v1/types/index.js +25 -0
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +2 -0
- package/dist/serialization/resources/commons/types/AppointmentId.d.ts +10 -0
- package/dist/serialization/resources/commons/types/AppointmentId.js +35 -0
- package/dist/serialization/resources/commons/types/index.d.ts +1 -0
- package/dist/serialization/resources/commons/types/index.js +1 -0
- package/dist/serialization/resources/financials/types/AllocationTarget.d.ts +5 -1
- package/dist/serialization/resources/financials/types/AllocationTarget.js +2 -0
- package/dist/serialization/resources/financials/types/AllocationTargetCreate.d.ts +6 -1
- package/dist/serialization/resources/financials/types/AllocationTargetCreate.js +4 -0
- package/dist/serialization/resources/financials/types/AppointmentAllocationTarget.d.ts +13 -0
- package/dist/serialization/resources/financials/types/AppointmentAllocationTarget.js +34 -0
- package/dist/serialization/resources/financials/types/index.d.ts +1 -0
- package/dist/serialization/resources/financials/types/index.js +1 -0
- package/dist/serialization/resources/index.d.ts +3 -0
- package/dist/serialization/resources/index.js +4 -1
- package/dist/serialization/resources/serviceLines/resources/v2/client/create.d.ts +15 -0
- package/dist/serialization/resources/serviceLines/resources/v2/client/create.js +61 -0
- package/dist/serialization/resources/serviceLines/resources/v2/client/index.d.ts +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/client/index.js +28 -0
- package/dist/serialization/resources/serviceLines/resources/v2/client/update.d.ts +25 -0
- package/dist/serialization/resources/serviceLines/resources/v2/client/update.js +73 -0
- package/dist/serialization/resources/serviceLines/resources/v2/index.d.ts +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/index.js +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +43 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +64 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +42 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +63 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/index.d.ts +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/index.js +2 -0
- package/dist/serialization/resources/thirdPartyPayerPayments/index.d.ts +1 -0
- package/dist/serialization/resources/thirdPartyPayerPayments/index.js +17 -0
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/index.d.ts +1 -0
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/index.js +27 -0
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/create.d.ts +20 -0
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/create.js +67 -0
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/delete.d.ts +20 -0
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/delete.js +67 -0
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/get.d.ts +15 -0
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/get.js +61 -0
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/getMulti.d.ts +15 -0
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/getMulti.js +61 -0
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/index.d.ts +6 -0
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/index.js +35 -0
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/requests/UpdateThirdPartyPayerPaymentRequest.d.ts +16 -0
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/requests/UpdateThirdPartyPayerPaymentRequest.js +37 -0
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/requests/index.js +5 -0
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/update.d.ts +20 -0
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/update.js +67 -0
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/index.d.ts +2 -0
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/index.js +18 -0
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPayment.d.ts +23 -0
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPayment.js +44 -0
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentCreate.d.ts +21 -0
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentCreate.js +42 -0
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentId.d.ts +10 -0
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentId.js +35 -0
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentSortField.d.ts +10 -0
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentSortField.js +31 -0
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentsPage.d.ts +14 -0
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentsPage.js +37 -0
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/types/index.d.ts +5 -0
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/types/index.js +21 -0
- package/dist/serialization/resources/thirdPartyPayerRefunds/index.d.ts +1 -0
- package/dist/serialization/resources/thirdPartyPayerRefunds/index.js +17 -0
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/index.d.ts +1 -0
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/index.js +27 -0
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/create.d.ts +20 -0
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/create.js +67 -0
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/delete.d.ts +20 -0
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/delete.js +67 -0
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/get.d.ts +15 -0
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/get.js +61 -0
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/getMulti.d.ts +15 -0
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/getMulti.js +61 -0
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/index.d.ts +6 -0
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/index.js +35 -0
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/requests/ThirdPartyPayerRefundUpdate.d.ts +18 -0
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/requests/ThirdPartyPayerRefundUpdate.js +39 -0
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/requests/index.js +5 -0
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/update.d.ts +20 -0
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/update.js +67 -0
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/index.d.ts +2 -0
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/index.js +18 -0
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefund.d.ts +24 -0
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefund.js +45 -0
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundCreate.d.ts +22 -0
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundCreate.js +43 -0
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundId.d.ts +10 -0
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundId.js +35 -0
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundSortField.d.ts +10 -0
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundSortField.js +31 -0
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundsPage.d.ts +14 -0
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundsPage.js +37 -0
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/index.d.ts +5 -0
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/index.js +21 -0
- package/dist/serialization/resources/thirdPartyPayers/index.d.ts +1 -0
- package/dist/serialization/resources/thirdPartyPayers/index.js +17 -0
- package/dist/serialization/resources/thirdPartyPayers/resources/index.d.ts +1 -0
- package/dist/serialization/resources/thirdPartyPayers/resources/index.js +27 -0
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/create.d.ts +20 -0
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/create.js +67 -0
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/delete.d.ts +15 -0
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/delete.js +61 -0
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/get.d.ts +15 -0
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/get.js +61 -0
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/getMulti.d.ts +15 -0
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/getMulti.js +61 -0
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/index.d.ts +6 -0
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/index.js +32 -0
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/toggleEnablement.d.ts +15 -0
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/toggleEnablement.js +61 -0
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/update.d.ts +20 -0
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/update.js +67 -0
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/index.d.ts +2 -0
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/index.js +18 -0
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/CreateThirdPartyPayerRequest.d.ts +14 -0
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/CreateThirdPartyPayerRequest.js +35 -0
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayer.d.ts +17 -0
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayer.js +38 -0
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerCategoryUpdate.d.ts +17 -0
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerCategoryUpdate.js +41 -0
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerDescriptionUpdate.d.ts +17 -0
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerDescriptionUpdate.js +41 -0
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerId.d.ts +10 -0
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerId.js +35 -0
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerPage.d.ts +14 -0
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerPage.js +37 -0
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerSortField.d.ts +10 -0
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerSortField.js +31 -0
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerUpdateRequest.d.ts +16 -0
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerUpdateRequest.js +37 -0
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ToggleThirdPartyPayerEnablementRequest.d.ts +12 -0
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ToggleThirdPartyPayerEnablementRequest.js +33 -0
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/index.d.ts +9 -0
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/index.js +25 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +4 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.js +4 -0
- package/package.json +1 -1
- package/reference.md +1173 -0
- package/serialization/resources/commons/types/AppointmentId.d.ts +10 -0
- package/serialization/resources/commons/types/AppointmentId.js +35 -0
- package/serialization/resources/commons/types/index.d.ts +1 -0
- package/serialization/resources/commons/types/index.js +1 -0
- package/serialization/resources/financials/types/AllocationTarget.d.ts +5 -1
- package/serialization/resources/financials/types/AllocationTarget.js +2 -0
- package/serialization/resources/financials/types/AllocationTargetCreate.d.ts +6 -1
- package/serialization/resources/financials/types/AllocationTargetCreate.js +4 -0
- package/serialization/resources/financials/types/AppointmentAllocationTarget.d.ts +13 -0
- package/serialization/resources/financials/types/AppointmentAllocationTarget.js +34 -0
- package/serialization/resources/financials/types/index.d.ts +1 -0
- package/serialization/resources/financials/types/index.js +1 -0
- package/serialization/resources/index.d.ts +3 -0
- package/serialization/resources/index.js +4 -1
- package/serialization/resources/serviceLines/resources/v2/client/create.d.ts +15 -0
- package/serialization/resources/serviceLines/resources/v2/client/create.js +61 -0
- package/serialization/resources/serviceLines/resources/v2/client/index.d.ts +2 -0
- package/serialization/resources/serviceLines/resources/v2/client/index.js +28 -0
- package/serialization/resources/serviceLines/resources/v2/client/update.d.ts +25 -0
- package/serialization/resources/serviceLines/resources/v2/client/update.js +73 -0
- package/serialization/resources/serviceLines/resources/v2/index.d.ts +1 -0
- package/serialization/resources/serviceLines/resources/v2/index.js +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +43 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +64 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +42 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +63 -0
- package/serialization/resources/serviceLines/resources/v2/types/index.d.ts +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/index.js +2 -0
- package/serialization/resources/thirdPartyPayerPayments/index.d.ts +1 -0
- package/serialization/resources/thirdPartyPayerPayments/index.js +17 -0
- package/serialization/resources/thirdPartyPayerPayments/resources/index.d.ts +1 -0
- package/serialization/resources/thirdPartyPayerPayments/resources/index.js +27 -0
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/create.d.ts +20 -0
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/create.js +67 -0
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/delete.d.ts +20 -0
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/delete.js +67 -0
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/get.d.ts +15 -0
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/get.js +61 -0
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/getMulti.d.ts +15 -0
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/getMulti.js +61 -0
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/index.d.ts +6 -0
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/index.js +35 -0
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/requests/UpdateThirdPartyPayerPaymentRequest.d.ts +16 -0
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/requests/UpdateThirdPartyPayerPaymentRequest.js +37 -0
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/requests/index.d.ts +1 -0
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/requests/index.js +5 -0
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/update.d.ts +20 -0
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/update.js +67 -0
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/index.d.ts +2 -0
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/index.js +18 -0
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPayment.d.ts +23 -0
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPayment.js +44 -0
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentCreate.d.ts +21 -0
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentCreate.js +42 -0
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentId.d.ts +10 -0
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentId.js +35 -0
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentSortField.d.ts +10 -0
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentSortField.js +31 -0
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentsPage.d.ts +14 -0
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentsPage.js +37 -0
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/types/index.d.ts +5 -0
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/types/index.js +21 -0
- package/serialization/resources/thirdPartyPayerRefunds/index.d.ts +1 -0
- package/serialization/resources/thirdPartyPayerRefunds/index.js +17 -0
- package/serialization/resources/thirdPartyPayerRefunds/resources/index.d.ts +1 -0
- package/serialization/resources/thirdPartyPayerRefunds/resources/index.js +27 -0
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/create.d.ts +20 -0
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/create.js +67 -0
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/delete.d.ts +20 -0
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/delete.js +67 -0
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/get.d.ts +15 -0
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/get.js +61 -0
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/getMulti.d.ts +15 -0
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/getMulti.js +61 -0
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/index.d.ts +6 -0
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/index.js +35 -0
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/requests/ThirdPartyPayerRefundUpdate.d.ts +18 -0
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/requests/ThirdPartyPayerRefundUpdate.js +39 -0
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/requests/index.d.ts +1 -0
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/requests/index.js +5 -0
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/update.d.ts +20 -0
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/update.js +67 -0
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/index.d.ts +2 -0
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/index.js +18 -0
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefund.d.ts +24 -0
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefund.js +45 -0
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundCreate.d.ts +22 -0
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundCreate.js +43 -0
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundId.d.ts +10 -0
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundId.js +35 -0
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundSortField.d.ts +10 -0
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundSortField.js +31 -0
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundsPage.d.ts +14 -0
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundsPage.js +37 -0
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/index.d.ts +5 -0
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/index.js +21 -0
- package/serialization/resources/thirdPartyPayers/index.d.ts +1 -0
- package/serialization/resources/thirdPartyPayers/index.js +17 -0
- package/serialization/resources/thirdPartyPayers/resources/index.d.ts +1 -0
- package/serialization/resources/thirdPartyPayers/resources/index.js +27 -0
- package/serialization/resources/thirdPartyPayers/resources/v1/client/create.d.ts +20 -0
- package/serialization/resources/thirdPartyPayers/resources/v1/client/create.js +67 -0
- package/serialization/resources/thirdPartyPayers/resources/v1/client/delete.d.ts +15 -0
- package/serialization/resources/thirdPartyPayers/resources/v1/client/delete.js +61 -0
- package/serialization/resources/thirdPartyPayers/resources/v1/client/get.d.ts +15 -0
- package/serialization/resources/thirdPartyPayers/resources/v1/client/get.js +61 -0
- package/serialization/resources/thirdPartyPayers/resources/v1/client/getMulti.d.ts +15 -0
- package/serialization/resources/thirdPartyPayers/resources/v1/client/getMulti.js +61 -0
- package/serialization/resources/thirdPartyPayers/resources/v1/client/index.d.ts +6 -0
- package/serialization/resources/thirdPartyPayers/resources/v1/client/index.js +32 -0
- package/serialization/resources/thirdPartyPayers/resources/v1/client/toggleEnablement.d.ts +15 -0
- package/serialization/resources/thirdPartyPayers/resources/v1/client/toggleEnablement.js +61 -0
- package/serialization/resources/thirdPartyPayers/resources/v1/client/update.d.ts +20 -0
- package/serialization/resources/thirdPartyPayers/resources/v1/client/update.js +67 -0
- package/serialization/resources/thirdPartyPayers/resources/v1/index.d.ts +2 -0
- package/serialization/resources/thirdPartyPayers/resources/v1/index.js +18 -0
- package/serialization/resources/thirdPartyPayers/resources/v1/types/CreateThirdPartyPayerRequest.d.ts +14 -0
- package/serialization/resources/thirdPartyPayers/resources/v1/types/CreateThirdPartyPayerRequest.js +35 -0
- package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayer.d.ts +17 -0
- package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayer.js +38 -0
- package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerCategoryUpdate.d.ts +17 -0
- package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerCategoryUpdate.js +41 -0
- package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerDescriptionUpdate.d.ts +17 -0
- package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerDescriptionUpdate.js +41 -0
- package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerId.d.ts +10 -0
- package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerId.js +35 -0
- package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerPage.d.ts +14 -0
- package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerPage.js +37 -0
- package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerSortField.d.ts +10 -0
- package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerSortField.js +31 -0
- package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerUpdateRequest.d.ts +16 -0
- package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerUpdateRequest.js +37 -0
- package/serialization/resources/thirdPartyPayers/resources/v1/types/ToggleThirdPartyPayerEnablementRequest.d.ts +12 -0
- package/serialization/resources/thirdPartyPayers/resources/v1/types/ToggleThirdPartyPayerEnablementRequest.js +33 -0
- package/serialization/resources/thirdPartyPayers/resources/v1/types/index.d.ts +9 -0
- package/serialization/resources/thirdPartyPayers/resources/v1/types/index.js +25 -0
- package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +4 -0
- package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.js +4 -0
|
@@ -0,0 +1,238 @@
|
|
|
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.V2 = void 0;
|
|
42
|
+
const environments = __importStar(require("../../../../../../environments"));
|
|
43
|
+
const core = __importStar(require("../../../../../../core"));
|
|
44
|
+
const CandidApi = __importStar(require("../../../../../index"));
|
|
45
|
+
const serializers = __importStar(require("../../../../../../serialization/index"));
|
|
46
|
+
const url_join_1 = __importDefault(require("url-join"));
|
|
47
|
+
class V2 {
|
|
48
|
+
constructor(_options = {}) {
|
|
49
|
+
this._options = _options;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* @param {CandidApi.serviceLines.v2.ServiceLineCreateStandalone} request
|
|
53
|
+
* @param {V2.RequestOptions} requestOptions - Request-specific configuration.
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* await client.serviceLines.v2.create({
|
|
57
|
+
* modifiers: [CandidApi.ProcedureModifier.TwentyTwo],
|
|
58
|
+
* chargeAmountCents: 1,
|
|
59
|
+
* allowedAmountCents: 1,
|
|
60
|
+
* insuranceBalanceCents: 1,
|
|
61
|
+
* patientBalanceCents: 1,
|
|
62
|
+
* primaryPaidAmountCents: 1,
|
|
63
|
+
* secondaryPaidAmountCents: 1,
|
|
64
|
+
* tertiaryPaidAmountCents: 1,
|
|
65
|
+
* patientResponsibilityCents: 1,
|
|
66
|
+
* diagnosisIdZero: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
67
|
+
* diagnosisIdOne: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
68
|
+
* diagnosisIdTwo: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
69
|
+
* diagnosisIdThree: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
70
|
+
* serviceLineManualAdjustments: [{}],
|
|
71
|
+
* denialReason: {},
|
|
72
|
+
* placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
|
|
73
|
+
* placeOfServiceCodeAsSubmitted: CandidApi.FacilityTypeCode.Pharmacy,
|
|
74
|
+
* procedureCode: "string",
|
|
75
|
+
* quantity: CandidApi.Decimal("string"),
|
|
76
|
+
* units: CandidApi.ServiceLineUnits.Mj,
|
|
77
|
+
* claimId: CandidApi.ClaimId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
78
|
+
* description: "string",
|
|
79
|
+
* dateOfService: "2023-01-15",
|
|
80
|
+
* endDateOfService: "2023-01-15"
|
|
81
|
+
* })
|
|
82
|
+
*/
|
|
83
|
+
create(request, requestOptions) {
|
|
84
|
+
var _a, _b;
|
|
85
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
86
|
+
const _response = yield core.fetcher({
|
|
87
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
88
|
+
.candidApi, "/api/service-lines/v2"),
|
|
89
|
+
method: "POST",
|
|
90
|
+
headers: {
|
|
91
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
92
|
+
"X-Fern-Language": "JavaScript",
|
|
93
|
+
"X-Fern-SDK-Name": "candidhealth",
|
|
94
|
+
"X-Fern-SDK-Version": "0.26.0",
|
|
95
|
+
"X-Fern-Runtime": core.RUNTIME.type,
|
|
96
|
+
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
97
|
+
},
|
|
98
|
+
contentType: "application/json",
|
|
99
|
+
requestType: "json",
|
|
100
|
+
body: serializers.serviceLines.v2.ServiceLineCreateStandalone.jsonOrThrow(request, {
|
|
101
|
+
unrecognizedObjectKeys: "strip",
|
|
102
|
+
}),
|
|
103
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
104
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
105
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
106
|
+
});
|
|
107
|
+
if (_response.ok) {
|
|
108
|
+
return {
|
|
109
|
+
ok: true,
|
|
110
|
+
body: serializers.serviceLines.v2.ServiceLine.parseOrThrow(_response.body, {
|
|
111
|
+
unrecognizedObjectKeys: "passthrough",
|
|
112
|
+
allowUnrecognizedUnionMembers: true,
|
|
113
|
+
allowUnrecognizedEnumValues: true,
|
|
114
|
+
breadcrumbsPrefix: ["response"],
|
|
115
|
+
}),
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
if (_response.error.reason === "status-code") {
|
|
119
|
+
switch ((_b = _response.error.body) === null || _b === void 0 ? void 0 : _b.errorName) {
|
|
120
|
+
case "HttpRequestValidationError":
|
|
121
|
+
return {
|
|
122
|
+
ok: false,
|
|
123
|
+
error: serializers.serviceLines.v2.create.Error.parseOrThrow(_response.error.body, {
|
|
124
|
+
unrecognizedObjectKeys: "passthrough",
|
|
125
|
+
allowUnrecognizedUnionMembers: true,
|
|
126
|
+
allowUnrecognizedEnumValues: true,
|
|
127
|
+
breadcrumbsPrefix: ["response"],
|
|
128
|
+
}),
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
return {
|
|
133
|
+
ok: false,
|
|
134
|
+
error: CandidApi.serviceLines.v2.create.Error._unknown(_response.error),
|
|
135
|
+
};
|
|
136
|
+
});
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* @param {CandidApi.ServiceLineId} serviceLineId
|
|
140
|
+
* @param {CandidApi.serviceLines.v2.ServiceLineUpdate} request
|
|
141
|
+
* @param {V2.RequestOptions} requestOptions - Request-specific configuration.
|
|
142
|
+
*
|
|
143
|
+
* @example
|
|
144
|
+
* await client.serviceLines.v2.update(CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
145
|
+
* editReason: "string",
|
|
146
|
+
* modifiers: [CandidApi.ProcedureModifier.TwentyTwo],
|
|
147
|
+
* chargeAmountCents: 1,
|
|
148
|
+
* allowedAmountCents: 1,
|
|
149
|
+
* insuranceBalanceCents: 1,
|
|
150
|
+
* patientBalanceCents: 1,
|
|
151
|
+
* primaryPaidAmountCents: 1,
|
|
152
|
+
* secondaryPaidAmountCents: 1,
|
|
153
|
+
* tertiaryPaidAmountCents: 1,
|
|
154
|
+
* patientResponsibilityCents: 1,
|
|
155
|
+
* diagnosisIdZero: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
156
|
+
* diagnosisIdOne: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
157
|
+
* diagnosisIdTwo: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
158
|
+
* diagnosisIdThree: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
159
|
+
* serviceLineManualAdjustments: [{}],
|
|
160
|
+
* denialReason: {},
|
|
161
|
+
* placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
|
|
162
|
+
* placeOfServiceCodeAsSubmitted: CandidApi.FacilityTypeCode.Pharmacy,
|
|
163
|
+
* units: CandidApi.ServiceLineUnits.Mj,
|
|
164
|
+
* procedureCode: "string",
|
|
165
|
+
* quantity: CandidApi.Decimal("string"),
|
|
166
|
+
* description: "string",
|
|
167
|
+
* dateOfService: "2023-01-15",
|
|
168
|
+
* endDateOfService: "2023-01-15"
|
|
169
|
+
* })
|
|
170
|
+
*/
|
|
171
|
+
update(serviceLineId, request, requestOptions) {
|
|
172
|
+
var _a, _b;
|
|
173
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
174
|
+
const _response = yield core.fetcher({
|
|
175
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
176
|
+
.candidApi, `/api/service-lines/v2/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}`),
|
|
177
|
+
method: "PATCH",
|
|
178
|
+
headers: {
|
|
179
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
180
|
+
"X-Fern-Language": "JavaScript",
|
|
181
|
+
"X-Fern-SDK-Name": "candidhealth",
|
|
182
|
+
"X-Fern-SDK-Version": "0.26.0",
|
|
183
|
+
"X-Fern-Runtime": core.RUNTIME.type,
|
|
184
|
+
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
185
|
+
},
|
|
186
|
+
contentType: "application/json",
|
|
187
|
+
requestType: "json",
|
|
188
|
+
body: serializers.serviceLines.v2.ServiceLineUpdate.jsonOrThrow(request, {
|
|
189
|
+
unrecognizedObjectKeys: "strip",
|
|
190
|
+
}),
|
|
191
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
192
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
193
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
194
|
+
});
|
|
195
|
+
if (_response.ok) {
|
|
196
|
+
return {
|
|
197
|
+
ok: true,
|
|
198
|
+
body: serializers.serviceLines.v2.ServiceLine.parseOrThrow(_response.body, {
|
|
199
|
+
unrecognizedObjectKeys: "passthrough",
|
|
200
|
+
allowUnrecognizedUnionMembers: true,
|
|
201
|
+
allowUnrecognizedEnumValues: true,
|
|
202
|
+
breadcrumbsPrefix: ["response"],
|
|
203
|
+
}),
|
|
204
|
+
};
|
|
205
|
+
}
|
|
206
|
+
if (_response.error.reason === "status-code") {
|
|
207
|
+
switch ((_b = _response.error.body) === null || _b === void 0 ? void 0 : _b.errorName) {
|
|
208
|
+
case "EntityNotFoundError":
|
|
209
|
+
case "UnauthorizedError":
|
|
210
|
+
case "HttpRequestValidationError":
|
|
211
|
+
return {
|
|
212
|
+
ok: false,
|
|
213
|
+
error: serializers.serviceLines.v2.update.Error.parseOrThrow(_response.error.body, {
|
|
214
|
+
unrecognizedObjectKeys: "passthrough",
|
|
215
|
+
allowUnrecognizedUnionMembers: true,
|
|
216
|
+
allowUnrecognizedEnumValues: true,
|
|
217
|
+
breadcrumbsPrefix: ["response"],
|
|
218
|
+
}),
|
|
219
|
+
};
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
return {
|
|
223
|
+
ok: false,
|
|
224
|
+
error: CandidApi.serviceLines.v2.update.Error._unknown(_response.error),
|
|
225
|
+
};
|
|
226
|
+
});
|
|
227
|
+
}
|
|
228
|
+
_getAuthorizationHeader() {
|
|
229
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
230
|
+
const bearer = yield core.Supplier.get(this._options.token);
|
|
231
|
+
if (bearer != null) {
|
|
232
|
+
return `Bearer ${bearer}`;
|
|
233
|
+
}
|
|
234
|
+
return undefined;
|
|
235
|
+
});
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
exports.V2 = V2;
|
|
@@ -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.serviceLines.v2.create.Error.HttpRequestValidationError | CandidApi.serviceLines.v2.create.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface HttpRequestValidationError extends _Utils {
|
|
9
|
+
errorName: "HttpRequestValidationError";
|
|
10
|
+
content: CandidApi.RequestValidationError;
|
|
11
|
+
}
|
|
12
|
+
interface _Unknown extends _Utils {
|
|
13
|
+
errorName: void;
|
|
14
|
+
content: core.Fetcher.Error;
|
|
15
|
+
}
|
|
16
|
+
interface _Utils {
|
|
17
|
+
_visit: <_Result>(visitor: CandidApi.serviceLines.v2.create.Error._Visitor<_Result>) => _Result;
|
|
18
|
+
}
|
|
19
|
+
interface _Visitor<_Result> {
|
|
20
|
+
httpRequestValidationError: (value: CandidApi.RequestValidationError) => _Result;
|
|
21
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
export declare const Error: {
|
|
25
|
+
readonly httpRequestValidationError: (value: CandidApi.RequestValidationError) => CandidApi.serviceLines.v2.create.Error.HttpRequestValidationError;
|
|
26
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.serviceLines.v2.create.Error._Unknown;
|
|
27
|
+
readonly _visit: <_Result>(value: CandidApi.serviceLines.v2.create.Error, visitor: CandidApi.serviceLines.v2.create.Error._Visitor<_Result>) => _Result;
|
|
28
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../index"));
|
|
31
|
+
exports.Error = {
|
|
32
|
+
httpRequestValidationError: (value) => {
|
|
33
|
+
return {
|
|
34
|
+
content: value,
|
|
35
|
+
errorName: "HttpRequestValidationError",
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.serviceLines.v2.create.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
_unknown: (fetcherError) => {
|
|
42
|
+
return {
|
|
43
|
+
errorName: undefined,
|
|
44
|
+
content: fetcherError,
|
|
45
|
+
_visit: function (visitor) {
|
|
46
|
+
return CandidApi.serviceLines.v2.create.Error._visit(this, visitor);
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
},
|
|
50
|
+
_visit: (value, visitor) => {
|
|
51
|
+
switch (value.errorName) {
|
|
52
|
+
case "HttpRequestValidationError":
|
|
53
|
+
return visitor.httpRequestValidationError(value.content);
|
|
54
|
+
default:
|
|
55
|
+
return visitor._other(value);
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.update = exports.create = void 0;
|
|
27
|
+
exports.create = __importStar(require("./create"));
|
|
28
|
+
exports.update = __importStar(require("./update"));
|
|
@@ -0,0 +1,40 @@
|
|
|
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.serviceLines.v2.update.Error.EntityNotFoundError | CandidApi.serviceLines.v2.update.Error.UnauthorizedError | CandidApi.serviceLines.v2.update.Error.HttpRequestValidationError | CandidApi.serviceLines.v2.update.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface EntityNotFoundError extends _Utils {
|
|
9
|
+
errorName: "EntityNotFoundError";
|
|
10
|
+
content: CandidApi.EntityNotFoundErrorMessage;
|
|
11
|
+
}
|
|
12
|
+
interface UnauthorizedError extends _Utils {
|
|
13
|
+
errorName: "UnauthorizedError";
|
|
14
|
+
content: CandidApi.UnauthorizedErrorMessage;
|
|
15
|
+
}
|
|
16
|
+
interface HttpRequestValidationError extends _Utils {
|
|
17
|
+
errorName: "HttpRequestValidationError";
|
|
18
|
+
content: CandidApi.RequestValidationError;
|
|
19
|
+
}
|
|
20
|
+
interface _Unknown extends _Utils {
|
|
21
|
+
errorName: void;
|
|
22
|
+
content: core.Fetcher.Error;
|
|
23
|
+
}
|
|
24
|
+
interface _Utils {
|
|
25
|
+
_visit: <_Result>(visitor: CandidApi.serviceLines.v2.update.Error._Visitor<_Result>) => _Result;
|
|
26
|
+
}
|
|
27
|
+
interface _Visitor<_Result> {
|
|
28
|
+
entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
|
|
29
|
+
unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => _Result;
|
|
30
|
+
httpRequestValidationError: (value: CandidApi.RequestValidationError) => _Result;
|
|
31
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
export declare const Error: {
|
|
35
|
+
readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.serviceLines.v2.update.Error.EntityNotFoundError;
|
|
36
|
+
readonly unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => CandidApi.serviceLines.v2.update.Error.UnauthorizedError;
|
|
37
|
+
readonly httpRequestValidationError: (value: CandidApi.RequestValidationError) => CandidApi.serviceLines.v2.update.Error.HttpRequestValidationError;
|
|
38
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.serviceLines.v2.update.Error._Unknown;
|
|
39
|
+
readonly _visit: <_Result>(value: CandidApi.serviceLines.v2.update.Error, visitor: CandidApi.serviceLines.v2.update.Error._Visitor<_Result>) => _Result;
|
|
40
|
+
};
|
|
@@ -0,0 +1,80 @@
|
|
|
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.serviceLines.v2.update.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
unauthorizedError: (value) => {
|
|
42
|
+
return {
|
|
43
|
+
content: value,
|
|
44
|
+
errorName: "UnauthorizedError",
|
|
45
|
+
_visit: function (visitor) {
|
|
46
|
+
return CandidApi.serviceLines.v2.update.Error._visit(this, visitor);
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
},
|
|
50
|
+
httpRequestValidationError: (value) => {
|
|
51
|
+
return {
|
|
52
|
+
content: value,
|
|
53
|
+
errorName: "HttpRequestValidationError",
|
|
54
|
+
_visit: function (visitor) {
|
|
55
|
+
return CandidApi.serviceLines.v2.update.Error._visit(this, visitor);
|
|
56
|
+
},
|
|
57
|
+
};
|
|
58
|
+
},
|
|
59
|
+
_unknown: (fetcherError) => {
|
|
60
|
+
return {
|
|
61
|
+
errorName: undefined,
|
|
62
|
+
content: fetcherError,
|
|
63
|
+
_visit: function (visitor) {
|
|
64
|
+
return CandidApi.serviceLines.v2.update.Error._visit(this, visitor);
|
|
65
|
+
},
|
|
66
|
+
};
|
|
67
|
+
},
|
|
68
|
+
_visit: (value, visitor) => {
|
|
69
|
+
switch (value.errorName) {
|
|
70
|
+
case "EntityNotFoundError":
|
|
71
|
+
return visitor.entityNotFoundError(value.content);
|
|
72
|
+
case "UnauthorizedError":
|
|
73
|
+
return visitor.unauthorizedError(value.content);
|
|
74
|
+
case "HttpRequestValidationError":
|
|
75
|
+
return visitor.httpRequestValidationError(value.content);
|
|
76
|
+
default:
|
|
77
|
+
return visitor._other(value);
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
export interface ServiceLineCreateStandalone {
|
|
6
|
+
modifiers?: CandidApi.ProcedureModifier[];
|
|
7
|
+
chargeAmountCents?: number;
|
|
8
|
+
allowedAmountCents?: number;
|
|
9
|
+
insuranceBalanceCents?: number;
|
|
10
|
+
patientBalanceCents?: number;
|
|
11
|
+
primaryPaidAmountCents?: number;
|
|
12
|
+
secondaryPaidAmountCents?: number;
|
|
13
|
+
tertiaryPaidAmountCents?: number;
|
|
14
|
+
patientResponsibilityCents?: number;
|
|
15
|
+
diagnosisIdZero?: CandidApi.DiagnosisId;
|
|
16
|
+
diagnosisIdOne?: CandidApi.DiagnosisId;
|
|
17
|
+
diagnosisIdTwo?: CandidApi.DiagnosisId;
|
|
18
|
+
diagnosisIdThree?: CandidApi.DiagnosisId;
|
|
19
|
+
serviceLineManualAdjustments?: CandidApi.serviceLines.v2.ServiceLineAdjustment[];
|
|
20
|
+
denialReason?: CandidApi.serviceLines.v2.ServiceLineDenialReason;
|
|
21
|
+
placeOfServiceCode?: CandidApi.FacilityTypeCode;
|
|
22
|
+
placeOfServiceCodeAsSubmitted?: CandidApi.FacilityTypeCode;
|
|
23
|
+
procedureCode: string;
|
|
24
|
+
/**
|
|
25
|
+
* String representation of a Decimal that can be parsed by most libraries.
|
|
26
|
+
* A ServiceLine quantity cannot contain more than one digit of precision.
|
|
27
|
+
* Example: 1.1 is valid, 1.11 is not.
|
|
28
|
+
*/
|
|
29
|
+
quantity: CandidApi.Decimal;
|
|
30
|
+
units: CandidApi.ServiceLineUnits;
|
|
31
|
+
claimId: CandidApi.ClaimId;
|
|
32
|
+
/** A free-form description to clarify the related data elements and their content. Maps to SV1-01, C003-07 on the 837-P. */
|
|
33
|
+
description?: string;
|
|
34
|
+
dateOfService?: string;
|
|
35
|
+
endDateOfService?: string;
|
|
36
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
export interface ServiceLineUpdate {
|
|
6
|
+
editReason?: string;
|
|
7
|
+
modifiers?: CandidApi.ProcedureModifier[];
|
|
8
|
+
chargeAmountCents?: number;
|
|
9
|
+
allowedAmountCents?: number;
|
|
10
|
+
insuranceBalanceCents?: number;
|
|
11
|
+
patientBalanceCents?: number;
|
|
12
|
+
primaryPaidAmountCents?: number;
|
|
13
|
+
secondaryPaidAmountCents?: number;
|
|
14
|
+
tertiaryPaidAmountCents?: number;
|
|
15
|
+
patientResponsibilityCents?: number;
|
|
16
|
+
diagnosisIdZero?: CandidApi.DiagnosisId;
|
|
17
|
+
diagnosisIdOne?: CandidApi.DiagnosisId;
|
|
18
|
+
diagnosisIdTwo?: CandidApi.DiagnosisId;
|
|
19
|
+
diagnosisIdThree?: CandidApi.DiagnosisId;
|
|
20
|
+
serviceLineManualAdjustments?: CandidApi.serviceLines.v2.ServiceLineAdjustment[];
|
|
21
|
+
denialReason?: CandidApi.serviceLines.v2.ServiceLineDenialReason;
|
|
22
|
+
placeOfServiceCode?: CandidApi.FacilityTypeCode;
|
|
23
|
+
placeOfServiceCodeAsSubmitted?: CandidApi.FacilityTypeCode;
|
|
24
|
+
units?: CandidApi.ServiceLineUnits;
|
|
25
|
+
procedureCode?: string;
|
|
26
|
+
/**
|
|
27
|
+
* String representation of a Decimal that can be parsed by most libraries.
|
|
28
|
+
* A ServiceLine quantity cannot contain more than one digit of precision.
|
|
29
|
+
* Example: 1.1 is valid, 1.11 is not.
|
|
30
|
+
*/
|
|
31
|
+
quantity?: CandidApi.Decimal;
|
|
32
|
+
/** A free-form description to clarify the related data elements and their content. Maps to SV1-01, C003-07 on the 837-P. */
|
|
33
|
+
description?: string;
|
|
34
|
+
/** date_of_service must be defined on either the encounter or the service lines but not both. */
|
|
35
|
+
dateOfService?: string;
|
|
36
|
+
endDateOfService?: string;
|
|
37
|
+
}
|
|
@@ -15,6 +15,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./ServiceLineCreate"), exports);
|
|
18
|
+
__exportStar(require("./ServiceLineCreateStandalone"), exports);
|
|
19
|
+
__exportStar(require("./ServiceLineUpdate"), exports);
|
|
18
20
|
__exportStar(require("./ServiceLine"), exports);
|
|
19
21
|
__exportStar(require("./ServiceLineEraData"), exports);
|
|
20
22
|
__exportStar(require("./ServiceLineAdjustment"), exports);
|
|
@@ -66,7 +66,7 @@ class V3 {
|
|
|
66
66
|
Authorization: yield this._getAuthorizationHeader(),
|
|
67
67
|
"X-Fern-Language": "JavaScript",
|
|
68
68
|
"X-Fern-SDK-Name": "candidhealth",
|
|
69
|
-
"X-Fern-SDK-Version": "0.
|
|
69
|
+
"X-Fern-SDK-Version": "0.26.0",
|
|
70
70
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
71
71
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
72
72
|
},
|
|
@@ -166,7 +166,7 @@ class V3 {
|
|
|
166
166
|
Authorization: yield this._getAuthorizationHeader(),
|
|
167
167
|
"X-Fern-Language": "JavaScript",
|
|
168
168
|
"X-Fern-SDK-Name": "candidhealth",
|
|
169
|
-
"X-Fern-SDK-Version": "0.
|
|
169
|
+
"X-Fern-SDK-Version": "0.26.0",
|
|
170
170
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
171
171
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
172
172
|
},
|
|
@@ -226,7 +226,7 @@ class V3 {
|
|
|
226
226
|
Authorization: yield this._getAuthorizationHeader(),
|
|
227
227
|
"X-Fern-Language": "JavaScript",
|
|
228
228
|
"X-Fern-SDK-Name": "candidhealth",
|
|
229
|
-
"X-Fern-SDK-Version": "0.
|
|
229
|
+
"X-Fern-SDK-Version": "0.26.0",
|
|
230
230
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
231
231
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
232
232
|
},
|
|
@@ -294,7 +294,7 @@ class V3 {
|
|
|
294
294
|
Authorization: yield this._getAuthorizationHeader(),
|
|
295
295
|
"X-Fern-Language": "JavaScript",
|
|
296
296
|
"X-Fern-SDK-Name": "candidhealth",
|
|
297
|
-
"X-Fern-SDK-Version": "0.
|
|
297
|
+
"X-Fern-SDK-Version": "0.26.0",
|
|
298
298
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
299
299
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
300
300
|
},
|
|
@@ -345,7 +345,7 @@ class V3 {
|
|
|
345
345
|
Authorization: yield this._getAuthorizationHeader(),
|
|
346
346
|
"X-Fern-Language": "JavaScript",
|
|
347
347
|
"X-Fern-SDK-Name": "candidhealth",
|
|
348
|
-
"X-Fern-SDK-Version": "0.
|
|
348
|
+
"X-Fern-SDK-Version": "0.26.0",
|
|
349
349
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
350
350
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
351
351
|
},
|