candidhealth 1.3.0 → 1.5.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/api/resources/auth/resources/default/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
- package/api/resources/chargeCapture/resources/v1/client/Client.d.ts +33 -0
- package/api/resources/chargeCapture/resources/v1/client/Client.js +102 -6
- package/api/resources/chargeCapture/resources/v1/client/createFromPreEncounterPatient.d.ts +58 -0
- package/api/resources/chargeCapture/resources/v1/client/createFromPreEncounterPatient.js +123 -0
- package/api/resources/chargeCapture/resources/v1/client/index.d.ts +1 -0
- package/api/resources/chargeCapture/resources/v1/client/index.js +2 -1
- package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureFromPreEncounterRequest.d.ts +30 -0
- package/{dist/api/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.js → api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureFromPreEncounterRequest.js} +0 -6
- package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +14 -0
- package/api/resources/chargeCapture/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +4 -4
- package/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +3 -3
- package/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.d.ts +3 -3
- package/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +2 -2
- package/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreateOptional.d.ts +2 -2
- package/api/resources/claimSubmission/resources/v1/types/index.d.ts +0 -1
- package/api/resources/claimSubmission/resources/v1/types/index.js +0 -1
- package/api/resources/commons/types/NextResponsibleParty.d.ts +12 -0
- package/api/resources/commons/types/NextResponsibleParty.js +14 -0
- package/api/resources/commons/types/index.d.ts +1 -0
- package/api/resources/commons/types/index.js +1 -0
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +1 -1
- package/api/resources/contracts/resources/v2/client/requests/ContractUpdate.d.ts +1 -1
- package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
- package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/api/resources/diagnoses/client/Client.js +5 -3
- package/api/resources/diagnoses/client/delete.d.ts +7 -1
- package/api/resources/diagnoses/client/delete.js +11 -0
- package/api/resources/diagnoses/client/update.d.ts +7 -1
- package/api/resources/diagnoses/client/update.js +11 -0
- package/api/resources/diagnoses/types/DisallowMultiplePrimaryDiagnosisError.d.ts +9 -0
- package/api/resources/{claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.js → diagnoses/types/DisallowMultiplePrimaryDiagnosisError.js} +0 -6
- package/api/resources/diagnoses/types/ServiceLinesMustHaveAtLeastOneDiagnosisError.d.ts +9 -0
- package/api/resources/diagnoses/types/ServiceLinesMustHaveAtLeastOneDiagnosisError.js +5 -0
- package/api/resources/diagnoses/types/index.d.ts +2 -0
- package/api/resources/diagnoses/types/index.js +2 -0
- package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -3
- package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/api/resources/encounters/resources/v4/client/Client.js +5 -5
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +44 -2
- package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +3 -2
- package/api/resources/encounters/resources/v4/types/EncounterSubmissionExpectation.d.ts +21 -0
- package/api/resources/encounters/resources/v4/types/EncounterSubmissionExpectation.js +10 -0
- package/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/api/resources/encounters/resources/v4/types/index.js +1 -0
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/api/resources/exports/resources/v3/client/Client.d.ts +5 -3
- package/api/resources/exports/resources/v3/client/Client.js +8 -4
- package/api/resources/exports/resources/v3/client/getExports.d.ts +13 -1
- package/api/resources/exports/resources/v3/client/getExports.js +22 -0
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/api/resources/feeSchedules/resources/v3/client/Client.d.ts +18 -0
- package/api/resources/feeSchedules/resources/v3/client/Client.js +60 -10
- package/api/resources/feeSchedules/resources/v3/client/hardDeleteRates.d.ts +22 -0
- package/api/resources/feeSchedules/resources/v3/client/hardDeleteRates.js +57 -0
- package/api/resources/feeSchedules/resources/v3/client/index.d.ts +1 -0
- package/api/resources/feeSchedules/resources/v3/client/index.js +2 -1
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/api/resources/individual/types/SubscriberCreate.d.ts +1 -0
- package/api/resources/individual/types/SubscriberCreateOptional.d.ts +1 -0
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +15 -0
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +79 -7
- package/api/resources/nonInsurancePayers/resources/v1/client/getCategories.d.ts +22 -0
- package/api/resources/nonInsurancePayers/resources/v1/client/getCategories.js +57 -0
- package/api/resources/nonInsurancePayers/resources/v1/client/index.d.ts +1 -0
- package/api/resources/nonInsurancePayers/resources/v1/client/index.js +2 -1
- package/api/resources/nonInsurancePayers/resources/v1/client/requests/GetMultiNonInsurancePayersRequest.d.ts +15 -0
- package/api/resources/nonInsurancePayers/resources/v1/client/requests/GetNonInsurancePayersCategoriesRequest.d.ts +22 -0
- package/api/resources/nonInsurancePayers/resources/v1/client/requests/GetNonInsurancePayersCategoriesRequest.js +5 -0
- package/api/resources/nonInsurancePayers/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerCategoriesPage.d.ts +7 -0
- package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerCategoriesPage.js +5 -0
- package/api/resources/nonInsurancePayers/resources/v1/types/index.d.ts +1 -0
- package/api/resources/nonInsurancePayers/resources/v1/types/index.js +1 -0
- package/api/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +2 -1
- package/api/resources/organizationProviders/resources/v2/types/LicenseType.js +1 -0
- package/api/resources/organizationProviders/resources/v3/client/Client.js +15 -5
- package/api/resources/organizationProviders/resources/v3/client/requests/GetAllOrganizationProvidersRequestV2.d.ts +4 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +16 -6
- package/api/resources/organizationServiceFacilities/resources/v2/client/requests/GetAllOrganizationServiceFacilitiesRequest.d.ts +4 -0
- package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +1 -1
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +8 -8
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +1 -1
- package/api/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.d.ts +1 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/types/Visit.d.ts +1 -0
- package/api/resources/preEncounter/resources/common/types/BaseModel.d.ts +1 -1
- package/{dist/api/resources/preEncounter/resources/lists/resources/v1 → api/resources/preEncounter/resources/common}/types/FilterQueryString.d.ts +4 -4
- package/api/resources/preEncounter/resources/common/types/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/common/types/index.js +1 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +1 -1
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +11 -11
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.d.ts +1 -1
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +39 -4
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +155 -8
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/createRecommendation.d.ts +22 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/createRecommendation.js +57 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.d.ts +4 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.js +8 -1
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/payerSearch.d.ts +22 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/payerSearch.js +57 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/recommendation.d.ts +22 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/recommendation.js +57 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/BatchEligibilityPollRequest.d.ts +11 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/BatchEligibilityPollRequest.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/EligibilityRecommendationRequest.d.ts +11 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/EligibilityRecommendationRequest.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/PayerSearchRequest.d.ts +13 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/PayerSearchRequest.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/index.d.ts +3 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/index.js +2 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CoordinationOfBenefitsRecommendation.d.ts +9 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CoordinationOfBenefitsRecommendation.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendation.d.ts +13 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendation.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPatientInfo.d.ts +18 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPatientInfo.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPayload.d.ts +13 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPayload.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendation.d.ts +10 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendation.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendationPayload.d.ts +12 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendationPayload.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PayerSearchResponse.d.ts +8 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PayerSearchResponse.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PostEligibilityRecommendationRequest.d.ts +9 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PostEligibilityRecommendationRequest.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayer.d.ts +15 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayer.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayerItem.d.ts +8 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayerItem.js +5 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.d.ts +10 -0
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.js +10 -0
- package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +1 -1
- package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +1 -1
- package/api/resources/preEncounter/resources/lists/resources/v1/types/PatientListItem.d.ts +2 -0
- package/api/resources/preEncounter/resources/lists/resources/v1/types/index.d.ts +0 -1
- package/api/resources/preEncounter/resources/lists/resources/v1/types/index.js +0 -1
- package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +1 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +12 -12
- package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
- package/api/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.d.ts +2 -0
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
- package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +3 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +2 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +2 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +2 -0
- package/api/resources/superbills/resources/v1/client/Client.js +1 -1
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
- package/api/resources/x12/resources/v1/types/PatientDischargeStatusCode.d.ts +166 -0
- package/api/resources/x12/resources/v1/types/PatientDischargeStatusCode.js +48 -0
- package/api/resources/x12/resources/v1/types/PointOfOriginForAdmissionOrVisitCode.d.ts +50 -0
- package/api/resources/x12/resources/v1/types/PointOfOriginForAdmissionOrVisitCode.js +19 -0
- package/api/resources/x12/resources/v1/types/TypeOfAdmissionOrVisitCode.d.ts +30 -0
- package/api/resources/x12/resources/v1/types/TypeOfAdmissionOrVisitCode.js +14 -0
- package/api/resources/x12/resources/v1/types/TypeOfBillComposite.d.ts +14 -0
- package/api/resources/x12/resources/v1/types/TypeOfBillComposite.js +5 -0
- package/api/resources/x12/resources/v1/types/TypeOfBillFrequencyCode.d.ts +114 -0
- package/api/resources/x12/resources/v1/types/TypeOfBillFrequencyCode.js +35 -0
- package/api/resources/x12/resources/v1/types/TypeOfCareCode.d.ts +42 -0
- package/api/resources/x12/resources/v1/types/TypeOfCareCode.js +17 -0
- package/api/resources/x12/resources/v1/types/TypeOfFacilityCode.d.ts +34 -0
- package/api/resources/x12/resources/v1/types/TypeOfFacilityCode.js +15 -0
- package/api/resources/x12/resources/v1/types/index.d.ts +7 -0
- package/api/resources/x12/resources/v1/types/index.js +7 -0
- package/dist/api/resources/auth/resources/default/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +33 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +102 -6
- package/dist/api/resources/chargeCapture/resources/v1/client/createFromPreEncounterPatient.d.ts +58 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/createFromPreEncounterPatient.js +123 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/index.d.ts +1 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/index.js +2 -1
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureFromPreEncounterRequest.d.ts +30 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureFromPreEncounterRequest.js +5 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +14 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +3 -3
- package/dist/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.d.ts +3 -3
- package/dist/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +2 -2
- package/dist/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreateOptional.d.ts +2 -2
- package/dist/api/resources/claimSubmission/resources/v1/types/index.d.ts +0 -1
- package/dist/api/resources/claimSubmission/resources/v1/types/index.js +0 -1
- package/dist/api/resources/commons/types/NextResponsibleParty.d.ts +12 -0
- package/dist/api/resources/commons/types/NextResponsibleParty.js +14 -0
- package/dist/api/resources/commons/types/index.d.ts +1 -0
- package/dist/api/resources/commons/types/index.js +1 -0
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +1 -1
- package/dist/api/resources/contracts/resources/v2/client/requests/ContractUpdate.d.ts +1 -1
- package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/diagnoses/client/Client.js +5 -3
- package/dist/api/resources/diagnoses/client/delete.d.ts +7 -1
- package/dist/api/resources/diagnoses/client/delete.js +11 -0
- package/dist/api/resources/diagnoses/client/update.d.ts +7 -1
- package/dist/api/resources/diagnoses/client/update.js +11 -0
- package/dist/api/resources/diagnoses/types/DisallowMultiplePrimaryDiagnosisError.d.ts +9 -0
- package/dist/api/resources/diagnoses/types/DisallowMultiplePrimaryDiagnosisError.js +5 -0
- package/dist/api/resources/diagnoses/types/ServiceLinesMustHaveAtLeastOneDiagnosisError.d.ts +9 -0
- package/dist/api/resources/diagnoses/types/ServiceLinesMustHaveAtLeastOneDiagnosisError.js +5 -0
- package/dist/api/resources/diagnoses/types/index.d.ts +2 -0
- package/dist/api/resources/diagnoses/types/index.js +2 -0
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/dist/api/resources/encounters/resources/v4/client/Client.js +5 -5
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +44 -2
- package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +3 -2
- package/dist/api/resources/encounters/resources/v4/types/EncounterSubmissionExpectation.d.ts +21 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterSubmissionExpectation.js +10 -0
- package/dist/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/dist/api/resources/encounters/resources/v4/types/index.js +1 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/dist/api/resources/exports/resources/v3/client/Client.d.ts +5 -3
- package/dist/api/resources/exports/resources/v3/client/Client.js +8 -4
- package/dist/api/resources/exports/resources/v3/client/getExports.d.ts +13 -1
- package/dist/api/resources/exports/resources/v3/client/getExports.js +22 -0
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.d.ts +18 -0
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +60 -10
- package/dist/api/resources/feeSchedules/resources/v3/client/hardDeleteRates.d.ts +22 -0
- package/dist/api/resources/feeSchedules/resources/v3/client/hardDeleteRates.js +57 -0
- package/dist/api/resources/feeSchedules/resources/v3/client/index.d.ts +1 -0
- package/dist/api/resources/feeSchedules/resources/v3/client/index.js +2 -1
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/individual/types/SubscriberCreate.d.ts +1 -0
- package/dist/api/resources/individual/types/SubscriberCreateOptional.d.ts +1 -0
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +15 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +79 -7
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/getCategories.d.ts +22 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/getCategories.js +57 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/index.d.ts +1 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/index.js +2 -1
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/requests/GetMultiNonInsurancePayersRequest.d.ts +15 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/requests/GetNonInsurancePayersCategoriesRequest.d.ts +22 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/requests/GetNonInsurancePayersCategoriesRequest.js +5 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerCategoriesPage.d.ts +7 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerCategoriesPage.js +5 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/index.d.ts +1 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/index.js +1 -0
- package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +2 -1
- package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.js +1 -0
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +15 -5
- package/dist/api/resources/organizationProviders/resources/v3/client/requests/GetAllOrganizationProvidersRequestV2.d.ts +4 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +16 -6
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/requests/GetAllOrganizationServiceFacilitiesRequest.d.ts +4 -0
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +8 -8
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/Visit.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/common/types/BaseModel.d.ts +1 -1
- package/{api/resources/preEncounter/resources/lists/resources/v1 → dist/api/resources/preEncounter/resources/common}/types/FilterQueryString.d.ts +4 -4
- package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/common/types/index.js +1 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +11 -11
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +39 -4
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +155 -8
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/createRecommendation.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/createRecommendation.js +57 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.d.ts +4 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.js +8 -1
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/payerSearch.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/payerSearch.js +57 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/recommendation.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/recommendation.js +57 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/BatchEligibilityPollRequest.d.ts +11 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/BatchEligibilityPollRequest.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/EligibilityRecommendationRequest.d.ts +11 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/EligibilityRecommendationRequest.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/PayerSearchRequest.d.ts +13 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/PayerSearchRequest.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/index.d.ts +3 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/index.js +2 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CoordinationOfBenefitsRecommendation.d.ts +9 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CoordinationOfBenefitsRecommendation.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendation.d.ts +13 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendation.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPatientInfo.d.ts +18 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPatientInfo.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPayload.d.ts +13 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPayload.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendation.d.ts +10 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendation.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendationPayload.d.ts +12 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendationPayload.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PayerSearchResponse.d.ts +8 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PayerSearchResponse.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PostEligibilityRecommendationRequest.d.ts +9 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PostEligibilityRecommendationRequest.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayer.d.ts +15 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayer.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayerItem.d.ts +8 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayerItem.js +5 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.d.ts +10 -0
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.js +10 -0
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/PatientListItem.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/index.d.ts +0 -1
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/index.js +0 -1
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +12 -12
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.d.ts +2 -0
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +3 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +2 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +2 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +2 -0
- package/dist/api/resources/superbills/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/x12/resources/v1/types/PatientDischargeStatusCode.d.ts +166 -0
- package/dist/api/resources/x12/resources/v1/types/PatientDischargeStatusCode.js +48 -0
- package/dist/api/resources/x12/resources/v1/types/PointOfOriginForAdmissionOrVisitCode.d.ts +50 -0
- package/dist/api/resources/x12/resources/v1/types/PointOfOriginForAdmissionOrVisitCode.js +19 -0
- package/dist/api/resources/x12/resources/v1/types/TypeOfAdmissionOrVisitCode.d.ts +30 -0
- package/dist/api/resources/x12/resources/v1/types/TypeOfAdmissionOrVisitCode.js +14 -0
- package/dist/api/resources/x12/resources/v1/types/TypeOfBillComposite.d.ts +14 -0
- package/dist/api/resources/x12/resources/v1/types/TypeOfBillComposite.js +5 -0
- package/dist/api/resources/x12/resources/v1/types/TypeOfBillFrequencyCode.d.ts +114 -0
- package/dist/api/resources/x12/resources/v1/types/TypeOfBillFrequencyCode.js +35 -0
- package/dist/api/resources/x12/resources/v1/types/TypeOfCareCode.d.ts +42 -0
- package/dist/api/resources/x12/resources/v1/types/TypeOfCareCode.js +17 -0
- package/dist/api/resources/x12/resources/v1/types/TypeOfFacilityCode.d.ts +34 -0
- package/dist/api/resources/x12/resources/v1/types/TypeOfFacilityCode.js +15 -0
- package/dist/api/resources/x12/resources/v1/types/index.d.ts +7 -0
- package/dist/api/resources/x12/resources/v1/types/index.js +7 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/createFromPreEncounterPatient.d.ts +40 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/createFromPreEncounterPatient.js +101 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +1 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/index.js +2 -1
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureFromPreEncounterRequest.d.ts +23 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureFromPreEncounterRequest.js +54 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/index.js +3 -1
- package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +2 -2
- package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.js +2 -2
- package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.d.ts +2 -2
- package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.js +2 -2
- package/dist/serialization/resources/claimSubmission/resources/v1/types/index.d.ts +0 -1
- package/dist/serialization/resources/claimSubmission/resources/v1/types/index.js +0 -1
- package/dist/serialization/resources/commons/types/NextResponsibleParty.d.ts +10 -0
- package/dist/serialization/resources/commons/types/NextResponsibleParty.js +41 -0
- package/dist/serialization/resources/commons/types/index.d.ts +1 -0
- package/dist/serialization/resources/commons/types/index.js +1 -0
- package/dist/serialization/resources/diagnoses/client/delete.d.ts +6 -1
- package/dist/serialization/resources/diagnoses/client/delete.js +6 -0
- package/dist/serialization/resources/diagnoses/client/update.d.ts +6 -1
- package/dist/serialization/resources/diagnoses/client/update.js +6 -0
- package/dist/serialization/resources/diagnoses/types/DisallowMultiplePrimaryDiagnosisError.d.ts +15 -0
- package/dist/serialization/resources/diagnoses/types/DisallowMultiplePrimaryDiagnosisError.js +46 -0
- package/dist/serialization/resources/diagnoses/types/ServiceLinesMustHaveAtLeastOneDiagnosisError.d.ts +16 -0
- package/dist/serialization/resources/diagnoses/types/ServiceLinesMustHaveAtLeastOneDiagnosisError.js +47 -0
- package/dist/serialization/resources/diagnoses/types/index.d.ts +2 -0
- package/dist/serialization/resources/diagnoses/types/index.js +2 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +20 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +20 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterSubmissionExpectation.d.ts +10 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterSubmissionExpectation.js +41 -0
- package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/index.js +1 -0
- package/dist/serialization/resources/exports/resources/v3/client/getExports.d.ts +9 -1
- package/dist/serialization/resources/exports/resources/v3/client/getExports.js +10 -0
- package/dist/serialization/resources/feeSchedules/resources/v3/client/hardDeleteRates.d.ts +9 -0
- package/dist/serialization/resources/{claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.js → feeSchedules/resources/v3/client/hardDeleteRates.js} +2 -2
- package/dist/serialization/resources/feeSchedules/resources/v3/client/index.d.ts +1 -0
- package/dist/serialization/resources/feeSchedules/resources/v3/client/index.js +2 -1
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerCategoriesPage.d.ts +13 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerCategoriesPage.js +46 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/index.d.ts +1 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/index.js +1 -0
- package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
- package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.js +2 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/FilterQueryString.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/{lists/resources/v1 → common}/types/FilterQueryString.js +3 -3
- package/dist/serialization/resources/preEncounter/resources/common/types/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/index.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.js +2 -1
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/recommendation.d.ts +11 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/recommendation.js +42 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CoordinationOfBenefitsRecommendation.d.ts +12 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CoordinationOfBenefitsRecommendation.js +43 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendation.d.ts +17 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendation.js +50 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPatientInfo.d.ts +20 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPatientInfo.js +51 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPayload.d.ts +18 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPayload.js +51 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendation.d.ts +13 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendation.js +44 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendationPayload.d.ts +15 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendationPayload.js +46 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PayerSearchResponse.d.ts +15 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PayerSearchResponse.js +48 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PostEligibilityRecommendationRequest.d.ts +16 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PostEligibilityRecommendationRequest.js +47 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayer.d.ts +21 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayer.js +52 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayerItem.d.ts +14 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayerItem.js +45 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.js +10 -0
- package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/PatientListItem.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/PatientListItem.js +2 -0
- package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/index.d.ts +0 -1
- package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/index.js +0 -1
- package/dist/serialization/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.js +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.js +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +1 -0
- package/dist/serialization/resources/x12/resources/v1/types/PatientDischargeStatusCode.d.ts +10 -0
- package/dist/serialization/resources/x12/resources/v1/types/PatientDischargeStatusCode.js +82 -0
- package/dist/serialization/resources/x12/resources/v1/types/PointOfOriginForAdmissionOrVisitCode.d.ts +10 -0
- package/dist/serialization/resources/x12/resources/v1/types/PointOfOriginForAdmissionOrVisitCode.js +41 -0
- package/dist/serialization/resources/x12/resources/v1/types/TypeOfAdmissionOrVisitCode.d.ts +10 -0
- package/dist/serialization/resources/x12/resources/v1/types/TypeOfAdmissionOrVisitCode.js +41 -0
- package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillComposite.d.ts +18 -0
- package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillComposite.js +49 -0
- package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillFrequencyCode.d.ts +10 -0
- package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillFrequencyCode.js +69 -0
- package/dist/serialization/resources/x12/resources/v1/types/TypeOfCareCode.d.ts +10 -0
- package/dist/serialization/resources/x12/resources/v1/types/TypeOfCareCode.js +41 -0
- package/dist/serialization/resources/x12/resources/v1/types/TypeOfFacilityCode.d.ts +10 -0
- package/dist/serialization/resources/x12/resources/v1/types/TypeOfFacilityCode.js +41 -0
- package/dist/serialization/resources/x12/resources/v1/types/index.d.ts +7 -0
- package/dist/serialization/resources/x12/resources/v1/types/index.js +7 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +442 -10
- package/serialization/resources/chargeCapture/resources/v1/client/createFromPreEncounterPatient.d.ts +40 -0
- package/serialization/resources/chargeCapture/resources/v1/client/createFromPreEncounterPatient.js +101 -0
- package/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +1 -0
- package/serialization/resources/chargeCapture/resources/v1/client/index.js +2 -1
- package/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureFromPreEncounterRequest.d.ts +23 -0
- package/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureFromPreEncounterRequest.js +54 -0
- package/serialization/resources/chargeCapture/resources/v1/client/requests/index.d.ts +1 -0
- package/serialization/resources/chargeCapture/resources/v1/client/requests/index.js +3 -1
- package/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +2 -2
- package/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.js +2 -2
- package/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.d.ts +2 -2
- package/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.js +2 -2
- package/serialization/resources/claimSubmission/resources/v1/types/index.d.ts +0 -1
- package/serialization/resources/claimSubmission/resources/v1/types/index.js +0 -1
- package/serialization/resources/commons/types/NextResponsibleParty.d.ts +10 -0
- package/serialization/resources/commons/types/NextResponsibleParty.js +41 -0
- package/serialization/resources/commons/types/index.d.ts +1 -0
- package/serialization/resources/commons/types/index.js +1 -0
- package/serialization/resources/diagnoses/client/delete.d.ts +6 -1
- package/serialization/resources/diagnoses/client/delete.js +6 -0
- package/serialization/resources/diagnoses/client/update.d.ts +6 -1
- package/serialization/resources/diagnoses/client/update.js +6 -0
- package/serialization/resources/diagnoses/types/DisallowMultiplePrimaryDiagnosisError.d.ts +15 -0
- package/serialization/resources/diagnoses/types/DisallowMultiplePrimaryDiagnosisError.js +46 -0
- package/serialization/resources/diagnoses/types/ServiceLinesMustHaveAtLeastOneDiagnosisError.d.ts +16 -0
- package/serialization/resources/diagnoses/types/ServiceLinesMustHaveAtLeastOneDiagnosisError.js +47 -0
- package/serialization/resources/diagnoses/types/index.d.ts +2 -0
- package/serialization/resources/diagnoses/types/index.js +2 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +20 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.js +20 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterSubmissionExpectation.d.ts +10 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterSubmissionExpectation.js +41 -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/exports/resources/v3/client/getExports.d.ts +9 -1
- package/serialization/resources/exports/resources/v3/client/getExports.js +10 -0
- package/serialization/resources/feeSchedules/resources/v3/client/hardDeleteRates.d.ts +9 -0
- package/serialization/resources/{claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.js → feeSchedules/resources/v3/client/hardDeleteRates.js} +2 -2
- package/serialization/resources/feeSchedules/resources/v3/client/index.d.ts +1 -0
- package/serialization/resources/feeSchedules/resources/v3/client/index.js +2 -1
- package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerCategoriesPage.d.ts +13 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerCategoriesPage.js +46 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/index.d.ts +1 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/index.js +1 -0
- package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
- package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +1 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.js +1 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.js +2 -0
- package/serialization/resources/preEncounter/resources/common/types/FilterQueryString.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/{lists/resources/v1 → common}/types/FilterQueryString.js +3 -3
- package/serialization/resources/preEncounter/resources/common/types/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/common/types/index.js +1 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.js +2 -1
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/recommendation.d.ts +11 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/recommendation.js +42 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CoordinationOfBenefitsRecommendation.d.ts +12 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CoordinationOfBenefitsRecommendation.js +43 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendation.d.ts +17 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendation.js +50 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPatientInfo.d.ts +20 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPatientInfo.js +51 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPayload.d.ts +18 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPayload.js +51 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendation.d.ts +13 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendation.js +44 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendationPayload.d.ts +15 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendationPayload.js +46 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PayerSearchResponse.d.ts +15 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PayerSearchResponse.js +48 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PostEligibilityRecommendationRequest.d.ts +16 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PostEligibilityRecommendationRequest.js +47 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayer.d.ts +21 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayer.js +52 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayerItem.d.ts +14 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayerItem.js +45 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.js +10 -0
- package/serialization/resources/preEncounter/resources/lists/resources/v1/types/PatientListItem.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/lists/resources/v1/types/PatientListItem.js +2 -0
- package/serialization/resources/preEncounter/resources/lists/resources/v1/types/index.d.ts +0 -1
- package/serialization/resources/preEncounter/resources/lists/resources/v1/types/index.js +0 -1
- package/serialization/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.js +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.js +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +1 -0
- package/serialization/resources/x12/resources/v1/types/PatientDischargeStatusCode.d.ts +10 -0
- package/serialization/resources/x12/resources/v1/types/PatientDischargeStatusCode.js +82 -0
- package/serialization/resources/x12/resources/v1/types/PointOfOriginForAdmissionOrVisitCode.d.ts +10 -0
- package/serialization/resources/x12/resources/v1/types/PointOfOriginForAdmissionOrVisitCode.js +41 -0
- package/serialization/resources/x12/resources/v1/types/TypeOfAdmissionOrVisitCode.d.ts +10 -0
- package/serialization/resources/x12/resources/v1/types/TypeOfAdmissionOrVisitCode.js +41 -0
- package/serialization/resources/x12/resources/v1/types/TypeOfBillComposite.d.ts +18 -0
- package/serialization/resources/x12/resources/v1/types/TypeOfBillComposite.js +49 -0
- package/serialization/resources/x12/resources/v1/types/TypeOfBillFrequencyCode.d.ts +10 -0
- package/serialization/resources/x12/resources/v1/types/TypeOfBillFrequencyCode.js +69 -0
- package/serialization/resources/x12/resources/v1/types/TypeOfCareCode.d.ts +10 -0
- package/serialization/resources/x12/resources/v1/types/TypeOfCareCode.js +41 -0
- package/serialization/resources/x12/resources/v1/types/TypeOfFacilityCode.d.ts +10 -0
- package/serialization/resources/x12/resources/v1/types/TypeOfFacilityCode.js +41 -0
- package/serialization/resources/x12/resources/v1/types/index.d.ts +7 -0
- package/serialization/resources/x12/resources/v1/types/index.js +7 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.d.ts +0 -9
- package/dist/api/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.d.ts +0 -9
- package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.d.ts +0 -10
- package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/FilterQueryString.d.ts +0 -10
- package/serialization/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.d.ts +0 -10
- package/serialization/resources/preEncounter/resources/lists/resources/v1/types/FilterQueryString.d.ts +0 -10
- /package/api/resources/preEncounter/resources/{lists/resources/v1 → common}/types/FilterQueryString.js +0 -0
- /package/dist/api/resources/preEncounter/resources/{lists/resources/v1 → common}/types/FilterQueryString.js +0 -0
|
@@ -73,7 +73,7 @@ class V3 {
|
|
|
73
73
|
const _response = yield core.fetcher({
|
|
74
74
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/fee-schedules/v3/service-line/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}/match`),
|
|
75
75
|
method: "GET",
|
|
76
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
76
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.5.0", "User-Agent": "candidhealth/1.5.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
77
77
|
contentType: "application/json",
|
|
78
78
|
requestType: "json",
|
|
79
79
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -128,7 +128,7 @@ class V3 {
|
|
|
128
128
|
const _response = yield core.fetcher({
|
|
129
129
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/fee-schedules/v3/service-line/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}/match/${encodeURIComponent(serializers.RateId.jsonOrThrow(rateId))}`),
|
|
130
130
|
method: "GET",
|
|
131
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
131
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.5.0", "User-Agent": "candidhealth/1.5.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
132
132
|
contentType: "application/json",
|
|
133
133
|
requestType: "json",
|
|
134
134
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -266,7 +266,7 @@ class V3 {
|
|
|
266
266
|
const _response = yield core.fetcher({
|
|
267
267
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/fee-schedules/v3"),
|
|
268
268
|
method: "GET",
|
|
269
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
269
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.5.0", "User-Agent": "candidhealth/1.5.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
270
270
|
contentType: "application/json",
|
|
271
271
|
queryParameters: _queryParams,
|
|
272
272
|
requestType: "json",
|
|
@@ -392,7 +392,7 @@ class V3 {
|
|
|
392
392
|
const _response = yield core.fetcher({
|
|
393
393
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/fee-schedules/v3/unique-dimension-values"),
|
|
394
394
|
method: "GET",
|
|
395
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
395
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.5.0", "User-Agent": "candidhealth/1.5.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
396
396
|
contentType: "application/json",
|
|
397
397
|
queryParameters: _queryParams,
|
|
398
398
|
requestType: "json",
|
|
@@ -432,7 +432,7 @@ class V3 {
|
|
|
432
432
|
const _response = yield core.fetcher({
|
|
433
433
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/fee-schedules/v3/${encodeURIComponent(serializers.RateId.jsonOrThrow(rateId))}/history`),
|
|
434
434
|
method: "GET",
|
|
435
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
435
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.5.0", "User-Agent": "candidhealth/1.5.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
436
436
|
contentType: "application/json",
|
|
437
437
|
requestType: "json",
|
|
438
438
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -534,7 +534,7 @@ class V3 {
|
|
|
534
534
|
const _response = yield core.fetcher({
|
|
535
535
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/fee-schedules/v3"),
|
|
536
536
|
method: "POST",
|
|
537
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
537
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.5.0", "User-Agent": "candidhealth/1.5.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
538
538
|
contentType: "application/json",
|
|
539
539
|
requestType: "json",
|
|
540
540
|
body: serializers.feeSchedules.v3.FeeScheduleUploadRequest.jsonOrThrow(request, {
|
|
@@ -591,7 +591,7 @@ class V3 {
|
|
|
591
591
|
const _response = yield core.fetcher({
|
|
592
592
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/fee-schedules/v3/${encodeURIComponent(serializers.RateId.jsonOrThrow(rateId))}/${encodeURIComponent(version)}`),
|
|
593
593
|
method: "DELETE",
|
|
594
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
594
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.5.0", "User-Agent": "candidhealth/1.5.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
595
595
|
contentType: "application/json",
|
|
596
596
|
requestType: "json",
|
|
597
597
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -639,7 +639,7 @@ class V3 {
|
|
|
639
639
|
const _response = yield core.fetcher({
|
|
640
640
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/fee-schedules/v3/payer-threshold/default"),
|
|
641
641
|
method: "GET",
|
|
642
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
642
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.5.0", "User-Agent": "candidhealth/1.5.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
643
643
|
contentType: "application/json",
|
|
644
644
|
requestType: "json",
|
|
645
645
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -688,7 +688,7 @@ class V3 {
|
|
|
688
688
|
const _response = yield core.fetcher({
|
|
689
689
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/fee-schedules/v3/payer-threshold"),
|
|
690
690
|
method: "GET",
|
|
691
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
691
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.5.0", "User-Agent": "candidhealth/1.5.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
692
692
|
contentType: "application/json",
|
|
693
693
|
queryParameters: _queryParams,
|
|
694
694
|
requestType: "json",
|
|
@@ -731,7 +731,7 @@ class V3 {
|
|
|
731
731
|
const _response = yield core.fetcher({
|
|
732
732
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/fee-schedules/v3/payer-threshold/${encodeURIComponent(serializers.payers.v3.PayerUuid.jsonOrThrow(payerUuid))}`),
|
|
733
733
|
method: "PUT",
|
|
734
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
734
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.5.0", "User-Agent": "candidhealth/1.5.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
735
735
|
contentType: "application/json",
|
|
736
736
|
requestType: "json",
|
|
737
737
|
body: serializers.feeSchedules.v3.PayerThreshold.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -770,6 +770,56 @@ class V3 {
|
|
|
770
770
|
};
|
|
771
771
|
});
|
|
772
772
|
}
|
|
773
|
+
/**
|
|
774
|
+
* Hard deletes rates from the system that match the provided dimensions. This is a destructive operation and cannot be undone. If an empty dimensions object is provided, all rates will be hard deleted. The maximum number of rates this API will delete at a time is 10000. Returns the number of rates deleted and if that number is the maximum, the caller should call this API again to continue deleting rates.
|
|
775
|
+
*
|
|
776
|
+
* @param {CandidApi.feeSchedules.v3.OptionalDimensions} request
|
|
777
|
+
* @param {V3.RequestOptions} requestOptions - Request-specific configuration.
|
|
778
|
+
*
|
|
779
|
+
* @example
|
|
780
|
+
* await client.feeSchedules.v3.hardDeleteRates({
|
|
781
|
+
* states: new Set(["AA"]),
|
|
782
|
+
* zipCodes: new Set(["zip_codes"]),
|
|
783
|
+
* licenseTypes: new Set(["MD"]),
|
|
784
|
+
* facilityTypeCodes: new Set(["01"]),
|
|
785
|
+
* networkTypes: new Set(["12"]),
|
|
786
|
+
* payerPlanGroupIds: new Set([CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]),
|
|
787
|
+
* modifiers: new Set(["AV"])
|
|
788
|
+
* })
|
|
789
|
+
*/
|
|
790
|
+
hardDeleteRates(request, requestOptions) {
|
|
791
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
792
|
+
var _a, _b;
|
|
793
|
+
const _response = yield core.fetcher({
|
|
794
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/fee-schedules/v3/hard-delete"),
|
|
795
|
+
method: "POST",
|
|
796
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.5.0", "User-Agent": "candidhealth/1.5.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
797
|
+
contentType: "application/json",
|
|
798
|
+
requestType: "json",
|
|
799
|
+
body: serializers.feeSchedules.v3.OptionalDimensions.jsonOrThrow(request, {
|
|
800
|
+
unrecognizedObjectKeys: "strip",
|
|
801
|
+
}),
|
|
802
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
803
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
804
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
805
|
+
});
|
|
806
|
+
if (_response.ok) {
|
|
807
|
+
return {
|
|
808
|
+
ok: true,
|
|
809
|
+
body: serializers.feeSchedules.v3.hardDeleteRates.Response.parseOrThrow(_response.body, {
|
|
810
|
+
unrecognizedObjectKeys: "passthrough",
|
|
811
|
+
allowUnrecognizedUnionMembers: true,
|
|
812
|
+
allowUnrecognizedEnumValues: true,
|
|
813
|
+
breadcrumbsPrefix: ["response"],
|
|
814
|
+
}),
|
|
815
|
+
};
|
|
816
|
+
}
|
|
817
|
+
return {
|
|
818
|
+
ok: false,
|
|
819
|
+
error: CandidApi.feeSchedules.v3.hardDeleteRates.Error._unknown(_response.error),
|
|
820
|
+
};
|
|
821
|
+
});
|
|
822
|
+
}
|
|
773
823
|
_getAuthorizationHeader() {
|
|
774
824
|
return __awaiter(this, void 0, void 0, function* () {
|
|
775
825
|
const bearer = yield core.Supplier.get(this._options.token);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
import * as core from "../../../../../../core";
|
|
6
|
+
export type Error = CandidApi.feeSchedules.v3.hardDeleteRates.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.feeSchedules.v3.hardDeleteRates.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.feeSchedules.v3.hardDeleteRates.Error._Unknown;
|
|
21
|
+
readonly _visit: <_Result>(value: CandidApi.feeSchedules.v3.hardDeleteRates.Error, visitor: CandidApi.feeSchedules.v3.hardDeleteRates.Error._Visitor<_Result>) => _Result;
|
|
22
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.Error = void 0;
|
|
40
|
+
const CandidApi = __importStar(require("../../../../../index"));
|
|
41
|
+
exports.Error = {
|
|
42
|
+
_unknown: (fetcherError) => {
|
|
43
|
+
return {
|
|
44
|
+
errorName: undefined,
|
|
45
|
+
content: fetcherError,
|
|
46
|
+
_visit: function (visitor) {
|
|
47
|
+
return CandidApi.feeSchedules.v3.hardDeleteRates.Error._visit(this, visitor);
|
|
48
|
+
},
|
|
49
|
+
};
|
|
50
|
+
},
|
|
51
|
+
_visit: (value, visitor) => {
|
|
52
|
+
switch (value.errorName) {
|
|
53
|
+
default:
|
|
54
|
+
return visitor._other(value);
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
};
|
|
@@ -9,3 +9,4 @@ export * as deleteRate from "./deleteRate";
|
|
|
9
9
|
export * as getPayerThresholdsDefault from "./getPayerThresholdsDefault";
|
|
10
10
|
export * as getPayerThresholds from "./getPayerThresholds";
|
|
11
11
|
export * as setPayerThreshold from "./setPayerThreshold";
|
|
12
|
+
export * as hardDeleteRates from "./hardDeleteRates";
|
|
@@ -36,7 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.setPayerThreshold = exports.getPayerThresholds = exports.getPayerThresholdsDefault = exports.deleteRate = exports.uploadFeeSchedule = exports.getRateHistory = exports.getUniqueValuesForDimension = exports.getMulti = exports.testMatch = exports.getMatch = void 0;
|
|
39
|
+
exports.hardDeleteRates = exports.setPayerThreshold = exports.getPayerThresholds = exports.getPayerThresholdsDefault = exports.deleteRate = exports.uploadFeeSchedule = exports.getRateHistory = exports.getUniqueValuesForDimension = exports.getMulti = exports.testMatch = exports.getMatch = void 0;
|
|
40
40
|
__exportStar(require("./requests"), exports);
|
|
41
41
|
exports.getMatch = __importStar(require("./getMatch"));
|
|
42
42
|
exports.testMatch = __importStar(require("./testMatch"));
|
|
@@ -48,3 +48,4 @@ exports.deleteRate = __importStar(require("./deleteRate"));
|
|
|
48
48
|
exports.getPayerThresholdsDefault = __importStar(require("./getPayerThresholdsDefault"));
|
|
49
49
|
exports.getPayerThresholds = __importStar(require("./getPayerThresholds"));
|
|
50
50
|
exports.setPayerThreshold = __importStar(require("./setPayerThreshold"));
|
|
51
|
+
exports.hardDeleteRates = __importStar(require("./hardDeleteRates"));
|
|
@@ -84,7 +84,7 @@ class V1 {
|
|
|
84
84
|
const _response = yield core.fetcher({
|
|
85
85
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/guarantors/v1/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}`),
|
|
86
86
|
method: "POST",
|
|
87
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
87
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.5.0", "User-Agent": "candidhealth/1.5.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
88
88
|
contentType: "application/json",
|
|
89
89
|
requestType: "json",
|
|
90
90
|
body: serializers.guarantor.v1.GuarantorCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -139,7 +139,7 @@ class V1 {
|
|
|
139
139
|
const _response = yield core.fetcher({
|
|
140
140
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/guarantors/v1/${encodeURIComponent(serializers.guarantor.v1.GuarantorId.jsonOrThrow(guarantorId))}`),
|
|
141
141
|
method: "GET",
|
|
142
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
142
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.5.0", "User-Agent": "candidhealth/1.5.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
143
143
|
contentType: "application/json",
|
|
144
144
|
requestType: "json",
|
|
145
145
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -179,7 +179,7 @@ class V1 {
|
|
|
179
179
|
const _response = yield core.fetcher({
|
|
180
180
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/guarantors/v1/${encodeURIComponent(serializers.guarantor.v1.GuarantorId.jsonOrThrow(guarantorId))}`),
|
|
181
181
|
method: "PATCH",
|
|
182
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
182
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.5.0", "User-Agent": "candidhealth/1.5.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
183
183
|
contentType: "application/json",
|
|
184
184
|
requestType: "json",
|
|
185
185
|
body: serializers.guarantor.v1.GuarantorUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -92,7 +92,7 @@ class V1 {
|
|
|
92
92
|
const _response = yield core.fetcher({
|
|
93
93
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/import-invoice/v1"),
|
|
94
94
|
method: "POST",
|
|
95
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
95
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.5.0", "User-Agent": "candidhealth/1.5.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
96
96
|
contentType: "application/json",
|
|
97
97
|
requestType: "json",
|
|
98
98
|
body: serializers.importInvoice.v1.CreateImportInvoiceRequest.jsonOrThrow(request, {
|
|
@@ -192,7 +192,7 @@ class V1 {
|
|
|
192
192
|
const _response = yield core.fetcher({
|
|
193
193
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/import-invoice/v1"),
|
|
194
194
|
method: "GET",
|
|
195
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
195
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.5.0", "User-Agent": "candidhealth/1.5.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
196
196
|
contentType: "application/json",
|
|
197
197
|
queryParameters: _queryParams,
|
|
198
198
|
requestType: "json",
|
|
@@ -232,7 +232,7 @@ class V1 {
|
|
|
232
232
|
const _response = yield core.fetcher({
|
|
233
233
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/import-invoice/v1/${encodeURIComponent(serializers.InvoiceId.jsonOrThrow(invoiceId))}`),
|
|
234
234
|
method: "GET",
|
|
235
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
235
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.5.0", "User-Agent": "candidhealth/1.5.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
236
236
|
contentType: "application/json",
|
|
237
237
|
requestType: "json",
|
|
238
238
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -286,7 +286,7 @@ class V1 {
|
|
|
286
286
|
const _response = yield core.fetcher({
|
|
287
287
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/import-invoice/v1/${encodeURIComponent(serializers.InvoiceId.jsonOrThrow(invoiceId))}`),
|
|
288
288
|
method: "PATCH",
|
|
289
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
289
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.5.0", "User-Agent": "candidhealth/1.5.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
290
290
|
contentType: "application/json",
|
|
291
291
|
requestType: "json",
|
|
292
292
|
body: serializers.importInvoice.v1.ImportInvoiceUpdateRequest.jsonOrThrow(request, {
|
|
@@ -3,5 +3,6 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../../index";
|
|
5
5
|
export interface SubscriberCreate extends CandidApi.SubscriberBase {
|
|
6
|
+
/** Please reference our [Payer Information](https://docs.joincandidhealth.com/introduction/payer-information) documentation for more details on how to populate the `insurance_card` fields. */
|
|
6
7
|
insuranceCard: CandidApi.insuranceCards.v2.InsuranceCardCreate;
|
|
7
8
|
}
|
|
@@ -3,5 +3,6 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../../index";
|
|
5
5
|
export interface SubscriberCreateOptional extends CandidApi.SubscriberBaseOptional {
|
|
6
|
+
/** Please reference our [Payer Information](https://docs.joincandidhealth.com/introduction/payer-information) documentation for more details on how to populate the `insurance_card` fields. */
|
|
6
7
|
insuranceCard?: CandidApi.insuranceCards.v2.InsuranceCardCreateOptional;
|
|
7
8
|
}
|
|
@@ -73,7 +73,7 @@ class V1 {
|
|
|
73
73
|
const _response = yield core.fetcher({
|
|
74
74
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/insurance-adjudications/v1/${encodeURIComponent(serializers.insuranceAdjudications.v1.InsuranceAdjudicationId.jsonOrThrow(insuranceAdjudicationId))}`),
|
|
75
75
|
method: "GET",
|
|
76
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
76
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.5.0", "User-Agent": "candidhealth/1.5.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
77
77
|
contentType: "application/json",
|
|
78
78
|
requestType: "json",
|
|
79
79
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -217,7 +217,7 @@ class V1 {
|
|
|
217
217
|
const _response = yield core.fetcher({
|
|
218
218
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/insurance-adjudications/v1"),
|
|
219
219
|
method: "POST",
|
|
220
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
220
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.5.0", "User-Agent": "candidhealth/1.5.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
221
221
|
contentType: "application/json",
|
|
222
222
|
requestType: "json",
|
|
223
223
|
body: serializers.insuranceAdjudications.v1.InsuranceAdjudicationCreate.jsonOrThrow(request, {
|
|
@@ -273,7 +273,7 @@ class V1 {
|
|
|
273
273
|
const _response = yield core.fetcher({
|
|
274
274
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/insurance-adjudications/v1/${encodeURIComponent(serializers.insuranceAdjudications.v1.InsuranceAdjudicationId.jsonOrThrow(insuranceAdjudicationId))}`),
|
|
275
275
|
method: "DELETE",
|
|
276
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
276
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.5.0", "User-Agent": "candidhealth/1.5.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
277
277
|
contentType: "application/json",
|
|
278
278
|
requestType: "json",
|
|
279
279
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -103,7 +103,7 @@ class V1 {
|
|
|
103
103
|
const _response = yield core.fetcher({
|
|
104
104
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/insurance-payments/v1"),
|
|
105
105
|
method: "GET",
|
|
106
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
106
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.5.0", "User-Agent": "candidhealth/1.5.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
107
107
|
contentType: "application/json",
|
|
108
108
|
queryParameters: _queryParams,
|
|
109
109
|
requestType: "json",
|
|
@@ -159,7 +159,7 @@ class V1 {
|
|
|
159
159
|
const _response = yield core.fetcher({
|
|
160
160
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/insurance-payments/v1/${encodeURIComponent(serializers.insurancePayments.v1.InsurancePaymentId.jsonOrThrow(insurancePaymentId))}`),
|
|
161
161
|
method: "GET",
|
|
162
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
162
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.5.0", "User-Agent": "candidhealth/1.5.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
163
163
|
contentType: "application/json",
|
|
164
164
|
requestType: "json",
|
|
165
165
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -104,7 +104,7 @@ class V1 {
|
|
|
104
104
|
const _response = yield core.fetcher({
|
|
105
105
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/insurance-refunds/v1"),
|
|
106
106
|
method: "GET",
|
|
107
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
107
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.5.0", "User-Agent": "candidhealth/1.5.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
108
108
|
contentType: "application/json",
|
|
109
109
|
queryParameters: _queryParams,
|
|
110
110
|
requestType: "json",
|
|
@@ -160,7 +160,7 @@ class V1 {
|
|
|
160
160
|
const _response = yield core.fetcher({
|
|
161
161
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/insurance-refunds/v1/${encodeURIComponent(serializers.insuranceRefunds.v1.InsuranceRefundId.jsonOrThrow(insuranceRefundId))}`),
|
|
162
162
|
method: "GET",
|
|
163
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
163
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.5.0", "User-Agent": "candidhealth/1.5.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
164
164
|
contentType: "application/json",
|
|
165
165
|
requestType: "json",
|
|
166
166
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -236,7 +236,7 @@ class V1 {
|
|
|
236
236
|
const _response = yield core.fetcher({
|
|
237
237
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/insurance-refunds/v1"),
|
|
238
238
|
method: "POST",
|
|
239
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
239
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.5.0", "User-Agent": "candidhealth/1.5.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
240
240
|
contentType: "application/json",
|
|
241
241
|
requestType: "json",
|
|
242
242
|
body: serializers.insuranceRefunds.v1.InsuranceRefundCreate.jsonOrThrow(request, {
|
|
@@ -296,7 +296,7 @@ class V1 {
|
|
|
296
296
|
const _response = yield core.fetcher({
|
|
297
297
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/insurance-refunds/v1/${encodeURIComponent(serializers.insuranceRefunds.v1.InsuranceRefundId.jsonOrThrow(insuranceRefundId))}`),
|
|
298
298
|
method: "PATCH",
|
|
299
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
299
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.5.0", "User-Agent": "candidhealth/1.5.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
300
300
|
contentType: "application/json",
|
|
301
301
|
requestType: "json",
|
|
302
302
|
body: serializers.insuranceRefunds.v1.InsuranceRefundUpdate.jsonOrThrow(request, {
|
|
@@ -356,7 +356,7 @@ class V1 {
|
|
|
356
356
|
const _response = yield core.fetcher({
|
|
357
357
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/insurance-refunds/v1/${encodeURIComponent(serializers.insuranceRefunds.v1.InsuranceRefundId.jsonOrThrow(insuranceRefundId))}`),
|
|
358
358
|
method: "DELETE",
|
|
359
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
359
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.5.0", "User-Agent": "candidhealth/1.5.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
360
360
|
contentType: "application/json",
|
|
361
361
|
requestType: "json",
|
|
362
362
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -78,7 +78,7 @@ class V1 {
|
|
|
78
78
|
const _response = yield core.fetcher({
|
|
79
79
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/medication-dispense/v1"),
|
|
80
80
|
method: "POST",
|
|
81
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
81
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.5.0", "User-Agent": "candidhealth/1.5.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
82
82
|
contentType: "application/json",
|
|
83
83
|
requestType: "json",
|
|
84
84
|
body: serializers.medicationDispense.v1.MedicationDispenseCreate.jsonOrThrow(request, {
|
|
@@ -106,7 +106,7 @@ class V1 {
|
|
|
106
106
|
const _response = yield core.fetcher({
|
|
107
107
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/non-insurance-payer-payments/v1"),
|
|
108
108
|
method: "GET",
|
|
109
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
109
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.5.0", "User-Agent": "candidhealth/1.5.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
110
110
|
contentType: "application/json",
|
|
111
111
|
queryParameters: _queryParams,
|
|
112
112
|
requestType: "json",
|
|
@@ -160,7 +160,7 @@ class V1 {
|
|
|
160
160
|
const _response = yield core.fetcher({
|
|
161
161
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/non-insurance-payer-payments/v1/${encodeURIComponent(serializers.nonInsurancePayerPayments.v1.NonInsurancePayerPaymentId.jsonOrThrow(nonInsurancePayerPaymentId))}`),
|
|
162
162
|
method: "GET",
|
|
163
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
163
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.5.0", "User-Agent": "candidhealth/1.5.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
164
164
|
contentType: "application/json",
|
|
165
165
|
requestType: "json",
|
|
166
166
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -227,7 +227,7 @@ class V1 {
|
|
|
227
227
|
const _response = yield core.fetcher({
|
|
228
228
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/non-insurance-payer-payments/v1"),
|
|
229
229
|
method: "POST",
|
|
230
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
230
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.5.0", "User-Agent": "candidhealth/1.5.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
231
231
|
contentType: "application/json",
|
|
232
232
|
requestType: "json",
|
|
233
233
|
body: serializers.nonInsurancePayerPayments.v1.NonInsurancePayerPaymentCreate.jsonOrThrow(request, {
|
|
@@ -283,7 +283,7 @@ class V1 {
|
|
|
283
283
|
const _response = yield core.fetcher({
|
|
284
284
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/non-insurance-payer-payments/v1/${encodeURIComponent(serializers.nonInsurancePayerPayments.v1.NonInsurancePayerPaymentId.jsonOrThrow(nonInsurancePayerPaymentId))}`),
|
|
285
285
|
method: "PATCH",
|
|
286
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
286
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.5.0", "User-Agent": "candidhealth/1.5.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
287
287
|
contentType: "application/json",
|
|
288
288
|
requestType: "json",
|
|
289
289
|
body: serializers.nonInsurancePayerPayments.v1.UpdateNonInsurancePayerPaymentRequest.jsonOrThrow(request, {
|
|
@@ -340,7 +340,7 @@ class V1 {
|
|
|
340
340
|
const _response = yield core.fetcher({
|
|
341
341
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/non-insurance-payer-payments/v1/${encodeURIComponent(serializers.nonInsurancePayerPayments.v1.NonInsurancePayerPaymentId.jsonOrThrow(nonInsurancePayerPaymentId))}`),
|
|
342
342
|
method: "DELETE",
|
|
343
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
343
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.5.0", "User-Agent": "candidhealth/1.5.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
344
344
|
contentType: "application/json",
|
|
345
345
|
requestType: "json",
|
|
346
346
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -103,7 +103,7 @@ class V1 {
|
|
|
103
103
|
const _response = yield core.fetcher({
|
|
104
104
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/non-insurance-payer-refunds/v1"),
|
|
105
105
|
method: "GET",
|
|
106
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
106
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.5.0", "User-Agent": "candidhealth/1.5.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
107
107
|
contentType: "application/json",
|
|
108
108
|
queryParameters: _queryParams,
|
|
109
109
|
requestType: "json",
|
|
@@ -157,7 +157,7 @@ class V1 {
|
|
|
157
157
|
const _response = yield core.fetcher({
|
|
158
158
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/non-insurance-payer-refunds/v1/${encodeURIComponent(serializers.nonInsurancePayerRefunds.v1.NonInsurancePayerRefundId.jsonOrThrow(nonInsurancePayerRefundId))}`),
|
|
159
159
|
method: "GET",
|
|
160
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
160
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.5.0", "User-Agent": "candidhealth/1.5.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
161
161
|
contentType: "application/json",
|
|
162
162
|
requestType: "json",
|
|
163
163
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -228,7 +228,7 @@ class V1 {
|
|
|
228
228
|
const _response = yield core.fetcher({
|
|
229
229
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/non-insurance-payer-refunds/v1"),
|
|
230
230
|
method: "POST",
|
|
231
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
231
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.5.0", "User-Agent": "candidhealth/1.5.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
232
232
|
contentType: "application/json",
|
|
233
233
|
requestType: "json",
|
|
234
234
|
body: serializers.nonInsurancePayerRefunds.v1.NonInsurancePayerRefundCreate.jsonOrThrow(request, {
|
|
@@ -287,7 +287,7 @@ class V1 {
|
|
|
287
287
|
const _response = yield core.fetcher({
|
|
288
288
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/non-insurance-payer-refunds/v1/${encodeURIComponent(serializers.nonInsurancePayerRefunds.v1.NonInsurancePayerRefundId.jsonOrThrow(nonInsurancePayerRefundId))}`),
|
|
289
289
|
method: "PATCH",
|
|
290
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
290
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.5.0", "User-Agent": "candidhealth/1.5.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
291
291
|
contentType: "application/json",
|
|
292
292
|
requestType: "json",
|
|
293
293
|
body: serializers.nonInsurancePayerRefunds.v1.NonInsurancePayerRefundUpdate.jsonOrThrow(request, {
|
|
@@ -344,7 +344,7 @@ class V1 {
|
|
|
344
344
|
const _response = yield core.fetcher({
|
|
345
345
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/non-insurance-payer-refunds/v1/${encodeURIComponent(serializers.nonInsurancePayerRefunds.v1.NonInsurancePayerRefundId.jsonOrThrow(nonInsurancePayerRefundId))}`),
|
|
346
346
|
method: "DELETE",
|
|
347
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
347
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.5.0", "User-Agent": "candidhealth/1.5.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
348
348
|
contentType: "application/json",
|
|
349
349
|
requestType: "json",
|
|
350
350
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|