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
package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
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.ServiceLineCreateStandalone = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
const ProcedureModifier_1 = require("../../../../commons/types/ProcedureModifier");
|
|
32
|
+
const DiagnosisId_1 = require("../../../../diagnoses/types/DiagnosisId");
|
|
33
|
+
const ServiceLineAdjustment_1 = require("./ServiceLineAdjustment");
|
|
34
|
+
const ServiceLineDenialReason_1 = require("./ServiceLineDenialReason");
|
|
35
|
+
const FacilityTypeCode_1 = require("../../../../commons/types/FacilityTypeCode");
|
|
36
|
+
const Decimal_1 = require("../../../../commons/types/Decimal");
|
|
37
|
+
const ServiceLineUnits_1 = require("../../../../commons/types/ServiceLineUnits");
|
|
38
|
+
const ClaimId_1 = require("../../../../commons/types/ClaimId");
|
|
39
|
+
exports.ServiceLineCreateStandalone = core.serialization.object({
|
|
40
|
+
modifiers: core.serialization.list(ProcedureModifier_1.ProcedureModifier).optional(),
|
|
41
|
+
chargeAmountCents: core.serialization.property("charge_amount_cents", core.serialization.number().optional()),
|
|
42
|
+
allowedAmountCents: core.serialization.property("allowed_amount_cents", core.serialization.number().optional()),
|
|
43
|
+
insuranceBalanceCents: core.serialization.property("insurance_balance_cents", core.serialization.number().optional()),
|
|
44
|
+
patientBalanceCents: core.serialization.property("patient_balance_cents", core.serialization.number().optional()),
|
|
45
|
+
primaryPaidAmountCents: core.serialization.property("primary_paid_amount_cents", core.serialization.number().optional()),
|
|
46
|
+
secondaryPaidAmountCents: core.serialization.property("secondary_paid_amount_cents", core.serialization.number().optional()),
|
|
47
|
+
tertiaryPaidAmountCents: core.serialization.property("tertiary_paid_amount_cents", core.serialization.number().optional()),
|
|
48
|
+
patientResponsibilityCents: core.serialization.property("patient_responsibility_cents", core.serialization.number().optional()),
|
|
49
|
+
diagnosisIdZero: core.serialization.property("diagnosis_id_zero", DiagnosisId_1.DiagnosisId.optional()),
|
|
50
|
+
diagnosisIdOne: core.serialization.property("diagnosis_id_one", DiagnosisId_1.DiagnosisId.optional()),
|
|
51
|
+
diagnosisIdTwo: core.serialization.property("diagnosis_id_two", DiagnosisId_1.DiagnosisId.optional()),
|
|
52
|
+
diagnosisIdThree: core.serialization.property("diagnosis_id_three", DiagnosisId_1.DiagnosisId.optional()),
|
|
53
|
+
serviceLineManualAdjustments: core.serialization.property("service_line_manual_adjustments", core.serialization.list(ServiceLineAdjustment_1.ServiceLineAdjustment).optional()),
|
|
54
|
+
denialReason: core.serialization.property("denial_reason", ServiceLineDenialReason_1.ServiceLineDenialReason.optional()),
|
|
55
|
+
placeOfServiceCode: core.serialization.property("place_of_service_code", FacilityTypeCode_1.FacilityTypeCode.optional()),
|
|
56
|
+
placeOfServiceCodeAsSubmitted: core.serialization.property("place_of_service_code_as_submitted", FacilityTypeCode_1.FacilityTypeCode.optional()),
|
|
57
|
+
procedureCode: core.serialization.property("procedure_code", core.serialization.string()),
|
|
58
|
+
quantity: Decimal_1.Decimal,
|
|
59
|
+
units: ServiceLineUnits_1.ServiceLineUnits,
|
|
60
|
+
claimId: core.serialization.property("claim_id", ClaimId_1.ClaimId),
|
|
61
|
+
description: core.serialization.string().optional(),
|
|
62
|
+
dateOfService: core.serialization.property("date_of_service", core.serialization.string().optional()),
|
|
63
|
+
endDateOfService: core.serialization.property("end_date_of_service", core.serialization.string().optional()),
|
|
64
|
+
});
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
import { ProcedureModifier } from "../../../../commons/types/ProcedureModifier";
|
|
8
|
+
import { DiagnosisId } from "../../../../diagnoses/types/DiagnosisId";
|
|
9
|
+
import { ServiceLineAdjustment } from "./ServiceLineAdjustment";
|
|
10
|
+
import { ServiceLineDenialReason } from "./ServiceLineDenialReason";
|
|
11
|
+
import { FacilityTypeCode } from "../../../../commons/types/FacilityTypeCode";
|
|
12
|
+
import { ServiceLineUnits } from "../../../../commons/types/ServiceLineUnits";
|
|
13
|
+
import { Decimal } from "../../../../commons/types/Decimal";
|
|
14
|
+
export declare const ServiceLineUpdate: core.serialization.ObjectSchema<serializers.serviceLines.v2.ServiceLineUpdate.Raw, CandidApi.serviceLines.v2.ServiceLineUpdate>;
|
|
15
|
+
export declare namespace ServiceLineUpdate {
|
|
16
|
+
interface Raw {
|
|
17
|
+
edit_reason?: string | null;
|
|
18
|
+
modifiers?: ProcedureModifier.Raw[] | null;
|
|
19
|
+
charge_amount_cents?: number | null;
|
|
20
|
+
allowed_amount_cents?: number | null;
|
|
21
|
+
insurance_balance_cents?: number | null;
|
|
22
|
+
patient_balance_cents?: number | null;
|
|
23
|
+
primary_paid_amount_cents?: number | null;
|
|
24
|
+
secondary_paid_amount_cents?: number | null;
|
|
25
|
+
tertiary_paid_amount_cents?: number | null;
|
|
26
|
+
patient_responsibility_cents?: number | null;
|
|
27
|
+
diagnosis_id_zero?: DiagnosisId.Raw | null;
|
|
28
|
+
diagnosis_id_one?: DiagnosisId.Raw | null;
|
|
29
|
+
diagnosis_id_two?: DiagnosisId.Raw | null;
|
|
30
|
+
diagnosis_id_three?: DiagnosisId.Raw | null;
|
|
31
|
+
service_line_manual_adjustments?: ServiceLineAdjustment.Raw[] | null;
|
|
32
|
+
denial_reason?: ServiceLineDenialReason.Raw | null;
|
|
33
|
+
place_of_service_code?: FacilityTypeCode.Raw | null;
|
|
34
|
+
place_of_service_code_as_submitted?: FacilityTypeCode.Raw | null;
|
|
35
|
+
units?: ServiceLineUnits.Raw | null;
|
|
36
|
+
procedure_code?: string | null;
|
|
37
|
+
quantity?: Decimal.Raw | null;
|
|
38
|
+
description?: string | null;
|
|
39
|
+
date_of_service?: string | null;
|
|
40
|
+
end_date_of_service?: string | null;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
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.ServiceLineUpdate = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
const ProcedureModifier_1 = require("../../../../commons/types/ProcedureModifier");
|
|
32
|
+
const DiagnosisId_1 = require("../../../../diagnoses/types/DiagnosisId");
|
|
33
|
+
const ServiceLineAdjustment_1 = require("./ServiceLineAdjustment");
|
|
34
|
+
const ServiceLineDenialReason_1 = require("./ServiceLineDenialReason");
|
|
35
|
+
const FacilityTypeCode_1 = require("../../../../commons/types/FacilityTypeCode");
|
|
36
|
+
const ServiceLineUnits_1 = require("../../../../commons/types/ServiceLineUnits");
|
|
37
|
+
const Decimal_1 = require("../../../../commons/types/Decimal");
|
|
38
|
+
exports.ServiceLineUpdate = core.serialization.object({
|
|
39
|
+
editReason: core.serialization.property("edit_reason", core.serialization.string().optional()),
|
|
40
|
+
modifiers: core.serialization.list(ProcedureModifier_1.ProcedureModifier).optional(),
|
|
41
|
+
chargeAmountCents: core.serialization.property("charge_amount_cents", core.serialization.number().optional()),
|
|
42
|
+
allowedAmountCents: core.serialization.property("allowed_amount_cents", core.serialization.number().optional()),
|
|
43
|
+
insuranceBalanceCents: core.serialization.property("insurance_balance_cents", core.serialization.number().optional()),
|
|
44
|
+
patientBalanceCents: core.serialization.property("patient_balance_cents", core.serialization.number().optional()),
|
|
45
|
+
primaryPaidAmountCents: core.serialization.property("primary_paid_amount_cents", core.serialization.number().optional()),
|
|
46
|
+
secondaryPaidAmountCents: core.serialization.property("secondary_paid_amount_cents", core.serialization.number().optional()),
|
|
47
|
+
tertiaryPaidAmountCents: core.serialization.property("tertiary_paid_amount_cents", core.serialization.number().optional()),
|
|
48
|
+
patientResponsibilityCents: core.serialization.property("patient_responsibility_cents", core.serialization.number().optional()),
|
|
49
|
+
diagnosisIdZero: core.serialization.property("diagnosis_id_zero", DiagnosisId_1.DiagnosisId.optional()),
|
|
50
|
+
diagnosisIdOne: core.serialization.property("diagnosis_id_one", DiagnosisId_1.DiagnosisId.optional()),
|
|
51
|
+
diagnosisIdTwo: core.serialization.property("diagnosis_id_two", DiagnosisId_1.DiagnosisId.optional()),
|
|
52
|
+
diagnosisIdThree: core.serialization.property("diagnosis_id_three", DiagnosisId_1.DiagnosisId.optional()),
|
|
53
|
+
serviceLineManualAdjustments: core.serialization.property("service_line_manual_adjustments", core.serialization.list(ServiceLineAdjustment_1.ServiceLineAdjustment).optional()),
|
|
54
|
+
denialReason: core.serialization.property("denial_reason", ServiceLineDenialReason_1.ServiceLineDenialReason.optional()),
|
|
55
|
+
placeOfServiceCode: core.serialization.property("place_of_service_code", FacilityTypeCode_1.FacilityTypeCode.optional()),
|
|
56
|
+
placeOfServiceCodeAsSubmitted: core.serialization.property("place_of_service_code_as_submitted", FacilityTypeCode_1.FacilityTypeCode.optional()),
|
|
57
|
+
units: ServiceLineUnits_1.ServiceLineUnits.optional(),
|
|
58
|
+
procedureCode: core.serialization.property("procedure_code", core.serialization.string().optional()),
|
|
59
|
+
quantity: Decimal_1.Decimal.optional(),
|
|
60
|
+
description: core.serialization.string().optional(),
|
|
61
|
+
dateOfService: core.serialization.property("date_of_service", core.serialization.string().optional()),
|
|
62
|
+
endDateOfService: core.serialization.property("end_date_of_service", core.serialization.string().optional()),
|
|
63
|
+
});
|
|
@@ -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);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./resources";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./resources"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as v1 from "./v1";
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.v1 = void 0;
|
|
27
|
+
exports.v1 = __importStar(require("./v1"));
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
|
|
8
|
+
import { UnprocessableEntityErrorMessage } from "../../../../commons/types/UnprocessableEntityErrorMessage";
|
|
9
|
+
export declare const Error: core.serialization.Schema<serializers.thirdPartyPayerPayments.v1.create.Error.Raw, CandidApi.thirdPartyPayerPayments.v1.create.Error>;
|
|
10
|
+
export declare namespace Error {
|
|
11
|
+
type Raw = Error.EntityNotFoundError | Error.UnprocessableEntityError;
|
|
12
|
+
interface EntityNotFoundError {
|
|
13
|
+
errorName: "EntityNotFoundError";
|
|
14
|
+
content: EntityNotFoundErrorMessage.Raw;
|
|
15
|
+
}
|
|
16
|
+
interface UnprocessableEntityError {
|
|
17
|
+
errorName: "UnprocessableEntityError";
|
|
18
|
+
content: UnprocessableEntityErrorMessage.Raw;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
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 __rest = (this && this.__rest) || function (s, e) {
|
|
29
|
+
var t = {};
|
|
30
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
31
|
+
t[p] = s[p];
|
|
32
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
33
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
34
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
35
|
+
t[p[i]] = s[p[i]];
|
|
36
|
+
}
|
|
37
|
+
return t;
|
|
38
|
+
};
|
|
39
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
+
exports.Error = void 0;
|
|
41
|
+
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
42
|
+
const core = __importStar(require("../../../../../../core"));
|
|
43
|
+
const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
|
|
44
|
+
const UnprocessableEntityErrorMessage_1 = require("../../../../commons/types/UnprocessableEntityErrorMessage");
|
|
45
|
+
exports.Error = core.serialization
|
|
46
|
+
.union("errorName", {
|
|
47
|
+
EntityNotFoundError: core.serialization.object({
|
|
48
|
+
content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
|
|
49
|
+
}),
|
|
50
|
+
UnprocessableEntityError: core.serialization.object({
|
|
51
|
+
content: UnprocessableEntityErrorMessage_1.UnprocessableEntityErrorMessage,
|
|
52
|
+
}),
|
|
53
|
+
})
|
|
54
|
+
.transform({
|
|
55
|
+
transform: (value) => {
|
|
56
|
+
switch (value.errorName) {
|
|
57
|
+
case "EntityNotFoundError":
|
|
58
|
+
return CandidApi.thirdPartyPayerPayments.v1.create.Error.entityNotFoundError(value.content);
|
|
59
|
+
case "UnprocessableEntityError":
|
|
60
|
+
return CandidApi.thirdPartyPayerPayments.v1.create.Error.unprocessableEntityError(value.content);
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
untransform: (_a) => {
|
|
64
|
+
var { _visit } = _a, value = __rest(_a, ["_visit"]);
|
|
65
|
+
return value;
|
|
66
|
+
},
|
|
67
|
+
});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
|
|
8
|
+
import { UnprocessableEntityErrorMessage } from "../../../../commons/types/UnprocessableEntityErrorMessage";
|
|
9
|
+
export declare const Error: core.serialization.Schema<serializers.thirdPartyPayerPayments.v1.delete.Error.Raw, CandidApi.thirdPartyPayerPayments.v1.delete.Error>;
|
|
10
|
+
export declare namespace Error {
|
|
11
|
+
type Raw = Error.EntityNotFoundError | Error.UnprocessableEntityError;
|
|
12
|
+
interface EntityNotFoundError {
|
|
13
|
+
errorName: "EntityNotFoundError";
|
|
14
|
+
content: EntityNotFoundErrorMessage.Raw;
|
|
15
|
+
}
|
|
16
|
+
interface UnprocessableEntityError {
|
|
17
|
+
errorName: "UnprocessableEntityError";
|
|
18
|
+
content: UnprocessableEntityErrorMessage.Raw;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
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 __rest = (this && this.__rest) || function (s, e) {
|
|
29
|
+
var t = {};
|
|
30
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
31
|
+
t[p] = s[p];
|
|
32
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
33
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
34
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
35
|
+
t[p[i]] = s[p[i]];
|
|
36
|
+
}
|
|
37
|
+
return t;
|
|
38
|
+
};
|
|
39
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
+
exports.Error = void 0;
|
|
41
|
+
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
42
|
+
const core = __importStar(require("../../../../../../core"));
|
|
43
|
+
const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
|
|
44
|
+
const UnprocessableEntityErrorMessage_1 = require("../../../../commons/types/UnprocessableEntityErrorMessage");
|
|
45
|
+
exports.Error = core.serialization
|
|
46
|
+
.union("errorName", {
|
|
47
|
+
EntityNotFoundError: core.serialization.object({
|
|
48
|
+
content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
|
|
49
|
+
}),
|
|
50
|
+
UnprocessableEntityError: core.serialization.object({
|
|
51
|
+
content: UnprocessableEntityErrorMessage_1.UnprocessableEntityErrorMessage,
|
|
52
|
+
}),
|
|
53
|
+
})
|
|
54
|
+
.transform({
|
|
55
|
+
transform: (value) => {
|
|
56
|
+
switch (value.errorName) {
|
|
57
|
+
case "EntityNotFoundError":
|
|
58
|
+
return CandidApi.thirdPartyPayerPayments.v1.delete.Error.entityNotFoundError(value.content);
|
|
59
|
+
case "UnprocessableEntityError":
|
|
60
|
+
return CandidApi.thirdPartyPayerPayments.v1.delete.Error.unprocessableEntityError(value.content);
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
untransform: (_a) => {
|
|
64
|
+
var { _visit } = _a, value = __rest(_a, ["_visit"]);
|
|
65
|
+
return value;
|
|
66
|
+
},
|
|
67
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
|
|
8
|
+
export declare const Error: core.serialization.Schema<serializers.thirdPartyPayerPayments.v1.get.Error.Raw, CandidApi.thirdPartyPayerPayments.v1.get.Error>;
|
|
9
|
+
export declare namespace Error {
|
|
10
|
+
type Raw = Error.EntityNotFoundError;
|
|
11
|
+
interface EntityNotFoundError {
|
|
12
|
+
errorName: "EntityNotFoundError";
|
|
13
|
+
content: EntityNotFoundErrorMessage.Raw;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
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 __rest = (this && this.__rest) || function (s, e) {
|
|
29
|
+
var t = {};
|
|
30
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
31
|
+
t[p] = s[p];
|
|
32
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
33
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
34
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
35
|
+
t[p[i]] = s[p[i]];
|
|
36
|
+
}
|
|
37
|
+
return t;
|
|
38
|
+
};
|
|
39
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
+
exports.Error = void 0;
|
|
41
|
+
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
42
|
+
const core = __importStar(require("../../../../../../core"));
|
|
43
|
+
const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
|
|
44
|
+
exports.Error = core.serialization
|
|
45
|
+
.union("errorName", {
|
|
46
|
+
EntityNotFoundError: core.serialization.object({
|
|
47
|
+
content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
|
|
48
|
+
}),
|
|
49
|
+
})
|
|
50
|
+
.transform({
|
|
51
|
+
transform: (value) => {
|
|
52
|
+
switch (value.errorName) {
|
|
53
|
+
case "EntityNotFoundError":
|
|
54
|
+
return CandidApi.thirdPartyPayerPayments.v1.get.Error.entityNotFoundError(value.content);
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
untransform: (_a) => {
|
|
58
|
+
var { _visit } = _a, value = __rest(_a, ["_visit"]);
|
|
59
|
+
return value;
|
|
60
|
+
},
|
|
61
|
+
});
|
package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/getMulti.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
import { UnprocessableEntityErrorMessage } from "../../../../commons/types/UnprocessableEntityErrorMessage";
|
|
8
|
+
export declare const Error: core.serialization.Schema<serializers.thirdPartyPayerPayments.v1.getMulti.Error.Raw, CandidApi.thirdPartyPayerPayments.v1.getMulti.Error>;
|
|
9
|
+
export declare namespace Error {
|
|
10
|
+
type Raw = Error.UnprocessableEntityError;
|
|
11
|
+
interface UnprocessableEntityError {
|
|
12
|
+
errorName: "UnprocessableEntityError";
|
|
13
|
+
content: UnprocessableEntityErrorMessage.Raw;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
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 __rest = (this && this.__rest) || function (s, e) {
|
|
29
|
+
var t = {};
|
|
30
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
31
|
+
t[p] = s[p];
|
|
32
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
33
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
34
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
35
|
+
t[p[i]] = s[p[i]];
|
|
36
|
+
}
|
|
37
|
+
return t;
|
|
38
|
+
};
|
|
39
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
+
exports.Error = void 0;
|
|
41
|
+
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
42
|
+
const core = __importStar(require("../../../../../../core"));
|
|
43
|
+
const UnprocessableEntityErrorMessage_1 = require("../../../../commons/types/UnprocessableEntityErrorMessage");
|
|
44
|
+
exports.Error = core.serialization
|
|
45
|
+
.union("errorName", {
|
|
46
|
+
UnprocessableEntityError: core.serialization.object({
|
|
47
|
+
content: UnprocessableEntityErrorMessage_1.UnprocessableEntityErrorMessage,
|
|
48
|
+
}),
|
|
49
|
+
})
|
|
50
|
+
.transform({
|
|
51
|
+
transform: (value) => {
|
|
52
|
+
switch (value.errorName) {
|
|
53
|
+
case "UnprocessableEntityError":
|
|
54
|
+
return CandidApi.thirdPartyPayerPayments.v1.getMulti.Error.unprocessableEntityError(value.content);
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
untransform: (_a) => {
|
|
58
|
+
var { _visit } = _a, value = __rest(_a, ["_visit"]);
|
|
59
|
+
return value;
|
|
60
|
+
},
|
|
61
|
+
});
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __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
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
26
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.delete = exports.update = exports.create = exports.get = exports.getMulti = void 0;
|
|
30
|
+
exports.getMulti = __importStar(require("./getMulti"));
|
|
31
|
+
exports.get = __importStar(require("./get"));
|
|
32
|
+
exports.create = __importStar(require("./create"));
|
|
33
|
+
exports.update = __importStar(require("./update"));
|
|
34
|
+
exports.delete = __importStar(require("./delete"));
|
|
35
|
+
__exportStar(require("./requests"), exports);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../core";
|
|
7
|
+
import { NoteUpdate } from "../../../../../financials/types/NoteUpdate";
|
|
8
|
+
import { InvoiceUpdate } from "../../../../../financials/types/InvoiceUpdate";
|
|
9
|
+
export declare const UpdateThirdPartyPayerPaymentRequest: core.serialization.Schema<serializers.thirdPartyPayerPayments.v1.UpdateThirdPartyPayerPaymentRequest.Raw, CandidApi.thirdPartyPayerPayments.v1.UpdateThirdPartyPayerPaymentRequest>;
|
|
10
|
+
export declare namespace UpdateThirdPartyPayerPaymentRequest {
|
|
11
|
+
interface Raw {
|
|
12
|
+
payment_timestamp?: string | null;
|
|
13
|
+
payment_note?: NoteUpdate.Raw | null;
|
|
14
|
+
invoice_id?: InvoiceUpdate.Raw | null;
|
|
15
|
+
}
|
|
16
|
+
}
|