candidhealth 1.8.1 → 1.9.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 +5 -1
- package/Client.js +10 -4
- package/README.md +28 -3
- package/api/resources/auth/client/Client.d.ts +2 -10
- package/api/resources/auth/resources/default/client/Client.d.ts +7 -14
- package/api/resources/auth/resources/default/client/Client.js +39 -68
- package/api/resources/auth/resources/default/client/index.d.ts +1 -2
- package/api/resources/auth/resources/default/client/index.js +5 -6
- package/api/resources/auth/resources/default/client/requests/index.d.ts +0 -1
- package/api/resources/billingNotes/client/Client.d.ts +2 -10
- package/api/resources/billingNotes/resources/v2/client/Client.d.ts +13 -5
- package/api/resources/billingNotes/resources/v2/client/Client.js +100 -54
- package/api/resources/billingNotes/resources/v2/client/index.d.ts +1 -1
- package/api/resources/billingNotes/resources/v2/client/index.js +4 -4
- package/api/resources/billingNotes/resources/v2/client/requests/StandaloneBillingNoteCreate.d.ts +2 -1
- package/api/resources/billingNotes/resources/v2/types/BillingNote.d.ts +1 -1
- package/api/resources/chargeCapture/client/Client.d.ts +2 -10
- package/api/resources/chargeCapture/resources/v1/client/Client.d.ts +17 -7
- package/api/resources/chargeCapture/resources/v1/client/Client.js +208 -116
- package/api/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
- package/api/resources/chargeCapture/resources/v1/client/index.js +4 -4
- package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +37 -111
- package/api/resources/chargeCaptureBundles/client/Client.d.ts +2 -10
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +13 -5
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +115 -65
- package/api/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +1 -1
- package/api/resources/chargeCaptureBundles/resources/v1/client/index.js +4 -4
- package/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureClaimCreationsRequest.d.ts +21 -63
- package/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +2 -2
- package/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.d.ts +2 -2
- package/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +4 -4
- package/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreateOptional.d.ts +4 -4
- package/api/resources/claims/types/Claim.d.ts +5 -5
- package/api/resources/contracts/client/Client.d.ts +2 -10
- package/api/resources/contracts/resources/v2/client/Client.d.ts +30 -7
- package/api/resources/contracts/resources/v2/client/Client.js +179 -93
- package/api/resources/contracts/resources/v2/client/index.d.ts +1 -1
- package/api/resources/contracts/resources/v2/client/index.js +4 -4
- package/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +15 -1
- package/api/resources/contracts/resources/v2/client/requests/GetMultiContractsRequest.d.ts +5 -15
- package/api/resources/credentialing/client/Client.d.ts +2 -10
- package/api/resources/credentialing/resources/v2/client/Client.d.ts +25 -11
- package/api/resources/credentialing/resources/v2/client/Client.js +374 -211
- package/api/resources/credentialing/resources/v2/client/index.d.ts +1 -1
- package/api/resources/credentialing/resources/v2/client/index.js +4 -4
- package/api/resources/credentialing/resources/v2/client/requests/GetAllFacilityCredentialingSpansRequest.d.ts +4 -12
- package/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +5 -15
- package/api/resources/customSchemas/client/Client.d.ts +2 -10
- package/api/resources/customSchemas/resources/v1/client/Client.d.ts +13 -5
- package/api/resources/customSchemas/resources/v1/client/Client.js +154 -89
- package/api/resources/customSchemas/resources/v1/client/index.d.ts +1 -1
- package/api/resources/customSchemas/resources/v1/client/index.js +4 -4
- package/api/resources/diagnoses/client/Client.d.ts +13 -6
- package/api/resources/diagnoses/client/Client.js +101 -56
- package/api/resources/diagnoses/client/index.d.ts +1 -1
- package/api/resources/diagnoses/client/index.js +4 -4
- package/api/resources/diagnoses/types/Diagnosis.d.ts +2 -2
- package/api/resources/eligibility/client/Client.d.ts +2 -10
- package/api/resources/eligibility/resources/v2/client/Client.d.ts +11 -4
- package/api/resources/eligibility/resources/v2/client/Client.js +102 -52
- package/api/resources/encounterAttachments/client/Client.d.ts +2 -10
- package/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +11 -4
- package/api/resources/encounterAttachments/resources/v1/client/Client.js +74 -37
- package/api/resources/encounterAttachments/resources/v1/client/index.d.ts +1 -1
- package/api/resources/encounterAttachments/resources/v1/client/index.js +4 -4
- package/api/resources/encounterProviders/client/Client.d.ts +2 -10
- package/api/resources/encounterProviders/resources/v2/client/Client.d.ts +29 -13
- package/api/resources/encounterProviders/resources/v2/client/Client.js +449 -238
- package/api/resources/encounters/client/Client.d.ts +2 -10
- package/api/resources/encounters/resources/v4/client/Client.d.ts +50 -135
- package/api/resources/encounters/resources/v4/client/Client.js +207 -390
- package/api/resources/encounters/resources/v4/client/index.d.ts +1 -4
- package/api/resources/encounters/resources/v4/client/index.js +5 -8
- package/api/resources/encounters/resources/v4/client/requests/GetAllEncountersRequest.d.ts +14 -40
- package/api/resources/encounters/resources/v4/types/ClinicalNoteCategory.d.ts +1 -1
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +12 -12
- package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +12 -12
- package/api/resources/encounters/resources/v4/types/EncounterSubmissionExpectation.d.ts +2 -3
- package/api/resources/encountersUniversal/types/index.d.ts +0 -3
- package/api/resources/encountersUniversal/types/index.js +0 -3
- package/api/resources/expectedNetworkStatus/client/Client.d.ts +2 -10
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +7 -2
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +27 -16
- package/api/resources/expectedNetworkStatus/resources/v1/client/index.d.ts +1 -1
- package/api/resources/expectedNetworkStatus/resources/v1/client/index.js +4 -4
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +9 -3
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +79 -46
- package/api/resources/exports/client/Client.d.ts +2 -10
- package/api/resources/exports/resources/v3/client/Client.d.ts +7 -2
- package/api/resources/exports/resources/v3/client/Client.js +39 -27
- package/api/resources/exports/resources/v3/client/index.d.ts +1 -1
- package/api/resources/exports/resources/v3/client/index.js +4 -4
- package/api/resources/exports/resources/v3/types/GetExportsResponse.d.ts +2 -2
- package/api/resources/externalPaymentAccountConfig/client/Client.d.ts +2 -10
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.d.ts +7 -2
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +28 -20
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/index.d.ts +1 -1
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/index.js +4 -4
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/requests/GetExternalPaymentAccountConfigsRequest.d.ts +1 -3
- package/api/resources/feeSchedules/client/Client.d.ts +2 -10
- package/api/resources/feeSchedules/resources/v3/client/Client.d.ts +29 -13
- package/api/resources/feeSchedules/resources/v3/client/Client.js +381 -211
- package/api/resources/feeSchedules/resources/v3/client/index.d.ts +1 -1
- package/api/resources/feeSchedules/resources/v3/client/index.js +4 -4
- package/api/resources/feeSchedules/resources/v3/client/requests/GetMultiRequest.d.ts +1 -3
- package/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts +2 -6
- package/api/resources/guarantor/client/Client.d.ts +2 -10
- package/api/resources/guarantor/resources/v1/client/Client.d.ts +11 -4
- package/api/resources/guarantor/resources/v1/client/Client.js +91 -50
- package/api/resources/guarantor/resources/v1/types/Guarantor.d.ts +1 -1
- package/api/resources/healthCareCodeInformation/client/Client.d.ts +2 -10
- package/api/resources/healthCareCodeInformation/resources/v1/client/Client.d.ts +9 -3
- package/api/resources/healthCareCodeInformation/resources/v1/client/Client.js +78 -47
- package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.d.ts +433 -40
- package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.js +95 -1
- package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.d.ts +12 -1
- package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.d.ts +0 -52
- package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.d.ts +14 -1
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceCode.d.ts +3 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformation.d.ts +6 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.d.ts +24 -5
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.js +5 -1
- package/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformation.d.ts +6 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformation.d.ts +6 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.d.ts +12 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +0 -16
- package/api/resources/healthCareCodeInformation/resources/v1/types/index.js +0 -16
- package/api/resources/importInvoice/client/Client.d.ts +2 -10
- package/api/resources/importInvoice/resources/v1/client/Client.d.ts +13 -5
- package/api/resources/importInvoice/resources/v1/client/Client.js +142 -82
- package/api/resources/importInvoice/resources/v1/client/index.d.ts +1 -1
- package/api/resources/importInvoice/resources/v1/client/index.js +4 -4
- package/api/resources/importInvoice/resources/v1/client/requests/SearchImportedInvoicesRequest.d.ts +7 -21
- package/api/resources/individual/types/Patient.d.ts +1 -1
- package/api/resources/insuranceAdjudications/client/Client.d.ts +2 -10
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +11 -4
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +86 -47
- package/api/resources/insurancePayments/client/Client.d.ts +2 -10
- package/api/resources/insurancePayments/resources/v1/client/Client.d.ts +9 -3
- package/api/resources/insurancePayments/resources/v1/client/Client.js +78 -50
- package/api/resources/insurancePayments/resources/v1/client/index.d.ts +1 -1
- package/api/resources/insurancePayments/resources/v1/client/index.js +4 -4
- package/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.d.ts +3 -9
- package/api/resources/insuranceRefunds/client/Client.d.ts +2 -10
- package/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +15 -6
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +188 -108
- package/api/resources/insuranceRefunds/resources/v1/client/index.d.ts +1 -1
- package/api/resources/insuranceRefunds/resources/v1/client/index.js +4 -4
- package/api/resources/insuranceRefunds/resources/v1/client/requests/GetMultiInsuranceRefundsRequest.d.ts +3 -9
- package/api/resources/medicationDispense/client/Client.d.ts +2 -10
- package/api/resources/medicationDispense/resources/v1/client/Client.d.ts +7 -2
- package/api/resources/medicationDispense/resources/v1/client/Client.js +39 -24
- package/api/resources/nonInsurancePayerPayments/client/Client.d.ts +2 -10
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.d.ts +15 -6
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +188 -108
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/index.d.ts +1 -1
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/index.js +4 -4
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/GetMultiNonInsurancePayerPaymentRequest.d.ts +3 -9
- package/api/resources/nonInsurancePayerRefunds/client/Client.d.ts +2 -10
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.d.ts +15 -6
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +188 -108
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/index.d.ts +1 -1
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/index.js +4 -4
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/GetMultiNonInsurancePayerRefundsRequest.d.ts +3 -9
- package/api/resources/nonInsurancePayers/client/Client.d.ts +2 -10
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +19 -8
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +252 -143
- package/api/resources/nonInsurancePayers/resources/v1/client/index.d.ts +1 -1
- package/api/resources/nonInsurancePayers/resources/v1/client/index.js +4 -4
- package/api/resources/nonInsurancePayers/resources/v1/client/requests/GetMultiNonInsurancePayersRequest.d.ts +2 -6
- package/api/resources/nonInsurancePayers/resources/v1/client/requests/GetNonInsurancePayersCategoriesRequest.d.ts +3 -9
- package/api/resources/organizationProviders/client/Client.d.ts +2 -10
- package/api/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +3 -1
- package/api/resources/organizationProviders/resources/v2/types/LicenseType.js +2 -0
- package/api/resources/organizationProviders/resources/v3/client/Client.d.ts +13 -5
- package/api/resources/organizationProviders/resources/v3/client/Client.js +142 -82
- package/api/resources/organizationProviders/resources/v3/client/index.d.ts +1 -1
- package/api/resources/organizationProviders/resources/v3/client/index.js +4 -4
- package/api/resources/organizationProviders/resources/v3/client/requests/GetAllOrganizationProvidersRequestV2.d.ts +8 -24
- package/api/resources/organizationServiceFacilities/client/Client.d.ts +2 -10
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.d.ts +28 -6
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +261 -100
- package/api/resources/organizationServiceFacilities/resources/v2/client/getByExternalId.d.ts +28 -0
- package/api/resources/{auth/resources/default/client/getMachineTokenForOrgId.js → organizationServiceFacilities/resources/v2/client/getByExternalId.js} +12 -1
- package/api/resources/organizationServiceFacilities/resources/v2/client/index.d.ts +2 -1
- package/api/resources/organizationServiceFacilities/resources/v2/client/index.js +6 -5
- package/api/resources/organizationServiceFacilities/resources/v2/client/requests/GetAllOrganizationServiceFacilitiesRequest.d.ts +8 -12
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +4 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +4 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +4 -0
- package/api/resources/patientAr/client/Client.d.ts +2 -10
- package/api/resources/patientAr/resources/v1/client/Client.d.ts +9 -3
- package/api/resources/patientAr/resources/v1/client/Client.js +78 -50
- package/api/resources/patientAr/resources/v1/client/index.d.ts +1 -1
- package/api/resources/patientAr/resources/v1/client/index.js +4 -4
- package/api/resources/patientAr/resources/v1/client/requests/GetInventoryRecordsRequest.d.ts +2 -6
- package/api/resources/patientPayments/client/Client.d.ts +2 -10
- package/api/resources/patientPayments/resources/v3/types/PatientPayment.d.ts +1 -1
- package/api/resources/patientPayments/resources/v4/client/Client.d.ts +15 -6
- package/api/resources/patientPayments/resources/v4/client/Client.js +188 -108
- package/api/resources/patientPayments/resources/v4/client/index.d.ts +1 -1
- package/api/resources/patientPayments/resources/v4/client/index.js +4 -4
- package/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +4 -12
- package/api/resources/patientRefunds/client/Client.d.ts +2 -10
- package/api/resources/patientRefunds/resources/v1/client/Client.d.ts +15 -6
- package/api/resources/patientRefunds/resources/v1/client/Client.js +188 -108
- package/api/resources/patientRefunds/resources/v1/client/index.d.ts +1 -1
- package/api/resources/patientRefunds/resources/v1/client/index.js +4 -4
- package/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +4 -12
- package/api/resources/payerPlanGroups/client/Client.d.ts +2 -10
- package/api/resources/payerPlanGroups/resources/v1/client/Client.d.ts +15 -6
- package/api/resources/payerPlanGroups/resources/v1/client/Client.js +192 -112
- package/api/resources/payerPlanGroups/resources/v1/client/index.d.ts +1 -1
- package/api/resources/payerPlanGroups/resources/v1/client/index.js +4 -4
- package/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.d.ts +3 -9
- package/api/resources/payers/client/Client.d.ts +2 -10
- package/api/resources/payers/resources/v3/client/Client.d.ts +9 -3
- package/api/resources/payers/resources/v3/client/Client.js +54 -34
- package/api/resources/payers/resources/v3/client/index.d.ts +1 -1
- package/api/resources/payers/resources/v3/client/index.js +4 -4
- package/api/resources/payers/resources/v3/client/requests/GetAllPayersRequest.d.ts +1 -3
- package/api/resources/payers/resources/v4/client/Client.d.ts +9 -3
- package/api/resources/payers/resources/v4/client/Client.js +54 -34
- package/api/resources/payers/resources/v4/client/index.d.ts +1 -1
- package/api/resources/payers/resources/v4/client/index.js +4 -4
- package/api/resources/payers/resources/v4/client/requests/GetAllPayersRequest.d.ts +1 -3
- package/api/resources/payers/resources/v4/types/Payer.d.ts +2 -0
- package/api/resources/preEncounter/client/Client.d.ts +2 -10
- package/api/resources/preEncounter/resources/appointments/client/Client.d.ts +2 -10
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +22 -11
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +254 -147
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/index.d.ts +1 -1
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/index.js +4 -4
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/AppointmentScanRequest.d.ts +1 -1
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +2 -6
- package/api/resources/preEncounter/resources/common/types/CanonicalServiceFacilityId.d.ts +11 -0
- package/api/resources/{encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.js → preEncounter/resources/common/types/CanonicalServiceFacilityId.js} +4 -0
- package/api/resources/preEncounter/resources/common/types/FilterQueryString.d.ts +1 -1
- package/api/resources/preEncounter/resources/common/types/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/common/types/index.js +1 -0
- package/api/resources/preEncounter/resources/coverages/client/Client.d.ts +2 -10
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +26 -12
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +296 -161
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +1 -1
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/index.js +4 -4
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiPaginatedRequest.d.ts +1 -3
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageScanRequest.d.ts +1 -1
- package/api/resources/preEncounter/resources/eligibilityChecks/client/Client.d.ts +2 -10
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +17 -7
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +160 -88
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.d.ts +1 -1
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.js +4 -4
- package/api/resources/preEncounter/resources/images/client/Client.d.ts +2 -10
- package/api/resources/preEncounter/resources/images/resources/v1/client/Client.d.ts +15 -6
- package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +175 -99
- package/api/resources/preEncounter/resources/images/resources/v1/client/index.d.ts +1 -1
- package/api/resources/preEncounter/resources/images/resources/v1/client/index.js +4 -4
- package/api/resources/preEncounter/resources/lists/client/Client.d.ts +2 -10
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.d.ts +9 -3
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +67 -44
- package/api/resources/preEncounter/resources/lists/resources/v1/client/index.d.ts +1 -1
- package/api/resources/preEncounter/resources/lists/resources/v1/client/index.js +4 -4
- package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +3 -9
- package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +2 -6
- package/api/resources/preEncounter/resources/notes/client/Client.d.ts +2 -10
- package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.d.ts +13 -5
- package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +100 -51
- package/api/resources/preEncounter/resources/patients/client/Client.d.ts +2 -10
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +32 -16
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +404 -231
- package/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +4 -4
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +2 -2
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientGetMultiRequest.d.ts +1 -3
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientScanRequest.d.ts +1 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequestPaginated.d.ts +1 -3
- package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/PatientServiceFacility.d.ts +10 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +1 -0
- package/api/resources/preEncounter/resources/tags/client/Client.d.ts +2 -10
- package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.d.ts +15 -6
- package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +127 -67
- package/api/resources/preEncounter/resources/tags/resources/v1/client/index.d.ts +1 -1
- package/api/resources/preEncounter/resources/tags/resources/v1/client/index.js +4 -4
- package/api/resources/serviceFacility/client/Client.d.ts +7 -2
- package/api/resources/serviceFacility/client/Client.js +27 -16
- package/api/resources/serviceLines/client/Client.d.ts +2 -10
- package/api/resources/serviceLines/resources/v2/client/Client.d.ts +17 -8
- package/api/resources/serviceLines/resources/v2/client/Client.js +188 -103
- package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +5 -5
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +1 -1
- package/api/resources/serviceLines/resources/v2/types/index.d.ts +0 -1
- package/api/resources/serviceLines/resources/v2/types/index.js +0 -1
- package/api/resources/superbills/client/Client.d.ts +2 -10
- package/api/resources/superbills/resources/v1/client/Client.d.ts +7 -2
- package/api/resources/superbills/resources/v1/client/Client.js +39 -24
- package/api/resources/superbills/resources/v1/client/index.d.ts +1 -1
- package/api/resources/superbills/resources/v1/client/index.js +4 -4
- package/api/resources/tasks/client/Client.d.ts +2 -10
- package/api/resources/tasks/resources/v3/client/Client.d.ts +15 -6
- package/api/resources/tasks/resources/v3/client/Client.js +168 -96
- package/api/resources/tasks/resources/v3/client/index.d.ts +1 -1
- package/api/resources/tasks/resources/v3/client/index.js +4 -4
- package/api/resources/tasks/resources/v3/client/requests/GetAllTasksRequest.d.ts +10 -30
- package/api/resources/writeOffs/client/Client.d.ts +2 -10
- package/api/resources/writeOffs/resources/v1/client/Client.d.ts +19 -9
- package/api/resources/writeOffs/resources/v1/client/Client.js +160 -90
- package/api/resources/writeOffs/resources/v1/client/index.d.ts +1 -1
- package/api/resources/writeOffs/resources/v1/client/index.js +4 -4
- package/api/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.d.ts +2 -2
- package/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +4 -12
- package/api/resources/x12/resources/v1/types/index.d.ts +0 -1
- package/api/resources/x12/resources/v1/types/index.js +0 -1
- package/core/auth/AuthProvider.d.ts +4 -0
- package/core/auth/AuthProvider.js +2 -0
- package/core/auth/AuthRequest.d.ts +9 -0
- package/core/auth/AuthRequest.js +2 -0
- package/core/auth/BasicAuth.js +3 -3
- package/core/base64.d.ts +2 -0
- package/core/base64.js +26 -0
- package/core/fetcher/APIResponse.d.ts +10 -0
- package/core/fetcher/BinaryResponse.d.ts +20 -0
- package/core/fetcher/BinaryResponse.js +17 -0
- package/core/fetcher/Fetcher.d.ts +4 -3
- package/core/fetcher/Fetcher.js +32 -12
- package/core/fetcher/Headers.d.ts +2 -0
- package/core/fetcher/Headers.js +84 -0
- package/core/fetcher/HttpResponsePromise.d.ts +58 -0
- package/core/fetcher/HttpResponsePromise.js +103 -0
- package/core/fetcher/RawResponse.d.ts +29 -0
- package/core/fetcher/RawResponse.js +44 -0
- package/core/fetcher/ResponseWithBody.d.ts +4 -0
- package/core/fetcher/ResponseWithBody.js +6 -0
- package/core/fetcher/createRequestUrl.d.ts +1 -1
- package/core/fetcher/createRequestUrl.js +3 -7
- package/core/fetcher/getErrorResponseBody.d.ts +1 -0
- package/core/fetcher/getErrorResponseBody.js +44 -0
- package/core/fetcher/getFetchFn.js +3 -3
- package/core/fetcher/getResponseBody.js +34 -32
- package/core/fetcher/index.d.ts +5 -1
- package/core/fetcher/index.js +7 -1
- package/core/fetcher/requestWithRetries.js +44 -8
- package/core/form-data-utils/FormDataWrapper.d.ts +4 -0
- package/core/form-data-utils/FormDataWrapper.js +58 -13
- package/core/form-data-utils/encodeAsFormParameter.d.ts +1 -0
- package/core/form-data-utils/encodeAsFormParameter.js +12 -0
- package/core/form-data-utils/index.d.ts +1 -0
- package/core/form-data-utils/index.js +3 -0
- package/core/headers.d.ts +3 -0
- package/core/headers.js +29 -0
- package/core/index.d.ts +2 -0
- package/core/index.js +3 -1
- package/core/runtime/runtime.js +0 -1
- package/core/schemas/builders/lazy/index.d.ts +1 -1
- package/core/schemas/builders/literals/index.d.ts +1 -1
- package/core/schemas/builders/literals/index.js +3 -3
- package/core/schemas/builders/object/index.d.ts +2 -2
- package/core/schemas/builders/object/object.d.ts +1 -1
- package/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +1 -1
- package/core/schemas/builders/object/types.d.ts +1 -1
- package/core/schemas/builders/schema-utils/index.d.ts +1 -1
- package/core/schemas/builders/undiscriminated-union/types.d.ts +1 -1
- package/core/schemas/builders/union/index.d.ts +1 -1
- package/core/schemas/builders/union/types.d.ts +1 -1
- package/core/schemas/builders/union/union.d.ts +1 -1
- package/core/schemas/utils/maybeSkipValidation.js +1 -1
- package/core/url/index.d.ts +2 -0
- package/core/url/index.js +7 -0
- package/core/url/join.d.ts +1 -0
- package/core/url/join.js +69 -0
- package/core/url/qs.d.ts +6 -0
- package/core/url/qs.js +64 -0
- package/dist/Client.d.ts +5 -1
- package/dist/Client.js +10 -4
- package/dist/api/resources/auth/client/Client.d.ts +2 -10
- package/dist/api/resources/auth/resources/default/client/Client.d.ts +7 -14
- package/dist/api/resources/auth/resources/default/client/Client.js +39 -68
- package/dist/api/resources/auth/resources/default/client/index.d.ts +1 -2
- package/dist/api/resources/auth/resources/default/client/index.js +5 -6
- package/dist/api/resources/auth/resources/default/client/requests/index.d.ts +0 -1
- package/dist/api/resources/billingNotes/client/Client.d.ts +2 -10
- package/dist/api/resources/billingNotes/resources/v2/client/Client.d.ts +13 -5
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +100 -54
- package/dist/api/resources/billingNotes/resources/v2/client/index.d.ts +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/index.js +4 -4
- package/dist/api/resources/billingNotes/resources/v2/client/requests/StandaloneBillingNoteCreate.d.ts +2 -1
- package/dist/api/resources/billingNotes/resources/v2/types/BillingNote.d.ts +1 -1
- package/dist/api/resources/chargeCapture/client/Client.d.ts +2 -10
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +17 -7
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +208 -116
- package/dist/api/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/chargeCapture/resources/v1/client/index.js +4 -4
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +37 -111
- package/dist/api/resources/chargeCaptureBundles/client/Client.d.ts +2 -10
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +13 -5
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +115 -65
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/index.js +4 -4
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureClaimCreationsRequest.d.ts +21 -63
- package/dist/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +2 -2
- package/dist/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.d.ts +2 -2
- package/dist/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +4 -4
- package/dist/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreateOptional.d.ts +4 -4
- package/dist/api/resources/claims/types/Claim.d.ts +5 -5
- package/dist/api/resources/contracts/client/Client.d.ts +2 -10
- package/dist/api/resources/contracts/resources/v2/client/Client.d.ts +30 -7
- package/dist/api/resources/contracts/resources/v2/client/Client.js +179 -93
- package/dist/api/resources/contracts/resources/v2/client/index.d.ts +1 -1
- package/dist/api/resources/contracts/resources/v2/client/index.js +4 -4
- package/dist/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +15 -1
- package/dist/api/resources/contracts/resources/v2/client/requests/GetMultiContractsRequest.d.ts +5 -15
- package/dist/api/resources/credentialing/client/Client.d.ts +2 -10
- package/dist/api/resources/credentialing/resources/v2/client/Client.d.ts +25 -11
- package/dist/api/resources/credentialing/resources/v2/client/Client.js +374 -211
- package/dist/api/resources/credentialing/resources/v2/client/index.d.ts +1 -1
- package/dist/api/resources/credentialing/resources/v2/client/index.js +4 -4
- package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllFacilityCredentialingSpansRequest.d.ts +4 -12
- package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +5 -15
- package/dist/api/resources/customSchemas/client/Client.d.ts +2 -10
- package/dist/api/resources/customSchemas/resources/v1/client/Client.d.ts +13 -5
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +154 -89
- package/dist/api/resources/customSchemas/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/customSchemas/resources/v1/client/index.js +4 -4
- package/dist/api/resources/diagnoses/client/Client.d.ts +13 -6
- package/dist/api/resources/diagnoses/client/Client.js +101 -56
- package/dist/api/resources/diagnoses/client/index.d.ts +1 -1
- package/dist/api/resources/diagnoses/client/index.js +4 -4
- package/dist/api/resources/diagnoses/types/Diagnosis.d.ts +2 -2
- package/dist/api/resources/eligibility/client/Client.d.ts +2 -10
- package/dist/api/resources/eligibility/resources/v2/client/Client.d.ts +11 -4
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +102 -52
- package/dist/api/resources/encounterAttachments/client/Client.d.ts +2 -10
- package/dist/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +11 -4
- package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +74 -37
- package/dist/api/resources/encounterAttachments/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/encounterAttachments/resources/v1/client/index.js +4 -4
- package/dist/api/resources/encounterProviders/client/Client.d.ts +2 -10
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.d.ts +29 -13
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +449 -238
- package/dist/api/resources/encounters/client/Client.d.ts +2 -10
- package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +50 -135
- package/dist/api/resources/encounters/resources/v4/client/Client.js +207 -390
- package/dist/api/resources/encounters/resources/v4/client/index.d.ts +1 -4
- package/dist/api/resources/encounters/resources/v4/client/index.js +5 -8
- package/dist/api/resources/encounters/resources/v4/client/requests/GetAllEncountersRequest.d.ts +14 -40
- package/dist/api/resources/encounters/resources/v4/types/ClinicalNoteCategory.d.ts +1 -1
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +12 -12
- package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +12 -12
- package/dist/api/resources/encounters/resources/v4/types/EncounterSubmissionExpectation.d.ts +2 -3
- package/dist/api/resources/encountersUniversal/types/index.d.ts +0 -3
- package/dist/api/resources/encountersUniversal/types/index.js +0 -3
- package/dist/api/resources/expectedNetworkStatus/client/Client.d.ts +2 -10
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +7 -2
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +27 -16
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/index.js +4 -4
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +9 -3
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +79 -46
- package/dist/api/resources/exports/client/Client.d.ts +2 -10
- package/dist/api/resources/exports/resources/v3/client/Client.d.ts +7 -2
- package/dist/api/resources/exports/resources/v3/client/Client.js +39 -27
- package/dist/api/resources/exports/resources/v3/client/index.d.ts +1 -1
- package/dist/api/resources/exports/resources/v3/client/index.js +4 -4
- package/dist/api/resources/exports/resources/v3/types/GetExportsResponse.d.ts +2 -2
- package/dist/api/resources/externalPaymentAccountConfig/client/Client.d.ts +2 -10
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.d.ts +7 -2
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +28 -20
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/index.js +4 -4
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/requests/GetExternalPaymentAccountConfigsRequest.d.ts +1 -3
- package/dist/api/resources/feeSchedules/client/Client.d.ts +2 -10
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.d.ts +29 -13
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +381 -211
- package/dist/api/resources/feeSchedules/resources/v3/client/index.d.ts +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/index.js +4 -4
- package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetMultiRequest.d.ts +1 -3
- package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts +2 -6
- package/dist/api/resources/guarantor/client/Client.d.ts +2 -10
- package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +11 -4
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +91 -50
- package/dist/api/resources/guarantor/resources/v1/types/Guarantor.d.ts +1 -1
- package/dist/api/resources/healthCareCodeInformation/client/Client.d.ts +2 -10
- package/dist/api/resources/healthCareCodeInformation/resources/v1/client/Client.d.ts +9 -3
- package/dist/api/resources/healthCareCodeInformation/resources/v1/client/Client.js +78 -47
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.d.ts +433 -40
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.js +95 -1
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.d.ts +12 -1
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.d.ts +0 -52
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.d.ts +14 -1
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceCode.d.ts +3 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformation.d.ts +6 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.d.ts +24 -5
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.js +5 -1
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformation.d.ts +6 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformation.d.ts +6 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.d.ts +12 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +0 -16
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/index.js +0 -16
- package/dist/api/resources/importInvoice/client/Client.d.ts +2 -10
- package/dist/api/resources/importInvoice/resources/v1/client/Client.d.ts +13 -5
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +142 -82
- package/dist/api/resources/importInvoice/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/importInvoice/resources/v1/client/index.js +4 -4
- package/dist/api/resources/importInvoice/resources/v1/client/requests/SearchImportedInvoicesRequest.d.ts +7 -21
- package/dist/api/resources/individual/types/Patient.d.ts +1 -1
- package/dist/api/resources/insuranceAdjudications/client/Client.d.ts +2 -10
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +11 -4
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +86 -47
- package/dist/api/resources/insurancePayments/client/Client.d.ts +2 -10
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.d.ts +9 -3
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +78 -50
- package/dist/api/resources/insurancePayments/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/insurancePayments/resources/v1/client/index.js +4 -4
- package/dist/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.d.ts +3 -9
- package/dist/api/resources/insuranceRefunds/client/Client.d.ts +2 -10
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +15 -6
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +188 -108
- package/dist/api/resources/insuranceRefunds/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/insuranceRefunds/resources/v1/client/index.js +4 -4
- package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/GetMultiInsuranceRefundsRequest.d.ts +3 -9
- package/dist/api/resources/medicationDispense/client/Client.d.ts +2 -10
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.d.ts +7 -2
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +39 -24
- package/dist/api/resources/nonInsurancePayerPayments/client/Client.d.ts +2 -10
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.d.ts +15 -6
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +188 -108
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/index.js +4 -4
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/GetMultiNonInsurancePayerPaymentRequest.d.ts +3 -9
- package/dist/api/resources/nonInsurancePayerRefunds/client/Client.d.ts +2 -10
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.d.ts +15 -6
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +188 -108
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/index.js +4 -4
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/GetMultiNonInsurancePayerRefundsRequest.d.ts +3 -9
- package/dist/api/resources/nonInsurancePayers/client/Client.d.ts +2 -10
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +19 -8
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +252 -143
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/index.js +4 -4
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/requests/GetMultiNonInsurancePayersRequest.d.ts +2 -6
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/requests/GetNonInsurancePayersCategoriesRequest.d.ts +3 -9
- package/dist/api/resources/organizationProviders/client/Client.d.ts +2 -10
- package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +3 -1
- package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.js +2 -0
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.d.ts +13 -5
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +142 -82
- package/dist/api/resources/organizationProviders/resources/v3/client/index.d.ts +1 -1
- package/dist/api/resources/organizationProviders/resources/v3/client/index.js +4 -4
- package/dist/api/resources/organizationProviders/resources/v3/client/requests/GetAllOrganizationProvidersRequestV2.d.ts +8 -24
- package/dist/api/resources/organizationServiceFacilities/client/Client.d.ts +2 -10
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.d.ts +28 -6
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +261 -100
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/getByExternalId.d.ts +28 -0
- package/dist/api/resources/{auth/resources/default/client/getMachineTokenForOrgId.js → organizationServiceFacilities/resources/v2/client/getByExternalId.js} +12 -1
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/index.d.ts +2 -1
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/index.js +6 -5
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/requests/GetAllOrganizationServiceFacilitiesRequest.d.ts +8 -12
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +4 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +4 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +4 -0
- package/dist/api/resources/patientAr/client/Client.d.ts +2 -10
- package/dist/api/resources/patientAr/resources/v1/client/Client.d.ts +9 -3
- package/dist/api/resources/patientAr/resources/v1/client/Client.js +78 -50
- package/dist/api/resources/patientAr/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/patientAr/resources/v1/client/index.js +4 -4
- package/dist/api/resources/patientAr/resources/v1/client/requests/GetInventoryRecordsRequest.d.ts +2 -6
- package/dist/api/resources/patientPayments/client/Client.d.ts +2 -10
- package/dist/api/resources/patientPayments/resources/v3/types/PatientPayment.d.ts +1 -1
- package/dist/api/resources/patientPayments/resources/v4/client/Client.d.ts +15 -6
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +188 -108
- package/dist/api/resources/patientPayments/resources/v4/client/index.d.ts +1 -1
- package/dist/api/resources/patientPayments/resources/v4/client/index.js +4 -4
- package/dist/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +4 -12
- package/dist/api/resources/patientRefunds/client/Client.d.ts +2 -10
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.d.ts +15 -6
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +188 -108
- package/dist/api/resources/patientRefunds/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/patientRefunds/resources/v1/client/index.js +4 -4
- package/dist/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +4 -12
- package/dist/api/resources/payerPlanGroups/client/Client.d.ts +2 -10
- package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.d.ts +15 -6
- package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +192 -112
- package/dist/api/resources/payerPlanGroups/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/payerPlanGroups/resources/v1/client/index.js +4 -4
- package/dist/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.d.ts +3 -9
- package/dist/api/resources/payers/client/Client.d.ts +2 -10
- package/dist/api/resources/payers/resources/v3/client/Client.d.ts +9 -3
- package/dist/api/resources/payers/resources/v3/client/Client.js +54 -34
- package/dist/api/resources/payers/resources/v3/client/index.d.ts +1 -1
- package/dist/api/resources/payers/resources/v3/client/index.js +4 -4
- package/dist/api/resources/payers/resources/v3/client/requests/GetAllPayersRequest.d.ts +1 -3
- package/dist/api/resources/payers/resources/v4/client/Client.d.ts +9 -3
- package/dist/api/resources/payers/resources/v4/client/Client.js +54 -34
- package/dist/api/resources/payers/resources/v4/client/index.d.ts +1 -1
- package/dist/api/resources/payers/resources/v4/client/index.js +4 -4
- package/dist/api/resources/payers/resources/v4/client/requests/GetAllPayersRequest.d.ts +1 -3
- package/dist/api/resources/payers/resources/v4/types/Payer.d.ts +2 -0
- package/dist/api/resources/preEncounter/client/Client.d.ts +2 -10
- package/dist/api/resources/preEncounter/resources/appointments/client/Client.d.ts +2 -10
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +22 -11
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +254 -147
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/index.js +4 -4
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/AppointmentScanRequest.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +2 -6
- package/dist/api/resources/preEncounter/resources/common/types/CanonicalServiceFacilityId.d.ts +11 -0
- package/{api/resources/encountersUniversal/types/UniversalEncounterUpdate.js → dist/api/resources/preEncounter/resources/common/types/CanonicalServiceFacilityId.js} +4 -0
- package/dist/api/resources/preEncounter/resources/common/types/FilterQueryString.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/common/types/index.js +1 -0
- package/dist/api/resources/preEncounter/resources/coverages/client/Client.d.ts +2 -10
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +26 -12
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +296 -161
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/index.js +4 -4
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiPaginatedRequest.d.ts +1 -3
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageScanRequest.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/client/Client.d.ts +2 -10
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +17 -7
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +160 -88
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.js +4 -4
- package/dist/api/resources/preEncounter/resources/images/client/Client.d.ts +2 -10
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.d.ts +15 -6
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +175 -99
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/index.js +4 -4
- package/dist/api/resources/preEncounter/resources/lists/client/Client.d.ts +2 -10
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.d.ts +9 -3
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +67 -44
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/index.js +4 -4
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +3 -9
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +2 -6
- package/dist/api/resources/preEncounter/resources/notes/client/Client.d.ts +2 -10
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.d.ts +13 -5
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +100 -51
- package/dist/api/resources/preEncounter/resources/patients/client/Client.d.ts +2 -10
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +32 -16
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +404 -231
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +4 -4
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +2 -2
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientGetMultiRequest.d.ts +1 -3
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientScanRequest.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequestPaginated.d.ts +1 -3
- 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/PatientServiceFacility.d.ts +10 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +1 -0
- package/dist/api/resources/preEncounter/resources/tags/client/Client.d.ts +2 -10
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.d.ts +15 -6
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +127 -67
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/index.js +4 -4
- package/dist/api/resources/serviceFacility/client/Client.d.ts +7 -2
- package/dist/api/resources/serviceFacility/client/Client.js +27 -16
- package/dist/api/resources/serviceLines/client/Client.d.ts +2 -10
- package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +17 -8
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +188 -103
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +5 -5
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +1 -1
- package/dist/api/resources/serviceLines/resources/v2/types/index.d.ts +0 -1
- package/dist/api/resources/serviceLines/resources/v2/types/index.js +0 -1
- package/dist/api/resources/superbills/client/Client.d.ts +2 -10
- package/dist/api/resources/superbills/resources/v1/client/Client.d.ts +7 -2
- package/dist/api/resources/superbills/resources/v1/client/Client.js +39 -24
- package/dist/api/resources/superbills/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/superbills/resources/v1/client/index.js +4 -4
- package/dist/api/resources/tasks/client/Client.d.ts +2 -10
- package/dist/api/resources/tasks/resources/v3/client/Client.d.ts +15 -6
- package/dist/api/resources/tasks/resources/v3/client/Client.js +168 -96
- package/dist/api/resources/tasks/resources/v3/client/index.d.ts +1 -1
- package/dist/api/resources/tasks/resources/v3/client/index.js +4 -4
- package/dist/api/resources/tasks/resources/v3/client/requests/GetAllTasksRequest.d.ts +10 -30
- package/dist/api/resources/writeOffs/client/Client.d.ts +2 -10
- package/dist/api/resources/writeOffs/resources/v1/client/Client.d.ts +19 -9
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +160 -90
- package/dist/api/resources/writeOffs/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/writeOffs/resources/v1/client/index.js +4 -4
- package/dist/api/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.d.ts +2 -2
- package/dist/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +4 -12
- package/dist/api/resources/x12/resources/v1/types/index.d.ts +0 -1
- package/dist/api/resources/x12/resources/v1/types/index.js +0 -1
- package/dist/core/auth/AuthProvider.d.ts +4 -0
- package/dist/core/auth/AuthProvider.js +2 -0
- package/dist/core/auth/AuthRequest.d.ts +9 -0
- package/dist/core/auth/AuthRequest.js +2 -0
- package/dist/core/auth/BasicAuth.js +3 -3
- package/dist/core/base64.d.ts +2 -0
- package/dist/core/base64.js +26 -0
- package/dist/core/fetcher/APIResponse.d.ts +10 -0
- package/dist/core/fetcher/BinaryResponse.d.ts +20 -0
- package/dist/core/fetcher/BinaryResponse.js +17 -0
- package/dist/core/fetcher/Fetcher.d.ts +4 -3
- package/dist/core/fetcher/Fetcher.js +32 -12
- package/dist/core/fetcher/Headers.d.ts +2 -0
- package/dist/core/fetcher/Headers.js +84 -0
- package/dist/core/fetcher/HttpResponsePromise.d.ts +58 -0
- package/dist/core/fetcher/HttpResponsePromise.js +103 -0
- package/dist/core/fetcher/RawResponse.d.ts +29 -0
- package/dist/core/fetcher/RawResponse.js +44 -0
- package/dist/core/fetcher/ResponseWithBody.d.ts +4 -0
- package/dist/core/fetcher/ResponseWithBody.js +6 -0
- package/dist/core/fetcher/createRequestUrl.d.ts +1 -1
- package/dist/core/fetcher/createRequestUrl.js +3 -7
- package/dist/core/fetcher/getErrorResponseBody.d.ts +1 -0
- package/dist/core/fetcher/getErrorResponseBody.js +44 -0
- package/dist/core/fetcher/getFetchFn.js +3 -3
- package/dist/core/fetcher/getResponseBody.js +34 -32
- package/dist/core/fetcher/index.d.ts +5 -1
- package/dist/core/fetcher/index.js +7 -1
- package/dist/core/fetcher/requestWithRetries.js +44 -8
- package/dist/core/form-data-utils/FormDataWrapper.d.ts +4 -0
- package/dist/core/form-data-utils/FormDataWrapper.js +58 -13
- package/dist/core/form-data-utils/encodeAsFormParameter.d.ts +1 -0
- package/dist/core/form-data-utils/encodeAsFormParameter.js +12 -0
- package/dist/core/form-data-utils/index.d.ts +1 -0
- package/dist/core/form-data-utils/index.js +3 -0
- package/dist/core/headers.d.ts +3 -0
- package/dist/core/headers.js +29 -0
- package/dist/core/index.d.ts +2 -0
- package/dist/core/index.js +3 -1
- package/dist/core/runtime/runtime.js +0 -1
- package/dist/core/schemas/builders/lazy/index.d.ts +1 -1
- package/dist/core/schemas/builders/literals/index.d.ts +1 -1
- package/dist/core/schemas/builders/literals/index.js +3 -3
- package/dist/core/schemas/builders/object/index.d.ts +2 -2
- package/dist/core/schemas/builders/object/object.d.ts +1 -1
- package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +1 -1
- package/dist/core/schemas/builders/object/types.d.ts +1 -1
- package/dist/core/schemas/builders/schema-utils/index.d.ts +1 -1
- package/dist/core/schemas/builders/undiscriminated-union/types.d.ts +1 -1
- package/dist/core/schemas/builders/union/index.d.ts +1 -1
- package/dist/core/schemas/builders/union/types.d.ts +1 -1
- package/dist/core/schemas/builders/union/union.d.ts +1 -1
- package/dist/core/schemas/utils/maybeSkipValidation.js +1 -1
- package/dist/core/url/index.d.ts +2 -0
- package/dist/core/url/index.js +7 -0
- package/dist/core/url/join.d.ts +1 -0
- package/dist/core/url/join.js +69 -0
- package/dist/core/url/qs.d.ts +6 -0
- package/dist/core/url/qs.js +64 -0
- package/dist/errors/CandidApiError.d.ts +4 -1
- package/dist/errors/CandidApiError.js +4 -7
- package/dist/index.d.ts +2 -2
- package/dist/index.js +5 -5
- package/dist/serialization/resources/auth/resources/default/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/auth/resources/default/client/requests/index.js +1 -3
- package/dist/serialization/resources/encounters/resources/v4/client/index.d.ts +0 -3
- package/dist/serialization/resources/encounters/resources/v4/client/index.js +1 -4
- package/dist/serialization/resources/encountersUniversal/types/index.d.ts +0 -3
- package/dist/serialization/resources/encountersUniversal/types/index.js +0 -3
- package/dist/serialization/resources/guarantor/resources/v1/types/Guarantor.d.ts +1 -1
- package/dist/serialization/resources/guarantor/resources/v1/types/Guarantor.js +1 -1
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.d.ts +1 -1
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.js +95 -1
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.d.ts +2 -2
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.js +2 -2
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.d.ts +0 -12
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.js +1 -14
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.d.ts +2 -2
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.js +2 -2
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.d.ts +1 -1
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.js +19 -1
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +0 -16
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/index.js +0 -16
- package/dist/serialization/resources/individual/types/Patient.d.ts +1 -1
- package/dist/serialization/resources/individual/types/Patient.js +1 -1
- package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
- package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +2 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/getByExternalId.d.ts +15 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/getByExternalId.js +71 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/index.d.ts +1 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/index.js +2 -1
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +3 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.js +3 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +3 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.js +3 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +3 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.js +3 -0
- package/dist/serialization/resources/payers/resources/v4/types/Payer.d.ts +1 -0
- package/dist/serialization/resources/payers/resources/v4/types/Payer.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalServiceFacilityId.d.ts +10 -0
- package/dist/serialization/resources/{x12/resources/v1/types/TypeOfBillCompositeUpdate.js → preEncounter/resources/common/types/CanonicalServiceFacilityId.js} +4 -11
- package/dist/serialization/resources/preEncounter/resources/common/types/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/index.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/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/PatientServiceFacility.d.ts +13 -0
- package/{serialization/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.js → dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/PatientServiceFacility.js} +5 -7
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/index.d.ts +0 -1
- package/dist/serialization/resources/serviceLines/resources/v2/types/index.js +0 -1
- package/dist/serialization/resources/x12/resources/v1/types/index.d.ts +0 -1
- package/dist/serialization/resources/x12/resources/v1/types/index.js +0 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/errors/CandidApiError.d.ts +4 -1
- package/errors/CandidApiError.js +4 -7
- package/index.d.ts +2 -2
- package/index.js +5 -5
- package/jest.config.mjs +37 -3
- package/package.json +18 -12
- package/reference.md +125 -335
- package/scripts/rename-to-esm-files.js +10 -2
- package/serialization/resources/auth/resources/default/client/requests/index.d.ts +0 -1
- package/serialization/resources/auth/resources/default/client/requests/index.js +1 -3
- package/serialization/resources/encounters/resources/v4/client/index.d.ts +0 -3
- package/serialization/resources/encounters/resources/v4/client/index.js +1 -4
- package/serialization/resources/encountersUniversal/types/index.d.ts +0 -3
- package/serialization/resources/encountersUniversal/types/index.js +0 -3
- package/serialization/resources/guarantor/resources/v1/types/Guarantor.d.ts +1 -1
- package/serialization/resources/guarantor/resources/v1/types/Guarantor.js +1 -1
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.d.ts +1 -1
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.js +95 -1
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.d.ts +2 -2
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.js +2 -2
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.d.ts +0 -12
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.js +1 -14
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.d.ts +2 -2
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.js +2 -2
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.d.ts +1 -1
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.js +19 -1
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +0 -16
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/index.js +0 -16
- package/serialization/resources/individual/types/Patient.d.ts +1 -1
- package/serialization/resources/individual/types/Patient.js +1 -1
- package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
- package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +2 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/client/getByExternalId.d.ts +15 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/client/getByExternalId.js +71 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/client/index.d.ts +1 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/client/index.js +2 -1
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +3 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.js +3 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +3 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.js +3 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +3 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.js +3 -0
- package/serialization/resources/payers/resources/v4/types/Payer.d.ts +1 -0
- package/serialization/resources/payers/resources/v4/types/Payer.js +1 -0
- package/serialization/resources/preEncounter/resources/common/types/CanonicalServiceFacilityId.d.ts +10 -0
- package/serialization/resources/{x12/resources/v1/types/TypeOfBillCompositeUpdate.js → preEncounter/resources/common/types/CanonicalServiceFacilityId.js} +4 -11
- package/serialization/resources/preEncounter/resources/common/types/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/common/types/index.js +1 -0
- package/serialization/resources/preEncounter/resources/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/PatientServiceFacility.d.ts +13 -0
- package/{dist/serialization/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.js → serialization/resources/preEncounter/resources/patients/resources/v1/types/PatientServiceFacility.js} +5 -7
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/index.d.ts +0 -1
- package/serialization/resources/serviceLines/resources/v2/types/index.js +0 -1
- package/serialization/resources/x12/resources/v1/types/index.d.ts +0 -1
- package/serialization/resources/x12/resources/v1/types/index.js +0 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/auth/resources/default/client/getMachineTokenForOrgId.d.ts +0 -22
- package/api/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.d.ts +0 -21
- package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +0 -70
- package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +0 -145
- package/api/resources/encounters/resources/v4/client/createUniversal.d.ts +0 -94
- package/api/resources/encounters/resources/v4/client/createUniversal.js +0 -189
- package/api/resources/encounters/resources/v4/client/updateUniversal.d.ts +0 -70
- package/api/resources/encounters/resources/v4/client/updateUniversal.js +0 -145
- package/api/resources/encountersUniversal/types/UniversalEncounterCreate.d.ts +0 -49
- package/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.d.ts +0 -47
- package/api/resources/encountersUniversal/types/UniversalEncounterUpdate.d.ts +0 -39
- package/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.d.ts +0 -11
- package/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.js +0 -5
- package/api/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.d.ts +0 -4230
- package/api/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.js +0 -1064
- package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.d.ts +0 -11
- package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.js +0 -5
- package/api/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.d.ts +0 -174
- package/api/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.js +0 -50
- package/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.d.ts +0 -11
- package/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.js +0 -5
- package/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.d.ts +0 -12
- package/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.js +0 -5
- package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.d.ts +0 -19
- package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.js +0 -5
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.d.ts +0 -12
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.js +0 -5
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.d.ts +0 -12
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.js +0 -5
- package/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.d.ts +0 -12
- package/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.js +0 -5
- package/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.d.ts +0 -12
- package/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.js +0 -5
- package/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.d.ts +0 -11
- package/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.js +0 -5
- package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.d.ts +0 -12
- package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.js +0 -5
- package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.d.ts +0 -12
- package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.js +0 -5
- package/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.d.ts +0 -11
- package/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.js +0 -5
- package/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.d.ts +0 -12
- package/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.js +0 -5
- package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +0 -11
- package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.js +0 -5
- package/api/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.d.ts +0 -30
- package/api/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.js +0 -5
- package/dist/api/resources/auth/resources/default/client/getMachineTokenForOrgId.d.ts +0 -22
- package/dist/api/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.d.ts +0 -21
- package/dist/api/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.js +0 -5
- package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +0 -70
- package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +0 -145
- package/dist/api/resources/encounters/resources/v4/client/createUniversal.d.ts +0 -94
- package/dist/api/resources/encounters/resources/v4/client/createUniversal.js +0 -189
- package/dist/api/resources/encounters/resources/v4/client/updateUniversal.d.ts +0 -70
- package/dist/api/resources/encounters/resources/v4/client/updateUniversal.js +0 -145
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreate.d.ts +0 -49
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreate.js +0 -5
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.d.ts +0 -47
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.js +0 -5
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterUpdate.d.ts +0 -39
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterUpdate.js +0 -5
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.d.ts +0 -11
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.js +0 -5
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.d.ts +0 -4230
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.js +0 -1064
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.d.ts +0 -11
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.js +0 -5
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.d.ts +0 -174
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.js +0 -50
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.d.ts +0 -11
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.js +0 -5
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.d.ts +0 -12
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.js +0 -5
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.d.ts +0 -19
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.js +0 -5
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.d.ts +0 -12
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.js +0 -5
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.d.ts +0 -12
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.js +0 -5
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.d.ts +0 -12
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.js +0 -5
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.d.ts +0 -12
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.js +0 -5
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.d.ts +0 -11
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.js +0 -5
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.d.ts +0 -12
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.js +0 -5
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.d.ts +0 -12
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.js +0 -5
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.d.ts +0 -11
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.js +0 -5
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.d.ts +0 -12
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.js +0 -5
- package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +0 -11
- package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.js +0 -5
- package/dist/api/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.d.ts +0 -30
- package/dist/api/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.js +0 -5
- package/dist/serialization/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.d.ts +0 -15
- package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +0 -49
- package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +0 -112
- package/dist/serialization/resources/encounters/resources/v4/client/createUniversal.d.ts +0 -69
- package/dist/serialization/resources/encounters/resources/v4/client/createUniversal.js +0 -136
- package/dist/serialization/resources/encounters/resources/v4/client/updateUniversal.d.ts +0 -50
- package/dist/serialization/resources/encounters/resources/v4/client/updateUniversal.js +0 -113
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreate.d.ts +0 -39
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreate.js +0 -72
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.d.ts +0 -37
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.js +0 -70
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdate.d.ts +0 -32
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdate.js +0 -65
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.d.ts +0 -16
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.js +0 -49
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.d.ts +0 -10
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.js +0 -1098
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.d.ts +0 -16
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.js +0 -49
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.d.ts +0 -10
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.js +0 -84
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.d.ts +0 -16
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.js +0 -49
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.d.ts +0 -18
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.js +0 -51
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.d.ts +0 -37
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.js +0 -68
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.d.ts +0 -18
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.js +0 -51
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.d.ts +0 -18
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.js +0 -51
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.d.ts +0 -18
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.js +0 -51
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.d.ts +0 -18
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.js +0 -51
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.d.ts +0 -16
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.js +0 -49
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.d.ts +0 -18
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.js +0 -51
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.d.ts +0 -18
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.js +0 -51
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.d.ts +0 -16
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.js +0 -49
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.d.ts +0 -18
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.js +0 -51
- package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +0 -15
- package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.js +0 -48
- package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.d.ts +0 -18
- package/serialization/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.d.ts +0 -15
- package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +0 -49
- package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +0 -112
- package/serialization/resources/encounters/resources/v4/client/createUniversal.d.ts +0 -69
- package/serialization/resources/encounters/resources/v4/client/createUniversal.js +0 -136
- package/serialization/resources/encounters/resources/v4/client/updateUniversal.d.ts +0 -50
- package/serialization/resources/encounters/resources/v4/client/updateUniversal.js +0 -113
- package/serialization/resources/encountersUniversal/types/UniversalEncounterCreate.d.ts +0 -39
- package/serialization/resources/encountersUniversal/types/UniversalEncounterCreate.js +0 -72
- package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.d.ts +0 -37
- package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.js +0 -70
- package/serialization/resources/encountersUniversal/types/UniversalEncounterUpdate.d.ts +0 -32
- package/serialization/resources/encountersUniversal/types/UniversalEncounterUpdate.js +0 -65
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.d.ts +0 -16
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.js +0 -49
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.d.ts +0 -10
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.js +0 -1098
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.d.ts +0 -16
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.js +0 -49
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.d.ts +0 -10
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.js +0 -84
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.d.ts +0 -16
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.js +0 -49
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.d.ts +0 -18
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.js +0 -51
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.d.ts +0 -37
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.js +0 -68
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.d.ts +0 -18
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.js +0 -51
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.d.ts +0 -18
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.js +0 -51
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.d.ts +0 -18
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.js +0 -51
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.d.ts +0 -18
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.js +0 -51
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.d.ts +0 -16
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.js +0 -49
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.d.ts +0 -18
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.js +0 -51
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.d.ts +0 -18
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.js +0 -51
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.d.ts +0 -16
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.js +0 -49
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.d.ts +0 -18
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.js +0 -51
- package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +0 -15
- package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.js +0 -48
- package/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.d.ts +0 -18
- /package/api/resources/{auth/resources/default/client/requests/AuthGetTokenForOrgRequest.js → preEncounter/resources/patients/resources/v1/types/PatientServiceFacility.js} +0 -0
- /package/{api/resources/encountersUniversal/types/UniversalEncounterCreate.js → dist/api/resources/preEncounter/resources/patients/resources/v1/types/PatientServiceFacility.js} +0 -0
|
@@ -44,16 +44,13 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
44
44
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
45
45
|
});
|
|
46
46
|
};
|
|
47
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
48
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
49
|
-
};
|
|
50
47
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
51
48
|
exports.V1 = void 0;
|
|
52
49
|
const environments = __importStar(require("../../../../../../../../environments"));
|
|
53
50
|
const core = __importStar(require("../../../../../../../../core"));
|
|
54
51
|
const CandidApi = __importStar(require("../../../../../../../index"));
|
|
52
|
+
const headers_1 = require("../../../../../../../../core/headers");
|
|
55
53
|
const serializers = __importStar(require("../../../../../../../../serialization/index"));
|
|
56
|
-
const url_join_1 = __importDefault(require("url-join"));
|
|
57
54
|
class V1 {
|
|
58
55
|
constructor(_options = {}) {
|
|
59
56
|
this._options = _options;
|
|
@@ -86,13 +83,18 @@ class V1 {
|
|
|
86
83
|
* })
|
|
87
84
|
*/
|
|
88
85
|
create(request, requestOptions) {
|
|
86
|
+
return core.HttpResponsePromise.fromPromise(this.__create(request, requestOptions));
|
|
87
|
+
}
|
|
88
|
+
__create(request, requestOptions) {
|
|
89
89
|
return __awaiter(this, void 0, void 0, function* () {
|
|
90
|
-
var _a, _b;
|
|
90
|
+
var _a, _b, _c;
|
|
91
|
+
let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
91
92
|
const _response = yield core.fetcher({
|
|
92
|
-
url:
|
|
93
|
+
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.CandidApiEnvironment.Production).preEncounter, "/coverages/v1"),
|
|
93
94
|
method: "POST",
|
|
94
|
-
headers:
|
|
95
|
+
headers: _headers,
|
|
95
96
|
contentType: "application/json",
|
|
97
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
96
98
|
requestType: "json",
|
|
97
99
|
body: serializers.preEncounter.coverages.v1.MutableCoverage.jsonOrThrow(request, {
|
|
98
100
|
unrecognizedObjectKeys: "strip",
|
|
@@ -103,18 +105,27 @@ class V1 {
|
|
|
103
105
|
});
|
|
104
106
|
if (_response.ok) {
|
|
105
107
|
return {
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
108
|
+
data: {
|
|
109
|
+
ok: true,
|
|
110
|
+
body: serializers.preEncounter.coverages.v1.Coverage.parseOrThrow(_response.body, {
|
|
111
|
+
unrecognizedObjectKeys: "passthrough",
|
|
112
|
+
allowUnrecognizedUnionMembers: true,
|
|
113
|
+
allowUnrecognizedEnumValues: true,
|
|
114
|
+
breadcrumbsPrefix: ["response"],
|
|
115
|
+
}),
|
|
116
|
+
headers: _response.headers,
|
|
117
|
+
rawResponse: _response.rawResponse,
|
|
118
|
+
},
|
|
119
|
+
rawResponse: _response.rawResponse,
|
|
113
120
|
};
|
|
114
121
|
}
|
|
115
122
|
return {
|
|
116
|
-
|
|
117
|
-
|
|
123
|
+
data: {
|
|
124
|
+
ok: false,
|
|
125
|
+
error: CandidApi.preEncounter.coverages.v1.create.Error._unknown(_response.error),
|
|
126
|
+
rawResponse: _response.rawResponse,
|
|
127
|
+
},
|
|
128
|
+
rawResponse: _response.rawResponse,
|
|
118
129
|
};
|
|
119
130
|
});
|
|
120
131
|
}
|
|
@@ -148,13 +159,18 @@ class V1 {
|
|
|
148
159
|
* })
|
|
149
160
|
*/
|
|
150
161
|
update(id, version, request, requestOptions) {
|
|
162
|
+
return core.HttpResponsePromise.fromPromise(this.__update(id, version, request, requestOptions));
|
|
163
|
+
}
|
|
164
|
+
__update(id, version, request, requestOptions) {
|
|
151
165
|
return __awaiter(this, void 0, void 0, function* () {
|
|
152
|
-
var _a, _b, _c;
|
|
166
|
+
var _a, _b, _c, _d;
|
|
167
|
+
let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
153
168
|
const _response = yield core.fetcher({
|
|
154
|
-
url:
|
|
169
|
+
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.CandidApiEnvironment.Production).preEncounter, `/coverages/v1/${encodeURIComponent(serializers.preEncounter.CoverageId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
|
|
155
170
|
method: "PUT",
|
|
156
|
-
headers:
|
|
171
|
+
headers: _headers,
|
|
157
172
|
contentType: "application/json",
|
|
173
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
158
174
|
requestType: "json",
|
|
159
175
|
body: serializers.preEncounter.coverages.v1.MutableCoverage.jsonOrThrow(request, {
|
|
160
176
|
unrecognizedObjectKeys: "strip",
|
|
@@ -165,33 +181,46 @@ class V1 {
|
|
|
165
181
|
});
|
|
166
182
|
if (_response.ok) {
|
|
167
183
|
return {
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
184
|
+
data: {
|
|
185
|
+
ok: true,
|
|
186
|
+
body: serializers.preEncounter.coverages.v1.Coverage.parseOrThrow(_response.body, {
|
|
187
|
+
unrecognizedObjectKeys: "passthrough",
|
|
188
|
+
allowUnrecognizedUnionMembers: true,
|
|
189
|
+
allowUnrecognizedEnumValues: true,
|
|
190
|
+
breadcrumbsPrefix: ["response"],
|
|
191
|
+
}),
|
|
192
|
+
headers: _response.headers,
|
|
193
|
+
rawResponse: _response.rawResponse,
|
|
194
|
+
},
|
|
195
|
+
rawResponse: _response.rawResponse,
|
|
175
196
|
};
|
|
176
197
|
}
|
|
177
198
|
if (_response.error.reason === "status-code") {
|
|
178
|
-
switch ((
|
|
199
|
+
switch ((_d = _response.error.body) === null || _d === void 0 ? void 0 : _d.errorName) {
|
|
179
200
|
case "NotFoundError":
|
|
180
201
|
case "VersionConflictError":
|
|
181
202
|
return {
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
203
|
+
data: {
|
|
204
|
+
ok: false,
|
|
205
|
+
error: serializers.preEncounter.coverages.v1.update.Error.parseOrThrow(_response.error.body, {
|
|
206
|
+
unrecognizedObjectKeys: "passthrough",
|
|
207
|
+
allowUnrecognizedUnionMembers: true,
|
|
208
|
+
allowUnrecognizedEnumValues: true,
|
|
209
|
+
breadcrumbsPrefix: ["response"],
|
|
210
|
+
}),
|
|
211
|
+
rawResponse: _response.rawResponse,
|
|
212
|
+
},
|
|
213
|
+
rawResponse: _response.rawResponse,
|
|
189
214
|
};
|
|
190
215
|
}
|
|
191
216
|
}
|
|
192
217
|
return {
|
|
193
|
-
|
|
194
|
-
|
|
218
|
+
data: {
|
|
219
|
+
ok: false,
|
|
220
|
+
error: CandidApi.preEncounter.coverages.v1.update.Error._unknown(_response.error),
|
|
221
|
+
rawResponse: _response.rawResponse,
|
|
222
|
+
},
|
|
223
|
+
rawResponse: _response.rawResponse,
|
|
195
224
|
};
|
|
196
225
|
});
|
|
197
226
|
}
|
|
@@ -204,9 +233,12 @@ class V1 {
|
|
|
204
233
|
* @example
|
|
205
234
|
* await client.preEncounter.coverages.v1.getMultiPaginated()
|
|
206
235
|
*/
|
|
207
|
-
getMultiPaginated() {
|
|
236
|
+
getMultiPaginated(request = {}, requestOptions) {
|
|
237
|
+
return core.HttpResponsePromise.fromPromise(this.__getMultiPaginated(request, requestOptions));
|
|
238
|
+
}
|
|
239
|
+
__getMultiPaginated() {
|
|
208
240
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
209
|
-
var _a, _b, _c;
|
|
241
|
+
var _a, _b, _c, _d;
|
|
210
242
|
const { patientId, payerPlanGroupId, pageToken, limit } = request;
|
|
211
243
|
const _queryParams = {};
|
|
212
244
|
if (patientId != null) {
|
|
@@ -221,45 +253,58 @@ class V1 {
|
|
|
221
253
|
if (limit != null) {
|
|
222
254
|
_queryParams["limit"] = limit.toString();
|
|
223
255
|
}
|
|
256
|
+
let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
224
257
|
const _response = yield core.fetcher({
|
|
225
|
-
url:
|
|
258
|
+
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.CandidApiEnvironment.Production).preEncounter, "/coverages/v1/get-multi-paginated"),
|
|
226
259
|
method: "GET",
|
|
227
|
-
headers:
|
|
228
|
-
|
|
229
|
-
queryParameters: _queryParams,
|
|
230
|
-
requestType: "json",
|
|
260
|
+
headers: _headers,
|
|
261
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
231
262
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
232
263
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
233
264
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
234
265
|
});
|
|
235
266
|
if (_response.ok) {
|
|
236
267
|
return {
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
268
|
+
data: {
|
|
269
|
+
ok: true,
|
|
270
|
+
body: serializers.preEncounter.coverages.v1.CoveragesPage.parseOrThrow(_response.body, {
|
|
271
|
+
unrecognizedObjectKeys: "passthrough",
|
|
272
|
+
allowUnrecognizedUnionMembers: true,
|
|
273
|
+
allowUnrecognizedEnumValues: true,
|
|
274
|
+
breadcrumbsPrefix: ["response"],
|
|
275
|
+
}),
|
|
276
|
+
headers: _response.headers,
|
|
277
|
+
rawResponse: _response.rawResponse,
|
|
278
|
+
},
|
|
279
|
+
rawResponse: _response.rawResponse,
|
|
244
280
|
};
|
|
245
281
|
}
|
|
246
282
|
if (_response.error.reason === "status-code") {
|
|
247
|
-
switch ((
|
|
283
|
+
switch ((_d = _response.error.body) === null || _d === void 0 ? void 0 : _d.errorName) {
|
|
248
284
|
case "BadRequestError":
|
|
249
285
|
return {
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
286
|
+
data: {
|
|
287
|
+
ok: false,
|
|
288
|
+
error: serializers.preEncounter.coverages.v1.getMultiPaginated.Error.parseOrThrow(_response.error
|
|
289
|
+
.body, {
|
|
290
|
+
unrecognizedObjectKeys: "passthrough",
|
|
291
|
+
allowUnrecognizedUnionMembers: true,
|
|
292
|
+
allowUnrecognizedEnumValues: true,
|
|
293
|
+
breadcrumbsPrefix: ["response"],
|
|
294
|
+
}),
|
|
295
|
+
rawResponse: _response.rawResponse,
|
|
296
|
+
},
|
|
297
|
+
rawResponse: _response.rawResponse,
|
|
257
298
|
};
|
|
258
299
|
}
|
|
259
300
|
}
|
|
260
301
|
return {
|
|
261
|
-
|
|
262
|
-
|
|
302
|
+
data: {
|
|
303
|
+
ok: false,
|
|
304
|
+
error: CandidApi.preEncounter.coverages.v1.getMultiPaginated.Error._unknown(_response.error),
|
|
305
|
+
rawResponse: _response.rawResponse,
|
|
306
|
+
},
|
|
307
|
+
rawResponse: _response.rawResponse,
|
|
263
308
|
};
|
|
264
309
|
});
|
|
265
310
|
}
|
|
@@ -273,32 +318,44 @@ class V1 {
|
|
|
273
318
|
* await client.preEncounter.coverages.v1.get(CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
|
|
274
319
|
*/
|
|
275
320
|
get(id, requestOptions) {
|
|
321
|
+
return core.HttpResponsePromise.fromPromise(this.__get(id, requestOptions));
|
|
322
|
+
}
|
|
323
|
+
__get(id, requestOptions) {
|
|
276
324
|
return __awaiter(this, void 0, void 0, function* () {
|
|
277
|
-
var _a, _b;
|
|
325
|
+
var _a, _b, _c;
|
|
326
|
+
let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
278
327
|
const _response = yield core.fetcher({
|
|
279
|
-
url:
|
|
328
|
+
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.CandidApiEnvironment.Production).preEncounter, `/coverages/v1/${encodeURIComponent(serializers.preEncounter.CoverageId.jsonOrThrow(id))}`),
|
|
280
329
|
method: "GET",
|
|
281
|
-
headers:
|
|
282
|
-
|
|
283
|
-
requestType: "json",
|
|
330
|
+
headers: _headers,
|
|
331
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
284
332
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
285
333
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
286
334
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
287
335
|
});
|
|
288
336
|
if (_response.ok) {
|
|
289
337
|
return {
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
338
|
+
data: {
|
|
339
|
+
ok: true,
|
|
340
|
+
body: serializers.preEncounter.coverages.v1.Coverage.parseOrThrow(_response.body, {
|
|
341
|
+
unrecognizedObjectKeys: "passthrough",
|
|
342
|
+
allowUnrecognizedUnionMembers: true,
|
|
343
|
+
allowUnrecognizedEnumValues: true,
|
|
344
|
+
breadcrumbsPrefix: ["response"],
|
|
345
|
+
}),
|
|
346
|
+
headers: _response.headers,
|
|
347
|
+
rawResponse: _response.rawResponse,
|
|
348
|
+
},
|
|
349
|
+
rawResponse: _response.rawResponse,
|
|
297
350
|
};
|
|
298
351
|
}
|
|
299
352
|
return {
|
|
300
|
-
|
|
301
|
-
|
|
353
|
+
data: {
|
|
354
|
+
ok: false,
|
|
355
|
+
error: CandidApi.preEncounter.coverages.v1.get.Error._unknown(_response.error),
|
|
356
|
+
rawResponse: _response.rawResponse,
|
|
357
|
+
},
|
|
358
|
+
rawResponse: _response.rawResponse,
|
|
302
359
|
};
|
|
303
360
|
});
|
|
304
361
|
}
|
|
@@ -312,46 +369,62 @@ class V1 {
|
|
|
312
369
|
* await client.preEncounter.coverages.v1.getHistory(CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
|
|
313
370
|
*/
|
|
314
371
|
getHistory(id, requestOptions) {
|
|
372
|
+
return core.HttpResponsePromise.fromPromise(this.__getHistory(id, requestOptions));
|
|
373
|
+
}
|
|
374
|
+
__getHistory(id, requestOptions) {
|
|
315
375
|
return __awaiter(this, void 0, void 0, function* () {
|
|
316
|
-
var _a, _b, _c;
|
|
376
|
+
var _a, _b, _c, _d;
|
|
377
|
+
let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
317
378
|
const _response = yield core.fetcher({
|
|
318
|
-
url:
|
|
379
|
+
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.CandidApiEnvironment.Production).preEncounter, `/coverages/v1/${encodeURIComponent(serializers.preEncounter.CoverageId.jsonOrThrow(id))}/history`),
|
|
319
380
|
method: "GET",
|
|
320
|
-
headers:
|
|
321
|
-
|
|
322
|
-
requestType: "json",
|
|
381
|
+
headers: _headers,
|
|
382
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
323
383
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
324
384
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
325
385
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
326
386
|
});
|
|
327
387
|
if (_response.ok) {
|
|
328
388
|
return {
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
389
|
+
data: {
|
|
390
|
+
ok: true,
|
|
391
|
+
body: serializers.preEncounter.coverages.v1.getHistory.Response.parseOrThrow(_response.body, {
|
|
392
|
+
unrecognizedObjectKeys: "passthrough",
|
|
393
|
+
allowUnrecognizedUnionMembers: true,
|
|
394
|
+
allowUnrecognizedEnumValues: true,
|
|
395
|
+
breadcrumbsPrefix: ["response"],
|
|
396
|
+
}),
|
|
397
|
+
headers: _response.headers,
|
|
398
|
+
rawResponse: _response.rawResponse,
|
|
399
|
+
},
|
|
400
|
+
rawResponse: _response.rawResponse,
|
|
336
401
|
};
|
|
337
402
|
}
|
|
338
403
|
if (_response.error.reason === "status-code") {
|
|
339
|
-
switch ((
|
|
404
|
+
switch ((_d = _response.error.body) === null || _d === void 0 ? void 0 : _d.errorName) {
|
|
340
405
|
case "NotFoundError":
|
|
341
406
|
return {
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
407
|
+
data: {
|
|
408
|
+
ok: false,
|
|
409
|
+
error: serializers.preEncounter.coverages.v1.getHistory.Error.parseOrThrow(_response.error.body, {
|
|
410
|
+
unrecognizedObjectKeys: "passthrough",
|
|
411
|
+
allowUnrecognizedUnionMembers: true,
|
|
412
|
+
allowUnrecognizedEnumValues: true,
|
|
413
|
+
breadcrumbsPrefix: ["response"],
|
|
414
|
+
}),
|
|
415
|
+
rawResponse: _response.rawResponse,
|
|
416
|
+
},
|
|
417
|
+
rawResponse: _response.rawResponse,
|
|
349
418
|
};
|
|
350
419
|
}
|
|
351
420
|
}
|
|
352
421
|
return {
|
|
353
|
-
|
|
354
|
-
|
|
422
|
+
data: {
|
|
423
|
+
ok: false,
|
|
424
|
+
error: CandidApi.preEncounter.coverages.v1.getHistory.Error._unknown(_response.error),
|
|
425
|
+
rawResponse: _response.rawResponse,
|
|
426
|
+
},
|
|
427
|
+
rawResponse: _response.rawResponse,
|
|
355
428
|
};
|
|
356
429
|
});
|
|
357
430
|
}
|
|
@@ -364,39 +437,50 @@ class V1 {
|
|
|
364
437
|
* @example
|
|
365
438
|
* await client.preEncounter.coverages.v1.getMulti()
|
|
366
439
|
*/
|
|
367
|
-
getMulti() {
|
|
440
|
+
getMulti(request = {}, requestOptions) {
|
|
441
|
+
return core.HttpResponsePromise.fromPromise(this.__getMulti(request, requestOptions));
|
|
442
|
+
}
|
|
443
|
+
__getMulti() {
|
|
368
444
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
369
|
-
var _a, _b;
|
|
445
|
+
var _a, _b, _c;
|
|
370
446
|
const { patientId } = request;
|
|
371
447
|
const _queryParams = {};
|
|
372
448
|
if (patientId != null) {
|
|
373
449
|
_queryParams["patient_id"] = patientId;
|
|
374
450
|
}
|
|
451
|
+
let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
375
452
|
const _response = yield core.fetcher({
|
|
376
|
-
url:
|
|
453
|
+
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.CandidApiEnvironment.Production).preEncounter, "/coverages/v1"),
|
|
377
454
|
method: "GET",
|
|
378
|
-
headers:
|
|
379
|
-
|
|
380
|
-
queryParameters: _queryParams,
|
|
381
|
-
requestType: "json",
|
|
455
|
+
headers: _headers,
|
|
456
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
382
457
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
383
458
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
384
459
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
385
460
|
});
|
|
386
461
|
if (_response.ok) {
|
|
387
462
|
return {
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
463
|
+
data: {
|
|
464
|
+
ok: true,
|
|
465
|
+
body: serializers.preEncounter.coverages.v1.getMulti.Response.parseOrThrow(_response.body, {
|
|
466
|
+
unrecognizedObjectKeys: "passthrough",
|
|
467
|
+
allowUnrecognizedUnionMembers: true,
|
|
468
|
+
allowUnrecognizedEnumValues: true,
|
|
469
|
+
breadcrumbsPrefix: ["response"],
|
|
470
|
+
}),
|
|
471
|
+
headers: _response.headers,
|
|
472
|
+
rawResponse: _response.rawResponse,
|
|
473
|
+
},
|
|
474
|
+
rawResponse: _response.rawResponse,
|
|
395
475
|
};
|
|
396
476
|
}
|
|
397
477
|
return {
|
|
398
|
-
|
|
399
|
-
|
|
478
|
+
data: {
|
|
479
|
+
ok: false,
|
|
480
|
+
error: CandidApi.preEncounter.coverages.v1.getMulti.Error._unknown(_response.error),
|
|
481
|
+
rawResponse: _response.rawResponse,
|
|
482
|
+
},
|
|
483
|
+
rawResponse: _response.rawResponse,
|
|
400
484
|
};
|
|
401
485
|
});
|
|
402
486
|
}
|
|
@@ -408,40 +492,51 @@ class V1 {
|
|
|
408
492
|
*
|
|
409
493
|
* @example
|
|
410
494
|
* await client.preEncounter.coverages.v1.scan({
|
|
411
|
-
* since: "2024-01-15T09:30:
|
|
495
|
+
* since: new Date("2024-01-15T09:30:00.000Z")
|
|
412
496
|
* })
|
|
413
497
|
*/
|
|
414
498
|
scan(request, requestOptions) {
|
|
499
|
+
return core.HttpResponsePromise.fromPromise(this.__scan(request, requestOptions));
|
|
500
|
+
}
|
|
501
|
+
__scan(request, requestOptions) {
|
|
415
502
|
return __awaiter(this, void 0, void 0, function* () {
|
|
416
|
-
var _a, _b;
|
|
503
|
+
var _a, _b, _c;
|
|
417
504
|
const { since } = request;
|
|
418
505
|
const _queryParams = {};
|
|
419
506
|
_queryParams["since"] = since.toISOString();
|
|
507
|
+
let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
420
508
|
const _response = yield core.fetcher({
|
|
421
|
-
url:
|
|
509
|
+
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.CandidApiEnvironment.Production).preEncounter, "/coverages/v1/updates/scan"),
|
|
422
510
|
method: "GET",
|
|
423
|
-
headers:
|
|
424
|
-
|
|
425
|
-
queryParameters: _queryParams,
|
|
426
|
-
requestType: "json",
|
|
511
|
+
headers: _headers,
|
|
512
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
427
513
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
428
514
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
429
515
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
430
516
|
});
|
|
431
517
|
if (_response.ok) {
|
|
432
518
|
return {
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
519
|
+
data: {
|
|
520
|
+
ok: true,
|
|
521
|
+
body: serializers.preEncounter.coverages.v1.scan.Response.parseOrThrow(_response.body, {
|
|
522
|
+
unrecognizedObjectKeys: "passthrough",
|
|
523
|
+
allowUnrecognizedUnionMembers: true,
|
|
524
|
+
allowUnrecognizedEnumValues: true,
|
|
525
|
+
breadcrumbsPrefix: ["response"],
|
|
526
|
+
}),
|
|
527
|
+
headers: _response.headers,
|
|
528
|
+
rawResponse: _response.rawResponse,
|
|
529
|
+
},
|
|
530
|
+
rawResponse: _response.rawResponse,
|
|
440
531
|
};
|
|
441
532
|
}
|
|
442
533
|
return {
|
|
443
|
-
|
|
444
|
-
|
|
534
|
+
data: {
|
|
535
|
+
ok: false,
|
|
536
|
+
error: CandidApi.preEncounter.coverages.v1.scan.Error._unknown(_response.error),
|
|
537
|
+
rawResponse: _response.rawResponse,
|
|
538
|
+
},
|
|
539
|
+
rawResponse: _response.rawResponse,
|
|
445
540
|
};
|
|
446
541
|
});
|
|
447
542
|
}
|
|
@@ -461,13 +556,18 @@ class V1 {
|
|
|
461
556
|
* })
|
|
462
557
|
*/
|
|
463
558
|
batchUpdatePpg(ppgId, request, requestOptions) {
|
|
559
|
+
return core.HttpResponsePromise.fromPromise(this.__batchUpdatePpg(ppgId, request, requestOptions));
|
|
560
|
+
}
|
|
561
|
+
__batchUpdatePpg(ppgId, request, requestOptions) {
|
|
464
562
|
return __awaiter(this, void 0, void 0, function* () {
|
|
465
|
-
var _a, _b;
|
|
563
|
+
var _a, _b, _c;
|
|
564
|
+
let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
466
565
|
const _response = yield core.fetcher({
|
|
467
|
-
url:
|
|
566
|
+
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.CandidApiEnvironment.Production).preEncounter, `/coverages/v1/batch-update-ppg/${encodeURIComponent(serializers.preEncounter.PayerPlanGroupId.jsonOrThrow(ppgId))}`),
|
|
468
567
|
method: "POST",
|
|
469
|
-
headers:
|
|
568
|
+
headers: _headers,
|
|
470
569
|
contentType: "application/json",
|
|
570
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
471
571
|
requestType: "json",
|
|
472
572
|
body: serializers.preEncounter.coverages.v1.PayerPlanGroupFields.jsonOrThrow(request, {
|
|
473
573
|
unrecognizedObjectKeys: "strip",
|
|
@@ -478,13 +578,22 @@ class V1 {
|
|
|
478
578
|
});
|
|
479
579
|
if (_response.ok) {
|
|
480
580
|
return {
|
|
481
|
-
|
|
482
|
-
|
|
581
|
+
data: {
|
|
582
|
+
ok: true,
|
|
583
|
+
body: undefined,
|
|
584
|
+
headers: _response.headers,
|
|
585
|
+
rawResponse: _response.rawResponse,
|
|
586
|
+
},
|
|
587
|
+
rawResponse: _response.rawResponse,
|
|
483
588
|
};
|
|
484
589
|
}
|
|
485
590
|
return {
|
|
486
|
-
|
|
487
|
-
|
|
591
|
+
data: {
|
|
592
|
+
ok: false,
|
|
593
|
+
error: CandidApi.preEncounter.coverages.v1.batchUpdatePpg.Error._unknown(_response.error),
|
|
594
|
+
rawResponse: _response.rawResponse,
|
|
595
|
+
},
|
|
596
|
+
rawResponse: _response.rawResponse,
|
|
488
597
|
};
|
|
489
598
|
});
|
|
490
599
|
}
|
|
@@ -503,13 +612,18 @@ class V1 {
|
|
|
503
612
|
* })
|
|
504
613
|
*/
|
|
505
614
|
checkEligibility(id, request, requestOptions) {
|
|
615
|
+
return core.HttpResponsePromise.fromPromise(this.__checkEligibility(id, request, requestOptions));
|
|
616
|
+
}
|
|
617
|
+
__checkEligibility(id, request, requestOptions) {
|
|
506
618
|
return __awaiter(this, void 0, void 0, function* () {
|
|
507
|
-
var _a, _b;
|
|
619
|
+
var _a, _b, _c;
|
|
620
|
+
let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
508
621
|
const _response = yield core.fetcher({
|
|
509
|
-
url:
|
|
622
|
+
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.CandidApiEnvironment.Production).preEncounter, `/coverages/v1/${encodeURIComponent(serializers.preEncounter.CoverageId.jsonOrThrow(id))}/eligibility`),
|
|
510
623
|
method: "POST",
|
|
511
|
-
headers:
|
|
624
|
+
headers: _headers,
|
|
512
625
|
contentType: "application/json",
|
|
626
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
513
627
|
requestType: "json",
|
|
514
628
|
body: serializers.preEncounter.coverages.v1.CheckEligibilityRequest.jsonOrThrow(request, {
|
|
515
629
|
unrecognizedObjectKeys: "strip",
|
|
@@ -520,18 +634,27 @@ class V1 {
|
|
|
520
634
|
});
|
|
521
635
|
if (_response.ok) {
|
|
522
636
|
return {
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
637
|
+
data: {
|
|
638
|
+
ok: true,
|
|
639
|
+
body: serializers.preEncounter.eligibilityChecks.v1.EligibilityCheckMetadata.parseOrThrow(_response.body, {
|
|
640
|
+
unrecognizedObjectKeys: "passthrough",
|
|
641
|
+
allowUnrecognizedUnionMembers: true,
|
|
642
|
+
allowUnrecognizedEnumValues: true,
|
|
643
|
+
breadcrumbsPrefix: ["response"],
|
|
644
|
+
}),
|
|
645
|
+
headers: _response.headers,
|
|
646
|
+
rawResponse: _response.rawResponse,
|
|
647
|
+
},
|
|
648
|
+
rawResponse: _response.rawResponse,
|
|
530
649
|
};
|
|
531
650
|
}
|
|
532
651
|
return {
|
|
533
|
-
|
|
534
|
-
|
|
652
|
+
data: {
|
|
653
|
+
ok: false,
|
|
654
|
+
error: CandidApi.preEncounter.coverages.v1.checkEligibility.Error._unknown(_response.error),
|
|
655
|
+
rawResponse: _response.rawResponse,
|
|
656
|
+
},
|
|
657
|
+
rawResponse: _response.rawResponse,
|
|
535
658
|
};
|
|
536
659
|
});
|
|
537
660
|
}
|
|
@@ -546,32 +669,44 @@ class V1 {
|
|
|
546
669
|
* await client.preEncounter.coverages.v1.getEligibility(CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), "check_id")
|
|
547
670
|
*/
|
|
548
671
|
getEligibility(id, checkId, requestOptions) {
|
|
672
|
+
return core.HttpResponsePromise.fromPromise(this.__getEligibility(id, checkId, requestOptions));
|
|
673
|
+
}
|
|
674
|
+
__getEligibility(id, checkId, requestOptions) {
|
|
549
675
|
return __awaiter(this, void 0, void 0, function* () {
|
|
550
|
-
var _a, _b;
|
|
676
|
+
var _a, _b, _c;
|
|
677
|
+
let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
551
678
|
const _response = yield core.fetcher({
|
|
552
|
-
url:
|
|
679
|
+
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.CandidApiEnvironment.Production).preEncounter, `/coverages/v1/${encodeURIComponent(serializers.preEncounter.CoverageId.jsonOrThrow(id))}/eligibility/${encodeURIComponent(checkId)}`),
|
|
553
680
|
method: "GET",
|
|
554
|
-
headers:
|
|
555
|
-
|
|
556
|
-
requestType: "json",
|
|
681
|
+
headers: _headers,
|
|
682
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
557
683
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
558
684
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
559
685
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
560
686
|
});
|
|
561
687
|
if (_response.ok) {
|
|
562
688
|
return {
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
689
|
+
data: {
|
|
690
|
+
ok: true,
|
|
691
|
+
body: serializers.preEncounter.coverages.v1.CoverageEligibilityCheckResponse.parseOrThrow(_response.body, {
|
|
692
|
+
unrecognizedObjectKeys: "passthrough",
|
|
693
|
+
allowUnrecognizedUnionMembers: true,
|
|
694
|
+
allowUnrecognizedEnumValues: true,
|
|
695
|
+
breadcrumbsPrefix: ["response"],
|
|
696
|
+
}),
|
|
697
|
+
headers: _response.headers,
|
|
698
|
+
rawResponse: _response.rawResponse,
|
|
699
|
+
},
|
|
700
|
+
rawResponse: _response.rawResponse,
|
|
570
701
|
};
|
|
571
702
|
}
|
|
572
703
|
return {
|
|
573
|
-
|
|
574
|
-
|
|
704
|
+
data: {
|
|
705
|
+
ok: false,
|
|
706
|
+
error: CandidApi.preEncounter.coverages.v1.getEligibility.Error._unknown(_response.error),
|
|
707
|
+
rawResponse: _response.rawResponse,
|
|
708
|
+
},
|
|
709
|
+
rawResponse: _response.rawResponse,
|
|
575
710
|
};
|
|
576
711
|
});
|
|
577
712
|
}
|