candidhealth 0.12.1 → 0.13.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/RegionNational.js +5 -0
- package/api/resources/commons/types/RegionStates.d.ts +7 -0
- package/api/resources/commons/types/RegionStates.js +5 -0
- package/api/resources/commons/types/Regions.d.ts +13 -0
- package/api/resources/commons/types/Regions.js +5 -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/ContractCreate.js +5 -0
- package/api/resources/contracts/resources/v2/client/requests/ContractUpdate.d.ts +28 -0
- package/api/resources/contracts/resources/v2/client/requests/ContractUpdate.js +5 -0
- package/api/resources/contracts/resources/v2/client/requests/GetMultiContractsRequest.d.ts +22 -0
- package/api/resources/contracts/resources/v2/client/requests/GetMultiContractsRequest.js +5 -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/{dist/api/resources/contracts/types → api/resources/contracts/resources/v2}/index.js +2 -1
- 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/api/resources/contracts/resources/v2/types/index.js +29 -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/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/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/index.d.ts +1 -2
- package/api/resources/index.js +2 -3
- 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/insuranceRefunds/resources/v1/client/Client.js +4 -4
- 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/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.js +4 -4
- package/api/resources/patientRefunds/resources/v1/client/Client.js +4 -4
- 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.js +4 -4
- 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/{serialization/resources/contracts/types → dist/api/resources/contracts/resources/v2}/index.js +2 -1
- 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/dist/api/resources/contracts/resources/v2/types/index.js +29 -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/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/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/index.d.ts +1 -2
- package/dist/api/resources/index.js +2 -3
- 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/insuranceRefunds/resources/v1/client/Client.js +4 -4
- 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/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.js +4 -4
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +4 -4
- 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.js +4 -4
- package/dist/serialization/resources/{contracts/types/ContractId.d.ts → 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/{types → resources/v2}/index.js +2 -1
- 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/serialization/resources/contracts/resources/v2/types/index.js +29 -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/index.d.ts +1 -2
- package/dist/serialization/resources/index.js +2 -3
- 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/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/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/package.json +1 -1
- package/serialization/resources/{contracts/types/ContractId.d.ts → 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/{api/resources/contracts/types → serialization/resources/contracts/resources/v2}/index.js +2 -1
- 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/serialization/resources/contracts/resources/v2/types/index.js +29 -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/index.d.ts +1 -2
- package/serialization/resources/index.js +2 -3
- 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/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/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/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/contracts/{types → resources/v2/types}/ContractId.js +0 -0
- /package/dist/api/resources/contracts/{types → resources/v2/types}/ContractId.js +0 -0
|
@@ -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.13.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.13.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.13.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.13.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.13.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.13.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.13.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.13.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.13.0",
|
|
226
226
|
},
|
|
227
227
|
contentType: "application/json",
|
|
228
228
|
timeoutMs: 60000,
|
|
@@ -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.13.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.13.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.13.0",
|
|
166
166
|
},
|
|
167
167
|
contentType: "application/json",
|
|
168
168
|
body: await serializers.patientPayments.v4.PatientPaymentCreate.jsonOrThrow(request, {
|
|
@@ -198,7 +198,7 @@ class V4 {
|
|
|
198
198
|
Authorization: await this._getAuthorizationHeader(),
|
|
199
199
|
"X-Fern-Language": "JavaScript",
|
|
200
200
|
"X-Fern-SDK-Name": "candidhealth",
|
|
201
|
-
"X-Fern-SDK-Version": "0.
|
|
201
|
+
"X-Fern-SDK-Version": "0.13.0",
|
|
202
202
|
},
|
|
203
203
|
contentType: "application/json",
|
|
204
204
|
timeoutMs: 60000,
|
|
@@ -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.13.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.13.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.13.0",
|
|
166
166
|
},
|
|
167
167
|
contentType: "application/json",
|
|
168
168
|
body: await serializers.patientRefunds.v1.PatientRefundCreate.jsonOrThrow(request, {
|
|
@@ -198,7 +198,7 @@ class V1 {
|
|
|
198
198
|
Authorization: await this._getAuthorizationHeader(),
|
|
199
199
|
"X-Fern-Language": "JavaScript",
|
|
200
200
|
"X-Fern-SDK-Name": "candidhealth",
|
|
201
|
-
"X-Fern-SDK-Version": "0.
|
|
201
|
+
"X-Fern-SDK-Version": "0.13.0",
|
|
202
202
|
},
|
|
203
203
|
contentType: "application/json",
|
|
204
204
|
timeoutMs: 60000,
|
|
@@ -49,7 +49,7 @@ class V3 {
|
|
|
49
49
|
Authorization: await this._getAuthorizationHeader(),
|
|
50
50
|
"X-Fern-Language": "JavaScript",
|
|
51
51
|
"X-Fern-SDK-Name": "candidhealth",
|
|
52
|
-
"X-Fern-SDK-Version": "0.
|
|
52
|
+
"X-Fern-SDK-Version": "0.13.0",
|
|
53
53
|
},
|
|
54
54
|
contentType: "application/json",
|
|
55
55
|
timeoutMs: 60000,
|
|
@@ -89,7 +89,7 @@ class V3 {
|
|
|
89
89
|
Authorization: await this._getAuthorizationHeader(),
|
|
90
90
|
"X-Fern-Language": "JavaScript",
|
|
91
91
|
"X-Fern-SDK-Name": "candidhealth",
|
|
92
|
-
"X-Fern-SDK-Version": "0.
|
|
92
|
+
"X-Fern-SDK-Version": "0.13.0",
|
|
93
93
|
},
|
|
94
94
|
contentType: "application/json",
|
|
95
95
|
queryParameters: _queryParams,
|
|
@@ -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.13.0",
|
|
53
53
|
},
|
|
54
54
|
contentType: "application/json",
|
|
55
55
|
timeoutMs: 60000,
|
|
@@ -119,7 +119,7 @@ class V3 {
|
|
|
119
119
|
Authorization: await this._getAuthorizationHeader(),
|
|
120
120
|
"X-Fern-Language": "JavaScript",
|
|
121
121
|
"X-Fern-SDK-Name": "candidhealth",
|
|
122
|
-
"X-Fern-SDK-Version": "0.
|
|
122
|
+
"X-Fern-SDK-Version": "0.13.0",
|
|
123
123
|
},
|
|
124
124
|
contentType: "application/json",
|
|
125
125
|
queryParameters: _queryParams,
|
|
@@ -163,7 +163,7 @@ class V3 {
|
|
|
163
163
|
Authorization: await this._getAuthorizationHeader(),
|
|
164
164
|
"X-Fern-Language": "JavaScript",
|
|
165
165
|
"X-Fern-SDK-Name": "candidhealth",
|
|
166
|
-
"X-Fern-SDK-Version": "0.
|
|
166
|
+
"X-Fern-SDK-Version": "0.13.0",
|
|
167
167
|
},
|
|
168
168
|
contentType: "application/json",
|
|
169
169
|
timeoutMs: 60000,
|
|
@@ -207,7 +207,7 @@ class V3 {
|
|
|
207
207
|
Authorization: await this._getAuthorizationHeader(),
|
|
208
208
|
"X-Fern-Language": "JavaScript",
|
|
209
209
|
"X-Fern-SDK-Name": "candidhealth",
|
|
210
|
-
"X-Fern-SDK-Version": "0.
|
|
210
|
+
"X-Fern-SDK-Version": "0.13.0",
|
|
211
211
|
},
|
|
212
212
|
contentType: "application/json",
|
|
213
213
|
body: await serializers.tasks.v3.TaskCreateV3.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -237,7 +237,7 @@ class V3 {
|
|
|
237
237
|
Authorization: await this._getAuthorizationHeader(),
|
|
238
238
|
"X-Fern-Language": "JavaScript",
|
|
239
239
|
"X-Fern-SDK-Name": "candidhealth",
|
|
240
|
-
"X-Fern-SDK-Version": "0.
|
|
240
|
+
"X-Fern-SDK-Version": "0.13.0",
|
|
241
241
|
},
|
|
242
242
|
contentType: "application/json",
|
|
243
243
|
body: await serializers.tasks.v3.TaskUpdateV3.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -74,7 +74,7 @@ class V1 {
|
|
|
74
74
|
Authorization: await this._getAuthorizationHeader(),
|
|
75
75
|
"X-Fern-Language": "JavaScript",
|
|
76
76
|
"X-Fern-SDK-Name": "candidhealth",
|
|
77
|
-
"X-Fern-SDK-Version": "0.
|
|
77
|
+
"X-Fern-SDK-Version": "0.13.0",
|
|
78
78
|
},
|
|
79
79
|
contentType: "application/json",
|
|
80
80
|
queryParameters: _queryParams,
|
|
@@ -108,7 +108,7 @@ class V1 {
|
|
|
108
108
|
Authorization: await this._getAuthorizationHeader(),
|
|
109
109
|
"X-Fern-Language": "JavaScript",
|
|
110
110
|
"X-Fern-SDK-Name": "candidhealth",
|
|
111
|
-
"X-Fern-SDK-Version": "0.
|
|
111
|
+
"X-Fern-SDK-Version": "0.13.0",
|
|
112
112
|
},
|
|
113
113
|
contentType: "application/json",
|
|
114
114
|
timeoutMs: 60000,
|
|
@@ -143,7 +143,7 @@ class V1 {
|
|
|
143
143
|
Authorization: await this._getAuthorizationHeader(),
|
|
144
144
|
"X-Fern-Language": "JavaScript",
|
|
145
145
|
"X-Fern-SDK-Name": "candidhealth",
|
|
146
|
-
"X-Fern-SDK-Version": "0.
|
|
146
|
+
"X-Fern-SDK-Version": "0.13.0",
|
|
147
147
|
},
|
|
148
148
|
contentType: "application/json",
|
|
149
149
|
body: await serializers.writeOffs.v1.CreateWriteOffsRequest.jsonOrThrow(request, {
|
|
@@ -179,7 +179,7 @@ class V1 {
|
|
|
179
179
|
Authorization: await this._getAuthorizationHeader(),
|
|
180
180
|
"X-Fern-Language": "JavaScript",
|
|
181
181
|
"X-Fern-SDK-Name": "candidhealth",
|
|
182
|
-
"X-Fern-SDK-Version": "0.
|
|
182
|
+
"X-Fern-SDK-Version": "0.13.0",
|
|
183
183
|
},
|
|
184
184
|
contentType: "application/json",
|
|
185
185
|
timeoutMs: 60000,
|
package/dist/Client.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import * as environments from "./environments";
|
|
|
5
5
|
import * as core from "./core";
|
|
6
6
|
import { Auth } from "./api/resources/auth/client/Client";
|
|
7
7
|
import { BillingNotes } from "./api/resources/billingNotes/client/Client";
|
|
8
|
+
import { Contracts } from "./api/resources/contracts/client/Client";
|
|
8
9
|
import { Eligibility } from "./api/resources/eligibility/client/Client";
|
|
9
10
|
import { Encounters } from "./api/resources/encounters/client/Client";
|
|
10
11
|
import { ExpectedNetworkStatus } from "./api/resources/expectedNetworkStatus/client/Client";
|
|
@@ -32,6 +33,8 @@ export declare class CandidApiClient {
|
|
|
32
33
|
get auth(): Auth;
|
|
33
34
|
protected _billingNotes: BillingNotes | undefined;
|
|
34
35
|
get billingNotes(): BillingNotes;
|
|
36
|
+
protected _contracts: Contracts | undefined;
|
|
37
|
+
get contracts(): Contracts;
|
|
35
38
|
protected _eligibility: Eligibility | undefined;
|
|
36
39
|
get eligibility(): Eligibility;
|
|
37
40
|
protected _encounters: Encounters | undefined;
|
package/dist/Client.js
CHANGED
|
@@ -6,20 +6,21 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.CandidApiClient = void 0;
|
|
7
7
|
const Client_1 = require("./api/resources/auth/client/Client");
|
|
8
8
|
const Client_2 = require("./api/resources/billingNotes/client/Client");
|
|
9
|
-
const Client_3 = require("./api/resources/
|
|
10
|
-
const Client_4 = require("./api/resources/
|
|
11
|
-
const Client_5 = require("./api/resources/
|
|
12
|
-
const Client_6 = require("./api/resources/
|
|
13
|
-
const Client_7 = require("./api/resources/
|
|
14
|
-
const Client_8 = require("./api/resources/
|
|
15
|
-
const Client_9 = require("./api/resources/
|
|
16
|
-
const Client_10 = require("./api/resources/
|
|
17
|
-
const Client_11 = require("./api/resources/
|
|
18
|
-
const Client_12 = require("./api/resources/
|
|
19
|
-
const Client_13 = require("./api/resources/
|
|
20
|
-
const Client_14 = require("./api/resources/
|
|
21
|
-
const Client_15 = require("./api/resources/
|
|
22
|
-
const Client_16 = require("./api/resources/
|
|
9
|
+
const Client_3 = require("./api/resources/contracts/client/Client");
|
|
10
|
+
const Client_4 = require("./api/resources/eligibility/client/Client");
|
|
11
|
+
const Client_5 = require("./api/resources/encounters/client/Client");
|
|
12
|
+
const Client_6 = require("./api/resources/expectedNetworkStatus/client/Client");
|
|
13
|
+
const Client_7 = require("./api/resources/exports/client/Client");
|
|
14
|
+
const Client_8 = require("./api/resources/guarantor/client/Client");
|
|
15
|
+
const Client_9 = require("./api/resources/insuranceAdjudications/client/Client");
|
|
16
|
+
const Client_10 = require("./api/resources/insuranceRefunds/client/Client");
|
|
17
|
+
const Client_11 = require("./api/resources/organizationServiceFacilities/client/Client");
|
|
18
|
+
const Client_12 = require("./api/resources/organizationProviders/client/Client");
|
|
19
|
+
const Client_13 = require("./api/resources/patientPayments/client/Client");
|
|
20
|
+
const Client_14 = require("./api/resources/patientRefunds/client/Client");
|
|
21
|
+
const Client_15 = require("./api/resources/payers/client/Client");
|
|
22
|
+
const Client_16 = require("./api/resources/tasks/client/Client");
|
|
23
|
+
const Client_17 = require("./api/resources/writeOffs/client/Client");
|
|
23
24
|
class CandidApiClient {
|
|
24
25
|
options;
|
|
25
26
|
constructor(options) {
|
|
@@ -33,61 +34,65 @@ class CandidApiClient {
|
|
|
33
34
|
get billingNotes() {
|
|
34
35
|
return (this._billingNotes ??= new Client_2.BillingNotes(this.options));
|
|
35
36
|
}
|
|
37
|
+
_contracts;
|
|
38
|
+
get contracts() {
|
|
39
|
+
return (this._contracts ??= new Client_3.Contracts(this.options));
|
|
40
|
+
}
|
|
36
41
|
_eligibility;
|
|
37
42
|
get eligibility() {
|
|
38
|
-
return (this._eligibility ??= new
|
|
43
|
+
return (this._eligibility ??= new Client_4.Eligibility(this.options));
|
|
39
44
|
}
|
|
40
45
|
_encounters;
|
|
41
46
|
get encounters() {
|
|
42
|
-
return (this._encounters ??= new
|
|
47
|
+
return (this._encounters ??= new Client_5.Encounters(this.options));
|
|
43
48
|
}
|
|
44
49
|
_expectedNetworkStatus;
|
|
45
50
|
get expectedNetworkStatus() {
|
|
46
|
-
return (this._expectedNetworkStatus ??= new
|
|
51
|
+
return (this._expectedNetworkStatus ??= new Client_6.ExpectedNetworkStatus(this.options));
|
|
47
52
|
}
|
|
48
53
|
_exports;
|
|
49
54
|
get exports() {
|
|
50
|
-
return (this._exports ??= new
|
|
55
|
+
return (this._exports ??= new Client_7.Exports(this.options));
|
|
51
56
|
}
|
|
52
57
|
_guarantor;
|
|
53
58
|
get guarantor() {
|
|
54
|
-
return (this._guarantor ??= new
|
|
59
|
+
return (this._guarantor ??= new Client_8.Guarantor(this.options));
|
|
55
60
|
}
|
|
56
61
|
_insuranceAdjudications;
|
|
57
62
|
get insuranceAdjudications() {
|
|
58
|
-
return (this._insuranceAdjudications ??= new
|
|
63
|
+
return (this._insuranceAdjudications ??= new Client_9.InsuranceAdjudications(this.options));
|
|
59
64
|
}
|
|
60
65
|
_insuranceRefunds;
|
|
61
66
|
get insuranceRefunds() {
|
|
62
|
-
return (this._insuranceRefunds ??= new
|
|
67
|
+
return (this._insuranceRefunds ??= new Client_10.InsuranceRefunds(this.options));
|
|
63
68
|
}
|
|
64
69
|
_organizationServiceFacilities;
|
|
65
70
|
get organizationServiceFacilities() {
|
|
66
|
-
return (this._organizationServiceFacilities ??= new
|
|
71
|
+
return (this._organizationServiceFacilities ??= new Client_11.OrganizationServiceFacilities(this.options));
|
|
67
72
|
}
|
|
68
73
|
_organizationProviders;
|
|
69
74
|
get organizationProviders() {
|
|
70
|
-
return (this._organizationProviders ??= new
|
|
75
|
+
return (this._organizationProviders ??= new Client_12.OrganizationProviders(this.options));
|
|
71
76
|
}
|
|
72
77
|
_patientPayments;
|
|
73
78
|
get patientPayments() {
|
|
74
|
-
return (this._patientPayments ??= new
|
|
79
|
+
return (this._patientPayments ??= new Client_13.PatientPayments(this.options));
|
|
75
80
|
}
|
|
76
81
|
_patientRefunds;
|
|
77
82
|
get patientRefunds() {
|
|
78
|
-
return (this._patientRefunds ??= new
|
|
83
|
+
return (this._patientRefunds ??= new Client_14.PatientRefunds(this.options));
|
|
79
84
|
}
|
|
80
85
|
_payers;
|
|
81
86
|
get payers() {
|
|
82
|
-
return (this._payers ??= new
|
|
87
|
+
return (this._payers ??= new Client_15.Payers(this.options));
|
|
83
88
|
}
|
|
84
89
|
_tasks;
|
|
85
90
|
get tasks() {
|
|
86
|
-
return (this._tasks ??= new
|
|
91
|
+
return (this._tasks ??= new Client_16.Tasks(this.options));
|
|
87
92
|
}
|
|
88
93
|
_writeOffs;
|
|
89
94
|
get writeOffs() {
|
|
90
|
-
return (this._writeOffs ??= new
|
|
95
|
+
return (this._writeOffs ??= new Client_17.WriteOffs(this.options));
|
|
91
96
|
}
|
|
92
97
|
}
|
|
93
98
|
exports.CandidApiClient = CandidApiClient;
|
|
@@ -62,7 +62,7 @@ class V2 {
|
|
|
62
62
|
Authorization: await this._getAuthorizationHeader(),
|
|
63
63
|
"X-Fern-Language": "JavaScript",
|
|
64
64
|
"X-Fern-SDK-Name": "candidhealth",
|
|
65
|
-
"X-Fern-SDK-Version": "0.
|
|
65
|
+
"X-Fern-SDK-Version": "0.13.0",
|
|
66
66
|
},
|
|
67
67
|
contentType: "application/json",
|
|
68
68
|
body: await serializers.auth.v2.AuthGetTokenRequest.jsonOrThrow(request, {
|
|
@@ -48,7 +48,7 @@ class V2 {
|
|
|
48
48
|
Authorization: await this._getAuthorizationHeader(),
|
|
49
49
|
"X-Fern-Language": "JavaScript",
|
|
50
50
|
"X-Fern-SDK-Name": "candidhealth",
|
|
51
|
-
"X-Fern-SDK-Version": "0.
|
|
51
|
+
"X-Fern-SDK-Version": "0.13.0",
|
|
52
52
|
},
|
|
53
53
|
contentType: "application/json",
|
|
54
54
|
body: await serializers.billingNotes.v2.StandaloneBillingNoteCreate.jsonOrThrow(request, {
|
package/dist/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts
CHANGED
|
@@ -21,14 +21,18 @@ import * as CandidApi from "../../../../..";
|
|
|
21
21
|
* @example
|
|
22
22
|
* {
|
|
23
23
|
* claimCreatedAt: new Date("2023-01-01T12:00:00.000Z"),
|
|
24
|
-
* patientControlNumber: "
|
|
24
|
+
* patientControlNumber: "123XYZABC",
|
|
25
25
|
* submissionRecords: []
|
|
26
26
|
* }
|
|
27
27
|
*/
|
|
28
28
|
export interface ExternalClaimSubmissionCreate {
|
|
29
29
|
/** When the claim was created in the external system. */
|
|
30
30
|
claimCreatedAt: Date;
|
|
31
|
-
/**
|
|
31
|
+
/**
|
|
32
|
+
* The Patient Control Number sent on the claim to the payer. To guarantee compatibility with all payers, this field must consist
|
|
33
|
+
* only of uppercase letters and numbers and be no more than 14 characters long.
|
|
34
|
+
*
|
|
35
|
+
*/
|
|
32
36
|
patientControlNumber: string;
|
|
33
37
|
/**
|
|
34
38
|
* A successful claim submission record will be created for each value provided.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../..";
|
|
5
|
+
export declare type Regions = CandidApi.Regions.States | CandidApi.Regions.National;
|
|
6
|
+
export declare namespace Regions {
|
|
7
|
+
interface States extends CandidApi.RegionStates {
|
|
8
|
+
type: "states";
|
|
9
|
+
}
|
|
10
|
+
interface National extends CandidApi.RegionNational {
|
|
11
|
+
type: "national";
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -24,6 +24,9 @@ export * from "./ResourcePage";
|
|
|
24
24
|
export * from "./StreetAddressBase";
|
|
25
25
|
export * from "./StreetAddressShortZip";
|
|
26
26
|
export * from "./StreetAddressLongZip";
|
|
27
|
+
export * from "./Regions";
|
|
28
|
+
export * from "./RegionStates";
|
|
29
|
+
export * from "./RegionNational";
|
|
27
30
|
export * from "./State";
|
|
28
31
|
export * from "./SourceOfPaymentCode";
|
|
29
32
|
export * from "./FacilityTypeCode";
|
|
@@ -40,6 +40,9 @@ __exportStar(require("./ResourcePage"), exports);
|
|
|
40
40
|
__exportStar(require("./StreetAddressBase"), exports);
|
|
41
41
|
__exportStar(require("./StreetAddressShortZip"), exports);
|
|
42
42
|
__exportStar(require("./StreetAddressLongZip"), exports);
|
|
43
|
+
__exportStar(require("./Regions"), exports);
|
|
44
|
+
__exportStar(require("./RegionStates"), exports);
|
|
45
|
+
__exportStar(require("./RegionNational"), exports);
|
|
43
46
|
__exportStar(require("./State"), exports);
|
|
44
47
|
__exportStar(require("./SourceOfPaymentCode"), exports);
|
|
45
48
|
__exportStar(require("./FacilityTypeCode"), exports);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as environments from "../../../../environments";
|
|
5
|
+
import * as core from "../../../../core";
|
|
6
|
+
import { V2 } from "../resources/v2/client/Client";
|
|
7
|
+
export declare namespace Contracts {
|
|
8
|
+
interface Options {
|
|
9
|
+
environment?: environments.CandidApiEnvironment | string;
|
|
10
|
+
token?: core.Supplier<core.BearerToken | undefined>;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
export declare class Contracts {
|
|
14
|
+
protected readonly options: Contracts.Options;
|
|
15
|
+
constructor(options: Contracts.Options);
|
|
16
|
+
protected _v2: V2 | undefined;
|
|
17
|
+
get v2(): V2;
|
|
18
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
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.Contracts = void 0;
|
|
7
|
+
const Client_1 = require("../resources/v2/client/Client");
|
|
8
|
+
class Contracts {
|
|
9
|
+
options;
|
|
10
|
+
constructor(options) {
|
|
11
|
+
this.options = options;
|
|
12
|
+
}
|
|
13
|
+
_v2;
|
|
14
|
+
get v2() {
|
|
15
|
+
return (this._v2 ??= new Client_1.V2(this.options));
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
exports.Contracts = Contracts;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export * from "./
|
|
1
|
+
export * from "./resources";
|
|
2
|
+
export * from "./client";
|
|
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./
|
|
17
|
+
__exportStar(require("./resources"), exports);
|
|
18
|
+
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as v2 from "./v2";
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.v2 = void 0;
|
|
27
|
+
exports.v2 = __importStar(require("./v2"));
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as environments from "../../../../../../environments";
|
|
5
|
+
import * as core from "../../../../../../core";
|
|
6
|
+
import * as CandidApi from "../../../../..";
|
|
7
|
+
export declare namespace V2 {
|
|
8
|
+
interface Options {
|
|
9
|
+
environment?: environments.CandidApiEnvironment | string;
|
|
10
|
+
token?: core.Supplier<core.BearerToken | undefined>;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
export declare class V2 {
|
|
14
|
+
protected readonly options: V2.Options;
|
|
15
|
+
constructor(options: V2.Options);
|
|
16
|
+
get(contractId: CandidApi.contracts.v2.ContractId): Promise<core.APIResponse<CandidApi.contracts.v2.ContractWithProviders, CandidApi.contracts.v2.get.Error>>;
|
|
17
|
+
getMulti(request?: CandidApi.contracts.v2.GetMultiContractsRequest): Promise<core.APIResponse<CandidApi.contracts.v2.ContractsPage, CandidApi.contracts.v2.getMulti.Error>>;
|
|
18
|
+
/**
|
|
19
|
+
* Creates a new contract within the user's current organization
|
|
20
|
+
*/
|
|
21
|
+
create(request: CandidApi.contracts.v2.ContractCreate): Promise<core.APIResponse<CandidApi.contracts.v2.ContractWithProviders, CandidApi.contracts.v2.create.Error>>;
|
|
22
|
+
delete(contractId: CandidApi.contracts.v2.ContractId): Promise<core.APIResponse<void, CandidApi.contracts.v2.delete.Error>>;
|
|
23
|
+
update(contractId: CandidApi.contracts.v2.ContractId, request?: CandidApi.contracts.v2.ContractUpdate): Promise<core.APIResponse<CandidApi.contracts.v2.ContractWithProviders, CandidApi.contracts.v2.update.Error>>;
|
|
24
|
+
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
25
|
+
}
|