candidhealth 0.10.0 → 0.11.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/README.md +1 -0
- package/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +8 -1
- package/api/resources/claims/types/ClaimStatus.d.ts +2 -1
- package/api/resources/claims/types/ClaimStatus.js +1 -0
- package/api/resources/commons/types/SortDirection.d.ts +12 -0
- package/api/resources/commons/types/SortDirection.js +10 -0
- package/api/resources/commons/types/TaxId.d.ts +8 -0
- package/api/resources/commons/types/TaxId.js +10 -0
- package/api/resources/commons/types/index.d.ts +2 -0
- package/api/resources/commons/types/index.js +2 -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/client/requests/EncounterUpdate.d.ts +36 -0
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +5 -1
- package/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +36 -0
- package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +5 -1
- package/api/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.d.ts +39 -0
- package/api/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.js +15 -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/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 +1 -0
- package/api/resources/index.js +2 -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/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +1 -0
- package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -0
- package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +0 -1
- package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +2 -2
- 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/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 +6 -3
- package/api/resources/patientPayments/resources/v4/client/Client.js +76 -7
- package/api/resources/patientPayments/resources/v4/client/getMulti.d.ts +22 -0
- package/api/resources/patientPayments/resources/v4/client/getMulti.js +47 -0
- package/api/resources/patientPayments/resources/v4/client/index.d.ts +1 -0
- package/api/resources/patientPayments/resources/v4/client/index.js +2 -1
- package/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +24 -0
- package/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.js +5 -0
- package/api/resources/patientPayments/resources/v4/client/requests/index.d.ts +1 -0
- package/api/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +2 -1
- package/api/resources/patientPayments/resources/v4/types/PatientPaymentSortField.d.ts +10 -0
- package/api/resources/patientPayments/resources/v4/types/PatientPaymentSortField.js +12 -0
- package/api/resources/patientPayments/resources/v4/types/PatientPaymentsPage.d.ts +7 -0
- package/api/resources/patientPayments/resources/v4/types/PatientPaymentsPage.js +5 -0
- package/api/resources/patientPayments/resources/v4/types/index.d.ts +2 -0
- package/api/resources/patientPayments/resources/v4/types/index.js +2 -0
- package/api/resources/patientRefunds/resources/v1/client/Client.d.ts +6 -3
- package/api/resources/patientRefunds/resources/v1/client/Client.js +76 -7
- package/api/resources/patientRefunds/resources/v1/client/getMulti.d.ts +22 -0
- package/api/resources/patientRefunds/resources/v1/client/getMulti.js +47 -0
- package/api/resources/patientRefunds/resources/v1/client/index.d.ts +1 -0
- package/api/resources/patientRefunds/resources/v1/client/index.js +2 -1
- package/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +24 -0
- package/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.js +5 -0
- package/api/resources/patientRefunds/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +2 -1
- package/api/resources/patientRefunds/resources/v1/types/PatientRefundSortField.d.ts +11 -0
- package/api/resources/patientRefunds/resources/v1/types/PatientRefundSortField.js +13 -0
- package/api/resources/patientRefunds/resources/v1/types/PatientRefundsPage.d.ts +7 -0
- package/api/resources/patientRefunds/resources/v1/types/PatientRefundsPage.js +5 -0
- package/api/resources/patientRefunds/resources/v1/types/index.d.ts +2 -0
- package/api/resources/patientRefunds/resources/v1/types/index.js +2 -0
- 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/remits/index.d.ts +1 -0
- package/api/resources/remits/index.js +17 -0
- package/api/resources/remits/resources/index.d.ts +1 -0
- package/api/resources/remits/resources/index.js +27 -0
- package/api/resources/remits/resources/v1/index.d.ts +1 -0
- package/api/resources/remits/resources/v1/index.js +17 -0
- package/api/resources/remits/resources/v1/types/Payee.d.ts +8 -0
- package/api/resources/remits/resources/v1/types/Payee.js +5 -0
- package/api/resources/remits/resources/v1/types/PayeeIdentifier.d.ts +19 -0
- package/api/resources/remits/resources/v1/types/PayeeIdentifier.js +5 -0
- package/api/resources/remits/resources/v1/types/index.d.ts +2 -0
- package/api/resources/remits/resources/v1/types/index.js +18 -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/writeOffs/resources/v1/client/Client.d.ts +7 -4
- package/api/resources/writeOffs/resources/v1/client/Client.js +61 -8
- package/api/resources/writeOffs/resources/v1/client/getMulti.d.ts +22 -0
- package/api/resources/writeOffs/resources/v1/client/getMulti.js +47 -0
- package/api/resources/writeOffs/resources/v1/client/index.d.ts +1 -0
- package/api/resources/writeOffs/resources/v1/client/index.js +2 -1
- package/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +21 -0
- package/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.js +5 -0
- package/api/resources/writeOffs/resources/v1/client/requests/index.d.ts +1 -0
- 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/WriteOffSortField.d.ts +10 -0
- package/api/resources/writeOffs/resources/v1/types/WriteOffSortField.js +12 -0
- package/api/resources/writeOffs/resources/v1/types/WriteOffsPage.d.ts +7 -0
- package/api/resources/writeOffs/resources/v1/types/WriteOffsPage.js +5 -0
- package/api/resources/writeOffs/resources/v1/types/index.d.ts +3 -0
- package/api/resources/writeOffs/resources/v1/types/index.js +3 -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/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +8 -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/commons/types/SortDirection.d.ts +12 -0
- package/dist/api/resources/commons/types/SortDirection.js +10 -0
- package/dist/api/resources/commons/types/TaxId.d.ts +8 -0
- package/dist/api/resources/commons/types/TaxId.js +10 -0
- package/dist/api/resources/commons/types/index.d.ts +2 -0
- package/dist/api/resources/commons/types/index.js +2 -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/client/requests/EncounterUpdate.d.ts +36 -0
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +5 -1
- package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +36 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +5 -1
- package/dist/api/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.d.ts +39 -0
- package/dist/api/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.js +15 -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/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 +1 -0
- package/dist/api/resources/index.js +2 -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/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +1 -0
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -0
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +0 -1
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +2 -2
- 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/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 +6 -3
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +76 -7
- package/dist/api/resources/patientPayments/resources/v4/client/getMulti.d.ts +22 -0
- package/dist/api/resources/patientPayments/resources/v4/client/getMulti.js +47 -0
- package/dist/api/resources/patientPayments/resources/v4/client/index.d.ts +1 -0
- package/dist/api/resources/patientPayments/resources/v4/client/index.js +2 -1
- package/dist/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +24 -0
- package/dist/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.js +5 -0
- package/dist/api/resources/patientPayments/resources/v4/client/requests/index.d.ts +1 -0
- package/dist/api/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +2 -1
- package/dist/api/resources/patientPayments/resources/v4/types/PatientPaymentSortField.d.ts +10 -0
- package/dist/api/resources/patientPayments/resources/v4/types/PatientPaymentSortField.js +12 -0
- package/dist/api/resources/patientPayments/resources/v4/types/PatientPaymentsPage.d.ts +7 -0
- package/dist/api/resources/patientPayments/resources/v4/types/PatientPaymentsPage.js +5 -0
- package/dist/api/resources/patientPayments/resources/v4/types/index.d.ts +2 -0
- package/dist/api/resources/patientPayments/resources/v4/types/index.js +2 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.d.ts +6 -3
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +76 -7
- package/dist/api/resources/patientRefunds/resources/v1/client/getMulti.d.ts +22 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/getMulti.js +47 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/index.d.ts +1 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/index.js +2 -1
- package/dist/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +24 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.js +5 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/api/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +2 -1
- package/dist/api/resources/patientRefunds/resources/v1/types/PatientRefundSortField.d.ts +11 -0
- package/dist/api/resources/patientRefunds/resources/v1/types/PatientRefundSortField.js +13 -0
- package/dist/api/resources/patientRefunds/resources/v1/types/PatientRefundsPage.d.ts +7 -0
- package/dist/api/resources/patientRefunds/resources/v1/types/PatientRefundsPage.js +5 -0
- package/dist/api/resources/patientRefunds/resources/v1/types/index.d.ts +2 -0
- package/dist/api/resources/patientRefunds/resources/v1/types/index.js +2 -0
- 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/remits/index.d.ts +1 -0
- package/dist/api/resources/remits/index.js +17 -0
- package/dist/api/resources/remits/resources/index.d.ts +1 -0
- package/dist/api/resources/remits/resources/index.js +27 -0
- package/dist/api/resources/remits/resources/v1/index.d.ts +1 -0
- package/dist/api/resources/remits/resources/v1/index.js +17 -0
- package/dist/api/resources/remits/resources/v1/types/Payee.d.ts +8 -0
- package/dist/api/resources/remits/resources/v1/types/Payee.js +5 -0
- package/dist/api/resources/remits/resources/v1/types/PayeeIdentifier.d.ts +19 -0
- package/dist/api/resources/remits/resources/v1/types/PayeeIdentifier.js +5 -0
- package/dist/api/resources/remits/resources/v1/types/index.d.ts +2 -0
- package/dist/api/resources/remits/resources/v1/types/index.js +18 -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/writeOffs/resources/v1/client/Client.d.ts +7 -4
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +61 -8
- package/dist/api/resources/writeOffs/resources/v1/client/getMulti.d.ts +22 -0
- package/dist/api/resources/writeOffs/resources/v1/client/getMulti.js +47 -0
- package/dist/api/resources/writeOffs/resources/v1/client/index.d.ts +1 -0
- package/dist/api/resources/writeOffs/resources/v1/client/index.js +2 -1
- package/dist/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +21 -0
- package/dist/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.js +5 -0
- package/dist/api/resources/writeOffs/resources/v1/client/requests/index.d.ts +1 -0
- 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/WriteOffSortField.d.ts +10 -0
- package/dist/api/resources/writeOffs/resources/v1/types/WriteOffSortField.js +12 -0
- package/dist/api/resources/writeOffs/resources/v1/types/WriteOffsPage.d.ts +7 -0
- package/dist/api/resources/writeOffs/resources/v1/types/WriteOffsPage.js +5 -0
- package/dist/api/resources/writeOffs/resources/v1/types/index.d.ts +3 -0
- package/dist/api/resources/writeOffs/resources/v1/types/index.js +3 -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/commons/types/SortDirection.d.ts +10 -0
- package/dist/serialization/resources/commons/types/SortDirection.js +31 -0
- package/dist/serialization/resources/commons/types/TaxId.d.ts +10 -0
- package/dist/serialization/resources/commons/types/TaxId.js +37 -0
- package/dist/serialization/resources/commons/types/index.d.ts +2 -0
- package/dist/serialization/resources/commons/types/index.js +2 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +5 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +7 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +5 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.js +7 -0
- package/dist/serialization/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.d.ts +10 -0
- package/dist/serialization/resources/{writeOffs/resources/v1/client/create.js → encounters/resources/v4/types/ServiceAuthorizationExceptionCode.js} +2 -2
- 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/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 +1 -0
- package/dist/serialization/resources/index.js +2 -1
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +1 -0
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +1 -0
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -0
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js +1 -0
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +0 -1
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +0 -1
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +2 -2
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +2 -2
- 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/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/patientPayments/resources/v4/types/PatientPaymentSortField.d.ts +10 -0
- package/{serialization/resources/writeOffs/resources/v1/client/create.js → dist/serialization/resources/patientPayments/resources/v4/types/PatientPaymentSortField.js} +2 -2
- package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPaymentsPage.d.ts +12 -0
- package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPaymentsPage.js +35 -0
- package/dist/serialization/resources/patientPayments/resources/v4/types/index.d.ts +2 -0
- package/dist/serialization/resources/patientPayments/resources/v4/types/index.js +2 -0
- 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/patientRefunds/resources/v1/types/PatientRefundSortField.d.ts +10 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefundSortField.js +31 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefundsPage.d.ts +12 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefundsPage.js +35 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/types/index.d.ts +2 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/types/index.js +2 -0
- 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/remits/index.d.ts +1 -0
- package/dist/serialization/resources/remits/index.js +17 -0
- package/dist/serialization/resources/remits/resources/index.d.ts +1 -0
- package/dist/serialization/resources/remits/resources/index.js +27 -0
- package/dist/serialization/resources/remits/resources/v1/index.d.ts +1 -0
- package/dist/serialization/resources/remits/resources/v1/index.js +17 -0
- package/dist/serialization/resources/remits/resources/v1/types/Payee.d.ts +13 -0
- package/dist/serialization/resources/remits/resources/v1/types/Payee.js +34 -0
- package/dist/serialization/resources/remits/resources/v1/types/PayeeIdentifier.d.ts +22 -0
- package/dist/serialization/resources/remits/resources/v1/types/PayeeIdentifier.js +46 -0
- package/dist/serialization/resources/remits/resources/v1/types/index.d.ts +2 -0
- package/dist/serialization/resources/remits/resources/v1/types/index.js +18 -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/WriteOffSortField.d.ts +10 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffSortField.js +31 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffsPage.d.ts +12 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffsPage.js +35 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/index.d.ts +3 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/index.js +3 -0
- package/package.json +1 -1
- package/serialization/resources/claims/types/ClaimStatus.d.ts +1 -1
- package/serialization/resources/claims/types/ClaimStatus.js +1 -0
- package/serialization/resources/commons/types/SortDirection.d.ts +10 -0
- package/serialization/resources/commons/types/SortDirection.js +31 -0
- package/serialization/resources/commons/types/TaxId.d.ts +10 -0
- package/serialization/resources/commons/types/TaxId.js +37 -0
- package/serialization/resources/commons/types/index.d.ts +2 -0
- package/serialization/resources/commons/types/index.js +2 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +5 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +7 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +5 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterBase.js +7 -0
- package/serialization/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.d.ts +10 -0
- package/serialization/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.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/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 +1 -0
- package/serialization/resources/index.js +2 -1
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +1 -0
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +1 -0
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -0
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js +1 -0
- package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +0 -1
- package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +0 -1
- package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +2 -2
- package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +2 -2
- 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/patientPayments/resources/v4/types/PatientPayment.d.ts +2 -1
- package/serialization/resources/patientPayments/resources/v4/types/PatientPayment.js +2 -1
- package/serialization/resources/patientPayments/resources/v4/types/PatientPaymentSortField.d.ts +10 -0
- package/serialization/resources/patientPayments/resources/v4/types/PatientPaymentSortField.js +31 -0
- package/serialization/resources/patientPayments/resources/v4/types/PatientPaymentsPage.d.ts +12 -0
- package/serialization/resources/patientPayments/resources/v4/types/PatientPaymentsPage.js +35 -0
- package/serialization/resources/patientPayments/resources/v4/types/index.d.ts +2 -0
- package/serialization/resources/patientPayments/resources/v4/types/index.js +2 -0
- 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/patientRefunds/resources/v1/types/PatientRefundSortField.d.ts +10 -0
- package/serialization/resources/patientRefunds/resources/v1/types/PatientRefundSortField.js +31 -0
- package/serialization/resources/patientRefunds/resources/v1/types/PatientRefundsPage.d.ts +12 -0
- package/serialization/resources/patientRefunds/resources/v1/types/PatientRefundsPage.js +35 -0
- package/serialization/resources/patientRefunds/resources/v1/types/index.d.ts +2 -0
- package/serialization/resources/patientRefunds/resources/v1/types/index.js +2 -0
- 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/remits/index.d.ts +1 -0
- package/serialization/resources/remits/index.js +17 -0
- package/serialization/resources/remits/resources/index.d.ts +1 -0
- package/serialization/resources/remits/resources/index.js +27 -0
- package/serialization/resources/remits/resources/v1/index.d.ts +1 -0
- package/serialization/resources/remits/resources/v1/index.js +17 -0
- package/serialization/resources/remits/resources/v1/types/Payee.d.ts +13 -0
- package/serialization/resources/remits/resources/v1/types/Payee.js +34 -0
- package/serialization/resources/remits/resources/v1/types/PayeeIdentifier.d.ts +22 -0
- package/serialization/resources/remits/resources/v1/types/PayeeIdentifier.js +46 -0
- package/serialization/resources/remits/resources/v1/types/index.d.ts +2 -0
- package/serialization/resources/remits/resources/v1/types/index.js +18 -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/WriteOffSortField.d.ts +10 -0
- package/serialization/resources/writeOffs/resources/v1/types/WriteOffSortField.js +31 -0
- package/serialization/resources/writeOffs/resources/v1/types/WriteOffsPage.d.ts +12 -0
- package/serialization/resources/writeOffs/resources/v1/types/WriteOffsPage.js +35 -0
- package/serialization/resources/writeOffs/resources/v1/types/index.d.ts +3 -0
- package/serialization/resources/writeOffs/resources/v1/types/index.js +3 -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,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../..";
|
|
5
|
+
export declare type PayeeIdentifier = CandidApi.remits.v1.PayeeIdentifier.Npi | CandidApi.remits.v1.PayeeIdentifier.Tin | CandidApi.remits.v1.PayeeIdentifier.CmsPlanId;
|
|
6
|
+
export declare namespace PayeeIdentifier {
|
|
7
|
+
interface Npi {
|
|
8
|
+
type: "npi";
|
|
9
|
+
value: CandidApi.Npi;
|
|
10
|
+
}
|
|
11
|
+
interface Tin {
|
|
12
|
+
type: "tin";
|
|
13
|
+
value: CandidApi.TaxId;
|
|
14
|
+
}
|
|
15
|
+
interface CmsPlanId {
|
|
16
|
+
type: "cms_plan_id";
|
|
17
|
+
value: string;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
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("./PayeeIdentifier"), exports);
|
|
18
|
+
__exportStar(require("./Payee"), 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.
|
|
52
|
+
"X-Fern-SDK-Version": "0.11.0",
|
|
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.
|
|
122
|
+
"X-Fern-SDK-Version": "0.11.0",
|
|
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.
|
|
166
|
+
"X-Fern-SDK-Version": "0.11.0",
|
|
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.
|
|
210
|
+
"X-Fern-SDK-Version": "0.11.0",
|
|
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.
|
|
240
|
+
"X-Fern-SDK-Version": "0.11.0",
|
|
261
241
|
},
|
|
262
242
|
contentType: "application/json",
|
|
263
243
|
body: await serializers.tasks.v3.TaskUpdateV3.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -14,21 +14,24 @@ export declare class V1 {
|
|
|
14
14
|
protected readonly options: V1.Options;
|
|
15
15
|
constructor(options: V1.Options);
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Returns all write-offs satisfying the search criteria AND whose organization_id matches
|
|
18
|
+
* the current organization_id of the authenticated user.
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
getMulti(request?: CandidApi.writeOffs.v1.GetMultiWriteOffsRequest): Promise<core.APIResponse<CandidApi.writeOffs.v1.WriteOffsPage, CandidApi.writeOffs.v1.getMulti.Error>>;
|
|
22
|
+
/**
|
|
18
23
|
* Retrieves a previously created write off by its `write_off_id`.
|
|
19
24
|
*
|
|
20
25
|
*/
|
|
21
26
|
get(writeOffId: CandidApi.writeOffs.v1.WriteOffId): Promise<core.APIResponse<CandidApi.writeOffs.v1.WriteOff, CandidApi.writeOffs.v1.get.Error>>;
|
|
22
27
|
/**
|
|
23
|
-
* **This endpoint is incubating.**
|
|
24
28
|
* Creates one or many write-offs given a specific set of allocations.
|
|
25
29
|
* The allocations can describe whether the refund is being applied toward a specific service line,
|
|
26
30
|
* claim, or billing provider.
|
|
27
31
|
*
|
|
28
32
|
*/
|
|
29
|
-
create(request: CandidApi.writeOffs.v1.CreateWriteOffsRequest): Promise<core.APIResponse<CandidApi.writeOffs.v1.
|
|
33
|
+
create(request: CandidApi.writeOffs.v1.CreateWriteOffsRequest): Promise<core.APIResponse<CandidApi.writeOffs.v1.CreateWriteOffsResponse, CandidApi.writeOffs.v1.create.Error>>;
|
|
30
34
|
/**
|
|
31
|
-
* **This endpoint is incubating.**
|
|
32
35
|
* Reverts a write off given a `write_off_id`.
|
|
33
36
|
*
|
|
34
37
|
*/
|
|
@@ -33,15 +33,70 @@ exports.V1 = void 0;
|
|
|
33
33
|
const environments = __importStar(require("../../../../../../environments"));
|
|
34
34
|
const core = __importStar(require("../../../../../../core"));
|
|
35
35
|
const CandidApi = __importStar(require("../../../../.."));
|
|
36
|
-
const
|
|
36
|
+
const url_search_params_1 = __importDefault(require("@ungap/url-search-params"));
|
|
37
37
|
const url_join_1 = __importDefault(require("url-join"));
|
|
38
|
+
const serializers = __importStar(require("../../../../../../serialization"));
|
|
38
39
|
class V1 {
|
|
39
40
|
options;
|
|
40
41
|
constructor(options) {
|
|
41
42
|
this.options = options;
|
|
42
43
|
}
|
|
43
44
|
/**
|
|
44
|
-
*
|
|
45
|
+
* Returns all write-offs satisfying the search criteria AND whose organization_id matches
|
|
46
|
+
* the current organization_id of the authenticated user.
|
|
47
|
+
*
|
|
48
|
+
*/
|
|
49
|
+
async getMulti(request = {}) {
|
|
50
|
+
const { limit, patientExternalId, serviceLineId, sort, sortDirection, pageToken } = request;
|
|
51
|
+
const _queryParams = new url_search_params_1.default();
|
|
52
|
+
if (limit != null) {
|
|
53
|
+
_queryParams.append("limit", limit.toString());
|
|
54
|
+
}
|
|
55
|
+
if (patientExternalId != null) {
|
|
56
|
+
_queryParams.append("patient_external_id", patientExternalId);
|
|
57
|
+
}
|
|
58
|
+
if (serviceLineId != null) {
|
|
59
|
+
_queryParams.append("service_line_id", serviceLineId);
|
|
60
|
+
}
|
|
61
|
+
if (sort != null) {
|
|
62
|
+
_queryParams.append("sort", sort);
|
|
63
|
+
}
|
|
64
|
+
if (sortDirection != null) {
|
|
65
|
+
_queryParams.append("sort_direction", sortDirection);
|
|
66
|
+
}
|
|
67
|
+
if (pageToken != null) {
|
|
68
|
+
_queryParams.append("page_token", pageToken);
|
|
69
|
+
}
|
|
70
|
+
const _response = await core.fetcher({
|
|
71
|
+
url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, "/api/write-offs/v1"),
|
|
72
|
+
method: "GET",
|
|
73
|
+
headers: {
|
|
74
|
+
Authorization: await this._getAuthorizationHeader(),
|
|
75
|
+
"X-Fern-Language": "JavaScript",
|
|
76
|
+
"X-Fern-SDK-Name": "candidhealth",
|
|
77
|
+
"X-Fern-SDK-Version": "0.11.0",
|
|
78
|
+
},
|
|
79
|
+
contentType: "application/json",
|
|
80
|
+
queryParameters: _queryParams,
|
|
81
|
+
timeoutMs: 60000,
|
|
82
|
+
});
|
|
83
|
+
if (_response.ok) {
|
|
84
|
+
return {
|
|
85
|
+
ok: true,
|
|
86
|
+
body: await serializers.writeOffs.v1.WriteOffsPage.parseOrThrow(_response.body, {
|
|
87
|
+
unrecognizedObjectKeys: "passthrough",
|
|
88
|
+
allowUnrecognizedUnionMembers: true,
|
|
89
|
+
allowUnrecognizedEnumValues: true,
|
|
90
|
+
breadcrumbsPrefix: ["response"],
|
|
91
|
+
}),
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
return {
|
|
95
|
+
ok: false,
|
|
96
|
+
error: CandidApi.writeOffs.v1.getMulti.Error._unknown(_response.error),
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
45
100
|
* Retrieves a previously created write off by its `write_off_id`.
|
|
46
101
|
*
|
|
47
102
|
*/
|
|
@@ -53,7 +108,7 @@ class V1 {
|
|
|
53
108
|
Authorization: await this._getAuthorizationHeader(),
|
|
54
109
|
"X-Fern-Language": "JavaScript",
|
|
55
110
|
"X-Fern-SDK-Name": "candidhealth",
|
|
56
|
-
"X-Fern-SDK-Version": "0.
|
|
111
|
+
"X-Fern-SDK-Version": "0.11.0",
|
|
57
112
|
},
|
|
58
113
|
contentType: "application/json",
|
|
59
114
|
timeoutMs: 60000,
|
|
@@ -75,7 +130,6 @@ class V1 {
|
|
|
75
130
|
};
|
|
76
131
|
}
|
|
77
132
|
/**
|
|
78
|
-
* **This endpoint is incubating.**
|
|
79
133
|
* Creates one or many write-offs given a specific set of allocations.
|
|
80
134
|
* The allocations can describe whether the refund is being applied toward a specific service line,
|
|
81
135
|
* claim, or billing provider.
|
|
@@ -89,7 +143,7 @@ class V1 {
|
|
|
89
143
|
Authorization: await this._getAuthorizationHeader(),
|
|
90
144
|
"X-Fern-Language": "JavaScript",
|
|
91
145
|
"X-Fern-SDK-Name": "candidhealth",
|
|
92
|
-
"X-Fern-SDK-Version": "0.
|
|
146
|
+
"X-Fern-SDK-Version": "0.11.0",
|
|
93
147
|
},
|
|
94
148
|
contentType: "application/json",
|
|
95
149
|
body: await serializers.writeOffs.v1.CreateWriteOffsRequest.jsonOrThrow(request, {
|
|
@@ -100,7 +154,7 @@ class V1 {
|
|
|
100
154
|
if (_response.ok) {
|
|
101
155
|
return {
|
|
102
156
|
ok: true,
|
|
103
|
-
body: await serializers.writeOffs.v1.
|
|
157
|
+
body: await serializers.writeOffs.v1.CreateWriteOffsResponse.parseOrThrow(_response.body, {
|
|
104
158
|
unrecognizedObjectKeys: "passthrough",
|
|
105
159
|
allowUnrecognizedUnionMembers: true,
|
|
106
160
|
allowUnrecognizedEnumValues: true,
|
|
@@ -114,7 +168,6 @@ class V1 {
|
|
|
114
168
|
};
|
|
115
169
|
}
|
|
116
170
|
/**
|
|
117
|
-
* **This endpoint is incubating.**
|
|
118
171
|
* Reverts a write off given a `write_off_id`.
|
|
119
172
|
*
|
|
120
173
|
*/
|
|
@@ -126,7 +179,7 @@ class V1 {
|
|
|
126
179
|
Authorization: await this._getAuthorizationHeader(),
|
|
127
180
|
"X-Fern-Language": "JavaScript",
|
|
128
181
|
"X-Fern-SDK-Name": "candidhealth",
|
|
129
|
-
"X-Fern-SDK-Version": "0.
|
|
182
|
+
"X-Fern-SDK-Version": "0.11.0",
|
|
130
183
|
},
|
|
131
184
|
contentType: "application/json",
|
|
132
185
|
timeoutMs: 60000,
|
|
@@ -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.writeOffs.v1.getMulti.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface _Unknown extends _Utils {
|
|
9
|
+
errorName: void;
|
|
10
|
+
content: core.Fetcher.Error;
|
|
11
|
+
}
|
|
12
|
+
interface _Utils {
|
|
13
|
+
_visit: <_Result>(visitor: CandidApi.writeOffs.v1.getMulti.Error._Visitor<_Result>) => _Result;
|
|
14
|
+
}
|
|
15
|
+
interface _Visitor<_Result> {
|
|
16
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export declare const Error: {
|
|
20
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.writeOffs.v1.getMulti.Error._Unknown;
|
|
21
|
+
readonly _visit: <_Result>(value: CandidApi.writeOffs.v1.getMulti.Error, visitor: CandidApi.writeOffs.v1.getMulti.Error._Visitor<_Result>) => _Result;
|
|
22
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../.."));
|
|
31
|
+
exports.Error = {
|
|
32
|
+
_unknown: (fetcherError) => {
|
|
33
|
+
return {
|
|
34
|
+
errorName: undefined,
|
|
35
|
+
content: fetcherError,
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.writeOffs.v1.getMulti.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
_visit: (value, visitor) => {
|
|
42
|
+
switch (value.errorName) {
|
|
43
|
+
default:
|
|
44
|
+
return visitor._other(value);
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
};
|
|
@@ -26,8 +26,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.revert = exports.create = exports.get = void 0;
|
|
29
|
+
exports.revert = exports.create = exports.get = exports.getMulti = void 0;
|
|
30
30
|
__exportStar(require("./requests"), exports);
|
|
31
|
+
exports.getMulti = __importStar(require("./getMulti"));
|
|
31
32
|
exports.get = __importStar(require("./get"));
|
|
32
33
|
exports.create = __importStar(require("./create"));
|
|
33
34
|
exports.revert = __importStar(require("./revert"));
|
package/dist/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../..";
|
|
5
|
+
export interface GetMultiWriteOffsRequest {
|
|
6
|
+
/**
|
|
7
|
+
* Defaults to 100. The value must be greater than 0 and less than 1000.
|
|
8
|
+
*/
|
|
9
|
+
limit?: number;
|
|
10
|
+
patientExternalId?: CandidApi.PatientExternalId;
|
|
11
|
+
serviceLineId?: CandidApi.ServiceLineId;
|
|
12
|
+
/**
|
|
13
|
+
* Defaults to write_off_timestamp
|
|
14
|
+
*/
|
|
15
|
+
sort?: CandidApi.writeOffs.v1.WriteOffSortField;
|
|
16
|
+
/**
|
|
17
|
+
* Sort direction. Defaults to descending order if not provided.
|
|
18
|
+
*/
|
|
19
|
+
sortDirection?: CandidApi.SortDirection;
|
|
20
|
+
pageToken?: CandidApi.PageToken;
|
|
21
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export declare type WriteOffSortField = "amount_cents" | "write_off_timestamp" | "write_off_note" | "write_off_reason";
|
|
5
|
+
export declare const WriteOffSortField: {
|
|
6
|
+
readonly AmountCents: "amount_cents";
|
|
7
|
+
readonly WriteOffTimestamp: "write_off_timestamp";
|
|
8
|
+
readonly WriteOffNote: "write_off_note";
|
|
9
|
+
readonly WriteOffReason: "write_off_reason";
|
|
10
|
+
};
|
|
@@ -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.WriteOffSortField = void 0;
|
|
7
|
+
exports.WriteOffSortField = {
|
|
8
|
+
AmountCents: "amount_cents",
|
|
9
|
+
WriteOffTimestamp: "write_off_timestamp",
|
|
10
|
+
WriteOffNote: "write_off_note",
|
|
11
|
+
WriteOffReason: "write_off_reason",
|
|
12
|
+
};
|
|
@@ -18,3 +18,6 @@ __exportStar(require("./WriteOffId"), exports);
|
|
|
18
18
|
__exportStar(require("./WriteOff"), exports);
|
|
19
19
|
__exportStar(require("./WriteOffCreate"), exports);
|
|
20
20
|
__exportStar(require("./WriteOffReason"), exports);
|
|
21
|
+
__exportStar(require("./CreateWriteOffsResponse"), exports);
|
|
22
|
+
__exportStar(require("./WriteOffsPage"), exports);
|
|
23
|
+
__exportStar(require("./WriteOffSortField"), exports);
|
|
@@ -6,5 +6,5 @@ import * as CandidApi from "../../../../api";
|
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
7
|
export declare const ClaimStatus: core.serialization.Schema<serializers.ClaimStatus.Raw, CandidApi.ClaimStatus>;
|
|
8
8
|
export declare namespace ClaimStatus {
|
|
9
|
-
type Raw = "biller_received" | "coded" | "submitted_to_payer" | "missing_information" | "not_billable" | "waiting_for_provider" | "era_received" | "rejected" | "denied" | "paid" | "paid_incorrectly" | "finalized_paid" | "finalized_denied" | "held_by_customer";
|
|
9
|
+
type Raw = "biller_received" | "coded" | "submitted_to_payer" | "missing_information" | "not_billable" | "waiting_for_provider" | "era_received" | "rejected" | "denied" | "paid" | "paid_incorrectly" | "finalized_paid" | "finalized_denied" | "held_by_customer" | "era_requires_review";
|
|
10
10
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../..";
|
|
5
|
+
import * as CandidApi from "../../../../api";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const SortDirection: core.serialization.Schema<serializers.SortDirection.Raw, CandidApi.SortDirection>;
|
|
8
|
+
export declare namespace SortDirection {
|
|
9
|
+
type Raw = "asc" | "desc";
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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.SortDirection = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.SortDirection = core.serialization.enum_(["asc", "desc"]);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../..";
|
|
5
|
+
import * as CandidApi from "../../../../api";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const TaxId: core.serialization.Schema<serializers.TaxId.Raw, CandidApi.TaxId>;
|
|
8
|
+
export declare namespace TaxId {
|
|
9
|
+
type Raw = string;
|
|
10
|
+
}
|