candidhealth 1.3.0 → 1.4.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.js +17 -6
- package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +14 -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 +4 -3
- package/api/resources/diagnoses/client/delete.d.ts +7 -1
- package/api/resources/diagnoses/client/delete.js +11 -0
- package/api/resources/diagnoses/types/ServiceLinesMustHaveAtLeastOneDiagnosisError.d.ts +9 -0
- package/{dist/api/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.js → api/resources/diagnoses/types/ServiceLinesMustHaveAtLeastOneDiagnosisError.js} +0 -6
- package/api/resources/diagnoses/types/index.d.ts +1 -0
- package/api/resources/diagnoses/types/index.js +1 -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.js +10 -10
- 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/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.js +6 -6
- 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 +4 -4
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- 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.js +7 -7
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +1 -1
- package/{dist/api/resources/preEncounter/resources/lists/resources/v1 → api/resources/preEncounter/resources/common}/types/FilterQueryString.d.ts +3 -3
- 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.js +10 -10
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +42 -1
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +158 -5
- 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/{claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.js → preEncounter/resources/eligibilityChecks/resources/v1/client/requests/BatchEligibilityPollRequest.js} +0 -6
- 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 +11 -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.js +11 -11
- 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.js +17 -6
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +14 -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 +4 -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/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 +1 -0
- package/dist/api/resources/diagnoses/types/index.js +1 -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.js +10 -10
- 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/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.js +6 -6
- 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 +4 -4
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- 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.js +7 -7
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +1 -1
- package/{api/resources/preEncounter/resources/lists/resources/v1 → dist/api/resources/preEncounter/resources/common}/types/FilterQueryString.d.ts +3 -3
- 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.js +10 -10
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +42 -1
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +158 -5
- 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 +11 -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.js +11 -11
- 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/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/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 +1 -0
- package/dist/serialization/resources/diagnoses/types/index.js +1 -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/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/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 +14 -0
- package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendationPayload.js +45 -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/{claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.js → x12/resources/v1/types/TypeOfFacilityCode.js} +2 -2
- 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 +213 -4
- 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/types/ServiceLinesMustHaveAtLeastOneDiagnosisError.d.ts +16 -0
- package/serialization/resources/diagnoses/types/ServiceLinesMustHaveAtLeastOneDiagnosisError.js +47 -0
- package/serialization/resources/diagnoses/types/index.d.ts +1 -0
- package/serialization/resources/diagnoses/types/index.js +1 -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/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/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 +14 -0
- package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendationPayload.js +45 -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/{claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.js → x12/resources/v1/types/TypeOfFacilityCode.js} +2 -2
- 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 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/non-insurance-payers/v1"),
|
|
75
75
|
method: "POST",
|
|
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.4.0", "User-Agent": "candidhealth/1.4.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
|
body: serializers.nonInsurancePayers.v1.CreateNonInsurancePayerRequest.jsonOrThrow(request, {
|
|
@@ -131,7 +131,7 @@ class V1 {
|
|
|
131
131
|
const _response = yield core.fetcher({
|
|
132
132
|
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-payers/v1/${encodeURIComponent(serializers.nonInsurancePayers.v1.NonInsurancePayerId.jsonOrThrow(nonInsurancePayerId))}/toggle_enablement`),
|
|
133
133
|
method: "PATCH",
|
|
134
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
134
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.4.0", "User-Agent": "candidhealth/1.4.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
135
135
|
contentType: "application/json",
|
|
136
136
|
requestType: "json",
|
|
137
137
|
body: serializers.nonInsurancePayers.v1.ToggleNonInsurancePayerEnablementRequest.jsonOrThrow(request, {
|
|
@@ -212,7 +212,7 @@ class V1 {
|
|
|
212
212
|
const _response = yield core.fetcher({
|
|
213
213
|
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-payers/v1"),
|
|
214
214
|
method: "GET",
|
|
215
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
215
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.4.0", "User-Agent": "candidhealth/1.4.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
216
216
|
contentType: "application/json",
|
|
217
217
|
queryParameters: _queryParams,
|
|
218
218
|
requestType: "json",
|
|
@@ -264,7 +264,7 @@ class V1 {
|
|
|
264
264
|
const _response = yield core.fetcher({
|
|
265
265
|
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-payers/v1/${encodeURIComponent(serializers.nonInsurancePayers.v1.NonInsurancePayerId.jsonOrThrow(nonInsurancePayerId))}`),
|
|
266
266
|
method: "GET",
|
|
267
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
267
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.4.0", "User-Agent": "candidhealth/1.4.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
268
268
|
contentType: "application/json",
|
|
269
269
|
requestType: "json",
|
|
270
270
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -316,7 +316,7 @@ class V1 {
|
|
|
316
316
|
const _response = yield core.fetcher({
|
|
317
317
|
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-payers/v1/${encodeURIComponent(serializers.nonInsurancePayers.v1.NonInsurancePayerId.jsonOrThrow(nonInsurancePayerId))}`),
|
|
318
318
|
method: "PATCH",
|
|
319
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
319
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.4.0", "User-Agent": "candidhealth/1.4.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
320
320
|
contentType: "application/json",
|
|
321
321
|
requestType: "json",
|
|
322
322
|
body: serializers.nonInsurancePayers.v1.NonInsurancePayerUpdateRequest.jsonOrThrow(request, {
|
|
@@ -371,7 +371,7 @@ class V1 {
|
|
|
371
371
|
const _response = yield core.fetcher({
|
|
372
372
|
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-payers/v1/${encodeURIComponent(serializers.nonInsurancePayers.v1.NonInsurancePayerId.jsonOrThrow(nonInsurancePayerId))}`),
|
|
373
373
|
method: "DELETE",
|
|
374
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
374
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.4.0", "User-Agent": "candidhealth/1.4.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
375
375
|
contentType: "application/json",
|
|
376
376
|
requestType: "json",
|
|
377
377
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type LicenseType = "MD" | "NP" | "PA" | "LMFT" | "LCPC" | "LCSW" | "PMHNP" | "FNP" | "LPCC" | "DO" | "RD" | "SLP" | "APRN" | "LPC" | "PHD" | "PSYD" | "LMSW" | "LMHC" | "OTHER_MASTERS" | "BCBA" | "UNKNOWN" | "RPH" | "PHT" | "LAC" | "LMT" | "DC" | "ND" | "MA" | "PT" | "IBCLC" | "RN" | "DPT" | "LCMHC" | "CNM" | "RNFA" | "ACSW" | "APC" | "BCABA" | "BHA" | "OD" | "DPM" | "DA" | "DDS" | "DEH" | "DMD" | "PTA" | "LCADC" | "LCAT" | "LCMHCS" | "LCMHCA" | "LCSWA" | "LICSW" | "LISW" | "LMFTS" | "LMFTA" | "LPCI" | "LSCSW" | "MHCA" | "MHT" | "RBT" | "RCSWI" | "RHMCI" | "LPN" | "OTD" | "OMS" | "MFTA" | "APCC" | "DNP" | "AGNPBC" | "ANP" | "FNPPP" | "LCSWR" | "ALC" | "RMFTI" | "LAMFT" | "LPCA" | "LSWI" | "CSW" | "CPC" | "LGMFT" | "LLPC" | "PLPC" | "PLMFT" | "LMHCA" | "CIT" | "CT" | "MFT" | "LSW" | "PLMHP" | "PCMSW" | "LMHP" | "OTR/L" | "RPA" | "COTA" | "CRNP" | "SLP-CF" | "NP-C" | "PA-C";
|
|
4
|
+
export type LicenseType = "MD" | "NP" | "PA" | "LMFT" | "LCPC" | "LCSW" | "PMHNP" | "FNP" | "LPCC" | "DO" | "RD" | "SLP" | "APRN" | "LPC" | "PHD" | "PSYD" | "LMSW" | "LMHC" | "OTHER_MASTERS" | "BCBA" | "UNKNOWN" | "RPH" | "PHT" | "LAC" | "LMT" | "DC" | "ND" | "MA" | "PT" | "IBCLC" | "RN" | "DPT" | "LCMHC" | "CNM" | "RNFA" | "ACSW" | "APC" | "BCABA" | "BHA" | "OD" | "DPM" | "DA" | "DDS" | "DEH" | "DMD" | "PTA" | "LCADC" | "LCAT" | "LCMHCS" | "LCMHCA" | "LCSWA" | "LICSW" | "LISW" | "LMFTS" | "LMFTA" | "LPCI" | "LSCSW" | "MHCA" | "MHT" | "RBT" | "RCSWI" | "RHMCI" | "LPN" | "OTD" | "OMS" | "MFTA" | "APCC" | "DNP" | "AGNPBC" | "ANP" | "FNPPP" | "LCSWR" | "ALC" | "RMFTI" | "LAMFT" | "LPCA" | "LSWI" | "CSW" | "CPC" | "LGMFT" | "LLPC" | "PLPC" | "PLMFT" | "LMHCA" | "CIT" | "CT" | "MFT" | "LSW" | "PLMHP" | "PCMSW" | "LMHP" | "OTR/L" | "RPA" | "COTA" | "CRNP" | "SLP-CF" | "NP-C" | "PA-C" | "AMFT";
|
|
5
5
|
export declare const LicenseType: {
|
|
6
6
|
readonly Md: "MD";
|
|
7
7
|
readonly Np: "NP";
|
|
@@ -101,4 +101,5 @@ export declare const LicenseType: {
|
|
|
101
101
|
readonly SlpCf: "SLP-CF";
|
|
102
102
|
readonly NpC: "NP-C";
|
|
103
103
|
readonly PaC: "PA-C";
|
|
104
|
+
readonly Amft: "AMFT";
|
|
104
105
|
};
|
|
@@ -71,7 +71,7 @@ class V3 {
|
|
|
71
71
|
const _response = yield core.fetcher({
|
|
72
72
|
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/organization-providers/v3/${encodeURIComponent(serializers.organizationProviders.v2.OrganizationProviderId.jsonOrThrow(organizationProviderId))}`),
|
|
73
73
|
method: "GET",
|
|
74
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
74
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.4.0", "User-Agent": "candidhealth/1.4.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
75
75
|
contentType: "application/json",
|
|
76
76
|
requestType: "json",
|
|
77
77
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -153,7 +153,7 @@ class V3 {
|
|
|
153
153
|
const _response = yield core.fetcher({
|
|
154
154
|
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/organization-providers/v3"),
|
|
155
155
|
method: "GET",
|
|
156
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
156
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.4.0", "User-Agent": "candidhealth/1.4.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
157
157
|
contentType: "application/json",
|
|
158
158
|
queryParameters: _queryParams,
|
|
159
159
|
requestType: "json",
|
|
@@ -212,7 +212,7 @@ class V3 {
|
|
|
212
212
|
const _response = yield core.fetcher({
|
|
213
213
|
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/organization-providers/v3"),
|
|
214
214
|
method: "POST",
|
|
215
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
215
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.4.0", "User-Agent": "candidhealth/1.4.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
216
216
|
contentType: "application/json",
|
|
217
217
|
requestType: "json",
|
|
218
218
|
body: serializers.organizationProviders.v3.OrganizationProviderCreateV2.jsonOrThrow(request, {
|
|
@@ -268,7 +268,7 @@ class V3 {
|
|
|
268
268
|
const _response = yield core.fetcher({
|
|
269
269
|
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/organization-providers/v3/${encodeURIComponent(serializers.organizationProviders.v2.OrganizationProviderId.jsonOrThrow(organizationProviderId))}`),
|
|
270
270
|
method: "PATCH",
|
|
271
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
271
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.4.0", "User-Agent": "candidhealth/1.4.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
272
272
|
contentType: "application/json",
|
|
273
273
|
requestType: "json",
|
|
274
274
|
body: serializers.organizationProviders.v3.OrganizationProviderUpdateV2.jsonOrThrow(request, {
|
|
@@ -71,7 +71,7 @@ class V2 {
|
|
|
71
71
|
const _response = yield core.fetcher({
|
|
72
72
|
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/organization-service-facilities/v2/${encodeURIComponent(serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityId.jsonOrThrow(organizationServiceFacilityId))}`),
|
|
73
73
|
method: "GET",
|
|
74
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
74
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.4.0", "User-Agent": "candidhealth/1.4.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
75
75
|
contentType: "application/json",
|
|
76
76
|
requestType: "json",
|
|
77
77
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -137,7 +137,7 @@ class V2 {
|
|
|
137
137
|
const _response = yield core.fetcher({
|
|
138
138
|
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/organization-service-facilities/v2"),
|
|
139
139
|
method: "GET",
|
|
140
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
140
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.4.0", "User-Agent": "candidhealth/1.4.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
141
141
|
contentType: "application/json",
|
|
142
142
|
queryParameters: _queryParams,
|
|
143
143
|
requestType: "json",
|
|
@@ -193,7 +193,7 @@ class V2 {
|
|
|
193
193
|
const _response = yield core.fetcher({
|
|
194
194
|
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/organization-service-facilities/v2"),
|
|
195
195
|
method: "POST",
|
|
196
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
196
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.4.0", "User-Agent": "candidhealth/1.4.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
197
197
|
contentType: "application/json",
|
|
198
198
|
requestType: "json",
|
|
199
199
|
body: serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityCreate.jsonOrThrow(request, {
|
|
@@ -266,7 +266,7 @@ class V2 {
|
|
|
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/organization-service-facilities/v2/${encodeURIComponent(serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityId.jsonOrThrow(organizationServiceFacilityId))}`),
|
|
268
268
|
method: "PATCH",
|
|
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.4.0", "User-Agent": "candidhealth/1.4.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
|
requestType: "json",
|
|
272
272
|
body: serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityUpdate.jsonOrThrow(request, {
|
|
@@ -321,7 +321,7 @@ class V2 {
|
|
|
321
321
|
const _response = yield core.fetcher({
|
|
322
322
|
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/organization-service-facilities/v2/${encodeURIComponent(serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityId.jsonOrThrow(organizationServiceFacilityId))}`),
|
|
323
323
|
method: "DELETE",
|
|
324
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
324
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.4.0", "User-Agent": "candidhealth/1.4.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
325
325
|
contentType: "application/json",
|
|
326
326
|
requestType: "json",
|
|
327
327
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -120,7 +120,7 @@ class V4 {
|
|
|
120
120
|
const _response = yield core.fetcher({
|
|
121
121
|
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/patient-payments/v4"),
|
|
122
122
|
method: "GET",
|
|
123
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
123
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.4.0", "User-Agent": "candidhealth/1.4.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
124
124
|
contentType: "application/json",
|
|
125
125
|
queryParameters: _queryParams,
|
|
126
126
|
requestType: "json",
|
|
@@ -175,7 +175,7 @@ class V4 {
|
|
|
175
175
|
const _response = yield core.fetcher({
|
|
176
176
|
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/patient-payments/v4/${encodeURIComponent(serializers.patientPayments.v4.PatientPaymentId.jsonOrThrow(patientPaymentId))}`),
|
|
177
177
|
method: "GET",
|
|
178
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
178
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.4.0", "User-Agent": "candidhealth/1.4.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
179
179
|
contentType: "application/json",
|
|
180
180
|
requestType: "json",
|
|
181
181
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -247,7 +247,7 @@ class V4 {
|
|
|
247
247
|
const _response = yield core.fetcher({
|
|
248
248
|
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/patient-payments/v4"),
|
|
249
249
|
method: "POST",
|
|
250
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
250
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.4.0", "User-Agent": "candidhealth/1.4.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
251
251
|
contentType: "application/json",
|
|
252
252
|
requestType: "json",
|
|
253
253
|
body: serializers.patientPayments.v4.PatientPaymentCreate.jsonOrThrow(request, {
|
|
@@ -306,7 +306,7 @@ class V4 {
|
|
|
306
306
|
const _response = yield core.fetcher({
|
|
307
307
|
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/patient-payments/v4/${encodeURIComponent(serializers.patientPayments.v4.PatientPaymentId.jsonOrThrow(patientPaymentId))}`),
|
|
308
308
|
method: "PATCH",
|
|
309
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
309
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.4.0", "User-Agent": "candidhealth/1.4.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
310
310
|
contentType: "application/json",
|
|
311
311
|
requestType: "json",
|
|
312
312
|
body: serializers.patientPayments.v4.PatientPaymentUpdate.jsonOrThrow(request, {
|
|
@@ -364,7 +364,7 @@ class V4 {
|
|
|
364
364
|
const _response = yield core.fetcher({
|
|
365
365
|
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/patient-payments/v4/${encodeURIComponent(serializers.patientPayments.v4.PatientPaymentId.jsonOrThrow(patientPaymentId))}`),
|
|
366
366
|
method: "DELETE",
|
|
367
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
367
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.4.0", "User-Agent": "candidhealth/1.4.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
368
368
|
contentType: "application/json",
|
|
369
369
|
requestType: "json",
|
|
370
370
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -120,7 +120,7 @@ class V1 {
|
|
|
120
120
|
const _response = yield core.fetcher({
|
|
121
121
|
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/patient-refunds/v1"),
|
|
122
122
|
method: "GET",
|
|
123
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
123
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.4.0", "User-Agent": "candidhealth/1.4.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
124
124
|
contentType: "application/json",
|
|
125
125
|
queryParameters: _queryParams,
|
|
126
126
|
requestType: "json",
|
|
@@ -175,7 +175,7 @@ class V1 {
|
|
|
175
175
|
const _response = yield core.fetcher({
|
|
176
176
|
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/patient-refunds/v1/${encodeURIComponent(serializers.patientRefunds.v1.PatientRefundId.jsonOrThrow(patientRefundId))}`),
|
|
177
177
|
method: "GET",
|
|
178
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
178
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.4.0", "User-Agent": "candidhealth/1.4.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
179
179
|
contentType: "application/json",
|
|
180
180
|
requestType: "json",
|
|
181
181
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -247,7 +247,7 @@ class V1 {
|
|
|
247
247
|
const _response = yield core.fetcher({
|
|
248
248
|
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/patient-refunds/v1"),
|
|
249
249
|
method: "POST",
|
|
250
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
250
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.4.0", "User-Agent": "candidhealth/1.4.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
251
251
|
contentType: "application/json",
|
|
252
252
|
requestType: "json",
|
|
253
253
|
body: serializers.patientRefunds.v1.PatientRefundCreate.jsonOrThrow(request, {
|
|
@@ -306,7 +306,7 @@ class V1 {
|
|
|
306
306
|
const _response = yield core.fetcher({
|
|
307
307
|
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/patient-refunds/v1/${encodeURIComponent(serializers.patientRefunds.v1.PatientRefundId.jsonOrThrow(patientRefundId))}`),
|
|
308
308
|
method: "PATCH",
|
|
309
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
309
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.4.0", "User-Agent": "candidhealth/1.4.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
310
310
|
contentType: "application/json",
|
|
311
311
|
requestType: "json",
|
|
312
312
|
body: serializers.patientRefunds.v1.PatientRefundUpdate.jsonOrThrow(request, {
|
|
@@ -364,7 +364,7 @@ class V1 {
|
|
|
364
364
|
const _response = yield core.fetcher({
|
|
365
365
|
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/patient-refunds/v1/${encodeURIComponent(serializers.patientRefunds.v1.PatientRefundId.jsonOrThrow(patientRefundId))}`),
|
|
366
366
|
method: "DELETE",
|
|
367
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
367
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.4.0", "User-Agent": "candidhealth/1.4.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
368
368
|
contentType: "application/json",
|
|
369
369
|
requestType: "json",
|
|
370
370
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -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/payer-plan-groups/v1"),
|
|
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.4.0", "User-Agent": "candidhealth/1.4.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
|
queryParameters: _queryParams,
|
|
145
145
|
requestType: "json",
|
|
@@ -193,7 +193,7 @@ class V1 {
|
|
|
193
193
|
const _response = yield core.fetcher({
|
|
194
194
|
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/payer-plan-groups/v1/${encodeURIComponent(serializers.PayerPlanGroupId.jsonOrThrow(payerPlanGroupId))}`),
|
|
195
195
|
method: "GET",
|
|
196
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
196
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.4.0", "User-Agent": "candidhealth/1.4.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
197
197
|
contentType: "application/json",
|
|
198
198
|
requestType: "json",
|
|
199
199
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -251,7 +251,7 @@ class V1 {
|
|
|
251
251
|
const _response = yield core.fetcher({
|
|
252
252
|
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/payer-plan-groups/v1"),
|
|
253
253
|
method: "POST",
|
|
254
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
254
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.4.0", "User-Agent": "candidhealth/1.4.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
255
255
|
contentType: "application/json",
|
|
256
256
|
requestType: "json",
|
|
257
257
|
body: serializers.payerPlanGroups.v1.MutablePayerPlanGroup.jsonOrThrow(request, {
|
|
@@ -313,7 +313,7 @@ class V1 {
|
|
|
313
313
|
const _response = yield core.fetcher({
|
|
314
314
|
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/payer-plan-groups/v1/${encodeURIComponent(serializers.PayerPlanGroupId.jsonOrThrow(payerPlanGroupId))}`),
|
|
315
315
|
method: "PUT",
|
|
316
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
316
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.4.0", "User-Agent": "candidhealth/1.4.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
317
317
|
contentType: "application/json",
|
|
318
318
|
requestType: "json",
|
|
319
319
|
body: serializers.payerPlanGroups.v1.MutablePayerPlanGroup.jsonOrThrow(request, {
|
|
@@ -371,7 +371,7 @@ class V1 {
|
|
|
371
371
|
const _response = yield core.fetcher({
|
|
372
372
|
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/payer-plan-groups/v1/${encodeURIComponent(serializers.PayerPlanGroupId.jsonOrThrow(payerPlanGroupId))}`),
|
|
373
373
|
method: "PATCH",
|
|
374
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
374
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.4.0", "User-Agent": "candidhealth/1.4.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
375
375
|
contentType: "application/json",
|
|
376
376
|
requestType: "json",
|
|
377
377
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -71,7 +71,7 @@ class V3 {
|
|
|
71
71
|
const _response = yield core.fetcher({
|
|
72
72
|
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/payers/v3/${encodeURIComponent(serializers.payers.v3.PayerUuid.jsonOrThrow(payerUuid))}`),
|
|
73
73
|
method: "GET",
|
|
74
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
74
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.4.0", "User-Agent": "candidhealth/1.4.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
75
75
|
contentType: "application/json",
|
|
76
76
|
requestType: "json",
|
|
77
77
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -123,7 +123,7 @@ class V3 {
|
|
|
123
123
|
const _response = yield core.fetcher({
|
|
124
124
|
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/payers/v3"),
|
|
125
125
|
method: "GET",
|
|
126
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
126
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.4.0", "User-Agent": "candidhealth/1.4.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
127
127
|
contentType: "application/json",
|
|
128
128
|
queryParameters: _queryParams,
|
|
129
129
|
requestType: "json",
|
package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js
CHANGED
|
@@ -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).preEncounter, "/appointments/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.4.0", "User-Agent": "candidhealth/1.4.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.preEncounter.appointments.v1.MutableAppointment.jsonOrThrow(request, {
|
|
@@ -154,7 +154,7 @@ class V1 {
|
|
|
154
154
|
const _response = yield core.fetcher({
|
|
155
155
|
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).preEncounter, "/appointments/v1/visits"),
|
|
156
156
|
method: "GET",
|
|
157
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
157
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.4.0", "User-Agent": "candidhealth/1.4.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
158
158
|
contentType: "application/json",
|
|
159
159
|
queryParameters: _queryParams,
|
|
160
160
|
requestType: "json",
|
|
@@ -208,7 +208,7 @@ class V1 {
|
|
|
208
208
|
const _response = yield core.fetcher({
|
|
209
209
|
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).preEncounter, `/appointments/v1/${encodeURIComponent(serializers.preEncounter.AppointmentId.jsonOrThrow(id))}`),
|
|
210
210
|
method: "GET",
|
|
211
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
211
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.4.0", "User-Agent": "candidhealth/1.4.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
212
212
|
contentType: "application/json",
|
|
213
213
|
requestType: "json",
|
|
214
214
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -261,7 +261,7 @@ class V1 {
|
|
|
261
261
|
const _response = yield core.fetcher({
|
|
262
262
|
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).preEncounter, `/appointments/v1/${encodeURIComponent(serializers.preEncounter.AppointmentId.jsonOrThrow(id))}/history`),
|
|
263
263
|
method: "GET",
|
|
264
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
264
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.4.0", "User-Agent": "candidhealth/1.4.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
265
265
|
contentType: "application/json",
|
|
266
266
|
requestType: "json",
|
|
267
267
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -321,7 +321,7 @@ class V1 {
|
|
|
321
321
|
const _response = yield core.fetcher({
|
|
322
322
|
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).preEncounter, `/appointments/v1/${encodeURIComponent(serializers.preEncounter.AppointmentId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
|
|
323
323
|
method: "PUT",
|
|
324
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
324
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.4.0", "User-Agent": "candidhealth/1.4.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
325
325
|
contentType: "application/json",
|
|
326
326
|
requestType: "json",
|
|
327
327
|
body: serializers.preEncounter.appointments.v1.MutableAppointment.jsonOrThrow(request, {
|
|
@@ -383,7 +383,7 @@ class V1 {
|
|
|
383
383
|
const _response = yield core.fetcher({
|
|
384
384
|
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).preEncounter, "/appointments/v1/updates/scan"),
|
|
385
385
|
method: "GET",
|
|
386
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
386
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.4.0", "User-Agent": "candidhealth/1.4.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
387
387
|
contentType: "application/json",
|
|
388
388
|
queryParameters: _queryParams,
|
|
389
389
|
requestType: "json",
|
|
@@ -424,7 +424,7 @@ class V1 {
|
|
|
424
424
|
const _response = yield core.fetcher({
|
|
425
425
|
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).preEncounter, `/appointments/v1/${encodeURIComponent(serializers.preEncounter.AppointmentId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
|
|
426
426
|
method: "DELETE",
|
|
427
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
427
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.4.0", "User-Agent": "candidhealth/1.4.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
428
428
|
contentType: "application/json",
|
|
429
429
|
requestType: "json",
|
|
430
430
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as CandidApi from "
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
5
|
/**
|
|
6
6
|
* A serialized list of filters separated by commas indicating filters to apply. Each filter is of the form 'path:operator:value'. Example: 'patient.mrn|eq|12345'. Filters are separated by commas. Example: 'patient.mrn|eq|12345,appointment.startDate|gt|67890'. All filters are ANDed together. Valid operators are 'eq', 'gt', 'lt', 'contains'. Path values are camelCase.
|
|
7
7
|
*/
|
|
8
8
|
export type FilterQueryString = string & {
|
|
9
|
-
|
|
9
|
+
preEncounter_FilterQueryString: void;
|
|
10
10
|
};
|
|
11
|
-
export declare function FilterQueryString(value: string): CandidApi.preEncounter.
|
|
11
|
+
export declare function FilterQueryString(value: string): CandidApi.preEncounter.FilterQueryString;
|
|
@@ -20,6 +20,7 @@ __exportStar(require("./BaseModel"), exports);
|
|
|
20
20
|
__exportStar(require("./PayerId"), exports);
|
|
21
21
|
__exportStar(require("./PatientId"), exports);
|
|
22
22
|
__exportStar(require("./CoverageId"), exports);
|
|
23
|
+
__exportStar(require("./FilterQueryString"), exports);
|
|
23
24
|
__exportStar(require("./PayerPlanGroupId"), exports);
|
|
24
25
|
__exportStar(require("./AppointmentId"), exports);
|
|
25
26
|
__exportStar(require("./NoteId"), exports);
|