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,274 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
29
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
30
|
+
};
|
|
31
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32
|
+
exports.V2 = void 0;
|
|
33
|
+
const environments = __importStar(require("../../../../../../environments"));
|
|
34
|
+
const core = __importStar(require("../../../../../../core"));
|
|
35
|
+
const CandidApi = __importStar(require("../../../../.."));
|
|
36
|
+
const serializers = __importStar(require("../../../../../../serialization"));
|
|
37
|
+
const url_join_1 = __importDefault(require("url-join"));
|
|
38
|
+
const url_search_params_1 = __importDefault(require("@ungap/url-search-params"));
|
|
39
|
+
class V2 {
|
|
40
|
+
options;
|
|
41
|
+
constructor(options) {
|
|
42
|
+
this.options = options;
|
|
43
|
+
}
|
|
44
|
+
async get(contractId) {
|
|
45
|
+
const _response = await core.fetcher({
|
|
46
|
+
url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, `/api/contracts/v2/${await serializers.contracts.v2.ContractId.jsonOrThrow(contractId)}`),
|
|
47
|
+
method: "GET",
|
|
48
|
+
headers: {
|
|
49
|
+
Authorization: await this._getAuthorizationHeader(),
|
|
50
|
+
"X-Fern-Language": "JavaScript",
|
|
51
|
+
"X-Fern-SDK-Name": "candidhealth",
|
|
52
|
+
"X-Fern-SDK-Version": "0.14.0",
|
|
53
|
+
},
|
|
54
|
+
contentType: "application/json",
|
|
55
|
+
timeoutMs: 60000,
|
|
56
|
+
});
|
|
57
|
+
if (_response.ok) {
|
|
58
|
+
return {
|
|
59
|
+
ok: true,
|
|
60
|
+
body: await serializers.contracts.v2.ContractWithProviders.parseOrThrow(_response.body, {
|
|
61
|
+
unrecognizedObjectKeys: "passthrough",
|
|
62
|
+
allowUnrecognizedUnionMembers: true,
|
|
63
|
+
allowUnrecognizedEnumValues: true,
|
|
64
|
+
breadcrumbsPrefix: ["response"],
|
|
65
|
+
}),
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
if (_response.error.reason === "status-code") {
|
|
69
|
+
switch (_response.error.body?.errorName) {
|
|
70
|
+
case "EntityNotFoundError":
|
|
71
|
+
return {
|
|
72
|
+
ok: false,
|
|
73
|
+
error: await serializers.contracts.v2.get.Error.parseOrThrow(_response.error.body, {
|
|
74
|
+
unrecognizedObjectKeys: "passthrough",
|
|
75
|
+
allowUnrecognizedUnionMembers: true,
|
|
76
|
+
allowUnrecognizedEnumValues: true,
|
|
77
|
+
breadcrumbsPrefix: ["response"],
|
|
78
|
+
}),
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
return {
|
|
83
|
+
ok: false,
|
|
84
|
+
error: CandidApi.contracts.v2.get.Error._unknown(_response.error),
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
async getMulti(request = {}) {
|
|
88
|
+
const { pageToken, limit, contractingProviderId, renderingProviderIds, payerNames, states, contractStatus } = request;
|
|
89
|
+
const _queryParams = new url_search_params_1.default();
|
|
90
|
+
if (pageToken != null) {
|
|
91
|
+
_queryParams.append("page_token", pageToken);
|
|
92
|
+
}
|
|
93
|
+
if (limit != null) {
|
|
94
|
+
_queryParams.append("limit", limit.toString());
|
|
95
|
+
}
|
|
96
|
+
if (contractingProviderId != null) {
|
|
97
|
+
_queryParams.append("contracting_provider_id", contractingProviderId);
|
|
98
|
+
}
|
|
99
|
+
if (renderingProviderIds != null) {
|
|
100
|
+
if (Array.isArray(renderingProviderIds)) {
|
|
101
|
+
for (const _item of renderingProviderIds) {
|
|
102
|
+
_queryParams.append("rendering_provider_ids", _item);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
else {
|
|
106
|
+
_queryParams.append("rendering_provider_ids", renderingProviderIds);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
if (payerNames != null) {
|
|
110
|
+
if (Array.isArray(payerNames)) {
|
|
111
|
+
for (const _item of payerNames) {
|
|
112
|
+
_queryParams.append("payer_names", _item);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
else {
|
|
116
|
+
_queryParams.append("payer_names", payerNames);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
if (states != null) {
|
|
120
|
+
if (Array.isArray(states)) {
|
|
121
|
+
for (const _item of states) {
|
|
122
|
+
_queryParams.append("states", _item);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
else {
|
|
126
|
+
_queryParams.append("states", states);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
if (contractStatus != null) {
|
|
130
|
+
_queryParams.append("contract_status", contractStatus);
|
|
131
|
+
}
|
|
132
|
+
const _response = await core.fetcher({
|
|
133
|
+
url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, "/api/contracts/v2"),
|
|
134
|
+
method: "GET",
|
|
135
|
+
headers: {
|
|
136
|
+
Authorization: await this._getAuthorizationHeader(),
|
|
137
|
+
"X-Fern-Language": "JavaScript",
|
|
138
|
+
"X-Fern-SDK-Name": "candidhealth",
|
|
139
|
+
"X-Fern-SDK-Version": "0.14.0",
|
|
140
|
+
},
|
|
141
|
+
contentType: "application/json",
|
|
142
|
+
queryParameters: _queryParams,
|
|
143
|
+
timeoutMs: 60000,
|
|
144
|
+
});
|
|
145
|
+
if (_response.ok) {
|
|
146
|
+
return {
|
|
147
|
+
ok: true,
|
|
148
|
+
body: await serializers.contracts.v2.ContractsPage.parseOrThrow(_response.body, {
|
|
149
|
+
unrecognizedObjectKeys: "passthrough",
|
|
150
|
+
allowUnrecognizedUnionMembers: true,
|
|
151
|
+
allowUnrecognizedEnumValues: true,
|
|
152
|
+
breadcrumbsPrefix: ["response"],
|
|
153
|
+
}),
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
return {
|
|
157
|
+
ok: false,
|
|
158
|
+
error: CandidApi.contracts.v2.getMulti.Error._unknown(_response.error),
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* Creates a new contract within the user's current organization
|
|
163
|
+
*/
|
|
164
|
+
async create(request) {
|
|
165
|
+
const _response = await core.fetcher({
|
|
166
|
+
url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, "/api/contracts/v2"),
|
|
167
|
+
method: "POST",
|
|
168
|
+
headers: {
|
|
169
|
+
Authorization: await this._getAuthorizationHeader(),
|
|
170
|
+
"X-Fern-Language": "JavaScript",
|
|
171
|
+
"X-Fern-SDK-Name": "candidhealth",
|
|
172
|
+
"X-Fern-SDK-Version": "0.14.0",
|
|
173
|
+
},
|
|
174
|
+
contentType: "application/json",
|
|
175
|
+
body: await serializers.contracts.v2.ContractCreate.jsonOrThrow(request, {
|
|
176
|
+
unrecognizedObjectKeys: "strip",
|
|
177
|
+
}),
|
|
178
|
+
timeoutMs: 60000,
|
|
179
|
+
});
|
|
180
|
+
if (_response.ok) {
|
|
181
|
+
return {
|
|
182
|
+
ok: true,
|
|
183
|
+
body: await serializers.contracts.v2.ContractWithProviders.parseOrThrow(_response.body, {
|
|
184
|
+
unrecognizedObjectKeys: "passthrough",
|
|
185
|
+
allowUnrecognizedUnionMembers: true,
|
|
186
|
+
allowUnrecognizedEnumValues: true,
|
|
187
|
+
breadcrumbsPrefix: ["response"],
|
|
188
|
+
}),
|
|
189
|
+
};
|
|
190
|
+
}
|
|
191
|
+
return {
|
|
192
|
+
ok: false,
|
|
193
|
+
error: CandidApi.contracts.v2.create.Error._unknown(_response.error),
|
|
194
|
+
};
|
|
195
|
+
}
|
|
196
|
+
async delete(contractId) {
|
|
197
|
+
const _response = await core.fetcher({
|
|
198
|
+
url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, `/api/contracts/v2/${await serializers.contracts.v2.ContractId.jsonOrThrow(contractId)}`),
|
|
199
|
+
method: "DELETE",
|
|
200
|
+
headers: {
|
|
201
|
+
Authorization: await this._getAuthorizationHeader(),
|
|
202
|
+
"X-Fern-Language": "JavaScript",
|
|
203
|
+
"X-Fern-SDK-Name": "candidhealth",
|
|
204
|
+
"X-Fern-SDK-Version": "0.14.0",
|
|
205
|
+
},
|
|
206
|
+
contentType: "application/json",
|
|
207
|
+
timeoutMs: 60000,
|
|
208
|
+
});
|
|
209
|
+
if (_response.ok) {
|
|
210
|
+
return {
|
|
211
|
+
ok: true,
|
|
212
|
+
body: undefined,
|
|
213
|
+
};
|
|
214
|
+
}
|
|
215
|
+
return {
|
|
216
|
+
ok: false,
|
|
217
|
+
error: CandidApi.contracts.v2.delete.Error._unknown(_response.error),
|
|
218
|
+
};
|
|
219
|
+
}
|
|
220
|
+
async update(contractId, request = {}) {
|
|
221
|
+
const _response = await core.fetcher({
|
|
222
|
+
url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, `/api/contracts/v2/${await serializers.contracts.v2.ContractId.jsonOrThrow(contractId)}`),
|
|
223
|
+
method: "PATCH",
|
|
224
|
+
headers: {
|
|
225
|
+
Authorization: await this._getAuthorizationHeader(),
|
|
226
|
+
"X-Fern-Language": "JavaScript",
|
|
227
|
+
"X-Fern-SDK-Name": "candidhealth",
|
|
228
|
+
"X-Fern-SDK-Version": "0.14.0",
|
|
229
|
+
},
|
|
230
|
+
contentType: "application/json",
|
|
231
|
+
body: await serializers.contracts.v2.ContractUpdate.jsonOrThrow(request, {
|
|
232
|
+
unrecognizedObjectKeys: "strip",
|
|
233
|
+
}),
|
|
234
|
+
timeoutMs: 60000,
|
|
235
|
+
});
|
|
236
|
+
if (_response.ok) {
|
|
237
|
+
return {
|
|
238
|
+
ok: true,
|
|
239
|
+
body: await serializers.contracts.v2.ContractWithProviders.parseOrThrow(_response.body, {
|
|
240
|
+
unrecognizedObjectKeys: "passthrough",
|
|
241
|
+
allowUnrecognizedUnionMembers: true,
|
|
242
|
+
allowUnrecognizedEnumValues: true,
|
|
243
|
+
breadcrumbsPrefix: ["response"],
|
|
244
|
+
}),
|
|
245
|
+
};
|
|
246
|
+
}
|
|
247
|
+
if (_response.error.reason === "status-code") {
|
|
248
|
+
switch (_response.error.body?.errorName) {
|
|
249
|
+
case "UnprocessableEntityError":
|
|
250
|
+
return {
|
|
251
|
+
ok: false,
|
|
252
|
+
error: await serializers.contracts.v2.update.Error.parseOrThrow(_response.error.body, {
|
|
253
|
+
unrecognizedObjectKeys: "passthrough",
|
|
254
|
+
allowUnrecognizedUnionMembers: true,
|
|
255
|
+
allowUnrecognizedEnumValues: true,
|
|
256
|
+
breadcrumbsPrefix: ["response"],
|
|
257
|
+
}),
|
|
258
|
+
};
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
return {
|
|
262
|
+
ok: false,
|
|
263
|
+
error: CandidApi.contracts.v2.update.Error._unknown(_response.error),
|
|
264
|
+
};
|
|
265
|
+
}
|
|
266
|
+
async _getAuthorizationHeader() {
|
|
267
|
+
const bearer = await core.Supplier.get(this.options.token);
|
|
268
|
+
if (bearer != null) {
|
|
269
|
+
return `Bearer ${bearer}`;
|
|
270
|
+
}
|
|
271
|
+
return undefined;
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
exports.V2 = V2;
|
|
@@ -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.contracts.v2.create.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.contracts.v2.create.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.contracts.v2.create.Error._Unknown;
|
|
21
|
+
readonly _visit: <_Result>(value: CandidApi.contracts.v2.create.Error, visitor: CandidApi.contracts.v2.create.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.contracts.v2.create.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,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.contracts.v2.delete.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.contracts.v2.delete.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.contracts.v2.delete.Error._Unknown;
|
|
21
|
+
readonly _visit: <_Result>(value: CandidApi.contracts.v2.delete.Error, visitor: CandidApi.contracts.v2.delete.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.contracts.v2.delete.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,28 @@
|
|
|
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.contracts.v2.get.Error.EntityNotFoundError | CandidApi.contracts.v2.get.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface EntityNotFoundError extends _Utils {
|
|
9
|
+
errorName: "EntityNotFoundError";
|
|
10
|
+
content: CandidApi.EntityNotFoundErrorMessage;
|
|
11
|
+
}
|
|
12
|
+
interface _Unknown extends _Utils {
|
|
13
|
+
errorName: void;
|
|
14
|
+
content: core.Fetcher.Error;
|
|
15
|
+
}
|
|
16
|
+
interface _Utils {
|
|
17
|
+
_visit: <_Result>(visitor: CandidApi.contracts.v2.get.Error._Visitor<_Result>) => _Result;
|
|
18
|
+
}
|
|
19
|
+
interface _Visitor<_Result> {
|
|
20
|
+
entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
|
|
21
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
export declare const Error: {
|
|
25
|
+
readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.contracts.v2.get.Error.EntityNotFoundError;
|
|
26
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.contracts.v2.get.Error._Unknown;
|
|
27
|
+
readonly _visit: <_Result>(value: CandidApi.contracts.v2.get.Error, visitor: CandidApi.contracts.v2.get.Error._Visitor<_Result>) => _Result;
|
|
28
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../.."));
|
|
31
|
+
exports.Error = {
|
|
32
|
+
entityNotFoundError: (value) => {
|
|
33
|
+
return {
|
|
34
|
+
content: value,
|
|
35
|
+
errorName: "EntityNotFoundError",
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.contracts.v2.get.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
_unknown: (fetcherError) => {
|
|
42
|
+
return {
|
|
43
|
+
errorName: undefined,
|
|
44
|
+
content: fetcherError,
|
|
45
|
+
_visit: function (visitor) {
|
|
46
|
+
return CandidApi.contracts.v2.get.Error._visit(this, visitor);
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
},
|
|
50
|
+
_visit: (value, visitor) => {
|
|
51
|
+
switch (value.errorName) {
|
|
52
|
+
case "EntityNotFoundError":
|
|
53
|
+
return visitor.entityNotFoundError(value.content);
|
|
54
|
+
default:
|
|
55
|
+
return visitor._other(value);
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
};
|
|
@@ -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.contracts.v2.getMulti.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.contracts.v2.getMulti.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.contracts.v2.getMulti.Error._Unknown;
|
|
21
|
+
readonly _visit: <_Result>(value: CandidApi.contracts.v2.getMulti.Error, visitor: CandidApi.contracts.v2.getMulti.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.contracts.v2.getMulti.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,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.update = exports.delete = exports.create = exports.getMulti = exports.get = void 0;
|
|
30
|
+
__exportStar(require("./requests"), exports);
|
|
31
|
+
exports.get = __importStar(require("./get"));
|
|
32
|
+
exports.getMulti = __importStar(require("./getMulti"));
|
|
33
|
+
exports.create = __importStar(require("./create"));
|
|
34
|
+
exports.delete = __importStar(require("./delete"));
|
|
35
|
+
exports.update = __importStar(require("./update"));
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../..";
|
|
5
|
+
export interface ContractCreate extends CandidApi.contracts.v2.ContractBase {
|
|
6
|
+
/** The UUID of the provider under agreement to the contract */
|
|
7
|
+
contractingProviderId: CandidApi.contracts.v2.ContractingProviderId;
|
|
8
|
+
/**
|
|
9
|
+
* A rendering provider isn't contracted directly with the payer but can render
|
|
10
|
+
* services under the contract held by the contracting provider.
|
|
11
|
+
* Max items is 100.
|
|
12
|
+
*
|
|
13
|
+
*/
|
|
14
|
+
renderingProviderIds: Set<CandidApi.contracts.v2.RenderingProviderid>;
|
|
15
|
+
/** The UUID of the insurance company under agreement to the contract */
|
|
16
|
+
payerUuid: string;
|
|
17
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../..";
|
|
5
|
+
export interface ContractUpdate {
|
|
6
|
+
/**
|
|
7
|
+
* A rendering provider isn't contracted directly with the payer but can render
|
|
8
|
+
* services under the contract held by the contracting provider.
|
|
9
|
+
* Max items is 100.
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
renderingProviderIds?: Set<CandidApi.contracts.v2.RenderingProviderid>;
|
|
13
|
+
/** The starting day upon which the contract is effective */
|
|
14
|
+
effectiveDate?: CandidApi.Date_;
|
|
15
|
+
/** An optional end day upon which the contract expires */
|
|
16
|
+
expirationDate?: CandidApi.contracts.v2.DateUpdate;
|
|
17
|
+
/**
|
|
18
|
+
* If present, the contract's rendering providers will be patched to this exact
|
|
19
|
+
* value, overriding what was set before.
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
regions?: CandidApi.contracts.v2.RegionsUpdate;
|
|
23
|
+
contractStatus?: CandidApi.contracts.v2.ContractStatus;
|
|
24
|
+
authorizedSignatory?: CandidApi.contracts.v2.AuthorizedSignatoryUpdate;
|
|
25
|
+
commercialInsuranceTypes?: CandidApi.contracts.v2.InsuranceTypes;
|
|
26
|
+
medicareInsuranceTypes?: CandidApi.contracts.v2.InsuranceTypes;
|
|
27
|
+
medicaidInsuranceTypes?: CandidApi.contracts.v2.InsuranceTypes;
|
|
28
|
+
}
|