candidhealth 0.10.0 → 0.10.1
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/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/api/resources/claimActionsCommons/index.d.ts +1 -0
- package/api/resources/claimActionsCommons/index.js +17 -0
- package/api/resources/claimActionsCommons/types/ClaimAction.d.ts +30 -0
- package/api/resources/claimActionsCommons/types/ClaimAction.js +5 -0
- package/api/resources/claimActionsCommons/types/ClaimActionMetadata.d.ts +23 -0
- package/api/resources/claimActionsCommons/types/ClaimActionMetadata.js +5 -0
- package/api/resources/claimActionsCommons/types/CloseTasksAndProcessClaimAction.d.ts +8 -0
- package/api/resources/claimActionsCommons/types/CloseTasksAndProcessClaimAction.js +5 -0
- package/api/resources/claimActionsCommons/types/CreateTaskConfig.d.ts +21 -0
- package/api/resources/claimActionsCommons/types/CreateTaskConfig.js +5 -0
- package/api/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.d.ts +21 -0
- package/api/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.js +5 -0
- package/api/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.d.ts +14 -0
- package/api/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.js +5 -0
- package/api/resources/claimActionsCommons/types/ResubmitFreshClaimAction.d.ts +8 -0
- package/api/resources/claimActionsCommons/types/ResubmitFreshClaimAction.js +5 -0
- package/api/resources/claimActionsCommons/types/VoidClaimAction.d.ts +8 -0
- package/api/resources/claimActionsCommons/types/VoidClaimAction.js +5 -0
- package/api/resources/claimActionsCommons/types/index.d.ts +8 -0
- package/api/resources/claimActionsCommons/types/index.js +24 -0
- package/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +8 -1
- package/api/resources/claims/types/Claim.d.ts +37 -1
- package/api/resources/claims/types/ClaimStatus.d.ts +2 -1
- package/api/resources/claims/types/ClaimStatus.js +1 -0
- package/api/resources/eligibility/resources/v2/client/Client.js +1 -1
- package/api/resources/encounters/resources/v4/client/Client.js +4 -4
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -1
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +36 -1
- package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +36 -1
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +0 -1
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -2
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +0 -2
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -4
- package/api/resources/expectedNetworkStatus/resources/v2/types/Explanation.d.ts +14 -0
- package/api/resources/expectedNetworkStatus/resources/v2/types/Explanation.js +16 -0
- package/api/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.d.ts +2 -1
- package/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts +1 -2
- package/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +29 -0
- package/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +5 -0
- package/api/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.d.ts +1 -1
- package/api/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +2 -0
- package/api/resources/expectedNetworkStatus/resources/v2/types/index.js +2 -0
- package/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/api/resources/financials/types/AllocationTarget.d.ts +4 -1
- package/api/resources/financials/types/AllocationTargetCreate.d.ts +4 -1
- package/api/resources/financials/types/PatientTransactionSource.d.ts +13 -0
- package/api/resources/financials/types/PatientTransactionSource.js +15 -0
- package/api/resources/financials/types/index.d.ts +1 -0
- package/api/resources/financials/types/index.js +1 -0
- package/api/resources/guarantor/resources/v1/client/Client.d.ts +0 -3
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -6
- package/api/resources/index.d.ts +4 -0
- package/api/resources/index.js +5 -1
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +0 -3
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -6
- package/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +0 -3
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +3 -6
- package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +1 -1
- package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +1 -1
- package/api/resources/jobs/index.d.ts +1 -0
- package/api/resources/jobs/index.js +17 -0
- package/api/resources/jobs/resources/index.d.ts +1 -0
- package/api/resources/jobs/resources/index.js +27 -0
- package/api/resources/jobs/resources/v1/index.d.ts +1 -0
- package/api/resources/jobs/resources/v1/index.js +17 -0
- package/api/resources/jobs/resources/v1/types/ClaimJobMetadata.d.ts +29 -0
- package/api/resources/jobs/resources/v1/types/ClaimJobMetadata.js +5 -0
- package/api/resources/jobs/resources/v1/types/Job.d.ts +53 -0
- package/api/resources/jobs/resources/v1/types/Job.js +5 -0
- package/api/resources/jobs/resources/v1/types/JobGroupId.d.ts +8 -0
- package/api/resources/jobs/resources/v1/types/JobGroupId.js +10 -0
- package/api/resources/jobs/resources/v1/types/JobId.d.ts +8 -0
- package/api/resources/jobs/resources/v1/types/JobId.js +10 -0
- package/api/resources/jobs/resources/v1/types/JobMetadata.d.ts +30 -0
- package/api/resources/jobs/resources/v1/types/JobMetadata.js +5 -0
- package/api/resources/jobs/resources/v1/types/JobStatus.d.ts +16 -0
- package/api/resources/jobs/resources/v1/types/JobStatus.js +12 -0
- package/api/resources/jobs/resources/v1/types/index.d.ts +6 -0
- package/api/resources/jobs/resources/v1/types/index.js +22 -0
- package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/api/resources/patientPayments/resources/v4/client/Client.d.ts +0 -3
- package/api/resources/patientPayments/resources/v4/client/Client.js +3 -6
- package/api/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +2 -1
- package/api/resources/patientRefunds/resources/v1/client/Client.d.ts +0 -3
- package/api/resources/patientRefunds/resources/v1/client/Client.js +3 -6
- package/api/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +2 -1
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/payers/resources/v3/types/PayerIdentifier.d.ts +14 -0
- package/api/resources/payers/resources/v3/types/PayerIdentifier.js +5 -0
- package/api/resources/payers/resources/v3/types/PayerInfo.d.ts +8 -0
- package/api/resources/payers/resources/v3/types/PayerInfo.js +5 -0
- package/api/resources/payers/resources/v3/types/PayerName.d.ts +8 -0
- package/api/resources/payers/resources/v3/types/PayerName.js +10 -0
- package/api/resources/payers/resources/v3/types/index.d.ts +3 -0
- package/api/resources/payers/resources/v3/types/index.js +3 -0
- package/api/resources/tasks/resources/v3/client/Client.d.ts +0 -20
- package/api/resources/tasks/resources/v3/client/Client.js +5 -25
- package/api/resources/users/index.d.ts +1 -0
- package/api/resources/users/index.js +17 -0
- package/api/resources/users/resources/index.d.ts +1 -0
- package/api/resources/users/resources/index.js +27 -0
- package/api/resources/users/resources/v2/index.d.ts +1 -0
- package/api/resources/users/resources/v2/index.js +17 -0
- package/api/resources/users/resources/v2/types/AuthZeroMetadata.d.ts +12 -0
- package/api/resources/users/resources/v2/types/AuthZeroMetadata.js +5 -0
- package/api/resources/users/resources/v2/types/GoogleAppsMetadata.d.ts +6 -0
- package/api/resources/users/resources/v2/types/GoogleAppsMetadata.js +5 -0
- package/api/resources/users/resources/v2/types/HumanUserMetadata.d.ts +14 -0
- package/api/resources/users/resources/v2/types/HumanUserMetadata.js +5 -0
- package/api/resources/users/resources/v2/types/IdpUserMetadata.d.ts +23 -0
- package/api/resources/users/resources/v2/types/IdpUserMetadata.js +5 -0
- package/api/resources/users/resources/v2/types/MachineUserMetadata.d.ts +6 -0
- package/api/resources/users/resources/v2/types/MachineUserMetadata.js +5 -0
- package/api/resources/users/resources/v2/types/OtherIdpMetadata.d.ts +6 -0
- package/api/resources/users/resources/v2/types/OtherIdpMetadata.js +5 -0
- package/api/resources/users/resources/v2/types/UserMetadata.d.ts +21 -0
- package/api/resources/users/resources/v2/types/UserMetadata.js +5 -0
- package/api/resources/users/resources/v2/types/UserV2.d.ts +28 -0
- package/api/resources/users/resources/v2/types/UserV2.js +5 -0
- package/api/resources/users/resources/v2/types/index.d.ts +8 -0
- package/api/resources/users/resources/v2/types/index.js +24 -0
- package/api/resources/writeOffs/resources/v1/client/Client.d.ts +1 -4
- package/api/resources/writeOffs/resources/v1/client/Client.js +4 -7
- package/api/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.d.ts +7 -0
- package/api/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.js +5 -0
- package/api/resources/writeOffs/resources/v1/types/WriteOff.d.ts +2 -1
- package/api/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +2 -1
- package/api/resources/writeOffs/resources/v1/types/index.d.ts +1 -0
- package/api/resources/writeOffs/resources/v1/types/index.js +1 -0
- 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/claimActionsCommons/index.d.ts +1 -0
- package/dist/api/resources/claimActionsCommons/index.js +17 -0
- package/dist/api/resources/claimActionsCommons/types/ClaimAction.d.ts +30 -0
- package/dist/api/resources/claimActionsCommons/types/ClaimAction.js +5 -0
- package/dist/api/resources/claimActionsCommons/types/ClaimActionMetadata.d.ts +23 -0
- package/dist/api/resources/claimActionsCommons/types/ClaimActionMetadata.js +5 -0
- package/dist/api/resources/claimActionsCommons/types/CloseTasksAndProcessClaimAction.d.ts +8 -0
- package/dist/api/resources/claimActionsCommons/types/CloseTasksAndProcessClaimAction.js +5 -0
- package/dist/api/resources/claimActionsCommons/types/CreateTaskConfig.d.ts +21 -0
- package/dist/api/resources/claimActionsCommons/types/CreateTaskConfig.js +5 -0
- package/dist/api/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.d.ts +21 -0
- package/dist/api/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.js +5 -0
- package/dist/api/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.d.ts +14 -0
- package/dist/api/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.js +5 -0
- package/dist/api/resources/claimActionsCommons/types/ResubmitFreshClaimAction.d.ts +8 -0
- package/dist/api/resources/claimActionsCommons/types/ResubmitFreshClaimAction.js +5 -0
- package/dist/api/resources/claimActionsCommons/types/VoidClaimAction.d.ts +8 -0
- package/dist/api/resources/claimActionsCommons/types/VoidClaimAction.js +5 -0
- package/dist/api/resources/claimActionsCommons/types/index.d.ts +8 -0
- package/dist/api/resources/claimActionsCommons/types/index.js +24 -0
- package/dist/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +8 -1
- package/dist/api/resources/claims/types/Claim.d.ts +37 -1
- package/dist/api/resources/claims/types/ClaimStatus.d.ts +2 -1
- package/dist/api/resources/claims/types/ClaimStatus.js +1 -0
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -1
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +36 -1
- package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +36 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +0 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -2
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +0 -2
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -4
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/Explanation.d.ts +14 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/Explanation.js +16 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.d.ts +2 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts +1 -2
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +29 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +5 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.d.ts +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +2 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/index.js +2 -0
- package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/dist/api/resources/financials/types/AllocationTarget.d.ts +4 -1
- package/dist/api/resources/financials/types/AllocationTargetCreate.d.ts +4 -1
- package/dist/api/resources/financials/types/PatientTransactionSource.d.ts +13 -0
- package/dist/api/resources/financials/types/PatientTransactionSource.js +15 -0
- package/dist/api/resources/financials/types/index.d.ts +1 -0
- package/dist/api/resources/financials/types/index.js +1 -0
- package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +0 -3
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -6
- package/dist/api/resources/index.d.ts +4 -0
- package/dist/api/resources/index.js +5 -1
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +0 -3
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -6
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +0 -3
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +3 -6
- package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +1 -1
- package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +1 -1
- package/dist/api/resources/jobs/index.d.ts +1 -0
- package/dist/api/resources/jobs/index.js +17 -0
- package/dist/api/resources/jobs/resources/index.d.ts +1 -0
- package/dist/api/resources/jobs/resources/index.js +27 -0
- package/dist/api/resources/jobs/resources/v1/index.d.ts +1 -0
- package/dist/api/resources/jobs/resources/v1/index.js +17 -0
- package/dist/api/resources/jobs/resources/v1/types/ClaimJobMetadata.d.ts +29 -0
- package/dist/api/resources/jobs/resources/v1/types/ClaimJobMetadata.js +5 -0
- package/dist/api/resources/jobs/resources/v1/types/Job.d.ts +53 -0
- package/dist/api/resources/jobs/resources/v1/types/Job.js +5 -0
- package/dist/api/resources/jobs/resources/v1/types/JobGroupId.d.ts +8 -0
- package/dist/api/resources/jobs/resources/v1/types/JobGroupId.js +10 -0
- package/dist/api/resources/jobs/resources/v1/types/JobId.d.ts +8 -0
- package/dist/api/resources/jobs/resources/v1/types/JobId.js +10 -0
- package/dist/api/resources/jobs/resources/v1/types/JobMetadata.d.ts +30 -0
- package/dist/api/resources/jobs/resources/v1/types/JobMetadata.js +5 -0
- package/dist/api/resources/jobs/resources/v1/types/JobStatus.d.ts +16 -0
- package/dist/api/resources/jobs/resources/v1/types/JobStatus.js +12 -0
- package/dist/api/resources/jobs/resources/v1/types/index.d.ts +6 -0
- package/dist/api/resources/jobs/resources/v1/types/index.js +22 -0
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/patientPayments/resources/v4/client/Client.d.ts +0 -3
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +3 -6
- package/dist/api/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +2 -1
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.d.ts +0 -3
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +3 -6
- package/dist/api/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +2 -1
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/payers/resources/v3/types/PayerIdentifier.d.ts +14 -0
- package/dist/api/resources/payers/resources/v3/types/PayerIdentifier.js +5 -0
- package/dist/api/resources/payers/resources/v3/types/PayerInfo.d.ts +8 -0
- package/dist/api/resources/payers/resources/v3/types/PayerInfo.js +5 -0
- package/dist/api/resources/payers/resources/v3/types/PayerName.d.ts +8 -0
- package/dist/api/resources/payers/resources/v3/types/PayerName.js +10 -0
- package/dist/api/resources/payers/resources/v3/types/index.d.ts +3 -0
- package/dist/api/resources/payers/resources/v3/types/index.js +3 -0
- package/dist/api/resources/tasks/resources/v3/client/Client.d.ts +0 -20
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -25
- package/dist/api/resources/users/index.d.ts +1 -0
- package/dist/api/resources/users/index.js +17 -0
- package/dist/api/resources/users/resources/index.d.ts +1 -0
- package/dist/api/resources/users/resources/index.js +27 -0
- package/dist/api/resources/users/resources/v2/index.d.ts +1 -0
- package/dist/api/resources/users/resources/v2/index.js +17 -0
- package/dist/api/resources/users/resources/v2/types/AuthZeroMetadata.d.ts +12 -0
- package/dist/api/resources/users/resources/v2/types/AuthZeroMetadata.js +5 -0
- package/dist/api/resources/users/resources/v2/types/GoogleAppsMetadata.d.ts +6 -0
- package/dist/api/resources/users/resources/v2/types/GoogleAppsMetadata.js +5 -0
- package/dist/api/resources/users/resources/v2/types/HumanUserMetadata.d.ts +14 -0
- package/dist/api/resources/users/resources/v2/types/HumanUserMetadata.js +5 -0
- package/dist/api/resources/users/resources/v2/types/IdpUserMetadata.d.ts +23 -0
- package/dist/api/resources/users/resources/v2/types/IdpUserMetadata.js +5 -0
- package/dist/api/resources/users/resources/v2/types/MachineUserMetadata.d.ts +6 -0
- package/dist/api/resources/users/resources/v2/types/MachineUserMetadata.js +5 -0
- package/dist/api/resources/users/resources/v2/types/OtherIdpMetadata.d.ts +6 -0
- package/dist/api/resources/users/resources/v2/types/OtherIdpMetadata.js +5 -0
- package/dist/api/resources/users/resources/v2/types/UserMetadata.d.ts +21 -0
- package/dist/api/resources/users/resources/v2/types/UserMetadata.js +5 -0
- package/dist/api/resources/users/resources/v2/types/UserV2.d.ts +28 -0
- package/dist/api/resources/users/resources/v2/types/UserV2.js +5 -0
- package/dist/api/resources/users/resources/v2/types/index.d.ts +8 -0
- package/dist/api/resources/users/resources/v2/types/index.js +24 -0
- package/dist/api/resources/writeOffs/resources/v1/client/Client.d.ts +1 -4
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -7
- package/dist/api/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.d.ts +7 -0
- package/dist/api/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.js +5 -0
- package/dist/api/resources/writeOffs/resources/v1/types/WriteOff.d.ts +2 -1
- package/dist/api/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +2 -1
- package/dist/api/resources/writeOffs/resources/v1/types/index.d.ts +1 -0
- package/dist/api/resources/writeOffs/resources/v1/types/index.js +1 -0
- package/dist/serialization/resources/claimActionsCommons/index.d.ts +1 -0
- package/dist/serialization/resources/claimActionsCommons/index.js +17 -0
- package/dist/serialization/resources/claimActionsCommons/types/ClaimAction.d.ts +25 -0
- package/dist/serialization/resources/claimActionsCommons/types/ClaimAction.js +42 -0
- package/dist/serialization/resources/claimActionsCommons/types/ClaimActionMetadata.d.ts +16 -0
- package/dist/serialization/resources/claimActionsCommons/types/ClaimActionMetadata.js +37 -0
- package/dist/serialization/resources/claimActionsCommons/types/CloseTasksAndProcessClaimAction.d.ts +11 -0
- package/dist/serialization/resources/claimActionsCommons/types/CloseTasksAndProcessClaimAction.js +31 -0
- package/dist/serialization/resources/claimActionsCommons/types/CreateTaskConfig.d.ts +16 -0
- package/dist/serialization/resources/claimActionsCommons/types/CreateTaskConfig.js +37 -0
- package/dist/serialization/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.d.ts +13 -0
- package/dist/serialization/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.js +34 -0
- package/dist/serialization/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.d.ts +12 -0
- package/dist/serialization/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.js +33 -0
- package/dist/serialization/resources/claimActionsCommons/types/ResubmitFreshClaimAction.d.ts +11 -0
- package/dist/serialization/resources/claimActionsCommons/types/ResubmitFreshClaimAction.js +31 -0
- package/dist/serialization/resources/claimActionsCommons/types/VoidClaimAction.d.ts +11 -0
- package/dist/serialization/resources/claimActionsCommons/types/VoidClaimAction.js +31 -0
- package/dist/serialization/resources/claimActionsCommons/types/index.d.ts +8 -0
- package/dist/serialization/resources/claimActionsCommons/types/index.js +24 -0
- package/dist/serialization/resources/claims/types/Claim.d.ts +1 -0
- package/dist/serialization/resources/claims/types/Claim.js +1 -0
- package/dist/serialization/resources/claims/types/ClaimStatus.d.ts +1 -1
- package/dist/serialization/resources/claims/types/ClaimStatus.js +1 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/Explanation.d.ts +10 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/Explanation.js +40 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.d.ts +2 -1
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.js +2 -1
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts +1 -1
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.js +1 -1
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +20 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +42 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.d.ts +1 -1
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.js +1 -1
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +2 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/index.js +2 -0
- package/dist/serialization/resources/financials/types/AllocationTarget.d.ts +4 -1
- package/dist/serialization/resources/financials/types/AllocationTarget.js +1 -0
- package/dist/serialization/resources/financials/types/AllocationTargetCreate.d.ts +4 -1
- package/dist/serialization/resources/financials/types/AllocationTargetCreate.js +1 -0
- package/dist/serialization/resources/financials/types/PatientTransactionSource.d.ts +10 -0
- package/dist/serialization/resources/financials/types/PatientTransactionSource.js +31 -0
- package/dist/serialization/resources/financials/types/index.d.ts +1 -0
- package/dist/serialization/resources/financials/types/index.js +1 -0
- package/dist/serialization/resources/index.d.ts +4 -0
- package/dist/serialization/resources/index.js +5 -1
- package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +1 -1
- package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.js +1 -1
- package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +1 -1
- package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.js +1 -1
- package/dist/serialization/resources/jobs/index.d.ts +1 -0
- package/dist/serialization/resources/jobs/index.js +17 -0
- package/dist/serialization/resources/jobs/resources/index.d.ts +1 -0
- package/dist/serialization/resources/jobs/resources/index.js +27 -0
- package/dist/serialization/resources/jobs/resources/v1/index.d.ts +1 -0
- package/dist/serialization/resources/jobs/resources/v1/index.js +17 -0
- package/dist/serialization/resources/jobs/resources/v1/types/ClaimJobMetadata.d.ts +15 -0
- package/dist/serialization/resources/jobs/resources/v1/types/ClaimJobMetadata.js +36 -0
- package/dist/serialization/resources/jobs/resources/v1/types/Job.d.ts +18 -0
- package/dist/serialization/resources/jobs/resources/v1/types/Job.js +39 -0
- package/dist/serialization/resources/jobs/resources/v1/types/JobGroupId.d.ts +10 -0
- package/dist/serialization/resources/jobs/resources/v1/types/JobGroupId.js +35 -0
- package/dist/serialization/resources/jobs/resources/v1/types/JobId.d.ts +10 -0
- package/dist/serialization/resources/jobs/resources/v1/types/JobId.js +35 -0
- package/dist/serialization/resources/jobs/resources/v1/types/JobMetadata.d.ts +13 -0
- package/dist/serialization/resources/jobs/resources/v1/types/JobMetadata.js +38 -0
- package/dist/serialization/resources/jobs/resources/v1/types/JobStatus.d.ts +10 -0
- package/dist/serialization/resources/{writeOffs/resources/v1/client/create.js → jobs/resources/v1/types/JobStatus.js} +2 -2
- package/dist/serialization/resources/jobs/resources/v1/types/index.d.ts +6 -0
- package/dist/serialization/resources/jobs/resources/v1/types/index.js +22 -0
- package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +2 -1
- package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPayment.js +2 -1
- package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +2 -1
- package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.js +2 -1
- package/dist/serialization/resources/payers/resources/v3/types/PayerIdentifier.d.ts +17 -0
- package/dist/serialization/resources/payers/resources/v3/types/PayerIdentifier.js +41 -0
- package/dist/serialization/resources/payers/resources/v3/types/PayerInfo.d.ts +13 -0
- package/dist/serialization/resources/payers/resources/v3/types/PayerInfo.js +34 -0
- package/dist/serialization/resources/payers/resources/v3/types/PayerName.d.ts +10 -0
- package/dist/serialization/resources/payers/resources/v3/types/PayerName.js +35 -0
- package/dist/serialization/resources/payers/resources/v3/types/index.d.ts +3 -0
- package/dist/serialization/resources/payers/resources/v3/types/index.js +3 -0
- package/dist/serialization/resources/users/index.d.ts +1 -0
- package/dist/serialization/resources/users/index.js +17 -0
- package/dist/serialization/resources/users/resources/index.d.ts +1 -0
- package/dist/serialization/resources/users/resources/index.js +27 -0
- package/dist/serialization/resources/users/resources/v2/index.d.ts +1 -0
- package/dist/serialization/resources/users/resources/v2/index.js +17 -0
- package/dist/serialization/resources/users/resources/v2/types/AuthZeroMetadata.d.ts +12 -0
- package/{serialization/resources/writeOffs/resources/v1/client/create.js → dist/serialization/resources/users/resources/v2/types/AuthZeroMetadata.js} +4 -2
- package/dist/serialization/resources/users/resources/v2/types/GoogleAppsMetadata.d.ts +12 -0
- package/dist/serialization/resources/users/resources/v2/types/GoogleAppsMetadata.js +33 -0
- package/dist/serialization/resources/users/resources/v2/types/HumanUserMetadata.d.ts +13 -0
- package/dist/serialization/resources/users/resources/v2/types/HumanUserMetadata.js +34 -0
- package/dist/serialization/resources/users/resources/v2/types/IdpUserMetadata.d.ts +19 -0
- package/dist/serialization/resources/users/resources/v2/types/IdpUserMetadata.js +40 -0
- package/dist/serialization/resources/users/resources/v2/types/MachineUserMetadata.d.ts +12 -0
- package/dist/serialization/resources/users/resources/v2/types/MachineUserMetadata.js +33 -0
- package/dist/serialization/resources/users/resources/v2/types/OtherIdpMetadata.d.ts +12 -0
- package/dist/serialization/resources/users/resources/v2/types/OtherIdpMetadata.js +33 -0
- package/dist/serialization/resources/users/resources/v2/types/UserMetadata.d.ts +16 -0
- package/dist/serialization/resources/users/resources/v2/types/UserMetadata.js +39 -0
- package/dist/serialization/resources/users/resources/v2/types/UserV2.d.ts +16 -0
- package/dist/serialization/resources/users/resources/v2/types/UserV2.js +37 -0
- package/dist/serialization/resources/users/resources/v2/types/index.d.ts +8 -0
- package/dist/serialization/resources/users/resources/v2/types/index.js +24 -0
- package/dist/serialization/resources/writeOffs/resources/v1/client/index.d.ts +0 -1
- package/dist/serialization/resources/writeOffs/resources/v1/client/index.js +0 -14
- package/dist/serialization/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.d.ts +12 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.js +33 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOff.d.ts +2 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOff.js +2 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +2 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.js +2 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/index.d.ts +1 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/index.js +1 -0
- package/package.json +1 -1
- package/serialization/resources/claimActionsCommons/index.d.ts +1 -0
- package/serialization/resources/claimActionsCommons/index.js +17 -0
- package/serialization/resources/claimActionsCommons/types/ClaimAction.d.ts +25 -0
- package/serialization/resources/claimActionsCommons/types/ClaimAction.js +42 -0
- package/serialization/resources/claimActionsCommons/types/ClaimActionMetadata.d.ts +16 -0
- package/serialization/resources/claimActionsCommons/types/ClaimActionMetadata.js +37 -0
- package/serialization/resources/claimActionsCommons/types/CloseTasksAndProcessClaimAction.d.ts +11 -0
- package/serialization/resources/claimActionsCommons/types/CloseTasksAndProcessClaimAction.js +31 -0
- package/serialization/resources/claimActionsCommons/types/CreateTaskConfig.d.ts +16 -0
- package/serialization/resources/claimActionsCommons/types/CreateTaskConfig.js +37 -0
- package/serialization/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.d.ts +13 -0
- package/serialization/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.js +34 -0
- package/serialization/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.d.ts +12 -0
- package/serialization/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.js +33 -0
- package/serialization/resources/claimActionsCommons/types/ResubmitFreshClaimAction.d.ts +11 -0
- package/serialization/resources/claimActionsCommons/types/ResubmitFreshClaimAction.js +31 -0
- package/serialization/resources/claimActionsCommons/types/VoidClaimAction.d.ts +11 -0
- package/serialization/resources/claimActionsCommons/types/VoidClaimAction.js +31 -0
- package/serialization/resources/claimActionsCommons/types/index.d.ts +8 -0
- package/serialization/resources/claimActionsCommons/types/index.js +24 -0
- package/serialization/resources/claims/types/Claim.d.ts +1 -0
- package/serialization/resources/claims/types/Claim.js +1 -0
- package/serialization/resources/claims/types/ClaimStatus.d.ts +1 -1
- package/serialization/resources/claims/types/ClaimStatus.js +1 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/Explanation.d.ts +10 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/Explanation.js +40 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.d.ts +2 -1
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.js +2 -1
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts +1 -1
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.js +1 -1
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +20 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +42 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.d.ts +1 -1
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.js +1 -1
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +2 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/index.js +2 -0
- package/serialization/resources/financials/types/AllocationTarget.d.ts +4 -1
- package/serialization/resources/financials/types/AllocationTarget.js +1 -0
- package/serialization/resources/financials/types/AllocationTargetCreate.d.ts +4 -1
- package/serialization/resources/financials/types/AllocationTargetCreate.js +1 -0
- package/serialization/resources/financials/types/PatientTransactionSource.d.ts +10 -0
- package/serialization/resources/financials/types/PatientTransactionSource.js +31 -0
- package/serialization/resources/financials/types/index.d.ts +1 -0
- package/serialization/resources/financials/types/index.js +1 -0
- package/serialization/resources/index.d.ts +4 -0
- package/serialization/resources/index.js +5 -1
- package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +1 -1
- package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.js +1 -1
- package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +1 -1
- package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.js +1 -1
- package/serialization/resources/jobs/index.d.ts +1 -0
- package/serialization/resources/jobs/index.js +17 -0
- package/serialization/resources/jobs/resources/index.d.ts +1 -0
- package/serialization/resources/jobs/resources/index.js +27 -0
- package/serialization/resources/jobs/resources/v1/index.d.ts +1 -0
- package/serialization/resources/jobs/resources/v1/index.js +17 -0
- package/serialization/resources/jobs/resources/v1/types/ClaimJobMetadata.d.ts +15 -0
- package/serialization/resources/jobs/resources/v1/types/ClaimJobMetadata.js +36 -0
- package/serialization/resources/jobs/resources/v1/types/Job.d.ts +18 -0
- package/serialization/resources/jobs/resources/v1/types/Job.js +39 -0
- package/serialization/resources/jobs/resources/v1/types/JobGroupId.d.ts +10 -0
- package/serialization/resources/jobs/resources/v1/types/JobGroupId.js +35 -0
- package/serialization/resources/jobs/resources/v1/types/JobId.d.ts +10 -0
- package/serialization/resources/jobs/resources/v1/types/JobId.js +35 -0
- package/serialization/resources/jobs/resources/v1/types/JobMetadata.d.ts +13 -0
- package/serialization/resources/jobs/resources/v1/types/JobMetadata.js +38 -0
- package/serialization/resources/jobs/resources/v1/types/JobStatus.d.ts +10 -0
- package/serialization/resources/jobs/resources/v1/types/JobStatus.js +31 -0
- package/serialization/resources/jobs/resources/v1/types/index.d.ts +6 -0
- package/serialization/resources/jobs/resources/v1/types/index.js +22 -0
- package/serialization/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +2 -1
- package/serialization/resources/patientPayments/resources/v4/types/PatientPayment.js +2 -1
- package/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +2 -1
- package/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.js +2 -1
- package/serialization/resources/payers/resources/v3/types/PayerIdentifier.d.ts +17 -0
- package/serialization/resources/payers/resources/v3/types/PayerIdentifier.js +41 -0
- package/serialization/resources/payers/resources/v3/types/PayerInfo.d.ts +13 -0
- package/serialization/resources/payers/resources/v3/types/PayerInfo.js +34 -0
- package/serialization/resources/payers/resources/v3/types/PayerName.d.ts +10 -0
- package/serialization/resources/payers/resources/v3/types/PayerName.js +35 -0
- package/serialization/resources/payers/resources/v3/types/index.d.ts +3 -0
- package/serialization/resources/payers/resources/v3/types/index.js +3 -0
- package/serialization/resources/users/index.d.ts +1 -0
- package/serialization/resources/users/index.js +17 -0
- package/serialization/resources/users/resources/index.d.ts +1 -0
- package/serialization/resources/users/resources/index.js +27 -0
- package/serialization/resources/users/resources/v2/index.d.ts +1 -0
- package/serialization/resources/users/resources/v2/index.js +17 -0
- package/serialization/resources/users/resources/v2/types/AuthZeroMetadata.d.ts +12 -0
- package/serialization/resources/users/resources/v2/types/AuthZeroMetadata.js +33 -0
- package/serialization/resources/users/resources/v2/types/GoogleAppsMetadata.d.ts +12 -0
- package/serialization/resources/users/resources/v2/types/GoogleAppsMetadata.js +33 -0
- package/serialization/resources/users/resources/v2/types/HumanUserMetadata.d.ts +13 -0
- package/serialization/resources/users/resources/v2/types/HumanUserMetadata.js +34 -0
- package/serialization/resources/users/resources/v2/types/IdpUserMetadata.d.ts +19 -0
- package/serialization/resources/users/resources/v2/types/IdpUserMetadata.js +40 -0
- package/serialization/resources/users/resources/v2/types/MachineUserMetadata.d.ts +12 -0
- package/serialization/resources/users/resources/v2/types/MachineUserMetadata.js +33 -0
- package/serialization/resources/users/resources/v2/types/OtherIdpMetadata.d.ts +12 -0
- package/serialization/resources/users/resources/v2/types/OtherIdpMetadata.js +33 -0
- package/serialization/resources/users/resources/v2/types/UserMetadata.d.ts +16 -0
- package/serialization/resources/users/resources/v2/types/UserMetadata.js +39 -0
- package/serialization/resources/users/resources/v2/types/UserV2.d.ts +16 -0
- package/serialization/resources/users/resources/v2/types/UserV2.js +37 -0
- package/serialization/resources/users/resources/v2/types/index.d.ts +8 -0
- package/serialization/resources/users/resources/v2/types/index.js +24 -0
- package/serialization/resources/writeOffs/resources/v1/client/index.d.ts +0 -1
- package/serialization/resources/writeOffs/resources/v1/client/index.js +0 -14
- package/serialization/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.d.ts +12 -0
- package/serialization/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.js +33 -0
- package/serialization/resources/writeOffs/resources/v1/types/WriteOff.d.ts +2 -1
- package/serialization/resources/writeOffs/resources/v1/types/WriteOff.js +2 -1
- package/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +2 -1
- package/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.js +2 -1
- package/serialization/resources/writeOffs/resources/v1/types/index.d.ts +1 -0
- package/serialization/resources/writeOffs/resources/v1/types/index.js +1 -0
- package/dist/serialization/resources/writeOffs/resources/v1/client/create.d.ts +0 -10
- package/serialization/resources/writeOffs/resources/v1/client/create.d.ts +0 -10
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../..";
|
|
5
|
+
export declare type JobGroupId = string & {
|
|
6
|
+
jobs_v1_JobGroupId: void;
|
|
7
|
+
};
|
|
8
|
+
export declare function JobGroupId(value: string): CandidApi.jobs.v1.JobGroupId;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.JobGroupId = void 0;
|
|
7
|
+
function JobGroupId(value) {
|
|
8
|
+
return value;
|
|
9
|
+
}
|
|
10
|
+
exports.JobGroupId = JobGroupId;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../..";
|
|
5
|
+
/**
|
|
6
|
+
* Metadata for a job
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* {
|
|
10
|
+
* type: "claim_job_metadata",
|
|
11
|
+
* action: {
|
|
12
|
+
* type: "resubmit_fresh_claim_action"
|
|
13
|
+
* },
|
|
14
|
+
* workQueueId: CandidApi.WorkQueueId("1503a782-35f6-45a7-b5c3-53ca2ebe8887"),
|
|
15
|
+
* claimId: CandidApi.ClaimId("92215dff-4a79-4dd7-af02-59c16f99cdba"),
|
|
16
|
+
* claimMetadata: {
|
|
17
|
+
* encounterId: CandidApi.EncounterId("2132a68b-7acb-46c2-ba93-852b5daa1f98"),
|
|
18
|
+
* patientFirstName: "John",
|
|
19
|
+
* patientLastName: "Doe",
|
|
20
|
+
* dateOfService: "2021-01-01",
|
|
21
|
+
* claimStatus: CandidApi.ClaimStatus.Paid
|
|
22
|
+
* }
|
|
23
|
+
* }
|
|
24
|
+
*/
|
|
25
|
+
export declare type JobMetadata = CandidApi.jobs.v1.JobMetadata.ClaimJobMetadata;
|
|
26
|
+
export declare namespace JobMetadata {
|
|
27
|
+
interface ClaimJobMetadata extends CandidApi.jobs.v1.ClaimJobMetadata {
|
|
28
|
+
type: "claim_job_metadata";
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Status of a job
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* CandidApi.jobs.v1.JobStatus.Queued
|
|
9
|
+
*/
|
|
10
|
+
export declare type JobStatus = "SUCCEEDED" | "FAILED" | "QUEUED" | "IN_PROGRESS";
|
|
11
|
+
export declare const JobStatus: {
|
|
12
|
+
readonly Succeeded: "SUCCEEDED";
|
|
13
|
+
readonly Failed: "FAILED";
|
|
14
|
+
readonly Queued: "QUEUED";
|
|
15
|
+
readonly InProgress: "IN_PROGRESS";
|
|
16
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.JobStatus = void 0;
|
|
7
|
+
exports.JobStatus = {
|
|
8
|
+
Succeeded: "SUCCEEDED",
|
|
9
|
+
Failed: "FAILED",
|
|
10
|
+
Queued: "QUEUED",
|
|
11
|
+
InProgress: "IN_PROGRESS",
|
|
12
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./JobId"), exports);
|
|
18
|
+
__exportStar(require("./JobGroupId"), exports);
|
|
19
|
+
__exportStar(require("./JobStatus"), exports);
|
|
20
|
+
__exportStar(require("./ClaimJobMetadata"), exports);
|
|
21
|
+
__exportStar(require("./JobMetadata"), exports);
|
|
22
|
+
__exportStar(require("./Job"), exports);
|
|
@@ -49,7 +49,7 @@ class V3 {
|
|
|
49
49
|
Authorization: await this._getAuthorizationHeader(),
|
|
50
50
|
"X-Fern-Language": "JavaScript",
|
|
51
51
|
"X-Fern-SDK-Name": "candidhealth",
|
|
52
|
-
"X-Fern-SDK-Version": "0.10.
|
|
52
|
+
"X-Fern-SDK-Version": "0.10.1",
|
|
53
53
|
},
|
|
54
54
|
contentType: "application/json",
|
|
55
55
|
timeoutMs: 60000,
|
|
@@ -115,7 +115,7 @@ class V3 {
|
|
|
115
115
|
Authorization: await this._getAuthorizationHeader(),
|
|
116
116
|
"X-Fern-Language": "JavaScript",
|
|
117
117
|
"X-Fern-SDK-Name": "candidhealth",
|
|
118
|
-
"X-Fern-SDK-Version": "0.10.
|
|
118
|
+
"X-Fern-SDK-Version": "0.10.1",
|
|
119
119
|
},
|
|
120
120
|
contentType: "application/json",
|
|
121
121
|
queryParameters: _queryParams,
|
|
@@ -145,7 +145,7 @@ class V3 {
|
|
|
145
145
|
Authorization: await this._getAuthorizationHeader(),
|
|
146
146
|
"X-Fern-Language": "JavaScript",
|
|
147
147
|
"X-Fern-SDK-Name": "candidhealth",
|
|
148
|
-
"X-Fern-SDK-Version": "0.10.
|
|
148
|
+
"X-Fern-SDK-Version": "0.10.1",
|
|
149
149
|
},
|
|
150
150
|
contentType: "application/json",
|
|
151
151
|
body: await serializers.organizationProviders.v3.OrganizationProviderCreateV2.jsonOrThrow(request, {
|
|
@@ -192,7 +192,7 @@ class V3 {
|
|
|
192
192
|
Authorization: await this._getAuthorizationHeader(),
|
|
193
193
|
"X-Fern-Language": "JavaScript",
|
|
194
194
|
"X-Fern-SDK-Name": "candidhealth",
|
|
195
|
-
"X-Fern-SDK-Version": "0.10.
|
|
195
|
+
"X-Fern-SDK-Version": "0.10.1",
|
|
196
196
|
},
|
|
197
197
|
contentType: "application/json",
|
|
198
198
|
body: await serializers.organizationProviders.v3.OrganizationProviderUpdateV2.jsonOrThrow(request, {
|
|
@@ -49,7 +49,7 @@ class V2 {
|
|
|
49
49
|
Authorization: await this._getAuthorizationHeader(),
|
|
50
50
|
"X-Fern-Language": "JavaScript",
|
|
51
51
|
"X-Fern-SDK-Name": "candidhealth",
|
|
52
|
-
"X-Fern-SDK-Version": "0.10.
|
|
52
|
+
"X-Fern-SDK-Version": "0.10.1",
|
|
53
53
|
},
|
|
54
54
|
contentType: "application/json",
|
|
55
55
|
timeoutMs: 60000,
|
|
@@ -103,7 +103,7 @@ class V2 {
|
|
|
103
103
|
Authorization: await this._getAuthorizationHeader(),
|
|
104
104
|
"X-Fern-Language": "JavaScript",
|
|
105
105
|
"X-Fern-SDK-Name": "candidhealth",
|
|
106
|
-
"X-Fern-SDK-Version": "0.10.
|
|
106
|
+
"X-Fern-SDK-Version": "0.10.1",
|
|
107
107
|
},
|
|
108
108
|
contentType: "application/json",
|
|
109
109
|
queryParameters: _queryParams,
|
|
@@ -133,7 +133,7 @@ class V2 {
|
|
|
133
133
|
Authorization: await this._getAuthorizationHeader(),
|
|
134
134
|
"X-Fern-Language": "JavaScript",
|
|
135
135
|
"X-Fern-SDK-Name": "candidhealth",
|
|
136
|
-
"X-Fern-SDK-Version": "0.10.
|
|
136
|
+
"X-Fern-SDK-Version": "0.10.1",
|
|
137
137
|
},
|
|
138
138
|
contentType: "application/json",
|
|
139
139
|
body: await serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -177,7 +177,7 @@ class V2 {
|
|
|
177
177
|
Authorization: await this._getAuthorizationHeader(),
|
|
178
178
|
"X-Fern-Language": "JavaScript",
|
|
179
179
|
"X-Fern-SDK-Name": "candidhealth",
|
|
180
|
-
"X-Fern-SDK-Version": "0.10.
|
|
180
|
+
"X-Fern-SDK-Version": "0.10.1",
|
|
181
181
|
},
|
|
182
182
|
contentType: "application/json",
|
|
183
183
|
body: await serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -222,7 +222,7 @@ class V2 {
|
|
|
222
222
|
Authorization: await this._getAuthorizationHeader(),
|
|
223
223
|
"X-Fern-Language": "JavaScript",
|
|
224
224
|
"X-Fern-SDK-Name": "candidhealth",
|
|
225
|
-
"X-Fern-SDK-Version": "0.10.
|
|
225
|
+
"X-Fern-SDK-Version": "0.10.1",
|
|
226
226
|
},
|
|
227
227
|
contentType: "application/json",
|
|
228
228
|
timeoutMs: 60000,
|
|
@@ -14,13 +14,11 @@ export declare class V4 {
|
|
|
14
14
|
protected readonly options: V4.Options;
|
|
15
15
|
constructor(options: V4.Options);
|
|
16
16
|
/**
|
|
17
|
-
* **This endpoint is incubating.**
|
|
18
17
|
* Retrieves a previously created patient payment by its `patient_payment_id`.
|
|
19
18
|
*
|
|
20
19
|
*/
|
|
21
20
|
get(patientPaymentId: CandidApi.patientPayments.v4.PatientPaymentId): Promise<core.APIResponse<CandidApi.patientPayments.v4.PatientPayment, CandidApi.patientPayments.v4.get.Error>>;
|
|
22
21
|
/**
|
|
23
|
-
* **This endpoint is incubating.**
|
|
24
22
|
* Creates a new patient payment record and returns the newly created PatientPayment object.
|
|
25
23
|
* The allocations can describe whether the payment is being applied toward a specific service line,
|
|
26
24
|
* claim, or billing provider.
|
|
@@ -28,7 +26,6 @@ export declare class V4 {
|
|
|
28
26
|
*/
|
|
29
27
|
create(request: CandidApi.patientPayments.v4.PatientPaymentCreate): Promise<core.APIResponse<CandidApi.patientPayments.v4.PatientPayment, CandidApi.patientPayments.v4.create.Error>>;
|
|
30
28
|
/**
|
|
31
|
-
* **This endpoint is incubating.**
|
|
32
29
|
* Deletes the patient payment record matching the provided patient_payment_id.
|
|
33
30
|
*
|
|
34
31
|
*/
|
|
@@ -41,7 +41,6 @@ class V4 {
|
|
|
41
41
|
this.options = options;
|
|
42
42
|
}
|
|
43
43
|
/**
|
|
44
|
-
* **This endpoint is incubating.**
|
|
45
44
|
* Retrieves a previously created patient payment by its `patient_payment_id`.
|
|
46
45
|
*
|
|
47
46
|
*/
|
|
@@ -53,7 +52,7 @@ class V4 {
|
|
|
53
52
|
Authorization: await this._getAuthorizationHeader(),
|
|
54
53
|
"X-Fern-Language": "JavaScript",
|
|
55
54
|
"X-Fern-SDK-Name": "candidhealth",
|
|
56
|
-
"X-Fern-SDK-Version": "0.10.
|
|
55
|
+
"X-Fern-SDK-Version": "0.10.1",
|
|
57
56
|
},
|
|
58
57
|
contentType: "application/json",
|
|
59
58
|
timeoutMs: 60000,
|
|
@@ -75,7 +74,6 @@ class V4 {
|
|
|
75
74
|
};
|
|
76
75
|
}
|
|
77
76
|
/**
|
|
78
|
-
* **This endpoint is incubating.**
|
|
79
77
|
* Creates a new patient payment record and returns the newly created PatientPayment object.
|
|
80
78
|
* The allocations can describe whether the payment is being applied toward a specific service line,
|
|
81
79
|
* claim, or billing provider.
|
|
@@ -89,7 +87,7 @@ class V4 {
|
|
|
89
87
|
Authorization: await this._getAuthorizationHeader(),
|
|
90
88
|
"X-Fern-Language": "JavaScript",
|
|
91
89
|
"X-Fern-SDK-Name": "candidhealth",
|
|
92
|
-
"X-Fern-SDK-Version": "0.10.
|
|
90
|
+
"X-Fern-SDK-Version": "0.10.1",
|
|
93
91
|
},
|
|
94
92
|
contentType: "application/json",
|
|
95
93
|
body: await serializers.patientPayments.v4.PatientPaymentCreate.jsonOrThrow(request, {
|
|
@@ -114,7 +112,6 @@ class V4 {
|
|
|
114
112
|
};
|
|
115
113
|
}
|
|
116
114
|
/**
|
|
117
|
-
* **This endpoint is incubating.**
|
|
118
115
|
* Deletes the patient payment record matching the provided patient_payment_id.
|
|
119
116
|
*
|
|
120
117
|
*/
|
|
@@ -126,7 +123,7 @@ class V4 {
|
|
|
126
123
|
Authorization: await this._getAuthorizationHeader(),
|
|
127
124
|
"X-Fern-Language": "JavaScript",
|
|
128
125
|
"X-Fern-SDK-Name": "candidhealth",
|
|
129
|
-
"X-Fern-SDK-Version": "0.10.
|
|
126
|
+
"X-Fern-SDK-Version": "0.10.1",
|
|
130
127
|
},
|
|
131
128
|
contentType: "application/json",
|
|
132
129
|
timeoutMs: 60000,
|
|
@@ -5,7 +5,8 @@ import * as CandidApi from "../../../../..";
|
|
|
5
5
|
export interface PatientPayment {
|
|
6
6
|
patientPaymentId: CandidApi.patientPayments.v4.PatientPaymentId;
|
|
7
7
|
organizationId: CandidApi.OrganizationId;
|
|
8
|
-
sourceInternalId
|
|
8
|
+
sourceInternalId?: string;
|
|
9
|
+
paymentSource: CandidApi.PatientTransactionSource;
|
|
9
10
|
amountCents: number;
|
|
10
11
|
patientExternalId: CandidApi.PatientExternalId;
|
|
11
12
|
paymentTimestamp?: Date;
|
|
@@ -14,13 +14,11 @@ export declare class V1 {
|
|
|
14
14
|
protected readonly options: V1.Options;
|
|
15
15
|
constructor(options: V1.Options);
|
|
16
16
|
/**
|
|
17
|
-
* **This endpoint is incubating.**
|
|
18
17
|
* Retrieves a previously created patient refund by its `patient_refund_id`.
|
|
19
18
|
*
|
|
20
19
|
*/
|
|
21
20
|
get(patientRefundId: CandidApi.patientRefunds.v1.PatientRefundId): Promise<core.APIResponse<CandidApi.patientRefunds.v1.PatientRefund, CandidApi.patientRefunds.v1.get.Error>>;
|
|
22
21
|
/**
|
|
23
|
-
* **This endpoint is incubating.**
|
|
24
22
|
* Creates a new patient refund record and returns the newly created PatientRefund object.
|
|
25
23
|
* The allocations can describe whether the refund is being applied toward a specific service line,
|
|
26
24
|
* claim, or billing provider.
|
|
@@ -28,7 +26,6 @@ export declare class V1 {
|
|
|
28
26
|
*/
|
|
29
27
|
create(request: CandidApi.patientRefunds.v1.PatientRefundCreate): Promise<core.APIResponse<CandidApi.patientRefunds.v1.PatientRefund, CandidApi.patientRefunds.v1.create.Error>>;
|
|
30
28
|
/**
|
|
31
|
-
* **This endpoint is incubating.**
|
|
32
29
|
* Deletes the patient refund record matching the provided patient_refund_id.
|
|
33
30
|
*
|
|
34
31
|
*/
|
|
@@ -41,7 +41,6 @@ class V1 {
|
|
|
41
41
|
this.options = options;
|
|
42
42
|
}
|
|
43
43
|
/**
|
|
44
|
-
* **This endpoint is incubating.**
|
|
45
44
|
* Retrieves a previously created patient refund by its `patient_refund_id`.
|
|
46
45
|
*
|
|
47
46
|
*/
|
|
@@ -53,7 +52,7 @@ class V1 {
|
|
|
53
52
|
Authorization: await this._getAuthorizationHeader(),
|
|
54
53
|
"X-Fern-Language": "JavaScript",
|
|
55
54
|
"X-Fern-SDK-Name": "candidhealth",
|
|
56
|
-
"X-Fern-SDK-Version": "0.10.
|
|
55
|
+
"X-Fern-SDK-Version": "0.10.1",
|
|
57
56
|
},
|
|
58
57
|
contentType: "application/json",
|
|
59
58
|
timeoutMs: 60000,
|
|
@@ -75,7 +74,6 @@ class V1 {
|
|
|
75
74
|
};
|
|
76
75
|
}
|
|
77
76
|
/**
|
|
78
|
-
* **This endpoint is incubating.**
|
|
79
77
|
* Creates a new patient refund record and returns the newly created PatientRefund object.
|
|
80
78
|
* The allocations can describe whether the refund is being applied toward a specific service line,
|
|
81
79
|
* claim, or billing provider.
|
|
@@ -89,7 +87,7 @@ class V1 {
|
|
|
89
87
|
Authorization: await this._getAuthorizationHeader(),
|
|
90
88
|
"X-Fern-Language": "JavaScript",
|
|
91
89
|
"X-Fern-SDK-Name": "candidhealth",
|
|
92
|
-
"X-Fern-SDK-Version": "0.10.
|
|
90
|
+
"X-Fern-SDK-Version": "0.10.1",
|
|
93
91
|
},
|
|
94
92
|
contentType: "application/json",
|
|
95
93
|
body: await serializers.patientRefunds.v1.PatientRefundCreate.jsonOrThrow(request, {
|
|
@@ -114,7 +112,6 @@ class V1 {
|
|
|
114
112
|
};
|
|
115
113
|
}
|
|
116
114
|
/**
|
|
117
|
-
* **This endpoint is incubating.**
|
|
118
115
|
* Deletes the patient refund record matching the provided patient_refund_id.
|
|
119
116
|
*
|
|
120
117
|
*/
|
|
@@ -126,7 +123,7 @@ class V1 {
|
|
|
126
123
|
Authorization: await this._getAuthorizationHeader(),
|
|
127
124
|
"X-Fern-Language": "JavaScript",
|
|
128
125
|
"X-Fern-SDK-Name": "candidhealth",
|
|
129
|
-
"X-Fern-SDK-Version": "0.10.
|
|
126
|
+
"X-Fern-SDK-Version": "0.10.1",
|
|
130
127
|
},
|
|
131
128
|
contentType: "application/json",
|
|
132
129
|
timeoutMs: 60000,
|
|
@@ -5,7 +5,8 @@ import * as CandidApi from "../../../../..";
|
|
|
5
5
|
export interface PatientRefund {
|
|
6
6
|
patientRefundId: CandidApi.patientRefunds.v1.PatientRefundId;
|
|
7
7
|
organizationId: CandidApi.OrganizationId;
|
|
8
|
-
sourceInternalId
|
|
8
|
+
sourceInternalId?: string;
|
|
9
|
+
refundSource: CandidApi.PatientTransactionSource;
|
|
9
10
|
amountCents: number;
|
|
10
11
|
patientExternalId: CandidApi.PatientExternalId;
|
|
11
12
|
refundTimestamp?: Date;
|
|
@@ -49,7 +49,7 @@ class V3 {
|
|
|
49
49
|
Authorization: await this._getAuthorizationHeader(),
|
|
50
50
|
"X-Fern-Language": "JavaScript",
|
|
51
51
|
"X-Fern-SDK-Name": "candidhealth",
|
|
52
|
-
"X-Fern-SDK-Version": "0.10.
|
|
52
|
+
"X-Fern-SDK-Version": "0.10.1",
|
|
53
53
|
},
|
|
54
54
|
contentType: "application/json",
|
|
55
55
|
timeoutMs: 60000,
|
|
@@ -89,7 +89,7 @@ class V3 {
|
|
|
89
89
|
Authorization: await this._getAuthorizationHeader(),
|
|
90
90
|
"X-Fern-Language": "JavaScript",
|
|
91
91
|
"X-Fern-SDK-Name": "candidhealth",
|
|
92
|
-
"X-Fern-SDK-Version": "0.10.
|
|
92
|
+
"X-Fern-SDK-Version": "0.10.1",
|
|
93
93
|
},
|
|
94
94
|
contentType: "application/json",
|
|
95
95
|
queryParameters: _queryParams,
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../..";
|
|
5
|
+
export declare type PayerIdentifier = CandidApi.payers.v3.PayerIdentifier.PayerInfo | CandidApi.payers.v3.PayerIdentifier.PayerUuid;
|
|
6
|
+
export declare namespace PayerIdentifier {
|
|
7
|
+
interface PayerInfo extends CandidApi.payers.v3.PayerInfo {
|
|
8
|
+
type: "payer_info";
|
|
9
|
+
}
|
|
10
|
+
interface PayerUuid {
|
|
11
|
+
type: "payer_uuid";
|
|
12
|
+
value: CandidApi.payers.v3.PayerUuid;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../..";
|
|
5
|
+
export declare type PayerName = string & {
|
|
6
|
+
payers_v3_PayerName: void;
|
|
7
|
+
};
|
|
8
|
+
export declare function PayerName(value: string): CandidApi.payers.v3.PayerName;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.PayerName = void 0;
|
|
7
|
+
function PayerName(value) {
|
|
8
|
+
return value;
|
|
9
|
+
}
|
|
10
|
+
exports.PayerName = PayerName;
|
|
@@ -16,5 +16,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./PayerUuid"), exports);
|
|
18
18
|
__exportStar(require("./PayerId"), exports);
|
|
19
|
+
__exportStar(require("./PayerName"), exports);
|
|
19
20
|
__exportStar(require("./PayerPage"), exports);
|
|
20
21
|
__exportStar(require("./Payer"), exports);
|
|
22
|
+
__exportStar(require("./PayerInfo"), exports);
|
|
23
|
+
__exportStar(require("./PayerIdentifier"), exports);
|
|
@@ -13,30 +13,10 @@ export declare namespace V3 {
|
|
|
13
13
|
export declare class V3 {
|
|
14
14
|
protected readonly options: V3.Options;
|
|
15
15
|
constructor(options: V3.Options);
|
|
16
|
-
/**
|
|
17
|
-
* **This endpoint is incubating.**
|
|
18
|
-
*
|
|
19
|
-
*/
|
|
20
16
|
getActions(taskId: CandidApi.TaskId): Promise<core.APIResponse<CandidApi.tasks.v3.TaskActions, CandidApi.tasks.v3.getActions.Error>>;
|
|
21
|
-
/**
|
|
22
|
-
* **This endpoint is incubating.**
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
17
|
getMulti(request?: CandidApi.tasks.v3.GetAllTasksRequest): Promise<core.APIResponse<CandidApi.tasks.v3.TaskPage, CandidApi.tasks.v3.getMulti.Error>>;
|
|
26
|
-
/**
|
|
27
|
-
* **This endpoint is incubating.**
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
30
18
|
get(taskId: CandidApi.TaskId): Promise<core.APIResponse<CandidApi.tasks.v3.Task, CandidApi.tasks.v3.get.Error>>;
|
|
31
|
-
/**
|
|
32
|
-
* **This endpoint is incubating.**
|
|
33
|
-
*
|
|
34
|
-
*/
|
|
35
19
|
create(request: CandidApi.tasks.v3.TaskCreateV3): Promise<core.APIResponse<CandidApi.tasks.v3.Task, CandidApi.tasks.v3.create.Error>>;
|
|
36
|
-
/**
|
|
37
|
-
* **This endpoint is incubating.**
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
20
|
update(taskId: CandidApi.TaskId, request: CandidApi.tasks.v3.TaskUpdateV3): Promise<core.APIResponse<CandidApi.tasks.v3.Task, CandidApi.tasks.v3.update.Error>>;
|
|
41
21
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
42
22
|
}
|
|
@@ -41,10 +41,6 @@ class V3 {
|
|
|
41
41
|
constructor(options) {
|
|
42
42
|
this.options = options;
|
|
43
43
|
}
|
|
44
|
-
/**
|
|
45
|
-
* **This endpoint is incubating.**
|
|
46
|
-
*
|
|
47
|
-
*/
|
|
48
44
|
async getActions(taskId) {
|
|
49
45
|
const _response = await core.fetcher({
|
|
50
46
|
url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, `/api/tasks/v3/${await serializers.TaskId.jsonOrThrow(taskId)}/actions`),
|
|
@@ -53,7 +49,7 @@ class V3 {
|
|
|
53
49
|
Authorization: await this._getAuthorizationHeader(),
|
|
54
50
|
"X-Fern-Language": "JavaScript",
|
|
55
51
|
"X-Fern-SDK-Name": "candidhealth",
|
|
56
|
-
"X-Fern-SDK-Version": "0.10.
|
|
52
|
+
"X-Fern-SDK-Version": "0.10.1",
|
|
57
53
|
},
|
|
58
54
|
contentType: "application/json",
|
|
59
55
|
timeoutMs: 60000,
|
|
@@ -74,10 +70,6 @@ class V3 {
|
|
|
74
70
|
error: CandidApi.tasks.v3.getActions.Error._unknown(_response.error),
|
|
75
71
|
};
|
|
76
72
|
}
|
|
77
|
-
/**
|
|
78
|
-
* **This endpoint is incubating.**
|
|
79
|
-
*
|
|
80
|
-
*/
|
|
81
73
|
async getMulti(request = {}) {
|
|
82
74
|
const { limit, pageToken, status, taskType, categories, updatedSince, encounterId, searchTerm, assignedToId, dateOfServiceMin, dateOfServiceMax, billingProviderNpi, sort, } = request;
|
|
83
75
|
const _queryParams = new url_search_params_1.default();
|
|
@@ -127,7 +119,7 @@ class V3 {
|
|
|
127
119
|
Authorization: await this._getAuthorizationHeader(),
|
|
128
120
|
"X-Fern-Language": "JavaScript",
|
|
129
121
|
"X-Fern-SDK-Name": "candidhealth",
|
|
130
|
-
"X-Fern-SDK-Version": "0.10.
|
|
122
|
+
"X-Fern-SDK-Version": "0.10.1",
|
|
131
123
|
},
|
|
132
124
|
contentType: "application/json",
|
|
133
125
|
queryParameters: _queryParams,
|
|
@@ -163,10 +155,6 @@ class V3 {
|
|
|
163
155
|
error: CandidApi.tasks.v3.getMulti.Error._unknown(_response.error),
|
|
164
156
|
};
|
|
165
157
|
}
|
|
166
|
-
/**
|
|
167
|
-
* **This endpoint is incubating.**
|
|
168
|
-
*
|
|
169
|
-
*/
|
|
170
158
|
async get(taskId) {
|
|
171
159
|
const _response = await core.fetcher({
|
|
172
160
|
url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, `/api/tasks/v3/${await serializers.TaskId.jsonOrThrow(taskId)}`),
|
|
@@ -175,7 +163,7 @@ class V3 {
|
|
|
175
163
|
Authorization: await this._getAuthorizationHeader(),
|
|
176
164
|
"X-Fern-Language": "JavaScript",
|
|
177
165
|
"X-Fern-SDK-Name": "candidhealth",
|
|
178
|
-
"X-Fern-SDK-Version": "0.10.
|
|
166
|
+
"X-Fern-SDK-Version": "0.10.1",
|
|
179
167
|
},
|
|
180
168
|
contentType: "application/json",
|
|
181
169
|
timeoutMs: 60000,
|
|
@@ -211,10 +199,6 @@ class V3 {
|
|
|
211
199
|
error: CandidApi.tasks.v3.get.Error._unknown(_response.error),
|
|
212
200
|
};
|
|
213
201
|
}
|
|
214
|
-
/**
|
|
215
|
-
* **This endpoint is incubating.**
|
|
216
|
-
*
|
|
217
|
-
*/
|
|
218
202
|
async create(request) {
|
|
219
203
|
const _response = await core.fetcher({
|
|
220
204
|
url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, "/api/tasks/v3"),
|
|
@@ -223,7 +207,7 @@ class V3 {
|
|
|
223
207
|
Authorization: await this._getAuthorizationHeader(),
|
|
224
208
|
"X-Fern-Language": "JavaScript",
|
|
225
209
|
"X-Fern-SDK-Name": "candidhealth",
|
|
226
|
-
"X-Fern-SDK-Version": "0.10.
|
|
210
|
+
"X-Fern-SDK-Version": "0.10.1",
|
|
227
211
|
},
|
|
228
212
|
contentType: "application/json",
|
|
229
213
|
body: await serializers.tasks.v3.TaskCreateV3.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -245,10 +229,6 @@ class V3 {
|
|
|
245
229
|
error: CandidApi.tasks.v3.create.Error._unknown(_response.error),
|
|
246
230
|
};
|
|
247
231
|
}
|
|
248
|
-
/**
|
|
249
|
-
* **This endpoint is incubating.**
|
|
250
|
-
*
|
|
251
|
-
*/
|
|
252
232
|
async update(taskId, request) {
|
|
253
233
|
const _response = await core.fetcher({
|
|
254
234
|
url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, `/api/tasks/v3/${await serializers.TaskId.jsonOrThrow(taskId)}`),
|
|
@@ -257,7 +237,7 @@ class V3 {
|
|
|
257
237
|
Authorization: await this._getAuthorizationHeader(),
|
|
258
238
|
"X-Fern-Language": "JavaScript",
|
|
259
239
|
"X-Fern-SDK-Name": "candidhealth",
|
|
260
|
-
"X-Fern-SDK-Version": "0.10.
|
|
240
|
+
"X-Fern-SDK-Version": "0.10.1",
|
|
261
241
|
},
|
|
262
242
|
contentType: "application/json",
|
|
263
243
|
body: await serializers.tasks.v3.TaskUpdateV3.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./resources";
|
|
@@ -0,0 +1,17 @@
|
|
|
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./resources"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as v2 from "./v2";
|