candidhealth 1.8.1 → 1.9.1
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"));
|
|
55
52
|
const serializers = __importStar(require("../../../../../../serialization/index"));
|
|
56
|
-
const
|
|
53
|
+
const headers_1 = require("../../../../../../core/headers");
|
|
57
54
|
class V1 {
|
|
58
55
|
constructor(_options = {}) {
|
|
59
56
|
this._options = _options;
|
|
@@ -68,9 +65,12 @@ class V1 {
|
|
|
68
65
|
* @example
|
|
69
66
|
* await client.insuranceRefunds.v1.getMulti()
|
|
70
67
|
*/
|
|
71
|
-
getMulti() {
|
|
68
|
+
getMulti(request = {}, requestOptions) {
|
|
69
|
+
return core.HttpResponsePromise.fromPromise(this.__getMulti(request, requestOptions));
|
|
70
|
+
}
|
|
71
|
+
__getMulti() {
|
|
72
72
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
73
|
-
var _a, _b, _c;
|
|
73
|
+
var _a, _b, _c, _d;
|
|
74
74
|
const { limit, payerUuid, claimId, serviceLineId, billingProviderId, sort, sortDirection, pageToken } = request;
|
|
75
75
|
const _queryParams = {};
|
|
76
76
|
if (limit != null) {
|
|
@@ -101,46 +101,58 @@ class V1 {
|
|
|
101
101
|
if (pageToken != null) {
|
|
102
102
|
_queryParams["page_token"] = pageToken;
|
|
103
103
|
}
|
|
104
|
+
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);
|
|
104
105
|
const _response = yield core.fetcher({
|
|
105
|
-
url:
|
|
106
|
+
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).candidApi, "/api/insurance-refunds/v1"),
|
|
106
107
|
method: "GET",
|
|
107
|
-
headers:
|
|
108
|
-
|
|
109
|
-
queryParameters: _queryParams,
|
|
110
|
-
requestType: "json",
|
|
108
|
+
headers: _headers,
|
|
109
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
111
110
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
112
111
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
113
112
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
114
113
|
});
|
|
115
114
|
if (_response.ok) {
|
|
116
115
|
return {
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
116
|
+
data: {
|
|
117
|
+
ok: true,
|
|
118
|
+
body: serializers.insuranceRefunds.v1.InsuranceRefundsPage.parseOrThrow(_response.body, {
|
|
119
|
+
unrecognizedObjectKeys: "passthrough",
|
|
120
|
+
allowUnrecognizedUnionMembers: true,
|
|
121
|
+
allowUnrecognizedEnumValues: true,
|
|
122
|
+
breadcrumbsPrefix: ["response"],
|
|
123
|
+
}),
|
|
124
|
+
headers: _response.headers,
|
|
125
|
+
rawResponse: _response.rawResponse,
|
|
126
|
+
},
|
|
127
|
+
rawResponse: _response.rawResponse,
|
|
124
128
|
};
|
|
125
129
|
}
|
|
126
130
|
if (_response.error.reason === "status-code") {
|
|
127
|
-
switch ((
|
|
131
|
+
switch ((_d = _response.error.body) === null || _d === void 0 ? void 0 : _d.errorName) {
|
|
128
132
|
case "UnauthorizedError":
|
|
129
133
|
case "UnprocessableEntityError":
|
|
130
134
|
return {
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
135
|
+
data: {
|
|
136
|
+
ok: false,
|
|
137
|
+
error: serializers.insuranceRefunds.v1.getMulti.Error.parseOrThrow(_response.error.body, {
|
|
138
|
+
unrecognizedObjectKeys: "passthrough",
|
|
139
|
+
allowUnrecognizedUnionMembers: true,
|
|
140
|
+
allowUnrecognizedEnumValues: true,
|
|
141
|
+
breadcrumbsPrefix: ["response"],
|
|
142
|
+
}),
|
|
143
|
+
rawResponse: _response.rawResponse,
|
|
144
|
+
},
|
|
145
|
+
rawResponse: _response.rawResponse,
|
|
138
146
|
};
|
|
139
147
|
}
|
|
140
148
|
}
|
|
141
149
|
return {
|
|
142
|
-
|
|
143
|
-
|
|
150
|
+
data: {
|
|
151
|
+
ok: false,
|
|
152
|
+
error: CandidApi.insuranceRefunds.v1.getMulti.Error._unknown(_response.error),
|
|
153
|
+
rawResponse: _response.rawResponse,
|
|
154
|
+
},
|
|
155
|
+
rawResponse: _response.rawResponse,
|
|
144
156
|
};
|
|
145
157
|
});
|
|
146
158
|
}
|
|
@@ -155,47 +167,63 @@ class V1 {
|
|
|
155
167
|
* await client.insuranceRefunds.v1.get(CandidApi.insuranceRefunds.v1.InsuranceRefundId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
|
|
156
168
|
*/
|
|
157
169
|
get(insuranceRefundId, requestOptions) {
|
|
170
|
+
return core.HttpResponsePromise.fromPromise(this.__get(insuranceRefundId, requestOptions));
|
|
171
|
+
}
|
|
172
|
+
__get(insuranceRefundId, requestOptions) {
|
|
158
173
|
return __awaiter(this, void 0, void 0, function* () {
|
|
159
|
-
var _a, _b, _c;
|
|
174
|
+
var _a, _b, _c, _d;
|
|
175
|
+
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);
|
|
160
176
|
const _response = yield core.fetcher({
|
|
161
|
-
url:
|
|
177
|
+
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).candidApi, `/api/insurance-refunds/v1/${encodeURIComponent(serializers.insuranceRefunds.v1.InsuranceRefundId.jsonOrThrow(insuranceRefundId))}`),
|
|
162
178
|
method: "GET",
|
|
163
|
-
headers:
|
|
164
|
-
|
|
165
|
-
requestType: "json",
|
|
179
|
+
headers: _headers,
|
|
180
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
166
181
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
167
182
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
168
183
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
169
184
|
});
|
|
170
185
|
if (_response.ok) {
|
|
171
186
|
return {
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
187
|
+
data: {
|
|
188
|
+
ok: true,
|
|
189
|
+
body: serializers.insuranceRefunds.v1.InsuranceRefund.parseOrThrow(_response.body, {
|
|
190
|
+
unrecognizedObjectKeys: "passthrough",
|
|
191
|
+
allowUnrecognizedUnionMembers: true,
|
|
192
|
+
allowUnrecognizedEnumValues: true,
|
|
193
|
+
breadcrumbsPrefix: ["response"],
|
|
194
|
+
}),
|
|
195
|
+
headers: _response.headers,
|
|
196
|
+
rawResponse: _response.rawResponse,
|
|
197
|
+
},
|
|
198
|
+
rawResponse: _response.rawResponse,
|
|
179
199
|
};
|
|
180
200
|
}
|
|
181
201
|
if (_response.error.reason === "status-code") {
|
|
182
|
-
switch ((
|
|
202
|
+
switch ((_d = _response.error.body) === null || _d === void 0 ? void 0 : _d.errorName) {
|
|
183
203
|
case "EntityNotFoundError":
|
|
184
204
|
case "UnauthorizedError":
|
|
185
205
|
return {
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
206
|
+
data: {
|
|
207
|
+
ok: false,
|
|
208
|
+
error: serializers.insuranceRefunds.v1.get.Error.parseOrThrow(_response.error.body, {
|
|
209
|
+
unrecognizedObjectKeys: "passthrough",
|
|
210
|
+
allowUnrecognizedUnionMembers: true,
|
|
211
|
+
allowUnrecognizedEnumValues: true,
|
|
212
|
+
breadcrumbsPrefix: ["response"],
|
|
213
|
+
}),
|
|
214
|
+
rawResponse: _response.rawResponse,
|
|
215
|
+
},
|
|
216
|
+
rawResponse: _response.rawResponse,
|
|
193
217
|
};
|
|
194
218
|
}
|
|
195
219
|
}
|
|
196
220
|
return {
|
|
197
|
-
|
|
198
|
-
|
|
221
|
+
data: {
|
|
222
|
+
ok: false,
|
|
223
|
+
error: CandidApi.insuranceRefunds.v1.get.Error._unknown(_response.error),
|
|
224
|
+
rawResponse: _response.rawResponse,
|
|
225
|
+
},
|
|
226
|
+
rawResponse: _response.rawResponse,
|
|
199
227
|
};
|
|
200
228
|
});
|
|
201
229
|
}
|
|
@@ -231,13 +259,18 @@ class V1 {
|
|
|
231
259
|
* })
|
|
232
260
|
*/
|
|
233
261
|
create(request, requestOptions) {
|
|
262
|
+
return core.HttpResponsePromise.fromPromise(this.__create(request, requestOptions));
|
|
263
|
+
}
|
|
264
|
+
__create(request, requestOptions) {
|
|
234
265
|
return __awaiter(this, void 0, void 0, function* () {
|
|
235
|
-
var _a, _b, _c;
|
|
266
|
+
var _a, _b, _c, _d;
|
|
267
|
+
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);
|
|
236
268
|
const _response = yield core.fetcher({
|
|
237
|
-
url:
|
|
269
|
+
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).candidApi, "/api/insurance-refunds/v1"),
|
|
238
270
|
method: "POST",
|
|
239
|
-
headers:
|
|
271
|
+
headers: _headers,
|
|
240
272
|
contentType: "application/json",
|
|
273
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
241
274
|
requestType: "json",
|
|
242
275
|
body: serializers.insuranceRefunds.v1.InsuranceRefundCreate.jsonOrThrow(request, {
|
|
243
276
|
unrecognizedObjectKeys: "strip",
|
|
@@ -248,34 +281,47 @@ class V1 {
|
|
|
248
281
|
});
|
|
249
282
|
if (_response.ok) {
|
|
250
283
|
return {
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
284
|
+
data: {
|
|
285
|
+
ok: true,
|
|
286
|
+
body: serializers.insuranceRefunds.v1.InsuranceRefund.parseOrThrow(_response.body, {
|
|
287
|
+
unrecognizedObjectKeys: "passthrough",
|
|
288
|
+
allowUnrecognizedUnionMembers: true,
|
|
289
|
+
allowUnrecognizedEnumValues: true,
|
|
290
|
+
breadcrumbsPrefix: ["response"],
|
|
291
|
+
}),
|
|
292
|
+
headers: _response.headers,
|
|
293
|
+
rawResponse: _response.rawResponse,
|
|
294
|
+
},
|
|
295
|
+
rawResponse: _response.rawResponse,
|
|
258
296
|
};
|
|
259
297
|
}
|
|
260
298
|
if (_response.error.reason === "status-code") {
|
|
261
|
-
switch ((
|
|
299
|
+
switch ((_d = _response.error.body) === null || _d === void 0 ? void 0 : _d.errorName) {
|
|
262
300
|
case "EntityNotFoundError":
|
|
263
301
|
case "UnauthorizedError":
|
|
264
302
|
case "UnprocessableEntityError":
|
|
265
303
|
return {
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
304
|
+
data: {
|
|
305
|
+
ok: false,
|
|
306
|
+
error: serializers.insuranceRefunds.v1.create.Error.parseOrThrow(_response.error.body, {
|
|
307
|
+
unrecognizedObjectKeys: "passthrough",
|
|
308
|
+
allowUnrecognizedUnionMembers: true,
|
|
309
|
+
allowUnrecognizedEnumValues: true,
|
|
310
|
+
breadcrumbsPrefix: ["response"],
|
|
311
|
+
}),
|
|
312
|
+
rawResponse: _response.rawResponse,
|
|
313
|
+
},
|
|
314
|
+
rawResponse: _response.rawResponse,
|
|
273
315
|
};
|
|
274
316
|
}
|
|
275
317
|
}
|
|
276
318
|
return {
|
|
277
|
-
|
|
278
|
-
|
|
319
|
+
data: {
|
|
320
|
+
ok: false,
|
|
321
|
+
error: CandidApi.insuranceRefunds.v1.create.Error._unknown(_response.error),
|
|
322
|
+
rawResponse: _response.rawResponse,
|
|
323
|
+
},
|
|
324
|
+
rawResponse: _response.rawResponse,
|
|
279
325
|
};
|
|
280
326
|
});
|
|
281
327
|
}
|
|
@@ -290,14 +336,19 @@ class V1 {
|
|
|
290
336
|
* @example
|
|
291
337
|
* await client.insuranceRefunds.v1.update(CandidApi.insuranceRefunds.v1.InsuranceRefundId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
|
|
292
338
|
*/
|
|
293
|
-
update(
|
|
339
|
+
update(insuranceRefundId, request = {}, requestOptions) {
|
|
340
|
+
return core.HttpResponsePromise.fromPromise(this.__update(insuranceRefundId, request, requestOptions));
|
|
341
|
+
}
|
|
342
|
+
__update(insuranceRefundId_1) {
|
|
294
343
|
return __awaiter(this, arguments, void 0, function* (insuranceRefundId, request = {}, requestOptions) {
|
|
295
|
-
var _a, _b, _c;
|
|
344
|
+
var _a, _b, _c, _d;
|
|
345
|
+
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);
|
|
296
346
|
const _response = yield core.fetcher({
|
|
297
|
-
url:
|
|
347
|
+
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).candidApi, `/api/insurance-refunds/v1/${encodeURIComponent(serializers.insuranceRefunds.v1.InsuranceRefundId.jsonOrThrow(insuranceRefundId))}`),
|
|
298
348
|
method: "PATCH",
|
|
299
|
-
headers:
|
|
349
|
+
headers: _headers,
|
|
300
350
|
contentType: "application/json",
|
|
351
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
301
352
|
requestType: "json",
|
|
302
353
|
body: serializers.insuranceRefunds.v1.InsuranceRefundUpdate.jsonOrThrow(request, {
|
|
303
354
|
unrecognizedObjectKeys: "strip",
|
|
@@ -308,34 +359,47 @@ class V1 {
|
|
|
308
359
|
});
|
|
309
360
|
if (_response.ok) {
|
|
310
361
|
return {
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
362
|
+
data: {
|
|
363
|
+
ok: true,
|
|
364
|
+
body: serializers.insuranceRefunds.v1.InsuranceRefund.parseOrThrow(_response.body, {
|
|
365
|
+
unrecognizedObjectKeys: "passthrough",
|
|
366
|
+
allowUnrecognizedUnionMembers: true,
|
|
367
|
+
allowUnrecognizedEnumValues: true,
|
|
368
|
+
breadcrumbsPrefix: ["response"],
|
|
369
|
+
}),
|
|
370
|
+
headers: _response.headers,
|
|
371
|
+
rawResponse: _response.rawResponse,
|
|
372
|
+
},
|
|
373
|
+
rawResponse: _response.rawResponse,
|
|
318
374
|
};
|
|
319
375
|
}
|
|
320
376
|
if (_response.error.reason === "status-code") {
|
|
321
|
-
switch ((
|
|
377
|
+
switch ((_d = _response.error.body) === null || _d === void 0 ? void 0 : _d.errorName) {
|
|
322
378
|
case "EntityNotFoundError":
|
|
323
379
|
case "UnauthorizedError":
|
|
324
380
|
case "UnprocessableEntityError":
|
|
325
381
|
return {
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
382
|
+
data: {
|
|
383
|
+
ok: false,
|
|
384
|
+
error: serializers.insuranceRefunds.v1.update.Error.parseOrThrow(_response.error.body, {
|
|
385
|
+
unrecognizedObjectKeys: "passthrough",
|
|
386
|
+
allowUnrecognizedUnionMembers: true,
|
|
387
|
+
allowUnrecognizedEnumValues: true,
|
|
388
|
+
breadcrumbsPrefix: ["response"],
|
|
389
|
+
}),
|
|
390
|
+
rawResponse: _response.rawResponse,
|
|
391
|
+
},
|
|
392
|
+
rawResponse: _response.rawResponse,
|
|
333
393
|
};
|
|
334
394
|
}
|
|
335
395
|
}
|
|
336
396
|
return {
|
|
337
|
-
|
|
338
|
-
|
|
397
|
+
data: {
|
|
398
|
+
ok: false,
|
|
399
|
+
error: CandidApi.insuranceRefunds.v1.update.Error._unknown(_response.error),
|
|
400
|
+
rawResponse: _response.rawResponse,
|
|
401
|
+
},
|
|
402
|
+
rawResponse: _response.rawResponse,
|
|
339
403
|
};
|
|
340
404
|
});
|
|
341
405
|
}
|
|
@@ -351,43 +415,59 @@ class V1 {
|
|
|
351
415
|
* await client.insuranceRefunds.v1.delete(CandidApi.insuranceRefunds.v1.InsuranceRefundId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
|
|
352
416
|
*/
|
|
353
417
|
delete(insuranceRefundId, requestOptions) {
|
|
418
|
+
return core.HttpResponsePromise.fromPromise(this.__delete(insuranceRefundId, requestOptions));
|
|
419
|
+
}
|
|
420
|
+
__delete(insuranceRefundId, requestOptions) {
|
|
354
421
|
return __awaiter(this, void 0, void 0, function* () {
|
|
355
|
-
var _a, _b, _c;
|
|
422
|
+
var _a, _b, _c, _d;
|
|
423
|
+
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);
|
|
356
424
|
const _response = yield core.fetcher({
|
|
357
|
-
url:
|
|
425
|
+
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).candidApi, `/api/insurance-refunds/v1/${encodeURIComponent(serializers.insuranceRefunds.v1.InsuranceRefundId.jsonOrThrow(insuranceRefundId))}`),
|
|
358
426
|
method: "DELETE",
|
|
359
|
-
headers:
|
|
360
|
-
|
|
361
|
-
requestType: "json",
|
|
427
|
+
headers: _headers,
|
|
428
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
362
429
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
363
430
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
364
431
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
365
432
|
});
|
|
366
433
|
if (_response.ok) {
|
|
367
434
|
return {
|
|
368
|
-
|
|
369
|
-
|
|
435
|
+
data: {
|
|
436
|
+
ok: true,
|
|
437
|
+
body: undefined,
|
|
438
|
+
headers: _response.headers,
|
|
439
|
+
rawResponse: _response.rawResponse,
|
|
440
|
+
},
|
|
441
|
+
rawResponse: _response.rawResponse,
|
|
370
442
|
};
|
|
371
443
|
}
|
|
372
444
|
if (_response.error.reason === "status-code") {
|
|
373
|
-
switch ((
|
|
445
|
+
switch ((_d = _response.error.body) === null || _d === void 0 ? void 0 : _d.errorName) {
|
|
374
446
|
case "EntityNotFoundError":
|
|
375
447
|
case "UnauthorizedError":
|
|
376
448
|
case "UnprocessableEntityError":
|
|
377
449
|
return {
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
450
|
+
data: {
|
|
451
|
+
ok: false,
|
|
452
|
+
error: serializers.insuranceRefunds.v1.delete.Error.parseOrThrow(_response.error.body, {
|
|
453
|
+
unrecognizedObjectKeys: "passthrough",
|
|
454
|
+
allowUnrecognizedUnionMembers: true,
|
|
455
|
+
allowUnrecognizedEnumValues: true,
|
|
456
|
+
breadcrumbsPrefix: ["response"],
|
|
457
|
+
}),
|
|
458
|
+
rawResponse: _response.rawResponse,
|
|
459
|
+
},
|
|
460
|
+
rawResponse: _response.rawResponse,
|
|
385
461
|
};
|
|
386
462
|
}
|
|
387
463
|
}
|
|
388
464
|
return {
|
|
389
|
-
|
|
390
|
-
|
|
465
|
+
data: {
|
|
466
|
+
ok: false,
|
|
467
|
+
error: CandidApi.insuranceRefunds.v1.delete.Error._unknown(_response.error),
|
|
468
|
+
rawResponse: _response.rawResponse,
|
|
469
|
+
},
|
|
470
|
+
rawResponse: _response.rawResponse,
|
|
391
471
|
};
|
|
392
472
|
});
|
|
393
473
|
}
|
|
@@ -15,9 +15,6 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
19
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
20
|
-
};
|
|
21
18
|
var __importStar = (this && this.__importStar) || (function () {
|
|
22
19
|
var ownKeys = function(o) {
|
|
23
20
|
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
@@ -35,11 +32,14 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
35
32
|
return result;
|
|
36
33
|
};
|
|
37
34
|
})();
|
|
35
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
36
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
|
+
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.delete = exports.update = exports.create = exports.get = exports.getMulti = void 0;
|
|
40
|
-
__exportStar(require("./requests"), exports);
|
|
41
40
|
exports.getMulti = __importStar(require("./getMulti"));
|
|
42
41
|
exports.get = __importStar(require("./get"));
|
|
43
42
|
exports.create = __importStar(require("./create"));
|
|
44
43
|
exports.update = __importStar(require("./update"));
|
|
45
44
|
exports.delete = __importStar(require("./delete"));
|
|
45
|
+
__exportStar(require("./requests"), exports);
|
|
@@ -7,21 +7,15 @@ import * as CandidApi from "../../../../../../index";
|
|
|
7
7
|
* {}
|
|
8
8
|
*/
|
|
9
9
|
export interface GetMultiInsuranceRefundsRequest {
|
|
10
|
-
/**
|
|
11
|
-
* Defaults to 100. The value must be greater than 0 and less than 1000.
|
|
12
|
-
*/
|
|
10
|
+
/** Defaults to 100. The value must be greater than 0 and less than 1000. */
|
|
13
11
|
limit?: number;
|
|
14
12
|
payerUuid?: CandidApi.payers.v3.PayerUuid;
|
|
15
13
|
claimId?: CandidApi.ClaimId;
|
|
16
14
|
serviceLineId?: CandidApi.ServiceLineId;
|
|
17
15
|
billingProviderId?: CandidApi.ProviderId;
|
|
18
|
-
/**
|
|
19
|
-
* Defaults to refund_timestamp
|
|
20
|
-
*/
|
|
16
|
+
/** Defaults to refund_timestamp */
|
|
21
17
|
sort?: CandidApi.insuranceRefunds.v1.InsuranceRefundSortField;
|
|
22
|
-
/**
|
|
23
|
-
* Sort direction. Defaults to descending order if not provided.
|
|
24
|
-
*/
|
|
18
|
+
/** Sort direction. Defaults to descending order if not provided. */
|
|
25
19
|
sortDirection?: CandidApi.SortDirection;
|
|
26
20
|
pageToken?: CandidApi.PageToken;
|
|
27
21
|
}
|
|
@@ -10,16 +10,8 @@ export declare namespace MedicationDispense {
|
|
|
10
10
|
/** Specify a custom URL to connect the client to. */
|
|
11
11
|
baseUrl?: core.Supplier<string>;
|
|
12
12
|
token?: core.Supplier<core.BearerToken | undefined>;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
/** The maximum time to wait for a response in seconds. */
|
|
16
|
-
timeoutInSeconds?: number;
|
|
17
|
-
/** The number of times to retry the request. Defaults to 2. */
|
|
18
|
-
maxRetries?: number;
|
|
19
|
-
/** A hook to abort the request. */
|
|
20
|
-
abortSignal?: AbortSignal;
|
|
21
|
-
/** Additional headers to include in the request. */
|
|
22
|
-
headers?: Record<string, string>;
|
|
13
|
+
/** Additional headers to include in requests. */
|
|
14
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
23
15
|
}
|
|
24
16
|
}
|
|
25
17
|
export declare class MedicationDispense {
|
|
@@ -10,6 +10,8 @@ export declare namespace V1 {
|
|
|
10
10
|
/** Specify a custom URL to connect the client to. */
|
|
11
11
|
baseUrl?: core.Supplier<string>;
|
|
12
12
|
token?: core.Supplier<core.BearerToken | undefined>;
|
|
13
|
+
/** Additional headers to include in requests. */
|
|
14
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
13
15
|
}
|
|
14
16
|
interface RequestOptions {
|
|
15
17
|
/** The maximum time to wait for a response in seconds. */
|
|
@@ -18,8 +20,10 @@ export declare namespace V1 {
|
|
|
18
20
|
maxRetries?: number;
|
|
19
21
|
/** A hook to abort the request. */
|
|
20
22
|
abortSignal?: AbortSignal;
|
|
23
|
+
/** Additional query string parameters to include in the request. */
|
|
24
|
+
queryParams?: Record<string, unknown>;
|
|
21
25
|
/** Additional headers to include in the request. */
|
|
22
|
-
headers?: Record<string, string>;
|
|
26
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
23
27
|
}
|
|
24
28
|
}
|
|
25
29
|
export declare class V1 {
|
|
@@ -39,6 +43,7 @@ export declare class V1 {
|
|
|
39
43
|
* dateOfService: "2023-01-15"
|
|
40
44
|
* })
|
|
41
45
|
*/
|
|
42
|
-
create(request: CandidApi.medicationDispense.v1.MedicationDispenseCreate, requestOptions?: V1.RequestOptions):
|
|
46
|
+
create(request: CandidApi.medicationDispense.v1.MedicationDispenseCreate, requestOptions?: V1.RequestOptions): core.HttpResponsePromise<core.APIResponse<CandidApi.encounters.v4.Encounter, CandidApi.medicationDispense.v1.create.Error>>;
|
|
47
|
+
private __create;
|
|
43
48
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
44
49
|
}
|