candidhealth 0.15.0 → 0.16.1
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 +3 -0
- package/Client.js +23 -18
- package/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/eligibility/resources/v2/client/Client.js +1 -1
- package/api/resources/encounters/resources/v4/client/Client.js +4 -4
- package/api/resources/era/types/EraNotFullyProcessedErrorMessage.d.ts +8 -0
- package/api/resources/era/types/EraNotFullyProcessedErrorMessage.js +5 -0
- package/api/resources/era/types/index.d.ts +1 -0
- package/api/resources/era/types/index.js +1 -0
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/api/resources/financials/types/AllocationCreate.d.ts +5 -0
- package/api/resources/financials/types/AllocationTarget.d.ts +8 -6
- package/api/resources/financials/types/AllocationTargetCreate.d.ts +5 -0
- package/api/resources/financials/types/BillingProviderAllocationTarget.d.ts +7 -0
- package/api/resources/financials/types/BillingProviderAllocationTarget.js +5 -0
- package/api/resources/financials/types/ClaimAllocationTarget.d.ts +8 -0
- package/api/resources/financials/types/ClaimAllocationTarget.js +5 -0
- package/api/resources/financials/types/ServiceLineAllocationTarget.d.ts +9 -0
- package/api/resources/financials/types/ServiceLineAllocationTarget.js +5 -0
- package/api/resources/financials/types/index.d.ts +3 -0
- package/api/resources/financials/types/index.js +3 -0
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/index.d.ts +1 -0
- package/api/resources/index.js +2 -1
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +17 -3
- package/api/resources/insuranceAdjudications/resources/v1/client/create.d.ts +7 -1
- package/api/resources/insuranceAdjudications/resources/v1/client/create.js +11 -0
- package/api/resources/insurancePayments/client/Client.d.ts +18 -0
- package/api/resources/insurancePayments/client/Client.js +18 -0
- package/api/resources/insurancePayments/client/index.d.ts +1 -0
- package/api/resources/insurancePayments/client/index.js +2 -0
- package/api/resources/insurancePayments/index.d.ts +2 -0
- package/api/resources/insurancePayments/index.js +18 -0
- package/api/resources/insurancePayments/resources/index.d.ts +1 -0
- package/api/resources/insurancePayments/resources/index.js +27 -0
- package/api/resources/insurancePayments/resources/v1/client/Client.d.ts +48 -0
- package/api/resources/insurancePayments/resources/v1/client/Client.js +325 -0
- package/api/resources/insurancePayments/resources/v1/client/create.d.ts +28 -0
- package/api/resources/insurancePayments/resources/v1/client/create.js +58 -0
- package/api/resources/insurancePayments/resources/v1/client/delete.d.ts +34 -0
- package/api/resources/insurancePayments/resources/v1/client/delete.js +69 -0
- package/api/resources/insurancePayments/resources/v1/client/get.d.ts +34 -0
- package/api/resources/insurancePayments/resources/v1/client/get.js +69 -0
- package/api/resources/insurancePayments/resources/v1/client/getMulti.d.ts +34 -0
- package/api/resources/insurancePayments/resources/v1/client/getMulti.js +69 -0
- package/api/resources/insurancePayments/resources/v1/client/index.d.ts +6 -0
- package/api/resources/insurancePayments/resources/v1/client/index.js +35 -0
- package/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.d.ts +23 -0
- package/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.js +5 -0
- package/api/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.d.ts +8 -0
- package/api/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.js +5 -0
- package/api/resources/insurancePayments/resources/v1/client/requests/index.d.ts +2 -0
- package/api/resources/insurancePayments/resources/v1/client/requests/index.js +2 -0
- package/api/resources/insurancePayments/resources/v1/client/update.d.ts +34 -0
- package/api/resources/insurancePayments/resources/v1/client/update.js +69 -0
- package/api/resources/insurancePayments/resources/v1/index.d.ts +2 -0
- package/api/resources/insurancePayments/resources/v1/index.js +18 -0
- package/api/resources/insurancePayments/resources/v1/types/InsurancePayment.d.ts +12 -0
- package/api/resources/insurancePayments/resources/v1/types/InsurancePayment.js +5 -0
- package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.d.ts +11 -0
- package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.js +5 -0
- package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentId.d.ts +8 -0
- package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentId.js +10 -0
- package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.d.ts +9 -0
- package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.js +11 -0
- package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.d.ts +7 -0
- package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.js +5 -0
- package/api/resources/insurancePayments/resources/v1/types/index.d.ts +5 -0
- package/api/resources/insurancePayments/resources/v1/types/index.js +21 -0
- 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 +9 -6
- package/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +4 -0
- package/api/resources/patientRefunds/resources/v1/client/Client.js +9 -6
- package/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +4 -0
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/api/resources/x12/resources/v1/types/Carc.d.ts +109 -1
- package/api/resources/x12/resources/v1/types/Carc.js +108 -0
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +23 -18
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
- package/dist/api/resources/era/types/EraNotFullyProcessedErrorMessage.d.ts +8 -0
- package/dist/api/resources/era/types/EraNotFullyProcessedErrorMessage.js +5 -0
- package/dist/api/resources/era/types/index.d.ts +1 -0
- package/dist/api/resources/era/types/index.js +1 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/dist/api/resources/financials/types/AllocationCreate.d.ts +5 -0
- package/dist/api/resources/financials/types/AllocationTarget.d.ts +8 -6
- package/dist/api/resources/financials/types/AllocationTargetCreate.d.ts +5 -0
- package/dist/api/resources/financials/types/BillingProviderAllocationTarget.d.ts +7 -0
- package/dist/api/resources/financials/types/BillingProviderAllocationTarget.js +5 -0
- package/dist/api/resources/financials/types/ClaimAllocationTarget.d.ts +8 -0
- package/dist/api/resources/financials/types/ClaimAllocationTarget.js +5 -0
- package/dist/api/resources/financials/types/ServiceLineAllocationTarget.d.ts +9 -0
- package/dist/api/resources/financials/types/ServiceLineAllocationTarget.js +5 -0
- package/dist/api/resources/financials/types/index.d.ts +3 -0
- package/dist/api/resources/financials/types/index.js +3 -0
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/index.d.ts +1 -0
- package/dist/api/resources/index.js +2 -1
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +17 -3
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/create.d.ts +7 -1
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/create.js +11 -0
- package/dist/api/resources/insurancePayments/client/Client.d.ts +18 -0
- package/dist/api/resources/insurancePayments/client/Client.js +18 -0
- package/dist/api/resources/insurancePayments/client/index.d.ts +1 -0
- package/dist/api/resources/insurancePayments/client/index.js +2 -0
- package/dist/api/resources/insurancePayments/index.d.ts +2 -0
- package/dist/api/resources/insurancePayments/index.js +18 -0
- package/dist/api/resources/insurancePayments/resources/index.d.ts +1 -0
- package/dist/api/resources/insurancePayments/resources/index.js +27 -0
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.d.ts +48 -0
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +325 -0
- package/dist/api/resources/insurancePayments/resources/v1/client/create.d.ts +28 -0
- package/dist/api/resources/insurancePayments/resources/v1/client/create.js +58 -0
- package/dist/api/resources/insurancePayments/resources/v1/client/delete.d.ts +34 -0
- package/dist/api/resources/insurancePayments/resources/v1/client/delete.js +69 -0
- package/dist/api/resources/insurancePayments/resources/v1/client/get.d.ts +34 -0
- package/dist/api/resources/insurancePayments/resources/v1/client/get.js +69 -0
- package/dist/api/resources/insurancePayments/resources/v1/client/getMulti.d.ts +34 -0
- package/dist/api/resources/insurancePayments/resources/v1/client/getMulti.js +69 -0
- package/dist/api/resources/insurancePayments/resources/v1/client/index.d.ts +6 -0
- package/dist/api/resources/insurancePayments/resources/v1/client/index.js +35 -0
- package/dist/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.d.ts +23 -0
- package/dist/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.js +5 -0
- package/dist/api/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.d.ts +8 -0
- package/dist/api/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.js +5 -0
- package/dist/api/resources/insurancePayments/resources/v1/client/requests/index.d.ts +2 -0
- package/dist/api/resources/insurancePayments/resources/v1/client/requests/index.js +2 -0
- package/dist/api/resources/insurancePayments/resources/v1/client/update.d.ts +34 -0
- package/dist/api/resources/insurancePayments/resources/v1/client/update.js +69 -0
- package/dist/api/resources/insurancePayments/resources/v1/index.d.ts +2 -0
- package/dist/api/resources/insurancePayments/resources/v1/index.js +18 -0
- package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePayment.d.ts +12 -0
- package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePayment.js +5 -0
- package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.d.ts +11 -0
- package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.js +5 -0
- package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentId.d.ts +8 -0
- package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentId.js +10 -0
- package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.d.ts +9 -0
- package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.js +11 -0
- package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.d.ts +7 -0
- package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.js +5 -0
- package/dist/api/resources/insurancePayments/resources/v1/types/index.d.ts +5 -0
- package/dist/api/resources/insurancePayments/resources/v1/types/index.js +21 -0
- 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 +9 -6
- package/dist/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +4 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +9 -6
- package/dist/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +4 -0
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/x12/resources/v1/types/Carc.d.ts +109 -1
- package/dist/api/resources/x12/resources/v1/types/Carc.js +108 -0
- package/dist/serialization/resources/era/types/EraNotFullyProcessedErrorMessage.d.ts +13 -0
- package/dist/serialization/resources/era/types/EraNotFullyProcessedErrorMessage.js +34 -0
- package/dist/serialization/resources/era/types/index.d.ts +1 -0
- package/dist/serialization/resources/era/types/index.js +1 -0
- package/dist/serialization/resources/financials/types/AllocationTarget.d.ts +3 -6
- package/dist/serialization/resources/financials/types/AllocationTarget.js +3 -9
- package/dist/serialization/resources/financials/types/BillingProviderAllocationTarget.d.ts +12 -0
- package/dist/serialization/resources/financials/types/BillingProviderAllocationTarget.js +33 -0
- package/dist/serialization/resources/financials/types/ClaimAllocationTarget.d.ts +13 -0
- package/dist/serialization/resources/financials/types/ClaimAllocationTarget.js +34 -0
- package/dist/serialization/resources/financials/types/ServiceLineAllocationTarget.d.ts +14 -0
- package/dist/serialization/resources/financials/types/ServiceLineAllocationTarget.js +35 -0
- package/dist/serialization/resources/financials/types/index.d.ts +3 -0
- package/dist/serialization/resources/financials/types/index.js +3 -0
- package/dist/serialization/resources/index.d.ts +1 -0
- package/dist/serialization/resources/index.js +2 -1
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/client/create.d.ts +14 -0
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/client/create.js +46 -0
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/client/index.d.ts +1 -0
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/client/index.js +27 -0
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/index.d.ts +1 -0
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/index.js +1 -0
- package/dist/serialization/resources/insurancePayments/index.d.ts +1 -0
- package/dist/serialization/resources/insurancePayments/index.js +17 -0
- package/dist/serialization/resources/insurancePayments/resources/index.d.ts +1 -0
- package/dist/serialization/resources/insurancePayments/resources/index.js +27 -0
- package/dist/serialization/resources/insurancePayments/resources/v1/client/create.d.ts +14 -0
- package/dist/serialization/resources/insurancePayments/resources/v1/client/create.js +46 -0
- package/dist/serialization/resources/insurancePayments/resources/v1/client/delete.d.ts +18 -0
- package/dist/serialization/resources/insurancePayments/resources/v1/client/delete.js +51 -0
- package/dist/serialization/resources/insurancePayments/resources/v1/client/get.d.ts +18 -0
- package/dist/serialization/resources/insurancePayments/resources/v1/client/get.js +51 -0
- package/dist/serialization/resources/insurancePayments/resources/v1/client/getMulti.d.ts +18 -0
- package/dist/serialization/resources/insurancePayments/resources/v1/client/getMulti.js +51 -0
- package/dist/serialization/resources/insurancePayments/resources/v1/client/index.d.ts +6 -0
- package/dist/serialization/resources/insurancePayments/resources/v1/client/index.js +35 -0
- package/dist/serialization/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.d.ts +13 -0
- package/dist/serialization/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.js +34 -0
- package/dist/serialization/resources/insurancePayments/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/insurancePayments/resources/v1/client/requests/index.js +5 -0
- package/dist/serialization/resources/insurancePayments/resources/v1/client/update.d.ts +18 -0
- package/dist/serialization/resources/insurancePayments/resources/v1/client/update.js +51 -0
- package/dist/serialization/resources/insurancePayments/resources/v1/index.d.ts +2 -0
- package/dist/serialization/resources/insurancePayments/resources/v1/index.js +18 -0
- package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePayment.d.ts +17 -0
- package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePayment.js +38 -0
- package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.d.ts +16 -0
- package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.js +37 -0
- package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentId.d.ts +10 -0
- package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentId.js +35 -0
- package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.d.ts +10 -0
- package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.js +31 -0
- package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.d.ts +12 -0
- package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.js +35 -0
- package/dist/serialization/resources/insurancePayments/resources/v1/types/index.d.ts +5 -0
- package/dist/serialization/resources/insurancePayments/resources/v1/types/index.js +21 -0
- package/dist/serialization/resources/x12/resources/v1/types/Carc.d.ts +1 -1
- package/dist/serialization/resources/x12/resources/v1/types/Carc.js +108 -0
- package/package.json +1 -1
- package/serialization/resources/era/types/EraNotFullyProcessedErrorMessage.d.ts +13 -0
- package/serialization/resources/era/types/EraNotFullyProcessedErrorMessage.js +34 -0
- package/serialization/resources/era/types/index.d.ts +1 -0
- package/serialization/resources/era/types/index.js +1 -0
- package/serialization/resources/financials/types/AllocationTarget.d.ts +3 -6
- package/serialization/resources/financials/types/AllocationTarget.js +3 -9
- package/serialization/resources/financials/types/BillingProviderAllocationTarget.d.ts +12 -0
- package/serialization/resources/financials/types/BillingProviderAllocationTarget.js +33 -0
- package/serialization/resources/financials/types/ClaimAllocationTarget.d.ts +13 -0
- package/serialization/resources/financials/types/ClaimAllocationTarget.js +34 -0
- package/serialization/resources/financials/types/ServiceLineAllocationTarget.d.ts +14 -0
- package/serialization/resources/financials/types/ServiceLineAllocationTarget.js +35 -0
- package/serialization/resources/financials/types/index.d.ts +3 -0
- package/serialization/resources/financials/types/index.js +3 -0
- package/serialization/resources/index.d.ts +1 -0
- package/serialization/resources/index.js +2 -1
- package/serialization/resources/insuranceAdjudications/resources/v1/client/create.d.ts +14 -0
- package/serialization/resources/insuranceAdjudications/resources/v1/client/create.js +46 -0
- package/serialization/resources/insuranceAdjudications/resources/v1/client/index.d.ts +1 -0
- package/serialization/resources/insuranceAdjudications/resources/v1/client/index.js +27 -0
- package/serialization/resources/insuranceAdjudications/resources/v1/index.d.ts +1 -0
- package/serialization/resources/insuranceAdjudications/resources/v1/index.js +1 -0
- package/serialization/resources/insurancePayments/index.d.ts +1 -0
- package/serialization/resources/insurancePayments/index.js +17 -0
- package/serialization/resources/insurancePayments/resources/index.d.ts +1 -0
- package/serialization/resources/insurancePayments/resources/index.js +27 -0
- package/serialization/resources/insurancePayments/resources/v1/client/create.d.ts +14 -0
- package/serialization/resources/insurancePayments/resources/v1/client/create.js +46 -0
- package/serialization/resources/insurancePayments/resources/v1/client/delete.d.ts +18 -0
- package/serialization/resources/insurancePayments/resources/v1/client/delete.js +51 -0
- package/serialization/resources/insurancePayments/resources/v1/client/get.d.ts +18 -0
- package/serialization/resources/insurancePayments/resources/v1/client/get.js +51 -0
- package/serialization/resources/insurancePayments/resources/v1/client/getMulti.d.ts +18 -0
- package/serialization/resources/insurancePayments/resources/v1/client/getMulti.js +51 -0
- package/serialization/resources/insurancePayments/resources/v1/client/index.d.ts +6 -0
- package/serialization/resources/insurancePayments/resources/v1/client/index.js +35 -0
- package/serialization/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.d.ts +13 -0
- package/serialization/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.js +34 -0
- package/serialization/resources/insurancePayments/resources/v1/client/requests/index.d.ts +1 -0
- package/serialization/resources/insurancePayments/resources/v1/client/requests/index.js +5 -0
- package/serialization/resources/insurancePayments/resources/v1/client/update.d.ts +18 -0
- package/serialization/resources/insurancePayments/resources/v1/client/update.js +51 -0
- package/serialization/resources/insurancePayments/resources/v1/index.d.ts +2 -0
- package/serialization/resources/insurancePayments/resources/v1/index.js +18 -0
- package/serialization/resources/insurancePayments/resources/v1/types/InsurancePayment.d.ts +17 -0
- package/serialization/resources/insurancePayments/resources/v1/types/InsurancePayment.js +38 -0
- package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.d.ts +16 -0
- package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.js +37 -0
- package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentId.d.ts +10 -0
- package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentId.js +35 -0
- package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.d.ts +10 -0
- package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.js +31 -0
- package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.d.ts +12 -0
- package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.js +35 -0
- package/serialization/resources/insurancePayments/resources/v1/types/index.d.ts +5 -0
- package/serialization/resources/insurancePayments/resources/v1/types/index.js +21 -0
- package/serialization/resources/x12/resources/v1/types/Carc.d.ts +1 -1
- package/serialization/resources/x12/resources/v1/types/Carc.js +108 -0
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../.."));
|
|
31
|
+
exports.Error = {
|
|
32
|
+
entityNotFoundError: (value) => {
|
|
33
|
+
return {
|
|
34
|
+
content: value,
|
|
35
|
+
errorName: "EntityNotFoundError",
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.insurancePayments.v1.get.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
unauthorizedError: (value) => {
|
|
42
|
+
return {
|
|
43
|
+
content: value,
|
|
44
|
+
errorName: "UnauthorizedError",
|
|
45
|
+
_visit: function (visitor) {
|
|
46
|
+
return CandidApi.insurancePayments.v1.get.Error._visit(this, visitor);
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
},
|
|
50
|
+
_unknown: (fetcherError) => {
|
|
51
|
+
return {
|
|
52
|
+
errorName: undefined,
|
|
53
|
+
content: fetcherError,
|
|
54
|
+
_visit: function (visitor) {
|
|
55
|
+
return CandidApi.insurancePayments.v1.get.Error._visit(this, visitor);
|
|
56
|
+
},
|
|
57
|
+
};
|
|
58
|
+
},
|
|
59
|
+
_visit: (value, visitor) => {
|
|
60
|
+
switch (value.errorName) {
|
|
61
|
+
case "EntityNotFoundError":
|
|
62
|
+
return visitor.entityNotFoundError(value.content);
|
|
63
|
+
case "UnauthorizedError":
|
|
64
|
+
return visitor.unauthorizedError(value.content);
|
|
65
|
+
default:
|
|
66
|
+
return visitor._other(value);
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../..";
|
|
5
|
+
import * as core from "../../../../../../core";
|
|
6
|
+
export declare type Error = CandidApi.insurancePayments.v1.getMulti.Error.UnauthorizedError | CandidApi.insurancePayments.v1.getMulti.Error.UnprocessableEntityError | CandidApi.insurancePayments.v1.getMulti.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface UnauthorizedError extends _Utils {
|
|
9
|
+
errorName: "UnauthorizedError";
|
|
10
|
+
content: CandidApi.UnauthorizedErrorMessage;
|
|
11
|
+
}
|
|
12
|
+
interface UnprocessableEntityError extends _Utils {
|
|
13
|
+
errorName: "UnprocessableEntityError";
|
|
14
|
+
content: CandidApi.UnprocessableEntityErrorMessage;
|
|
15
|
+
}
|
|
16
|
+
interface _Unknown extends _Utils {
|
|
17
|
+
errorName: void;
|
|
18
|
+
content: core.Fetcher.Error;
|
|
19
|
+
}
|
|
20
|
+
interface _Utils {
|
|
21
|
+
_visit: <_Result>(visitor: CandidApi.insurancePayments.v1.getMulti.Error._Visitor<_Result>) => _Result;
|
|
22
|
+
}
|
|
23
|
+
interface _Visitor<_Result> {
|
|
24
|
+
unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => _Result;
|
|
25
|
+
unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => _Result;
|
|
26
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
export declare const Error: {
|
|
30
|
+
readonly unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => CandidApi.insurancePayments.v1.getMulti.Error.UnauthorizedError;
|
|
31
|
+
readonly unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => CandidApi.insurancePayments.v1.getMulti.Error.UnprocessableEntityError;
|
|
32
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.insurancePayments.v1.getMulti.Error._Unknown;
|
|
33
|
+
readonly _visit: <_Result>(value: CandidApi.insurancePayments.v1.getMulti.Error, visitor: CandidApi.insurancePayments.v1.getMulti.Error._Visitor<_Result>) => _Result;
|
|
34
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../.."));
|
|
31
|
+
exports.Error = {
|
|
32
|
+
unauthorizedError: (value) => {
|
|
33
|
+
return {
|
|
34
|
+
content: value,
|
|
35
|
+
errorName: "UnauthorizedError",
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.insurancePayments.v1.getMulti.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
unprocessableEntityError: (value) => {
|
|
42
|
+
return {
|
|
43
|
+
content: value,
|
|
44
|
+
errorName: "UnprocessableEntityError",
|
|
45
|
+
_visit: function (visitor) {
|
|
46
|
+
return CandidApi.insurancePayments.v1.getMulti.Error._visit(this, visitor);
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
},
|
|
50
|
+
_unknown: (fetcherError) => {
|
|
51
|
+
return {
|
|
52
|
+
errorName: undefined,
|
|
53
|
+
content: fetcherError,
|
|
54
|
+
_visit: function (visitor) {
|
|
55
|
+
return CandidApi.insurancePayments.v1.getMulti.Error._visit(this, visitor);
|
|
56
|
+
},
|
|
57
|
+
};
|
|
58
|
+
},
|
|
59
|
+
_visit: (value, visitor) => {
|
|
60
|
+
switch (value.errorName) {
|
|
61
|
+
case "UnauthorizedError":
|
|
62
|
+
return visitor.unauthorizedError(value.content);
|
|
63
|
+
case "UnprocessableEntityError":
|
|
64
|
+
return visitor.unprocessableEntityError(value.content);
|
|
65
|
+
default:
|
|
66
|
+
return visitor._other(value);
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
19
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
20
|
+
};
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.delete = exports.update = exports.create = exports.get = exports.getMulti = void 0;
|
|
30
|
+
__exportStar(require("./requests"), exports);
|
|
31
|
+
exports.getMulti = __importStar(require("./getMulti"));
|
|
32
|
+
exports.get = __importStar(require("./get"));
|
|
33
|
+
exports.create = __importStar(require("./create"));
|
|
34
|
+
exports.update = __importStar(require("./update"));
|
|
35
|
+
exports.delete = __importStar(require("./delete"));
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../..";
|
|
5
|
+
export interface GetMultiInsurancePaymentRequest {
|
|
6
|
+
/**
|
|
7
|
+
* Defaults to 100. The value must be greater than 0 and less than 1000.
|
|
8
|
+
*/
|
|
9
|
+
limit?: number;
|
|
10
|
+
payerUuid?: CandidApi.payers.v3.PayerUuid;
|
|
11
|
+
claimId?: CandidApi.ClaimId;
|
|
12
|
+
serviceLineId?: CandidApi.ServiceLineId;
|
|
13
|
+
billingProviderId?: CandidApi.ProviderId;
|
|
14
|
+
/**
|
|
15
|
+
* Defaults to payment_timestamp
|
|
16
|
+
*/
|
|
17
|
+
sort?: CandidApi.insurancePayments.v1.InsurancePaymentSortField;
|
|
18
|
+
/**
|
|
19
|
+
* Sort direction. Defaults to descending order if not provided.
|
|
20
|
+
*/
|
|
21
|
+
sortDirection?: CandidApi.SortDirection;
|
|
22
|
+
pageToken?: CandidApi.PageToken;
|
|
23
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../..";
|
|
5
|
+
import * as core from "../../../../../../core";
|
|
6
|
+
export declare type Error = CandidApi.insurancePayments.v1.update.Error.EntityNotFoundError | CandidApi.insurancePayments.v1.update.Error.UnauthorizedError | CandidApi.insurancePayments.v1.update.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface EntityNotFoundError extends _Utils {
|
|
9
|
+
errorName: "EntityNotFoundError";
|
|
10
|
+
content: CandidApi.EntityNotFoundErrorMessage;
|
|
11
|
+
}
|
|
12
|
+
interface UnauthorizedError extends _Utils {
|
|
13
|
+
errorName: "UnauthorizedError";
|
|
14
|
+
content: CandidApi.UnauthorizedErrorMessage;
|
|
15
|
+
}
|
|
16
|
+
interface _Unknown extends _Utils {
|
|
17
|
+
errorName: void;
|
|
18
|
+
content: core.Fetcher.Error;
|
|
19
|
+
}
|
|
20
|
+
interface _Utils {
|
|
21
|
+
_visit: <_Result>(visitor: CandidApi.insurancePayments.v1.update.Error._Visitor<_Result>) => _Result;
|
|
22
|
+
}
|
|
23
|
+
interface _Visitor<_Result> {
|
|
24
|
+
entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
|
|
25
|
+
unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => _Result;
|
|
26
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
export declare const Error: {
|
|
30
|
+
readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.insurancePayments.v1.update.Error.EntityNotFoundError;
|
|
31
|
+
readonly unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => CandidApi.insurancePayments.v1.update.Error.UnauthorizedError;
|
|
32
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.insurancePayments.v1.update.Error._Unknown;
|
|
33
|
+
readonly _visit: <_Result>(value: CandidApi.insurancePayments.v1.update.Error, visitor: CandidApi.insurancePayments.v1.update.Error._Visitor<_Result>) => _Result;
|
|
34
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../.."));
|
|
31
|
+
exports.Error = {
|
|
32
|
+
entityNotFoundError: (value) => {
|
|
33
|
+
return {
|
|
34
|
+
content: value,
|
|
35
|
+
errorName: "EntityNotFoundError",
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.insurancePayments.v1.update.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
unauthorizedError: (value) => {
|
|
42
|
+
return {
|
|
43
|
+
content: value,
|
|
44
|
+
errorName: "UnauthorizedError",
|
|
45
|
+
_visit: function (visitor) {
|
|
46
|
+
return CandidApi.insurancePayments.v1.update.Error._visit(this, visitor);
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
},
|
|
50
|
+
_unknown: (fetcherError) => {
|
|
51
|
+
return {
|
|
52
|
+
errorName: undefined,
|
|
53
|
+
content: fetcherError,
|
|
54
|
+
_visit: function (visitor) {
|
|
55
|
+
return CandidApi.insurancePayments.v1.update.Error._visit(this, visitor);
|
|
56
|
+
},
|
|
57
|
+
};
|
|
58
|
+
},
|
|
59
|
+
_visit: (value, visitor) => {
|
|
60
|
+
switch (value.errorName) {
|
|
61
|
+
case "EntityNotFoundError":
|
|
62
|
+
return visitor.entityNotFoundError(value.content);
|
|
63
|
+
case "UnauthorizedError":
|
|
64
|
+
return visitor.unauthorizedError(value.content);
|
|
65
|
+
default:
|
|
66
|
+
return visitor._other(value);
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
18
|
+
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../..";
|
|
5
|
+
export interface InsurancePayment {
|
|
6
|
+
insurancePaymentId: CandidApi.insurancePayments.v1.InsurancePaymentId;
|
|
7
|
+
payer: CandidApi.payers.v3.Payer;
|
|
8
|
+
amountCents: number;
|
|
9
|
+
paymentTimestamp?: Date;
|
|
10
|
+
paymentNote?: string;
|
|
11
|
+
allocations: CandidApi.Allocation[];
|
|
12
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../..";
|
|
5
|
+
export interface InsurancePaymentCreate {
|
|
6
|
+
payerIdentifier: CandidApi.payers.v3.PayerIdentifier;
|
|
7
|
+
amountCents: number;
|
|
8
|
+
paymentTimestamp?: Date;
|
|
9
|
+
paymentNote?: string;
|
|
10
|
+
allocations: CandidApi.AllocationCreate[];
|
|
11
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../..";
|
|
5
|
+
export declare type InsurancePaymentId = string & {
|
|
6
|
+
insurancePayments_v1_InsurancePaymentId: void;
|
|
7
|
+
};
|
|
8
|
+
export declare function InsurancePaymentId(value: string): CandidApi.insurancePayments.v1.InsurancePaymentId;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.InsurancePaymentId = void 0;
|
|
7
|
+
function InsurancePaymentId(value) {
|
|
8
|
+
return value;
|
|
9
|
+
}
|
|
10
|
+
exports.InsurancePaymentId = InsurancePaymentId;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export declare type InsurancePaymentSortField = "amount_cents" | "payment_timestamp" | "payment_note";
|
|
5
|
+
export declare const InsurancePaymentSortField: {
|
|
6
|
+
readonly AmountCents: "amount_cents";
|
|
7
|
+
readonly PaymentTimestamp: "payment_timestamp";
|
|
8
|
+
readonly PaymentNote: "payment_note";
|
|
9
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.InsurancePaymentSortField = void 0;
|
|
7
|
+
exports.InsurancePaymentSortField = {
|
|
8
|
+
AmountCents: "amount_cents",
|
|
9
|
+
PaymentTimestamp: "payment_timestamp",
|
|
10
|
+
PaymentNote: "payment_note",
|
|
11
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
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("./InsurancePaymentId"), exports);
|
|
18
|
+
__exportStar(require("./InsurancePayment"), exports);
|
|
19
|
+
__exportStar(require("./InsurancePaymentCreate"), exports);
|
|
20
|
+
__exportStar(require("./InsurancePaymentsPage"), exports);
|
|
21
|
+
__exportStar(require("./InsurancePaymentSortField"), exports);
|
|
@@ -80,7 +80,7 @@ class V1 {
|
|
|
80
80
|
Authorization: await this._getAuthorizationHeader(),
|
|
81
81
|
"X-Fern-Language": "JavaScript",
|
|
82
82
|
"X-Fern-SDK-Name": "candidhealth",
|
|
83
|
-
"X-Fern-SDK-Version": "0.
|
|
83
|
+
"X-Fern-SDK-Version": "0.16.1",
|
|
84
84
|
},
|
|
85
85
|
contentType: "application/json",
|
|
86
86
|
queryParameters: _queryParams,
|
|
@@ -115,7 +115,7 @@ class V1 {
|
|
|
115
115
|
Authorization: await this._getAuthorizationHeader(),
|
|
116
116
|
"X-Fern-Language": "JavaScript",
|
|
117
117
|
"X-Fern-SDK-Name": "candidhealth",
|
|
118
|
-
"X-Fern-SDK-Version": "0.
|
|
118
|
+
"X-Fern-SDK-Version": "0.16.1",
|
|
119
119
|
},
|
|
120
120
|
contentType: "application/json",
|
|
121
121
|
timeoutMs: 60000,
|
|
@@ -150,7 +150,7 @@ class V1 {
|
|
|
150
150
|
Authorization: await this._getAuthorizationHeader(),
|
|
151
151
|
"X-Fern-Language": "JavaScript",
|
|
152
152
|
"X-Fern-SDK-Name": "candidhealth",
|
|
153
|
-
"X-Fern-SDK-Version": "0.
|
|
153
|
+
"X-Fern-SDK-Version": "0.16.1",
|
|
154
154
|
},
|
|
155
155
|
contentType: "application/json",
|
|
156
156
|
body: await serializers.insuranceRefunds.v1.InsuranceRefundCreate.jsonOrThrow(request, {
|
|
@@ -187,7 +187,7 @@ class V1 {
|
|
|
187
187
|
Authorization: await this._getAuthorizationHeader(),
|
|
188
188
|
"X-Fern-Language": "JavaScript",
|
|
189
189
|
"X-Fern-SDK-Name": "candidhealth",
|
|
190
|
-
"X-Fern-SDK-Version": "0.
|
|
190
|
+
"X-Fern-SDK-Version": "0.16.1",
|
|
191
191
|
},
|
|
192
192
|
contentType: "application/json",
|
|
193
193
|
body: await serializers.insuranceRefunds.v1.InsuranceRefundUpdate.jsonOrThrow(request, {
|
|
@@ -225,7 +225,7 @@ class V1 {
|
|
|
225
225
|
Authorization: await this._getAuthorizationHeader(),
|
|
226
226
|
"X-Fern-Language": "JavaScript",
|
|
227
227
|
"X-Fern-SDK-Name": "candidhealth",
|
|
228
|
-
"X-Fern-SDK-Version": "0.
|
|
228
|
+
"X-Fern-SDK-Version": "0.16.1",
|
|
229
229
|
},
|
|
230
230
|
contentType: "application/json",
|
|
231
231
|
timeoutMs: 60000,
|
|
@@ -49,7 +49,7 @@ class V3 {
|
|
|
49
49
|
Authorization: await this._getAuthorizationHeader(),
|
|
50
50
|
"X-Fern-Language": "JavaScript",
|
|
51
51
|
"X-Fern-SDK-Name": "candidhealth",
|
|
52
|
-
"X-Fern-SDK-Version": "0.
|
|
52
|
+
"X-Fern-SDK-Version": "0.16.1",
|
|
53
53
|
},
|
|
54
54
|
contentType: "application/json",
|
|
55
55
|
timeoutMs: 60000,
|
|
@@ -115,7 +115,7 @@ class V3 {
|
|
|
115
115
|
Authorization: await this._getAuthorizationHeader(),
|
|
116
116
|
"X-Fern-Language": "JavaScript",
|
|
117
117
|
"X-Fern-SDK-Name": "candidhealth",
|
|
118
|
-
"X-Fern-SDK-Version": "0.
|
|
118
|
+
"X-Fern-SDK-Version": "0.16.1",
|
|
119
119
|
},
|
|
120
120
|
contentType: "application/json",
|
|
121
121
|
queryParameters: _queryParams,
|
|
@@ -145,7 +145,7 @@ class V3 {
|
|
|
145
145
|
Authorization: await this._getAuthorizationHeader(),
|
|
146
146
|
"X-Fern-Language": "JavaScript",
|
|
147
147
|
"X-Fern-SDK-Name": "candidhealth",
|
|
148
|
-
"X-Fern-SDK-Version": "0.
|
|
148
|
+
"X-Fern-SDK-Version": "0.16.1",
|
|
149
149
|
},
|
|
150
150
|
contentType: "application/json",
|
|
151
151
|
body: await serializers.organizationProviders.v3.OrganizationProviderCreateV2.jsonOrThrow(request, {
|
|
@@ -192,7 +192,7 @@ class V3 {
|
|
|
192
192
|
Authorization: await this._getAuthorizationHeader(),
|
|
193
193
|
"X-Fern-Language": "JavaScript",
|
|
194
194
|
"X-Fern-SDK-Name": "candidhealth",
|
|
195
|
-
"X-Fern-SDK-Version": "0.
|
|
195
|
+
"X-Fern-SDK-Version": "0.16.1",
|
|
196
196
|
},
|
|
197
197
|
contentType: "application/json",
|
|
198
198
|
body: await serializers.organizationProviders.v3.OrganizationProviderUpdateV2.jsonOrThrow(request, {
|