candidhealth 0.12.1 → 0.14.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 +3 -0
- package/Client.js +33 -28
- 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/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +6 -2
- package/api/resources/commons/types/RegionNational.d.ts +5 -0
- package/api/resources/commons/types/RegionStates.d.ts +7 -0
- package/api/resources/commons/types/Regions.d.ts +13 -0
- package/api/resources/commons/types/index.d.ts +3 -0
- package/api/resources/commons/types/index.js +3 -0
- package/api/resources/contracts/client/Client.d.ts +18 -0
- package/api/resources/contracts/client/Client.js +18 -0
- package/api/resources/contracts/client/index.d.ts +1 -0
- package/api/resources/contracts/client/index.js +2 -0
- package/api/resources/contracts/index.d.ts +2 -1
- package/api/resources/contracts/index.js +2 -1
- package/api/resources/contracts/resources/index.d.ts +1 -0
- package/api/resources/contracts/resources/index.js +27 -0
- package/api/resources/contracts/resources/v2/client/Client.d.ts +25 -0
- package/api/resources/contracts/resources/v2/client/Client.js +274 -0
- package/api/resources/contracts/resources/v2/client/create.d.ts +22 -0
- package/api/resources/contracts/resources/v2/client/create.js +47 -0
- package/api/resources/contracts/resources/v2/client/delete.d.ts +22 -0
- package/api/resources/contracts/resources/v2/client/delete.js +47 -0
- package/api/resources/contracts/resources/v2/client/get.d.ts +28 -0
- package/api/resources/contracts/resources/v2/client/get.js +58 -0
- package/api/resources/contracts/resources/v2/client/getMulti.d.ts +22 -0
- package/api/resources/contracts/resources/v2/client/getMulti.js +47 -0
- package/api/resources/contracts/resources/v2/client/index.d.ts +6 -0
- package/api/resources/contracts/resources/v2/client/index.js +35 -0
- package/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +17 -0
- package/api/resources/contracts/resources/v2/client/requests/ContractUpdate.d.ts +28 -0
- package/api/resources/contracts/resources/v2/client/requests/GetMultiContractsRequest.d.ts +22 -0
- package/api/resources/contracts/resources/v2/client/requests/index.d.ts +3 -0
- package/api/resources/contracts/resources/v2/client/requests/index.js +2 -0
- package/api/resources/contracts/resources/v2/client/update.d.ts +28 -0
- package/api/resources/contracts/resources/v2/client/update.js +58 -0
- package/api/resources/contracts/resources/v2/index.d.ts +2 -0
- package/api/resources/contracts/resources/v2/index.js +18 -0
- package/api/resources/contracts/resources/v2/types/AuthorizedSignatory.d.ts +11 -0
- package/api/resources/contracts/resources/v2/types/AuthorizedSignatory.js +5 -0
- package/api/resources/contracts/resources/v2/types/AuthorizedSignatoryUpdate.d.ts +13 -0
- package/api/resources/contracts/resources/v2/types/AuthorizedSignatoryUpdate.js +5 -0
- package/api/resources/contracts/resources/v2/types/Contract.d.ts +13 -0
- package/api/resources/contracts/resources/v2/types/Contract.js +5 -0
- package/api/resources/contracts/resources/v2/types/ContractBase.d.ts +33 -0
- package/api/resources/contracts/resources/v2/types/ContractBase.js +5 -0
- package/api/resources/contracts/resources/v2/types/ContractId.d.ts +8 -0
- package/api/resources/contracts/resources/v2/types/ContractStatus.d.ts +22 -0
- package/api/resources/contracts/resources/v2/types/ContractStatus.js +11 -0
- package/api/resources/contracts/resources/v2/types/ContractWithProviders.d.ts +8 -0
- package/api/resources/contracts/resources/v2/types/ContractWithProviders.js +5 -0
- package/api/resources/contracts/resources/v2/types/ContractingProviderId.d.ts +8 -0
- package/api/resources/contracts/resources/v2/types/ContractingProviderId.js +10 -0
- package/api/resources/contracts/resources/v2/types/ContractsPage.d.ts +7 -0
- package/api/resources/contracts/resources/v2/types/ContractsPage.js +5 -0
- package/api/resources/contracts/resources/v2/types/DateUpdate.d.ts +14 -0
- package/api/resources/contracts/resources/v2/types/DateUpdate.js +5 -0
- package/api/resources/contracts/resources/v2/types/InsuranceTypes.d.ts +17 -0
- package/api/resources/contracts/resources/v2/types/InsuranceTypes.js +5 -0
- package/api/resources/contracts/resources/v2/types/RegionsUpdate.d.ts +14 -0
- package/api/resources/contracts/resources/v2/types/RegionsUpdate.js +5 -0
- package/api/resources/contracts/resources/v2/types/RenderingProviderid.d.ts +8 -0
- package/api/resources/contracts/resources/v2/types/RenderingProviderid.js +10 -0
- package/api/resources/contracts/resources/v2/types/index.d.ts +13 -0
- package/{dist/serialization/resources/contracts → api/resources/contracts/resources/v2}/types/index.js +12 -0
- 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/encounters/resources/v4/types/Encounter.d.ts +2 -2
- package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +2 -2
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/api/resources/expectedNetworkStatus/resources/v1/types/ExpectedNetworkStatusResponse.d.ts +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/AccountType.d.ts +8 -0
- package/api/resources/financials/types/AccountType.js +10 -0
- package/api/resources/financials/types/AllocationAmountUpdate.d.ts +8 -0
- package/api/resources/financials/types/AllocationAmountUpdate.js +5 -0
- package/api/resources/financials/types/InvoiceUpdate.d.ts +14 -0
- package/api/resources/financials/types/InvoiceUpdate.js +5 -0
- package/api/resources/financials/types/NoteUpdate.d.ts +14 -0
- package/api/resources/financials/types/NoteUpdate.js +5 -0
- package/api/resources/financials/types/RefundReasonUpdate.d.ts +14 -0
- package/api/resources/financials/types/RefundReasonUpdate.js +5 -0
- package/api/resources/financials/types/index.d.ts +5 -0
- package/api/resources/financials/types/index.js +5 -0
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/index.d.ts +2 -4
- package/api/resources/index.js +3 -5
- package/api/resources/individual/types/Subscriber.d.ts +2 -2
- package/api/resources/individual/types/SubscriberCreate.d.ts +1 -1
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +1 -1
- package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -2
- package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +1 -1
- package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -1
- package/api/resources/insuranceCards/index.d.ts +1 -0
- package/api/resources/insuranceCards/index.js +17 -0
- package/api/resources/insuranceCards/resources/index.d.ts +1 -0
- package/api/resources/insuranceCards/resources/index.js +27 -0
- package/api/resources/{insuranceCard → insuranceCards/resources/v2}/types/InsuranceCard.d.ts +4 -4
- package/api/resources/insuranceCards/resources/v2/types/InsuranceCard.js +5 -0
- package/{dist/api/resources/insuranceCard → api/resources/insuranceCards/resources/v2}/types/InsuranceCardBase.d.ts +1 -1
- package/api/resources/insuranceCards/resources/v2/types/InsuranceCardBase.js +5 -0
- package/{dist/api/resources/insuranceCard → api/resources/insuranceCards/resources/v2}/types/InsuranceCardCreate.d.ts +2 -2
- package/api/resources/insuranceCards/resources/v2/types/InsuranceCardCreate.js +5 -0
- package/{dist/api/resources/insuranceCard → api/resources/insuranceCards/resources/v2}/types/InsuranceCardId.d.ts +3 -3
- package/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +6 -0
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +41 -4
- package/api/resources/insuranceRefunds/resources/v1/client/index.d.ts +1 -0
- package/api/resources/insuranceRefunds/resources/v1/client/index.js +2 -1
- package/api/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +12 -0
- package/api/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.js +5 -0
- package/api/resources/insuranceRefunds/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/insuranceRefunds/resources/v1/client/update.d.ts +22 -0
- package/api/resources/insuranceRefunds/resources/v1/client/update.js +47 -0
- package/api/resources/organizationProviders/resources/v2/types/EmploymentStatus.d.ts +8 -0
- package/api/resources/organizationProviders/resources/v2/types/EmploymentStatus.js +10 -0
- package/api/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +2 -1
- package/api/resources/organizationProviders/resources/v2/types/LicenseType.js +1 -0
- package/api/resources/organizationProviders/resources/v2/types/OrganizationProvider.d.ts +14 -0
- package/api/resources/organizationProviders/resources/v2/types/OrganizationProvider.js +5 -0
- package/api/resources/organizationProviders/resources/v2/types/OrganizationProviderBase.d.ts +38 -0
- package/api/resources/organizationProviders/resources/v2/types/OrganizationProviderBase.js +5 -0
- package/api/resources/organizationProviders/resources/v2/types/index.d.ts +3 -0
- package/api/resources/organizationProviders/resources/v2/types/index.js +3 -0
- package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/api/resources/patientPayments/resources/v4/client/Client.d.ts +5 -0
- package/api/resources/patientPayments/resources/v4/client/Client.js +40 -4
- package/api/resources/patientPayments/resources/v4/client/index.d.ts +1 -0
- package/api/resources/patientPayments/resources/v4/client/index.js +2 -1
- package/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +11 -0
- package/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.js +5 -0
- package/api/resources/patientPayments/resources/v4/client/requests/index.d.ts +1 -0
- package/api/resources/patientPayments/resources/v4/client/update.d.ts +22 -0
- package/api/resources/patientPayments/resources/v4/client/update.js +47 -0
- package/api/resources/patientRefunds/resources/v1/client/Client.d.ts +5 -0
- package/api/resources/patientRefunds/resources/v1/client/Client.js +40 -4
- package/api/resources/patientRefunds/resources/v1/client/index.d.ts +1 -0
- package/api/resources/patientRefunds/resources/v1/client/index.js +2 -1
- package/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +12 -0
- package/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.js +5 -0
- package/api/resources/patientRefunds/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/patientRefunds/resources/v1/client/update.d.ts +22 -0
- package/api/resources/patientRefunds/resources/v1/client/update.js +47 -0
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.d.ts +1 -2
- package/api/resources/writeOffs/resources/v1/client/Client.js +25 -7
- package/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +7 -0
- package/api/resources/writeOffs/resources/v1/types/InsuranceWriteOff.d.ts +13 -0
- package/api/resources/writeOffs/resources/v1/types/InsuranceWriteOff.js +5 -0
- package/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffCreate.d.ts +12 -0
- package/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffCreate.js +5 -0
- package/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffTarget.d.ts +19 -0
- package/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffTarget.js +5 -0
- package/api/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +12 -0
- package/api/resources/writeOffs/resources/v1/types/PatientWriteOff.js +5 -0
- package/api/resources/writeOffs/resources/v1/types/PatientWriteOffCreate.d.ts +11 -0
- package/api/resources/writeOffs/resources/v1/types/PatientWriteOffCreate.js +5 -0
- package/api/resources/writeOffs/resources/v1/types/WriteOff.d.ts +8 -7
- package/api/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +8 -6
- package/api/resources/writeOffs/resources/v1/types/index.d.ts +5 -0
- package/api/resources/writeOffs/resources/v1/types/index.js +5 -0
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +33 -28
- 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/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +6 -2
- package/dist/api/resources/commons/types/RegionNational.d.ts +5 -0
- package/dist/api/resources/commons/types/RegionNational.js +5 -0
- package/dist/api/resources/commons/types/RegionStates.d.ts +7 -0
- package/dist/api/resources/commons/types/RegionStates.js +5 -0
- package/dist/api/resources/commons/types/Regions.d.ts +13 -0
- package/dist/api/resources/commons/types/Regions.js +5 -0
- package/dist/api/resources/commons/types/index.d.ts +3 -0
- package/dist/api/resources/commons/types/index.js +3 -0
- package/dist/api/resources/contracts/client/Client.d.ts +18 -0
- package/dist/api/resources/contracts/client/Client.js +18 -0
- package/dist/api/resources/contracts/client/index.d.ts +1 -0
- package/dist/api/resources/contracts/client/index.js +2 -0
- package/dist/api/resources/contracts/index.d.ts +2 -1
- package/dist/api/resources/contracts/index.js +2 -1
- package/dist/api/resources/contracts/resources/index.d.ts +1 -0
- package/dist/api/resources/contracts/resources/index.js +27 -0
- package/dist/api/resources/contracts/resources/v2/client/Client.d.ts +25 -0
- package/dist/api/resources/contracts/resources/v2/client/Client.js +274 -0
- package/dist/api/resources/contracts/resources/v2/client/create.d.ts +22 -0
- package/dist/api/resources/contracts/resources/v2/client/create.js +47 -0
- package/dist/api/resources/contracts/resources/v2/client/delete.d.ts +22 -0
- package/dist/api/resources/contracts/resources/v2/client/delete.js +47 -0
- package/dist/api/resources/contracts/resources/v2/client/get.d.ts +28 -0
- package/dist/api/resources/contracts/resources/v2/client/get.js +58 -0
- package/dist/api/resources/contracts/resources/v2/client/getMulti.d.ts +22 -0
- package/dist/api/resources/contracts/resources/v2/client/getMulti.js +47 -0
- package/dist/api/resources/contracts/resources/v2/client/index.d.ts +6 -0
- package/dist/api/resources/contracts/resources/v2/client/index.js +35 -0
- package/dist/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +17 -0
- package/dist/api/resources/contracts/resources/v2/client/requests/ContractCreate.js +5 -0
- package/dist/api/resources/contracts/resources/v2/client/requests/ContractUpdate.d.ts +28 -0
- package/dist/api/resources/contracts/resources/v2/client/requests/ContractUpdate.js +5 -0
- package/dist/api/resources/contracts/resources/v2/client/requests/GetMultiContractsRequest.d.ts +22 -0
- package/dist/api/resources/contracts/resources/v2/client/requests/GetMultiContractsRequest.js +5 -0
- package/dist/api/resources/contracts/resources/v2/client/requests/index.d.ts +3 -0
- package/dist/api/resources/contracts/resources/v2/client/requests/index.js +2 -0
- package/dist/api/resources/contracts/resources/v2/client/update.d.ts +28 -0
- package/dist/api/resources/contracts/resources/v2/client/update.js +58 -0
- package/dist/api/resources/contracts/resources/v2/index.d.ts +2 -0
- package/dist/api/resources/contracts/resources/v2/index.js +18 -0
- package/dist/api/resources/contracts/resources/v2/types/AuthorizedSignatory.d.ts +11 -0
- package/dist/api/resources/contracts/resources/v2/types/AuthorizedSignatory.js +5 -0
- package/dist/api/resources/contracts/resources/v2/types/AuthorizedSignatoryUpdate.d.ts +13 -0
- package/dist/api/resources/contracts/resources/v2/types/AuthorizedSignatoryUpdate.js +5 -0
- package/dist/api/resources/contracts/resources/v2/types/Contract.d.ts +13 -0
- package/dist/api/resources/contracts/resources/v2/types/Contract.js +5 -0
- package/dist/api/resources/contracts/resources/v2/types/ContractBase.d.ts +33 -0
- package/dist/api/resources/contracts/resources/v2/types/ContractBase.js +5 -0
- package/dist/api/resources/contracts/resources/v2/types/ContractId.d.ts +8 -0
- package/dist/api/resources/contracts/resources/v2/types/ContractStatus.d.ts +22 -0
- package/dist/api/resources/contracts/resources/v2/types/ContractStatus.js +11 -0
- package/dist/api/resources/contracts/resources/v2/types/ContractWithProviders.d.ts +8 -0
- package/dist/api/resources/contracts/resources/v2/types/ContractWithProviders.js +5 -0
- package/dist/api/resources/contracts/resources/v2/types/ContractingProviderId.d.ts +8 -0
- package/dist/api/resources/contracts/resources/v2/types/ContractingProviderId.js +10 -0
- package/dist/api/resources/contracts/resources/v2/types/ContractsPage.d.ts +7 -0
- package/dist/api/resources/contracts/resources/v2/types/ContractsPage.js +5 -0
- package/dist/api/resources/contracts/resources/v2/types/DateUpdate.d.ts +14 -0
- package/dist/api/resources/contracts/resources/v2/types/DateUpdate.js +5 -0
- package/dist/api/resources/contracts/resources/v2/types/InsuranceTypes.d.ts +17 -0
- package/dist/api/resources/contracts/resources/v2/types/InsuranceTypes.js +5 -0
- package/dist/api/resources/contracts/resources/v2/types/RegionsUpdate.d.ts +14 -0
- package/dist/api/resources/contracts/resources/v2/types/RegionsUpdate.js +5 -0
- package/dist/api/resources/contracts/resources/v2/types/RenderingProviderid.d.ts +8 -0
- package/dist/api/resources/contracts/resources/v2/types/RenderingProviderid.js +10 -0
- package/dist/api/resources/contracts/resources/v2/types/index.d.ts +13 -0
- package/{serialization/resources/contracts → dist/api/resources/contracts/resources/v2}/types/index.js +12 -0
- 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/encounters/resources/v4/types/Encounter.d.ts +2 -2
- package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +2 -2
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v1/types/ExpectedNetworkStatusResponse.d.ts +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/AccountType.d.ts +8 -0
- package/dist/api/resources/financials/types/AccountType.js +10 -0
- package/dist/api/resources/financials/types/AllocationAmountUpdate.d.ts +8 -0
- package/dist/api/resources/financials/types/AllocationAmountUpdate.js +5 -0
- package/dist/api/resources/financials/types/InvoiceUpdate.d.ts +14 -0
- package/dist/api/resources/financials/types/InvoiceUpdate.js +5 -0
- package/dist/api/resources/financials/types/NoteUpdate.d.ts +14 -0
- package/dist/api/resources/financials/types/NoteUpdate.js +5 -0
- package/dist/api/resources/financials/types/RefundReasonUpdate.d.ts +14 -0
- package/dist/api/resources/financials/types/RefundReasonUpdate.js +5 -0
- package/dist/api/resources/financials/types/index.d.ts +5 -0
- package/dist/api/resources/financials/types/index.js +5 -0
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/index.d.ts +2 -4
- package/dist/api/resources/index.js +3 -5
- package/dist/api/resources/individual/types/Subscriber.d.ts +2 -2
- package/dist/api/resources/individual/types/SubscriberCreate.d.ts +1 -1
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +1 -1
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -2
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +1 -1
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -1
- package/dist/api/resources/insuranceCards/index.d.ts +1 -0
- package/dist/api/resources/insuranceCards/index.js +17 -0
- package/dist/api/resources/insuranceCards/resources/index.d.ts +1 -0
- package/dist/api/resources/insuranceCards/resources/index.js +27 -0
- package/dist/api/resources/{insuranceCard → insuranceCards/resources/v2}/types/InsuranceCard.d.ts +4 -4
- package/dist/api/resources/insuranceCards/resources/v2/types/InsuranceCard.js +5 -0
- package/{api/resources/insuranceCard → dist/api/resources/insuranceCards/resources/v2}/types/InsuranceCardBase.d.ts +1 -1
- package/dist/api/resources/insuranceCards/resources/v2/types/InsuranceCardBase.js +5 -0
- package/{api/resources/insuranceCard → dist/api/resources/insuranceCards/resources/v2}/types/InsuranceCardCreate.d.ts +2 -2
- package/dist/api/resources/insuranceCards/resources/v2/types/InsuranceCardCreate.js +5 -0
- package/{api/resources/insuranceCard → dist/api/resources/insuranceCards/resources/v2}/types/InsuranceCardId.d.ts +3 -3
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +6 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +41 -4
- package/dist/api/resources/insuranceRefunds/resources/v1/client/index.d.ts +1 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/client/index.js +2 -1
- package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +12 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.js +5 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/client/update.d.ts +22 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/client/update.js +47 -0
- package/dist/api/resources/organizationProviders/resources/v2/types/EmploymentStatus.d.ts +8 -0
- package/dist/api/resources/organizationProviders/resources/v2/types/EmploymentStatus.js +10 -0
- package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +2 -1
- package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.js +1 -0
- package/dist/api/resources/organizationProviders/resources/v2/types/OrganizationProvider.d.ts +14 -0
- package/dist/api/resources/organizationProviders/resources/v2/types/OrganizationProvider.js +5 -0
- package/dist/api/resources/organizationProviders/resources/v2/types/OrganizationProviderBase.d.ts +38 -0
- package/dist/api/resources/organizationProviders/resources/v2/types/OrganizationProviderBase.js +5 -0
- package/dist/api/resources/organizationProviders/resources/v2/types/index.d.ts +3 -0
- package/dist/api/resources/organizationProviders/resources/v2/types/index.js +3 -0
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/patientPayments/resources/v4/client/Client.d.ts +5 -0
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +40 -4
- package/dist/api/resources/patientPayments/resources/v4/client/index.d.ts +1 -0
- package/dist/api/resources/patientPayments/resources/v4/client/index.js +2 -1
- package/dist/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +11 -0
- package/dist/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.js +5 -0
- package/dist/api/resources/patientPayments/resources/v4/client/requests/index.d.ts +1 -0
- package/dist/api/resources/patientPayments/resources/v4/client/update.d.ts +22 -0
- package/dist/api/resources/patientPayments/resources/v4/client/update.js +47 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.d.ts +5 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +40 -4
- package/dist/api/resources/patientRefunds/resources/v1/client/index.d.ts +1 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/index.js +2 -1
- package/dist/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +12 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.js +5 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/update.d.ts +22 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/update.js +47 -0
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/writeOffs/resources/v1/client/Client.d.ts +1 -2
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +25 -7
- package/dist/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +7 -0
- package/dist/api/resources/writeOffs/resources/v1/types/InsuranceWriteOff.d.ts +13 -0
- package/dist/api/resources/writeOffs/resources/v1/types/InsuranceWriteOff.js +5 -0
- package/dist/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffCreate.d.ts +12 -0
- package/dist/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffCreate.js +5 -0
- package/dist/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffTarget.d.ts +19 -0
- package/dist/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffTarget.js +5 -0
- package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +12 -0
- package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOff.js +5 -0
- package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOffCreate.d.ts +11 -0
- package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOffCreate.js +5 -0
- package/dist/api/resources/writeOffs/resources/v1/types/WriteOff.d.ts +8 -7
- package/dist/api/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +8 -6
- package/dist/api/resources/writeOffs/resources/v1/types/index.d.ts +5 -0
- package/dist/api/resources/writeOffs/resources/v1/types/index.js +5 -0
- package/{serialization/resources/insuranceCard/types/InsuranceCardId.d.ts → dist/serialization/resources/commons/types/RegionNational.d.ts} +4 -3
- package/dist/serialization/resources/commons/types/RegionNational.js +31 -0
- package/dist/serialization/resources/commons/types/RegionStates.d.ts +12 -0
- package/dist/serialization/resources/commons/types/RegionStates.js +33 -0
- package/dist/serialization/resources/commons/types/Regions.d.ts +16 -0
- package/dist/serialization/resources/commons/types/Regions.js +39 -0
- package/dist/serialization/resources/commons/types/index.d.ts +3 -0
- package/dist/serialization/resources/commons/types/index.js +3 -0
- package/dist/serialization/resources/contracts/index.d.ts +1 -1
- package/dist/serialization/resources/contracts/index.js +1 -1
- package/dist/serialization/resources/contracts/resources/index.d.ts +1 -0
- package/dist/serialization/resources/contracts/resources/index.js +27 -0
- package/dist/serialization/resources/contracts/resources/v2/client/get.d.ts +14 -0
- package/dist/serialization/resources/contracts/resources/v2/client/get.js +46 -0
- package/dist/serialization/resources/contracts/resources/v2/client/index.d.ts +3 -0
- package/dist/serialization/resources/contracts/resources/v2/client/index.js +32 -0
- package/dist/serialization/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +14 -0
- package/dist/serialization/resources/contracts/resources/v2/client/requests/ContractCreate.js +37 -0
- package/dist/serialization/resources/contracts/resources/v2/client/requests/ContractUpdate.d.ts +20 -0
- package/dist/serialization/resources/contracts/resources/v2/client/requests/ContractUpdate.js +47 -0
- package/dist/serialization/resources/contracts/resources/v2/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/contracts/resources/v2/client/requests/index.js +7 -0
- package/dist/serialization/resources/contracts/resources/v2/client/update.d.ts +14 -0
- package/dist/serialization/resources/contracts/resources/v2/client/update.js +46 -0
- package/dist/serialization/resources/contracts/resources/v2/index.d.ts +2 -0
- package/dist/serialization/resources/contracts/resources/v2/index.js +18 -0
- package/dist/serialization/resources/contracts/resources/v2/types/AuthorizedSignatory.d.ts +17 -0
- package/dist/serialization/resources/contracts/resources/v2/types/AuthorizedSignatory.js +38 -0
- package/dist/serialization/resources/contracts/resources/v2/types/AuthorizedSignatoryUpdate.d.ts +16 -0
- package/dist/serialization/resources/contracts/resources/v2/types/AuthorizedSignatoryUpdate.js +39 -0
- package/dist/serialization/resources/contracts/resources/v2/types/Contract.d.ts +15 -0
- package/dist/serialization/resources/contracts/resources/v2/types/Contract.js +38 -0
- package/dist/serialization/resources/contracts/resources/v2/types/ContractBase.d.ts +19 -0
- package/dist/serialization/resources/contracts/resources/v2/types/ContractBase.js +42 -0
- package/dist/serialization/resources/contracts/resources/v2/types/ContractId.d.ts +10 -0
- package/dist/serialization/resources/contracts/{types → resources/v2/types}/ContractId.js +3 -3
- package/dist/serialization/resources/contracts/resources/v2/types/ContractStatus.d.ts +10 -0
- package/dist/serialization/resources/contracts/resources/v2/types/ContractStatus.js +31 -0
- package/dist/serialization/resources/contracts/resources/v2/types/ContractWithProviders.d.ts +12 -0
- package/dist/serialization/resources/contracts/resources/v2/types/ContractWithProviders.js +35 -0
- package/dist/serialization/resources/contracts/resources/v2/types/ContractingProviderId.d.ts +10 -0
- package/dist/serialization/resources/contracts/resources/v2/types/ContractingProviderId.js +35 -0
- package/dist/serialization/resources/contracts/resources/v2/types/ContractsPage.d.ts +12 -0
- package/dist/serialization/resources/contracts/resources/v2/types/ContractsPage.js +35 -0
- package/dist/serialization/resources/contracts/resources/v2/types/DateUpdate.d.ts +17 -0
- package/dist/serialization/resources/contracts/resources/v2/types/DateUpdate.js +41 -0
- package/dist/serialization/resources/contracts/resources/v2/types/InsuranceTypes.d.ts +20 -0
- package/dist/serialization/resources/contracts/resources/v2/types/InsuranceTypes.js +42 -0
- package/dist/serialization/resources/contracts/resources/v2/types/RegionsUpdate.d.ts +17 -0
- package/dist/serialization/resources/contracts/resources/v2/types/RegionsUpdate.js +41 -0
- package/dist/serialization/resources/contracts/resources/v2/types/RenderingProviderid.d.ts +10 -0
- package/dist/serialization/resources/contracts/resources/v2/types/RenderingProviderid.js +35 -0
- package/dist/serialization/resources/contracts/resources/v2/types/index.d.ts +13 -0
- package/dist/{api/resources/contracts → serialization/resources/contracts/resources/v2}/types/index.js +12 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v1/types/ExpectedNetworkStatusResponse.d.ts +1 -1
- package/dist/serialization/resources/expectedNetworkStatus/resources/v1/types/ExpectedNetworkStatusResponse.js +1 -1
- package/dist/serialization/resources/{contracts/types/ContractId.d.ts → financials/types/AccountType.d.ts} +3 -3
- package/dist/serialization/resources/financials/types/AccountType.js +31 -0
- package/dist/serialization/resources/financials/types/AllocationAmountUpdate.d.ts +13 -0
- package/dist/serialization/resources/financials/types/AllocationAmountUpdate.js +34 -0
- package/dist/serialization/resources/financials/types/InvoiceUpdate.d.ts +17 -0
- package/dist/serialization/resources/financials/types/InvoiceUpdate.js +41 -0
- package/dist/serialization/resources/financials/types/NoteUpdate.d.ts +17 -0
- package/dist/serialization/resources/financials/types/NoteUpdate.js +41 -0
- package/dist/serialization/resources/financials/types/RefundReasonUpdate.d.ts +17 -0
- package/dist/serialization/resources/financials/types/RefundReasonUpdate.js +41 -0
- package/dist/serialization/resources/financials/types/index.d.ts +5 -0
- package/dist/serialization/resources/financials/types/index.js +5 -0
- package/dist/serialization/resources/index.d.ts +2 -4
- package/dist/serialization/resources/index.js +3 -5
- package/dist/serialization/resources/individual/types/Subscriber.d.ts +1 -1
- package/dist/serialization/resources/individual/types/Subscriber.js +1 -1
- package/dist/serialization/resources/individual/types/SubscriberCreate.d.ts +1 -1
- package/dist/serialization/resources/individual/types/SubscriberCreate.js +1 -1
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +1 -1
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +1 -1
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -2
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js +1 -2
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +1 -1
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +1 -1
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -1
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +1 -1
- package/dist/serialization/resources/insuranceCards/index.d.ts +1 -0
- package/dist/serialization/resources/insuranceCards/index.js +17 -0
- package/dist/serialization/resources/insuranceCards/resources/index.d.ts +1 -0
- package/dist/serialization/resources/insuranceCards/resources/index.js +27 -0
- package/{serialization/resources/insuranceCard → dist/serialization/resources/insuranceCards/resources/v2}/types/InsuranceCard.d.ts +6 -6
- package/{serialization/resources/insuranceCard → dist/serialization/resources/insuranceCards/resources/v2}/types/InsuranceCard.js +3 -3
- package/dist/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/types/InsuranceCardBase.d.ts +4 -4
- package/dist/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/types/InsuranceCardBase.js +3 -3
- package/dist/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/types/InsuranceCardCreate.d.ts +5 -5
- package/dist/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/types/InsuranceCardCreate.js +3 -3
- package/dist/serialization/resources/insuranceCards/resources/v2/types/InsuranceCardId.d.ts +10 -0
- package/{serialization/resources/insuranceCard → dist/serialization/resources/insuranceCards/resources/v2}/types/InsuranceCardId.js +3 -3
- package/dist/serialization/resources/insuranceRefunds/resources/v1/client/index.d.ts +1 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/client/index.js +17 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +17 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.js +40 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/client/requests/index.js +5 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/index.d.ts +1 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/index.js +1 -0
- package/dist/serialization/resources/organizationProviders/resources/v2/types/EmploymentStatus.d.ts +10 -0
- package/dist/serialization/resources/organizationProviders/resources/v2/types/EmploymentStatus.js +31 -0
- package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
- package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +1 -0
- package/dist/serialization/resources/organizationProviders/resources/v2/types/OrganizationProvider.d.ts +15 -0
- package/dist/serialization/resources/organizationProviders/resources/v2/types/OrganizationProvider.js +38 -0
- package/dist/serialization/resources/organizationProviders/resources/v2/types/OrganizationProviderBase.d.ts +24 -0
- package/dist/serialization/resources/organizationProviders/resources/v2/types/OrganizationProviderBase.js +47 -0
- package/dist/serialization/resources/organizationProviders/resources/v2/types/index.d.ts +3 -0
- package/dist/serialization/resources/organizationProviders/resources/v2/types/index.js +3 -0
- package/dist/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +16 -0
- package/dist/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.js +39 -0
- package/dist/serialization/resources/patientPayments/resources/v4/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/patientPayments/resources/v4/client/requests/index.js +3 -1
- package/dist/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +17 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.js +40 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/client/requests/index.js +3 -1
- package/dist/serialization/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.js +1 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.js +1 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOff.d.ts +18 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOff.js +39 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffCreate.d.ts +17 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffCreate.js +38 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffTarget.d.ts +22 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffTarget.js +46 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +17 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.js +38 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffCreate.d.ts +16 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffCreate.js +37 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOff.d.ts +7 -8
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOff.js +8 -7
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +7 -7
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.js +8 -6
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffsPage.js +1 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/index.d.ts +5 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/index.js +5 -0
- package/package.json +1 -1
- package/{dist/serialization/resources/insuranceCard/types/InsuranceCardId.d.ts → serialization/resources/commons/types/RegionNational.d.ts} +4 -3
- package/serialization/resources/commons/types/RegionNational.js +31 -0
- package/serialization/resources/commons/types/RegionStates.d.ts +12 -0
- package/serialization/resources/commons/types/RegionStates.js +33 -0
- package/serialization/resources/commons/types/Regions.d.ts +16 -0
- package/serialization/resources/commons/types/Regions.js +39 -0
- package/serialization/resources/commons/types/index.d.ts +3 -0
- package/serialization/resources/commons/types/index.js +3 -0
- package/serialization/resources/contracts/index.d.ts +1 -1
- package/serialization/resources/contracts/index.js +1 -1
- package/serialization/resources/contracts/resources/index.d.ts +1 -0
- package/serialization/resources/contracts/resources/index.js +27 -0
- package/serialization/resources/contracts/resources/v2/client/get.d.ts +14 -0
- package/serialization/resources/contracts/resources/v2/client/get.js +46 -0
- package/serialization/resources/contracts/resources/v2/client/index.d.ts +3 -0
- package/serialization/resources/contracts/resources/v2/client/index.js +32 -0
- package/serialization/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +14 -0
- package/serialization/resources/contracts/resources/v2/client/requests/ContractCreate.js +37 -0
- package/serialization/resources/contracts/resources/v2/client/requests/ContractUpdate.d.ts +20 -0
- package/serialization/resources/contracts/resources/v2/client/requests/ContractUpdate.js +47 -0
- package/serialization/resources/contracts/resources/v2/client/requests/index.d.ts +2 -0
- package/serialization/resources/contracts/resources/v2/client/requests/index.js +7 -0
- package/serialization/resources/contracts/resources/v2/client/update.d.ts +14 -0
- package/serialization/resources/contracts/resources/v2/client/update.js +46 -0
- package/serialization/resources/contracts/resources/v2/index.d.ts +2 -0
- package/serialization/resources/contracts/resources/v2/index.js +18 -0
- package/serialization/resources/contracts/resources/v2/types/AuthorizedSignatory.d.ts +17 -0
- package/serialization/resources/contracts/resources/v2/types/AuthorizedSignatory.js +38 -0
- package/serialization/resources/contracts/resources/v2/types/AuthorizedSignatoryUpdate.d.ts +16 -0
- package/serialization/resources/contracts/resources/v2/types/AuthorizedSignatoryUpdate.js +39 -0
- package/serialization/resources/contracts/resources/v2/types/Contract.d.ts +15 -0
- package/serialization/resources/contracts/resources/v2/types/Contract.js +38 -0
- package/serialization/resources/contracts/resources/v2/types/ContractBase.d.ts +19 -0
- package/serialization/resources/contracts/resources/v2/types/ContractBase.js +42 -0
- package/serialization/resources/contracts/resources/v2/types/ContractId.d.ts +10 -0
- package/serialization/resources/contracts/{types → resources/v2/types}/ContractId.js +3 -3
- package/serialization/resources/contracts/resources/v2/types/ContractStatus.d.ts +10 -0
- package/serialization/resources/contracts/resources/v2/types/ContractStatus.js +31 -0
- package/serialization/resources/contracts/resources/v2/types/ContractWithProviders.d.ts +12 -0
- package/serialization/resources/contracts/resources/v2/types/ContractWithProviders.js +35 -0
- package/serialization/resources/contracts/resources/v2/types/ContractingProviderId.d.ts +10 -0
- package/serialization/resources/contracts/resources/v2/types/ContractingProviderId.js +35 -0
- package/serialization/resources/contracts/resources/v2/types/ContractsPage.d.ts +12 -0
- package/serialization/resources/contracts/resources/v2/types/ContractsPage.js +35 -0
- package/serialization/resources/contracts/resources/v2/types/DateUpdate.d.ts +17 -0
- package/serialization/resources/contracts/resources/v2/types/DateUpdate.js +41 -0
- package/serialization/resources/contracts/resources/v2/types/InsuranceTypes.d.ts +20 -0
- package/serialization/resources/contracts/resources/v2/types/InsuranceTypes.js +42 -0
- package/serialization/resources/contracts/resources/v2/types/RegionsUpdate.d.ts +17 -0
- package/serialization/resources/contracts/resources/v2/types/RegionsUpdate.js +41 -0
- package/serialization/resources/contracts/resources/v2/types/RenderingProviderid.d.ts +10 -0
- package/serialization/resources/contracts/resources/v2/types/RenderingProviderid.js +35 -0
- package/serialization/resources/contracts/resources/v2/types/index.d.ts +13 -0
- package/{api/resources/contracts → serialization/resources/contracts/resources/v2}/types/index.js +12 -0
- package/serialization/resources/expectedNetworkStatus/resources/v1/types/ExpectedNetworkStatusResponse.d.ts +1 -1
- package/serialization/resources/expectedNetworkStatus/resources/v1/types/ExpectedNetworkStatusResponse.js +1 -1
- package/serialization/resources/{contracts/types/ContractId.d.ts → financials/types/AccountType.d.ts} +3 -3
- package/serialization/resources/financials/types/AccountType.js +31 -0
- package/serialization/resources/financials/types/AllocationAmountUpdate.d.ts +13 -0
- package/serialization/resources/financials/types/AllocationAmountUpdate.js +34 -0
- package/serialization/resources/financials/types/InvoiceUpdate.d.ts +17 -0
- package/serialization/resources/financials/types/InvoiceUpdate.js +41 -0
- package/serialization/resources/financials/types/NoteUpdate.d.ts +17 -0
- package/serialization/resources/financials/types/NoteUpdate.js +41 -0
- package/serialization/resources/financials/types/RefundReasonUpdate.d.ts +17 -0
- package/serialization/resources/financials/types/RefundReasonUpdate.js +41 -0
- package/serialization/resources/financials/types/index.d.ts +5 -0
- package/serialization/resources/financials/types/index.js +5 -0
- package/serialization/resources/index.d.ts +2 -4
- package/serialization/resources/index.js +3 -5
- package/serialization/resources/individual/types/Subscriber.d.ts +1 -1
- package/serialization/resources/individual/types/Subscriber.js +1 -1
- package/serialization/resources/individual/types/SubscriberCreate.d.ts +1 -1
- package/serialization/resources/individual/types/SubscriberCreate.js +1 -1
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +1 -1
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +1 -1
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -2
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js +1 -2
- package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +1 -1
- package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +1 -1
- package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -1
- package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +1 -1
- package/serialization/resources/insuranceCards/index.d.ts +1 -0
- package/serialization/resources/insuranceCards/index.js +17 -0
- package/serialization/resources/insuranceCards/resources/index.d.ts +1 -0
- package/serialization/resources/insuranceCards/resources/index.js +27 -0
- package/{dist/serialization/resources/insuranceCard → serialization/resources/insuranceCards/resources/v2}/types/InsuranceCard.d.ts +6 -6
- package/{dist/serialization/resources/insuranceCard → serialization/resources/insuranceCards/resources/v2}/types/InsuranceCard.js +3 -3
- package/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/types/InsuranceCardBase.d.ts +4 -4
- package/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/types/InsuranceCardBase.js +3 -3
- package/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/types/InsuranceCardCreate.d.ts +5 -5
- package/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/types/InsuranceCardCreate.js +3 -3
- package/serialization/resources/insuranceCards/resources/v2/types/InsuranceCardId.d.ts +10 -0
- package/{dist/serialization/resources/insuranceCard → serialization/resources/insuranceCards/resources/v2}/types/InsuranceCardId.js +3 -3
- package/serialization/resources/insuranceRefunds/resources/v1/client/index.d.ts +1 -0
- package/serialization/resources/insuranceRefunds/resources/v1/client/index.js +17 -0
- package/serialization/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +17 -0
- package/serialization/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.js +40 -0
- package/serialization/resources/insuranceRefunds/resources/v1/client/requests/index.d.ts +1 -0
- package/serialization/resources/insuranceRefunds/resources/v1/client/requests/index.js +5 -0
- package/serialization/resources/insuranceRefunds/resources/v1/index.d.ts +1 -0
- package/serialization/resources/insuranceRefunds/resources/v1/index.js +1 -0
- package/serialization/resources/organizationProviders/resources/v2/types/EmploymentStatus.d.ts +10 -0
- package/serialization/resources/organizationProviders/resources/v2/types/EmploymentStatus.js +31 -0
- package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
- package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +1 -0
- package/serialization/resources/organizationProviders/resources/v2/types/OrganizationProvider.d.ts +15 -0
- package/serialization/resources/organizationProviders/resources/v2/types/OrganizationProvider.js +38 -0
- package/serialization/resources/organizationProviders/resources/v2/types/OrganizationProviderBase.d.ts +24 -0
- package/serialization/resources/organizationProviders/resources/v2/types/OrganizationProviderBase.js +47 -0
- package/serialization/resources/organizationProviders/resources/v2/types/index.d.ts +3 -0
- package/serialization/resources/organizationProviders/resources/v2/types/index.js +3 -0
- package/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +16 -0
- package/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.js +39 -0
- package/serialization/resources/patientPayments/resources/v4/client/requests/index.d.ts +1 -0
- package/serialization/resources/patientPayments/resources/v4/client/requests/index.js +3 -1
- package/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +17 -0
- package/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.js +40 -0
- package/serialization/resources/patientRefunds/resources/v1/client/requests/index.d.ts +1 -0
- package/serialization/resources/patientRefunds/resources/v1/client/requests/index.js +3 -1
- package/serialization/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.js +1 -1
- package/serialization/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.js +1 -1
- package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOff.d.ts +18 -0
- package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOff.js +39 -0
- package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffCreate.d.ts +17 -0
- package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffCreate.js +38 -0
- package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffTarget.d.ts +22 -0
- package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffTarget.js +46 -0
- package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +17 -0
- package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.js +38 -0
- package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffCreate.d.ts +16 -0
- package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffCreate.js +37 -0
- package/serialization/resources/writeOffs/resources/v1/types/WriteOff.d.ts +7 -8
- package/serialization/resources/writeOffs/resources/v1/types/WriteOff.js +8 -7
- package/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +7 -7
- package/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.js +8 -6
- package/serialization/resources/writeOffs/resources/v1/types/WriteOffsPage.js +1 -1
- package/serialization/resources/writeOffs/resources/v1/types/index.d.ts +5 -0
- package/serialization/resources/writeOffs/resources/v1/types/index.js +5 -0
- package/api/resources/contracts/types/ContractId.d.ts +0 -8
- package/api/resources/contracts/types/index.d.ts +0 -1
- package/dist/api/resources/contracts/types/ContractId.d.ts +0 -8
- package/dist/api/resources/contracts/types/index.d.ts +0 -1
- package/dist/serialization/resources/contracts/types/index.d.ts +0 -1
- package/serialization/resources/contracts/types/index.d.ts +0 -1
- /package/api/resources/{insuranceCard/types/InsuranceCard.js → commons/types/RegionNational.js} +0 -0
- /package/api/resources/{insuranceCard/types/InsuranceCardBase.js → commons/types/RegionStates.js} +0 -0
- /package/api/resources/{insuranceCard/types/InsuranceCardCreate.js → commons/types/Regions.js} +0 -0
- /package/{dist/api/resources/insuranceCard/types/InsuranceCard.js → api/resources/contracts/resources/v2/client/requests/ContractCreate.js} +0 -0
- /package/{dist/api/resources/insuranceCard/types/InsuranceCardBase.js → api/resources/contracts/resources/v2/client/requests/ContractUpdate.js} +0 -0
- /package/{dist/api/resources/insuranceCard/types/InsuranceCardCreate.js → api/resources/contracts/resources/v2/client/requests/GetMultiContractsRequest.js} +0 -0
- /package/api/resources/contracts/{types → resources/v2/types}/ContractId.js +0 -0
- /package/api/resources/{insuranceCard → insuranceCards/resources/v2}/index.d.ts +0 -0
- /package/api/resources/{insuranceCard → insuranceCards/resources/v2}/index.js +0 -0
- /package/api/resources/{insuranceCard → insuranceCards/resources/v2}/types/InsuranceCardId.js +0 -0
- /package/api/resources/{insuranceCard → insuranceCards/resources/v2}/types/index.d.ts +0 -0
- /package/api/resources/{insuranceCard → insuranceCards/resources/v2}/types/index.js +0 -0
- /package/dist/api/resources/contracts/{types → resources/v2/types}/ContractId.js +0 -0
- /package/dist/api/resources/{insuranceCard → insuranceCards/resources/v2}/index.d.ts +0 -0
- /package/dist/api/resources/{insuranceCard → insuranceCards/resources/v2}/index.js +0 -0
- /package/dist/api/resources/{insuranceCard → insuranceCards/resources/v2}/types/InsuranceCardId.js +0 -0
- /package/dist/api/resources/{insuranceCard → insuranceCards/resources/v2}/types/index.d.ts +0 -0
- /package/dist/api/resources/{insuranceCard → insuranceCards/resources/v2}/types/index.js +0 -0
- /package/dist/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/index.d.ts +0 -0
- /package/dist/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/index.js +0 -0
- /package/dist/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/types/index.d.ts +0 -0
- /package/dist/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/types/index.js +0 -0
- /package/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/index.d.ts +0 -0
- /package/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/index.js +0 -0
- /package/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/types/index.d.ts +0 -0
- /package/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/types/index.js +0 -0
|
@@ -0,0 +1,47 @@
|
|
|
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
|
+
_unknown: (fetcherError) => {
|
|
33
|
+
return {
|
|
34
|
+
errorName: undefined,
|
|
35
|
+
content: fetcherError,
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.insuranceRefunds.v1.update.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
_visit: (value, visitor) => {
|
|
42
|
+
switch (value.errorName) {
|
|
43
|
+
default:
|
|
44
|
+
return visitor._other(value);
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
};
|
|
@@ -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.EmploymentStatus = void 0;
|
|
7
|
+
exports.EmploymentStatus = {
|
|
8
|
+
Active: "ACTIVE",
|
|
9
|
+
Terminated: "TERMINATED",
|
|
10
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export declare type LicenseType = "MD" | "NP" | "PA" | "LMFT" | "LCPC" | "LCSW" | "PMHNP" | "FNP" | "LPCC" | "DO" | "RD" | "SLP" | "APRN" | "LPC" | "PHD" | "PSYD" | "LMSW" | "LMHC" | "OTHER_MASTERS" | "BCBA" | "UNKNOWN" | "RPH" | "PHT" | "LAC" | "LMT" | "DC" | "ND" | "MA" | "PT" | "IBCLC" | "RN" | "DPT" | "LCMHC" | "CNM" | "RNFA" | "ACSW" | "APC" | "BCABA" | "BHA" | "OD" | "DPM" | "DA" | "DDS" | "DEH" | "DMD" | "PTA" | "LCADC" | "LCAT" | "LCMHCS" | "LCMHCA" | "LCSWA" | "LICSW" | "LISW" | "LMFTS" | "LMFTA" | "LPCI" | "LSCSW" | "MHCA" | "MHT" | "RBT" | "RCSWI" | "RHMCI" | "LPN" | "OTD" | "OMS" | "MFTA" | "APCC";
|
|
4
|
+
export declare type LicenseType = "MD" | "NP" | "PA" | "LMFT" | "LCPC" | "LCSW" | "PMHNP" | "FNP" | "LPCC" | "DO" | "RD" | "SLP" | "APRN" | "LPC" | "PHD" | "PSYD" | "LMSW" | "LMHC" | "OTHER_MASTERS" | "BCBA" | "UNKNOWN" | "RPH" | "PHT" | "LAC" | "LMT" | "DC" | "ND" | "MA" | "PT" | "IBCLC" | "RN" | "DPT" | "LCMHC" | "CNM" | "RNFA" | "ACSW" | "APC" | "BCABA" | "BHA" | "OD" | "DPM" | "DA" | "DDS" | "DEH" | "DMD" | "PTA" | "LCADC" | "LCAT" | "LCMHCS" | "LCMHCA" | "LCSWA" | "LICSW" | "LISW" | "LMFTS" | "LMFTA" | "LPCI" | "LSCSW" | "MHCA" | "MHT" | "RBT" | "RCSWI" | "RHMCI" | "LPN" | "OTD" | "OMS" | "MFTA" | "APCC" | "DNP";
|
|
5
5
|
export declare const LicenseType: {
|
|
6
6
|
readonly Md: "MD";
|
|
7
7
|
readonly Np: "NP";
|
|
@@ -70,4 +70,5 @@ export declare const LicenseType: {
|
|
|
70
70
|
readonly Oms: "OMS";
|
|
71
71
|
readonly Mfta: "MFTA";
|
|
72
72
|
readonly Apcc: "APCC";
|
|
73
|
+
readonly Dnp: "DNP";
|
|
73
74
|
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../..";
|
|
5
|
+
export interface OrganizationProvider extends CandidApi.organizationProviders.v2.OrganizationProviderBase {
|
|
6
|
+
/** Auto-generated ID set on creation */
|
|
7
|
+
organizationProviderId: CandidApi.organizationProviders.v2.OrganizationProviderId;
|
|
8
|
+
/** The employment status for the provider. */
|
|
9
|
+
employmentStatus: CandidApi.organizationProviders.v2.EmploymentStatus;
|
|
10
|
+
/** The employment start date for the provider. */
|
|
11
|
+
employmentStartDate?: CandidApi.Date_;
|
|
12
|
+
/** The employment termination date for the provider. */
|
|
13
|
+
employmentTerminationDate?: CandidApi.Date_;
|
|
14
|
+
}
|
package/dist/api/resources/organizationProviders/resources/v2/types/OrganizationProviderBase.d.ts
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../..";
|
|
5
|
+
export interface OrganizationProviderBase {
|
|
6
|
+
/** The NPI of the provider. This must be all digits [0-9] and exactly 10 characters long. */
|
|
7
|
+
npi: string;
|
|
8
|
+
/** Whether the provider can be used to render services. */
|
|
9
|
+
isRendering: boolean;
|
|
10
|
+
/** Whether the provider can be used to bill services. */
|
|
11
|
+
isBilling: boolean;
|
|
12
|
+
/** The first name of the provider, if the provider is an individual. */
|
|
13
|
+
firstName?: string;
|
|
14
|
+
/** The last name of the provider, if the provider is an individual. */
|
|
15
|
+
lastName?: string;
|
|
16
|
+
/** The name of the provider, if the provider is an organization. */
|
|
17
|
+
organizationName?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Whether the provider is an individual (NPPES Type 1) or organization (NPPES Type 2) provider.
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
providerType: CandidApi.organizationProviders.v2.ProviderType;
|
|
23
|
+
/**
|
|
24
|
+
* If the provider has a contract with insurance, this must be the same tax ID given to the payer on an IRS W-9 form completed during contracting.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
taxId?: string;
|
|
28
|
+
/** A code designating classification and specialization. */
|
|
29
|
+
taxonomyCode?: string;
|
|
30
|
+
/** The type of license that the provider holds. */
|
|
31
|
+
licenseType: CandidApi.organizationProviders.v2.LicenseType;
|
|
32
|
+
/** The Provider Transaction Access Number for the provider. */
|
|
33
|
+
ptan?: string;
|
|
34
|
+
/** The medicaid provider ID for the provider. */
|
|
35
|
+
medicaidProviderId?: string;
|
|
36
|
+
/** The addresses associated with this provider. */
|
|
37
|
+
addresses?: CandidApi.organizationProviders.v2.OrganizationProviderAddress[];
|
|
38
|
+
}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
export * from "./OrganizationProviderId";
|
|
2
|
+
export * from "./OrganizationProviderBase";
|
|
3
|
+
export * from "./OrganizationProvider";
|
|
2
4
|
export * from "./OrganizationProviderSortOptions";
|
|
3
5
|
export * from "./ProviderType";
|
|
4
6
|
export * from "./LicenseType";
|
|
7
|
+
export * from "./EmploymentStatus";
|
|
5
8
|
export * from "./OrganizationProviderAddress";
|
|
6
9
|
export * from "./AddressType";
|
|
@@ -15,8 +15,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./OrganizationProviderId"), exports);
|
|
18
|
+
__exportStar(require("./OrganizationProviderBase"), exports);
|
|
19
|
+
__exportStar(require("./OrganizationProvider"), exports);
|
|
18
20
|
__exportStar(require("./OrganizationProviderSortOptions"), exports);
|
|
19
21
|
__exportStar(require("./ProviderType"), exports);
|
|
20
22
|
__exportStar(require("./LicenseType"), exports);
|
|
23
|
+
__exportStar(require("./EmploymentStatus"), exports);
|
|
21
24
|
__exportStar(require("./OrganizationProviderAddress"), exports);
|
|
22
25
|
__exportStar(require("./AddressType"), exports);
|
|
@@ -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.14.0",
|
|
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.14.0",
|
|
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.14.0",
|
|
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.14.0",
|
|
196
196
|
},
|
|
197
197
|
contentType: "application/json",
|
|
198
198
|
body: await serializers.organizationProviders.v3.OrganizationProviderUpdateV2.jsonOrThrow(request, {
|
|
@@ -49,7 +49,7 @@ class V2 {
|
|
|
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.14.0",
|
|
53
53
|
},
|
|
54
54
|
contentType: "application/json",
|
|
55
55
|
timeoutMs: 60000,
|
|
@@ -103,7 +103,7 @@ class V2 {
|
|
|
103
103
|
Authorization: await this._getAuthorizationHeader(),
|
|
104
104
|
"X-Fern-Language": "JavaScript",
|
|
105
105
|
"X-Fern-SDK-Name": "candidhealth",
|
|
106
|
-
"X-Fern-SDK-Version": "0.
|
|
106
|
+
"X-Fern-SDK-Version": "0.14.0",
|
|
107
107
|
},
|
|
108
108
|
contentType: "application/json",
|
|
109
109
|
queryParameters: _queryParams,
|
|
@@ -133,7 +133,7 @@ class V2 {
|
|
|
133
133
|
Authorization: await this._getAuthorizationHeader(),
|
|
134
134
|
"X-Fern-Language": "JavaScript",
|
|
135
135
|
"X-Fern-SDK-Name": "candidhealth",
|
|
136
|
-
"X-Fern-SDK-Version": "0.
|
|
136
|
+
"X-Fern-SDK-Version": "0.14.0",
|
|
137
137
|
},
|
|
138
138
|
contentType: "application/json",
|
|
139
139
|
body: await serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -177,7 +177,7 @@ class V2 {
|
|
|
177
177
|
Authorization: await this._getAuthorizationHeader(),
|
|
178
178
|
"X-Fern-Language": "JavaScript",
|
|
179
179
|
"X-Fern-SDK-Name": "candidhealth",
|
|
180
|
-
"X-Fern-SDK-Version": "0.
|
|
180
|
+
"X-Fern-SDK-Version": "0.14.0",
|
|
181
181
|
},
|
|
182
182
|
contentType: "application/json",
|
|
183
183
|
body: await serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -222,7 +222,7 @@ class V2 {
|
|
|
222
222
|
Authorization: await this._getAuthorizationHeader(),
|
|
223
223
|
"X-Fern-Language": "JavaScript",
|
|
224
224
|
"X-Fern-SDK-Name": "candidhealth",
|
|
225
|
-
"X-Fern-SDK-Version": "0.
|
|
225
|
+
"X-Fern-SDK-Version": "0.14.0",
|
|
226
226
|
},
|
|
227
227
|
contentType: "application/json",
|
|
228
228
|
timeoutMs: 60000,
|
|
@@ -31,6 +31,11 @@ export declare class V4 {
|
|
|
31
31
|
*
|
|
32
32
|
*/
|
|
33
33
|
create(request: CandidApi.patientPayments.v4.PatientPaymentCreate): Promise<core.APIResponse<CandidApi.patientPayments.v4.PatientPayment, CandidApi.patientPayments.v4.create.Error>>;
|
|
34
|
+
/**
|
|
35
|
+
* Updates the patient payment record matching the provided patient_payment_id.
|
|
36
|
+
*
|
|
37
|
+
*/
|
|
38
|
+
update(patientPaymentId: CandidApi.patientPayments.v4.PatientPaymentId, request?: CandidApi.patientPayments.v4.PatientPaymentUpdate): Promise<core.APIResponse<CandidApi.patientPayments.v4.PatientPayment, CandidApi.patientPayments.v4.update.Error>>;
|
|
34
39
|
/**
|
|
35
40
|
* Deletes the patient payment record matching the provided patient_payment_id.
|
|
36
41
|
*
|
|
@@ -93,7 +93,7 @@ class V4 {
|
|
|
93
93
|
Authorization: await this._getAuthorizationHeader(),
|
|
94
94
|
"X-Fern-Language": "JavaScript",
|
|
95
95
|
"X-Fern-SDK-Name": "candidhealth",
|
|
96
|
-
"X-Fern-SDK-Version": "0.
|
|
96
|
+
"X-Fern-SDK-Version": "0.14.0",
|
|
97
97
|
},
|
|
98
98
|
contentType: "application/json",
|
|
99
99
|
queryParameters: _queryParams,
|
|
@@ -127,7 +127,7 @@ class V4 {
|
|
|
127
127
|
Authorization: await this._getAuthorizationHeader(),
|
|
128
128
|
"X-Fern-Language": "JavaScript",
|
|
129
129
|
"X-Fern-SDK-Name": "candidhealth",
|
|
130
|
-
"X-Fern-SDK-Version": "0.
|
|
130
|
+
"X-Fern-SDK-Version": "0.14.0",
|
|
131
131
|
},
|
|
132
132
|
contentType: "application/json",
|
|
133
133
|
timeoutMs: 60000,
|
|
@@ -162,7 +162,7 @@ class V4 {
|
|
|
162
162
|
Authorization: await this._getAuthorizationHeader(),
|
|
163
163
|
"X-Fern-Language": "JavaScript",
|
|
164
164
|
"X-Fern-SDK-Name": "candidhealth",
|
|
165
|
-
"X-Fern-SDK-Version": "0.
|
|
165
|
+
"X-Fern-SDK-Version": "0.14.0",
|
|
166
166
|
},
|
|
167
167
|
contentType: "application/json",
|
|
168
168
|
body: await serializers.patientPayments.v4.PatientPaymentCreate.jsonOrThrow(request, {
|
|
@@ -186,6 +186,42 @@ class V4 {
|
|
|
186
186
|
error: CandidApi.patientPayments.v4.create.Error._unknown(_response.error),
|
|
187
187
|
};
|
|
188
188
|
}
|
|
189
|
+
/**
|
|
190
|
+
* Updates the patient payment record matching the provided patient_payment_id.
|
|
191
|
+
*
|
|
192
|
+
*/
|
|
193
|
+
async update(patientPaymentId, request = {}) {
|
|
194
|
+
const _response = await core.fetcher({
|
|
195
|
+
url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, `/api/patient-payments/v4/${await serializers.patientPayments.v4.PatientPaymentId.jsonOrThrow(patientPaymentId)}`),
|
|
196
|
+
method: "PATCH",
|
|
197
|
+
headers: {
|
|
198
|
+
Authorization: await this._getAuthorizationHeader(),
|
|
199
|
+
"X-Fern-Language": "JavaScript",
|
|
200
|
+
"X-Fern-SDK-Name": "candidhealth",
|
|
201
|
+
"X-Fern-SDK-Version": "0.14.0",
|
|
202
|
+
},
|
|
203
|
+
contentType: "application/json",
|
|
204
|
+
body: await serializers.patientPayments.v4.PatientPaymentUpdate.jsonOrThrow(request, {
|
|
205
|
+
unrecognizedObjectKeys: "strip",
|
|
206
|
+
}),
|
|
207
|
+
timeoutMs: 60000,
|
|
208
|
+
});
|
|
209
|
+
if (_response.ok) {
|
|
210
|
+
return {
|
|
211
|
+
ok: true,
|
|
212
|
+
body: await serializers.patientPayments.v4.PatientPayment.parseOrThrow(_response.body, {
|
|
213
|
+
unrecognizedObjectKeys: "passthrough",
|
|
214
|
+
allowUnrecognizedUnionMembers: true,
|
|
215
|
+
allowUnrecognizedEnumValues: true,
|
|
216
|
+
breadcrumbsPrefix: ["response"],
|
|
217
|
+
}),
|
|
218
|
+
};
|
|
219
|
+
}
|
|
220
|
+
return {
|
|
221
|
+
ok: false,
|
|
222
|
+
error: CandidApi.patientPayments.v4.update.Error._unknown(_response.error),
|
|
223
|
+
};
|
|
224
|
+
}
|
|
189
225
|
/**
|
|
190
226
|
* Deletes the patient payment record matching the provided patient_payment_id.
|
|
191
227
|
*
|
|
@@ -198,7 +234,7 @@ class V4 {
|
|
|
198
234
|
Authorization: await this._getAuthorizationHeader(),
|
|
199
235
|
"X-Fern-Language": "JavaScript",
|
|
200
236
|
"X-Fern-SDK-Name": "candidhealth",
|
|
201
|
-
"X-Fern-SDK-Version": "0.
|
|
237
|
+
"X-Fern-SDK-Version": "0.14.0",
|
|
202
238
|
},
|
|
203
239
|
contentType: "application/json",
|
|
204
240
|
timeoutMs: 60000,
|
|
@@ -26,9 +26,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.delete = exports.create = exports.get = exports.getMulti = void 0;
|
|
29
|
+
exports.delete = exports.update = exports.create = exports.get = exports.getMulti = void 0;
|
|
30
30
|
__exportStar(require("./requests"), exports);
|
|
31
31
|
exports.getMulti = __importStar(require("./getMulti"));
|
|
32
32
|
exports.get = __importStar(require("./get"));
|
|
33
33
|
exports.create = __importStar(require("./create"));
|
|
34
|
+
exports.update = __importStar(require("./update"));
|
|
34
35
|
exports.delete = __importStar(require("./delete"));
|
package/dist/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts
ADDED
|
@@ -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 PatientPaymentUpdate {
|
|
6
|
+
paymentTimestamp?: Date;
|
|
7
|
+
paymentNote?: CandidApi.NoteUpdate;
|
|
8
|
+
patientExternalId?: CandidApi.PatientExternalId;
|
|
9
|
+
allocations?: CandidApi.AllocationAmountUpdate;
|
|
10
|
+
invoice?: CandidApi.InvoiceUpdate;
|
|
11
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
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.patientPayments.v4.update.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface _Unknown extends _Utils {
|
|
9
|
+
errorName: void;
|
|
10
|
+
content: core.Fetcher.Error;
|
|
11
|
+
}
|
|
12
|
+
interface _Utils {
|
|
13
|
+
_visit: <_Result>(visitor: CandidApi.patientPayments.v4.update.Error._Visitor<_Result>) => _Result;
|
|
14
|
+
}
|
|
15
|
+
interface _Visitor<_Result> {
|
|
16
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export declare const Error: {
|
|
20
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.patientPayments.v4.update.Error._Unknown;
|
|
21
|
+
readonly _visit: <_Result>(value: CandidApi.patientPayments.v4.update.Error, visitor: CandidApi.patientPayments.v4.update.Error._Visitor<_Result>) => _Result;
|
|
22
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
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
|
+
_unknown: (fetcherError) => {
|
|
33
|
+
return {
|
|
34
|
+
errorName: undefined,
|
|
35
|
+
content: fetcherError,
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.patientPayments.v4.update.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
_visit: (value, visitor) => {
|
|
42
|
+
switch (value.errorName) {
|
|
43
|
+
default:
|
|
44
|
+
return visitor._other(value);
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
};
|
|
@@ -31,6 +31,11 @@ export declare class V1 {
|
|
|
31
31
|
*
|
|
32
32
|
*/
|
|
33
33
|
create(request: CandidApi.patientRefunds.v1.PatientRefundCreate): Promise<core.APIResponse<CandidApi.patientRefunds.v1.PatientRefund, CandidApi.patientRefunds.v1.create.Error>>;
|
|
34
|
+
/**
|
|
35
|
+
* Updates the patient refund record matching the provided patient_refund_id.
|
|
36
|
+
*
|
|
37
|
+
*/
|
|
38
|
+
update(patientRefundId: CandidApi.patientRefunds.v1.PatientRefundId, request?: CandidApi.patientRefunds.v1.PatientRefundUpdate): Promise<core.APIResponse<CandidApi.patientRefunds.v1.PatientRefund, CandidApi.patientRefunds.v1.update.Error>>;
|
|
34
39
|
/**
|
|
35
40
|
* Deletes the patient refund record matching the provided patient_refund_id.
|
|
36
41
|
*
|
|
@@ -93,7 +93,7 @@ class V1 {
|
|
|
93
93
|
Authorization: await this._getAuthorizationHeader(),
|
|
94
94
|
"X-Fern-Language": "JavaScript",
|
|
95
95
|
"X-Fern-SDK-Name": "candidhealth",
|
|
96
|
-
"X-Fern-SDK-Version": "0.
|
|
96
|
+
"X-Fern-SDK-Version": "0.14.0",
|
|
97
97
|
},
|
|
98
98
|
contentType: "application/json",
|
|
99
99
|
queryParameters: _queryParams,
|
|
@@ -127,7 +127,7 @@ class V1 {
|
|
|
127
127
|
Authorization: await this._getAuthorizationHeader(),
|
|
128
128
|
"X-Fern-Language": "JavaScript",
|
|
129
129
|
"X-Fern-SDK-Name": "candidhealth",
|
|
130
|
-
"X-Fern-SDK-Version": "0.
|
|
130
|
+
"X-Fern-SDK-Version": "0.14.0",
|
|
131
131
|
},
|
|
132
132
|
contentType: "application/json",
|
|
133
133
|
timeoutMs: 60000,
|
|
@@ -162,7 +162,7 @@ class V1 {
|
|
|
162
162
|
Authorization: await this._getAuthorizationHeader(),
|
|
163
163
|
"X-Fern-Language": "JavaScript",
|
|
164
164
|
"X-Fern-SDK-Name": "candidhealth",
|
|
165
|
-
"X-Fern-SDK-Version": "0.
|
|
165
|
+
"X-Fern-SDK-Version": "0.14.0",
|
|
166
166
|
},
|
|
167
167
|
contentType: "application/json",
|
|
168
168
|
body: await serializers.patientRefunds.v1.PatientRefundCreate.jsonOrThrow(request, {
|
|
@@ -186,6 +186,42 @@ class V1 {
|
|
|
186
186
|
error: CandidApi.patientRefunds.v1.create.Error._unknown(_response.error),
|
|
187
187
|
};
|
|
188
188
|
}
|
|
189
|
+
/**
|
|
190
|
+
* Updates the patient refund record matching the provided patient_refund_id.
|
|
191
|
+
*
|
|
192
|
+
*/
|
|
193
|
+
async update(patientRefundId, request = {}) {
|
|
194
|
+
const _response = await core.fetcher({
|
|
195
|
+
url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, `/api/patient-refunds/v1/${await serializers.patientRefunds.v1.PatientRefundId.jsonOrThrow(patientRefundId)}`),
|
|
196
|
+
method: "PATCH",
|
|
197
|
+
headers: {
|
|
198
|
+
Authorization: await this._getAuthorizationHeader(),
|
|
199
|
+
"X-Fern-Language": "JavaScript",
|
|
200
|
+
"X-Fern-SDK-Name": "candidhealth",
|
|
201
|
+
"X-Fern-SDK-Version": "0.14.0",
|
|
202
|
+
},
|
|
203
|
+
contentType: "application/json",
|
|
204
|
+
body: await serializers.patientRefunds.v1.PatientRefundUpdate.jsonOrThrow(request, {
|
|
205
|
+
unrecognizedObjectKeys: "strip",
|
|
206
|
+
}),
|
|
207
|
+
timeoutMs: 60000,
|
|
208
|
+
});
|
|
209
|
+
if (_response.ok) {
|
|
210
|
+
return {
|
|
211
|
+
ok: true,
|
|
212
|
+
body: await serializers.patientRefunds.v1.PatientRefund.parseOrThrow(_response.body, {
|
|
213
|
+
unrecognizedObjectKeys: "passthrough",
|
|
214
|
+
allowUnrecognizedUnionMembers: true,
|
|
215
|
+
allowUnrecognizedEnumValues: true,
|
|
216
|
+
breadcrumbsPrefix: ["response"],
|
|
217
|
+
}),
|
|
218
|
+
};
|
|
219
|
+
}
|
|
220
|
+
return {
|
|
221
|
+
ok: false,
|
|
222
|
+
error: CandidApi.patientRefunds.v1.update.Error._unknown(_response.error),
|
|
223
|
+
};
|
|
224
|
+
}
|
|
189
225
|
/**
|
|
190
226
|
* Deletes the patient refund record matching the provided patient_refund_id.
|
|
191
227
|
*
|
|
@@ -198,7 +234,7 @@ class V1 {
|
|
|
198
234
|
Authorization: await this._getAuthorizationHeader(),
|
|
199
235
|
"X-Fern-Language": "JavaScript",
|
|
200
236
|
"X-Fern-SDK-Name": "candidhealth",
|
|
201
|
-
"X-Fern-SDK-Version": "0.
|
|
237
|
+
"X-Fern-SDK-Version": "0.14.0",
|
|
202
238
|
},
|
|
203
239
|
contentType: "application/json",
|
|
204
240
|
timeoutMs: 60000,
|
|
@@ -26,9 +26,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.delete = exports.create = exports.get = exports.getMulti = void 0;
|
|
29
|
+
exports.delete = exports.update = exports.create = exports.get = exports.getMulti = void 0;
|
|
30
30
|
__exportStar(require("./requests"), exports);
|
|
31
31
|
exports.getMulti = __importStar(require("./getMulti"));
|
|
32
32
|
exports.get = __importStar(require("./get"));
|
|
33
33
|
exports.create = __importStar(require("./create"));
|
|
34
|
+
exports.update = __importStar(require("./update"));
|
|
34
35
|
exports.delete = __importStar(require("./delete"));
|
package/dist/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts
ADDED
|
@@ -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 PatientRefundUpdate {
|
|
6
|
+
refundTimestamp?: Date;
|
|
7
|
+
refundNote?: CandidApi.NoteUpdate;
|
|
8
|
+
patientExternalId?: CandidApi.PatientExternalId;
|
|
9
|
+
allocations?: CandidApi.AllocationAmountUpdate;
|
|
10
|
+
invoice?: CandidApi.InvoiceUpdate;
|
|
11
|
+
refundReason?: CandidApi.RefundReasonUpdate;
|
|
12
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
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.patientRefunds.v1.update.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface _Unknown extends _Utils {
|
|
9
|
+
errorName: void;
|
|
10
|
+
content: core.Fetcher.Error;
|
|
11
|
+
}
|
|
12
|
+
interface _Utils {
|
|
13
|
+
_visit: <_Result>(visitor: CandidApi.patientRefunds.v1.update.Error._Visitor<_Result>) => _Result;
|
|
14
|
+
}
|
|
15
|
+
interface _Visitor<_Result> {
|
|
16
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export declare const Error: {
|
|
20
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.patientRefunds.v1.update.Error._Unknown;
|
|
21
|
+
readonly _visit: <_Result>(value: CandidApi.patientRefunds.v1.update.Error, visitor: CandidApi.patientRefunds.v1.update.Error._Visitor<_Result>) => _Result;
|
|
22
|
+
};
|