candidhealth 1.8.1 → 1.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.d.ts +5 -1
- package/Client.js +10 -4
- package/README.md +28 -3
- package/api/resources/auth/client/Client.d.ts +2 -10
- package/api/resources/auth/resources/default/client/Client.d.ts +7 -14
- package/api/resources/auth/resources/default/client/Client.js +39 -68
- package/api/resources/auth/resources/default/client/index.d.ts +1 -2
- package/api/resources/auth/resources/default/client/index.js +5 -6
- package/api/resources/auth/resources/default/client/requests/index.d.ts +0 -1
- package/api/resources/billingNotes/client/Client.d.ts +2 -10
- package/api/resources/billingNotes/resources/v2/client/Client.d.ts +13 -5
- package/api/resources/billingNotes/resources/v2/client/Client.js +100 -54
- package/api/resources/billingNotes/resources/v2/client/index.d.ts +1 -1
- package/api/resources/billingNotes/resources/v2/client/index.js +4 -4
- package/api/resources/billingNotes/resources/v2/client/requests/StandaloneBillingNoteCreate.d.ts +2 -1
- package/api/resources/billingNotes/resources/v2/types/BillingNote.d.ts +1 -1
- package/api/resources/chargeCapture/client/Client.d.ts +2 -10
- package/api/resources/chargeCapture/resources/v1/client/Client.d.ts +17 -7
- package/api/resources/chargeCapture/resources/v1/client/Client.js +208 -116
- package/api/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
- package/api/resources/chargeCapture/resources/v1/client/index.js +4 -4
- package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +37 -111
- package/api/resources/chargeCaptureBundles/client/Client.d.ts +2 -10
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +13 -5
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +115 -65
- package/api/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +1 -1
- package/api/resources/chargeCaptureBundles/resources/v1/client/index.js +4 -4
- package/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureClaimCreationsRequest.d.ts +21 -63
- package/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +2 -2
- package/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.d.ts +2 -2
- package/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +4 -4
- package/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreateOptional.d.ts +4 -4
- package/api/resources/claims/types/Claim.d.ts +5 -5
- package/api/resources/contracts/client/Client.d.ts +2 -10
- package/api/resources/contracts/resources/v2/client/Client.d.ts +30 -7
- package/api/resources/contracts/resources/v2/client/Client.js +179 -93
- package/api/resources/contracts/resources/v2/client/index.d.ts +1 -1
- package/api/resources/contracts/resources/v2/client/index.js +4 -4
- package/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +15 -1
- package/api/resources/contracts/resources/v2/client/requests/GetMultiContractsRequest.d.ts +5 -15
- package/api/resources/credentialing/client/Client.d.ts +2 -10
- package/api/resources/credentialing/resources/v2/client/Client.d.ts +25 -11
- package/api/resources/credentialing/resources/v2/client/Client.js +374 -211
- package/api/resources/credentialing/resources/v2/client/index.d.ts +1 -1
- package/api/resources/credentialing/resources/v2/client/index.js +4 -4
- package/api/resources/credentialing/resources/v2/client/requests/GetAllFacilityCredentialingSpansRequest.d.ts +4 -12
- package/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +5 -15
- package/api/resources/customSchemas/client/Client.d.ts +2 -10
- package/api/resources/customSchemas/resources/v1/client/Client.d.ts +13 -5
- package/api/resources/customSchemas/resources/v1/client/Client.js +154 -89
- package/api/resources/customSchemas/resources/v1/client/index.d.ts +1 -1
- package/api/resources/customSchemas/resources/v1/client/index.js +4 -4
- package/api/resources/diagnoses/client/Client.d.ts +13 -6
- package/api/resources/diagnoses/client/Client.js +101 -56
- package/api/resources/diagnoses/client/index.d.ts +1 -1
- package/api/resources/diagnoses/client/index.js +4 -4
- package/api/resources/diagnoses/types/Diagnosis.d.ts +2 -2
- package/api/resources/eligibility/client/Client.d.ts +2 -10
- package/api/resources/eligibility/resources/v2/client/Client.d.ts +11 -4
- package/api/resources/eligibility/resources/v2/client/Client.js +102 -52
- package/api/resources/encounterAttachments/client/Client.d.ts +2 -10
- package/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +11 -4
- package/api/resources/encounterAttachments/resources/v1/client/Client.js +74 -37
- package/api/resources/encounterAttachments/resources/v1/client/index.d.ts +1 -1
- package/api/resources/encounterAttachments/resources/v1/client/index.js +4 -4
- package/api/resources/encounterProviders/client/Client.d.ts +2 -10
- package/api/resources/encounterProviders/resources/v2/client/Client.d.ts +29 -13
- package/api/resources/encounterProviders/resources/v2/client/Client.js +449 -238
- package/api/resources/encounters/client/Client.d.ts +2 -10
- package/api/resources/encounters/resources/v4/client/Client.d.ts +50 -135
- package/api/resources/encounters/resources/v4/client/Client.js +207 -390
- package/api/resources/encounters/resources/v4/client/index.d.ts +1 -4
- package/api/resources/encounters/resources/v4/client/index.js +5 -8
- package/api/resources/encounters/resources/v4/client/requests/GetAllEncountersRequest.d.ts +14 -40
- package/api/resources/encounters/resources/v4/types/ClinicalNoteCategory.d.ts +1 -1
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +12 -12
- package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +12 -12
- package/api/resources/encounters/resources/v4/types/EncounterSubmissionExpectation.d.ts +2 -3
- package/api/resources/encountersUniversal/types/index.d.ts +0 -3
- package/api/resources/encountersUniversal/types/index.js +0 -3
- package/api/resources/expectedNetworkStatus/client/Client.d.ts +2 -10
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +7 -2
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +27 -16
- package/api/resources/expectedNetworkStatus/resources/v1/client/index.d.ts +1 -1
- package/api/resources/expectedNetworkStatus/resources/v1/client/index.js +4 -4
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +9 -3
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +79 -46
- package/api/resources/exports/client/Client.d.ts +2 -10
- package/api/resources/exports/resources/v3/client/Client.d.ts +7 -2
- package/api/resources/exports/resources/v3/client/Client.js +39 -27
- package/api/resources/exports/resources/v3/client/index.d.ts +1 -1
- package/api/resources/exports/resources/v3/client/index.js +4 -4
- package/api/resources/exports/resources/v3/types/GetExportsResponse.d.ts +2 -2
- package/api/resources/externalPaymentAccountConfig/client/Client.d.ts +2 -10
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.d.ts +7 -2
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +28 -20
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/index.d.ts +1 -1
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/index.js +4 -4
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/requests/GetExternalPaymentAccountConfigsRequest.d.ts +1 -3
- package/api/resources/feeSchedules/client/Client.d.ts +2 -10
- package/api/resources/feeSchedules/resources/v3/client/Client.d.ts +29 -13
- package/api/resources/feeSchedules/resources/v3/client/Client.js +381 -211
- package/api/resources/feeSchedules/resources/v3/client/index.d.ts +1 -1
- package/api/resources/feeSchedules/resources/v3/client/index.js +4 -4
- package/api/resources/feeSchedules/resources/v3/client/requests/GetMultiRequest.d.ts +1 -3
- package/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts +2 -6
- package/api/resources/guarantor/client/Client.d.ts +2 -10
- package/api/resources/guarantor/resources/v1/client/Client.d.ts +11 -4
- package/api/resources/guarantor/resources/v1/client/Client.js +91 -50
- package/api/resources/guarantor/resources/v1/types/Guarantor.d.ts +1 -1
- package/api/resources/healthCareCodeInformation/client/Client.d.ts +2 -10
- package/api/resources/healthCareCodeInformation/resources/v1/client/Client.d.ts +9 -3
- package/api/resources/healthCareCodeInformation/resources/v1/client/Client.js +78 -47
- package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.d.ts +433 -40
- package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.js +95 -1
- package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.d.ts +12 -1
- package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.d.ts +0 -52
- package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.d.ts +14 -1
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceCode.d.ts +3 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformation.d.ts +6 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.d.ts +24 -5
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.js +5 -1
- package/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformation.d.ts +6 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformation.d.ts +6 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.d.ts +12 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +0 -16
- package/api/resources/healthCareCodeInformation/resources/v1/types/index.js +0 -16
- package/api/resources/importInvoice/client/Client.d.ts +2 -10
- package/api/resources/importInvoice/resources/v1/client/Client.d.ts +13 -5
- package/api/resources/importInvoice/resources/v1/client/Client.js +142 -82
- package/api/resources/importInvoice/resources/v1/client/index.d.ts +1 -1
- package/api/resources/importInvoice/resources/v1/client/index.js +4 -4
- package/api/resources/importInvoice/resources/v1/client/requests/SearchImportedInvoicesRequest.d.ts +7 -21
- package/api/resources/individual/types/Patient.d.ts +1 -1
- package/api/resources/insuranceAdjudications/client/Client.d.ts +2 -10
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +11 -4
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +86 -47
- package/api/resources/insurancePayments/client/Client.d.ts +2 -10
- package/api/resources/insurancePayments/resources/v1/client/Client.d.ts +9 -3
- package/api/resources/insurancePayments/resources/v1/client/Client.js +78 -50
- package/api/resources/insurancePayments/resources/v1/client/index.d.ts +1 -1
- package/api/resources/insurancePayments/resources/v1/client/index.js +4 -4
- package/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.d.ts +3 -9
- package/api/resources/insuranceRefunds/client/Client.d.ts +2 -10
- package/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +15 -6
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +188 -108
- package/api/resources/insuranceRefunds/resources/v1/client/index.d.ts +1 -1
- package/api/resources/insuranceRefunds/resources/v1/client/index.js +4 -4
- package/api/resources/insuranceRefunds/resources/v1/client/requests/GetMultiInsuranceRefundsRequest.d.ts +3 -9
- package/api/resources/medicationDispense/client/Client.d.ts +2 -10
- package/api/resources/medicationDispense/resources/v1/client/Client.d.ts +7 -2
- package/api/resources/medicationDispense/resources/v1/client/Client.js +39 -24
- package/api/resources/nonInsurancePayerPayments/client/Client.d.ts +2 -10
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.d.ts +15 -6
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +188 -108
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/index.d.ts +1 -1
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/index.js +4 -4
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/GetMultiNonInsurancePayerPaymentRequest.d.ts +3 -9
- package/api/resources/nonInsurancePayerRefunds/client/Client.d.ts +2 -10
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.d.ts +15 -6
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +188 -108
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/index.d.ts +1 -1
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/index.js +4 -4
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/GetMultiNonInsurancePayerRefundsRequest.d.ts +3 -9
- package/api/resources/nonInsurancePayers/client/Client.d.ts +2 -10
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +19 -8
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +252 -143
- package/api/resources/nonInsurancePayers/resources/v1/client/index.d.ts +1 -1
- package/api/resources/nonInsurancePayers/resources/v1/client/index.js +4 -4
- package/api/resources/nonInsurancePayers/resources/v1/client/requests/GetMultiNonInsurancePayersRequest.d.ts +2 -6
- package/api/resources/nonInsurancePayers/resources/v1/client/requests/GetNonInsurancePayersCategoriesRequest.d.ts +3 -9
- package/api/resources/organizationProviders/client/Client.d.ts +2 -10
- package/api/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +3 -1
- package/api/resources/organizationProviders/resources/v2/types/LicenseType.js +2 -0
- package/api/resources/organizationProviders/resources/v3/client/Client.d.ts +13 -5
- package/api/resources/organizationProviders/resources/v3/client/Client.js +142 -82
- package/api/resources/organizationProviders/resources/v3/client/index.d.ts +1 -1
- package/api/resources/organizationProviders/resources/v3/client/index.js +4 -4
- package/api/resources/organizationProviders/resources/v3/client/requests/GetAllOrganizationProvidersRequestV2.d.ts +8 -24
- package/api/resources/organizationServiceFacilities/client/Client.d.ts +2 -10
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.d.ts +28 -6
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +261 -100
- package/api/resources/organizationServiceFacilities/resources/v2/client/getByExternalId.d.ts +28 -0
- package/api/resources/{auth/resources/default/client/getMachineTokenForOrgId.js → organizationServiceFacilities/resources/v2/client/getByExternalId.js} +12 -1
- package/api/resources/organizationServiceFacilities/resources/v2/client/index.d.ts +2 -1
- package/api/resources/organizationServiceFacilities/resources/v2/client/index.js +6 -5
- package/api/resources/organizationServiceFacilities/resources/v2/client/requests/GetAllOrganizationServiceFacilitiesRequest.d.ts +8 -12
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +4 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +4 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +4 -0
- package/api/resources/patientAr/client/Client.d.ts +2 -10
- package/api/resources/patientAr/resources/v1/client/Client.d.ts +9 -3
- package/api/resources/patientAr/resources/v1/client/Client.js +78 -50
- package/api/resources/patientAr/resources/v1/client/index.d.ts +1 -1
- package/api/resources/patientAr/resources/v1/client/index.js +4 -4
- package/api/resources/patientAr/resources/v1/client/requests/GetInventoryRecordsRequest.d.ts +2 -6
- package/api/resources/patientPayments/client/Client.d.ts +2 -10
- package/api/resources/patientPayments/resources/v3/types/PatientPayment.d.ts +1 -1
- package/api/resources/patientPayments/resources/v4/client/Client.d.ts +15 -6
- package/api/resources/patientPayments/resources/v4/client/Client.js +188 -108
- package/api/resources/patientPayments/resources/v4/client/index.d.ts +1 -1
- package/api/resources/patientPayments/resources/v4/client/index.js +4 -4
- package/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +4 -12
- package/api/resources/patientRefunds/client/Client.d.ts +2 -10
- package/api/resources/patientRefunds/resources/v1/client/Client.d.ts +15 -6
- package/api/resources/patientRefunds/resources/v1/client/Client.js +188 -108
- package/api/resources/patientRefunds/resources/v1/client/index.d.ts +1 -1
- package/api/resources/patientRefunds/resources/v1/client/index.js +4 -4
- package/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +4 -12
- package/api/resources/payerPlanGroups/client/Client.d.ts +2 -10
- package/api/resources/payerPlanGroups/resources/v1/client/Client.d.ts +15 -6
- package/api/resources/payerPlanGroups/resources/v1/client/Client.js +192 -112
- package/api/resources/payerPlanGroups/resources/v1/client/index.d.ts +1 -1
- package/api/resources/payerPlanGroups/resources/v1/client/index.js +4 -4
- package/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.d.ts +3 -9
- package/api/resources/payers/client/Client.d.ts +2 -10
- package/api/resources/payers/resources/v3/client/Client.d.ts +9 -3
- package/api/resources/payers/resources/v3/client/Client.js +54 -34
- package/api/resources/payers/resources/v3/client/index.d.ts +1 -1
- package/api/resources/payers/resources/v3/client/index.js +4 -4
- package/api/resources/payers/resources/v3/client/requests/GetAllPayersRequest.d.ts +1 -3
- package/api/resources/payers/resources/v4/client/Client.d.ts +9 -3
- package/api/resources/payers/resources/v4/client/Client.js +54 -34
- package/api/resources/payers/resources/v4/client/index.d.ts +1 -1
- package/api/resources/payers/resources/v4/client/index.js +4 -4
- package/api/resources/payers/resources/v4/client/requests/GetAllPayersRequest.d.ts +1 -3
- package/api/resources/payers/resources/v4/types/Payer.d.ts +2 -0
- package/api/resources/preEncounter/client/Client.d.ts +2 -10
- package/api/resources/preEncounter/resources/appointments/client/Client.d.ts +2 -10
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +22 -11
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +254 -147
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/index.d.ts +1 -1
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/index.js +4 -4
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/AppointmentScanRequest.d.ts +1 -1
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +2 -6
- package/api/resources/preEncounter/resources/common/types/CanonicalServiceFacilityId.d.ts +11 -0
- package/api/resources/{encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.js → preEncounter/resources/common/types/CanonicalServiceFacilityId.js} +4 -0
- package/api/resources/preEncounter/resources/common/types/FilterQueryString.d.ts +1 -1
- package/api/resources/preEncounter/resources/common/types/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/common/types/index.js +1 -0
- package/api/resources/preEncounter/resources/coverages/client/Client.d.ts +2 -10
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +26 -12
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +296 -161
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +1 -1
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/index.js +4 -4
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiPaginatedRequest.d.ts +1 -3
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageScanRequest.d.ts +1 -1
- package/api/resources/preEncounter/resources/eligibilityChecks/client/Client.d.ts +2 -10
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +17 -7
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +160 -88
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.d.ts +1 -1
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.js +4 -4
- package/api/resources/preEncounter/resources/images/client/Client.d.ts +2 -10
- package/api/resources/preEncounter/resources/images/resources/v1/client/Client.d.ts +15 -6
- package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +175 -99
- package/api/resources/preEncounter/resources/images/resources/v1/client/index.d.ts +1 -1
- package/api/resources/preEncounter/resources/images/resources/v1/client/index.js +4 -4
- package/api/resources/preEncounter/resources/lists/client/Client.d.ts +2 -10
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.d.ts +9 -3
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +67 -44
- package/api/resources/preEncounter/resources/lists/resources/v1/client/index.d.ts +1 -1
- package/api/resources/preEncounter/resources/lists/resources/v1/client/index.js +4 -4
- package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +3 -9
- package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +2 -6
- package/api/resources/preEncounter/resources/notes/client/Client.d.ts +2 -10
- package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.d.ts +13 -5
- package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +100 -51
- package/api/resources/preEncounter/resources/patients/client/Client.d.ts +2 -10
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +32 -16
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +404 -231
- package/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +4 -4
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +2 -2
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientGetMultiRequest.d.ts +1 -3
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientScanRequest.d.ts +1 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequestPaginated.d.ts +1 -3
- package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/PatientServiceFacility.d.ts +10 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +1 -0
- package/api/resources/preEncounter/resources/tags/client/Client.d.ts +2 -10
- package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.d.ts +15 -6
- package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +127 -67
- package/api/resources/preEncounter/resources/tags/resources/v1/client/index.d.ts +1 -1
- package/api/resources/preEncounter/resources/tags/resources/v1/client/index.js +4 -4
- package/api/resources/serviceFacility/client/Client.d.ts +7 -2
- package/api/resources/serviceFacility/client/Client.js +27 -16
- package/api/resources/serviceLines/client/Client.d.ts +2 -10
- package/api/resources/serviceLines/resources/v2/client/Client.d.ts +17 -8
- package/api/resources/serviceLines/resources/v2/client/Client.js +188 -103
- package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +5 -5
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +1 -1
- package/api/resources/serviceLines/resources/v2/types/index.d.ts +0 -1
- package/api/resources/serviceLines/resources/v2/types/index.js +0 -1
- package/api/resources/superbills/client/Client.d.ts +2 -10
- package/api/resources/superbills/resources/v1/client/Client.d.ts +7 -2
- package/api/resources/superbills/resources/v1/client/Client.js +39 -24
- package/api/resources/superbills/resources/v1/client/index.d.ts +1 -1
- package/api/resources/superbills/resources/v1/client/index.js +4 -4
- package/api/resources/tasks/client/Client.d.ts +2 -10
- package/api/resources/tasks/resources/v3/client/Client.d.ts +15 -6
- package/api/resources/tasks/resources/v3/client/Client.js +168 -96
- package/api/resources/tasks/resources/v3/client/index.d.ts +1 -1
- package/api/resources/tasks/resources/v3/client/index.js +4 -4
- package/api/resources/tasks/resources/v3/client/requests/GetAllTasksRequest.d.ts +10 -30
- package/api/resources/writeOffs/client/Client.d.ts +2 -10
- package/api/resources/writeOffs/resources/v1/client/Client.d.ts +19 -9
- package/api/resources/writeOffs/resources/v1/client/Client.js +160 -90
- package/api/resources/writeOffs/resources/v1/client/index.d.ts +1 -1
- package/api/resources/writeOffs/resources/v1/client/index.js +4 -4
- package/api/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.d.ts +2 -2
- package/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +4 -12
- package/api/resources/x12/resources/v1/types/index.d.ts +0 -1
- package/api/resources/x12/resources/v1/types/index.js +0 -1
- package/core/auth/AuthProvider.d.ts +4 -0
- package/core/auth/AuthProvider.js +2 -0
- package/core/auth/AuthRequest.d.ts +9 -0
- package/core/auth/AuthRequest.js +2 -0
- package/core/auth/BasicAuth.js +3 -3
- package/core/base64.d.ts +2 -0
- package/core/base64.js +26 -0
- package/core/fetcher/APIResponse.d.ts +10 -0
- package/core/fetcher/BinaryResponse.d.ts +20 -0
- package/core/fetcher/BinaryResponse.js +17 -0
- package/core/fetcher/Fetcher.d.ts +4 -3
- package/core/fetcher/Fetcher.js +32 -12
- package/core/fetcher/Headers.d.ts +2 -0
- package/core/fetcher/Headers.js +84 -0
- package/core/fetcher/HttpResponsePromise.d.ts +58 -0
- package/core/fetcher/HttpResponsePromise.js +103 -0
- package/core/fetcher/RawResponse.d.ts +29 -0
- package/core/fetcher/RawResponse.js +44 -0
- package/core/fetcher/ResponseWithBody.d.ts +4 -0
- package/core/fetcher/ResponseWithBody.js +6 -0
- package/core/fetcher/createRequestUrl.d.ts +1 -1
- package/core/fetcher/createRequestUrl.js +3 -7
- package/core/fetcher/getErrorResponseBody.d.ts +1 -0
- package/core/fetcher/getErrorResponseBody.js +44 -0
- package/core/fetcher/getFetchFn.js +3 -3
- package/core/fetcher/getResponseBody.js +34 -32
- package/core/fetcher/index.d.ts +5 -1
- package/core/fetcher/index.js +7 -1
- package/core/fetcher/requestWithRetries.js +44 -8
- package/core/form-data-utils/FormDataWrapper.d.ts +4 -0
- package/core/form-data-utils/FormDataWrapper.js +58 -13
- package/core/form-data-utils/encodeAsFormParameter.d.ts +1 -0
- package/core/form-data-utils/encodeAsFormParameter.js +12 -0
- package/core/form-data-utils/index.d.ts +1 -0
- package/core/form-data-utils/index.js +3 -0
- package/core/headers.d.ts +3 -0
- package/core/headers.js +29 -0
- package/core/index.d.ts +2 -0
- package/core/index.js +3 -1
- package/core/runtime/runtime.js +0 -1
- package/core/schemas/builders/lazy/index.d.ts +1 -1
- package/core/schemas/builders/literals/index.d.ts +1 -1
- package/core/schemas/builders/literals/index.js +3 -3
- package/core/schemas/builders/object/index.d.ts +2 -2
- package/core/schemas/builders/object/object.d.ts +1 -1
- package/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +1 -1
- package/core/schemas/builders/object/types.d.ts +1 -1
- package/core/schemas/builders/schema-utils/index.d.ts +1 -1
- package/core/schemas/builders/undiscriminated-union/types.d.ts +1 -1
- package/core/schemas/builders/union/index.d.ts +1 -1
- package/core/schemas/builders/union/types.d.ts +1 -1
- package/core/schemas/builders/union/union.d.ts +1 -1
- package/core/schemas/utils/maybeSkipValidation.js +1 -1
- package/core/url/index.d.ts +2 -0
- package/core/url/index.js +7 -0
- package/core/url/join.d.ts +1 -0
- package/core/url/join.js +69 -0
- package/core/url/qs.d.ts +6 -0
- package/core/url/qs.js +64 -0
- package/dist/Client.d.ts +5 -1
- package/dist/Client.js +10 -4
- package/dist/api/resources/auth/client/Client.d.ts +2 -10
- package/dist/api/resources/auth/resources/default/client/Client.d.ts +7 -14
- package/dist/api/resources/auth/resources/default/client/Client.js +39 -68
- package/dist/api/resources/auth/resources/default/client/index.d.ts +1 -2
- package/dist/api/resources/auth/resources/default/client/index.js +5 -6
- package/dist/api/resources/auth/resources/default/client/requests/index.d.ts +0 -1
- package/dist/api/resources/billingNotes/client/Client.d.ts +2 -10
- package/dist/api/resources/billingNotes/resources/v2/client/Client.d.ts +13 -5
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +100 -54
- package/dist/api/resources/billingNotes/resources/v2/client/index.d.ts +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/index.js +4 -4
- package/dist/api/resources/billingNotes/resources/v2/client/requests/StandaloneBillingNoteCreate.d.ts +2 -1
- package/dist/api/resources/billingNotes/resources/v2/types/BillingNote.d.ts +1 -1
- package/dist/api/resources/chargeCapture/client/Client.d.ts +2 -10
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +17 -7
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +208 -116
- package/dist/api/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/chargeCapture/resources/v1/client/index.js +4 -4
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +37 -111
- package/dist/api/resources/chargeCaptureBundles/client/Client.d.ts +2 -10
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +13 -5
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +115 -65
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/index.js +4 -4
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureClaimCreationsRequest.d.ts +21 -63
- package/dist/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +2 -2
- package/dist/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.d.ts +2 -2
- package/dist/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +4 -4
- package/dist/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreateOptional.d.ts +4 -4
- package/dist/api/resources/claims/types/Claim.d.ts +5 -5
- package/dist/api/resources/contracts/client/Client.d.ts +2 -10
- package/dist/api/resources/contracts/resources/v2/client/Client.d.ts +30 -7
- package/dist/api/resources/contracts/resources/v2/client/Client.js +179 -93
- package/dist/api/resources/contracts/resources/v2/client/index.d.ts +1 -1
- package/dist/api/resources/contracts/resources/v2/client/index.js +4 -4
- package/dist/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +15 -1
- package/dist/api/resources/contracts/resources/v2/client/requests/GetMultiContractsRequest.d.ts +5 -15
- package/dist/api/resources/credentialing/client/Client.d.ts +2 -10
- package/dist/api/resources/credentialing/resources/v2/client/Client.d.ts +25 -11
- package/dist/api/resources/credentialing/resources/v2/client/Client.js +374 -211
- package/dist/api/resources/credentialing/resources/v2/client/index.d.ts +1 -1
- package/dist/api/resources/credentialing/resources/v2/client/index.js +4 -4
- package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllFacilityCredentialingSpansRequest.d.ts +4 -12
- package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +5 -15
- package/dist/api/resources/customSchemas/client/Client.d.ts +2 -10
- package/dist/api/resources/customSchemas/resources/v1/client/Client.d.ts +13 -5
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +154 -89
- package/dist/api/resources/customSchemas/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/customSchemas/resources/v1/client/index.js +4 -4
- package/dist/api/resources/diagnoses/client/Client.d.ts +13 -6
- package/dist/api/resources/diagnoses/client/Client.js +101 -56
- package/dist/api/resources/diagnoses/client/index.d.ts +1 -1
- package/dist/api/resources/diagnoses/client/index.js +4 -4
- package/dist/api/resources/diagnoses/types/Diagnosis.d.ts +2 -2
- package/dist/api/resources/eligibility/client/Client.d.ts +2 -10
- package/dist/api/resources/eligibility/resources/v2/client/Client.d.ts +11 -4
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +102 -52
- package/dist/api/resources/encounterAttachments/client/Client.d.ts +2 -10
- package/dist/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +11 -4
- package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +74 -37
- package/dist/api/resources/encounterAttachments/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/encounterAttachments/resources/v1/client/index.js +4 -4
- package/dist/api/resources/encounterProviders/client/Client.d.ts +2 -10
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.d.ts +29 -13
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +449 -238
- package/dist/api/resources/encounters/client/Client.d.ts +2 -10
- package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +50 -135
- package/dist/api/resources/encounters/resources/v4/client/Client.js +207 -390
- package/dist/api/resources/encounters/resources/v4/client/index.d.ts +1 -4
- package/dist/api/resources/encounters/resources/v4/client/index.js +5 -8
- package/dist/api/resources/encounters/resources/v4/client/requests/GetAllEncountersRequest.d.ts +14 -40
- package/dist/api/resources/encounters/resources/v4/types/ClinicalNoteCategory.d.ts +1 -1
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +12 -12
- package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +12 -12
- package/dist/api/resources/encounters/resources/v4/types/EncounterSubmissionExpectation.d.ts +2 -3
- package/dist/api/resources/encountersUniversal/types/index.d.ts +0 -3
- package/dist/api/resources/encountersUniversal/types/index.js +0 -3
- package/dist/api/resources/expectedNetworkStatus/client/Client.d.ts +2 -10
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +7 -2
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +27 -16
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/index.js +4 -4
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +9 -3
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +79 -46
- package/dist/api/resources/exports/client/Client.d.ts +2 -10
- package/dist/api/resources/exports/resources/v3/client/Client.d.ts +7 -2
- package/dist/api/resources/exports/resources/v3/client/Client.js +39 -27
- package/dist/api/resources/exports/resources/v3/client/index.d.ts +1 -1
- package/dist/api/resources/exports/resources/v3/client/index.js +4 -4
- package/dist/api/resources/exports/resources/v3/types/GetExportsResponse.d.ts +2 -2
- package/dist/api/resources/externalPaymentAccountConfig/client/Client.d.ts +2 -10
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.d.ts +7 -2
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +28 -20
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/index.js +4 -4
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/requests/GetExternalPaymentAccountConfigsRequest.d.ts +1 -3
- package/dist/api/resources/feeSchedules/client/Client.d.ts +2 -10
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.d.ts +29 -13
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +381 -211
- package/dist/api/resources/feeSchedules/resources/v3/client/index.d.ts +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/index.js +4 -4
- package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetMultiRequest.d.ts +1 -3
- package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts +2 -6
- package/dist/api/resources/guarantor/client/Client.d.ts +2 -10
- package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +11 -4
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +91 -50
- package/dist/api/resources/guarantor/resources/v1/types/Guarantor.d.ts +1 -1
- package/dist/api/resources/healthCareCodeInformation/client/Client.d.ts +2 -10
- package/dist/api/resources/healthCareCodeInformation/resources/v1/client/Client.d.ts +9 -3
- package/dist/api/resources/healthCareCodeInformation/resources/v1/client/Client.js +78 -47
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.d.ts +433 -40
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.js +95 -1
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.d.ts +12 -1
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.d.ts +0 -52
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.d.ts +14 -1
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceCode.d.ts +3 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformation.d.ts +6 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.d.ts +24 -5
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.js +5 -1
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformation.d.ts +6 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformation.d.ts +6 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.d.ts +12 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +0 -16
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/index.js +0 -16
- package/dist/api/resources/importInvoice/client/Client.d.ts +2 -10
- package/dist/api/resources/importInvoice/resources/v1/client/Client.d.ts +13 -5
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +142 -82
- package/dist/api/resources/importInvoice/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/importInvoice/resources/v1/client/index.js +4 -4
- package/dist/api/resources/importInvoice/resources/v1/client/requests/SearchImportedInvoicesRequest.d.ts +7 -21
- package/dist/api/resources/individual/types/Patient.d.ts +1 -1
- package/dist/api/resources/insuranceAdjudications/client/Client.d.ts +2 -10
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +11 -4
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +86 -47
- package/dist/api/resources/insurancePayments/client/Client.d.ts +2 -10
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.d.ts +9 -3
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +78 -50
- package/dist/api/resources/insurancePayments/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/insurancePayments/resources/v1/client/index.js +4 -4
- package/dist/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.d.ts +3 -9
- package/dist/api/resources/insuranceRefunds/client/Client.d.ts +2 -10
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +15 -6
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +188 -108
- package/dist/api/resources/insuranceRefunds/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/insuranceRefunds/resources/v1/client/index.js +4 -4
- package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/GetMultiInsuranceRefundsRequest.d.ts +3 -9
- package/dist/api/resources/medicationDispense/client/Client.d.ts +2 -10
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.d.ts +7 -2
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +39 -24
- package/dist/api/resources/nonInsurancePayerPayments/client/Client.d.ts +2 -10
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.d.ts +15 -6
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +188 -108
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/index.js +4 -4
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/GetMultiNonInsurancePayerPaymentRequest.d.ts +3 -9
- package/dist/api/resources/nonInsurancePayerRefunds/client/Client.d.ts +2 -10
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.d.ts +15 -6
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +188 -108
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/index.js +4 -4
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/GetMultiNonInsurancePayerRefundsRequest.d.ts +3 -9
- package/dist/api/resources/nonInsurancePayers/client/Client.d.ts +2 -10
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +19 -8
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +252 -143
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/index.js +4 -4
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/requests/GetMultiNonInsurancePayersRequest.d.ts +2 -6
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/requests/GetNonInsurancePayersCategoriesRequest.d.ts +3 -9
- package/dist/api/resources/organizationProviders/client/Client.d.ts +2 -10
- package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +3 -1
- package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.js +2 -0
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.d.ts +13 -5
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +142 -82
- package/dist/api/resources/organizationProviders/resources/v3/client/index.d.ts +1 -1
- package/dist/api/resources/organizationProviders/resources/v3/client/index.js +4 -4
- package/dist/api/resources/organizationProviders/resources/v3/client/requests/GetAllOrganizationProvidersRequestV2.d.ts +8 -24
- package/dist/api/resources/organizationServiceFacilities/client/Client.d.ts +2 -10
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.d.ts +28 -6
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +261 -100
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/getByExternalId.d.ts +28 -0
- package/dist/api/resources/{auth/resources/default/client/getMachineTokenForOrgId.js → organizationServiceFacilities/resources/v2/client/getByExternalId.js} +12 -1
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/index.d.ts +2 -1
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/index.js +6 -5
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/requests/GetAllOrganizationServiceFacilitiesRequest.d.ts +8 -12
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +4 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +4 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +4 -0
- package/dist/api/resources/patientAr/client/Client.d.ts +2 -10
- package/dist/api/resources/patientAr/resources/v1/client/Client.d.ts +9 -3
- package/dist/api/resources/patientAr/resources/v1/client/Client.js +78 -50
- package/dist/api/resources/patientAr/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/patientAr/resources/v1/client/index.js +4 -4
- package/dist/api/resources/patientAr/resources/v1/client/requests/GetInventoryRecordsRequest.d.ts +2 -6
- package/dist/api/resources/patientPayments/client/Client.d.ts +2 -10
- package/dist/api/resources/patientPayments/resources/v3/types/PatientPayment.d.ts +1 -1
- package/dist/api/resources/patientPayments/resources/v4/client/Client.d.ts +15 -6
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +188 -108
- package/dist/api/resources/patientPayments/resources/v4/client/index.d.ts +1 -1
- package/dist/api/resources/patientPayments/resources/v4/client/index.js +4 -4
- package/dist/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +4 -12
- package/dist/api/resources/patientRefunds/client/Client.d.ts +2 -10
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.d.ts +15 -6
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +188 -108
- package/dist/api/resources/patientRefunds/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/patientRefunds/resources/v1/client/index.js +4 -4
- package/dist/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +4 -12
- package/dist/api/resources/payerPlanGroups/client/Client.d.ts +2 -10
- package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.d.ts +15 -6
- package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +192 -112
- package/dist/api/resources/payerPlanGroups/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/payerPlanGroups/resources/v1/client/index.js +4 -4
- package/dist/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.d.ts +3 -9
- package/dist/api/resources/payers/client/Client.d.ts +2 -10
- package/dist/api/resources/payers/resources/v3/client/Client.d.ts +9 -3
- package/dist/api/resources/payers/resources/v3/client/Client.js +54 -34
- package/dist/api/resources/payers/resources/v3/client/index.d.ts +1 -1
- package/dist/api/resources/payers/resources/v3/client/index.js +4 -4
- package/dist/api/resources/payers/resources/v3/client/requests/GetAllPayersRequest.d.ts +1 -3
- package/dist/api/resources/payers/resources/v4/client/Client.d.ts +9 -3
- package/dist/api/resources/payers/resources/v4/client/Client.js +54 -34
- package/dist/api/resources/payers/resources/v4/client/index.d.ts +1 -1
- package/dist/api/resources/payers/resources/v4/client/index.js +4 -4
- package/dist/api/resources/payers/resources/v4/client/requests/GetAllPayersRequest.d.ts +1 -3
- package/dist/api/resources/payers/resources/v4/types/Payer.d.ts +2 -0
- package/dist/api/resources/preEncounter/client/Client.d.ts +2 -10
- package/dist/api/resources/preEncounter/resources/appointments/client/Client.d.ts +2 -10
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +22 -11
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +254 -147
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/index.js +4 -4
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/AppointmentScanRequest.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +2 -6
- package/dist/api/resources/preEncounter/resources/common/types/CanonicalServiceFacilityId.d.ts +11 -0
- package/{api/resources/encountersUniversal/types/UniversalEncounterUpdate.js → dist/api/resources/preEncounter/resources/common/types/CanonicalServiceFacilityId.js} +4 -0
- package/dist/api/resources/preEncounter/resources/common/types/FilterQueryString.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/common/types/index.js +1 -0
- package/dist/api/resources/preEncounter/resources/coverages/client/Client.d.ts +2 -10
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +26 -12
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +296 -161
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/index.js +4 -4
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiPaginatedRequest.d.ts +1 -3
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageScanRequest.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/client/Client.d.ts +2 -10
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +17 -7
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +160 -88
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.js +4 -4
- package/dist/api/resources/preEncounter/resources/images/client/Client.d.ts +2 -10
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.d.ts +15 -6
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +175 -99
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/index.js +4 -4
- package/dist/api/resources/preEncounter/resources/lists/client/Client.d.ts +2 -10
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.d.ts +9 -3
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +67 -44
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/index.js +4 -4
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +3 -9
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +2 -6
- package/dist/api/resources/preEncounter/resources/notes/client/Client.d.ts +2 -10
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.d.ts +13 -5
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +100 -51
- package/dist/api/resources/preEncounter/resources/patients/client/Client.d.ts +2 -10
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +32 -16
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +404 -231
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +4 -4
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +2 -2
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientGetMultiRequest.d.ts +1 -3
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientScanRequest.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequestPaginated.d.ts +1 -3
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/PatientServiceFacility.d.ts +10 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +1 -0
- package/dist/api/resources/preEncounter/resources/tags/client/Client.d.ts +2 -10
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.d.ts +15 -6
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +127 -67
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/index.js +4 -4
- package/dist/api/resources/serviceFacility/client/Client.d.ts +7 -2
- package/dist/api/resources/serviceFacility/client/Client.js +27 -16
- package/dist/api/resources/serviceLines/client/Client.d.ts +2 -10
- package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +17 -8
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +188 -103
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +5 -5
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +1 -1
- package/dist/api/resources/serviceLines/resources/v2/types/index.d.ts +0 -1
- package/dist/api/resources/serviceLines/resources/v2/types/index.js +0 -1
- package/dist/api/resources/superbills/client/Client.d.ts +2 -10
- package/dist/api/resources/superbills/resources/v1/client/Client.d.ts +7 -2
- package/dist/api/resources/superbills/resources/v1/client/Client.js +39 -24
- package/dist/api/resources/superbills/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/superbills/resources/v1/client/index.js +4 -4
- package/dist/api/resources/tasks/client/Client.d.ts +2 -10
- package/dist/api/resources/tasks/resources/v3/client/Client.d.ts +15 -6
- package/dist/api/resources/tasks/resources/v3/client/Client.js +168 -96
- package/dist/api/resources/tasks/resources/v3/client/index.d.ts +1 -1
- package/dist/api/resources/tasks/resources/v3/client/index.js +4 -4
- package/dist/api/resources/tasks/resources/v3/client/requests/GetAllTasksRequest.d.ts +10 -30
- package/dist/api/resources/writeOffs/client/Client.d.ts +2 -10
- package/dist/api/resources/writeOffs/resources/v1/client/Client.d.ts +19 -9
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +160 -90
- package/dist/api/resources/writeOffs/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/writeOffs/resources/v1/client/index.js +4 -4
- package/dist/api/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.d.ts +2 -2
- package/dist/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +4 -12
- package/dist/api/resources/x12/resources/v1/types/index.d.ts +0 -1
- package/dist/api/resources/x12/resources/v1/types/index.js +0 -1
- package/dist/core/auth/AuthProvider.d.ts +4 -0
- package/dist/core/auth/AuthProvider.js +2 -0
- package/dist/core/auth/AuthRequest.d.ts +9 -0
- package/dist/core/auth/AuthRequest.js +2 -0
- package/dist/core/auth/BasicAuth.js +3 -3
- package/dist/core/base64.d.ts +2 -0
- package/dist/core/base64.js +26 -0
- package/dist/core/fetcher/APIResponse.d.ts +10 -0
- package/dist/core/fetcher/BinaryResponse.d.ts +20 -0
- package/dist/core/fetcher/BinaryResponse.js +17 -0
- package/dist/core/fetcher/Fetcher.d.ts +4 -3
- package/dist/core/fetcher/Fetcher.js +32 -12
- package/dist/core/fetcher/Headers.d.ts +2 -0
- package/dist/core/fetcher/Headers.js +84 -0
- package/dist/core/fetcher/HttpResponsePromise.d.ts +58 -0
- package/dist/core/fetcher/HttpResponsePromise.js +103 -0
- package/dist/core/fetcher/RawResponse.d.ts +29 -0
- package/dist/core/fetcher/RawResponse.js +44 -0
- package/dist/core/fetcher/ResponseWithBody.d.ts +4 -0
- package/dist/core/fetcher/ResponseWithBody.js +6 -0
- package/dist/core/fetcher/createRequestUrl.d.ts +1 -1
- package/dist/core/fetcher/createRequestUrl.js +3 -7
- package/dist/core/fetcher/getErrorResponseBody.d.ts +1 -0
- package/dist/core/fetcher/getErrorResponseBody.js +44 -0
- package/dist/core/fetcher/getFetchFn.js +3 -3
- package/dist/core/fetcher/getResponseBody.js +34 -32
- package/dist/core/fetcher/index.d.ts +5 -1
- package/dist/core/fetcher/index.js +7 -1
- package/dist/core/fetcher/requestWithRetries.js +44 -8
- package/dist/core/form-data-utils/FormDataWrapper.d.ts +4 -0
- package/dist/core/form-data-utils/FormDataWrapper.js +58 -13
- package/dist/core/form-data-utils/encodeAsFormParameter.d.ts +1 -0
- package/dist/core/form-data-utils/encodeAsFormParameter.js +12 -0
- package/dist/core/form-data-utils/index.d.ts +1 -0
- package/dist/core/form-data-utils/index.js +3 -0
- package/dist/core/headers.d.ts +3 -0
- package/dist/core/headers.js +29 -0
- package/dist/core/index.d.ts +2 -0
- package/dist/core/index.js +3 -1
- package/dist/core/runtime/runtime.js +0 -1
- package/dist/core/schemas/builders/lazy/index.d.ts +1 -1
- package/dist/core/schemas/builders/literals/index.d.ts +1 -1
- package/dist/core/schemas/builders/literals/index.js +3 -3
- package/dist/core/schemas/builders/object/index.d.ts +2 -2
- package/dist/core/schemas/builders/object/object.d.ts +1 -1
- package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +1 -1
- package/dist/core/schemas/builders/object/types.d.ts +1 -1
- package/dist/core/schemas/builders/schema-utils/index.d.ts +1 -1
- package/dist/core/schemas/builders/undiscriminated-union/types.d.ts +1 -1
- package/dist/core/schemas/builders/union/index.d.ts +1 -1
- package/dist/core/schemas/builders/union/types.d.ts +1 -1
- package/dist/core/schemas/builders/union/union.d.ts +1 -1
- package/dist/core/schemas/utils/maybeSkipValidation.js +1 -1
- package/dist/core/url/index.d.ts +2 -0
- package/dist/core/url/index.js +7 -0
- package/dist/core/url/join.d.ts +1 -0
- package/dist/core/url/join.js +69 -0
- package/dist/core/url/qs.d.ts +6 -0
- package/dist/core/url/qs.js +64 -0
- package/dist/errors/CandidApiError.d.ts +4 -1
- package/dist/errors/CandidApiError.js +4 -7
- package/dist/index.d.ts +2 -2
- package/dist/index.js +5 -5
- package/dist/serialization/resources/auth/resources/default/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/auth/resources/default/client/requests/index.js +1 -3
- package/dist/serialization/resources/encounters/resources/v4/client/index.d.ts +0 -3
- package/dist/serialization/resources/encounters/resources/v4/client/index.js +1 -4
- package/dist/serialization/resources/encountersUniversal/types/index.d.ts +0 -3
- package/dist/serialization/resources/encountersUniversal/types/index.js +0 -3
- package/dist/serialization/resources/guarantor/resources/v1/types/Guarantor.d.ts +1 -1
- package/dist/serialization/resources/guarantor/resources/v1/types/Guarantor.js +1 -1
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.d.ts +1 -1
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.js +95 -1
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.d.ts +2 -2
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.js +2 -2
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.d.ts +0 -12
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.js +1 -14
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.d.ts +2 -2
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.js +2 -2
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.d.ts +1 -1
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.js +19 -1
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +0 -16
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/index.js +0 -16
- package/dist/serialization/resources/individual/types/Patient.d.ts +1 -1
- package/dist/serialization/resources/individual/types/Patient.js +1 -1
- package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
- package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +2 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/getByExternalId.d.ts +15 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/getByExternalId.js +71 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/index.d.ts +1 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/index.js +2 -1
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +3 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.js +3 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +3 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.js +3 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +3 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.js +3 -0
- package/dist/serialization/resources/payers/resources/v4/types/Payer.d.ts +1 -0
- package/dist/serialization/resources/payers/resources/v4/types/Payer.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalServiceFacilityId.d.ts +10 -0
- package/dist/serialization/resources/{x12/resources/v1/types/TypeOfBillCompositeUpdate.js → preEncounter/resources/common/types/CanonicalServiceFacilityId.js} +4 -11
- package/dist/serialization/resources/preEncounter/resources/common/types/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/index.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +2 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/PatientServiceFacility.d.ts +13 -0
- package/{serialization/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.js → dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/PatientServiceFacility.js} +5 -7
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/index.d.ts +0 -1
- package/dist/serialization/resources/serviceLines/resources/v2/types/index.js +0 -1
- package/dist/serialization/resources/x12/resources/v1/types/index.d.ts +0 -1
- package/dist/serialization/resources/x12/resources/v1/types/index.js +0 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/errors/CandidApiError.d.ts +4 -1
- package/errors/CandidApiError.js +4 -7
- package/index.d.ts +2 -2
- package/index.js +5 -5
- package/jest.config.mjs +37 -3
- package/package.json +18 -12
- package/reference.md +125 -335
- package/scripts/rename-to-esm-files.js +10 -2
- package/serialization/resources/auth/resources/default/client/requests/index.d.ts +0 -1
- package/serialization/resources/auth/resources/default/client/requests/index.js +1 -3
- package/serialization/resources/encounters/resources/v4/client/index.d.ts +0 -3
- package/serialization/resources/encounters/resources/v4/client/index.js +1 -4
- package/serialization/resources/encountersUniversal/types/index.d.ts +0 -3
- package/serialization/resources/encountersUniversal/types/index.js +0 -3
- package/serialization/resources/guarantor/resources/v1/types/Guarantor.d.ts +1 -1
- package/serialization/resources/guarantor/resources/v1/types/Guarantor.js +1 -1
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.d.ts +1 -1
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.js +95 -1
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.d.ts +2 -2
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.js +2 -2
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.d.ts +0 -12
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.js +1 -14
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.d.ts +2 -2
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.js +2 -2
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.d.ts +1 -1
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.js +19 -1
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +0 -16
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/index.js +0 -16
- package/serialization/resources/individual/types/Patient.d.ts +1 -1
- package/serialization/resources/individual/types/Patient.js +1 -1
- package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
- package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +2 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/client/getByExternalId.d.ts +15 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/client/getByExternalId.js +71 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/client/index.d.ts +1 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/client/index.js +2 -1
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +3 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.js +3 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +3 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.js +3 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +3 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.js +3 -0
- package/serialization/resources/payers/resources/v4/types/Payer.d.ts +1 -0
- package/serialization/resources/payers/resources/v4/types/Payer.js +1 -0
- package/serialization/resources/preEncounter/resources/common/types/CanonicalServiceFacilityId.d.ts +10 -0
- package/serialization/resources/{x12/resources/v1/types/TypeOfBillCompositeUpdate.js → preEncounter/resources/common/types/CanonicalServiceFacilityId.js} +4 -11
- package/serialization/resources/preEncounter/resources/common/types/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/common/types/index.js +1 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +2 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/PatientServiceFacility.d.ts +13 -0
- package/{dist/serialization/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.js → serialization/resources/preEncounter/resources/patients/resources/v1/types/PatientServiceFacility.js} +5 -7
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/index.d.ts +0 -1
- package/serialization/resources/serviceLines/resources/v2/types/index.js +0 -1
- package/serialization/resources/x12/resources/v1/types/index.d.ts +0 -1
- package/serialization/resources/x12/resources/v1/types/index.js +0 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/auth/resources/default/client/getMachineTokenForOrgId.d.ts +0 -22
- package/api/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.d.ts +0 -21
- package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +0 -70
- package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +0 -145
- package/api/resources/encounters/resources/v4/client/createUniversal.d.ts +0 -94
- package/api/resources/encounters/resources/v4/client/createUniversal.js +0 -189
- package/api/resources/encounters/resources/v4/client/updateUniversal.d.ts +0 -70
- package/api/resources/encounters/resources/v4/client/updateUniversal.js +0 -145
- package/api/resources/encountersUniversal/types/UniversalEncounterCreate.d.ts +0 -49
- package/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.d.ts +0 -47
- package/api/resources/encountersUniversal/types/UniversalEncounterUpdate.d.ts +0 -39
- package/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.d.ts +0 -11
- package/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.js +0 -5
- package/api/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.d.ts +0 -4230
- package/api/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.js +0 -1064
- package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.d.ts +0 -11
- package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.js +0 -5
- package/api/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.d.ts +0 -174
- package/api/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.js +0 -50
- package/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.d.ts +0 -11
- package/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.js +0 -5
- package/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.d.ts +0 -12
- package/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.js +0 -5
- package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.d.ts +0 -19
- package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.js +0 -5
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.d.ts +0 -12
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.js +0 -5
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.d.ts +0 -12
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.js +0 -5
- package/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.d.ts +0 -12
- package/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.js +0 -5
- package/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.d.ts +0 -12
- package/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.js +0 -5
- package/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.d.ts +0 -11
- package/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.js +0 -5
- package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.d.ts +0 -12
- package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.js +0 -5
- package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.d.ts +0 -12
- package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.js +0 -5
- package/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.d.ts +0 -11
- package/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.js +0 -5
- package/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.d.ts +0 -12
- package/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.js +0 -5
- package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +0 -11
- package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.js +0 -5
- package/api/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.d.ts +0 -30
- package/api/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.js +0 -5
- package/dist/api/resources/auth/resources/default/client/getMachineTokenForOrgId.d.ts +0 -22
- package/dist/api/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.d.ts +0 -21
- package/dist/api/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.js +0 -5
- package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +0 -70
- package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +0 -145
- package/dist/api/resources/encounters/resources/v4/client/createUniversal.d.ts +0 -94
- package/dist/api/resources/encounters/resources/v4/client/createUniversal.js +0 -189
- package/dist/api/resources/encounters/resources/v4/client/updateUniversal.d.ts +0 -70
- package/dist/api/resources/encounters/resources/v4/client/updateUniversal.js +0 -145
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreate.d.ts +0 -49
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreate.js +0 -5
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.d.ts +0 -47
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.js +0 -5
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterUpdate.d.ts +0 -39
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterUpdate.js +0 -5
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.d.ts +0 -11
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.js +0 -5
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.d.ts +0 -4230
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.js +0 -1064
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.d.ts +0 -11
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.js +0 -5
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.d.ts +0 -174
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.js +0 -50
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.d.ts +0 -11
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.js +0 -5
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.d.ts +0 -12
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.js +0 -5
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.d.ts +0 -19
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.js +0 -5
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.d.ts +0 -12
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.js +0 -5
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.d.ts +0 -12
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.js +0 -5
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.d.ts +0 -12
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.js +0 -5
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.d.ts +0 -12
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.js +0 -5
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.d.ts +0 -11
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.js +0 -5
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.d.ts +0 -12
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.js +0 -5
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.d.ts +0 -12
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.js +0 -5
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.d.ts +0 -11
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.js +0 -5
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.d.ts +0 -12
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.js +0 -5
- package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +0 -11
- package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.js +0 -5
- package/dist/api/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.d.ts +0 -30
- package/dist/api/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.js +0 -5
- package/dist/serialization/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.d.ts +0 -15
- package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +0 -49
- package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +0 -112
- package/dist/serialization/resources/encounters/resources/v4/client/createUniversal.d.ts +0 -69
- package/dist/serialization/resources/encounters/resources/v4/client/createUniversal.js +0 -136
- package/dist/serialization/resources/encounters/resources/v4/client/updateUniversal.d.ts +0 -50
- package/dist/serialization/resources/encounters/resources/v4/client/updateUniversal.js +0 -113
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreate.d.ts +0 -39
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreate.js +0 -72
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.d.ts +0 -37
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.js +0 -70
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdate.d.ts +0 -32
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdate.js +0 -65
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.d.ts +0 -16
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.js +0 -49
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.d.ts +0 -10
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.js +0 -1098
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.d.ts +0 -16
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.js +0 -49
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.d.ts +0 -10
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.js +0 -84
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.d.ts +0 -16
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.js +0 -49
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.d.ts +0 -18
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.js +0 -51
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.d.ts +0 -37
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.js +0 -68
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.d.ts +0 -18
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.js +0 -51
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.d.ts +0 -18
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.js +0 -51
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.d.ts +0 -18
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.js +0 -51
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.d.ts +0 -18
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.js +0 -51
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.d.ts +0 -16
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.js +0 -49
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.d.ts +0 -18
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.js +0 -51
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.d.ts +0 -18
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.js +0 -51
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.d.ts +0 -16
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.js +0 -49
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.d.ts +0 -18
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.js +0 -51
- package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +0 -15
- package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.js +0 -48
- package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.d.ts +0 -18
- package/serialization/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.d.ts +0 -15
- package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +0 -49
- package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +0 -112
- package/serialization/resources/encounters/resources/v4/client/createUniversal.d.ts +0 -69
- package/serialization/resources/encounters/resources/v4/client/createUniversal.js +0 -136
- package/serialization/resources/encounters/resources/v4/client/updateUniversal.d.ts +0 -50
- package/serialization/resources/encounters/resources/v4/client/updateUniversal.js +0 -113
- package/serialization/resources/encountersUniversal/types/UniversalEncounterCreate.d.ts +0 -39
- package/serialization/resources/encountersUniversal/types/UniversalEncounterCreate.js +0 -72
- package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.d.ts +0 -37
- package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.js +0 -70
- package/serialization/resources/encountersUniversal/types/UniversalEncounterUpdate.d.ts +0 -32
- package/serialization/resources/encountersUniversal/types/UniversalEncounterUpdate.js +0 -65
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.d.ts +0 -16
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.js +0 -49
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.d.ts +0 -10
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.js +0 -1098
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.d.ts +0 -16
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.js +0 -49
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.d.ts +0 -10
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.js +0 -84
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.d.ts +0 -16
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.js +0 -49
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.d.ts +0 -18
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.js +0 -51
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.d.ts +0 -37
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.js +0 -68
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.d.ts +0 -18
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.js +0 -51
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.d.ts +0 -18
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.js +0 -51
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.d.ts +0 -18
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.js +0 -51
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.d.ts +0 -18
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.js +0 -51
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.d.ts +0 -16
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.js +0 -49
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.d.ts +0 -18
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.js +0 -51
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.d.ts +0 -18
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.js +0 -51
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.d.ts +0 -16
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.js +0 -49
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.d.ts +0 -18
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.js +0 -51
- package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +0 -15
- package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.js +0 -48
- package/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.d.ts +0 -18
- /package/api/resources/{auth/resources/default/client/requests/AuthGetTokenForOrgRequest.js → preEncounter/resources/patients/resources/v1/types/PatientServiceFacility.js} +0 -0
- /package/{api/resources/encountersUniversal/types/UniversalEncounterCreate.js → dist/api/resources/preEncounter/resources/patients/resources/v1/types/PatientServiceFacility.js} +0 -0
|
@@ -44,16 +44,13 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
44
44
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
45
45
|
});
|
|
46
46
|
};
|
|
47
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
48
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
49
|
-
};
|
|
50
47
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
51
48
|
exports.V1 = void 0;
|
|
52
49
|
const environments = __importStar(require("../../../../../../environments"));
|
|
53
50
|
const core = __importStar(require("../../../../../../core"));
|
|
54
51
|
const CandidApi = __importStar(require("../../../../../index"));
|
|
52
|
+
const headers_1 = require("../../../../../../core/headers");
|
|
55
53
|
const serializers = __importStar(require("../../../../../../serialization/index"));
|
|
56
|
-
const url_join_1 = __importDefault(require("url-join"));
|
|
57
54
|
class V1 {
|
|
58
55
|
constructor(_options = {}) {
|
|
59
56
|
this._options = _options;
|
|
@@ -68,13 +65,18 @@ class V1 {
|
|
|
68
65
|
* })
|
|
69
66
|
*/
|
|
70
67
|
create(request, requestOptions) {
|
|
68
|
+
return core.HttpResponsePromise.fromPromise(this.__create(request, requestOptions));
|
|
69
|
+
}
|
|
70
|
+
__create(request, requestOptions) {
|
|
71
71
|
return __awaiter(this, void 0, void 0, function* () {
|
|
72
|
-
var _a, _b, _c;
|
|
72
|
+
var _a, _b, _c, _d;
|
|
73
|
+
let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
73
74
|
const _response = yield core.fetcher({
|
|
74
|
-
url:
|
|
75
|
+
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.CandidApiEnvironment.Production).candidApi, "/api/non-insurance-payers/v1"),
|
|
75
76
|
method: "POST",
|
|
76
|
-
headers:
|
|
77
|
+
headers: _headers,
|
|
77
78
|
contentType: "application/json",
|
|
79
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
78
80
|
requestType: "json",
|
|
79
81
|
body: serializers.nonInsurancePayers.v1.CreateNonInsurancePayerRequest.jsonOrThrow(request, {
|
|
80
82
|
unrecognizedObjectKeys: "strip",
|
|
@@ -85,33 +87,46 @@ class V1 {
|
|
|
85
87
|
});
|
|
86
88
|
if (_response.ok) {
|
|
87
89
|
return {
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
90
|
+
data: {
|
|
91
|
+
ok: true,
|
|
92
|
+
body: serializers.nonInsurancePayers.v1.NonInsurancePayer.parseOrThrow(_response.body, {
|
|
93
|
+
unrecognizedObjectKeys: "passthrough",
|
|
94
|
+
allowUnrecognizedUnionMembers: true,
|
|
95
|
+
allowUnrecognizedEnumValues: true,
|
|
96
|
+
breadcrumbsPrefix: ["response"],
|
|
97
|
+
}),
|
|
98
|
+
headers: _response.headers,
|
|
99
|
+
rawResponse: _response.rawResponse,
|
|
100
|
+
},
|
|
101
|
+
rawResponse: _response.rawResponse,
|
|
95
102
|
};
|
|
96
103
|
}
|
|
97
104
|
if (_response.error.reason === "status-code") {
|
|
98
|
-
switch ((
|
|
105
|
+
switch ((_d = _response.error.body) === null || _d === void 0 ? void 0 : _d.errorName) {
|
|
99
106
|
case "EntityNotFoundError":
|
|
100
107
|
case "EntityConflictError":
|
|
101
108
|
return {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
+
data: {
|
|
110
|
+
ok: false,
|
|
111
|
+
error: serializers.nonInsurancePayers.v1.create.Error.parseOrThrow(_response.error.body, {
|
|
112
|
+
unrecognizedObjectKeys: "passthrough",
|
|
113
|
+
allowUnrecognizedUnionMembers: true,
|
|
114
|
+
allowUnrecognizedEnumValues: true,
|
|
115
|
+
breadcrumbsPrefix: ["response"],
|
|
116
|
+
}),
|
|
117
|
+
rawResponse: _response.rawResponse,
|
|
118
|
+
},
|
|
119
|
+
rawResponse: _response.rawResponse,
|
|
109
120
|
};
|
|
110
121
|
}
|
|
111
122
|
}
|
|
112
123
|
return {
|
|
113
|
-
|
|
114
|
-
|
|
124
|
+
data: {
|
|
125
|
+
ok: false,
|
|
126
|
+
error: CandidApi.nonInsurancePayers.v1.create.Error._unknown(_response.error),
|
|
127
|
+
rawResponse: _response.rawResponse,
|
|
128
|
+
},
|
|
129
|
+
rawResponse: _response.rawResponse,
|
|
115
130
|
};
|
|
116
131
|
});
|
|
117
132
|
}
|
|
@@ -126,13 +141,18 @@ class V1 {
|
|
|
126
141
|
* })
|
|
127
142
|
*/
|
|
128
143
|
toggleEnablement(nonInsurancePayerId, request, requestOptions) {
|
|
144
|
+
return core.HttpResponsePromise.fromPromise(this.__toggleEnablement(nonInsurancePayerId, request, requestOptions));
|
|
145
|
+
}
|
|
146
|
+
__toggleEnablement(nonInsurancePayerId, request, requestOptions) {
|
|
129
147
|
return __awaiter(this, void 0, void 0, function* () {
|
|
130
|
-
var _a, _b, _c;
|
|
148
|
+
var _a, _b, _c, _d;
|
|
149
|
+
let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
131
150
|
const _response = yield core.fetcher({
|
|
132
|
-
url:
|
|
151
|
+
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.CandidApiEnvironment.Production).candidApi, `/api/non-insurance-payers/v1/${encodeURIComponent(serializers.nonInsurancePayers.v1.NonInsurancePayerId.jsonOrThrow(nonInsurancePayerId))}/toggle_enablement`),
|
|
133
152
|
method: "PATCH",
|
|
134
|
-
headers:
|
|
153
|
+
headers: _headers,
|
|
135
154
|
contentType: "application/json",
|
|
155
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
136
156
|
requestType: "json",
|
|
137
157
|
body: serializers.nonInsurancePayers.v1.ToggleNonInsurancePayerEnablementRequest.jsonOrThrow(request, {
|
|
138
158
|
unrecognizedObjectKeys: "strip",
|
|
@@ -143,32 +163,45 @@ class V1 {
|
|
|
143
163
|
});
|
|
144
164
|
if (_response.ok) {
|
|
145
165
|
return {
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
166
|
+
data: {
|
|
167
|
+
ok: true,
|
|
168
|
+
body: serializers.nonInsurancePayers.v1.NonInsurancePayer.parseOrThrow(_response.body, {
|
|
169
|
+
unrecognizedObjectKeys: "passthrough",
|
|
170
|
+
allowUnrecognizedUnionMembers: true,
|
|
171
|
+
allowUnrecognizedEnumValues: true,
|
|
172
|
+
breadcrumbsPrefix: ["response"],
|
|
173
|
+
}),
|
|
174
|
+
headers: _response.headers,
|
|
175
|
+
rawResponse: _response.rawResponse,
|
|
176
|
+
},
|
|
177
|
+
rawResponse: _response.rawResponse,
|
|
153
178
|
};
|
|
154
179
|
}
|
|
155
180
|
if (_response.error.reason === "status-code") {
|
|
156
|
-
switch ((
|
|
181
|
+
switch ((_d = _response.error.body) === null || _d === void 0 ? void 0 : _d.errorName) {
|
|
157
182
|
case "EntityNotFoundError":
|
|
158
183
|
return {
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
184
|
+
data: {
|
|
185
|
+
ok: false,
|
|
186
|
+
error: serializers.nonInsurancePayers.v1.toggleEnablement.Error.parseOrThrow(_response.error.body, {
|
|
187
|
+
unrecognizedObjectKeys: "passthrough",
|
|
188
|
+
allowUnrecognizedUnionMembers: true,
|
|
189
|
+
allowUnrecognizedEnumValues: true,
|
|
190
|
+
breadcrumbsPrefix: ["response"],
|
|
191
|
+
}),
|
|
192
|
+
rawResponse: _response.rawResponse,
|
|
193
|
+
},
|
|
194
|
+
rawResponse: _response.rawResponse,
|
|
166
195
|
};
|
|
167
196
|
}
|
|
168
197
|
}
|
|
169
198
|
return {
|
|
170
|
-
|
|
171
|
-
|
|
199
|
+
data: {
|
|
200
|
+
ok: false,
|
|
201
|
+
error: CandidApi.nonInsurancePayers.v1.toggleEnablement.Error._unknown(_response.error),
|
|
202
|
+
rawResponse: _response.rawResponse,
|
|
203
|
+
},
|
|
204
|
+
rawResponse: _response.rawResponse,
|
|
172
205
|
};
|
|
173
206
|
});
|
|
174
207
|
}
|
|
@@ -179,9 +212,12 @@ class V1 {
|
|
|
179
212
|
* @example
|
|
180
213
|
* await client.nonInsurancePayers.v1.getMulti()
|
|
181
214
|
*/
|
|
182
|
-
getMulti() {
|
|
215
|
+
getMulti(request = {}, requestOptions) {
|
|
216
|
+
return core.HttpResponsePromise.fromPromise(this.__getMulti(request, requestOptions));
|
|
217
|
+
}
|
|
218
|
+
__getMulti() {
|
|
183
219
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
184
|
-
var _a, _b, _c;
|
|
220
|
+
var _a, _b, _c, _d;
|
|
185
221
|
const { name, category, categoriesExact, clinicalTrialIds, enabled, sort, sortDirection, limit, pageToken } = request;
|
|
186
222
|
const _queryParams = {};
|
|
187
223
|
if (name != null) {
|
|
@@ -225,45 +261,57 @@ class V1 {
|
|
|
225
261
|
if (pageToken != null) {
|
|
226
262
|
_queryParams["page_token"] = pageToken;
|
|
227
263
|
}
|
|
264
|
+
let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
228
265
|
const _response = yield core.fetcher({
|
|
229
|
-
url:
|
|
266
|
+
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.CandidApiEnvironment.Production).candidApi, "/api/non-insurance-payers/v1"),
|
|
230
267
|
method: "GET",
|
|
231
|
-
headers:
|
|
232
|
-
|
|
233
|
-
queryParameters: _queryParams,
|
|
234
|
-
requestType: "json",
|
|
268
|
+
headers: _headers,
|
|
269
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
235
270
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
236
271
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
237
272
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
238
273
|
});
|
|
239
274
|
if (_response.ok) {
|
|
240
275
|
return {
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
276
|
+
data: {
|
|
277
|
+
ok: true,
|
|
278
|
+
body: serializers.nonInsurancePayers.v1.NonInsurancePayerPage.parseOrThrow(_response.body, {
|
|
279
|
+
unrecognizedObjectKeys: "passthrough",
|
|
280
|
+
allowUnrecognizedUnionMembers: true,
|
|
281
|
+
allowUnrecognizedEnumValues: true,
|
|
282
|
+
breadcrumbsPrefix: ["response"],
|
|
283
|
+
}),
|
|
284
|
+
headers: _response.headers,
|
|
285
|
+
rawResponse: _response.rawResponse,
|
|
286
|
+
},
|
|
287
|
+
rawResponse: _response.rawResponse,
|
|
248
288
|
};
|
|
249
289
|
}
|
|
250
290
|
if (_response.error.reason === "status-code") {
|
|
251
|
-
switch ((
|
|
291
|
+
switch ((_d = _response.error.body) === null || _d === void 0 ? void 0 : _d.errorName) {
|
|
252
292
|
case "UnprocessableEntityError":
|
|
253
293
|
return {
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
294
|
+
data: {
|
|
295
|
+
ok: false,
|
|
296
|
+
error: serializers.nonInsurancePayers.v1.getMulti.Error.parseOrThrow(_response.error.body, {
|
|
297
|
+
unrecognizedObjectKeys: "passthrough",
|
|
298
|
+
allowUnrecognizedUnionMembers: true,
|
|
299
|
+
allowUnrecognizedEnumValues: true,
|
|
300
|
+
breadcrumbsPrefix: ["response"],
|
|
301
|
+
}),
|
|
302
|
+
rawResponse: _response.rawResponse,
|
|
303
|
+
},
|
|
304
|
+
rawResponse: _response.rawResponse,
|
|
261
305
|
};
|
|
262
306
|
}
|
|
263
307
|
}
|
|
264
308
|
return {
|
|
265
|
-
|
|
266
|
-
|
|
309
|
+
data: {
|
|
310
|
+
ok: false,
|
|
311
|
+
error: CandidApi.nonInsurancePayers.v1.getMulti.Error._unknown(_response.error),
|
|
312
|
+
rawResponse: _response.rawResponse,
|
|
313
|
+
},
|
|
314
|
+
rawResponse: _response.rawResponse,
|
|
267
315
|
};
|
|
268
316
|
});
|
|
269
317
|
}
|
|
@@ -281,9 +329,12 @@ class V1 {
|
|
|
281
329
|
* @example
|
|
282
330
|
* await client.nonInsurancePayers.v1.getCategories()
|
|
283
331
|
*/
|
|
284
|
-
getCategories() {
|
|
332
|
+
getCategories(request = {}, requestOptions) {
|
|
333
|
+
return core.HttpResponsePromise.fromPromise(this.__getCategories(request, requestOptions));
|
|
334
|
+
}
|
|
335
|
+
__getCategories() {
|
|
285
336
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
286
|
-
var _a, _b;
|
|
337
|
+
var _a, _b, _c;
|
|
287
338
|
const { searchTerm, limit, pageToken } = request;
|
|
288
339
|
const _queryParams = {};
|
|
289
340
|
if (searchTerm != null) {
|
|
@@ -295,31 +346,39 @@ class V1 {
|
|
|
295
346
|
if (pageToken != null) {
|
|
296
347
|
_queryParams["page_token"] = pageToken;
|
|
297
348
|
}
|
|
349
|
+
let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
298
350
|
const _response = yield core.fetcher({
|
|
299
|
-
url:
|
|
351
|
+
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.CandidApiEnvironment.Production).candidApi, "/api/non-insurance-payers/v1/categories"),
|
|
300
352
|
method: "GET",
|
|
301
|
-
headers:
|
|
302
|
-
|
|
303
|
-
queryParameters: _queryParams,
|
|
304
|
-
requestType: "json",
|
|
353
|
+
headers: _headers,
|
|
354
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
305
355
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
306
356
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
307
357
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
308
358
|
});
|
|
309
359
|
if (_response.ok) {
|
|
310
360
|
return {
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
361
|
+
data: {
|
|
362
|
+
ok: true,
|
|
363
|
+
body: serializers.nonInsurancePayers.v1.NonInsurancePayerCategoriesPage.parseOrThrow(_response.body, {
|
|
364
|
+
unrecognizedObjectKeys: "passthrough",
|
|
365
|
+
allowUnrecognizedUnionMembers: true,
|
|
366
|
+
allowUnrecognizedEnumValues: true,
|
|
367
|
+
breadcrumbsPrefix: ["response"],
|
|
368
|
+
}),
|
|
369
|
+
headers: _response.headers,
|
|
370
|
+
rawResponse: _response.rawResponse,
|
|
371
|
+
},
|
|
372
|
+
rawResponse: _response.rawResponse,
|
|
318
373
|
};
|
|
319
374
|
}
|
|
320
375
|
return {
|
|
321
|
-
|
|
322
|
-
|
|
376
|
+
data: {
|
|
377
|
+
ok: false,
|
|
378
|
+
error: CandidApi.nonInsurancePayers.v1.getCategories.Error._unknown(_response.error),
|
|
379
|
+
rawResponse: _response.rawResponse,
|
|
380
|
+
},
|
|
381
|
+
rawResponse: _response.rawResponse,
|
|
323
382
|
};
|
|
324
383
|
});
|
|
325
384
|
}
|
|
@@ -331,46 +390,62 @@ class V1 {
|
|
|
331
390
|
* await client.nonInsurancePayers.v1.get(CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
|
|
332
391
|
*/
|
|
333
392
|
get(nonInsurancePayerId, requestOptions) {
|
|
393
|
+
return core.HttpResponsePromise.fromPromise(this.__get(nonInsurancePayerId, requestOptions));
|
|
394
|
+
}
|
|
395
|
+
__get(nonInsurancePayerId, requestOptions) {
|
|
334
396
|
return __awaiter(this, void 0, void 0, function* () {
|
|
335
|
-
var _a, _b, _c;
|
|
397
|
+
var _a, _b, _c, _d;
|
|
398
|
+
let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
336
399
|
const _response = yield core.fetcher({
|
|
337
|
-
url:
|
|
400
|
+
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.CandidApiEnvironment.Production).candidApi, `/api/non-insurance-payers/v1/${encodeURIComponent(serializers.nonInsurancePayers.v1.NonInsurancePayerId.jsonOrThrow(nonInsurancePayerId))}`),
|
|
338
401
|
method: "GET",
|
|
339
|
-
headers:
|
|
340
|
-
|
|
341
|
-
requestType: "json",
|
|
402
|
+
headers: _headers,
|
|
403
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
342
404
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
343
405
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
344
406
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
345
407
|
});
|
|
346
408
|
if (_response.ok) {
|
|
347
409
|
return {
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
410
|
+
data: {
|
|
411
|
+
ok: true,
|
|
412
|
+
body: serializers.nonInsurancePayers.v1.NonInsurancePayer.parseOrThrow(_response.body, {
|
|
413
|
+
unrecognizedObjectKeys: "passthrough",
|
|
414
|
+
allowUnrecognizedUnionMembers: true,
|
|
415
|
+
allowUnrecognizedEnumValues: true,
|
|
416
|
+
breadcrumbsPrefix: ["response"],
|
|
417
|
+
}),
|
|
418
|
+
headers: _response.headers,
|
|
419
|
+
rawResponse: _response.rawResponse,
|
|
420
|
+
},
|
|
421
|
+
rawResponse: _response.rawResponse,
|
|
355
422
|
};
|
|
356
423
|
}
|
|
357
424
|
if (_response.error.reason === "status-code") {
|
|
358
|
-
switch ((
|
|
425
|
+
switch ((_d = _response.error.body) === null || _d === void 0 ? void 0 : _d.errorName) {
|
|
359
426
|
case "EntityNotFoundError":
|
|
360
427
|
return {
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
428
|
+
data: {
|
|
429
|
+
ok: false,
|
|
430
|
+
error: serializers.nonInsurancePayers.v1.get.Error.parseOrThrow(_response.error.body, {
|
|
431
|
+
unrecognizedObjectKeys: "passthrough",
|
|
432
|
+
allowUnrecognizedUnionMembers: true,
|
|
433
|
+
allowUnrecognizedEnumValues: true,
|
|
434
|
+
breadcrumbsPrefix: ["response"],
|
|
435
|
+
}),
|
|
436
|
+
rawResponse: _response.rawResponse,
|
|
437
|
+
},
|
|
438
|
+
rawResponse: _response.rawResponse,
|
|
368
439
|
};
|
|
369
440
|
}
|
|
370
441
|
}
|
|
371
442
|
return {
|
|
372
|
-
|
|
373
|
-
|
|
443
|
+
data: {
|
|
444
|
+
ok: false,
|
|
445
|
+
error: CandidApi.nonInsurancePayers.v1.get.Error._unknown(_response.error),
|
|
446
|
+
rawResponse: _response.rawResponse,
|
|
447
|
+
},
|
|
448
|
+
rawResponse: _response.rawResponse,
|
|
374
449
|
};
|
|
375
450
|
});
|
|
376
451
|
}
|
|
@@ -383,13 +458,18 @@ class V1 {
|
|
|
383
458
|
* await client.nonInsurancePayers.v1.update(CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {})
|
|
384
459
|
*/
|
|
385
460
|
update(nonInsurancePayerId, request, requestOptions) {
|
|
461
|
+
return core.HttpResponsePromise.fromPromise(this.__update(nonInsurancePayerId, request, requestOptions));
|
|
462
|
+
}
|
|
463
|
+
__update(nonInsurancePayerId, request, requestOptions) {
|
|
386
464
|
return __awaiter(this, void 0, void 0, function* () {
|
|
387
|
-
var _a, _b, _c;
|
|
465
|
+
var _a, _b, _c, _d;
|
|
466
|
+
let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
388
467
|
const _response = yield core.fetcher({
|
|
389
|
-
url:
|
|
468
|
+
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.CandidApiEnvironment.Production).candidApi, `/api/non-insurance-payers/v1/${encodeURIComponent(serializers.nonInsurancePayers.v1.NonInsurancePayerId.jsonOrThrow(nonInsurancePayerId))}`),
|
|
390
469
|
method: "PATCH",
|
|
391
|
-
headers:
|
|
470
|
+
headers: _headers,
|
|
392
471
|
contentType: "application/json",
|
|
472
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
393
473
|
requestType: "json",
|
|
394
474
|
body: serializers.nonInsurancePayers.v1.NonInsurancePayerUpdateRequest.jsonOrThrow(request, {
|
|
395
475
|
unrecognizedObjectKeys: "strip",
|
|
@@ -400,33 +480,46 @@ class V1 {
|
|
|
400
480
|
});
|
|
401
481
|
if (_response.ok) {
|
|
402
482
|
return {
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
483
|
+
data: {
|
|
484
|
+
ok: true,
|
|
485
|
+
body: serializers.nonInsurancePayers.v1.NonInsurancePayer.parseOrThrow(_response.body, {
|
|
486
|
+
unrecognizedObjectKeys: "passthrough",
|
|
487
|
+
allowUnrecognizedUnionMembers: true,
|
|
488
|
+
allowUnrecognizedEnumValues: true,
|
|
489
|
+
breadcrumbsPrefix: ["response"],
|
|
490
|
+
}),
|
|
491
|
+
headers: _response.headers,
|
|
492
|
+
rawResponse: _response.rawResponse,
|
|
493
|
+
},
|
|
494
|
+
rawResponse: _response.rawResponse,
|
|
410
495
|
};
|
|
411
496
|
}
|
|
412
497
|
if (_response.error.reason === "status-code") {
|
|
413
|
-
switch ((
|
|
498
|
+
switch ((_d = _response.error.body) === null || _d === void 0 ? void 0 : _d.errorName) {
|
|
414
499
|
case "EntityNotFoundError":
|
|
415
500
|
case "EntityConflictError":
|
|
416
501
|
return {
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
502
|
+
data: {
|
|
503
|
+
ok: false,
|
|
504
|
+
error: serializers.nonInsurancePayers.v1.update.Error.parseOrThrow(_response.error.body, {
|
|
505
|
+
unrecognizedObjectKeys: "passthrough",
|
|
506
|
+
allowUnrecognizedUnionMembers: true,
|
|
507
|
+
allowUnrecognizedEnumValues: true,
|
|
508
|
+
breadcrumbsPrefix: ["response"],
|
|
509
|
+
}),
|
|
510
|
+
rawResponse: _response.rawResponse,
|
|
511
|
+
},
|
|
512
|
+
rawResponse: _response.rawResponse,
|
|
424
513
|
};
|
|
425
514
|
}
|
|
426
515
|
}
|
|
427
516
|
return {
|
|
428
|
-
|
|
429
|
-
|
|
517
|
+
data: {
|
|
518
|
+
ok: false,
|
|
519
|
+
error: CandidApi.nonInsurancePayers.v1.update.Error._unknown(_response.error),
|
|
520
|
+
rawResponse: _response.rawResponse,
|
|
521
|
+
},
|
|
522
|
+
rawResponse: _response.rawResponse,
|
|
430
523
|
};
|
|
431
524
|
});
|
|
432
525
|
}
|
|
@@ -438,41 +531,57 @@ class V1 {
|
|
|
438
531
|
* await client.nonInsurancePayers.v1.delete(CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
|
|
439
532
|
*/
|
|
440
533
|
delete(nonInsurancePayerId, requestOptions) {
|
|
534
|
+
return core.HttpResponsePromise.fromPromise(this.__delete(nonInsurancePayerId, requestOptions));
|
|
535
|
+
}
|
|
536
|
+
__delete(nonInsurancePayerId, requestOptions) {
|
|
441
537
|
return __awaiter(this, void 0, void 0, function* () {
|
|
442
|
-
var _a, _b, _c;
|
|
538
|
+
var _a, _b, _c, _d;
|
|
539
|
+
let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
443
540
|
const _response = yield core.fetcher({
|
|
444
|
-
url:
|
|
541
|
+
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.CandidApiEnvironment.Production).candidApi, `/api/non-insurance-payers/v1/${encodeURIComponent(serializers.nonInsurancePayers.v1.NonInsurancePayerId.jsonOrThrow(nonInsurancePayerId))}`),
|
|
445
542
|
method: "DELETE",
|
|
446
|
-
headers:
|
|
447
|
-
|
|
448
|
-
requestType: "json",
|
|
543
|
+
headers: _headers,
|
|
544
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
449
545
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
450
546
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
451
547
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
452
548
|
});
|
|
453
549
|
if (_response.ok) {
|
|
454
550
|
return {
|
|
455
|
-
|
|
456
|
-
|
|
551
|
+
data: {
|
|
552
|
+
ok: true,
|
|
553
|
+
body: undefined,
|
|
554
|
+
headers: _response.headers,
|
|
555
|
+
rawResponse: _response.rawResponse,
|
|
556
|
+
},
|
|
557
|
+
rawResponse: _response.rawResponse,
|
|
457
558
|
};
|
|
458
559
|
}
|
|
459
560
|
if (_response.error.reason === "status-code") {
|
|
460
|
-
switch ((
|
|
561
|
+
switch ((_d = _response.error.body) === null || _d === void 0 ? void 0 : _d.errorName) {
|
|
461
562
|
case "EntityNotFoundError":
|
|
462
563
|
return {
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
564
|
+
data: {
|
|
565
|
+
ok: false,
|
|
566
|
+
error: serializers.nonInsurancePayers.v1.delete.Error.parseOrThrow(_response.error.body, {
|
|
567
|
+
unrecognizedObjectKeys: "passthrough",
|
|
568
|
+
allowUnrecognizedUnionMembers: true,
|
|
569
|
+
allowUnrecognizedEnumValues: true,
|
|
570
|
+
breadcrumbsPrefix: ["response"],
|
|
571
|
+
}),
|
|
572
|
+
rawResponse: _response.rawResponse,
|
|
573
|
+
},
|
|
574
|
+
rawResponse: _response.rawResponse,
|
|
470
575
|
};
|
|
471
576
|
}
|
|
472
577
|
}
|
|
473
578
|
return {
|
|
474
|
-
|
|
475
|
-
|
|
579
|
+
data: {
|
|
580
|
+
ok: false,
|
|
581
|
+
error: CandidApi.nonInsurancePayers.v1.delete.Error._unknown(_response.error),
|
|
582
|
+
rawResponse: _response.rawResponse,
|
|
583
|
+
},
|
|
584
|
+
rawResponse: _response.rawResponse,
|
|
476
585
|
};
|
|
477
586
|
});
|
|
478
587
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export * from "./requests";
|
|
2
1
|
export * as create from "./create";
|
|
3
2
|
export * as toggleEnablement from "./toggleEnablement";
|
|
4
3
|
export * as getMulti from "./getMulti";
|
|
@@ -6,3 +5,4 @@ export * as getCategories from "./getCategories";
|
|
|
6
5
|
export * as get from "./get";
|
|
7
6
|
export * as update from "./update";
|
|
8
7
|
export * as delete from "./delete";
|
|
8
|
+
export * from "./requests";
|