candidhealth 0.8.0 → 0.10.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 +11 -6
- 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/TaskAssignmentId.d.ts +8 -0
- package/api/resources/commons/types/TaskAssignmentId.js +10 -0
- package/api/resources/commons/types/TaskId.d.ts +8 -0
- package/api/resources/commons/types/TaskId.js +10 -0
- package/api/resources/commons/types/TaskNoteId.d.ts +8 -0
- package/api/resources/commons/types/TaskNoteId.js +10 -0
- package/api/resources/commons/types/UnprocessableEntityErrorMessage.d.ts +6 -0
- package/api/resources/commons/types/UserId.d.ts +8 -0
- package/api/resources/commons/types/UserId.js +10 -0
- package/api/resources/commons/types/index.d.ts +6 -0
- package/api/resources/commons/types/index.js +6 -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/api/resources/insuranceAdjudications/resources/v1/client/create.js +47 -0
- 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/api/resources/{insuranceAdjudication/resources/v1/client/delete.js → 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/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.js +5 -0
- 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 +3 -1
- package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +3 -1
- package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/api/resources/patientPayments/resources/v4/client/Client.js +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/payers/resources/v3/types/PayerId.d.ts +8 -0
- package/api/resources/payers/resources/v3/types/PayerId.js +10 -0
- package/api/resources/payers/resources/v3/types/index.d.ts +1 -0
- package/api/resources/payers/resources/v3/types/index.js +1 -0
- package/api/resources/tasks/client/Client.d.ts +18 -0
- package/api/resources/tasks/client/Client.js +18 -0
- package/api/resources/tasks/resources/commons/types/TaskCategory.d.ts +45 -0
- package/api/resources/tasks/resources/commons/types/TaskCategory.js +47 -0
- package/api/resources/tasks/resources/commons/types/TaskStatus.d.ts +13 -0
- package/api/resources/tasks/resources/commons/types/TaskStatus.js +15 -0
- package/api/resources/tasks/resources/commons/types/TaskType.d.ts +18 -0
- package/api/resources/tasks/resources/commons/types/TaskType.js +20 -0
- package/api/resources/tasks/resources/commons/types/index.d.ts +3 -0
- package/api/resources/tasks/resources/commons/types/index.js +19 -0
- package/api/resources/tasks/resources/index.d.ts +3 -0
- package/api/resources/tasks/resources/index.js +32 -0
- package/api/resources/tasks/resources/v3/client/Client.d.ts +42 -0
- package/api/resources/tasks/resources/v3/client/Client.js +306 -0
- package/api/resources/tasks/resources/v3/client/create.d.ts +22 -0
- package/{dist/api/resources/insuranceAdjudication/resources/v1/client/get.js → api/resources/tasks/resources/v3/client/create.js} +1 -1
- package/api/resources/tasks/resources/v3/client/get.d.ts +34 -0
- package/api/resources/tasks/resources/v3/client/get.js +69 -0
- package/api/resources/tasks/resources/v3/client/getActions.d.ts +22 -0
- package/api/resources/{insuranceAdjudication/resources/v1/client/get.js → tasks/resources/v3/client/getActions.js} +1 -1
- package/api/resources/tasks/resources/v3/client/getMulti.d.ts +31 -0
- package/api/resources/tasks/resources/v3/client/getMulti.js +58 -0
- package/api/resources/tasks/resources/v3/client/index.d.ts +6 -0
- package/api/resources/tasks/resources/v3/client/index.js +35 -0
- package/api/resources/tasks/resources/v3/client/requests/GetAllTasksRequest.d.ts +49 -0
- package/api/resources/tasks/resources/v3/client/requests/GetAllTasksRequest.js +5 -0
- package/api/resources/tasks/resources/v3/client/requests/index.d.ts +1 -0
- package/api/resources/tasks/resources/v3/client/requests/index.js +2 -0
- package/api/resources/tasks/resources/v3/client/update.d.ts +40 -0
- package/api/resources/tasks/resources/v3/client/update.js +80 -0
- package/api/resources/tasks/resources/v3/index.d.ts +2 -0
- package/api/resources/tasks/resources/v3/index.js +18 -0
- package/api/resources/tasks/resources/v3/types/Task.d.ts +26 -0
- package/api/resources/tasks/resources/v3/types/Task.js +5 -0
- package/api/resources/tasks/resources/v3/types/TaskAction.d.ts +8 -0
- package/api/resources/tasks/resources/v3/types/TaskAction.js +5 -0
- package/api/resources/tasks/resources/v3/types/TaskActionExecutionMethod.d.ts +10 -0
- package/api/resources/tasks/resources/v3/types/TaskActionExecutionMethod.js +5 -0
- package/api/resources/tasks/resources/v3/types/TaskActions.d.ts +7 -0
- package/api/resources/tasks/resources/v3/types/TaskActions.js +5 -0
- package/api/resources/tasks/resources/v3/types/TaskAssignment.d.ts +8 -0
- package/api/resources/tasks/resources/v3/types/TaskAssignment.js +5 -0
- package/api/resources/tasks/resources/v3/types/TaskCreateV3.d.ts +13 -0
- package/api/resources/tasks/resources/v3/types/TaskCreateV3.js +5 -0
- package/api/resources/tasks/resources/v3/types/TaskNote.d.ts +11 -0
- package/api/resources/tasks/resources/v3/types/TaskNote.js +5 -0
- package/api/resources/tasks/resources/v3/types/TaskPage.d.ts +7 -0
- package/api/resources/tasks/resources/v3/types/TaskPage.js +5 -0
- package/api/resources/tasks/resources/v3/types/TaskSortOptions.d.ts +28 -0
- package/api/resources/tasks/resources/v3/types/TaskSortOptions.js +30 -0
- package/api/resources/tasks/resources/v3/types/TaskUpdateV3.d.ts +9 -0
- package/api/resources/tasks/resources/v3/types/TaskUpdateV3.js +5 -0
- package/api/resources/tasks/resources/v3/types/TaskUpdatedToDeprecatedStatusErrorType.d.ts +7 -0
- package/api/resources/tasks/resources/v3/types/TaskUpdatedToDeprecatedStatusErrorType.js +5 -0
- package/api/resources/tasks/resources/v3/types/index.d.ts +11 -0
- package/api/resources/tasks/resources/v3/types/index.js +27 -0
- 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 +11 -6
- 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/TaskAssignmentId.d.ts +8 -0
- package/dist/api/resources/commons/types/TaskAssignmentId.js +10 -0
- package/dist/api/resources/commons/types/TaskId.d.ts +8 -0
- package/dist/api/resources/commons/types/TaskId.js +10 -0
- package/dist/api/resources/commons/types/TaskNoteId.d.ts +8 -0
- package/dist/api/resources/commons/types/TaskNoteId.js +10 -0
- package/dist/api/resources/commons/types/UnprocessableEntityErrorMessage.d.ts +6 -0
- package/dist/api/resources/commons/types/UnprocessableEntityErrorMessage.js +5 -0
- package/dist/api/resources/commons/types/UserId.d.ts +8 -0
- package/dist/api/resources/commons/types/UserId.js +10 -0
- package/dist/api/resources/commons/types/index.d.ts +6 -0
- package/dist/api/resources/commons/types/index.js +6 -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/dist/api/resources/insuranceAdjudications/resources/v1/client/create.js +47 -0
- package/dist/api/resources/{insuranceAdjudication → insuranceAdjudications}/resources/v1/client/delete.d.ts +4 -4
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/delete.js +47 -0
- package/{api/resources/insuranceAdjudication → dist/api/resources/insuranceAdjudications}/resources/v1/client/get.d.ts +4 -4
- package/{api/resources/insuranceAdjudication/resources/v1/client/create.js → 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 +3 -1
- package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +3 -1
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +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/payers/resources/v3/types/PayerId.d.ts +8 -0
- package/dist/api/resources/payers/resources/v3/types/PayerId.js +10 -0
- package/dist/api/resources/payers/resources/v3/types/index.d.ts +1 -0
- package/dist/api/resources/payers/resources/v3/types/index.js +1 -0
- package/dist/api/resources/tasks/client/Client.d.ts +18 -0
- package/dist/api/resources/tasks/client/Client.js +18 -0
- package/dist/api/resources/tasks/client/index.d.ts +1 -0
- package/dist/api/resources/tasks/client/index.js +2 -0
- package/dist/api/resources/tasks/index.d.ts +2 -0
- package/dist/api/resources/tasks/index.js +18 -0
- package/dist/api/resources/tasks/resources/commons/types/TaskCategory.d.ts +45 -0
- package/dist/api/resources/tasks/resources/commons/types/TaskCategory.js +47 -0
- package/dist/api/resources/tasks/resources/commons/types/TaskStatus.d.ts +13 -0
- package/dist/api/resources/tasks/resources/commons/types/TaskStatus.js +15 -0
- package/dist/api/resources/tasks/resources/commons/types/TaskType.d.ts +18 -0
- package/dist/api/resources/tasks/resources/commons/types/TaskType.js +20 -0
- package/dist/api/resources/tasks/resources/commons/types/index.d.ts +3 -0
- package/dist/api/resources/tasks/resources/commons/types/index.js +19 -0
- package/dist/api/resources/tasks/resources/index.d.ts +3 -0
- package/dist/api/resources/tasks/resources/index.js +32 -0
- package/dist/api/resources/tasks/resources/v3/client/Client.d.ts +42 -0
- package/dist/api/resources/tasks/resources/v3/client/Client.js +306 -0
- package/dist/api/resources/tasks/resources/v3/client/create.d.ts +22 -0
- package/dist/api/resources/{insuranceAdjudication/resources/v1 → tasks/resources/v3}/client/create.js +1 -1
- package/dist/api/resources/tasks/resources/v3/client/get.d.ts +34 -0
- package/dist/api/resources/tasks/resources/v3/client/get.js +69 -0
- package/dist/api/resources/tasks/resources/v3/client/getActions.d.ts +22 -0
- package/dist/api/resources/tasks/resources/v3/client/getActions.js +47 -0
- package/dist/api/resources/tasks/resources/v3/client/getMulti.d.ts +31 -0
- package/dist/api/resources/tasks/resources/v3/client/getMulti.js +58 -0
- package/dist/api/resources/tasks/resources/v3/client/index.d.ts +6 -0
- package/dist/api/resources/tasks/resources/v3/client/index.js +35 -0
- package/dist/api/resources/tasks/resources/v3/client/requests/GetAllTasksRequest.d.ts +49 -0
- package/dist/api/resources/tasks/resources/v3/client/requests/GetAllTasksRequest.js +5 -0
- package/dist/api/resources/tasks/resources/v3/client/requests/index.d.ts +1 -0
- package/dist/api/resources/tasks/resources/v3/client/requests/index.js +2 -0
- package/dist/api/resources/tasks/resources/v3/client/update.d.ts +40 -0
- package/dist/api/resources/tasks/resources/v3/client/update.js +80 -0
- package/dist/api/resources/tasks/resources/v3/index.d.ts +2 -0
- package/dist/api/resources/tasks/resources/v3/index.js +18 -0
- package/dist/api/resources/tasks/resources/v3/types/Task.d.ts +26 -0
- package/dist/api/resources/tasks/resources/v3/types/Task.js +5 -0
- package/dist/api/resources/tasks/resources/v3/types/TaskAction.d.ts +8 -0
- package/dist/api/resources/tasks/resources/v3/types/TaskAction.js +5 -0
- package/dist/api/resources/tasks/resources/v3/types/TaskActionExecutionMethod.d.ts +10 -0
- package/dist/api/resources/tasks/resources/v3/types/TaskActionExecutionMethod.js +5 -0
- package/dist/api/resources/tasks/resources/v3/types/TaskActions.d.ts +7 -0
- package/dist/api/resources/tasks/resources/v3/types/TaskActions.js +5 -0
- package/dist/api/resources/tasks/resources/v3/types/TaskAssignment.d.ts +8 -0
- package/dist/api/resources/tasks/resources/v3/types/TaskAssignment.js +5 -0
- package/dist/api/resources/tasks/resources/v3/types/TaskCreateV3.d.ts +13 -0
- package/dist/api/resources/tasks/resources/v3/types/TaskCreateV3.js +5 -0
- package/dist/api/resources/tasks/resources/v3/types/TaskNote.d.ts +11 -0
- package/dist/api/resources/tasks/resources/v3/types/TaskNote.js +5 -0
- package/dist/api/resources/tasks/resources/v3/types/TaskPage.d.ts +7 -0
- package/dist/api/resources/tasks/resources/v3/types/TaskPage.js +5 -0
- package/dist/api/resources/tasks/resources/v3/types/TaskSortOptions.d.ts +28 -0
- package/dist/api/resources/tasks/resources/v3/types/TaskSortOptions.js +30 -0
- package/dist/api/resources/tasks/resources/v3/types/TaskUpdateV3.d.ts +9 -0
- package/dist/api/resources/tasks/resources/v3/types/TaskUpdateV3.js +5 -0
- package/dist/api/resources/tasks/resources/v3/types/TaskUpdatedToDeprecatedStatusErrorType.d.ts +7 -0
- package/dist/api/resources/tasks/resources/v3/types/TaskUpdatedToDeprecatedStatusErrorType.js +5 -0
- package/dist/api/resources/tasks/resources/v3/types/index.d.ts +11 -0
- package/dist/api/resources/tasks/resources/v3/types/index.js +27 -0
- 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/TaskAssignmentId.d.ts +10 -0
- package/dist/serialization/resources/commons/types/TaskAssignmentId.js +35 -0
- package/dist/serialization/resources/commons/types/TaskId.d.ts +10 -0
- package/dist/serialization/resources/commons/types/TaskId.js +37 -0
- package/dist/serialization/resources/commons/types/TaskNoteId.d.ts +10 -0
- package/dist/serialization/resources/commons/types/TaskNoteId.js +35 -0
- package/dist/serialization/resources/commons/types/UnprocessableEntityErrorMessage.d.ts +12 -0
- package/dist/serialization/resources/commons/types/UnprocessableEntityErrorMessage.js +33 -0
- package/dist/serialization/resources/commons/types/UserId.d.ts +10 -0
- package/dist/serialization/resources/commons/types/UserId.js +37 -0
- package/dist/serialization/resources/commons/types/index.d.ts +6 -0
- package/dist/serialization/resources/commons/types/index.js +6 -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/dist/serialization/resources/insuranceAdjudications/resources/v1/index.d.ts +1 -0
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/index.js +17 -0
- 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 +3 -1
- package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.js +3 -1
- package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +3 -1
- package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.js +3 -1
- 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/payers/resources/v3/types/PayerId.d.ts +10 -0
- package/dist/serialization/resources/payers/resources/v3/types/PayerId.js +35 -0
- package/dist/serialization/resources/payers/resources/v3/types/index.d.ts +1 -0
- package/dist/serialization/resources/payers/resources/v3/types/index.js +1 -0
- package/dist/serialization/resources/tasks/resources/commons/index.d.ts +1 -0
- package/dist/serialization/resources/tasks/resources/commons/index.js +17 -0
- package/dist/serialization/resources/tasks/resources/commons/types/TaskCategory.d.ts +10 -0
- package/dist/serialization/resources/tasks/resources/commons/types/TaskCategory.js +71 -0
- package/dist/serialization/resources/tasks/resources/commons/types/TaskStatus.d.ts +10 -0
- package/dist/serialization/resources/tasks/resources/commons/types/TaskStatus.js +39 -0
- package/dist/serialization/resources/tasks/resources/commons/types/TaskType.d.ts +10 -0
- package/dist/serialization/resources/tasks/resources/commons/types/TaskType.js +44 -0
- package/dist/serialization/resources/tasks/resources/commons/types/index.d.ts +3 -0
- package/dist/serialization/resources/tasks/resources/commons/types/index.js +19 -0
- package/dist/serialization/resources/tasks/resources/index.d.ts +3 -0
- package/dist/serialization/resources/tasks/resources/index.js +32 -0
- package/dist/serialization/resources/tasks/resources/v3/client/get.d.ts +18 -0
- package/dist/serialization/resources/tasks/resources/v3/client/get.js +51 -0
- package/dist/serialization/resources/tasks/resources/v3/client/getMulti.d.ts +14 -0
- package/dist/serialization/resources/tasks/resources/v3/client/getMulti.js +46 -0
- package/dist/serialization/resources/tasks/resources/v3/client/index.d.ts +3 -0
- package/dist/serialization/resources/tasks/resources/v3/client/index.js +29 -0
- package/dist/serialization/resources/tasks/resources/v3/client/update.d.ts +22 -0
- package/dist/serialization/resources/tasks/resources/v3/client/update.js +56 -0
- package/dist/serialization/resources/tasks/resources/v3/index.d.ts +2 -0
- package/dist/serialization/resources/tasks/resources/v3/index.js +18 -0
- package/dist/serialization/resources/tasks/resources/v3/types/Task.d.ts +29 -0
- package/dist/serialization/resources/tasks/resources/v3/types/Task.js +50 -0
- package/dist/serialization/resources/tasks/resources/v3/types/TaskAction.d.ts +13 -0
- package/dist/serialization/resources/tasks/resources/v3/types/TaskAction.js +34 -0
- package/dist/serialization/resources/tasks/resources/v3/types/TaskActionExecutionMethod.d.ts +13 -0
- package/dist/serialization/resources/tasks/resources/v3/types/TaskActionExecutionMethod.js +38 -0
- package/dist/serialization/resources/tasks/resources/v3/types/TaskActions.d.ts +12 -0
- package/dist/serialization/resources/tasks/resources/v3/types/TaskActions.js +33 -0
- package/dist/serialization/resources/tasks/resources/v3/types/TaskAssignment.d.ts +13 -0
- package/dist/serialization/resources/tasks/resources/v3/types/TaskAssignment.js +34 -0
- package/dist/serialization/resources/tasks/resources/v3/types/TaskCreateV3.d.ts +18 -0
- package/dist/serialization/resources/tasks/resources/v3/types/TaskCreateV3.js +39 -0
- package/dist/serialization/resources/tasks/resources/v3/types/TaskNote.d.ts +16 -0
- package/dist/serialization/resources/tasks/resources/v3/types/TaskNote.js +37 -0
- package/dist/serialization/resources/tasks/resources/v3/types/TaskPage.d.ts +12 -0
- package/dist/serialization/resources/tasks/resources/v3/types/TaskPage.js +35 -0
- package/dist/serialization/resources/tasks/resources/v3/types/TaskSortOptions.d.ts +10 -0
- package/dist/serialization/resources/tasks/resources/v3/types/TaskSortOptions.js +54 -0
- package/dist/serialization/resources/tasks/resources/v3/types/TaskUpdateV3.d.ts +14 -0
- package/dist/serialization/resources/tasks/resources/v3/types/TaskUpdateV3.js +35 -0
- package/dist/serialization/resources/tasks/resources/v3/types/TaskUpdatedToDeprecatedStatusErrorType.d.ts +12 -0
- package/dist/serialization/resources/tasks/resources/v3/types/TaskUpdatedToDeprecatedStatusErrorType.js +33 -0
- package/dist/serialization/resources/tasks/resources/v3/types/index.d.ts +11 -0
- package/dist/serialization/resources/tasks/resources/v3/types/index.js +27 -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/TaskAssignmentId.d.ts +10 -0
- package/serialization/resources/commons/types/TaskAssignmentId.js +35 -0
- package/serialization/resources/commons/types/TaskId.d.ts +10 -0
- package/serialization/resources/commons/types/TaskId.js +37 -0
- package/serialization/resources/commons/types/TaskNoteId.d.ts +10 -0
- package/serialization/resources/commons/types/TaskNoteId.js +35 -0
- package/serialization/resources/commons/types/UnprocessableEntityErrorMessage.d.ts +12 -0
- package/serialization/resources/commons/types/UnprocessableEntityErrorMessage.js +33 -0
- package/serialization/resources/commons/types/UserId.d.ts +10 -0
- package/serialization/resources/commons/types/UserId.js +37 -0
- package/serialization/resources/commons/types/index.d.ts +6 -0
- package/serialization/resources/commons/types/index.js +6 -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/serialization/resources/insuranceAdjudications/resources/v1/index.d.ts +1 -0
- package/serialization/resources/insuranceAdjudications/resources/v1/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 +3 -1
- package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.js +3 -1
- package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +3 -1
- package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.js +3 -1
- 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/payers/resources/v3/types/PayerId.d.ts +10 -0
- package/serialization/resources/payers/resources/v3/types/PayerId.js +35 -0
- package/serialization/resources/payers/resources/v3/types/index.d.ts +1 -0
- package/serialization/resources/payers/resources/v3/types/index.js +1 -0
- package/serialization/resources/tasks/index.d.ts +1 -0
- package/serialization/resources/tasks/index.js +17 -0
- package/serialization/resources/tasks/resources/commons/index.d.ts +1 -0
- package/serialization/resources/tasks/resources/commons/index.js +17 -0
- package/serialization/resources/tasks/resources/commons/types/TaskCategory.d.ts +10 -0
- package/serialization/resources/tasks/resources/commons/types/TaskCategory.js +71 -0
- package/serialization/resources/tasks/resources/commons/types/TaskStatus.d.ts +10 -0
- package/serialization/resources/tasks/resources/commons/types/TaskStatus.js +39 -0
- package/serialization/resources/tasks/resources/commons/types/TaskType.d.ts +10 -0
- package/serialization/resources/tasks/resources/commons/types/TaskType.js +44 -0
- package/serialization/resources/tasks/resources/commons/types/index.d.ts +3 -0
- package/serialization/resources/tasks/resources/commons/types/index.js +19 -0
- package/serialization/resources/tasks/resources/index.d.ts +3 -0
- package/serialization/resources/tasks/resources/index.js +32 -0
- package/serialization/resources/tasks/resources/v3/client/get.d.ts +18 -0
- package/serialization/resources/tasks/resources/v3/client/get.js +51 -0
- package/serialization/resources/tasks/resources/v3/client/getMulti.d.ts +14 -0
- package/serialization/resources/tasks/resources/v3/client/getMulti.js +46 -0
- package/serialization/resources/tasks/resources/v3/client/index.d.ts +3 -0
- package/serialization/resources/tasks/resources/v3/client/index.js +29 -0
- package/serialization/resources/tasks/resources/v3/client/update.d.ts +22 -0
- package/serialization/resources/tasks/resources/v3/client/update.js +56 -0
- package/serialization/resources/tasks/resources/v3/index.d.ts +2 -0
- package/serialization/resources/tasks/resources/v3/index.js +18 -0
- package/serialization/resources/tasks/resources/v3/types/Task.d.ts +29 -0
- package/serialization/resources/tasks/resources/v3/types/Task.js +50 -0
- package/serialization/resources/tasks/resources/v3/types/TaskAction.d.ts +13 -0
- package/serialization/resources/tasks/resources/v3/types/TaskAction.js +34 -0
- package/serialization/resources/tasks/resources/v3/types/TaskActionExecutionMethod.d.ts +13 -0
- package/serialization/resources/tasks/resources/v3/types/TaskActionExecutionMethod.js +38 -0
- package/serialization/resources/tasks/resources/v3/types/TaskActions.d.ts +12 -0
- package/serialization/resources/tasks/resources/v3/types/TaskActions.js +33 -0
- package/serialization/resources/tasks/resources/v3/types/TaskAssignment.d.ts +13 -0
- package/serialization/resources/tasks/resources/v3/types/TaskAssignment.js +34 -0
- package/serialization/resources/tasks/resources/v3/types/TaskCreateV3.d.ts +18 -0
- package/serialization/resources/tasks/resources/v3/types/TaskCreateV3.js +39 -0
- package/serialization/resources/tasks/resources/v3/types/TaskNote.d.ts +16 -0
- package/serialization/resources/tasks/resources/v3/types/TaskNote.js +37 -0
- package/serialization/resources/tasks/resources/v3/types/TaskPage.d.ts +12 -0
- package/serialization/resources/tasks/resources/v3/types/TaskPage.js +35 -0
- package/serialization/resources/tasks/resources/v3/types/TaskSortOptions.d.ts +10 -0
- package/serialization/resources/tasks/resources/v3/types/TaskSortOptions.js +54 -0
- package/serialization/resources/tasks/resources/v3/types/TaskUpdateV3.d.ts +14 -0
- package/serialization/resources/tasks/resources/v3/types/TaskUpdateV3.js +35 -0
- package/serialization/resources/tasks/resources/v3/types/TaskUpdatedToDeprecatedStatusErrorType.d.ts +12 -0
- package/serialization/resources/tasks/resources/v3/types/TaskUpdatedToDeprecatedStatusErrorType.js +33 -0
- package/serialization/resources/tasks/resources/v3/types/index.d.ts +11 -0
- package/serialization/resources/tasks/resources/v3/types/index.js +27 -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/{financials/types/AllocationRecipientCreate.js → commons/types/UnprocessableEntityErrorMessage.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/RefundAllocation.js → expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersRequest.js} +0 -0
- /package/api/resources/{financials/types/RefundAllocationCreate.js → expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersResponse.js} +0 -0
- /package/api/resources/{insuranceAdjudication/resources/v1/types/ClaimAdjudication.js → expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkRenderingProvidersResult.js} +0 -0
- /package/api/resources/{insuranceAdjudication/resources/v1/types/ClaimAdjudicationCreate.js → expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusCheckErrorMessage.js} +0 -0
- /package/api/resources/{insuranceAdjudication/resources/v1/types/ClaimAdjustmentReasonCode.js → expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusRequestV2.js} +0 -0
- /package/api/resources/{insuranceAdjudication/resources/v1/types/InsuranceAdjudication.js → expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusResponseV2.js} +0 -0
- /package/api/resources/{insuranceAdjudication/resources/v1/types/InsuranceAdjudicationCreate.js → expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusSubscriberInformation.js} +0 -0
- /package/api/resources/{insuranceAdjudication/resources/v1/types/RemittanceAdviceRemarkCode.js → expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusV2.js} +0 -0
- /package/api/resources/{insuranceAdjudication/resources/v1/types/ServiceLineAdjudication.js → expectedNetworkStatus/resources/v2/types/InNetworkRenderingProvidersDetail.js} +0 -0
- /package/api/resources/{insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationCreate.js → expectedNetworkStatus/resources/v2/types/InNetworkStatus.js} +0 -0
- /package/{dist/api/resources/financials/types/AllocationRecipient.js → api/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.js} +0 -0
- /package/{dist/api/resources/financials/types/AllocationRecipientCreate.js → api/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.js} +0 -0
- /package/{dist/api/resources/financials/types/RefundAllocation.js → api/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.js} +0 -0
- /package/{dist/api/resources/financials/types/RefundAllocationCreate.js → api/resources/financials/types/AllocationTarget.js} +0 -0
- /package/{dist/api/resources/insuranceAdjudication/resources/v1/types/ClaimAdjudication.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/resources/v1/types/ClaimAdjudicationCreate.js → api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js} +0 -0
- /package/{dist/api/resources/insuranceAdjudication/resources/v1/types/ClaimAdjustmentReasonCode.js → 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/resources/v1/types/InsuranceAdjudication.js → api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjustmentReasonCode.js} +0 -0
- /package/{dist/api/resources/insuranceAdjudication/resources/v1/types/InsuranceAdjudicationCreate.js → api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js} +0 -0
- /package/{dist/api/resources/insuranceAdjudication/resources/v1/types/RemittanceAdviceRemarkCode.js → 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/resources/v1/types/ServiceLineAdjudication.js → api/resources/insuranceAdjudications/resources/v1/types/RemittanceAdviceRemarkCode.js} +0 -0
- /package/{dist/api/resources/insuranceAdjudication/resources/v1/types/ServiceLineAdjudicationCreate.js → api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.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/tasks}/client/index.d.ts +0 -0
- /package/{dist/api/resources/insuranceAdjudication → api/resources/tasks}/client/index.js +0 -0
- /package/{dist/api/resources/insuranceAdjudication → api/resources/tasks}/index.d.ts +0 -0
- /package/{dist/api/resources/insuranceAdjudication → api/resources/tasks}/index.js +0 -0
- /package/{dist/serialization/resources/insuranceAdjudication/resources/v1 → api/resources/tasks/resources/commons}/index.d.ts +0 -0
- /package/{dist/serialization/resources/insuranceAdjudication/resources/v1 → api/resources/tasks/resources/commons}/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/{serialization/resources/insuranceAdjudication/resources/v1 → dist/api/resources/tasks/resources/commons}/index.d.ts +0 -0
- /package/{serialization/resources/insuranceAdjudication/resources/v1 → dist/api/resources/tasks/resources/commons}/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/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/tasks}/index.d.ts +0 -0
- /package/{serialization/resources/insuranceAdjudication → dist/serialization/resources/tasks}/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/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
|
@@ -0,0 +1,306 @@
|
|
|
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.V3 = void 0;
|
|
33
|
+
const environments = __importStar(require("../../../../../../environments"));
|
|
34
|
+
const core = __importStar(require("../../../../../../core"));
|
|
35
|
+
const CandidApi = __importStar(require("../../../../.."));
|
|
36
|
+
const serializers = __importStar(require("../../../../../../serialization"));
|
|
37
|
+
const url_join_1 = __importDefault(require("url-join"));
|
|
38
|
+
const url_search_params_1 = __importDefault(require("@ungap/url-search-params"));
|
|
39
|
+
class V3 {
|
|
40
|
+
options;
|
|
41
|
+
constructor(options) {
|
|
42
|
+
this.options = options;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* **This endpoint is incubating.**
|
|
46
|
+
*
|
|
47
|
+
*/
|
|
48
|
+
async getActions(taskId) {
|
|
49
|
+
const _response = await core.fetcher({
|
|
50
|
+
url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, `/api/tasks/v3/${await serializers.TaskId.jsonOrThrow(taskId)}/actions`),
|
|
51
|
+
method: "GET",
|
|
52
|
+
headers: {
|
|
53
|
+
Authorization: await this._getAuthorizationHeader(),
|
|
54
|
+
"X-Fern-Language": "JavaScript",
|
|
55
|
+
"X-Fern-SDK-Name": "candidhealth",
|
|
56
|
+
"X-Fern-SDK-Version": "0.10.0",
|
|
57
|
+
},
|
|
58
|
+
contentType: "application/json",
|
|
59
|
+
timeoutMs: 60000,
|
|
60
|
+
});
|
|
61
|
+
if (_response.ok) {
|
|
62
|
+
return {
|
|
63
|
+
ok: true,
|
|
64
|
+
body: await serializers.tasks.v3.TaskActions.parseOrThrow(_response.body, {
|
|
65
|
+
unrecognizedObjectKeys: "passthrough",
|
|
66
|
+
allowUnrecognizedUnionMembers: true,
|
|
67
|
+
allowUnrecognizedEnumValues: true,
|
|
68
|
+
breadcrumbsPrefix: ["response"],
|
|
69
|
+
}),
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
return {
|
|
73
|
+
ok: false,
|
|
74
|
+
error: CandidApi.tasks.v3.getActions.Error._unknown(_response.error),
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* **This endpoint is incubating.**
|
|
79
|
+
*
|
|
80
|
+
*/
|
|
81
|
+
async getMulti(request = {}) {
|
|
82
|
+
const { limit, pageToken, status, taskType, categories, updatedSince, encounterId, searchTerm, assignedToId, dateOfServiceMin, dateOfServiceMax, billingProviderNpi, sort, } = request;
|
|
83
|
+
const _queryParams = new url_search_params_1.default();
|
|
84
|
+
if (limit != null) {
|
|
85
|
+
_queryParams.append("limit", limit.toString());
|
|
86
|
+
}
|
|
87
|
+
if (pageToken != null) {
|
|
88
|
+
_queryParams.append("page_token", pageToken);
|
|
89
|
+
}
|
|
90
|
+
if (status != null) {
|
|
91
|
+
_queryParams.append("status", status);
|
|
92
|
+
}
|
|
93
|
+
if (taskType != null) {
|
|
94
|
+
_queryParams.append("task_type", taskType);
|
|
95
|
+
}
|
|
96
|
+
if (categories != null) {
|
|
97
|
+
_queryParams.append("categories", categories);
|
|
98
|
+
}
|
|
99
|
+
if (updatedSince != null) {
|
|
100
|
+
_queryParams.append("updated_since", updatedSince.toISOString());
|
|
101
|
+
}
|
|
102
|
+
if (encounterId != null) {
|
|
103
|
+
_queryParams.append("encounter_id", encounterId);
|
|
104
|
+
}
|
|
105
|
+
if (searchTerm != null) {
|
|
106
|
+
_queryParams.append("search_term", searchTerm);
|
|
107
|
+
}
|
|
108
|
+
if (assignedToId != null) {
|
|
109
|
+
_queryParams.append("assigned_to_id", assignedToId);
|
|
110
|
+
}
|
|
111
|
+
if (dateOfServiceMin != null) {
|
|
112
|
+
_queryParams.append("date_of_service_min", dateOfServiceMin);
|
|
113
|
+
}
|
|
114
|
+
if (dateOfServiceMax != null) {
|
|
115
|
+
_queryParams.append("date_of_service_max", dateOfServiceMax);
|
|
116
|
+
}
|
|
117
|
+
if (billingProviderNpi != null) {
|
|
118
|
+
_queryParams.append("billing_provider_npi", billingProviderNpi);
|
|
119
|
+
}
|
|
120
|
+
if (sort != null) {
|
|
121
|
+
_queryParams.append("sort", sort);
|
|
122
|
+
}
|
|
123
|
+
const _response = await core.fetcher({
|
|
124
|
+
url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, "/api/tasks/v3"),
|
|
125
|
+
method: "GET",
|
|
126
|
+
headers: {
|
|
127
|
+
Authorization: await this._getAuthorizationHeader(),
|
|
128
|
+
"X-Fern-Language": "JavaScript",
|
|
129
|
+
"X-Fern-SDK-Name": "candidhealth",
|
|
130
|
+
"X-Fern-SDK-Version": "0.10.0",
|
|
131
|
+
},
|
|
132
|
+
contentType: "application/json",
|
|
133
|
+
queryParameters: _queryParams,
|
|
134
|
+
timeoutMs: 60000,
|
|
135
|
+
});
|
|
136
|
+
if (_response.ok) {
|
|
137
|
+
return {
|
|
138
|
+
ok: true,
|
|
139
|
+
body: await serializers.tasks.v3.TaskPage.parseOrThrow(_response.body, {
|
|
140
|
+
unrecognizedObjectKeys: "passthrough",
|
|
141
|
+
allowUnrecognizedUnionMembers: true,
|
|
142
|
+
allowUnrecognizedEnumValues: true,
|
|
143
|
+
breadcrumbsPrefix: ["response"],
|
|
144
|
+
}),
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
if (_response.error.reason === "status-code") {
|
|
148
|
+
switch (_response.error.body?.errorName) {
|
|
149
|
+
case "UnprocessableEntityError":
|
|
150
|
+
return {
|
|
151
|
+
ok: false,
|
|
152
|
+
error: await serializers.tasks.v3.getMulti.Error.parseOrThrow(_response.error.body, {
|
|
153
|
+
unrecognizedObjectKeys: "passthrough",
|
|
154
|
+
allowUnrecognizedUnionMembers: true,
|
|
155
|
+
allowUnrecognizedEnumValues: true,
|
|
156
|
+
breadcrumbsPrefix: ["response"],
|
|
157
|
+
}),
|
|
158
|
+
};
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
return {
|
|
162
|
+
ok: false,
|
|
163
|
+
error: CandidApi.tasks.v3.getMulti.Error._unknown(_response.error),
|
|
164
|
+
};
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* **This endpoint is incubating.**
|
|
168
|
+
*
|
|
169
|
+
*/
|
|
170
|
+
async get(taskId) {
|
|
171
|
+
const _response = await core.fetcher({
|
|
172
|
+
url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, `/api/tasks/v3/${await serializers.TaskId.jsonOrThrow(taskId)}`),
|
|
173
|
+
method: "GET",
|
|
174
|
+
headers: {
|
|
175
|
+
Authorization: await this._getAuthorizationHeader(),
|
|
176
|
+
"X-Fern-Language": "JavaScript",
|
|
177
|
+
"X-Fern-SDK-Name": "candidhealth",
|
|
178
|
+
"X-Fern-SDK-Version": "0.10.0",
|
|
179
|
+
},
|
|
180
|
+
contentType: "application/json",
|
|
181
|
+
timeoutMs: 60000,
|
|
182
|
+
});
|
|
183
|
+
if (_response.ok) {
|
|
184
|
+
return {
|
|
185
|
+
ok: true,
|
|
186
|
+
body: await serializers.tasks.v3.Task.parseOrThrow(_response.body, {
|
|
187
|
+
unrecognizedObjectKeys: "passthrough",
|
|
188
|
+
allowUnrecognizedUnionMembers: true,
|
|
189
|
+
allowUnrecognizedEnumValues: true,
|
|
190
|
+
breadcrumbsPrefix: ["response"],
|
|
191
|
+
}),
|
|
192
|
+
};
|
|
193
|
+
}
|
|
194
|
+
if (_response.error.reason === "status-code") {
|
|
195
|
+
switch (_response.error.body?.errorName) {
|
|
196
|
+
case "EntityNotFoundError":
|
|
197
|
+
case "UnauthorizedError":
|
|
198
|
+
return {
|
|
199
|
+
ok: false,
|
|
200
|
+
error: await serializers.tasks.v3.get.Error.parseOrThrow(_response.error.body, {
|
|
201
|
+
unrecognizedObjectKeys: "passthrough",
|
|
202
|
+
allowUnrecognizedUnionMembers: true,
|
|
203
|
+
allowUnrecognizedEnumValues: true,
|
|
204
|
+
breadcrumbsPrefix: ["response"],
|
|
205
|
+
}),
|
|
206
|
+
};
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
return {
|
|
210
|
+
ok: false,
|
|
211
|
+
error: CandidApi.tasks.v3.get.Error._unknown(_response.error),
|
|
212
|
+
};
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* **This endpoint is incubating.**
|
|
216
|
+
*
|
|
217
|
+
*/
|
|
218
|
+
async create(request) {
|
|
219
|
+
const _response = await core.fetcher({
|
|
220
|
+
url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, "/api/tasks/v3"),
|
|
221
|
+
method: "POST",
|
|
222
|
+
headers: {
|
|
223
|
+
Authorization: await this._getAuthorizationHeader(),
|
|
224
|
+
"X-Fern-Language": "JavaScript",
|
|
225
|
+
"X-Fern-SDK-Name": "candidhealth",
|
|
226
|
+
"X-Fern-SDK-Version": "0.10.0",
|
|
227
|
+
},
|
|
228
|
+
contentType: "application/json",
|
|
229
|
+
body: await serializers.tasks.v3.TaskCreateV3.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
230
|
+
timeoutMs: 60000,
|
|
231
|
+
});
|
|
232
|
+
if (_response.ok) {
|
|
233
|
+
return {
|
|
234
|
+
ok: true,
|
|
235
|
+
body: await serializers.tasks.v3.Task.parseOrThrow(_response.body, {
|
|
236
|
+
unrecognizedObjectKeys: "passthrough",
|
|
237
|
+
allowUnrecognizedUnionMembers: true,
|
|
238
|
+
allowUnrecognizedEnumValues: true,
|
|
239
|
+
breadcrumbsPrefix: ["response"],
|
|
240
|
+
}),
|
|
241
|
+
};
|
|
242
|
+
}
|
|
243
|
+
return {
|
|
244
|
+
ok: false,
|
|
245
|
+
error: CandidApi.tasks.v3.create.Error._unknown(_response.error),
|
|
246
|
+
};
|
|
247
|
+
}
|
|
248
|
+
/**
|
|
249
|
+
* **This endpoint is incubating.**
|
|
250
|
+
*
|
|
251
|
+
*/
|
|
252
|
+
async update(taskId, request) {
|
|
253
|
+
const _response = await core.fetcher({
|
|
254
|
+
url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, `/api/tasks/v3/${await serializers.TaskId.jsonOrThrow(taskId)}`),
|
|
255
|
+
method: "PATCH",
|
|
256
|
+
headers: {
|
|
257
|
+
Authorization: await this._getAuthorizationHeader(),
|
|
258
|
+
"X-Fern-Language": "JavaScript",
|
|
259
|
+
"X-Fern-SDK-Name": "candidhealth",
|
|
260
|
+
"X-Fern-SDK-Version": "0.10.0",
|
|
261
|
+
},
|
|
262
|
+
contentType: "application/json",
|
|
263
|
+
body: await serializers.tasks.v3.TaskUpdateV3.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
264
|
+
timeoutMs: 60000,
|
|
265
|
+
});
|
|
266
|
+
if (_response.ok) {
|
|
267
|
+
return {
|
|
268
|
+
ok: true,
|
|
269
|
+
body: await serializers.tasks.v3.Task.parseOrThrow(_response.body, {
|
|
270
|
+
unrecognizedObjectKeys: "passthrough",
|
|
271
|
+
allowUnrecognizedUnionMembers: true,
|
|
272
|
+
allowUnrecognizedEnumValues: true,
|
|
273
|
+
breadcrumbsPrefix: ["response"],
|
|
274
|
+
}),
|
|
275
|
+
};
|
|
276
|
+
}
|
|
277
|
+
if (_response.error.reason === "status-code") {
|
|
278
|
+
switch (_response.error.body?.errorName) {
|
|
279
|
+
case "EntityNotFoundError":
|
|
280
|
+
case "UnauthorizedError":
|
|
281
|
+
case "TaskUpdatedToDeprecatedStatusError":
|
|
282
|
+
return {
|
|
283
|
+
ok: false,
|
|
284
|
+
error: await serializers.tasks.v3.update.Error.parseOrThrow(_response.error.body, {
|
|
285
|
+
unrecognizedObjectKeys: "passthrough",
|
|
286
|
+
allowUnrecognizedUnionMembers: true,
|
|
287
|
+
allowUnrecognizedEnumValues: true,
|
|
288
|
+
breadcrumbsPrefix: ["response"],
|
|
289
|
+
}),
|
|
290
|
+
};
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
return {
|
|
294
|
+
ok: false,
|
|
295
|
+
error: CandidApi.tasks.v3.update.Error._unknown(_response.error),
|
|
296
|
+
};
|
|
297
|
+
}
|
|
298
|
+
async _getAuthorizationHeader() {
|
|
299
|
+
const bearer = await core.Supplier.get(this.options.token);
|
|
300
|
+
if (bearer != null) {
|
|
301
|
+
return `Bearer ${bearer}`;
|
|
302
|
+
}
|
|
303
|
+
return undefined;
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
exports.V3 = V3;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../..";
|
|
5
|
+
import * as core from "../../../../../../core";
|
|
6
|
+
export declare type Error = CandidApi.tasks.v3.create.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface _Unknown extends _Utils {
|
|
9
|
+
errorName: void;
|
|
10
|
+
content: core.Fetcher.Error;
|
|
11
|
+
}
|
|
12
|
+
interface _Utils {
|
|
13
|
+
_visit: <_Result>(visitor: CandidApi.tasks.v3.create.Error._Visitor<_Result>) => _Result;
|
|
14
|
+
}
|
|
15
|
+
interface _Visitor<_Result> {
|
|
16
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export declare const Error: {
|
|
20
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.tasks.v3.create.Error._Unknown;
|
|
21
|
+
readonly _visit: <_Result>(value: CandidApi.tasks.v3.create.Error, visitor: CandidApi.tasks.v3.create.Error._Visitor<_Result>) => _Result;
|
|
22
|
+
};
|
|
@@ -34,7 +34,7 @@ exports.Error = {
|
|
|
34
34
|
errorName: undefined,
|
|
35
35
|
content: fetcherError,
|
|
36
36
|
_visit: function (visitor) {
|
|
37
|
-
return CandidApi.
|
|
37
|
+
return CandidApi.tasks.v3.create.Error._visit(this, visitor);
|
|
38
38
|
},
|
|
39
39
|
};
|
|
40
40
|
},
|
|
@@ -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.tasks.v3.get.Error.EntityNotFoundError | CandidApi.tasks.v3.get.Error.UnauthorizedError | CandidApi.tasks.v3.get.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface EntityNotFoundError extends _Utils {
|
|
9
|
+
errorName: "EntityNotFoundError";
|
|
10
|
+
content: CandidApi.EntityNotFoundErrorMessage;
|
|
11
|
+
}
|
|
12
|
+
interface UnauthorizedError extends _Utils {
|
|
13
|
+
errorName: "UnauthorizedError";
|
|
14
|
+
content: CandidApi.UnauthorizedErrorMessage;
|
|
15
|
+
}
|
|
16
|
+
interface _Unknown extends _Utils {
|
|
17
|
+
errorName: void;
|
|
18
|
+
content: core.Fetcher.Error;
|
|
19
|
+
}
|
|
20
|
+
interface _Utils {
|
|
21
|
+
_visit: <_Result>(visitor: CandidApi.tasks.v3.get.Error._Visitor<_Result>) => _Result;
|
|
22
|
+
}
|
|
23
|
+
interface _Visitor<_Result> {
|
|
24
|
+
entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
|
|
25
|
+
unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => _Result;
|
|
26
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
export declare const Error: {
|
|
30
|
+
readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.tasks.v3.get.Error.EntityNotFoundError;
|
|
31
|
+
readonly unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => CandidApi.tasks.v3.get.Error.UnauthorizedError;
|
|
32
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.tasks.v3.get.Error._Unknown;
|
|
33
|
+
readonly _visit: <_Result>(value: CandidApi.tasks.v3.get.Error, visitor: CandidApi.tasks.v3.get.Error._Visitor<_Result>) => _Result;
|
|
34
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../.."));
|
|
31
|
+
exports.Error = {
|
|
32
|
+
entityNotFoundError: (value) => {
|
|
33
|
+
return {
|
|
34
|
+
content: value,
|
|
35
|
+
errorName: "EntityNotFoundError",
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.tasks.v3.get.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
unauthorizedError: (value) => {
|
|
42
|
+
return {
|
|
43
|
+
content: value,
|
|
44
|
+
errorName: "UnauthorizedError",
|
|
45
|
+
_visit: function (visitor) {
|
|
46
|
+
return CandidApi.tasks.v3.get.Error._visit(this, visitor);
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
},
|
|
50
|
+
_unknown: (fetcherError) => {
|
|
51
|
+
return {
|
|
52
|
+
errorName: undefined,
|
|
53
|
+
content: fetcherError,
|
|
54
|
+
_visit: function (visitor) {
|
|
55
|
+
return CandidApi.tasks.v3.get.Error._visit(this, visitor);
|
|
56
|
+
},
|
|
57
|
+
};
|
|
58
|
+
},
|
|
59
|
+
_visit: (value, visitor) => {
|
|
60
|
+
switch (value.errorName) {
|
|
61
|
+
case "EntityNotFoundError":
|
|
62
|
+
return visitor.entityNotFoundError(value.content);
|
|
63
|
+
case "UnauthorizedError":
|
|
64
|
+
return visitor.unauthorizedError(value.content);
|
|
65
|
+
default:
|
|
66
|
+
return visitor._other(value);
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../..";
|
|
5
|
+
import * as core from "../../../../../../core";
|
|
6
|
+
export declare type Error = CandidApi.tasks.v3.getActions.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface _Unknown extends _Utils {
|
|
9
|
+
errorName: void;
|
|
10
|
+
content: core.Fetcher.Error;
|
|
11
|
+
}
|
|
12
|
+
interface _Utils {
|
|
13
|
+
_visit: <_Result>(visitor: CandidApi.tasks.v3.getActions.Error._Visitor<_Result>) => _Result;
|
|
14
|
+
}
|
|
15
|
+
interface _Visitor<_Result> {
|
|
16
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export declare const Error: {
|
|
20
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.tasks.v3.getActions.Error._Unknown;
|
|
21
|
+
readonly _visit: <_Result>(value: CandidApi.tasks.v3.getActions.Error, visitor: CandidApi.tasks.v3.getActions.Error._Visitor<_Result>) => _Result;
|
|
22
|
+
};
|
|
@@ -34,7 +34,7 @@ exports.Error = {
|
|
|
34
34
|
errorName: undefined,
|
|
35
35
|
content: fetcherError,
|
|
36
36
|
_visit: function (visitor) {
|
|
37
|
-
return CandidApi.
|
|
37
|
+
return CandidApi.tasks.v3.getActions.Error._visit(this, visitor);
|
|
38
38
|
},
|
|
39
39
|
};
|
|
40
40
|
},
|
|
@@ -0,0 +1,31 @@
|
|
|
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 =
|
|
7
|
+
/**
|
|
8
|
+
* Limit parameter provided must be greater than 0 and less than 1000. */
|
|
9
|
+
CandidApi.tasks.v3.getMulti.Error.UnprocessableEntityError | CandidApi.tasks.v3.getMulti.Error._Unknown;
|
|
10
|
+
export declare namespace Error {
|
|
11
|
+
interface UnprocessableEntityError extends _Utils {
|
|
12
|
+
errorName: "UnprocessableEntityError";
|
|
13
|
+
content: CandidApi.UnprocessableEntityErrorMessage;
|
|
14
|
+
}
|
|
15
|
+
interface _Unknown extends _Utils {
|
|
16
|
+
errorName: void;
|
|
17
|
+
content: core.Fetcher.Error;
|
|
18
|
+
}
|
|
19
|
+
interface _Utils {
|
|
20
|
+
_visit: <_Result>(visitor: CandidApi.tasks.v3.getMulti.Error._Visitor<_Result>) => _Result;
|
|
21
|
+
}
|
|
22
|
+
interface _Visitor<_Result> {
|
|
23
|
+
unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => _Result;
|
|
24
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
export declare const Error: {
|
|
28
|
+
readonly unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => CandidApi.tasks.v3.getMulti.Error.UnprocessableEntityError;
|
|
29
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.tasks.v3.getMulti.Error._Unknown;
|
|
30
|
+
readonly _visit: <_Result>(value: CandidApi.tasks.v3.getMulti.Error, visitor: CandidApi.tasks.v3.getMulti.Error._Visitor<_Result>) => _Result;
|
|
31
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../.."));
|
|
31
|
+
exports.Error = {
|
|
32
|
+
unprocessableEntityError: (value) => {
|
|
33
|
+
return {
|
|
34
|
+
content: value,
|
|
35
|
+
errorName: "UnprocessableEntityError",
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.tasks.v3.getMulti.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
_unknown: (fetcherError) => {
|
|
42
|
+
return {
|
|
43
|
+
errorName: undefined,
|
|
44
|
+
content: fetcherError,
|
|
45
|
+
_visit: function (visitor) {
|
|
46
|
+
return CandidApi.tasks.v3.getMulti.Error._visit(this, visitor);
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
},
|
|
50
|
+
_visit: (value, visitor) => {
|
|
51
|
+
switch (value.errorName) {
|
|
52
|
+
case "UnprocessableEntityError":
|
|
53
|
+
return visitor.unprocessableEntityError(value.content);
|
|
54
|
+
default:
|
|
55
|
+
return visitor._other(value);
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
19
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
20
|
+
};
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.update = exports.create = exports.get = exports.getMulti = exports.getActions = void 0;
|
|
30
|
+
__exportStar(require("./requests"), exports);
|
|
31
|
+
exports.getActions = __importStar(require("./getActions"));
|
|
32
|
+
exports.getMulti = __importStar(require("./getMulti"));
|
|
33
|
+
exports.get = __importStar(require("./get"));
|
|
34
|
+
exports.create = __importStar(require("./create"));
|
|
35
|
+
exports.update = __importStar(require("./update"));
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../..";
|
|
5
|
+
export interface GetAllTasksRequest {
|
|
6
|
+
/**
|
|
7
|
+
* Defaults to 100
|
|
8
|
+
*/
|
|
9
|
+
limit?: number;
|
|
10
|
+
pageToken?: CandidApi.PageToken;
|
|
11
|
+
status?: CandidApi.tasks.TaskStatus;
|
|
12
|
+
taskType?: CandidApi.tasks.TaskType;
|
|
13
|
+
/**
|
|
14
|
+
* Only return tasks with categories that match one in this comma-separated list.
|
|
15
|
+
*/
|
|
16
|
+
categories?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Only return tasks updated on or after this date-time
|
|
19
|
+
*/
|
|
20
|
+
updatedSince?: Date;
|
|
21
|
+
/**
|
|
22
|
+
* Only return tasks associated with this encounter
|
|
23
|
+
*/
|
|
24
|
+
encounterId?: CandidApi.EncounterId;
|
|
25
|
+
/**
|
|
26
|
+
* Query tasks by encounter_id, claim_id, task_id, or external_id
|
|
27
|
+
*/
|
|
28
|
+
searchTerm?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Only return tasks assigned to this user
|
|
31
|
+
*/
|
|
32
|
+
assignedToId?: CandidApi.UserId;
|
|
33
|
+
/**
|
|
34
|
+
* The minimum date of service for the linked encounter
|
|
35
|
+
*/
|
|
36
|
+
dateOfServiceMin?: string;
|
|
37
|
+
/**
|
|
38
|
+
* The maximum date of service for the linked encounter
|
|
39
|
+
*/
|
|
40
|
+
dateOfServiceMax?: string;
|
|
41
|
+
/**
|
|
42
|
+
* The NPI of the billing provider associated with the task's claim
|
|
43
|
+
*/
|
|
44
|
+
billingProviderNpi?: string;
|
|
45
|
+
/**
|
|
46
|
+
* Defaults to updated_at:desc
|
|
47
|
+
*/
|
|
48
|
+
sort?: CandidApi.tasks.v3.TaskSortOptions;
|
|
49
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { GetAllTasksRequest } from "./GetAllTasksRequest";
|