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
|
@@ -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,10 +32,13 @@ 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.getAll = exports.resolveChargeCreationError = exports.getSummary = exports.get = void 0;
|
|
40
|
-
__exportStar(require("./requests"), exports);
|
|
41
40
|
exports.get = __importStar(require("./get"));
|
|
42
41
|
exports.getSummary = __importStar(require("./getSummary"));
|
|
43
42
|
exports.resolveChargeCreationError = __importStar(require("./resolveChargeCreationError"));
|
|
44
43
|
exports.getAll = __importStar(require("./getAll"));
|
|
44
|
+
__exportStar(require("./requests"), exports);
|
|
@@ -7,30 +7,18 @@ import * as CandidApi from "../../../../../../index";
|
|
|
7
7
|
* {}
|
|
8
8
|
*/
|
|
9
9
|
export interface GetAllChargeCaptureClaimCreationsRequest {
|
|
10
|
-
/**
|
|
11
|
-
* Maximum number of entities per page, defaults to 100.
|
|
12
|
-
*/
|
|
10
|
+
/** Maximum number of entities per page, defaults to 100. */
|
|
13
11
|
limit?: number;
|
|
14
|
-
/**
|
|
15
|
-
* Defaults to created_at
|
|
16
|
-
*/
|
|
12
|
+
/** Defaults to created_at */
|
|
17
13
|
sort?: CandidApi.chargeCaptureBundles.v1.ChargeCaptureClaimCreationSortField;
|
|
18
|
-
/**
|
|
19
|
-
* Sort direction. Defaults to descending order if not provided.
|
|
20
|
-
*/
|
|
14
|
+
/** Sort direction. Defaults to descending order if not provided. */
|
|
21
15
|
sortDirection?: CandidApi.SortDirection;
|
|
22
16
|
pageToken?: CandidApi.PageToken;
|
|
23
|
-
/**
|
|
24
|
-
* The patient ID from the external EMR platform for the patient
|
|
25
|
-
*/
|
|
17
|
+
/** The patient ID from the external EMR platform for the patient */
|
|
26
18
|
patientExternalId?: string;
|
|
27
|
-
/**
|
|
28
|
-
* the status of the charge capture Claim Creation, refers to whether it was able to create a claim.
|
|
29
|
-
*/
|
|
19
|
+
/** the status of the charge capture Claim Creation, refers to whether it was able to create a claim. */
|
|
30
20
|
claimCreationStatus?: CandidApi.chargeCaptureBundles.v1.ChargeCaptureClaimCreationStatus;
|
|
31
|
-
/**
|
|
32
|
-
* the status of the charge captures
|
|
33
|
-
*/
|
|
21
|
+
/** the status of the charge captures */
|
|
34
22
|
chargeStatus?: CandidApi.chargeCapture.v1.ChargeCaptureStatus;
|
|
35
23
|
/**
|
|
36
24
|
* A client-specified unique ID to associate with this encounter;
|
|
@@ -48,64 +36,34 @@ export interface GetAllChargeCaptureClaimCreationsRequest {
|
|
|
48
36
|
* This date must be the local date in the timezone where the service occurred.
|
|
49
37
|
*/
|
|
50
38
|
dateOfServiceMax?: string;
|
|
51
|
-
/**
|
|
52
|
-
* A list of claim IDs to filter by. This will return all charge capture claim_creations that have a resulting claim with one of the IDs in this list.
|
|
53
|
-
*/
|
|
39
|
+
/** A list of claim IDs to filter by. This will return all charge capture claim_creations that have a resulting claim with one of the IDs in this list. */
|
|
54
40
|
claimIds?: CandidApi.EncounterId | CandidApi.EncounterId[];
|
|
55
|
-
/**
|
|
56
|
-
* A list of Claim Creation IDs to filter by.
|
|
57
|
-
*/
|
|
41
|
+
/** A list of Claim Creation IDs to filter by. */
|
|
58
42
|
claimCreationIds?: CandidApi.ChargeCaptureClaimCreationId | CandidApi.ChargeCaptureClaimCreationId[];
|
|
59
|
-
/**
|
|
60
|
-
* A list of billing provider NPIs to filter by. This will return all charge capture claim_creations which include one or more charges with one of the NPIs in this list.
|
|
61
|
-
*/
|
|
43
|
+
/** A list of billing provider NPIs to filter by. This will return all charge capture claim_creations which include one or more charges with one of the NPIs in this list. */
|
|
62
44
|
billingProviderNpis?: string | string[];
|
|
63
|
-
/**
|
|
64
|
-
* A string to filter by. This will return all charge capture claim_creations which include one or more charges with this service facility name.
|
|
65
|
-
*/
|
|
45
|
+
/** A string to filter by. This will return all charge capture claim_creations which include one or more charges with this service facility name. */
|
|
66
46
|
serviceFacilityName?: string;
|
|
67
|
-
/**
|
|
68
|
-
* A list of primary payer IDs to filter by. This will return all charge capture claim_creations which include one or more charges with one of the primary payer IDs in this list.
|
|
69
|
-
*/
|
|
47
|
+
/** A list of primary payer IDs to filter by. This will return all charge capture claim_creations which include one or more charges with one of the primary payer IDs in this list. */
|
|
70
48
|
primaryPayerIds?: string | string[];
|
|
71
|
-
/**
|
|
72
|
-
* A list of rendering provider NPIs to filter by. This will return all charge capture claim_creations which include one or more charges with one of the NPIs in this list.
|
|
73
|
-
*/
|
|
49
|
+
/** A list of rendering provider NPIs to filter by. This will return all charge capture claim_creations which include one or more charges with one of the NPIs in this list. */
|
|
74
50
|
renderingProviderNpis?: string | string[];
|
|
75
|
-
/**
|
|
76
|
-
* A list of rendering provider names to filter by. This will return all charge capture claim_creations which include one or more charges with one of the names in this list.
|
|
77
|
-
*/
|
|
51
|
+
/** A list of rendering provider names to filter by. This will return all charge capture claim_creations which include one or more charges with one of the names in this list. */
|
|
78
52
|
renderingProviderNames?: string | string[];
|
|
79
|
-
/**
|
|
80
|
-
* A list of supervising provider NPIs to filter by. This will return all charge capture claim_creations which include one or more charges with one of the NPIs in this list.
|
|
81
|
-
*/
|
|
53
|
+
/** A list of supervising provider NPIs to filter by. This will return all charge capture claim_creations which include one or more charges with one of the NPIs in this list. */
|
|
82
54
|
supervisingProviderNpis?: string | string[];
|
|
83
|
-
/**
|
|
84
|
-
* A list of supervising provider names to filter by. This will return all charge capture claim_creations which include one or more charges with one of the names in this list.
|
|
85
|
-
*/
|
|
55
|
+
/** A list of supervising provider names to filter by. This will return all charge capture claim_creations which include one or more charges with one of the names in this list. */
|
|
86
56
|
supervisingProviderNames?: string | string[];
|
|
87
|
-
/**
|
|
88
|
-
* the status of the claim to filter by created from charge capture bundle.
|
|
89
|
-
*/
|
|
57
|
+
/** the status of the claim to filter by created from charge capture bundle. */
|
|
90
58
|
claimStatus?: CandidApi.ClaimStatus;
|
|
91
|
-
/**
|
|
92
|
-
* A list of claim creation categories to filter by. This will return all charge capture claim_creations which include one or more charges with one of the names in this list.
|
|
93
|
-
*/
|
|
59
|
+
/** A list of claim creation categories to filter by. This will return all charge capture claim_creations which include one or more charges with one of the names in this list. */
|
|
94
60
|
claimCreationCategory?: string | string[];
|
|
95
|
-
/**
|
|
96
|
-
* A list of tags to filter by. This will return all charge captures with one of the tags.
|
|
97
|
-
*/
|
|
61
|
+
/** A list of tags to filter by. This will return all charge captures with one of the tags. */
|
|
98
62
|
tags?: string | string[];
|
|
99
|
-
/**
|
|
100
|
-
* A list of primary payer names to filter by. This will return all charge captures with one of the names.
|
|
101
|
-
*/
|
|
63
|
+
/** A list of primary payer names to filter by. This will return all charge captures with one of the names. */
|
|
102
64
|
primaryPayerNames?: string | string[];
|
|
103
|
-
/**
|
|
104
|
-
* A list of patient names to filter by. This will return all charge captures with one of the names.
|
|
105
|
-
*/
|
|
65
|
+
/** A list of patient names to filter by. This will return all charge captures with one of the names. */
|
|
106
66
|
patientNames?: string | string[];
|
|
107
|
-
/**
|
|
108
|
-
* If true, only return claim_creations that have charge captures that have been updated since the Claim Creation has had a status of BILLED. See the updates property on ChargeCapture for more details.
|
|
109
|
-
*/
|
|
67
|
+
/** If true, only return claim_creations that have charge captures that have been updated since the Claim Creation has had a status of BILLED. See the updates property on ChargeCapture for more details. */
|
|
110
68
|
hasChargeCaptureUpdates?: boolean;
|
|
111
69
|
}
|
package/dist/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import * as CandidApi from "../../../../../index";
|
|
|
7
7
|
*
|
|
8
8
|
* @example
|
|
9
9
|
* {
|
|
10
|
-
* submittedAt: "2023-01-01T13:00:00.
|
|
10
|
+
* submittedAt: new Date("2023-01-01T13:00:00.000Z"),
|
|
11
11
|
* claimFrequencyCode: CandidApi.x12.v1.TypeOfBillFrequencyCode.C1,
|
|
12
12
|
* payerResponsibility: CandidApi.ClaimSubmissionPayerResponsibilityType.Primary,
|
|
13
13
|
* intendedSubmissionMedium: CandidApi.IntendedSubmissionMedium.Electronic
|
|
@@ -15,7 +15,7 @@ import * as CandidApi from "../../../../../index";
|
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
17
|
* {
|
|
18
|
-
* submittedAt: "2023-01-04T12:00:00.
|
|
18
|
+
* submittedAt: new Date("2023-01-04T12:00:00.000Z"),
|
|
19
19
|
* claimFrequencyCode: CandidApi.x12.v1.TypeOfBillFrequencyCode.C7,
|
|
20
20
|
* payerResponsibility: CandidApi.ClaimSubmissionPayerResponsibilityType.Primary,
|
|
21
21
|
* intendedSubmissionMedium: CandidApi.IntendedSubmissionMedium.Paper
|
|
@@ -7,7 +7,7 @@ import * as CandidApi from "../../../../../index";
|
|
|
7
7
|
*
|
|
8
8
|
* @example
|
|
9
9
|
* {
|
|
10
|
-
* submittedAt: "2023-01-01T13:00:00.
|
|
10
|
+
* submittedAt: new Date("2023-01-01T13:00:00.000Z"),
|
|
11
11
|
* claimFrequencyCode: CandidApi.x12.v1.TypeOfBillFrequencyCode.C1,
|
|
12
12
|
* payerResponsibility: CandidApi.ClaimSubmissionPayerResponsibilityType.Primary,
|
|
13
13
|
* intendedSubmissionMedium: CandidApi.IntendedSubmissionMedium.Electronic
|
|
@@ -15,7 +15,7 @@ import * as CandidApi from "../../../../../index";
|
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
17
|
* {
|
|
18
|
-
* submittedAt: "2023-01-04T12:00:00.
|
|
18
|
+
* submittedAt: new Date("2023-01-04T12:00:00.000Z"),
|
|
19
19
|
* claimFrequencyCode: CandidApi.x12.v1.TypeOfBillFrequencyCode.C7,
|
|
20
20
|
* payerResponsibility: CandidApi.ClaimSubmissionPayerResponsibilityType.Primary,
|
|
21
21
|
* intendedSubmissionMedium: CandidApi.IntendedSubmissionMedium.Paper
|
package/dist/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts
CHANGED
|
@@ -5,15 +5,15 @@ import * as CandidApi from "../../../../../index";
|
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
7
|
* {
|
|
8
|
-
* claimCreatedAt: "2023-01-01T12:00:00.
|
|
8
|
+
* claimCreatedAt: new Date("2023-01-01T12:00:00.000Z"),
|
|
9
9
|
* patientControlNumber: "PATIENT_CONTROL_NUMBER",
|
|
10
10
|
* submissionRecords: [{
|
|
11
|
-
* submittedAt: "2023-01-01T13:00:00.
|
|
11
|
+
* submittedAt: new Date("2023-01-01T13:00:00.000Z"),
|
|
12
12
|
* claimFrequencyCode: CandidApi.x12.v1.TypeOfBillFrequencyCode.C1,
|
|
13
13
|
* payerResponsibility: CandidApi.ClaimSubmissionPayerResponsibilityType.Primary,
|
|
14
14
|
* intendedSubmissionMedium: CandidApi.IntendedSubmissionMedium.Electronic
|
|
15
15
|
* }, {
|
|
16
|
-
* submittedAt: "2023-01-04T12:00:00.
|
|
16
|
+
* submittedAt: new Date("2023-01-04T12:00:00.000Z"),
|
|
17
17
|
* claimFrequencyCode: CandidApi.x12.v1.TypeOfBillFrequencyCode.C7,
|
|
18
18
|
* payerResponsibility: CandidApi.ClaimSubmissionPayerResponsibilityType.Primary,
|
|
19
19
|
* intendedSubmissionMedium: CandidApi.IntendedSubmissionMedium.Paper
|
|
@@ -22,7 +22,7 @@ import * as CandidApi from "../../../../../index";
|
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* {
|
|
25
|
-
* claimCreatedAt: "2023-01-01T12:00:00.
|
|
25
|
+
* claimCreatedAt: new Date("2023-01-01T12:00:00.000Z"),
|
|
26
26
|
* patientControlNumber: "123XYZABC",
|
|
27
27
|
* submissionRecords: []
|
|
28
28
|
* }
|
|
@@ -5,15 +5,15 @@ import * as CandidApi from "../../../../../index";
|
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
7
|
* {
|
|
8
|
-
* claimCreatedAt: "2023-01-01T12:00:00.
|
|
8
|
+
* claimCreatedAt: new Date("2023-01-01T12:00:00.000Z"),
|
|
9
9
|
* patientControlNumber: "PATIENT_CONTROL_NUMBER",
|
|
10
10
|
* submissionRecords: [{
|
|
11
|
-
* submittedAt: "2023-01-01T13:00:00.
|
|
11
|
+
* submittedAt: new Date("2023-01-01T13:00:00.000Z"),
|
|
12
12
|
* claimFrequencyCode: CandidApi.x12.v1.TypeOfBillFrequencyCode.C1,
|
|
13
13
|
* payerResponsibility: CandidApi.ClaimSubmissionPayerResponsibilityType.Primary,
|
|
14
14
|
* intendedSubmissionMedium: CandidApi.IntendedSubmissionMedium.Electronic
|
|
15
15
|
* }, {
|
|
16
|
-
* submittedAt: "2023-01-04T12:00:00.
|
|
16
|
+
* submittedAt: new Date("2023-01-04T12:00:00.000Z"),
|
|
17
17
|
* claimFrequencyCode: CandidApi.x12.v1.TypeOfBillFrequencyCode.C7,
|
|
18
18
|
* payerResponsibility: CandidApi.ClaimSubmissionPayerResponsibilityType.Primary,
|
|
19
19
|
* intendedSubmissionMedium: CandidApi.IntendedSubmissionMedium.Paper
|
|
@@ -22,7 +22,7 @@ import * as CandidApi from "../../../../../index";
|
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* {
|
|
25
|
-
* claimCreatedAt: "2023-01-01T12:00:00.
|
|
25
|
+
* claimCreatedAt: new Date("2023-01-01T12:00:00.000Z"),
|
|
26
26
|
* patientControlNumber: "123XYZABC",
|
|
27
27
|
* submissionRecords: []
|
|
28
28
|
* }
|
|
@@ -11,7 +11,7 @@ import * as CandidApi from "../../../index";
|
|
|
11
11
|
* clearinghouseClaimId: "5BA7C3AB-2BC2-496C-8B10-6CAC73D0729D",
|
|
12
12
|
* payerClaimId: "9BB9F259-9756-4F16-8F53-9DBB9F7EB1BB",
|
|
13
13
|
* serviceLines: [{
|
|
14
|
-
* createdAt: "2023-01-01T00:00:
|
|
14
|
+
* createdAt: new Date("2023-01-01T00:00:00.000Z"),
|
|
15
15
|
* modifiers: [CandidApi.ProcedureModifier.TwentyTwo],
|
|
16
16
|
* chargeAmountCents: 10000,
|
|
17
17
|
* allowedAmountCents: 8000,
|
|
@@ -25,7 +25,7 @@ import * as CandidApi from "../../../index";
|
|
|
25
25
|
* diagnosisIdThree: CandidApi.DiagnosisId("81795126-A3AC-443C-B47E-7259A16AB4A2"),
|
|
26
26
|
* serviceLineEraData: {
|
|
27
27
|
* serviceLineAdjustments: [{
|
|
28
|
-
* createdAt: "2023-01-01T00:00:
|
|
28
|
+
* createdAt: new Date("2023-01-01T00:00:00.000Z"),
|
|
29
29
|
* adjustmentGroupCode: "CO",
|
|
30
30
|
* adjustmentReasonCode: "CO",
|
|
31
31
|
* adjustmentAmountCents: 1000,
|
|
@@ -34,7 +34,7 @@ import * as CandidApi from "../../../index";
|
|
|
34
34
|
* remittanceAdviceRemarkCodes: ["N362"]
|
|
35
35
|
* },
|
|
36
36
|
* serviceLineManualAdjustments: [{
|
|
37
|
-
* createdAt: "2023-01-01T00:00:
|
|
37
|
+
* createdAt: new Date("2023-01-01T00:00:00.000Z"),
|
|
38
38
|
* adjustmentGroupCode: "CO",
|
|
39
39
|
* adjustmentReasonCode: "CO",
|
|
40
40
|
* adjustmentAmountCents: 1000,
|
|
@@ -42,8 +42,8 @@ import * as CandidApi from "../../../index";
|
|
|
42
42
|
* }],
|
|
43
43
|
* relatedInvoices: [{
|
|
44
44
|
* id: CandidApi.InvoiceId("901BE2F1-41BC-456E-9987-4FE2F84F9D75"),
|
|
45
|
-
* createdAt: "2023-01-01T00:00:
|
|
46
|
-
* updatedAt: "2023-01-01T00:00:
|
|
45
|
+
* createdAt: new Date("2023-01-01T00:00:00.000Z"),
|
|
46
|
+
* updatedAt: new Date("2023-01-01T00:00:00.000Z"),
|
|
47
47
|
* organzationId: CandidApi.OrganizationId("F13F73D4-4344-46EA-9D93-33BCFFBB9F36"),
|
|
48
48
|
* sourceId: "9B626577-8808-4F28-9ED1-F0DFF0D49BBC",
|
|
49
49
|
* sourceCustomerId: "624D1972-8C69-4C2F-AEFA-10856F734DB3",
|
|
@@ -10,16 +10,8 @@ export declare namespace Contracts {
|
|
|
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 Contracts {
|
|
@@ -10,6 +10,8 @@ export declare namespace V2 {
|
|
|
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 V2 {
|
|
|
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 V2 {
|
|
@@ -32,7 +36,8 @@ export declare class V2 {
|
|
|
32
36
|
* @example
|
|
33
37
|
* await client.contracts.v2.get(CandidApi.contracts.v2.ContractId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
|
|
34
38
|
*/
|
|
35
|
-
get(contractId: CandidApi.contracts.v2.ContractId, requestOptions?: V2.RequestOptions):
|
|
39
|
+
get(contractId: CandidApi.contracts.v2.ContractId, requestOptions?: V2.RequestOptions): core.HttpResponsePromise<core.APIResponse<CandidApi.contracts.v2.ContractWithProviders, CandidApi.contracts.v2.get.Error>>;
|
|
40
|
+
private __get;
|
|
36
41
|
/**
|
|
37
42
|
* @param {CandidApi.contracts.v2.GetMultiContractsRequest} request
|
|
38
43
|
* @param {V2.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -40,7 +45,8 @@ export declare class V2 {
|
|
|
40
45
|
* @example
|
|
41
46
|
* await client.contracts.v2.getMulti()
|
|
42
47
|
*/
|
|
43
|
-
getMulti(request?: CandidApi.contracts.v2.GetMultiContractsRequest, requestOptions?: V2.RequestOptions):
|
|
48
|
+
getMulti(request?: CandidApi.contracts.v2.GetMultiContractsRequest, requestOptions?: V2.RequestOptions): core.HttpResponsePromise<core.APIResponse<CandidApi.contracts.v2.ContractsPage, CandidApi.contracts.v2.getMulti.Error>>;
|
|
49
|
+
private __getMulti;
|
|
44
50
|
/**
|
|
45
51
|
* Creates a new contract within the user's current organization
|
|
46
52
|
*
|
|
@@ -51,10 +57,25 @@ export declare class V2 {
|
|
|
51
57
|
* await client.contracts.v2.create({
|
|
52
58
|
* contractingProviderId: CandidApi.contracts.v2.ContractingProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
53
59
|
* renderingProviderIds: new Set([CandidApi.contracts.v2.RenderingProviderid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]),
|
|
54
|
-
* payerUuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
|
|
60
|
+
* payerUuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
|
61
|
+
* effectiveDate: CandidApi.Date_("effective_date"),
|
|
62
|
+
* regions: {
|
|
63
|
+
* type: "states",
|
|
64
|
+
* states: ["AA", "AA"]
|
|
65
|
+
* },
|
|
66
|
+
* commercialInsuranceTypes: {
|
|
67
|
+
* type: "allApply"
|
|
68
|
+
* },
|
|
69
|
+
* medicareInsuranceTypes: {
|
|
70
|
+
* type: "allApply"
|
|
71
|
+
* },
|
|
72
|
+
* medicaidInsuranceTypes: {
|
|
73
|
+
* type: "allApply"
|
|
74
|
+
* }
|
|
55
75
|
* })
|
|
56
76
|
*/
|
|
57
|
-
create(request: CandidApi.contracts.v2.ContractCreate, requestOptions?: V2.RequestOptions):
|
|
77
|
+
create(request: CandidApi.contracts.v2.ContractCreate, requestOptions?: V2.RequestOptions): core.HttpResponsePromise<core.APIResponse<CandidApi.contracts.v2.ContractWithProviders, CandidApi.contracts.v2.create.Error>>;
|
|
78
|
+
private __create;
|
|
58
79
|
/**
|
|
59
80
|
* @param {CandidApi.contracts.v2.ContractId} contractId
|
|
60
81
|
* @param {V2.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -62,7 +83,8 @@ export declare class V2 {
|
|
|
62
83
|
* @example
|
|
63
84
|
* await client.contracts.v2.delete(CandidApi.contracts.v2.ContractId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
|
|
64
85
|
*/
|
|
65
|
-
delete(contractId: CandidApi.contracts.v2.ContractId, requestOptions?: V2.RequestOptions):
|
|
86
|
+
delete(contractId: CandidApi.contracts.v2.ContractId, requestOptions?: V2.RequestOptions): core.HttpResponsePromise<core.APIResponse<void, CandidApi.contracts.v2.delete.Error>>;
|
|
87
|
+
private __delete;
|
|
66
88
|
/**
|
|
67
89
|
* @param {CandidApi.contracts.v2.ContractId} contractId
|
|
68
90
|
* @param {CandidApi.contracts.v2.ContractUpdate} request
|
|
@@ -71,6 +93,7 @@ export declare class V2 {
|
|
|
71
93
|
* @example
|
|
72
94
|
* await client.contracts.v2.update(CandidApi.contracts.v2.ContractId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
|
|
73
95
|
*/
|
|
74
|
-
update(contractId: CandidApi.contracts.v2.ContractId, request?: CandidApi.contracts.v2.ContractUpdate, requestOptions?: V2.RequestOptions):
|
|
96
|
+
update(contractId: CandidApi.contracts.v2.ContractId, request?: CandidApi.contracts.v2.ContractUpdate, requestOptions?: V2.RequestOptions): core.HttpResponsePromise<core.APIResponse<CandidApi.contracts.v2.ContractWithProviders, CandidApi.contracts.v2.update.Error>>;
|
|
97
|
+
private __update;
|
|
75
98
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
76
99
|
}
|