candidhealth 1.6.0 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.d.ts +9 -3
- package/Client.js +52 -42
- package/README.md +1 -1
- package/api/resources/auth/resources/default/client/Client.d.ts +10 -0
- package/api/resources/auth/resources/default/client/Client.js +43 -1
- package/api/resources/auth/resources/default/client/getMachineTokenForOrgId.d.ts +22 -0
- package/api/resources/auth/resources/default/client/getMachineTokenForOrgId.js +57 -0
- package/api/resources/auth/resources/default/client/index.d.ts +1 -0
- package/api/resources/auth/resources/default/client/index.js +2 -1
- package/api/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.d.ts +13 -0
- package/api/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.js +5 -0
- package/api/resources/auth/resources/default/client/requests/index.d.ts +1 -0
- package/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
- package/api/resources/chargeCapture/resources/v1/client/Client.js +6 -6
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +4 -4
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/credentialing/resources/v2/client/Client.d.ts +49 -0
- package/api/resources/credentialing/resources/v2/client/Client.js +295 -5
- package/api/resources/credentialing/resources/v2/client/createFacility.d.ts +34 -0
- package/api/resources/credentialing/resources/v2/client/createFacility.js +79 -0
- package/api/resources/credentialing/resources/v2/client/deleteFacility.d.ts +34 -0
- package/api/resources/credentialing/resources/v2/client/deleteFacility.js +79 -0
- package/api/resources/credentialing/resources/v2/client/getAllFacilities.d.ts +34 -0
- package/api/resources/credentialing/resources/v2/client/getAllFacilities.js +79 -0
- package/api/resources/credentialing/resources/v2/client/getFacility.d.ts +34 -0
- package/api/resources/credentialing/resources/v2/client/getFacility.js +79 -0
- package/api/resources/credentialing/resources/v2/client/index.d.ts +5 -0
- package/api/resources/credentialing/resources/v2/client/index.js +6 -1
- package/api/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanCreate.d.ts +27 -0
- package/api/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanCreate.js +5 -0
- package/api/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanUpdate.d.ts +26 -0
- package/api/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanUpdate.js +5 -0
- package/api/resources/credentialing/resources/v2/client/requests/GetAllFacilityCredentialingSpansRequest.d.ts +27 -0
- package/api/resources/credentialing/resources/v2/client/requests/GetAllFacilityCredentialingSpansRequest.js +5 -0
- package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +1 -1
- package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +1 -1
- package/api/resources/credentialing/resources/v2/client/requests/index.d.ts +3 -0
- package/api/resources/credentialing/resources/v2/client/updateFacility.d.ts +46 -0
- package/api/resources/credentialing/resources/v2/client/updateFacility.js +101 -0
- package/api/resources/credentialing/resources/v2/types/BaseCredentialingSpan.d.ts +22 -0
- package/api/resources/credentialing/resources/v2/types/BaseCredentialingSpan.js +5 -0
- package/api/resources/credentialing/resources/v2/types/FacilityCredentialingSpan.d.ts +9 -0
- package/api/resources/credentialing/resources/v2/types/FacilityCredentialingSpan.js +5 -0
- package/api/resources/credentialing/resources/v2/types/FacilityCredentialingSpanId.d.ts +8 -0
- package/api/resources/credentialing/resources/v2/types/FacilityCredentialingSpanId.js +9 -0
- package/api/resources/credentialing/resources/v2/types/FacilityCredentialingSpanPage.d.ts +7 -0
- package/api/resources/credentialing/resources/v2/types/FacilityCredentialingSpanPage.js +5 -0
- package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +3 -19
- package/api/resources/credentialing/resources/v2/types/index.d.ts +4 -0
- package/api/resources/credentialing/resources/v2/types/index.js +4 -0
- package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/api/resources/diagnoses/client/Client.js +3 -3
- 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/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.js +1 -1
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/api/resources/feeSchedules/resources/v3/client/Client.js +11 -11
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/healthCareCodeInformation/client/Client.d.ts +30 -0
- package/api/resources/healthCareCodeInformation/client/Client.js +17 -0
- package/api/resources/healthCareCodeInformation/client/index.d.ts +1 -0
- package/api/resources/healthCareCodeInformation/client/index.js +2 -0
- package/api/resources/healthCareCodeInformation/index.d.ts +2 -0
- package/api/resources/healthCareCodeInformation/index.js +18 -0
- package/api/resources/healthCareCodeInformation/resources/index.d.ts +1 -0
- package/api/resources/healthCareCodeInformation/resources/index.js +37 -0
- package/api/resources/healthCareCodeInformation/resources/v1/client/Client.d.ts +46 -0
- package/api/resources/healthCareCodeInformation/resources/v1/client/Client.js +179 -0
- package/api/resources/healthCareCodeInformation/resources/v1/client/getAllForEncounter.d.ts +28 -0
- package/api/resources/healthCareCodeInformation/resources/v1/client/getAllForEncounter.js +68 -0
- package/api/resources/healthCareCodeInformation/resources/v1/client/index.d.ts +2 -0
- package/api/resources/healthCareCodeInformation/resources/v1/client/index.js +38 -0
- package/api/resources/healthCareCodeInformation/resources/v1/client/update.d.ts +34 -0
- package/api/resources/healthCareCodeInformation/resources/v1/client/update.js +79 -0
- package/api/resources/healthCareCodeInformation/resources/v1/index.d.ts +2 -0
- package/api/resources/healthCareCodeInformation/resources/v1/index.js +18 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosis.d.ts +11 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosis.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisCodeQualifier.d.ts +14 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisCodeQualifier.js +10 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.d.ts +4230 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.js +1064 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.d.ts +242 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.js +67 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformation.d.ts +11 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformation.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationCodeQualifier.d.ts +10 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationCodeQualifier.js +9 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/D8Date.d.ts +4 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/D8Date.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.d.ts +174 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.js +50 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroup.d.ts +11 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroup.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupCodeQualifier.d.ts +10 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupCodeQualifier.js +9 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjury.d.ts +12 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjury.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryCodeQualifier.d.ts +14 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryCodeQualifier.js +10 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformation.d.ts +18 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformation.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.d.ts +19 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.d.ts +57 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.d.ts +19 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/IcdCode.d.ts +8 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/IcdCode.js +9 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/MsdrgCode.d.ts +8 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/MsdrgCode.js +9 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceCode.d.ts +242 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceCode.js +67 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformation.d.ts +12 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformation.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationCodeQualifier.d.ts +10 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationCodeQualifier.js +9 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.d.ts +58 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.js +21 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCodeQualifier.d.ts +10 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCodeQualifier.js +9 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformation.d.ts +12 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformation.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformation.d.ts +12 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformation.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationCodeQualifier.d.ts +14 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationCodeQualifier.js +10 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformation.d.ts +12 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformation.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationCodeQualifier.d.ts +14 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationCodeQualifier.js +10 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisit.d.ts +11 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisit.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitCodeQualifier.d.ts +14 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitCodeQualifier.js +10 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/PresentOnAdmissionIndicatorCode.d.ts +26 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/PresentOnAdmissionIndicatorCode.js +13 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosis.d.ts +12 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosis.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisCodeQualifier.d.ts +14 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisCodeQualifier.js +10 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformation.d.ts +12 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformation.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationCodeQualifier.d.ts +18 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationCodeQualifier.js +11 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.d.ts +7 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearAdmittingDiagnosis.d.ts +7 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearAdmittingDiagnosis.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearDiagnosisRelatedGroup.d.ts +7 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearDiagnosisRelatedGroup.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalDiagnosis.d.ts +7 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalDiagnosis.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalProcedureInformation.d.ts +7 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalProcedureInformation.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCode.d.ts +8 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCode.js +9 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformation.d.ts +11 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformation.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeQualifier.d.ts +10 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeQualifier.js +9 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ValueCode.d.ts +541 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ValueCode.js +115 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ValueCodeQualifier.d.ts +10 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ValueCodeQualifier.js +9 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformation.d.ts +12 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformation.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +46 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/index.js +62 -0
- package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/api/resources/index.d.ts +3 -1
- package/api/resources/index.js +5 -3
- 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 +7 -7
- 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/patientAr/client/Client.d.ts +30 -0
- package/api/resources/patientAr/client/Client.js +17 -0
- package/api/resources/patientAr/client/index.d.ts +1 -0
- package/api/resources/patientAr/client/index.js +2 -0
- package/api/resources/patientAr/index.d.ts +2 -0
- package/api/resources/patientAr/index.js +18 -0
- package/api/resources/patientAr/resources/index.d.ts +1 -0
- package/api/resources/patientAr/resources/index.js +37 -0
- package/api/resources/patientAr/resources/v1/client/Client.d.ts +54 -0
- package/api/resources/patientAr/resources/v1/client/Client.js +196 -0
- package/api/resources/patientAr/resources/v1/client/index.d.ts +3 -0
- package/api/resources/patientAr/resources/v1/client/index.js +42 -0
- package/api/resources/patientAr/resources/v1/client/itemize.d.ts +34 -0
- package/api/resources/patientAr/resources/v1/client/itemize.js +79 -0
- package/api/resources/patientAr/resources/v1/client/listInventory.d.ts +34 -0
- package/api/resources/patientAr/resources/v1/client/listInventory.js +79 -0
- package/api/resources/patientAr/resources/v1/client/requests/GetInventoryRecordsRequest.d.ts +19 -0
- package/api/resources/patientAr/resources/v1/client/requests/GetInventoryRecordsRequest.js +5 -0
- package/api/resources/patientAr/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/patientAr/resources/v1/client/requests/index.js +2 -0
- package/api/resources/patientAr/resources/v1/index.d.ts +2 -0
- package/api/resources/patientAr/resources/v1/index.js +18 -0
- package/api/resources/patientAr/resources/v1/types/InsuranceAdjustmentInfo.d.ts +7 -0
- package/api/resources/patientAr/resources/v1/types/InsuranceAdjustmentInfo.js +5 -0
- package/api/resources/patientAr/resources/v1/types/InsurancePaymentInfo.d.ts +7 -0
- package/api/resources/patientAr/resources/v1/types/InsurancePaymentInfo.js +5 -0
- package/api/resources/patientAr/resources/v1/types/InvalidFiltersErrorType.d.ts +6 -0
- package/api/resources/patientAr/resources/v1/types/InvalidFiltersErrorType.js +5 -0
- package/api/resources/patientAr/resources/v1/types/InventoryRecord.d.ts +11 -0
- package/api/resources/patientAr/resources/v1/types/InventoryRecord.js +5 -0
- package/api/resources/patientAr/resources/v1/types/InvoiceItemizationResponse.d.ts +13 -0
- package/api/resources/patientAr/resources/v1/types/InvoiceItemizationResponse.js +5 -0
- package/api/resources/patientAr/resources/v1/types/ListInventoryPagedResponse.d.ts +10 -0
- package/api/resources/patientAr/resources/v1/types/ListInventoryPagedResponse.js +5 -0
- package/api/resources/patientAr/resources/v1/types/NonInsuranceAdjustmentInfo.d.ts +7 -0
- package/api/resources/patientAr/resources/v1/types/NonInsuranceAdjustmentInfo.js +5 -0
- package/api/resources/patientAr/resources/v1/types/NonInsurancePaymentInfo.d.ts +7 -0
- package/api/resources/patientAr/resources/v1/types/NonInsurancePaymentInfo.js +5 -0
- package/api/resources/patientAr/resources/v1/types/PatientAdjustmentInfo.d.ts +7 -0
- package/api/resources/patientAr/resources/v1/types/PatientAdjustmentInfo.js +5 -0
- package/api/resources/patientAr/resources/v1/types/PatientArStatus.d.ts +8 -0
- package/api/resources/patientAr/resources/v1/types/PatientArStatus.js +10 -0
- package/api/resources/patientAr/resources/v1/types/PatientPaymentAllocation.d.ts +12 -0
- package/api/resources/patientAr/resources/v1/types/PatientPaymentAllocation.js +5 -0
- package/api/resources/patientAr/resources/v1/types/PatientPaymentInfo.d.ts +10 -0
- package/api/resources/patientAr/resources/v1/types/PatientPaymentInfo.js +5 -0
- package/api/resources/patientAr/resources/v1/types/ServiceLineItemization.d.ts +28 -0
- package/api/resources/patientAr/resources/v1/types/ServiceLineItemization.js +5 -0
- package/api/resources/patientAr/resources/v1/types/index.d.ts +13 -0
- package/api/resources/patientAr/resources/v1/types/index.js +29 -0
- package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +6 -6
- 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/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/patients/resources/v1/types/MutablePatient.d.ts +2 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/OriginationDetail.d.ts +10 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/OriginationDetail.js +5 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/ReferralSource.d.ts +10 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/ReferralSource.js +12 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.d.ts +8 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.js +10 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/SpecializationCategory.d.ts +34 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/SpecializationCategory.js +36 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +4 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +4 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
- 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/dist/Client.d.ts +9 -3
- package/dist/Client.js +52 -42
- package/dist/api/resources/auth/resources/default/client/Client.d.ts +10 -0
- package/dist/api/resources/auth/resources/default/client/Client.js +43 -1
- package/dist/api/resources/auth/resources/default/client/getMachineTokenForOrgId.d.ts +22 -0
- package/dist/api/resources/auth/resources/default/client/getMachineTokenForOrgId.js +57 -0
- package/dist/api/resources/auth/resources/default/client/index.d.ts +1 -0
- package/dist/api/resources/auth/resources/default/client/index.js +2 -1
- package/dist/api/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.d.ts +13 -0
- package/dist/api/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.js +5 -0
- package/dist/api/resources/auth/resources/default/client/requests/index.d.ts +1 -0
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/credentialing/resources/v2/client/Client.d.ts +49 -0
- package/dist/api/resources/credentialing/resources/v2/client/Client.js +295 -5
- package/dist/api/resources/credentialing/resources/v2/client/createFacility.d.ts +34 -0
- package/dist/api/resources/credentialing/resources/v2/client/createFacility.js +79 -0
- package/dist/api/resources/credentialing/resources/v2/client/deleteFacility.d.ts +34 -0
- package/dist/api/resources/credentialing/resources/v2/client/deleteFacility.js +79 -0
- package/dist/api/resources/credentialing/resources/v2/client/getAllFacilities.d.ts +34 -0
- package/dist/api/resources/credentialing/resources/v2/client/getAllFacilities.js +79 -0
- package/dist/api/resources/credentialing/resources/v2/client/getFacility.d.ts +34 -0
- package/dist/api/resources/credentialing/resources/v2/client/getFacility.js +79 -0
- package/dist/api/resources/credentialing/resources/v2/client/index.d.ts +5 -0
- package/dist/api/resources/credentialing/resources/v2/client/index.js +6 -1
- package/dist/api/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanCreate.d.ts +27 -0
- package/dist/api/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanCreate.js +5 -0
- package/dist/api/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanUpdate.d.ts +26 -0
- package/dist/api/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanUpdate.js +5 -0
- package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllFacilityCredentialingSpansRequest.d.ts +27 -0
- package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllFacilityCredentialingSpansRequest.js +5 -0
- package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +1 -1
- package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +1 -1
- package/dist/api/resources/credentialing/resources/v2/client/requests/index.d.ts +3 -0
- package/dist/api/resources/credentialing/resources/v2/client/updateFacility.d.ts +46 -0
- package/dist/api/resources/credentialing/resources/v2/client/updateFacility.js +101 -0
- package/dist/api/resources/credentialing/resources/v2/types/BaseCredentialingSpan.d.ts +22 -0
- package/dist/api/resources/credentialing/resources/v2/types/BaseCredentialingSpan.js +5 -0
- package/dist/api/resources/credentialing/resources/v2/types/FacilityCredentialingSpan.d.ts +9 -0
- package/dist/api/resources/credentialing/resources/v2/types/FacilityCredentialingSpan.js +5 -0
- package/dist/api/resources/credentialing/resources/v2/types/FacilityCredentialingSpanId.d.ts +8 -0
- package/dist/api/resources/credentialing/resources/v2/types/FacilityCredentialingSpanId.js +9 -0
- package/dist/api/resources/credentialing/resources/v2/types/FacilityCredentialingSpanPage.d.ts +7 -0
- package/dist/api/resources/credentialing/resources/v2/types/FacilityCredentialingSpanPage.js +5 -0
- package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +3 -19
- package/dist/api/resources/credentialing/resources/v2/types/index.d.ts +4 -0
- package/dist/api/resources/credentialing/resources/v2/types/index.js +4 -0
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/diagnoses/client/Client.js +3 -3
- 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/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.js +1 -1
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +11 -11
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/healthCareCodeInformation/client/Client.d.ts +30 -0
- package/dist/api/resources/healthCareCodeInformation/client/Client.js +17 -0
- package/dist/api/resources/healthCareCodeInformation/client/index.d.ts +1 -0
- package/dist/api/resources/healthCareCodeInformation/client/index.js +2 -0
- package/dist/api/resources/healthCareCodeInformation/index.d.ts +2 -0
- package/dist/api/resources/healthCareCodeInformation/index.js +18 -0
- package/dist/api/resources/healthCareCodeInformation/resources/index.d.ts +1 -0
- package/dist/api/resources/healthCareCodeInformation/resources/index.js +37 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/client/Client.d.ts +46 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/client/Client.js +179 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/client/getAllForEncounter.d.ts +28 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/client/getAllForEncounter.js +68 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/client/index.d.ts +2 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/client/index.js +38 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/client/update.d.ts +34 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/client/update.js +79 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/index.d.ts +2 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/index.js +18 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosis.d.ts +11 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosis.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisCodeQualifier.d.ts +14 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisCodeQualifier.js +10 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.d.ts +4230 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.js +1064 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.d.ts +242 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.js +67 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformation.d.ts +11 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformation.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationCodeQualifier.d.ts +10 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationCodeQualifier.js +9 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/D8Date.d.ts +4 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/D8Date.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.d.ts +174 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.js +50 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroup.d.ts +11 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroup.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupCodeQualifier.d.ts +10 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupCodeQualifier.js +9 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjury.d.ts +12 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjury.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryCodeQualifier.d.ts +14 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryCodeQualifier.js +10 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformation.d.ts +18 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformation.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.d.ts +19 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.d.ts +57 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.d.ts +19 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/IcdCode.d.ts +8 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/IcdCode.js +9 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/MsdrgCode.d.ts +8 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/MsdrgCode.js +9 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceCode.d.ts +242 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceCode.js +67 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformation.d.ts +12 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformation.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationCodeQualifier.d.ts +10 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationCodeQualifier.js +9 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.d.ts +58 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.js +21 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCodeQualifier.d.ts +10 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCodeQualifier.js +9 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformation.d.ts +12 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformation.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformation.d.ts +12 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformation.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationCodeQualifier.d.ts +14 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationCodeQualifier.js +10 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformation.d.ts +12 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformation.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationCodeQualifier.d.ts +14 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationCodeQualifier.js +10 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisit.d.ts +11 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisit.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitCodeQualifier.d.ts +14 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitCodeQualifier.js +10 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PresentOnAdmissionIndicatorCode.d.ts +26 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PresentOnAdmissionIndicatorCode.js +13 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosis.d.ts +12 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosis.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisCodeQualifier.d.ts +14 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisCodeQualifier.js +10 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformation.d.ts +12 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformation.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationCodeQualifier.d.ts +18 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationCodeQualifier.js +11 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.d.ts +7 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearAdmittingDiagnosis.d.ts +7 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearAdmittingDiagnosis.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearDiagnosisRelatedGroup.d.ts +7 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearDiagnosisRelatedGroup.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalDiagnosis.d.ts +7 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalDiagnosis.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalProcedureInformation.d.ts +7 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalProcedureInformation.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCode.d.ts +8 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCode.js +9 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformation.d.ts +11 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformation.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeQualifier.d.ts +10 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeQualifier.js +9 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ValueCode.d.ts +541 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ValueCode.js +115 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ValueCodeQualifier.d.ts +10 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ValueCodeQualifier.js +9 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformation.d.ts +12 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformation.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +46 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/index.js +62 -0
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/index.d.ts +3 -1
- package/dist/api/resources/index.js +5 -3
- 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 +7 -7
- 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/patientAr/client/Client.d.ts +30 -0
- package/dist/api/resources/patientAr/client/Client.js +17 -0
- package/dist/api/resources/patientAr/client/index.d.ts +1 -0
- package/dist/api/resources/patientAr/client/index.js +2 -0
- package/dist/api/resources/patientAr/index.d.ts +2 -0
- package/dist/api/resources/patientAr/index.js +18 -0
- package/dist/api/resources/patientAr/resources/index.d.ts +1 -0
- package/dist/api/resources/patientAr/resources/index.js +37 -0
- package/dist/api/resources/patientAr/resources/v1/client/Client.d.ts +54 -0
- package/dist/api/resources/patientAr/resources/v1/client/Client.js +196 -0
- package/dist/api/resources/patientAr/resources/v1/client/index.d.ts +3 -0
- package/dist/api/resources/patientAr/resources/v1/client/index.js +42 -0
- package/dist/api/resources/patientAr/resources/v1/client/itemize.d.ts +34 -0
- package/dist/api/resources/patientAr/resources/v1/client/itemize.js +79 -0
- package/dist/api/resources/patientAr/resources/v1/client/listInventory.d.ts +34 -0
- package/dist/api/resources/patientAr/resources/v1/client/listInventory.js +79 -0
- package/dist/api/resources/patientAr/resources/v1/client/requests/GetInventoryRecordsRequest.d.ts +19 -0
- package/dist/api/resources/patientAr/resources/v1/client/requests/GetInventoryRecordsRequest.js +5 -0
- package/dist/api/resources/patientAr/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/api/resources/patientAr/resources/v1/client/requests/index.js +2 -0
- package/dist/api/resources/patientAr/resources/v1/index.d.ts +2 -0
- package/dist/api/resources/patientAr/resources/v1/index.js +18 -0
- package/dist/api/resources/patientAr/resources/v1/types/InsuranceAdjustmentInfo.d.ts +7 -0
- package/dist/api/resources/patientAr/resources/v1/types/InsuranceAdjustmentInfo.js +5 -0
- package/dist/api/resources/patientAr/resources/v1/types/InsurancePaymentInfo.d.ts +7 -0
- package/dist/api/resources/patientAr/resources/v1/types/InsurancePaymentInfo.js +5 -0
- package/dist/api/resources/patientAr/resources/v1/types/InvalidFiltersErrorType.d.ts +6 -0
- package/dist/api/resources/patientAr/resources/v1/types/InvalidFiltersErrorType.js +5 -0
- package/dist/api/resources/patientAr/resources/v1/types/InventoryRecord.d.ts +11 -0
- package/dist/api/resources/patientAr/resources/v1/types/InventoryRecord.js +5 -0
- package/dist/api/resources/patientAr/resources/v1/types/InvoiceItemizationResponse.d.ts +13 -0
- package/dist/api/resources/patientAr/resources/v1/types/InvoiceItemizationResponse.js +5 -0
- package/dist/api/resources/patientAr/resources/v1/types/ListInventoryPagedResponse.d.ts +10 -0
- package/dist/api/resources/patientAr/resources/v1/types/ListInventoryPagedResponse.js +5 -0
- package/dist/api/resources/patientAr/resources/v1/types/NonInsuranceAdjustmentInfo.d.ts +7 -0
- package/dist/api/resources/patientAr/resources/v1/types/NonInsuranceAdjustmentInfo.js +5 -0
- package/dist/api/resources/patientAr/resources/v1/types/NonInsurancePaymentInfo.d.ts +7 -0
- package/dist/api/resources/patientAr/resources/v1/types/NonInsurancePaymentInfo.js +5 -0
- package/dist/api/resources/patientAr/resources/v1/types/PatientAdjustmentInfo.d.ts +7 -0
- package/dist/api/resources/patientAr/resources/v1/types/PatientAdjustmentInfo.js +5 -0
- package/dist/api/resources/patientAr/resources/v1/types/PatientArStatus.d.ts +8 -0
- package/dist/api/resources/patientAr/resources/v1/types/PatientArStatus.js +10 -0
- package/dist/api/resources/patientAr/resources/v1/types/PatientPaymentAllocation.d.ts +12 -0
- package/dist/api/resources/patientAr/resources/v1/types/PatientPaymentAllocation.js +5 -0
- package/dist/api/resources/patientAr/resources/v1/types/PatientPaymentInfo.d.ts +10 -0
- package/dist/api/resources/patientAr/resources/v1/types/PatientPaymentInfo.js +5 -0
- package/dist/api/resources/patientAr/resources/v1/types/ServiceLineItemization.d.ts +28 -0
- package/dist/api/resources/patientAr/resources/v1/types/ServiceLineItemization.js +5 -0
- package/dist/api/resources/patientAr/resources/v1/types/index.d.ts +13 -0
- package/dist/api/resources/patientAr/resources/v1/types/index.js +29 -0
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
- 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.js +6 -6
- 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/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/patients/resources/v1/types/MutablePatient.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/OriginationDetail.d.ts +10 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/OriginationDetail.js +5 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/ReferralSource.d.ts +10 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/ReferralSource.js +12 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.d.ts +8 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.js +10 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/SpecializationCategory.d.ts +34 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/SpecializationCategory.js +36 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +4 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +4 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
- 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/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/serialization/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.d.ts +12 -0
- package/dist/serialization/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.js +43 -0
- package/dist/serialization/resources/auth/resources/default/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/auth/resources/default/client/requests/index.js +3 -1
- package/dist/serialization/resources/credentialing/resources/v2/client/createFacility.d.ts +20 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/createFacility.js +77 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/deleteFacility.d.ts +20 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/deleteFacility.js +77 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/getAllFacilities.d.ts +20 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/getAllFacilities.js +77 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/getFacility.d.ts +20 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/getFacility.js +77 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/index.d.ts +5 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/index.js +6 -1
- package/dist/serialization/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanCreate.d.ts +18 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanCreate.js +49 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanUpdate.d.ts +19 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanUpdate.js +50 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/requests/index.js +5 -1
- package/dist/serialization/resources/credentialing/resources/v2/client/updateFacility.d.ts +30 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/updateFacility.js +89 -0
- package/dist/serialization/resources/credentialing/resources/v2/types/BaseCredentialingSpan.d.ts +22 -0
- package/dist/serialization/resources/credentialing/resources/v2/types/BaseCredentialingSpan.js +53 -0
- package/dist/serialization/resources/credentialing/resources/v2/types/FacilityCredentialingSpan.d.ts +16 -0
- package/dist/serialization/resources/credentialing/resources/v2/types/FacilityCredentialingSpan.js +49 -0
- package/dist/serialization/resources/credentialing/resources/v2/types/FacilityCredentialingSpanId.d.ts +10 -0
- package/dist/serialization/resources/credentialing/resources/v2/types/FacilityCredentialingSpanId.js +45 -0
- package/dist/serialization/resources/credentialing/resources/v2/types/FacilityCredentialingSpanPage.d.ts +14 -0
- package/dist/serialization/resources/credentialing/resources/v2/types/FacilityCredentialingSpanPage.js +47 -0
- package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +3 -12
- package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +6 -13
- package/dist/serialization/resources/credentialing/resources/v2/types/index.d.ts +4 -0
- package/dist/serialization/resources/credentialing/resources/v2/types/index.js +4 -0
- package/dist/serialization/resources/healthCareCodeInformation/index.d.ts +1 -0
- package/dist/serialization/resources/healthCareCodeInformation/index.js +17 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/index.d.ts +1 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/index.js +37 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/client/getAllForEncounter.d.ts +15 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/client/getAllForEncounter.js +71 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/client/index.d.ts +2 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/client/index.js +38 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/client/update.d.ts +20 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/client/update.js +77 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/index.d.ts +2 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/index.js +18 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosis.d.ts +16 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosis.js +49 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisCodeQualifier.d.ts +10 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisCodeQualifier.js +41 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.d.ts +10 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.js +1098 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.d.ts +10 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.js +101 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformation.d.ts +16 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformation.js +49 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationCodeQualifier.d.ts +10 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationCodeQualifier.js +41 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/D8Date.d.ts +10 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/D8Date.js +41 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.d.ts +10 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.js +84 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroup.d.ts +16 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroup.js +49 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupCodeQualifier.d.ts +10 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupCodeQualifier.js +41 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjury.d.ts +18 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjury.js +51 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryCodeQualifier.d.ts +10 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryCodeQualifier.js +41 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformation.d.ts +15 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformation.js +48 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.d.ts +37 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.js +68 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.d.ts +23 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.js +54 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.d.ts +37 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.js +68 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/IcdCode.d.ts +10 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/IcdCode.js +45 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/MsdrgCode.d.ts +10 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/MsdrgCode.js +45 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceCode.d.ts +10 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceCode.js +101 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformation.d.ts +18 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformation.js +51 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationCodeQualifier.d.ts +10 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationCodeQualifier.js +41 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.d.ts +10 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.js +41 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCodeQualifier.d.ts +10 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCodeQualifier.js +41 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformation.d.ts +18 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformation.js +51 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformation.d.ts +18 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformation.js +51 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationCodeQualifier.d.ts +10 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationCodeQualifier.js +41 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformation.d.ts +18 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformation.js +51 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationCodeQualifier.d.ts +10 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationCodeQualifier.js +41 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisit.d.ts +16 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisit.js +49 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitCodeQualifier.d.ts +10 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitCodeQualifier.js +41 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PresentOnAdmissionIndicatorCode.d.ts +10 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PresentOnAdmissionIndicatorCode.js +41 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosis.d.ts +18 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosis.js +51 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisCodeQualifier.d.ts +10 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisCodeQualifier.js +41 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformation.d.ts +18 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformation.js +51 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationCodeQualifier.d.ts +10 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationCodeQualifier.js +41 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.d.ts +13 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.js +44 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearAdmittingDiagnosis.d.ts +13 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearAdmittingDiagnosis.js +44 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearDiagnosisRelatedGroup.d.ts +13 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearDiagnosisRelatedGroup.js +44 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalDiagnosis.d.ts +13 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalDiagnosis.js +44 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalProcedureInformation.d.ts +13 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalProcedureInformation.js +44 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCode.d.ts +10 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCode.js +45 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformation.d.ts +16 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformation.js +49 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeQualifier.d.ts +10 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeQualifier.js +41 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueCode.d.ts +10 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueCode.js +149 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueCodeQualifier.d.ts +10 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueCodeQualifier.js +41 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformation.d.ts +18 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformation.js +51 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +46 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/index.js +62 -0
- package/dist/serialization/resources/index.d.ts +3 -1
- package/dist/serialization/resources/index.js +5 -3
- package/dist/serialization/resources/patientAr/index.d.ts +1 -0
- package/dist/serialization/resources/patientAr/index.js +17 -0
- package/dist/serialization/resources/patientAr/resources/index.d.ts +1 -0
- package/dist/serialization/resources/patientAr/resources/index.js +37 -0
- package/dist/serialization/resources/patientAr/resources/v1/client/index.d.ts +2 -0
- package/dist/serialization/resources/patientAr/resources/v1/client/index.js +38 -0
- package/dist/serialization/resources/patientAr/resources/v1/client/itemize.d.ts +20 -0
- package/dist/serialization/resources/patientAr/resources/v1/client/itemize.js +77 -0
- package/dist/serialization/resources/patientAr/resources/v1/client/listInventory.d.ts +20 -0
- package/dist/serialization/resources/patientAr/resources/v1/client/listInventory.js +77 -0
- package/dist/serialization/resources/patientAr/resources/v1/index.d.ts +2 -0
- package/dist/serialization/resources/patientAr/resources/v1/index.js +18 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/InsuranceAdjustmentInfo.d.ts +12 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/InsuranceAdjustmentInfo.js +43 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/InsurancePaymentInfo.d.ts +12 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/InsurancePaymentInfo.js +43 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/InvalidFiltersErrorType.d.ts +12 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/InvalidFiltersErrorType.js +43 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/InventoryRecord.d.ts +20 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/InventoryRecord.js +51 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/InvoiceItemizationResponse.d.ts +18 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/InvoiceItemizationResponse.js +49 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/ListInventoryPagedResponse.d.ts +15 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/ListInventoryPagedResponse.js +46 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/NonInsuranceAdjustmentInfo.d.ts +12 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/NonInsuranceAdjustmentInfo.js +43 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/NonInsurancePaymentInfo.d.ts +12 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/NonInsurancePaymentInfo.js +43 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/PatientAdjustmentInfo.d.ts +12 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/PatientAdjustmentInfo.js +43 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/PatientArStatus.d.ts +10 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/PatientArStatus.js +41 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/PatientPaymentAllocation.d.ts +13 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/PatientPaymentAllocation.js +44 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/PatientPaymentInfo.d.ts +14 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/PatientPaymentInfo.js +45 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/ServiceLineItemization.d.ts +32 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/ServiceLineItemization.js +63 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/index.d.ts +13 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/index.js +29 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +2 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/OriginationDetail.d.ts +19 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/OriginationDetail.js +50 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/ReferralSource.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/ReferralSource.js +41 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.js +41 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/SpecializationCategory.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/SpecializationCategory.js +70 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +4 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +4 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +898 -331
- package/serialization/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.d.ts +12 -0
- package/serialization/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.js +43 -0
- package/serialization/resources/auth/resources/default/client/requests/index.d.ts +1 -0
- package/serialization/resources/auth/resources/default/client/requests/index.js +3 -1
- package/serialization/resources/credentialing/resources/v2/client/createFacility.d.ts +20 -0
- package/serialization/resources/credentialing/resources/v2/client/createFacility.js +77 -0
- package/serialization/resources/credentialing/resources/v2/client/deleteFacility.d.ts +20 -0
- package/serialization/resources/credentialing/resources/v2/client/deleteFacility.js +77 -0
- package/serialization/resources/credentialing/resources/v2/client/getAllFacilities.d.ts +20 -0
- package/serialization/resources/credentialing/resources/v2/client/getAllFacilities.js +77 -0
- package/serialization/resources/credentialing/resources/v2/client/getFacility.d.ts +20 -0
- package/serialization/resources/credentialing/resources/v2/client/getFacility.js +77 -0
- package/serialization/resources/credentialing/resources/v2/client/index.d.ts +5 -0
- package/serialization/resources/credentialing/resources/v2/client/index.js +6 -1
- package/serialization/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanCreate.d.ts +18 -0
- package/serialization/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanCreate.js +49 -0
- package/serialization/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanUpdate.d.ts +19 -0
- package/serialization/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanUpdate.js +50 -0
- package/serialization/resources/credentialing/resources/v2/client/requests/index.d.ts +2 -0
- package/serialization/resources/credentialing/resources/v2/client/requests/index.js +5 -1
- package/serialization/resources/credentialing/resources/v2/client/updateFacility.d.ts +30 -0
- package/serialization/resources/credentialing/resources/v2/client/updateFacility.js +89 -0
- package/serialization/resources/credentialing/resources/v2/types/BaseCredentialingSpan.d.ts +22 -0
- package/serialization/resources/credentialing/resources/v2/types/BaseCredentialingSpan.js +53 -0
- package/serialization/resources/credentialing/resources/v2/types/FacilityCredentialingSpan.d.ts +16 -0
- package/serialization/resources/credentialing/resources/v2/types/FacilityCredentialingSpan.js +49 -0
- package/serialization/resources/credentialing/resources/v2/types/FacilityCredentialingSpanId.d.ts +10 -0
- package/serialization/resources/credentialing/resources/v2/types/FacilityCredentialingSpanId.js +45 -0
- package/serialization/resources/credentialing/resources/v2/types/FacilityCredentialingSpanPage.d.ts +14 -0
- package/serialization/resources/credentialing/resources/v2/types/FacilityCredentialingSpanPage.js +47 -0
- package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +3 -12
- package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +6 -13
- package/serialization/resources/credentialing/resources/v2/types/index.d.ts +4 -0
- package/serialization/resources/credentialing/resources/v2/types/index.js +4 -0
- package/serialization/resources/healthCareCodeInformation/index.d.ts +1 -0
- package/serialization/resources/healthCareCodeInformation/index.js +17 -0
- package/serialization/resources/healthCareCodeInformation/resources/index.d.ts +1 -0
- package/serialization/resources/healthCareCodeInformation/resources/index.js +37 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/client/getAllForEncounter.d.ts +15 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/client/getAllForEncounter.js +71 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/client/index.d.ts +2 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/client/index.js +38 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/client/update.d.ts +20 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/client/update.js +77 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/index.d.ts +2 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/index.js +18 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosis.d.ts +16 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosis.js +49 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisCodeQualifier.d.ts +10 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisCodeQualifier.js +41 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.d.ts +10 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.js +1098 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.d.ts +10 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.js +101 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformation.d.ts +16 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformation.js +49 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationCodeQualifier.d.ts +10 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationCodeQualifier.js +41 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/D8Date.d.ts +10 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/D8Date.js +41 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.d.ts +10 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.js +84 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroup.d.ts +16 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroup.js +49 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupCodeQualifier.d.ts +10 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupCodeQualifier.js +41 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjury.d.ts +18 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjury.js +51 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryCodeQualifier.d.ts +10 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryCodeQualifier.js +41 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformation.d.ts +15 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformation.js +48 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.d.ts +37 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.js +68 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.d.ts +23 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.js +54 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.d.ts +37 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.js +68 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/IcdCode.d.ts +10 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/IcdCode.js +45 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/MsdrgCode.d.ts +10 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/MsdrgCode.js +45 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceCode.d.ts +10 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceCode.js +101 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformation.d.ts +18 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformation.js +51 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationCodeQualifier.d.ts +10 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationCodeQualifier.js +41 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.d.ts +10 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.js +41 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCodeQualifier.d.ts +10 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCodeQualifier.js +41 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformation.d.ts +18 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformation.js +51 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformation.d.ts +18 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformation.js +51 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationCodeQualifier.d.ts +10 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationCodeQualifier.js +41 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformation.d.ts +18 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformation.js +51 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationCodeQualifier.d.ts +10 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationCodeQualifier.js +41 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisit.d.ts +16 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisit.js +49 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitCodeQualifier.d.ts +10 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitCodeQualifier.js +41 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PresentOnAdmissionIndicatorCode.d.ts +10 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PresentOnAdmissionIndicatorCode.js +41 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosis.d.ts +18 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosis.js +51 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisCodeQualifier.d.ts +10 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisCodeQualifier.js +41 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformation.d.ts +18 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformation.js +51 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationCodeQualifier.d.ts +10 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationCodeQualifier.js +41 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.d.ts +13 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.js +44 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearAdmittingDiagnosis.d.ts +13 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearAdmittingDiagnosis.js +44 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearDiagnosisRelatedGroup.d.ts +13 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearDiagnosisRelatedGroup.js +44 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalDiagnosis.d.ts +13 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalDiagnosis.js +44 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalProcedureInformation.d.ts +13 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalProcedureInformation.js +44 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCode.d.ts +10 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCode.js +45 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformation.d.ts +16 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformation.js +49 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeQualifier.d.ts +10 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeQualifier.js +41 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueCode.d.ts +10 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueCode.js +149 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueCodeQualifier.d.ts +10 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueCodeQualifier.js +41 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformation.d.ts +18 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformation.js +51 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +46 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/index.js +62 -0
- package/serialization/resources/index.d.ts +3 -1
- package/serialization/resources/index.js +5 -3
- package/serialization/resources/patientAr/index.d.ts +1 -0
- package/serialization/resources/patientAr/index.js +17 -0
- package/serialization/resources/patientAr/resources/index.d.ts +1 -0
- package/serialization/resources/patientAr/resources/index.js +37 -0
- package/serialization/resources/patientAr/resources/v1/client/index.d.ts +2 -0
- package/serialization/resources/patientAr/resources/v1/client/index.js +38 -0
- package/serialization/resources/patientAr/resources/v1/client/itemize.d.ts +20 -0
- package/serialization/resources/patientAr/resources/v1/client/itemize.js +77 -0
- package/serialization/resources/patientAr/resources/v1/client/listInventory.d.ts +20 -0
- package/serialization/resources/patientAr/resources/v1/client/listInventory.js +77 -0
- package/serialization/resources/patientAr/resources/v1/index.d.ts +2 -0
- package/serialization/resources/patientAr/resources/v1/index.js +18 -0
- package/serialization/resources/patientAr/resources/v1/types/InsuranceAdjustmentInfo.d.ts +12 -0
- package/serialization/resources/patientAr/resources/v1/types/InsuranceAdjustmentInfo.js +43 -0
- package/serialization/resources/patientAr/resources/v1/types/InsurancePaymentInfo.d.ts +12 -0
- package/serialization/resources/patientAr/resources/v1/types/InsurancePaymentInfo.js +43 -0
- package/serialization/resources/patientAr/resources/v1/types/InvalidFiltersErrorType.d.ts +12 -0
- package/serialization/resources/patientAr/resources/v1/types/InvalidFiltersErrorType.js +43 -0
- package/serialization/resources/patientAr/resources/v1/types/InventoryRecord.d.ts +20 -0
- package/serialization/resources/patientAr/resources/v1/types/InventoryRecord.js +51 -0
- package/serialization/resources/patientAr/resources/v1/types/InvoiceItemizationResponse.d.ts +18 -0
- package/serialization/resources/patientAr/resources/v1/types/InvoiceItemizationResponse.js +49 -0
- package/serialization/resources/patientAr/resources/v1/types/ListInventoryPagedResponse.d.ts +15 -0
- package/serialization/resources/patientAr/resources/v1/types/ListInventoryPagedResponse.js +46 -0
- package/serialization/resources/patientAr/resources/v1/types/NonInsuranceAdjustmentInfo.d.ts +12 -0
- package/serialization/resources/patientAr/resources/v1/types/NonInsuranceAdjustmentInfo.js +43 -0
- package/serialization/resources/patientAr/resources/v1/types/NonInsurancePaymentInfo.d.ts +12 -0
- package/serialization/resources/patientAr/resources/v1/types/NonInsurancePaymentInfo.js +43 -0
- package/serialization/resources/patientAr/resources/v1/types/PatientAdjustmentInfo.d.ts +12 -0
- package/serialization/resources/patientAr/resources/v1/types/PatientAdjustmentInfo.js +43 -0
- package/serialization/resources/patientAr/resources/v1/types/PatientArStatus.d.ts +10 -0
- package/serialization/resources/patientAr/resources/v1/types/PatientArStatus.js +41 -0
- package/serialization/resources/patientAr/resources/v1/types/PatientPaymentAllocation.d.ts +13 -0
- package/serialization/resources/patientAr/resources/v1/types/PatientPaymentAllocation.js +44 -0
- package/serialization/resources/patientAr/resources/v1/types/PatientPaymentInfo.d.ts +14 -0
- package/serialization/resources/patientAr/resources/v1/types/PatientPaymentInfo.js +45 -0
- package/serialization/resources/patientAr/resources/v1/types/ServiceLineItemization.d.ts +32 -0
- package/serialization/resources/patientAr/resources/v1/types/ServiceLineItemization.js +63 -0
- package/serialization/resources/patientAr/resources/v1/types/index.d.ts +13 -0
- package/serialization/resources/patientAr/resources/v1/types/index.js +29 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +2 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/OriginationDetail.d.ts +19 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/OriginationDetail.js +50 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/ReferralSource.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/ReferralSource.js +41 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.js +41 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/SpecializationCategory.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/SpecializationCategory.js +70 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +4 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +4 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type SpecializationCategory = "BEHAVIORAL_HEALTH_THERAPY" | "CARDIOLOGY" | "DERMATOLOGY" | "ENDOCRINOLOGY" | "ENT" | "GASTROENTEROLOGY" | "GENERAL_SURGERY" | "GENETICS" | "HEMATOLOGY" | "INFECTIOUS_DISEASE" | "NEUROLOGY" | "NUTRITIONAL_THERAPY" | "OB_GYN" | "ONCOLOGY" | "OPHTHALMOLOGY" | "ORTHOPEDICS" | "PAIN_MANAGEMENT" | "PEDIATRICS" | "PHYSICAL_THERAPY" | "PODIATRY" | "PRIMARY_CARE" | "PSYCHIATRY" | "PULMONOLOGY" | "RADIOLOGY" | "RHEUMATOLOGY" | "SCREENING" | "UROLOGY" | "OTHER";
|
|
5
|
+
export declare const SpecializationCategory: {
|
|
6
|
+
readonly BehavioralHealthTherapy: "BEHAVIORAL_HEALTH_THERAPY";
|
|
7
|
+
readonly Cardiology: "CARDIOLOGY";
|
|
8
|
+
readonly Dermatology: "DERMATOLOGY";
|
|
9
|
+
readonly Endocrinology: "ENDOCRINOLOGY";
|
|
10
|
+
readonly Ent: "ENT";
|
|
11
|
+
readonly Gastroenterology: "GASTROENTEROLOGY";
|
|
12
|
+
readonly GeneralSurgery: "GENERAL_SURGERY";
|
|
13
|
+
readonly Genetics: "GENETICS";
|
|
14
|
+
readonly Hematology: "HEMATOLOGY";
|
|
15
|
+
readonly InfectiousDisease: "INFECTIOUS_DISEASE";
|
|
16
|
+
readonly Neurology: "NEUROLOGY";
|
|
17
|
+
readonly NutritionalTherapy: "NUTRITIONAL_THERAPY";
|
|
18
|
+
readonly ObGyn: "OB_GYN";
|
|
19
|
+
readonly Oncology: "ONCOLOGY";
|
|
20
|
+
readonly Ophthalmology: "OPHTHALMOLOGY";
|
|
21
|
+
readonly Orthopedics: "ORTHOPEDICS";
|
|
22
|
+
readonly PainManagement: "PAIN_MANAGEMENT";
|
|
23
|
+
readonly Pediatrics: "PEDIATRICS";
|
|
24
|
+
readonly PhysicalTherapy: "PHYSICAL_THERAPY";
|
|
25
|
+
readonly Podiatry: "PODIATRY";
|
|
26
|
+
readonly PrimaryCare: "PRIMARY_CARE";
|
|
27
|
+
readonly Psychiatry: "PSYCHIATRY";
|
|
28
|
+
readonly Pulmonology: "PULMONOLOGY";
|
|
29
|
+
readonly Radiology: "RADIOLOGY";
|
|
30
|
+
readonly Rheumatology: "RHEUMATOLOGY";
|
|
31
|
+
readonly Screening: "SCREENING";
|
|
32
|
+
readonly Urology: "UROLOGY";
|
|
33
|
+
readonly Other: "OTHER";
|
|
34
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.SpecializationCategory = void 0;
|
|
7
|
+
exports.SpecializationCategory = {
|
|
8
|
+
BehavioralHealthTherapy: "BEHAVIORAL_HEALTH_THERAPY",
|
|
9
|
+
Cardiology: "CARDIOLOGY",
|
|
10
|
+
Dermatology: "DERMATOLOGY",
|
|
11
|
+
Endocrinology: "ENDOCRINOLOGY",
|
|
12
|
+
Ent: "ENT",
|
|
13
|
+
Gastroenterology: "GASTROENTEROLOGY",
|
|
14
|
+
GeneralSurgery: "GENERAL_SURGERY",
|
|
15
|
+
Genetics: "GENETICS",
|
|
16
|
+
Hematology: "HEMATOLOGY",
|
|
17
|
+
InfectiousDisease: "INFECTIOUS_DISEASE",
|
|
18
|
+
Neurology: "NEUROLOGY",
|
|
19
|
+
NutritionalTherapy: "NUTRITIONAL_THERAPY",
|
|
20
|
+
ObGyn: "OB_GYN",
|
|
21
|
+
Oncology: "ONCOLOGY",
|
|
22
|
+
Ophthalmology: "OPHTHALMOLOGY",
|
|
23
|
+
Orthopedics: "ORTHOPEDICS",
|
|
24
|
+
PainManagement: "PAIN_MANAGEMENT",
|
|
25
|
+
Pediatrics: "PEDIATRICS",
|
|
26
|
+
PhysicalTherapy: "PHYSICAL_THERAPY",
|
|
27
|
+
Podiatry: "PODIATRY",
|
|
28
|
+
PrimaryCare: "PRIMARY_CARE",
|
|
29
|
+
Psychiatry: "PSYCHIATRY",
|
|
30
|
+
Pulmonology: "PULMONOLOGY",
|
|
31
|
+
Radiology: "RADIOLOGY",
|
|
32
|
+
Rheumatology: "RHEUMATOLOGY",
|
|
33
|
+
Screening: "SCREENING",
|
|
34
|
+
Urology: "UROLOGY",
|
|
35
|
+
Other: "OTHER",
|
|
36
|
+
};
|
|
@@ -12,3 +12,7 @@ export * from "./AuthorizationUnit";
|
|
|
12
12
|
export * from "./Authorization";
|
|
13
13
|
export * from "./Referral";
|
|
14
14
|
export * from "./Guarantor";
|
|
15
|
+
export * from "./ReferralSource";
|
|
16
|
+
export * from "./ReferralType";
|
|
17
|
+
export * from "./SpecializationCategory";
|
|
18
|
+
export * from "./OriginationDetail";
|
|
@@ -28,3 +28,7 @@ __exportStar(require("./AuthorizationUnit"), exports);
|
|
|
28
28
|
__exportStar(require("./Authorization"), exports);
|
|
29
29
|
__exportStar(require("./Referral"), exports);
|
|
30
30
|
__exportStar(require("./Guarantor"), exports);
|
|
31
|
+
__exportStar(require("./ReferralSource"), exports);
|
|
32
|
+
__exportStar(require("./ReferralType"), exports);
|
|
33
|
+
__exportStar(require("./SpecializationCategory"), exports);
|
|
34
|
+
__exportStar(require("./OriginationDetail"), exports);
|
|
@@ -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).preEncounter, `/tags/v1/${encodeURIComponent(serializers.preEncounter.TagId.jsonOrThrow(id))}`),
|
|
75
75
|
method: "GET",
|
|
76
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
76
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.7.0", "User-Agent": "candidhealth/1.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
77
77
|
contentType: "application/json",
|
|
78
78
|
requestType: "json",
|
|
79
79
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -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).preEncounter, "/tags/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.7.0", "User-Agent": "candidhealth/1.7.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",
|
|
@@ -162,7 +162,7 @@ class V1 {
|
|
|
162
162
|
const _response = yield core.fetcher({
|
|
163
163
|
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, "/tags/v1"),
|
|
164
164
|
method: "POST",
|
|
165
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
165
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.7.0", "User-Agent": "candidhealth/1.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
166
166
|
contentType: "application/json",
|
|
167
167
|
requestType: "json",
|
|
168
168
|
body: serializers.preEncounter.tags.v1.MutableTag.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -206,7 +206,7 @@ class V1 {
|
|
|
206
206
|
const _response = yield core.fetcher({
|
|
207
207
|
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, `/tags/v1/${encodeURIComponent(serializers.preEncounter.TagId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
|
|
208
208
|
method: "PUT",
|
|
209
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
209
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.7.0", "User-Agent": "candidhealth/1.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
210
210
|
contentType: "application/json",
|
|
211
211
|
requestType: "json",
|
|
212
212
|
body: serializers.preEncounter.tags.v1.MutableTag.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -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).preEncounter, `/tags/v1/${encodeURIComponent(serializers.preEncounter.TagId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
|
|
249
249
|
method: "DELETE",
|
|
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.7.0", "User-Agent": "candidhealth/1.7.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
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -72,7 +72,7 @@ class ServiceFacility {
|
|
|
72
72
|
const _response = yield core.fetcher({
|
|
73
73
|
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/service_facility/v2/${encodeURIComponent(serializers.ServiceFacilityId.jsonOrThrow(serviceFacilityId))}`),
|
|
74
74
|
method: "PATCH",
|
|
75
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
75
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.7.0", "User-Agent": "candidhealth/1.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
76
76
|
contentType: "application/json",
|
|
77
77
|
requestType: "json",
|
|
78
78
|
body: serializers.EncounterServiceFacilityUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -76,7 +76,7 @@ class V2 {
|
|
|
76
76
|
const _response = yield core.fetcher({
|
|
77
77
|
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/service-lines/v2"),
|
|
78
78
|
method: "POST",
|
|
79
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
79
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.7.0", "User-Agent": "candidhealth/1.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
80
80
|
contentType: "application/json",
|
|
81
81
|
requestType: "json",
|
|
82
82
|
body: serializers.serviceLines.v2.ServiceLineCreateStandalone.jsonOrThrow(request, {
|
|
@@ -131,7 +131,7 @@ class V2 {
|
|
|
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/service-lines/v2/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}`),
|
|
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.7.0", "User-Agent": "candidhealth/1.7.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.serviceLines.v2.ServiceLineUpdate.jsonOrThrow(request, {
|
|
@@ -187,7 +187,7 @@ class V2 {
|
|
|
187
187
|
const _response = yield core.fetcher({
|
|
188
188
|
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/service-lines/v2/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}`),
|
|
189
189
|
method: "DELETE",
|
|
190
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
190
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.7.0", "User-Agent": "candidhealth/1.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
191
191
|
contentType: "application/json",
|
|
192
192
|
requestType: "json",
|
|
193
193
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -75,7 +75,7 @@ class V1 {
|
|
|
75
75
|
const _response = yield core.fetcher({
|
|
76
76
|
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/superbill/v1"),
|
|
77
77
|
method: "POST",
|
|
78
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
78
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.7.0", "User-Agent": "candidhealth/1.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
79
79
|
contentType: "application/json",
|
|
80
80
|
requestType: "json",
|
|
81
81
|
body: serializers.superbills.v1.CreateSuperbillRequest.jsonOrThrow(request, {
|
|
@@ -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/tasks/v3/${encodeURIComponent(serializers.TaskId.jsonOrThrow(taskId))}/actions`),
|
|
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.7.0", "User-Agent": "candidhealth/1.7.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,
|
|
@@ -155,7 +155,7 @@ class V3 {
|
|
|
155
155
|
const _response = yield core.fetcher({
|
|
156
156
|
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/tasks/v3"),
|
|
157
157
|
method: "GET",
|
|
158
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
158
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.7.0", "User-Agent": "candidhealth/1.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
159
159
|
contentType: "application/json",
|
|
160
160
|
queryParameters: _queryParams,
|
|
161
161
|
requestType: "json",
|
|
@@ -207,7 +207,7 @@ class V3 {
|
|
|
207
207
|
const _response = yield core.fetcher({
|
|
208
208
|
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/tasks/v3/${encodeURIComponent(serializers.TaskId.jsonOrThrow(taskId))}`),
|
|
209
209
|
method: "GET",
|
|
210
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
210
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.7.0", "User-Agent": "candidhealth/1.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
211
211
|
contentType: "application/json",
|
|
212
212
|
requestType: "json",
|
|
213
213
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -264,7 +264,7 @@ class V3 {
|
|
|
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/tasks/v3"),
|
|
266
266
|
method: "POST",
|
|
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.7.0", "User-Agent": "candidhealth/1.7.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
|
body: serializers.tasks.v3.TaskCreateV3.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -303,7 +303,7 @@ class V3 {
|
|
|
303
303
|
const _response = yield core.fetcher({
|
|
304
304
|
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/tasks/v3/${encodeURIComponent(serializers.TaskId.jsonOrThrow(taskId))}`),
|
|
305
305
|
method: "PATCH",
|
|
306
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
306
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.7.0", "User-Agent": "candidhealth/1.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
307
307
|
contentType: "application/json",
|
|
308
308
|
requestType: "json",
|
|
309
309
|
body: serializers.tasks.v3.TaskUpdateV3.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -116,7 +116,7 @@ class V1 {
|
|
|
116
116
|
const _response = yield core.fetcher({
|
|
117
117
|
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/write-offs/v1"),
|
|
118
118
|
method: "GET",
|
|
119
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
119
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.7.0", "User-Agent": "candidhealth/1.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
120
120
|
contentType: "application/json",
|
|
121
121
|
queryParameters: _queryParams,
|
|
122
122
|
requestType: "json",
|
|
@@ -156,7 +156,7 @@ class V1 {
|
|
|
156
156
|
const _response = yield core.fetcher({
|
|
157
157
|
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/write-offs/v1/${encodeURIComponent(serializers.writeOffs.v1.WriteOffId.jsonOrThrow(writeOffId))}`),
|
|
158
158
|
method: "GET",
|
|
159
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
159
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.7.0", "User-Agent": "candidhealth/1.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
160
160
|
contentType: "application/json",
|
|
161
161
|
requestType: "json",
|
|
162
162
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -210,7 +210,7 @@ class V1 {
|
|
|
210
210
|
const _response = yield core.fetcher({
|
|
211
211
|
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/write-offs/v1"),
|
|
212
212
|
method: "POST",
|
|
213
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
213
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.7.0", "User-Agent": "candidhealth/1.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
214
214
|
contentType: "application/json",
|
|
215
215
|
requestType: "json",
|
|
216
216
|
body: serializers.writeOffs.v1.CreateWriteOffsRequest.jsonOrThrow(request, {
|
|
@@ -252,7 +252,7 @@ class V1 {
|
|
|
252
252
|
const _response = yield core.fetcher({
|
|
253
253
|
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/write-offs/v1/${encodeURIComponent(serializers.writeOffs.v1.WriteOffId.jsonOrThrow(writeOffId))}/revert`),
|
|
254
254
|
method: "POST",
|
|
255
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
255
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.7.0", "User-Agent": "candidhealth/1.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
256
256
|
contentType: "application/json",
|
|
257
257
|
requestType: "json",
|
|
258
258
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -291,7 +291,7 @@ class V1 {
|
|
|
291
291
|
const _response = yield core.fetcher({
|
|
292
292
|
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/write-offs/v1/${encodeURIComponent(serializers.AdjustmentId.jsonOrThrow(adjustmentId))}/revert`),
|
|
293
293
|
method: "POST",
|
|
294
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
294
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.7.0", "User-Agent": "candidhealth/1.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
295
295
|
contentType: "application/json",
|
|
296
296
|
requestType: "json",
|
|
297
297
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -330,7 +330,7 @@ class V1 {
|
|
|
330
330
|
const _response = yield core.fetcher({
|
|
331
331
|
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/write-offs/v1/${encodeURIComponent(serializers.AdjustmentId.jsonOrThrow(adjustmentId))}/revert-era-originated`),
|
|
332
332
|
method: "POST",
|
|
333
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
333
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.7.0", "User-Agent": "candidhealth/1.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
334
334
|
contentType: "application/json",
|
|
335
335
|
requestType: "json",
|
|
336
336
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../core";
|
|
7
|
+
export declare const AuthGetTokenForOrgRequest: core.serialization.Schema<serializers.auth.default_.AuthGetTokenForOrgRequest.Raw, CandidApi.auth.default_.AuthGetTokenForOrgRequest>;
|
|
8
|
+
export declare namespace AuthGetTokenForOrgRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
org_id: string;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.AuthGetTokenForOrgRequest = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../core"));
|
|
41
|
+
exports.AuthGetTokenForOrgRequest = core.serialization.object({
|
|
42
|
+
orgId: core.serialization.property("org_id", core.serialization.string()),
|
|
43
|
+
});
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AuthGetTokenRequest = void 0;
|
|
3
|
+
exports.AuthGetTokenForOrgRequest = exports.AuthGetTokenRequest = void 0;
|
|
4
4
|
var AuthGetTokenRequest_1 = require("./AuthGetTokenRequest");
|
|
5
5
|
Object.defineProperty(exports, "AuthGetTokenRequest", { enumerable: true, get: function () { return AuthGetTokenRequest_1.AuthGetTokenRequest; } });
|
|
6
|
+
var AuthGetTokenForOrgRequest_1 = require("./AuthGetTokenForOrgRequest");
|
|
7
|
+
Object.defineProperty(exports, "AuthGetTokenForOrgRequest", { enumerable: true, get: function () { return AuthGetTokenForOrgRequest_1.AuthGetTokenForOrgRequest; } });
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
|
|
8
|
+
import { UnauthorizedErrorMessage } from "../../../../commons/types/UnauthorizedErrorMessage";
|
|
9
|
+
export declare const Error: core.serialization.Schema<serializers.credentialing.v2.createFacility.Error.Raw, CandidApi.credentialing.v2.createFacility.Error>;
|
|
10
|
+
export declare namespace Error {
|
|
11
|
+
type Raw = Error.HttpRequestValidationsError | Error.UnauthorizedError;
|
|
12
|
+
interface HttpRequestValidationsError {
|
|
13
|
+
errorName: "HttpRequestValidationsError";
|
|
14
|
+
content: RequestValidationError.Raw[];
|
|
15
|
+
}
|
|
16
|
+
interface UnauthorizedError {
|
|
17
|
+
errorName: "UnauthorizedError";
|
|
18
|
+
content: UnauthorizedErrorMessage.Raw;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
39
|
+
var t = {};
|
|
40
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
41
|
+
t[p] = s[p];
|
|
42
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
43
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
44
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
45
|
+
t[p[i]] = s[p[i]];
|
|
46
|
+
}
|
|
47
|
+
return t;
|
|
48
|
+
};
|
|
49
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
50
|
+
exports.Error = void 0;
|
|
51
|
+
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
52
|
+
const core = __importStar(require("../../../../../../core"));
|
|
53
|
+
const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
|
|
54
|
+
const UnauthorizedErrorMessage_1 = require("../../../../commons/types/UnauthorizedErrorMessage");
|
|
55
|
+
exports.Error = core.serialization
|
|
56
|
+
.union("errorName", {
|
|
57
|
+
HttpRequestValidationsError: core.serialization.object({
|
|
58
|
+
content: core.serialization.list(RequestValidationError_1.RequestValidationError),
|
|
59
|
+
}),
|
|
60
|
+
UnauthorizedError: core.serialization.object({
|
|
61
|
+
content: UnauthorizedErrorMessage_1.UnauthorizedErrorMessage,
|
|
62
|
+
}),
|
|
63
|
+
})
|
|
64
|
+
.transform({
|
|
65
|
+
transform: (value) => {
|
|
66
|
+
switch (value.errorName) {
|
|
67
|
+
case "HttpRequestValidationsError":
|
|
68
|
+
return CandidApi.credentialing.v2.createFacility.Error.httpRequestValidationsError(value.content);
|
|
69
|
+
case "UnauthorizedError":
|
|
70
|
+
return CandidApi.credentialing.v2.createFacility.Error.unauthorizedError(value.content);
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
untransform: (_a) => {
|
|
74
|
+
var { _visit } = _a, value = __rest(_a, ["_visit"]);
|
|
75
|
+
return value;
|
|
76
|
+
},
|
|
77
|
+
});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
|
|
8
|
+
import { UnauthorizedErrorMessage } from "../../../../commons/types/UnauthorizedErrorMessage";
|
|
9
|
+
export declare const Error: core.serialization.Schema<serializers.credentialing.v2.deleteFacility.Error.Raw, CandidApi.credentialing.v2.deleteFacility.Error>;
|
|
10
|
+
export declare namespace Error {
|
|
11
|
+
type Raw = Error.EntityNotFoundError | Error.UnauthorizedError;
|
|
12
|
+
interface EntityNotFoundError {
|
|
13
|
+
errorName: "EntityNotFoundError";
|
|
14
|
+
content: EntityNotFoundErrorMessage.Raw;
|
|
15
|
+
}
|
|
16
|
+
interface UnauthorizedError {
|
|
17
|
+
errorName: "UnauthorizedError";
|
|
18
|
+
content: UnauthorizedErrorMessage.Raw;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
39
|
+
var t = {};
|
|
40
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
41
|
+
t[p] = s[p];
|
|
42
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
43
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
44
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
45
|
+
t[p[i]] = s[p[i]];
|
|
46
|
+
}
|
|
47
|
+
return t;
|
|
48
|
+
};
|
|
49
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
50
|
+
exports.Error = void 0;
|
|
51
|
+
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
52
|
+
const core = __importStar(require("../../../../../../core"));
|
|
53
|
+
const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
|
|
54
|
+
const UnauthorizedErrorMessage_1 = require("../../../../commons/types/UnauthorizedErrorMessage");
|
|
55
|
+
exports.Error = core.serialization
|
|
56
|
+
.union("errorName", {
|
|
57
|
+
EntityNotFoundError: core.serialization.object({
|
|
58
|
+
content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
|
|
59
|
+
}),
|
|
60
|
+
UnauthorizedError: core.serialization.object({
|
|
61
|
+
content: UnauthorizedErrorMessage_1.UnauthorizedErrorMessage,
|
|
62
|
+
}),
|
|
63
|
+
})
|
|
64
|
+
.transform({
|
|
65
|
+
transform: (value) => {
|
|
66
|
+
switch (value.errorName) {
|
|
67
|
+
case "EntityNotFoundError":
|
|
68
|
+
return CandidApi.credentialing.v2.deleteFacility.Error.entityNotFoundError(value.content);
|
|
69
|
+
case "UnauthorizedError":
|
|
70
|
+
return CandidApi.credentialing.v2.deleteFacility.Error.unauthorizedError(value.content);
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
untransform: (_a) => {
|
|
74
|
+
var { _visit } = _a, value = __rest(_a, ["_visit"]);
|
|
75
|
+
return value;
|
|
76
|
+
},
|
|
77
|
+
});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
import { UnauthorizedErrorMessage } from "../../../../commons/types/UnauthorizedErrorMessage";
|
|
8
|
+
import { UnprocessableEntityErrorMessage } from "../../../../commons/types/UnprocessableEntityErrorMessage";
|
|
9
|
+
export declare const Error: core.serialization.Schema<serializers.credentialing.v2.getAllFacilities.Error.Raw, CandidApi.credentialing.v2.getAllFacilities.Error>;
|
|
10
|
+
export declare namespace Error {
|
|
11
|
+
type Raw = Error.UnauthorizedError | Error.UnprocessableEntityError;
|
|
12
|
+
interface UnauthorizedError {
|
|
13
|
+
errorName: "UnauthorizedError";
|
|
14
|
+
content: UnauthorizedErrorMessage.Raw;
|
|
15
|
+
}
|
|
16
|
+
interface UnprocessableEntityError {
|
|
17
|
+
errorName: "UnprocessableEntityError";
|
|
18
|
+
content: UnprocessableEntityErrorMessage.Raw;
|
|
19
|
+
}
|
|
20
|
+
}
|