candidhealth 0.7.1 → 0.9.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 +6 -3
- package/Client.js +19 -14
- 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/ClaimSubmissionRecordCreate.d.ts +2 -2
- package/api/resources/commons/types/OrganizationNotAuthorizedErrorMessage.d.ts +6 -0
- package/api/resources/commons/types/ResourcePage.d.ts +7 -0
- package/api/resources/commons/types/index.d.ts +1 -0
- package/api/resources/commons/types/index.js +1 -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 +8 -0
- package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +1 -0
- package/api/resources/encounters/resources/v4/types/EncounterSubmissionOriginType.d.ts +8 -0
- package/api/resources/encounters/resources/v4/types/EncounterSubmissionOriginType.js +10 -0
- package/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/api/resources/encounters/resources/v4/types/index.js +1 -0
- package/api/resources/expectedNetworkStatus/client/Client.d.ts +3 -0
- package/api/resources/expectedNetworkStatus/client/Client.js +5 -0
- package/api/resources/expectedNetworkStatus/resources/index.d.ts +1 -0
- package/api/resources/expectedNetworkStatus/resources/index.js +2 -1
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +33 -0
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +163 -0
- package/api/resources/expectedNetworkStatus/resources/v2/client/computeAllInNetworkProviders.d.ts +34 -0
- package/api/resources/expectedNetworkStatus/resources/v2/client/computeAllInNetworkProviders.js +69 -0
- package/api/resources/expectedNetworkStatus/resources/v2/client/computeForRenderingProvider.d.ts +34 -0
- package/api/resources/expectedNetworkStatus/resources/v2/client/computeForRenderingProvider.js +69 -0
- package/api/resources/expectedNetworkStatus/resources/v2/client/index.d.ts +2 -0
- package/api/resources/expectedNetworkStatus/resources/v2/client/index.js +28 -0
- package/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersRequest.d.ts +31 -0
- package/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersResponse.d.ts +9 -0
- package/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkRenderingProvidersResult.d.ts +16 -0
- package/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusCheckErrorMessage.d.ts +6 -0
- package/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusRequestV2.d.ts +31 -0
- package/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusResponseV2.d.ts +8 -0
- package/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusSubscriberInformation.d.ts +12 -0
- package/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusV2.d.ts +16 -0
- package/api/resources/expectedNetworkStatus/resources/v2/types/InNetworkRenderingProvidersDetail.d.ts +9 -0
- package/api/resources/expectedNetworkStatus/resources/v2/types/InNetworkStatus.d.ts +8 -0
- package/api/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.d.ts +9 -0
- package/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts +10 -0
- package/api/resources/expectedNetworkStatus/resources/v2/types/LineOfBusiness.d.ts +9 -0
- package/api/resources/expectedNetworkStatus/resources/v2/types/LineOfBusiness.js +11 -0
- package/api/resources/expectedNetworkStatus/resources/v2/types/NetworkStatusCheckId.d.ts +8 -0
- package/api/resources/expectedNetworkStatus/resources/v2/types/NetworkStatusCheckId.js +10 -0
- package/api/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.d.ts +9 -0
- package/api/resources/expectedNetworkStatus/resources/v2/types/ServiceType.d.ts +47 -0
- package/api/resources/expectedNetworkStatus/resources/v2/types/ServiceType.js +49 -0
- package/api/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +16 -0
- package/api/resources/expectedNetworkStatus/resources/v2/types/index.js +32 -0
- package/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/api/resources/financials/types/Allocation.d.ts +1 -1
- package/api/resources/financials/types/AllocationCreate.d.ts +1 -1
- package/api/resources/financials/types/{AllocationRecipient.d.ts → AllocationTarget.d.ts} +2 -2
- package/api/resources/financials/types/{AllocationRecipientCreate.d.ts → AllocationTargetCreate.d.ts} +2 -2
- package/api/resources/financials/types/index.d.ts +2 -4
- package/api/resources/financials/types/index.js +2 -4
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/index.d.ts +2 -1
- package/api/resources/index.js +3 -2
- package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/client/Client.d.ts +4 -4
- package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/client/Client.js +3 -3
- package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/client/Client.d.ts +3 -3
- package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/client/Client.js +12 -12
- package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/client/create.d.ts +4 -4
- package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/client/create.js +1 -1
- package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/client/delete.d.ts +4 -4
- package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/client/delete.js +1 -1
- package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/client/get.d.ts +4 -4
- package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/client/get.js +1 -1
- package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ClaimAdjudication.d.ts +2 -2
- package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/types/ClaimAdjudicationCreate.d.ts +2 -2
- package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/types/InsuranceAdjudication.d.ts +2 -2
- package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -1
- package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationId.d.ts +2 -2
- package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudication.d.ts +3 -3
- package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +2 -2
- package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationId.d.ts +2 -2
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +3 -3
- package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +2 -1
- package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +2 -1
- package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/api/resources/organizationServiceFacilities/client/Client.d.ts +18 -0
- package/api/resources/organizationServiceFacilities/client/Client.js +18 -0
- package/api/resources/organizationServiceFacilities/resources/index.d.ts +1 -0
- package/api/resources/organizationServiceFacilities/resources/index.js +27 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.d.ts +22 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +263 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/create.d.ts +28 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/create.js +58 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/delete.d.ts +28 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/delete.js +58 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/get.d.ts +28 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/get.js +58 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/getMulti.d.ts +22 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/getMulti.js +47 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/index.d.ts +6 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/index.js +35 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/requests/GetAllOrganizationServiceFacilitiesRequest.d.ts +18 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/requests/GetAllOrganizationServiceFacilitiesRequest.js +5 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/requests/index.d.ts +1 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/requests/index.js +2 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/update.d.ts +34 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/update.js +69 -0
- package/api/resources/organizationServiceFacilities/resources/v2/index.d.ts +2 -0
- package/api/resources/organizationServiceFacilities/resources/v2/index.js +18 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +50 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.js +5 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +48 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.js +5 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityId.d.ts +12 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityId.js +10 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityPage.d.ts +32 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityPage.js +5 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +48 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.js +5 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityMode.d.ts +18 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityMode.js +10 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityOperationalStatus.d.ts +34 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityOperationalStatus.js +14 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.d.ts +66 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.js +22 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityStatus.d.ts +22 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityStatus.js +11 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.d.ts +502 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.js +131 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/index.d.ts +10 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/index.js +26 -0
- package/api/resources/patientPayments/resources/v4/client/Client.js +3 -3
- package/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.d.ts +2 -2
- package/api/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +1 -0
- package/api/resources/patientRefunds/resources/v1/client/Client.js +3 -3
- package/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts +3 -2
- package/api/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +2 -0
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/writeOffs/resources/v1/client/Client.js +3 -3
- package/api/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +1 -1
- package/api/resources/x12/resources/v1/types/Carc.d.ts +29 -1
- package/api/resources/x12/resources/v1/types/Carc.js +28 -0
- package/dist/Client.d.ts +6 -3
- package/dist/Client.js +19 -14
- 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/ClaimSubmissionRecordCreate.d.ts +2 -2
- package/dist/api/resources/commons/types/OrganizationNotAuthorizedErrorMessage.d.ts +6 -0
- package/dist/api/resources/commons/types/OrganizationNotAuthorizedErrorMessage.js +5 -0
- package/dist/api/resources/commons/types/ResourcePage.d.ts +7 -0
- package/dist/api/resources/commons/types/index.d.ts +1 -0
- package/dist/api/resources/commons/types/index.js +1 -0
- package/dist/api/resources/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 +8 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +1 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterSubmissionOriginType.d.ts +8 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterSubmissionOriginType.js +10 -0
- package/dist/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/dist/api/resources/encounters/resources/v4/types/index.js +1 -0
- package/dist/api/resources/expectedNetworkStatus/client/Client.d.ts +3 -0
- package/dist/api/resources/expectedNetworkStatus/client/Client.js +5 -0
- package/dist/api/resources/expectedNetworkStatus/resources/index.d.ts +1 -0
- package/dist/api/resources/expectedNetworkStatus/resources/index.js +2 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +33 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +163 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/computeAllInNetworkProviders.d.ts +34 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/computeAllInNetworkProviders.js +69 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/computeForRenderingProvider.d.ts +34 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/computeForRenderingProvider.js +69 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/index.d.ts +2 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/index.js +28 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/index.d.ts +2 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/index.js +18 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersRequest.d.ts +31 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersRequest.js +5 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersResponse.d.ts +9 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersResponse.js +5 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkRenderingProvidersResult.d.ts +16 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkRenderingProvidersResult.js +5 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusCheckErrorMessage.d.ts +6 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusCheckErrorMessage.js +5 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusRequestV2.d.ts +31 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusRequestV2.js +5 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusResponseV2.d.ts +8 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusResponseV2.js +5 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusSubscriberInformation.d.ts +12 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusSubscriberInformation.js +5 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusV2.d.ts +16 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusV2.js +5 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InNetworkRenderingProvidersDetail.d.ts +9 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InNetworkRenderingProvidersDetail.js +5 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InNetworkStatus.d.ts +8 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InNetworkStatus.js +5 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.d.ts +9 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.js +5 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts +10 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.js +5 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/LineOfBusiness.d.ts +9 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/LineOfBusiness.js +11 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/NetworkStatusCheckId.d.ts +8 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/NetworkStatusCheckId.js +10 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.d.ts +9 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.js +5 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ServiceType.d.ts +47 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ServiceType.js +49 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +16 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/index.js +32 -0
- package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/dist/api/resources/financials/types/Allocation.d.ts +1 -1
- package/dist/api/resources/financials/types/AllocationCreate.d.ts +1 -1
- package/dist/api/resources/financials/types/{AllocationRecipient.d.ts → AllocationTarget.d.ts} +2 -2
- package/dist/api/resources/financials/types/AllocationTarget.js +5 -0
- package/dist/api/resources/financials/types/{AllocationRecipientCreate.d.ts → AllocationTargetCreate.d.ts} +2 -2
- package/dist/api/resources/financials/types/AllocationTargetCreate.js +5 -0
- package/dist/api/resources/financials/types/index.d.ts +2 -4
- package/dist/api/resources/financials/types/index.js +2 -4
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/index.d.ts +2 -1
- package/dist/api/resources/index.js +3 -2
- package/{api/resources/insuranceAdjudication → dist/api/resources/insuranceAdjudications}/client/Client.d.ts +4 -4
- package/{api/resources/insuranceAdjudication → dist/api/resources/insuranceAdjudications}/client/Client.js +3 -3
- package/dist/api/resources/insuranceAdjudications/client/index.d.ts +1 -0
- package/dist/api/resources/insuranceAdjudications/client/index.js +2 -0
- package/dist/api/resources/insuranceAdjudications/index.d.ts +2 -0
- package/dist/api/resources/insuranceAdjudications/index.js +18 -0
- package/{api/resources/insuranceAdjudication → dist/api/resources/insuranceAdjudications}/resources/v1/client/Client.d.ts +3 -3
- package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/client/Client.js +12 -12
- package/{api/resources/insuranceAdjudication → dist/api/resources/insuranceAdjudications}/resources/v1/client/create.d.ts +4 -4
- package/{api/resources/insuranceAdjudication → dist/api/resources/insuranceAdjudications}/resources/v1/client/create.js +1 -1
- package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/client/delete.d.ts +4 -4
- package/{api/resources/insuranceAdjudication → dist/api/resources/insuranceAdjudications}/resources/v1/client/delete.js +1 -1
- package/{api/resources/insuranceAdjudication → dist/api/resources/insuranceAdjudications}/resources/v1/client/get.d.ts +4 -4
- package/{api/resources/insuranceAdjudication → dist/api/resources/insuranceAdjudications}/resources/v1/client/get.js +1 -1
- package/dist/api/resources/insuranceAdjudications/resources/v1/index.d.ts +2 -0
- package/dist/api/resources/insuranceAdjudications/resources/v1/index.js +18 -0
- package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ClaimAdjudication.d.ts +2 -2
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +5 -0
- package/{api/resources/insuranceAdjudication → dist/api/resources/insuranceAdjudications}/resources/v1/types/ClaimAdjudicationCreate.d.ts +2 -2
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js +5 -0
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjustmentReasonCode.js +5 -0
- package/{api/resources/insuranceAdjudication → dist/api/resources/insuranceAdjudications}/resources/v1/types/InsuranceAdjudication.d.ts +2 -2
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +5 -0
- package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -1
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +5 -0
- package/{api/resources/insuranceAdjudication → dist/api/resources/insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationId.d.ts +2 -2
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/RemittanceAdviceRemarkCode.js +5 -0
- package/{api/resources/insuranceAdjudication → dist/api/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudication.d.ts +3 -3
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.js +5 -0
- package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +2 -2
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.js +5 -0
- package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationId.d.ts +2 -2
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +2 -1
- package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +2 -1
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/dist/api/resources/organizationServiceFacilities/client/Client.d.ts +18 -0
- package/dist/api/resources/organizationServiceFacilities/client/Client.js +18 -0
- package/dist/api/resources/organizationServiceFacilities/client/index.d.ts +1 -0
- package/dist/api/resources/organizationServiceFacilities/client/index.js +2 -0
- package/dist/api/resources/organizationServiceFacilities/index.d.ts +2 -0
- package/dist/api/resources/organizationServiceFacilities/index.js +18 -0
- package/dist/api/resources/organizationServiceFacilities/resources/index.d.ts +1 -0
- package/dist/api/resources/organizationServiceFacilities/resources/index.js +27 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.d.ts +22 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +263 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/create.d.ts +28 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/create.js +58 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/delete.d.ts +28 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/delete.js +58 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/get.d.ts +28 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/get.js +58 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/getMulti.d.ts +22 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/getMulti.js +47 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/index.d.ts +6 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/index.js +35 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/requests/GetAllOrganizationServiceFacilitiesRequest.d.ts +18 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/requests/GetAllOrganizationServiceFacilitiesRequest.js +5 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/requests/index.d.ts +1 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/requests/index.js +2 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/update.d.ts +34 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/update.js +69 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/index.d.ts +2 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/index.js +18 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +50 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.js +5 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +48 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.js +5 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityId.d.ts +12 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityId.js +10 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityPage.d.ts +32 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityPage.js +5 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +48 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.js +5 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityMode.d.ts +18 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityMode.js +10 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityOperationalStatus.d.ts +34 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityOperationalStatus.js +14 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.d.ts +66 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.js +22 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityStatus.d.ts +22 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityStatus.js +11 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.d.ts +502 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.js +131 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/index.d.ts +10 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/index.js +26 -0
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +3 -3
- package/dist/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.d.ts +2 -2
- package/dist/api/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +1 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts +3 -2
- package/dist/api/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +2 -0
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +1 -1
- package/dist/api/resources/x12/resources/v1/types/Carc.d.ts +29 -1
- package/dist/api/resources/x12/resources/v1/types/Carc.js +28 -0
- package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +2 -2
- package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.js +6 -2
- package/dist/serialization/resources/commons/types/OrganizationNotAuthorizedErrorMessage.d.ts +12 -0
- package/dist/serialization/resources/commons/types/OrganizationNotAuthorizedErrorMessage.js +33 -0
- package/dist/serialization/resources/commons/types/index.d.ts +1 -0
- package/dist/serialization/resources/commons/types/index.js +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterSubmissionOriginType.d.ts +10 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterSubmissionOriginType.js +31 -0
- package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/index.js +1 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/index.d.ts +1 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/index.js +2 -1
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/client/computeAllInNetworkProviders.d.ts +18 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/client/computeAllInNetworkProviders.js +51 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/client/computeForRenderingProvider.d.ts +18 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/client/computeForRenderingProvider.js +51 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/client/index.d.ts +2 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/client/index.js +28 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/index.d.ts +2 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/index.js +18 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersRequest.d.ts +18 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersRequest.js +39 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersResponse.d.ts +13 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersResponse.js +34 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkRenderingProvidersResult.d.ts +19 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkRenderingProvidersResult.js +40 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusCheckErrorMessage.d.ts +12 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusCheckErrorMessage.js +33 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusRequestV2.d.ts +18 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusRequestV2.js +39 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusResponseV2.d.ts +13 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusResponseV2.js +34 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusSubscriberInformation.d.ts +14 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusSubscriberInformation.js +35 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusV2.d.ts +19 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusV2.js +40 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InNetworkRenderingProvidersDetail.d.ts +14 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InNetworkRenderingProvidersDetail.js +35 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InNetworkStatus.d.ts +13 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InNetworkStatus.js +34 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.d.ts +14 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.js +37 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts +13 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.js +34 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/LineOfBusiness.d.ts +10 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/LineOfBusiness.js +31 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/NetworkStatusCheckId.d.ts +10 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/NetworkStatusCheckId.js +35 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.d.ts +14 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.js +35 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ServiceType.d.ts +10 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/ServiceType.js +73 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +16 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/index.js +32 -0
- package/dist/serialization/resources/financials/types/Allocation.d.ts +1 -1
- package/dist/serialization/resources/financials/types/Allocation.js +1 -1
- package/dist/serialization/resources/financials/types/AllocationCreate.d.ts +1 -1
- package/dist/serialization/resources/financials/types/AllocationCreate.js +1 -1
- package/{serialization/resources/financials/types/AllocationRecipient.d.ts → dist/serialization/resources/financials/types/AllocationTarget.d.ts} +3 -3
- package/dist/serialization/resources/financials/types/{AllocationRecipient.js → AllocationTarget.js} +2 -2
- package/{serialization/resources/financials/types/AllocationRecipientCreate.d.ts → dist/serialization/resources/financials/types/AllocationTargetCreate.d.ts} +3 -3
- package/dist/serialization/resources/financials/types/{AllocationRecipientCreate.js → AllocationTargetCreate.js} +2 -2
- package/dist/serialization/resources/financials/types/index.d.ts +2 -4
- package/dist/serialization/resources/financials/types/index.js +2 -4
- package/dist/serialization/resources/index.d.ts +2 -1
- package/dist/serialization/resources/index.js +3 -2
- package/{serialization/resources/insuranceAdjudication → dist/serialization/resources/insuranceAdjudications}/resources/v1/types/ClaimAdjudication.d.ts +3 -3
- package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ClaimAdjudication.js +2 -2
- package/{serialization/resources/insuranceAdjudication → dist/serialization/resources/insuranceAdjudications}/resources/v1/types/ClaimAdjudicationCreate.d.ts +3 -3
- package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ClaimAdjudicationCreate.js +2 -2
- package/{serialization/resources/insuranceAdjudication → dist/serialization/resources/insuranceAdjudications}/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +1 -1
- package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/InsuranceAdjudication.d.ts +3 -3
- package/{serialization/resources/insuranceAdjudication → dist/serialization/resources/insuranceAdjudications}/resources/v1/types/InsuranceAdjudication.js +2 -2
- package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationCreate.d.ts +2 -2
- package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationCreate.js +1 -1
- package/{serialization/resources/insuranceAdjudication → dist/serialization/resources/insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationId.d.ts +1 -1
- package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationId.js +1 -1
- package/{serialization/resources/insuranceAdjudication → dist/serialization/resources/insuranceAdjudications}/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +1 -1
- package/{serialization/resources/insuranceAdjudication → dist/serialization/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudication.d.ts +4 -4
- package/{serialization/resources/insuranceAdjudication → dist/serialization/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudication.js +3 -3
- package/{serialization/resources/insuranceAdjudication → dist/serialization/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +3 -3
- package/{serialization/resources/insuranceAdjudication → dist/serialization/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationCreate.js +2 -2
- package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationId.d.ts +1 -1
- package/{serialization/resources/insuranceAdjudication → dist/serialization/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationId.js +1 -1
- package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +2 -1
- package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.js +2 -1
- package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +2 -1
- package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.js +2 -1
- package/dist/serialization/resources/organizationServiceFacilities/resources/index.d.ts +1 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/index.js +27 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/create.d.ts +14 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/create.js +46 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/delete.d.ts +14 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/delete.js +46 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/get.d.ts +14 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/get.js +46 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/index.d.ts +4 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/index.js +30 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/update.d.ts +18 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/update.js +51 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/index.d.ts +2 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/index.js +18 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +22 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.js +53 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +21 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.js +52 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityId.d.ts +10 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityId.js +35 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityPage.d.ts +12 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityPage.js +35 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +21 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.js +54 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityMode.d.ts +10 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityMode.js +31 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityOperationalStatus.d.ts +10 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityOperationalStatus.js +31 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.d.ts +10 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.js +31 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityStatus.d.ts +10 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityStatus.js +31 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.d.ts +10 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.js +155 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/index.d.ts +10 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/index.js +26 -0
- package/dist/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.d.ts +2 -2
- package/dist/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.js +2 -2
- package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +1 -0
- package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPayment.js +1 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts +3 -2
- package/dist/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.js +3 -2
- package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +2 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.js +2 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +1 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.js +1 -1
- package/dist/serialization/resources/x12/resources/v1/types/Carc.d.ts +1 -1
- package/dist/serialization/resources/x12/resources/v1/types/Carc.js +28 -0
- package/package.json +1 -1
- package/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +2 -2
- package/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.js +6 -2
- package/serialization/resources/commons/types/OrganizationNotAuthorizedErrorMessage.d.ts +12 -0
- package/serialization/resources/commons/types/OrganizationNotAuthorizedErrorMessage.js +33 -0
- package/serialization/resources/commons/types/index.d.ts +1 -0
- package/serialization/resources/commons/types/index.js +1 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterSubmissionOriginType.d.ts +10 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterSubmissionOriginType.js +31 -0
- package/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/serialization/resources/encounters/resources/v4/types/index.js +1 -0
- package/serialization/resources/expectedNetworkStatus/resources/index.d.ts +1 -0
- package/serialization/resources/expectedNetworkStatus/resources/index.js +2 -1
- package/serialization/resources/expectedNetworkStatus/resources/v2/client/computeAllInNetworkProviders.d.ts +18 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/client/computeAllInNetworkProviders.js +51 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/client/computeForRenderingProvider.d.ts +18 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/client/computeForRenderingProvider.js +51 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/client/index.d.ts +2 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/client/index.js +28 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/index.d.ts +2 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/index.js +18 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersRequest.d.ts +18 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersRequest.js +39 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersResponse.d.ts +13 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersResponse.js +34 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkRenderingProvidersResult.d.ts +19 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkRenderingProvidersResult.js +40 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusCheckErrorMessage.d.ts +12 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusCheckErrorMessage.js +33 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusRequestV2.d.ts +18 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusRequestV2.js +39 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusResponseV2.d.ts +13 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusResponseV2.js +34 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusSubscriberInformation.d.ts +14 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusSubscriberInformation.js +35 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusV2.d.ts +19 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusV2.js +40 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/InNetworkRenderingProvidersDetail.d.ts +14 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/InNetworkRenderingProvidersDetail.js +35 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/InNetworkStatus.d.ts +13 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/InNetworkStatus.js +34 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.d.ts +14 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.js +37 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts +13 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.js +34 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/LineOfBusiness.d.ts +10 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/LineOfBusiness.js +31 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/NetworkStatusCheckId.d.ts +10 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/NetworkStatusCheckId.js +35 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.d.ts +14 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.js +35 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/ServiceType.d.ts +10 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/ServiceType.js +73 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +16 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/index.js +32 -0
- package/serialization/resources/financials/types/Allocation.d.ts +1 -1
- package/serialization/resources/financials/types/Allocation.js +1 -1
- package/serialization/resources/financials/types/AllocationCreate.d.ts +1 -1
- package/serialization/resources/financials/types/AllocationCreate.js +1 -1
- package/{dist/serialization/resources/financials/types/AllocationRecipient.d.ts → serialization/resources/financials/types/AllocationTarget.d.ts} +3 -3
- package/serialization/resources/financials/types/{AllocationRecipient.js → AllocationTarget.js} +2 -2
- package/{dist/serialization/resources/financials/types/AllocationRecipientCreate.d.ts → serialization/resources/financials/types/AllocationTargetCreate.d.ts} +3 -3
- package/serialization/resources/financials/types/{AllocationRecipientCreate.js → AllocationTargetCreate.js} +2 -2
- package/serialization/resources/financials/types/index.d.ts +2 -4
- package/serialization/resources/financials/types/index.js +2 -4
- package/serialization/resources/index.d.ts +2 -1
- package/serialization/resources/index.js +3 -2
- package/serialization/resources/insuranceAdjudications/index.d.ts +1 -0
- package/serialization/resources/insuranceAdjudications/index.js +17 -0
- package/{dist/serialization/resources/insuranceAdjudication → serialization/resources/insuranceAdjudications}/resources/v1/types/ClaimAdjudication.d.ts +3 -3
- package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ClaimAdjudication.js +2 -2
- package/{dist/serialization/resources/insuranceAdjudication → serialization/resources/insuranceAdjudications}/resources/v1/types/ClaimAdjudicationCreate.d.ts +3 -3
- package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ClaimAdjudicationCreate.js +2 -2
- package/{dist/serialization/resources/insuranceAdjudication → serialization/resources/insuranceAdjudications}/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +1 -1
- package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/InsuranceAdjudication.d.ts +3 -3
- package/{dist/serialization/resources/insuranceAdjudication → serialization/resources/insuranceAdjudications}/resources/v1/types/InsuranceAdjudication.js +2 -2
- package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationCreate.d.ts +2 -2
- package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationCreate.js +1 -1
- package/{dist/serialization/resources/insuranceAdjudication → serialization/resources/insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationId.d.ts +1 -1
- package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationId.js +1 -1
- package/{dist/serialization/resources/insuranceAdjudication → serialization/resources/insuranceAdjudications}/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +1 -1
- package/{dist/serialization/resources/insuranceAdjudication → serialization/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudication.d.ts +4 -4
- package/{dist/serialization/resources/insuranceAdjudication → serialization/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudication.js +3 -3
- package/{dist/serialization/resources/insuranceAdjudication → serialization/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +3 -3
- package/{dist/serialization/resources/insuranceAdjudication → serialization/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationCreate.js +2 -2
- package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationId.d.ts +1 -1
- package/{dist/serialization/resources/insuranceAdjudication → serialization/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationId.js +1 -1
- package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +2 -1
- package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.js +2 -1
- package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +2 -1
- package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.js +2 -1
- package/serialization/resources/organizationServiceFacilities/index.d.ts +1 -0
- package/serialization/resources/organizationServiceFacilities/index.js +17 -0
- package/serialization/resources/organizationServiceFacilities/resources/index.d.ts +1 -0
- package/serialization/resources/organizationServiceFacilities/resources/index.js +27 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/client/create.d.ts +14 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/client/create.js +46 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/client/delete.d.ts +14 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/client/delete.js +46 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/client/get.d.ts +14 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/client/get.js +46 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/client/index.d.ts +4 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/client/index.js +30 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/client/update.d.ts +18 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/client/update.js +51 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/index.d.ts +2 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/index.js +18 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +22 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.js +53 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +21 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.js +52 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityId.d.ts +10 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityId.js +35 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityPage.d.ts +12 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityPage.js +35 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +21 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.js +54 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityMode.d.ts +10 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityMode.js +31 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityOperationalStatus.d.ts +10 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityOperationalStatus.js +31 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.d.ts +10 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.js +31 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityStatus.d.ts +10 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityStatus.js +31 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.d.ts +10 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.js +155 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/index.d.ts +10 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/index.js +26 -0
- package/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.d.ts +2 -2
- package/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.js +2 -2
- package/serialization/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +1 -0
- package/serialization/resources/patientPayments/resources/v4/types/PatientPayment.js +1 -0
- package/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts +3 -2
- package/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.js +3 -2
- package/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +2 -0
- package/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.js +2 -0
- package/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +1 -1
- package/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.js +1 -1
- package/serialization/resources/x12/resources/v1/types/Carc.d.ts +1 -1
- package/serialization/resources/x12/resources/v1/types/Carc.js +28 -0
- package/api/resources/financials/types/RefundAllocation.d.ts +0 -8
- package/api/resources/financials/types/RefundAllocationCreate.d.ts +0 -8
- package/dist/api/resources/financials/types/RefundAllocation.d.ts +0 -8
- package/dist/api/resources/financials/types/RefundAllocationCreate.d.ts +0 -8
- package/dist/serialization/resources/financials/types/RefundAllocation.d.ts +0 -13
- package/dist/serialization/resources/financials/types/RefundAllocation.js +0 -34
- package/dist/serialization/resources/financials/types/RefundAllocationCreate.d.ts +0 -13
- package/dist/serialization/resources/financials/types/RefundAllocationCreate.js +0 -34
- package/serialization/resources/financials/types/RefundAllocation.d.ts +0 -13
- package/serialization/resources/financials/types/RefundAllocation.js +0 -34
- package/serialization/resources/financials/types/RefundAllocationCreate.d.ts +0 -13
- package/serialization/resources/financials/types/RefundAllocationCreate.js +0 -34
- /package/api/resources/{financials/types/AllocationRecipient.js → commons/types/OrganizationNotAuthorizedErrorMessage.js} +0 -0
- /package/api/resources/{insuranceAdjudication/resources/v1 → expectedNetworkStatus/resources/v2}/index.d.ts +0 -0
- /package/api/resources/{insuranceAdjudication/resources/v1 → expectedNetworkStatus/resources/v2}/index.js +0 -0
- /package/api/resources/{financials/types/AllocationRecipientCreate.js → expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersRequest.js} +0 -0
- /package/api/resources/{financials/types/RefundAllocation.js → expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersResponse.js} +0 -0
- /package/api/resources/{financials/types/RefundAllocationCreate.js → expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkRenderingProvidersResult.js} +0 -0
- /package/api/resources/{insuranceAdjudication/resources/v1/types/ClaimAdjudication.js → expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusCheckErrorMessage.js} +0 -0
- /package/api/resources/{insuranceAdjudication/resources/v1/types/ClaimAdjudicationCreate.js → expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusRequestV2.js} +0 -0
- /package/api/resources/{insuranceAdjudication/resources/v1/types/ClaimAdjustmentReasonCode.js → expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusResponseV2.js} +0 -0
- /package/api/resources/{insuranceAdjudication/resources/v1/types/InsuranceAdjudication.js → expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusSubscriberInformation.js} +0 -0
- /package/api/resources/{insuranceAdjudication/resources/v1/types/InsuranceAdjudicationCreate.js → expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusV2.js} +0 -0
- /package/api/resources/{insuranceAdjudication/resources/v1/types/RemittanceAdviceRemarkCode.js → expectedNetworkStatus/resources/v2/types/InNetworkRenderingProvidersDetail.js} +0 -0
- /package/api/resources/{insuranceAdjudication/resources/v1/types/ServiceLineAdjudication.js → expectedNetworkStatus/resources/v2/types/InNetworkStatus.js} +0 -0
- /package/api/resources/{insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationCreate.js → expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.js} +0 -0
- /package/{dist/api/resources/financials/types/AllocationRecipient.js → api/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.js} +0 -0
- /package/{dist/api/resources/financials/types/AllocationRecipientCreate.js → api/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.js} +0 -0
- /package/{dist/api/resources/financials/types/RefundAllocation.js → api/resources/financials/types/AllocationTarget.js} +0 -0
- /package/{dist/api/resources/financials/types/RefundAllocationCreate.js → api/resources/financials/types/AllocationTargetCreate.js} +0 -0
- /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/client/index.d.ts +0 -0
- /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/client/index.js +0 -0
- /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/index.d.ts +0 -0
- /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/index.js +0 -0
- /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/index.d.ts +0 -0
- /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/index.js +0 -0
- /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/client/index.d.ts +0 -0
- /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/client/index.js +0 -0
- /package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/index.d.ts +0 -0
- /package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/index.js +0 -0
- /package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/types/ClaimAdjudication.js +0 -0
- /package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/types/ClaimAdjudicationCreate.js +0 -0
- /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +0 -0
- /package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/types/ClaimAdjustmentReasonCode.js +0 -0
- /package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/types/InsuranceAdjudication.js +0 -0
- /package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationCreate.js +0 -0
- /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationId.js +0 -0
- /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +0 -0
- /package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/types/RemittanceAdviceRemarkCode.js +0 -0
- /package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudication.js +0 -0
- /package/{dist/api/resources/insuranceAdjudication → api/resources/insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationCreate.js +0 -0
- /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationId.js +0 -0
- /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/index.d.ts +0 -0
- /package/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/index.js +0 -0
- /package/{dist/api/resources/insuranceAdjudication → api/resources/organizationServiceFacilities}/client/index.d.ts +0 -0
- /package/{dist/api/resources/insuranceAdjudication → api/resources/organizationServiceFacilities}/client/index.js +0 -0
- /package/{dist/api/resources/insuranceAdjudication → api/resources/organizationServiceFacilities}/index.d.ts +0 -0
- /package/{dist/api/resources/insuranceAdjudication → api/resources/organizationServiceFacilities}/index.js +0 -0
- /package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/index.d.ts +0 -0
- /package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/index.js +0 -0
- /package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/client/index.d.ts +0 -0
- /package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/client/index.js +0 -0
- /package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +0 -0
- /package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/InsuranceAdjudicationId.js +0 -0
- /package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +0 -0
- /package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ServiceLineAdjudicationId.js +0 -0
- /package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/index.d.ts +0 -0
- /package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/index.js +0 -0
- /package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/index.d.ts +0 -0
- /package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/index.js +0 -0
- /package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/index.d.ts +0 -0
- /package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/index.js +0 -0
- /package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/index.d.ts +0 -0
- /package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/index.js +0 -0
- /package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ClaimAdjustmentReasonCode.js +0 -0
- /package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/RemittanceAdviceRemarkCode.js +0 -0
- /package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/index.d.ts +0 -0
- /package/dist/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/index.js +0 -0
- /package/{serialization/resources/insuranceAdjudication → dist/serialization/resources/organizationServiceFacilities}/index.d.ts +0 -0
- /package/{serialization/resources/insuranceAdjudication → dist/serialization/resources/organizationServiceFacilities}/index.js +0 -0
- /package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/index.d.ts +0 -0
- /package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/index.js +0 -0
- /package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/index.d.ts +0 -0
- /package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/index.js +0 -0
- /package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/ClaimAdjustmentReasonCode.js +0 -0
- /package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/RemittanceAdviceRemarkCode.js +0 -0
- /package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/index.d.ts +0 -0
- /package/serialization/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/types/index.js +0 -0
package/Client.d.ts
CHANGED
|
@@ -10,8 +10,9 @@ import { Encounters } from "./api/resources/encounters/client/Client";
|
|
|
10
10
|
import { ExpectedNetworkStatus } from "./api/resources/expectedNetworkStatus/client/Client";
|
|
11
11
|
import { Exports } from "./api/resources/exports/client/Client";
|
|
12
12
|
import { Guarantor } from "./api/resources/guarantor/client/Client";
|
|
13
|
-
import {
|
|
13
|
+
import { InsuranceAdjudications } from "./api/resources/insuranceAdjudications/client/Client";
|
|
14
14
|
import { InsuranceRefunds } from "./api/resources/insuranceRefunds/client/Client";
|
|
15
|
+
import { OrganizationServiceFacilities } from "./api/resources/organizationServiceFacilities/client/Client";
|
|
15
16
|
import { OrganizationProviders } from "./api/resources/organizationProviders/client/Client";
|
|
16
17
|
import { PatientPayments } from "./api/resources/patientPayments/client/Client";
|
|
17
18
|
import { PatientRefunds } from "./api/resources/patientRefunds/client/Client";
|
|
@@ -40,10 +41,12 @@ export declare class CandidApiClient {
|
|
|
40
41
|
get exports(): Exports;
|
|
41
42
|
protected _guarantor: Guarantor | undefined;
|
|
42
43
|
get guarantor(): Guarantor;
|
|
43
|
-
protected
|
|
44
|
-
get
|
|
44
|
+
protected _insuranceAdjudications: InsuranceAdjudications | undefined;
|
|
45
|
+
get insuranceAdjudications(): InsuranceAdjudications;
|
|
45
46
|
protected _insuranceRefunds: InsuranceRefunds | undefined;
|
|
46
47
|
get insuranceRefunds(): InsuranceRefunds;
|
|
48
|
+
protected _organizationServiceFacilities: OrganizationServiceFacilities | undefined;
|
|
49
|
+
get organizationServiceFacilities(): OrganizationServiceFacilities;
|
|
47
50
|
protected _organizationProviders: OrganizationProviders | undefined;
|
|
48
51
|
get organizationProviders(): OrganizationProviders;
|
|
49
52
|
protected _patientPayments: PatientPayments | undefined;
|
package/Client.js
CHANGED
|
@@ -11,13 +11,14 @@ const Client_4 = require("./api/resources/encounters/client/Client");
|
|
|
11
11
|
const Client_5 = require("./api/resources/expectedNetworkStatus/client/Client");
|
|
12
12
|
const Client_6 = require("./api/resources/exports/client/Client");
|
|
13
13
|
const Client_7 = require("./api/resources/guarantor/client/Client");
|
|
14
|
-
const Client_8 = require("./api/resources/
|
|
14
|
+
const Client_8 = require("./api/resources/insuranceAdjudications/client/Client");
|
|
15
15
|
const Client_9 = require("./api/resources/insuranceRefunds/client/Client");
|
|
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/
|
|
16
|
+
const Client_10 = require("./api/resources/organizationServiceFacilities/client/Client");
|
|
17
|
+
const Client_11 = require("./api/resources/organizationProviders/client/Client");
|
|
18
|
+
const Client_12 = require("./api/resources/patientPayments/client/Client");
|
|
19
|
+
const Client_13 = require("./api/resources/patientRefunds/client/Client");
|
|
20
|
+
const Client_14 = require("./api/resources/payers/client/Client");
|
|
21
|
+
const Client_15 = require("./api/resources/writeOffs/client/Client");
|
|
21
22
|
class CandidApiClient {
|
|
22
23
|
options;
|
|
23
24
|
constructor(options) {
|
|
@@ -51,33 +52,37 @@ class CandidApiClient {
|
|
|
51
52
|
get guarantor() {
|
|
52
53
|
return (this._guarantor ??= new Client_7.Guarantor(this.options));
|
|
53
54
|
}
|
|
54
|
-
|
|
55
|
-
get
|
|
56
|
-
return (this.
|
|
55
|
+
_insuranceAdjudications;
|
|
56
|
+
get insuranceAdjudications() {
|
|
57
|
+
return (this._insuranceAdjudications ??= new Client_8.InsuranceAdjudications(this.options));
|
|
57
58
|
}
|
|
58
59
|
_insuranceRefunds;
|
|
59
60
|
get insuranceRefunds() {
|
|
60
61
|
return (this._insuranceRefunds ??= new Client_9.InsuranceRefunds(this.options));
|
|
61
62
|
}
|
|
63
|
+
_organizationServiceFacilities;
|
|
64
|
+
get organizationServiceFacilities() {
|
|
65
|
+
return (this._organizationServiceFacilities ??= new Client_10.OrganizationServiceFacilities(this.options));
|
|
66
|
+
}
|
|
62
67
|
_organizationProviders;
|
|
63
68
|
get organizationProviders() {
|
|
64
|
-
return (this._organizationProviders ??= new
|
|
69
|
+
return (this._organizationProviders ??= new Client_11.OrganizationProviders(this.options));
|
|
65
70
|
}
|
|
66
71
|
_patientPayments;
|
|
67
72
|
get patientPayments() {
|
|
68
|
-
return (this._patientPayments ??= new
|
|
73
|
+
return (this._patientPayments ??= new Client_12.PatientPayments(this.options));
|
|
69
74
|
}
|
|
70
75
|
_patientRefunds;
|
|
71
76
|
get patientRefunds() {
|
|
72
|
-
return (this._patientRefunds ??= new
|
|
77
|
+
return (this._patientRefunds ??= new Client_13.PatientRefunds(this.options));
|
|
73
78
|
}
|
|
74
79
|
_payers;
|
|
75
80
|
get payers() {
|
|
76
|
-
return (this._payers ??= new
|
|
81
|
+
return (this._payers ??= new Client_14.Payers(this.options));
|
|
77
82
|
}
|
|
78
83
|
_writeOffs;
|
|
79
84
|
get writeOffs() {
|
|
80
|
-
return (this._writeOffs ??= new
|
|
85
|
+
return (this._writeOffs ??= new Client_15.WriteOffs(this.options));
|
|
81
86
|
}
|
|
82
87
|
}
|
|
83
88
|
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.9.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.9.0",
|
|
52
52
|
},
|
|
53
53
|
contentType: "application/json",
|
|
54
54
|
body: await serializers.billingNotes.v2.StandaloneBillingNoteCreate.jsonOrThrow(request, {
|
|
@@ -22,6 +22,6 @@ import * as CandidApi from "../../../../..";
|
|
|
22
22
|
export interface ClaimSubmissionRecordCreate {
|
|
23
23
|
/** When the claim was submitted to the payer. */
|
|
24
24
|
submittedAt: Date;
|
|
25
|
-
claimFrequencyCode
|
|
26
|
-
payerResponsibility
|
|
25
|
+
claimFrequencyCode?: CandidApi.claimSubmission.v1.ClaimFrequencyTypeCode;
|
|
26
|
+
payerResponsibility?: CandidApi.ClaimSubmissionPayerResponsibilityType;
|
|
27
27
|
}
|
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../..";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* prevPageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
|
|
9
|
+
* nextPageToken: CandidApi.PageToken("eyAiZm9vIjogImJhciJ9o8dj3FU83fFJe8dalz4A")
|
|
10
|
+
* }
|
|
11
|
+
*/
|
|
5
12
|
export interface ResourcePage {
|
|
6
13
|
prevPageToken?: CandidApi.PageToken;
|
|
7
14
|
nextPageToken?: CandidApi.PageToken;
|
|
@@ -34,6 +34,7 @@ export * from "./UnauthorizedErrorMessage";
|
|
|
34
34
|
export * from "./HttpServiceUnavailableErrorMessage";
|
|
35
35
|
export * from "./RequestValidationError";
|
|
36
36
|
export * from "./UpdatesDisabledDueToExternalSystemIntegrationErrorMessage";
|
|
37
|
+
export * from "./OrganizationNotAuthorizedErrorMessage";
|
|
37
38
|
export * from "./PhoneNumber";
|
|
38
39
|
export * from "./PhoneNumberType";
|
|
39
40
|
export * from "./Email";
|
|
@@ -50,6 +50,7 @@ __exportStar(require("./UnauthorizedErrorMessage"), exports);
|
|
|
50
50
|
__exportStar(require("./HttpServiceUnavailableErrorMessage"), exports);
|
|
51
51
|
__exportStar(require("./RequestValidationError"), exports);
|
|
52
52
|
__exportStar(require("./UpdatesDisabledDueToExternalSystemIntegrationErrorMessage"), exports);
|
|
53
|
+
__exportStar(require("./OrganizationNotAuthorizedErrorMessage"), exports);
|
|
53
54
|
__exportStar(require("./PhoneNumber"), exports);
|
|
54
55
|
__exportStar(require("./PhoneNumberType"), exports);
|
|
55
56
|
__exportStar(require("./Email"), exports);
|
|
@@ -65,7 +65,7 @@ class V2 {
|
|
|
65
65
|
Authorization: await this._getAuthorizationHeader(),
|
|
66
66
|
"X-Fern-Language": "JavaScript",
|
|
67
67
|
"X-Fern-SDK-Name": "candidhealth",
|
|
68
|
-
"X-Fern-SDK-Version": "0.
|
|
68
|
+
"X-Fern-SDK-Version": "0.9.0",
|
|
69
69
|
},
|
|
70
70
|
contentType: "application/json",
|
|
71
71
|
body: request,
|
|
@@ -103,7 +103,7 @@ class V4 {
|
|
|
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.9.0",
|
|
107
107
|
},
|
|
108
108
|
contentType: "application/json",
|
|
109
109
|
queryParameters: _queryParams,
|
|
@@ -133,7 +133,7 @@ class V4 {
|
|
|
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.9.0",
|
|
137
137
|
},
|
|
138
138
|
contentType: "application/json",
|
|
139
139
|
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.9.0",
|
|
166
166
|
},
|
|
167
167
|
contentType: "application/json",
|
|
168
168
|
body: await serializers.encounters.v4.EncounterCreate.jsonOrThrow(request, {
|
|
@@ -212,7 +212,7 @@ class V4 {
|
|
|
212
212
|
Authorization: await this._getAuthorizationHeader(),
|
|
213
213
|
"X-Fern-Language": "JavaScript",
|
|
214
214
|
"X-Fern-SDK-Name": "candidhealth",
|
|
215
|
-
"X-Fern-SDK-Version": "0.
|
|
215
|
+
"X-Fern-SDK-Version": "0.9.0",
|
|
216
216
|
},
|
|
217
217
|
contentType: "application/json",
|
|
218
218
|
body: await serializers.encounters.v4.EncounterUpdate.jsonOrThrow(request, {
|
|
@@ -316,6 +316,7 @@ import * as CandidApi from "../../../../..";
|
|
|
316
316
|
* workQueueId: CandidApi.WorkQueueId("000856FE-1024-418F-BF96-2E7347AB4520"),
|
|
317
317
|
* workQueueMembershipActivatedAt: new Date("2023-01-01T00:00:00.000Z"),
|
|
318
318
|
* ownerOfNextAction: CandidApi.encounters.v4.EncounterOwnerOfNextActionType.Candid,
|
|
319
|
+
* submissionOrigin: CandidApi.encounters.v4.EncounterSubmissionOriginType.Candid,
|
|
319
320
|
* externalId: CandidApi.EncounterExternalId("5C21490F-A9C0-45F4-B5DB-136E3AEC617A"),
|
|
320
321
|
* dateOfService: CandidApi.Date_("2023-01-01"),
|
|
321
322
|
* endDateOfService: CandidApi.Date_("2023-01-05"),
|
|
@@ -441,4 +442,11 @@ export interface Encounter extends CandidApi.encounters.v4.EncounterBase {
|
|
|
441
442
|
workQueueMembershipActivatedAt?: Date;
|
|
442
443
|
/** The party who is responsible for taking the next action on an Encounter, as defined by ownership of open Tasks. */
|
|
443
444
|
ownerOfNextAction: CandidApi.encounters.v4.EncounterOwnerOfNextActionType;
|
|
445
|
+
/**
|
|
446
|
+
* The party who originally submitted the Claim.
|
|
447
|
+
* For Claims originating in Candid, this will be EncounterSubmissionOriginType.CANDID.
|
|
448
|
+
* For Encounters created with an external_claim_submission object, this will be EncounterSubmissionOriginType.EXTERNAL.
|
|
449
|
+
*
|
|
450
|
+
*/
|
|
451
|
+
submissionOrigin: CandidApi.encounters.v4.EncounterSubmissionOriginType;
|
|
444
452
|
}
|
|
@@ -317,6 +317,7 @@ import * as CandidApi from "../../../../..";
|
|
|
317
317
|
* workQueueId: CandidApi.WorkQueueId("000856FE-1024-418F-BF96-2E7347AB4520"),
|
|
318
318
|
* workQueueMembershipActivatedAt: new Date("2023-01-01T00:00:00.000Z"),
|
|
319
319
|
* ownerOfNextAction: CandidApi.encounters.v4.EncounterOwnerOfNextActionType.Candid,
|
|
320
|
+
* submissionOrigin: CandidApi.encounters.v4.EncounterSubmissionOriginType.Candid,
|
|
320
321
|
* externalId: CandidApi.EncounterExternalId("5C21490F-A9C0-45F4-B5DB-136E3AEC617A"),
|
|
321
322
|
* dateOfService: CandidApi.Date_("2023-01-01"),
|
|
322
323
|
* endDateOfService: CandidApi.Date_("2023-01-05"),
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export declare type EncounterSubmissionOriginType = "CANDID" | "EXTERNAL";
|
|
5
|
+
export declare const EncounterSubmissionOriginType: {
|
|
6
|
+
readonly Candid: "CANDID";
|
|
7
|
+
readonly External: "EXTERNAL";
|
|
8
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.EncounterSubmissionOriginType = void 0;
|
|
7
|
+
exports.EncounterSubmissionOriginType = {
|
|
8
|
+
Candid: "CANDID",
|
|
9
|
+
External: "EXTERNAL",
|
|
10
|
+
};
|
|
@@ -19,6 +19,7 @@ export * from "./ClinicalNote";
|
|
|
19
19
|
export * from "./ResponsiblePartyType";
|
|
20
20
|
export * from "./BillableStatusType";
|
|
21
21
|
export * from "./EncounterOwnerOfNextActionType";
|
|
22
|
+
export * from "./EncounterSubmissionOriginType";
|
|
22
23
|
export * from "./SynchronicityType";
|
|
23
24
|
export * from "./CodingAttributionType";
|
|
24
25
|
export * from "./EncounterPage";
|
|
@@ -35,6 +35,7 @@ __exportStar(require("./ClinicalNote"), exports);
|
|
|
35
35
|
__exportStar(require("./ResponsiblePartyType"), exports);
|
|
36
36
|
__exportStar(require("./BillableStatusType"), exports);
|
|
37
37
|
__exportStar(require("./EncounterOwnerOfNextActionType"), exports);
|
|
38
|
+
__exportStar(require("./EncounterSubmissionOriginType"), exports);
|
|
38
39
|
__exportStar(require("./SynchronicityType"), exports);
|
|
39
40
|
__exportStar(require("./CodingAttributionType"), exports);
|
|
40
41
|
__exportStar(require("./EncounterPage"), exports);
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import * as environments from "../../../../environments";
|
|
5
5
|
import * as core from "../../../../core";
|
|
6
6
|
import { V1 } from "../resources/v1/client/Client";
|
|
7
|
+
import { V2 } from "../resources/v2/client/Client";
|
|
7
8
|
export declare namespace ExpectedNetworkStatus {
|
|
8
9
|
interface Options {
|
|
9
10
|
environment?: environments.CandidApiEnvironment | string;
|
|
@@ -15,4 +16,6 @@ export declare class ExpectedNetworkStatus {
|
|
|
15
16
|
constructor(options: ExpectedNetworkStatus.Options);
|
|
16
17
|
protected _v1: V1 | undefined;
|
|
17
18
|
get v1(): V1;
|
|
19
|
+
protected _v2: V2 | undefined;
|
|
20
|
+
get v2(): V2;
|
|
18
21
|
}
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.ExpectedNetworkStatus = void 0;
|
|
7
7
|
const Client_1 = require("../resources/v1/client/Client");
|
|
8
|
+
const Client_2 = require("../resources/v2/client/Client");
|
|
8
9
|
class ExpectedNetworkStatus {
|
|
9
10
|
options;
|
|
10
11
|
constructor(options) {
|
|
@@ -14,5 +15,9 @@ class ExpectedNetworkStatus {
|
|
|
14
15
|
get v1() {
|
|
15
16
|
return (this._v1 ??= new Client_1.V1(this.options));
|
|
16
17
|
}
|
|
18
|
+
_v2;
|
|
19
|
+
get v2() {
|
|
20
|
+
return (this._v2 ??= new Client_2.V2(this.options));
|
|
21
|
+
}
|
|
17
22
|
}
|
|
18
23
|
exports.ExpectedNetworkStatus = ExpectedNetworkStatus;
|
|
@@ -23,5 +23,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.v1 = void 0;
|
|
26
|
+
exports.v2 = exports.v1 = void 0;
|
|
27
27
|
exports.v1 = __importStar(require("./v1"));
|
|
28
|
+
exports.v2 = __importStar(require("./v2"));
|
|
@@ -53,7 +53,7 @@ class V1 {
|
|
|
53
53
|
Authorization: await this._getAuthorizationHeader(),
|
|
54
54
|
"X-Fern-Language": "JavaScript",
|
|
55
55
|
"X-Fern-SDK-Name": "candidhealth",
|
|
56
|
-
"X-Fern-SDK-Version": "0.
|
|
56
|
+
"X-Fern-SDK-Version": "0.9.0",
|
|
57
57
|
},
|
|
58
58
|
contentType: "application/json",
|
|
59
59
|
body: await serializers.expectedNetworkStatus.v1.ExpectedNetworkStatusRequest.jsonOrThrow(request, {
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
/**
|
|
17
|
+
* Computes the expected network status for a given rendering provider.
|
|
18
|
+
* This endpoint is not available to all customers. Reach out to the Candid sales team
|
|
19
|
+
* to discuss enabling this endpoint if it is not available for your organization.
|
|
20
|
+
* **This endpoint is incubating.**
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
computeForRenderingProvider(renderingProviderId: CandidApi.organizationProviders.v2.OrganizationProviderId, request: CandidApi.expectedNetworkStatus.v2.ExpectedNetworkStatusRequestV2): Promise<core.APIResponse<CandidApi.expectedNetworkStatus.v2.ExpectedNetworkStatusResponseV2, CandidApi.expectedNetworkStatus.v2.computeForRenderingProvider.Error>>;
|
|
24
|
+
/**
|
|
25
|
+
* Computes all the in network providers for a given set of inputs.
|
|
26
|
+
* This endpoint is not available to all customers. Reach out to the Candid sales team
|
|
27
|
+
* to discuss enabling this endpoint if it is not available for your organization.
|
|
28
|
+
* **This endpoint is incubating.**
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
computeAllInNetworkProviders(request: CandidApi.expectedNetworkStatus.v2.ComputeAllInNetworkProvidersRequest): Promise<core.APIResponse<CandidApi.expectedNetworkStatus.v2.ComputeAllInNetworkProvidersResponse, CandidApi.expectedNetworkStatus.v2.computeAllInNetworkProviders.Error>>;
|
|
32
|
+
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,163 @@
|
|
|
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
|
+
class V2 {
|
|
39
|
+
options;
|
|
40
|
+
constructor(options) {
|
|
41
|
+
this.options = options;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Computes the expected network status for a given rendering provider.
|
|
45
|
+
* This endpoint is not available to all customers. Reach out to the Candid sales team
|
|
46
|
+
* to discuss enabling this endpoint if it is not available for your organization.
|
|
47
|
+
* **This endpoint is incubating.**
|
|
48
|
+
*
|
|
49
|
+
*/
|
|
50
|
+
async computeForRenderingProvider(renderingProviderId, request) {
|
|
51
|
+
const _response = await core.fetcher({
|
|
52
|
+
url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, `/api/expected-network-status/v2/compute/${await serializers.organizationProviders.v2.OrganizationProviderId.jsonOrThrow(renderingProviderId)}`),
|
|
53
|
+
method: "POST",
|
|
54
|
+
headers: {
|
|
55
|
+
Authorization: await this._getAuthorizationHeader(),
|
|
56
|
+
"X-Fern-Language": "JavaScript",
|
|
57
|
+
"X-Fern-SDK-Name": "candidhealth",
|
|
58
|
+
"X-Fern-SDK-Version": "0.9.0",
|
|
59
|
+
},
|
|
60
|
+
contentType: "application/json",
|
|
61
|
+
body: await serializers.expectedNetworkStatus.v2.ExpectedNetworkStatusRequestV2.jsonOrThrow(request, {
|
|
62
|
+
unrecognizedObjectKeys: "strip",
|
|
63
|
+
}),
|
|
64
|
+
timeoutMs: 60000,
|
|
65
|
+
});
|
|
66
|
+
if (_response.ok) {
|
|
67
|
+
return {
|
|
68
|
+
ok: true,
|
|
69
|
+
body: await serializers.expectedNetworkStatus.v2.ExpectedNetworkStatusResponseV2.parseOrThrow(_response.body, {
|
|
70
|
+
unrecognizedObjectKeys: "passthrough",
|
|
71
|
+
allowUnrecognizedUnionMembers: true,
|
|
72
|
+
allowUnrecognizedEnumValues: true,
|
|
73
|
+
breadcrumbsPrefix: ["response"],
|
|
74
|
+
}),
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
if (_response.error.reason === "status-code") {
|
|
78
|
+
switch (_response.error.body
|
|
79
|
+
?.errorName) {
|
|
80
|
+
case "ExpectedNetworkStatusCheckError":
|
|
81
|
+
case "OrganizationNotAuthorizedError":
|
|
82
|
+
return {
|
|
83
|
+
ok: false,
|
|
84
|
+
error: await serializers.expectedNetworkStatus.v2.computeForRenderingProvider.Error.parseOrThrow(_response.error
|
|
85
|
+
.body, {
|
|
86
|
+
unrecognizedObjectKeys: "passthrough",
|
|
87
|
+
allowUnrecognizedUnionMembers: true,
|
|
88
|
+
allowUnrecognizedEnumValues: true,
|
|
89
|
+
breadcrumbsPrefix: ["response"],
|
|
90
|
+
}),
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
return {
|
|
95
|
+
ok: false,
|
|
96
|
+
error: CandidApi.expectedNetworkStatus.v2.computeForRenderingProvider.Error._unknown(_response.error),
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Computes all the in network providers for a given set of inputs.
|
|
101
|
+
* This endpoint is not available to all customers. Reach out to the Candid sales team
|
|
102
|
+
* to discuss enabling this endpoint if it is not available for your organization.
|
|
103
|
+
* **This endpoint is incubating.**
|
|
104
|
+
*
|
|
105
|
+
*/
|
|
106
|
+
async computeAllInNetworkProviders(request) {
|
|
107
|
+
const _response = await core.fetcher({
|
|
108
|
+
url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, "/api/expected-network-status/v2/compute"),
|
|
109
|
+
method: "POST",
|
|
110
|
+
headers: {
|
|
111
|
+
Authorization: await this._getAuthorizationHeader(),
|
|
112
|
+
"X-Fern-Language": "JavaScript",
|
|
113
|
+
"X-Fern-SDK-Name": "candidhealth",
|
|
114
|
+
"X-Fern-SDK-Version": "0.9.0",
|
|
115
|
+
},
|
|
116
|
+
contentType: "application/json",
|
|
117
|
+
body: await serializers.expectedNetworkStatus.v2.ComputeAllInNetworkProvidersRequest.jsonOrThrow(request, {
|
|
118
|
+
unrecognizedObjectKeys: "strip",
|
|
119
|
+
}),
|
|
120
|
+
timeoutMs: 60000,
|
|
121
|
+
});
|
|
122
|
+
if (_response.ok) {
|
|
123
|
+
return {
|
|
124
|
+
ok: true,
|
|
125
|
+
body: await serializers.expectedNetworkStatus.v2.ComputeAllInNetworkProvidersResponse.parseOrThrow(_response.body, {
|
|
126
|
+
unrecognizedObjectKeys: "passthrough",
|
|
127
|
+
allowUnrecognizedUnionMembers: true,
|
|
128
|
+
allowUnrecognizedEnumValues: true,
|
|
129
|
+
breadcrumbsPrefix: ["response"],
|
|
130
|
+
}),
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
if (_response.error.reason === "status-code") {
|
|
134
|
+
switch (_response.error.body
|
|
135
|
+
?.errorName) {
|
|
136
|
+
case "ExpectedNetworkStatusCheckError":
|
|
137
|
+
case "OrganizationNotAuthorizedError":
|
|
138
|
+
return {
|
|
139
|
+
ok: false,
|
|
140
|
+
error: await serializers.expectedNetworkStatus.v2.computeAllInNetworkProviders.Error.parseOrThrow(_response.error
|
|
141
|
+
.body, {
|
|
142
|
+
unrecognizedObjectKeys: "passthrough",
|
|
143
|
+
allowUnrecognizedUnionMembers: true,
|
|
144
|
+
allowUnrecognizedEnumValues: true,
|
|
145
|
+
breadcrumbsPrefix: ["response"],
|
|
146
|
+
}),
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
return {
|
|
151
|
+
ok: false,
|
|
152
|
+
error: CandidApi.expectedNetworkStatus.v2.computeAllInNetworkProviders.Error._unknown(_response.error),
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
async _getAuthorizationHeader() {
|
|
156
|
+
const bearer = await core.Supplier.get(this.options.token);
|
|
157
|
+
if (bearer != null) {
|
|
158
|
+
return `Bearer ${bearer}`;
|
|
159
|
+
}
|
|
160
|
+
return undefined;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
exports.V2 = V2;
|
package/api/resources/expectedNetworkStatus/resources/v2/client/computeAllInNetworkProviders.d.ts
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../..";
|
|
5
|
+
import * as core from "../../../../../../core";
|
|
6
|
+
export declare type Error = CandidApi.expectedNetworkStatus.v2.computeAllInNetworkProviders.Error.ExpectedNetworkStatusCheckError | CandidApi.expectedNetworkStatus.v2.computeAllInNetworkProviders.Error.OrganizationNotAuthorizedError | CandidApi.expectedNetworkStatus.v2.computeAllInNetworkProviders.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface ExpectedNetworkStatusCheckError extends _Utils {
|
|
9
|
+
errorName: "ExpectedNetworkStatusCheckError";
|
|
10
|
+
content: CandidApi.expectedNetworkStatus.v2.ExpectedNetworkStatusCheckErrorMessage;
|
|
11
|
+
}
|
|
12
|
+
interface OrganizationNotAuthorizedError extends _Utils {
|
|
13
|
+
errorName: "OrganizationNotAuthorizedError";
|
|
14
|
+
content: CandidApi.OrganizationNotAuthorizedErrorMessage;
|
|
15
|
+
}
|
|
16
|
+
interface _Unknown extends _Utils {
|
|
17
|
+
errorName: void;
|
|
18
|
+
content: core.Fetcher.Error;
|
|
19
|
+
}
|
|
20
|
+
interface _Utils {
|
|
21
|
+
_visit: <_Result>(visitor: CandidApi.expectedNetworkStatus.v2.computeAllInNetworkProviders.Error._Visitor<_Result>) => _Result;
|
|
22
|
+
}
|
|
23
|
+
interface _Visitor<_Result> {
|
|
24
|
+
expectedNetworkStatusCheckError: (value: CandidApi.expectedNetworkStatus.v2.ExpectedNetworkStatusCheckErrorMessage) => _Result;
|
|
25
|
+
organizationNotAuthorizedError: (value: CandidApi.OrganizationNotAuthorizedErrorMessage) => _Result;
|
|
26
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
export declare const Error: {
|
|
30
|
+
readonly expectedNetworkStatusCheckError: (value: CandidApi.expectedNetworkStatus.v2.ExpectedNetworkStatusCheckErrorMessage) => CandidApi.expectedNetworkStatus.v2.computeAllInNetworkProviders.Error.ExpectedNetworkStatusCheckError;
|
|
31
|
+
readonly organizationNotAuthorizedError: (value: CandidApi.OrganizationNotAuthorizedErrorMessage) => CandidApi.expectedNetworkStatus.v2.computeAllInNetworkProviders.Error.OrganizationNotAuthorizedError;
|
|
32
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.expectedNetworkStatus.v2.computeAllInNetworkProviders.Error._Unknown;
|
|
33
|
+
readonly _visit: <_Result>(value: CandidApi.expectedNetworkStatus.v2.computeAllInNetworkProviders.Error, visitor: CandidApi.expectedNetworkStatus.v2.computeAllInNetworkProviders.Error._Visitor<_Result>) => _Result;
|
|
34
|
+
};
|
package/api/resources/expectedNetworkStatus/resources/v2/client/computeAllInNetworkProviders.js
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../.."));
|
|
31
|
+
exports.Error = {
|
|
32
|
+
expectedNetworkStatusCheckError: (value) => {
|
|
33
|
+
return {
|
|
34
|
+
content: value,
|
|
35
|
+
errorName: "ExpectedNetworkStatusCheckError",
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.expectedNetworkStatus.v2.computeAllInNetworkProviders.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
organizationNotAuthorizedError: (value) => {
|
|
42
|
+
return {
|
|
43
|
+
content: value,
|
|
44
|
+
errorName: "OrganizationNotAuthorizedError",
|
|
45
|
+
_visit: function (visitor) {
|
|
46
|
+
return CandidApi.expectedNetworkStatus.v2.computeAllInNetworkProviders.Error._visit(this, visitor);
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
},
|
|
50
|
+
_unknown: (fetcherError) => {
|
|
51
|
+
return {
|
|
52
|
+
errorName: undefined,
|
|
53
|
+
content: fetcherError,
|
|
54
|
+
_visit: function (visitor) {
|
|
55
|
+
return CandidApi.expectedNetworkStatus.v2.computeAllInNetworkProviders.Error._visit(this, visitor);
|
|
56
|
+
},
|
|
57
|
+
};
|
|
58
|
+
},
|
|
59
|
+
_visit: (value, visitor) => {
|
|
60
|
+
switch (value.errorName) {
|
|
61
|
+
case "ExpectedNetworkStatusCheckError":
|
|
62
|
+
return visitor.expectedNetworkStatusCheckError(value.content);
|
|
63
|
+
case "OrganizationNotAuthorizedError":
|
|
64
|
+
return visitor.organizationNotAuthorizedError(value.content);
|
|
65
|
+
default:
|
|
66
|
+
return visitor._other(value);
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
};
|