candidhealth 0.45.0 → 0.46.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -18
- package/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.d.ts +2 -3
- package/api/resources/billingNotes/resources/v2/client/Client.js +5 -6
- package/api/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.d.ts +1 -1
- package/api/resources/billingNotes/resources/v2/client/requests/StandaloneBillingNoteCreate.d.ts +1 -2
- package/api/resources/chargeCapture/resources/v1/client/Client.d.ts +5 -46
- package/api/resources/chargeCapture/resources/v1/client/Client.js +11 -52
- package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +1 -3
- package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +1 -9
- package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +5 -15
- package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +1 -35
- package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +1 -1
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +1 -22
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +4 -25
- package/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureClaimCreationsRequest.d.ts +1 -22
- package/api/resources/commons/types/InsuranceTypeCode.d.ts +1 -1
- package/api/resources/contracts/resources/v2/client/Client.d.ts +3 -67
- package/api/resources/contracts/resources/v2/client/Client.js +19 -73
- package/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +1 -25
- package/api/resources/contracts/resources/v2/client/requests/ContractUpdate.d.ts +1 -36
- package/api/resources/contracts/resources/v2/client/requests/GetMultiContractsRequest.d.ts +9 -9
- package/api/resources/contracts/resources/v2/types/ContractSortField.d.ts +12 -0
- package/api/resources/contracts/resources/v2/types/ContractSortField.js +14 -0
- package/api/resources/contracts/resources/v2/types/index.d.ts +1 -0
- package/api/resources/contracts/resources/v2/types/index.js +1 -0
- package/api/resources/credentialing/resources/v2/client/Client.d.ts +4 -26
- package/api/resources/credentialing/resources/v2/client/Client.js +9 -31
- package/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +1 -8
- package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +4 -14
- package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +3 -20
- package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/api/resources/diagnoses/client/Client.d.ts +3 -8
- package/api/resources/diagnoses/client/Client.js +6 -11
- package/api/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +2 -10
- package/api/resources/diagnoses/types/DiagnosisCreate.d.ts +5 -6
- package/api/resources/eligibility/resources/v2/client/Client.d.ts +2 -6
- package/api/resources/eligibility/resources/v2/client/Client.js +5 -9
- package/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +0 -3
- package/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -6
- package/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.d.ts +0 -4
- package/api/resources/encounterProviders/resources/v2/client/Client.d.ts +8 -114
- package/api/resources/encounterProviders/resources/v2/client/Client.js +20 -126
- package/api/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.d.ts +1 -2
- package/api/resources/encounters/resources/v4/client/Client.d.ts +49 -674
- package/api/resources/encounters/resources/v4/client/Client.js +54 -679
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +35 -410
- package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +6 -155
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +1 -1
- package/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +5 -5
- package/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +7 -7
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +6 -9
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +7 -10
- package/api/resources/expectedNetworkStatus/resources/v1/client/requests/ExpectedNetworkStatusRequest.d.ts +7 -13
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +12 -16
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +14 -18
- package/api/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.d.ts +5 -0
- package/api/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.js +5 -0
- package/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +5 -8
- package/api/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +1 -0
- package/api/resources/expectedNetworkStatus/resources/v2/types/index.js +1 -0
- package/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.d.ts +1 -5
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +2 -6
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/requests/GetExternalPaymentAccountConfigsRequest.d.ts +1 -4
- package/api/resources/feeSchedules/resources/v3/client/Client.d.ts +37 -38
- package/api/resources/feeSchedules/resources/v3/client/Client.js +47 -48
- package/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts +32 -5
- package/api/resources/feeSchedules/resources/v3/client/requests/GetMultiRequest.d.ts +1 -15
- package/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts +1 -13
- package/api/resources/feeSchedules/resources/v3/types/PayerThreshold.d.ts +1 -1
- package/api/resources/feeSchedules/resources/v3/types/Rate.d.ts +1 -1
- package/api/resources/feeSchedules/resources/v3/types/RateEntry.d.ts +1 -1
- package/api/resources/guarantor/resources/v1/client/Client.d.ts +8 -38
- package/api/resources/guarantor/resources/v1/client/Client.js +11 -41
- package/api/resources/importInvoice/resources/v1/client/Client.d.ts +11 -34
- package/api/resources/importInvoice/resources/v1/client/Client.js +15 -38
- package/api/resources/importInvoice/resources/v1/client/requests/SearchImportedInvoicesRequest.d.ts +1 -12
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +92 -10
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +95 -13
- package/api/resources/insurancePayments/resources/v1/client/Client.d.ts +1 -10
- package/api/resources/insurancePayments/resources/v1/client/Client.js +3 -12
- package/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.d.ts +1 -10
- package/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +12 -26
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +17 -31
- package/api/resources/insuranceRefunds/resources/v1/client/requests/GetMultiInsuranceRefundsRequest.d.ts +1 -10
- package/api/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +1 -11
- package/api/resources/medicationDispense/resources/v1/client/Client.d.ts +5 -17
- package/api/resources/medicationDispense/resources/v1/client/Client.js +6 -18
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.d.ts +9 -25
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +14 -30
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/GetMultiNonInsurancePayerPaymentRequest.d.ts +1 -9
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/UpdateNonInsurancePayerPaymentRequest.d.ts +1 -11
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.d.ts +9 -30
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +14 -35
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/GetMultiNonInsurancePayerRefundsRequest.d.ts +1 -9
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/NonInsurancePayerRefundUpdate.d.ts +1 -15
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +3 -37
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +9 -43
- package/api/resources/nonInsurancePayers/resources/v1/client/requests/GetMultiNonInsurancePayersRequest.d.ts +1 -9
- package/api/resources/organizationProviders/resources/v3/client/Client.d.ts +12 -58
- package/api/resources/organizationProviders/resources/v3/client/Client.js +16 -62
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.d.ts +1 -1
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +6 -6
- package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.d.ts +1 -1
- package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.d.ts +3 -3
- package/api/resources/patientPayments/resources/v4/client/Client.d.ts +10 -29
- package/api/resources/patientPayments/resources/v4/client/Client.js +15 -34
- package/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +1 -13
- package/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.d.ts +8 -5
- package/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +1 -11
- package/api/resources/patientRefunds/resources/v1/client/Client.d.ts +10 -34
- package/api/resources/patientRefunds/resources/v1/client/Client.js +15 -39
- package/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +1 -13
- package/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts +8 -6
- package/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +1 -15
- package/api/resources/payerPlanGroups/resources/v1/client/Client.d.ts +3 -15
- package/api/resources/payerPlanGroups/resources/v1/client/Client.js +8 -20
- package/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.d.ts +1 -13
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +14 -84
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +21 -91
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +1 -7
- package/api/resources/preEncounter/resources/common/types/BaseModel.d.ts +2 -2
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +28 -87
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +38 -97
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CheckEligibilityRequest.d.ts +1 -1
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiPaginatedRequest.d.ts +1 -6
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiRequest.d.ts +1 -3
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +1 -1
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +4 -18
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +5 -19
- package/api/resources/preEncounter/resources/images/resources/v1/client/Client.d.ts +15 -34
- package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +20 -39
- package/api/resources/preEncounter/resources/images/resources/v1/client/requests/ImageGetMultiRequest.d.ts +1 -4
- package/api/resources/preEncounter/resources/images/resources/v1/types/Image.d.ts +1 -1
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.d.ts +2 -14
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +4 -16
- package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +1 -7
- package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +1 -7
- package/api/resources/preEncounter/resources/lists/resources/v1/types/FilterQueryString.d.ts +1 -1
- package/api/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.d.ts +1 -1
- package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.d.ts +6 -10
- package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +10 -14
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +328 -456
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +339 -467
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +104 -144
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +104 -144
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientGetMultiRequest.d.ts +1 -4
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequestPaginated.d.ts +1 -7
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/SearchProvidersRequest.d.ts +1 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -3
- package/api/resources/preEncounter/resources/patients/resources/v1/types/Patient.d.ts +2 -2
- package/api/resources/preEncounter/resources/patients/resources/v1/types/PatientSortField.d.ts +1 -1
- package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.d.ts +7 -10
- package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +12 -15
- package/api/resources/preEncounter/resources/tags/resources/v1/client/requests/GetAllTagsRequest.d.ts +1 -4
- package/api/resources/serviceFacility/client/Client.d.ts +1 -11
- package/api/resources/serviceFacility/client/Client.js +2 -12
- package/api/resources/serviceLines/resources/v2/client/Client.d.ts +4 -82
- package/api/resources/serviceLines/resources/v2/client/Client.js +7 -85
- package/api/resources/superbills/resources/v1/client/Client.d.ts +2 -10
- package/api/resources/superbills/resources/v1/client/Client.js +3 -11
- package/api/resources/superbills/resources/v1/client/requests/CreateSuperbillRequest.d.ts +3 -14
- package/api/resources/tasks/resources/v3/client/Client.d.ts +4 -25
- package/api/resources/tasks/resources/v3/client/Client.js +9 -30
- package/api/resources/tasks/resources/v3/client/requests/GetAllTasksRequest.d.ts +1 -15
- package/api/resources/writeOffs/resources/v1/client/Client.d.ts +7 -13
- package/api/resources/writeOffs/resources/v1/client/Client.js +13 -19
- package/api/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.d.ts +6 -1
- package/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +1 -12
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.d.ts +2 -3
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +5 -6
- package/dist/api/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.d.ts +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/requests/StandaloneBillingNoteCreate.d.ts +1 -2
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +5 -46
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +11 -52
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +1 -3
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +1 -9
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +5 -15
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +1 -35
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +1 -1
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +1 -22
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +4 -25
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureClaimCreationsRequest.d.ts +1 -22
- package/dist/api/resources/commons/types/InsuranceTypeCode.d.ts +1 -1
- package/dist/api/resources/contracts/resources/v2/client/Client.d.ts +3 -67
- package/dist/api/resources/contracts/resources/v2/client/Client.js +19 -73
- package/dist/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +1 -25
- package/dist/api/resources/contracts/resources/v2/client/requests/ContractUpdate.d.ts +1 -36
- package/dist/api/resources/contracts/resources/v2/client/requests/GetMultiContractsRequest.d.ts +9 -9
- package/dist/api/resources/contracts/resources/v2/types/ContractSortField.d.ts +12 -0
- package/dist/api/resources/contracts/resources/v2/types/ContractSortField.js +14 -0
- package/dist/api/resources/contracts/resources/v2/types/index.d.ts +1 -0
- package/dist/api/resources/contracts/resources/v2/types/index.js +1 -0
- package/dist/api/resources/credentialing/resources/v2/client/Client.d.ts +4 -26
- package/dist/api/resources/credentialing/resources/v2/client/Client.js +9 -31
- package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +1 -8
- package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +4 -14
- package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +3 -20
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/diagnoses/client/Client.d.ts +3 -8
- package/dist/api/resources/diagnoses/client/Client.js +6 -11
- package/dist/api/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +2 -10
- package/dist/api/resources/diagnoses/types/DiagnosisCreate.d.ts +5 -6
- package/dist/api/resources/eligibility/resources/v2/client/Client.d.ts +2 -6
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +5 -9
- package/dist/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +0 -3
- package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -6
- package/dist/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.d.ts +0 -4
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.d.ts +8 -114
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +20 -126
- package/dist/api/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.d.ts +1 -2
- package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +49 -674
- package/dist/api/resources/encounters/resources/v4/client/Client.js +54 -679
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +35 -410
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +6 -155
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +1 -1
- package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +5 -5
- package/dist/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +7 -7
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +6 -9
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +7 -10
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/requests/ExpectedNetworkStatusRequest.d.ts +7 -13
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +12 -16
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +14 -18
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.d.ts +5 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.js +5 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +5 -8
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +1 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/index.js +1 -0
- package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.d.ts +1 -5
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +2 -6
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/requests/GetExternalPaymentAccountConfigsRequest.d.ts +1 -4
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.d.ts +37 -38
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +47 -48
- package/dist/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts +32 -5
- package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetMultiRequest.d.ts +1 -15
- package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts +1 -13
- package/dist/api/resources/feeSchedules/resources/v3/types/PayerThreshold.d.ts +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/types/Rate.d.ts +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/types/RateEntry.d.ts +1 -1
- package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +8 -38
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +11 -41
- package/dist/api/resources/importInvoice/resources/v1/client/Client.d.ts +11 -34
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +15 -38
- package/dist/api/resources/importInvoice/resources/v1/client/requests/SearchImportedInvoicesRequest.d.ts +1 -12
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +92 -10
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +95 -13
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.d.ts +1 -10
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +3 -12
- package/dist/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.d.ts +1 -10
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +12 -26
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +17 -31
- package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/GetMultiInsuranceRefundsRequest.d.ts +1 -10
- package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +1 -11
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.d.ts +5 -17
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +6 -18
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.d.ts +9 -25
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +14 -30
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/GetMultiNonInsurancePayerPaymentRequest.d.ts +1 -9
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/UpdateNonInsurancePayerPaymentRequest.d.ts +1 -11
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.d.ts +9 -30
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +14 -35
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/GetMultiNonInsurancePayerRefundsRequest.d.ts +1 -9
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/NonInsurancePayerRefundUpdate.d.ts +1 -15
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +3 -37
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +9 -43
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/requests/GetMultiNonInsurancePayersRequest.d.ts +1 -9
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.d.ts +12 -58
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +16 -62
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.d.ts +1 -1
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +6 -6
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.d.ts +1 -1
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.d.ts +3 -3
- package/dist/api/resources/patientPayments/resources/v4/client/Client.d.ts +10 -29
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +15 -34
- package/dist/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +1 -13
- package/dist/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.d.ts +8 -5
- package/dist/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +1 -11
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.d.ts +10 -34
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +15 -39
- package/dist/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +1 -13
- package/dist/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts +8 -6
- package/dist/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +1 -15
- package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.d.ts +3 -15
- package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +8 -20
- package/dist/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.d.ts +1 -13
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +14 -84
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +21 -91
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +1 -7
- package/dist/api/resources/preEncounter/resources/common/types/BaseModel.d.ts +2 -2
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +28 -87
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +38 -97
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CheckEligibilityRequest.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiPaginatedRequest.d.ts +1 -6
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiRequest.d.ts +1 -3
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +4 -18
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +5 -19
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.d.ts +15 -34
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +20 -39
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/requests/ImageGetMultiRequest.d.ts +1 -4
- package/dist/api/resources/preEncounter/resources/images/resources/v1/types/Image.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.d.ts +2 -14
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +4 -16
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +1 -7
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +1 -7
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/FilterQueryString.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.d.ts +6 -10
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +10 -14
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +328 -456
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +339 -467
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +104 -144
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +104 -144
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientGetMultiRequest.d.ts +1 -4
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequestPaginated.d.ts +1 -7
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/SearchProvidersRequest.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -3
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Patient.d.ts +2 -2
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/PatientSortField.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.d.ts +7 -10
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +12 -15
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/requests/GetAllTagsRequest.d.ts +1 -4
- package/dist/api/resources/serviceFacility/client/Client.d.ts +1 -11
- package/dist/api/resources/serviceFacility/client/Client.js +2 -12
- package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +4 -82
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +7 -85
- package/dist/api/resources/superbills/resources/v1/client/Client.d.ts +2 -10
- package/dist/api/resources/superbills/resources/v1/client/Client.js +3 -11
- package/dist/api/resources/superbills/resources/v1/client/requests/CreateSuperbillRequest.d.ts +3 -14
- package/dist/api/resources/tasks/resources/v3/client/Client.d.ts +4 -25
- package/dist/api/resources/tasks/resources/v3/client/Client.js +9 -30
- package/dist/api/resources/tasks/resources/v3/client/requests/GetAllTasksRequest.d.ts +1 -15
- package/dist/api/resources/writeOffs/resources/v1/client/Client.d.ts +7 -13
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +13 -19
- package/dist/api/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.d.ts +6 -1
- package/dist/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +1 -12
- package/dist/environments.d.ts +5 -1
- package/dist/environments.js +4 -0
- package/dist/serialization/resources/contracts/resources/v2/types/ContractSortField.d.ts +10 -0
- package/dist/serialization/resources/contracts/resources/v2/types/ContractSortField.js +48 -0
- package/dist/serialization/resources/contracts/resources/v2/types/index.d.ts +1 -0
- package/dist/serialization/resources/contracts/resources/v2/types/index.js +1 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.d.ts +11 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.js +41 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +3 -2
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +3 -2
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +1 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/index.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/environments.d.ts +5 -1
- package/environments.js +4 -0
- package/package.json +1 -1
- package/reference.md +772 -2366
- package/serialization/resources/contracts/resources/v2/types/ContractSortField.d.ts +10 -0
- package/serialization/resources/contracts/resources/v2/types/ContractSortField.js +48 -0
- package/serialization/resources/contracts/resources/v2/types/index.d.ts +1 -0
- package/serialization/resources/contracts/resources/v2/types/index.js +1 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.d.ts +11 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.js +41 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +3 -2
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +3 -2
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +1 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/index.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -5,7 +5,7 @@ import * as CandidApi from "../../../../../../index";
|
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
7
|
* {
|
|
8
|
-
* chargeCaptureChangeIds: [CandidApi.ChargeCapturePostBilledChangeId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
8
|
+
* chargeCaptureChangeIds: [CandidApi.ChargeCapturePostBilledChangeId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), CandidApi.ChargeCapturePostBilledChangeId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
9
9
|
* resolved: true
|
|
10
10
|
* }
|
|
11
11
|
*/
|
|
@@ -13,13 +13,11 @@ export interface ChargeCapturePostBilledChangeUpdate {
|
|
|
13
13
|
/**
|
|
14
14
|
* A list of UUIDs corresponding to ChargeCapturePostBilledChanges.
|
|
15
15
|
* All of the charges sent will be marked as resolved
|
|
16
|
-
*
|
|
17
16
|
*/
|
|
18
17
|
chargeCaptureChangeIds: CandidApi.ChargeCapturePostBilledChangeId[];
|
|
19
18
|
/**
|
|
20
19
|
* Whether the change has been resolved. If true, the change will be marked as resolved.
|
|
21
20
|
* If false, the change will be marked as unresolved.
|
|
22
|
-
*
|
|
23
21
|
*/
|
|
24
22
|
resolved: boolean;
|
|
25
23
|
}
|
package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts
CHANGED
|
@@ -4,13 +4,7 @@
|
|
|
4
4
|
import * as CandidApi from "../../../../../../index";
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
|
-
* {
|
|
8
|
-
* data: {},
|
|
9
|
-
* chargeExternalId: "string",
|
|
10
|
-
* ehrSourceUrl: "string",
|
|
11
|
-
* patientExternalId: "string",
|
|
12
|
-
* status: "planned"
|
|
13
|
-
* }
|
|
7
|
+
* {}
|
|
14
8
|
*/
|
|
15
9
|
export interface ChargeCaptureUpdate {
|
|
16
10
|
data?: CandidApi.chargeCapture.v1.ChargeCaptureData;
|
|
@@ -18,13 +12,11 @@ export interface ChargeCaptureUpdate {
|
|
|
18
12
|
* A client-specified unique ID to associate with this encounter;
|
|
19
13
|
* for example, your internal encounter ID or a Dr. Chrono encounter ID.
|
|
20
14
|
* This field should not contain PHI.
|
|
21
|
-
*
|
|
22
15
|
*/
|
|
23
16
|
chargeExternalId?: string;
|
|
24
17
|
/**
|
|
25
18
|
* External URL reference that links to Charge Capture details within the external system (e.g. the EHR visit page).
|
|
26
19
|
* Send full URL format for the external link (e.g. https://emr_charge_capture_url.com/123).
|
|
27
|
-
*
|
|
28
20
|
*/
|
|
29
21
|
ehrSourceUrl?: string;
|
|
30
22
|
/** The patient ID from the external EMR platform for the patient */
|
|
@@ -6,27 +6,17 @@ import * as CandidApi from "../../../../../../index";
|
|
|
6
6
|
* @example
|
|
7
7
|
* {
|
|
8
8
|
* data: {},
|
|
9
|
-
* chargeExternalId: "
|
|
10
|
-
*
|
|
11
|
-
* patientExternalId: "string",
|
|
9
|
+
* chargeExternalId: "charge_external_id",
|
|
10
|
+
* patientExternalId: "patient_external_id",
|
|
12
11
|
* status: "planned"
|
|
13
12
|
* }
|
|
14
13
|
*/
|
|
15
14
|
export interface CreateChargeCaptureRequest {
|
|
16
|
-
/**
|
|
17
|
-
* Charge Capture data contains all the fields needed to create an encounter, but listed as optional. Candid will use this data when attempting to bundle multiple Charge Captures into a single encounter.
|
|
18
|
-
*
|
|
19
|
-
*/
|
|
15
|
+
/** Charge Capture data contains all the fields needed to create an encounter, but listed as optional. Candid will use this data when attempting to bundle multiple Charge Captures into a single encounter. */
|
|
20
16
|
data: CandidApi.chargeCapture.v1.ChargeCaptureData;
|
|
21
|
-
/**
|
|
22
|
-
* A client-specified unique ID to associate with this encounter; for example, your internal encounter ID or a Dr. Chrono encounter ID. This field should not contain PHI.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
17
|
+
/** A client-specified unique ID to associate with this encounter; for example, your internal encounter ID or a Dr. Chrono encounter ID. This field should not contain PHI. */
|
|
25
18
|
chargeExternalId: string;
|
|
26
|
-
/**
|
|
27
|
-
* External URL reference that links to Charge Capture details within the external system (e.g. the EHR visit page). Send full URL format for the external link (e.g. https://emr_charge_capture_url.com/123).
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
19
|
+
/** External URL reference that links to Charge Capture details within the external system (e.g. the EHR visit page). Send full URL format for the external link (e.g. https://emr_charge_capture_url.com/123). */
|
|
30
20
|
ehrSourceUrl?: string;
|
|
31
21
|
/** The patient ID from the external EMR platform for the patient */
|
|
32
22
|
patientExternalId: string;
|
|
@@ -4,41 +4,7 @@
|
|
|
4
4
|
import * as CandidApi from "../../../../../../index";
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
|
-
* {
|
|
8
|
-
* limit: 1,
|
|
9
|
-
* sort: "created_at",
|
|
10
|
-
* sortDirection: "asc",
|
|
11
|
-
* pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
|
|
12
|
-
* patientExternalId: "string",
|
|
13
|
-
* status: "planned",
|
|
14
|
-
* chargeExternalId: "string",
|
|
15
|
-
* dateOfServiceMin: "2023-01-15",
|
|
16
|
-
* dateOfServiceMax: "2023-01-15",
|
|
17
|
-
* claimIds: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
18
|
-
* claimCreationIds: CandidApi.ChargeCaptureClaimCreationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
19
|
-
* billingProviderNpis: "string",
|
|
20
|
-
* serviceFacilityName: "string",
|
|
21
|
-
* primaryPayerIds: "string",
|
|
22
|
-
* renderingProviderNpis: "string",
|
|
23
|
-
* renderingProviderNames: "string",
|
|
24
|
-
* supervisingProviderNpis: "string",
|
|
25
|
-
* supervisingProviderNames: "string",
|
|
26
|
-
* excludeChargesLinkedToClaims: true,
|
|
27
|
-
* patientExternalIdRankedSort: "string",
|
|
28
|
-
* statusRankedSort: "planned",
|
|
29
|
-
* chargeExternalIdRankedSort: "string",
|
|
30
|
-
* dateOfServiceMinRankedSort: "2023-01-15",
|
|
31
|
-
* dateOfServiceMaxRankedSort: "2023-01-15",
|
|
32
|
-
* claimIdsRankedSort: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
33
|
-
* claimCreationIdsRankedSort: CandidApi.ChargeCaptureClaimCreationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
34
|
-
* billingProviderNpisRankedSort: "string",
|
|
35
|
-
* serviceFacilityNameRankedSort: "string",
|
|
36
|
-
* primaryPayerIdsRankedSort: "string",
|
|
37
|
-
* renderingProviderNpisRankedSort: "string",
|
|
38
|
-
* renderingProviderNamesRankedSort: "string",
|
|
39
|
-
* supervisingProviderNpisRankedSort: "string",
|
|
40
|
-
* supervisingProviderNamesRankedSort: "string"
|
|
41
|
-
* }
|
|
7
|
+
* {}
|
|
42
8
|
*/
|
|
43
9
|
export interface GetAllChargeCapturesRequest {
|
|
44
10
|
/**
|
|
@@ -11,7 +11,7 @@ export interface ChargeCaptureData extends CandidApi.encounters.v4.EncounterOpti
|
|
|
11
11
|
diagnoses?: CandidApi.DiagnosisCreate[];
|
|
12
12
|
interventions?: CandidApi.encounters.v4.Intervention[];
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* ***This field is in beta.***
|
|
15
15
|
* To be included for claims that have been submitted outside of Candid.
|
|
16
16
|
* Candid supports posting remits and payments to these claims and working them in-platform (e.g. editing, resubmitting).
|
|
17
17
|
*/
|
|
@@ -45,28 +45,7 @@ export declare class V1 {
|
|
|
45
45
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
46
46
|
*
|
|
47
47
|
* @example
|
|
48
|
-
* await client.chargeCaptureBundles.v1.getAll(
|
|
49
|
-
* limit: 1,
|
|
50
|
-
* sort: "created_at",
|
|
51
|
-
* sortDirection: "asc",
|
|
52
|
-
* pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
|
|
53
|
-
* patientExternalId: "string",
|
|
54
|
-
* claimCreationStatus: "not-started",
|
|
55
|
-
* chargeStatus: "planned",
|
|
56
|
-
* chargeExternalId: "string",
|
|
57
|
-
* dateOfServiceMin: "2023-01-15",
|
|
58
|
-
* dateOfServiceMax: "2023-01-15",
|
|
59
|
-
* claimIds: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
60
|
-
* claimCreationIds: CandidApi.ChargeCaptureClaimCreationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
61
|
-
* billingProviderNpis: "string",
|
|
62
|
-
* serviceFacilityName: "string",
|
|
63
|
-
* primaryPayerIds: "string",
|
|
64
|
-
* renderingProviderNpis: "string",
|
|
65
|
-
* renderingProviderNames: "string",
|
|
66
|
-
* supervisingProviderNpis: "string",
|
|
67
|
-
* supervisingProviderNames: "string",
|
|
68
|
-
* hasChargeCaptureUpdates: true
|
|
69
|
-
* })
|
|
48
|
+
* await client.chargeCaptureBundles.v1.getAll()
|
|
70
49
|
*/
|
|
71
50
|
getAll(request?: CandidApi.chargeCaptureBundles.v1.GetAllChargeCaptureClaimCreationsRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.chargeCaptureBundles.v1.ChargeCaptureClaimCreationPage, CandidApi.chargeCaptureBundles.v1.getAll.Error>>;
|
|
72
51
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
@@ -71,7 +71,7 @@ class V1 {
|
|
|
71
71
|
const _response = yield core.fetcher({
|
|
72
72
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/charge_capture_claim_creation/v1/${encodeURIComponent(serializers.ChargeCaptureClaimCreationId.jsonOrThrow(chargeCaptureClaimCreationId))}`),
|
|
73
73
|
method: "GET",
|
|
74
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
74
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
75
75
|
contentType: "application/json",
|
|
76
76
|
requestType: "json",
|
|
77
77
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -107,7 +107,7 @@ class V1 {
|
|
|
107
107
|
const _response = yield core.fetcher({
|
|
108
108
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/charge_capture_claim_creation/v1/all/summary"),
|
|
109
109
|
method: "GET",
|
|
110
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
110
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
111
111
|
contentType: "application/json",
|
|
112
112
|
requestType: "json",
|
|
113
113
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -136,28 +136,7 @@ class V1 {
|
|
|
136
136
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
137
137
|
*
|
|
138
138
|
* @example
|
|
139
|
-
* await client.chargeCaptureBundles.v1.getAll(
|
|
140
|
-
* limit: 1,
|
|
141
|
-
* sort: "created_at",
|
|
142
|
-
* sortDirection: "asc",
|
|
143
|
-
* pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
|
|
144
|
-
* patientExternalId: "string",
|
|
145
|
-
* claimCreationStatus: "not-started",
|
|
146
|
-
* chargeStatus: "planned",
|
|
147
|
-
* chargeExternalId: "string",
|
|
148
|
-
* dateOfServiceMin: "2023-01-15",
|
|
149
|
-
* dateOfServiceMax: "2023-01-15",
|
|
150
|
-
* claimIds: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
151
|
-
* claimCreationIds: CandidApi.ChargeCaptureClaimCreationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
152
|
-
* billingProviderNpis: "string",
|
|
153
|
-
* serviceFacilityName: "string",
|
|
154
|
-
* primaryPayerIds: "string",
|
|
155
|
-
* renderingProviderNpis: "string",
|
|
156
|
-
* renderingProviderNames: "string",
|
|
157
|
-
* supervisingProviderNpis: "string",
|
|
158
|
-
* supervisingProviderNames: "string",
|
|
159
|
-
* hasChargeCaptureUpdates: true
|
|
160
|
-
* })
|
|
139
|
+
* await client.chargeCaptureBundles.v1.getAll()
|
|
161
140
|
*/
|
|
162
141
|
getAll() {
|
|
163
142
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
@@ -274,7 +253,7 @@ class V1 {
|
|
|
274
253
|
const _response = yield core.fetcher({
|
|
275
254
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/charge_capture_claim_creation/v1"),
|
|
276
255
|
method: "GET",
|
|
277
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
256
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
278
257
|
contentType: "application/json",
|
|
279
258
|
queryParameters: _queryParams,
|
|
280
259
|
requestType: "json",
|
|
@@ -4,28 +4,7 @@
|
|
|
4
4
|
import * as CandidApi from "../../../../../../index";
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
|
-
* {
|
|
8
|
-
* limit: 1,
|
|
9
|
-
* sort: "created_at",
|
|
10
|
-
* sortDirection: "asc",
|
|
11
|
-
* pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
|
|
12
|
-
* patientExternalId: "string",
|
|
13
|
-
* claimCreationStatus: "not-started",
|
|
14
|
-
* chargeStatus: "planned",
|
|
15
|
-
* chargeExternalId: "string",
|
|
16
|
-
* dateOfServiceMin: "2023-01-15",
|
|
17
|
-
* dateOfServiceMax: "2023-01-15",
|
|
18
|
-
* claimIds: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
19
|
-
* claimCreationIds: CandidApi.ChargeCaptureClaimCreationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
20
|
-
* billingProviderNpis: "string",
|
|
21
|
-
* serviceFacilityName: "string",
|
|
22
|
-
* primaryPayerIds: "string",
|
|
23
|
-
* renderingProviderNpis: "string",
|
|
24
|
-
* renderingProviderNames: "string",
|
|
25
|
-
* supervisingProviderNpis: "string",
|
|
26
|
-
* supervisingProviderNames: "string",
|
|
27
|
-
* hasChargeCaptureUpdates: true
|
|
28
|
-
* }
|
|
7
|
+
* {}
|
|
29
8
|
*/
|
|
30
9
|
export interface GetAllChargeCaptureClaimCreationsRequest {
|
|
31
10
|
/**
|
|
@@ -99,7 +99,7 @@ export type InsuranceTypeCode =
|
|
|
99
99
|
* Special Low Income Medicare Beneficiary - An individual eligible for Medicare for whom Medicaid pays only Medicare premiums */
|
|
100
100
|
| "HS"
|
|
101
101
|
/**
|
|
102
|
-
* Indemnity - Gives a subscriber the choice to select any provider.
|
|
102
|
+
* Indemnity - Gives a subscriber the choice to select any provider. Payment is fixed percentage of the cost for covered care after satisfying an annual deductible */
|
|
103
103
|
| "IN"
|
|
104
104
|
/**
|
|
105
105
|
* Individual Policy */
|
|
@@ -38,15 +38,7 @@ export declare class V2 {
|
|
|
38
38
|
* @param {V2.RequestOptions} requestOptions - Request-specific configuration.
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
|
-
* await client.contracts.v2.getMulti(
|
|
42
|
-
* pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
|
|
43
|
-
* limit: 1,
|
|
44
|
-
* contractingProviderId: CandidApi.contracts.v2.ContractingProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
45
|
-
* renderingProviderIds: CandidApi.contracts.v2.RenderingProviderid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
46
|
-
* payerNames: "string",
|
|
47
|
-
* states: "AA",
|
|
48
|
-
* contractStatus: "pending"
|
|
49
|
-
* })
|
|
41
|
+
* await client.contracts.v2.getMulti()
|
|
50
42
|
*/
|
|
51
43
|
getMulti(request?: CandidApi.contracts.v2.GetMultiContractsRequest, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.contracts.v2.ContractsPage, CandidApi.contracts.v2.getMulti.Error>>;
|
|
52
44
|
/**
|
|
@@ -59,30 +51,7 @@ export declare class V2 {
|
|
|
59
51
|
* await client.contracts.v2.create({
|
|
60
52
|
* contractingProviderId: CandidApi.contracts.v2.ContractingProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
61
53
|
* renderingProviderIds: new Set([CandidApi.contracts.v2.RenderingProviderid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]),
|
|
62
|
-
* payerUuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
|
|
63
|
-
* effectiveDate: CandidApi.Date_("string"),
|
|
64
|
-
* expirationDate: CandidApi.Date_("string"),
|
|
65
|
-
* regions: {
|
|
66
|
-
* type: "states"
|
|
67
|
-
* },
|
|
68
|
-
* contractStatus: "pending",
|
|
69
|
-
* authorizedSignatory: {
|
|
70
|
-
* firstName: "string",
|
|
71
|
-
* lastName: "string",
|
|
72
|
-
* title: "string",
|
|
73
|
-
* email: "string",
|
|
74
|
-
* phone: "string",
|
|
75
|
-
* fax: "string"
|
|
76
|
-
* },
|
|
77
|
-
* commercialInsuranceTypes: {
|
|
78
|
-
* type: "allApply"
|
|
79
|
-
* },
|
|
80
|
-
* medicareInsuranceTypes: {
|
|
81
|
-
* type: "allApply"
|
|
82
|
-
* },
|
|
83
|
-
* medicaidInsuranceTypes: {
|
|
84
|
-
* type: "allApply"
|
|
85
|
-
* }
|
|
54
|
+
* payerUuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
|
|
86
55
|
* })
|
|
87
56
|
*/
|
|
88
57
|
create(request: CandidApi.contracts.v2.ContractCreate, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.contracts.v2.ContractWithProviders, CandidApi.contracts.v2.create.Error>>;
|
|
@@ -100,40 +69,7 @@ export declare class V2 {
|
|
|
100
69
|
* @param {V2.RequestOptions} requestOptions - Request-specific configuration.
|
|
101
70
|
*
|
|
102
71
|
* @example
|
|
103
|
-
* await client.contracts.v2.update(CandidApi.contracts.v2.ContractId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
104
|
-
* renderingProviderIds: new Set([CandidApi.contracts.v2.RenderingProviderid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]),
|
|
105
|
-
* effectiveDate: CandidApi.Date_("string"),
|
|
106
|
-
* expirationDate: {
|
|
107
|
-
* type: "set",
|
|
108
|
-
* value: CandidApi.Date_("string")
|
|
109
|
-
* },
|
|
110
|
-
* regions: {
|
|
111
|
-
* type: "set",
|
|
112
|
-
* value: {
|
|
113
|
-
* type: "states",
|
|
114
|
-
* states: ["AA"]
|
|
115
|
-
* }
|
|
116
|
-
* },
|
|
117
|
-
* contractStatus: "pending",
|
|
118
|
-
* authorizedSignatory: {
|
|
119
|
-
* type: "set",
|
|
120
|
-
* firstName: "string",
|
|
121
|
-
* lastName: "string",
|
|
122
|
-
* title: "string",
|
|
123
|
-
* email: "string",
|
|
124
|
-
* phone: "string",
|
|
125
|
-
* fax: "string"
|
|
126
|
-
* },
|
|
127
|
-
* commercialInsuranceTypes: {
|
|
128
|
-
* type: "allApply"
|
|
129
|
-
* },
|
|
130
|
-
* medicareInsuranceTypes: {
|
|
131
|
-
* type: "allApply"
|
|
132
|
-
* },
|
|
133
|
-
* medicaidInsuranceTypes: {
|
|
134
|
-
* type: "allApply"
|
|
135
|
-
* }
|
|
136
|
-
* })
|
|
72
|
+
* await client.contracts.v2.update(CandidApi.contracts.v2.ContractId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
|
|
137
73
|
*/
|
|
138
74
|
update(contractId: CandidApi.contracts.v2.ContractId, request?: CandidApi.contracts.v2.ContractUpdate, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.contracts.v2.ContractWithProviders, CandidApi.contracts.v2.update.Error>>;
|
|
139
75
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
@@ -71,7 +71,7 @@ class V2 {
|
|
|
71
71
|
const _response = yield core.fetcher({
|
|
72
72
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/contracts/v2/${encodeURIComponent(serializers.contracts.v2.ContractId.jsonOrThrow(contractId))}`),
|
|
73
73
|
method: "GET",
|
|
74
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
74
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
75
75
|
contentType: "application/json",
|
|
76
76
|
requestType: "json",
|
|
77
77
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -114,20 +114,12 @@ class V2 {
|
|
|
114
114
|
* @param {V2.RequestOptions} requestOptions - Request-specific configuration.
|
|
115
115
|
*
|
|
116
116
|
* @example
|
|
117
|
-
* await client.contracts.v2.getMulti(
|
|
118
|
-
* pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
|
|
119
|
-
* limit: 1,
|
|
120
|
-
* contractingProviderId: CandidApi.contracts.v2.ContractingProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
121
|
-
* renderingProviderIds: CandidApi.contracts.v2.RenderingProviderid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
122
|
-
* payerNames: "string",
|
|
123
|
-
* states: "AA",
|
|
124
|
-
* contractStatus: "pending"
|
|
125
|
-
* })
|
|
117
|
+
* await client.contracts.v2.getMulti()
|
|
126
118
|
*/
|
|
127
119
|
getMulti() {
|
|
128
120
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
129
121
|
var _a, _b;
|
|
130
|
-
const { pageToken, limit, contractingProviderId, renderingProviderIds, payerNames, states, contractStatus } = request;
|
|
122
|
+
const { pageToken, limit, contractingProviderId, renderingProviderIds, payerNames, states, contractStatus, sort, sortDirection, } = request;
|
|
131
123
|
const _queryParams = {};
|
|
132
124
|
if (pageToken != null) {
|
|
133
125
|
_queryParams["page_token"] = pageToken;
|
|
@@ -167,10 +159,20 @@ class V2 {
|
|
|
167
159
|
unrecognizedObjectKeys: "strip",
|
|
168
160
|
});
|
|
169
161
|
}
|
|
162
|
+
if (sort != null) {
|
|
163
|
+
_queryParams["sort"] = serializers.contracts.v2.ContractSortField.jsonOrThrow(sort, {
|
|
164
|
+
unrecognizedObjectKeys: "strip",
|
|
165
|
+
});
|
|
166
|
+
}
|
|
167
|
+
if (sortDirection != null) {
|
|
168
|
+
_queryParams["sort_direction"] = serializers.SortDirection.jsonOrThrow(sortDirection, {
|
|
169
|
+
unrecognizedObjectKeys: "strip",
|
|
170
|
+
});
|
|
171
|
+
}
|
|
170
172
|
const _response = yield core.fetcher({
|
|
171
173
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/contracts/v2"),
|
|
172
174
|
method: "GET",
|
|
173
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
175
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
174
176
|
contentType: "application/json",
|
|
175
177
|
queryParameters: _queryParams,
|
|
176
178
|
requestType: "json",
|
|
@@ -205,30 +207,7 @@ class V2 {
|
|
|
205
207
|
* await client.contracts.v2.create({
|
|
206
208
|
* contractingProviderId: CandidApi.contracts.v2.ContractingProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
207
209
|
* renderingProviderIds: new Set([CandidApi.contracts.v2.RenderingProviderid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]),
|
|
208
|
-
* payerUuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
|
|
209
|
-
* effectiveDate: CandidApi.Date_("string"),
|
|
210
|
-
* expirationDate: CandidApi.Date_("string"),
|
|
211
|
-
* regions: {
|
|
212
|
-
* type: "states"
|
|
213
|
-
* },
|
|
214
|
-
* contractStatus: "pending",
|
|
215
|
-
* authorizedSignatory: {
|
|
216
|
-
* firstName: "string",
|
|
217
|
-
* lastName: "string",
|
|
218
|
-
* title: "string",
|
|
219
|
-
* email: "string",
|
|
220
|
-
* phone: "string",
|
|
221
|
-
* fax: "string"
|
|
222
|
-
* },
|
|
223
|
-
* commercialInsuranceTypes: {
|
|
224
|
-
* type: "allApply"
|
|
225
|
-
* },
|
|
226
|
-
* medicareInsuranceTypes: {
|
|
227
|
-
* type: "allApply"
|
|
228
|
-
* },
|
|
229
|
-
* medicaidInsuranceTypes: {
|
|
230
|
-
* type: "allApply"
|
|
231
|
-
* }
|
|
210
|
+
* payerUuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
|
|
232
211
|
* })
|
|
233
212
|
*/
|
|
234
213
|
create(request, requestOptions) {
|
|
@@ -237,7 +216,7 @@ class V2 {
|
|
|
237
216
|
const _response = yield core.fetcher({
|
|
238
217
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/contracts/v2"),
|
|
239
218
|
method: "POST",
|
|
240
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
219
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
241
220
|
contentType: "application/json",
|
|
242
221
|
requestType: "json",
|
|
243
222
|
body: serializers.contracts.v2.ContractCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -275,7 +254,7 @@ class V2 {
|
|
|
275
254
|
const _response = yield core.fetcher({
|
|
276
255
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/contracts/v2/${encodeURIComponent(serializers.contracts.v2.ContractId.jsonOrThrow(contractId))}`),
|
|
277
256
|
method: "DELETE",
|
|
278
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
257
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
279
258
|
contentType: "application/json",
|
|
280
259
|
requestType: "json",
|
|
281
260
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -314,40 +293,7 @@ class V2 {
|
|
|
314
293
|
* @param {V2.RequestOptions} requestOptions - Request-specific configuration.
|
|
315
294
|
*
|
|
316
295
|
* @example
|
|
317
|
-
* await client.contracts.v2.update(CandidApi.contracts.v2.ContractId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
318
|
-
* renderingProviderIds: new Set([CandidApi.contracts.v2.RenderingProviderid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]),
|
|
319
|
-
* effectiveDate: CandidApi.Date_("string"),
|
|
320
|
-
* expirationDate: {
|
|
321
|
-
* type: "set",
|
|
322
|
-
* value: CandidApi.Date_("string")
|
|
323
|
-
* },
|
|
324
|
-
* regions: {
|
|
325
|
-
* type: "set",
|
|
326
|
-
* value: {
|
|
327
|
-
* type: "states",
|
|
328
|
-
* states: ["AA"]
|
|
329
|
-
* }
|
|
330
|
-
* },
|
|
331
|
-
* contractStatus: "pending",
|
|
332
|
-
* authorizedSignatory: {
|
|
333
|
-
* type: "set",
|
|
334
|
-
* firstName: "string",
|
|
335
|
-
* lastName: "string",
|
|
336
|
-
* title: "string",
|
|
337
|
-
* email: "string",
|
|
338
|
-
* phone: "string",
|
|
339
|
-
* fax: "string"
|
|
340
|
-
* },
|
|
341
|
-
* commercialInsuranceTypes: {
|
|
342
|
-
* type: "allApply"
|
|
343
|
-
* },
|
|
344
|
-
* medicareInsuranceTypes: {
|
|
345
|
-
* type: "allApply"
|
|
346
|
-
* },
|
|
347
|
-
* medicaidInsuranceTypes: {
|
|
348
|
-
* type: "allApply"
|
|
349
|
-
* }
|
|
350
|
-
* })
|
|
296
|
+
* await client.contracts.v2.update(CandidApi.contracts.v2.ContractId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
|
|
351
297
|
*/
|
|
352
298
|
update(contractId_1) {
|
|
353
299
|
return __awaiter(this, arguments, void 0, function* (contractId, request = {}, requestOptions) {
|
|
@@ -355,7 +301,7 @@ class V2 {
|
|
|
355
301
|
const _response = yield core.fetcher({
|
|
356
302
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/contracts/v2/${encodeURIComponent(serializers.contracts.v2.ContractId.jsonOrThrow(contractId))}`),
|
|
357
303
|
method: "PATCH",
|
|
358
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
304
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.46.0", "User-Agent": "candidhealth/0.46.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
359
305
|
contentType: "application/json",
|
|
360
306
|
requestType: "json",
|
|
361
307
|
body: serializers.contracts.v2.ContractUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -7,30 +7,7 @@ import * as CandidApi from "../../../../../../index";
|
|
|
7
7
|
* {
|
|
8
8
|
* contractingProviderId: CandidApi.contracts.v2.ContractingProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
9
9
|
* renderingProviderIds: new Set([CandidApi.contracts.v2.RenderingProviderid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]),
|
|
10
|
-
* payerUuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
|
|
11
|
-
* effectiveDate: CandidApi.Date_("string"),
|
|
12
|
-
* expirationDate: CandidApi.Date_("string"),
|
|
13
|
-
* regions: {
|
|
14
|
-
* type: "states"
|
|
15
|
-
* },
|
|
16
|
-
* contractStatus: "pending",
|
|
17
|
-
* authorizedSignatory: {
|
|
18
|
-
* firstName: "string",
|
|
19
|
-
* lastName: "string",
|
|
20
|
-
* title: "string",
|
|
21
|
-
* email: "string",
|
|
22
|
-
* phone: "string",
|
|
23
|
-
* fax: "string"
|
|
24
|
-
* },
|
|
25
|
-
* commercialInsuranceTypes: {
|
|
26
|
-
* type: "allApply"
|
|
27
|
-
* },
|
|
28
|
-
* medicareInsuranceTypes: {
|
|
29
|
-
* type: "allApply"
|
|
30
|
-
* },
|
|
31
|
-
* medicaidInsuranceTypes: {
|
|
32
|
-
* type: "allApply"
|
|
33
|
-
* }
|
|
10
|
+
* payerUuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
|
|
34
11
|
* }
|
|
35
12
|
*/
|
|
36
13
|
export interface ContractCreate extends CandidApi.contracts.v2.ContractBase {
|
|
@@ -40,7 +17,6 @@ export interface ContractCreate extends CandidApi.contracts.v2.ContractBase {
|
|
|
40
17
|
* A rendering provider isn't contracted directly with the payer but can render
|
|
41
18
|
* services under the contract held by the contracting provider.
|
|
42
19
|
* Max items is 100.
|
|
43
|
-
*
|
|
44
20
|
*/
|
|
45
21
|
renderingProviderIds: Set<CandidApi.contracts.v2.RenderingProviderid>;
|
|
46
22
|
/** The UUID of the insurance company under agreement to the contract */
|
|
@@ -4,47 +4,13 @@
|
|
|
4
4
|
import * as CandidApi from "../../../../../../index";
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
|
-
* {
|
|
8
|
-
* renderingProviderIds: new Set([CandidApi.contracts.v2.RenderingProviderid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]),
|
|
9
|
-
* effectiveDate: CandidApi.Date_("string"),
|
|
10
|
-
* expirationDate: {
|
|
11
|
-
* type: "set",
|
|
12
|
-
* value: CandidApi.Date_("string")
|
|
13
|
-
* },
|
|
14
|
-
* regions: {
|
|
15
|
-
* type: "set",
|
|
16
|
-
* value: {
|
|
17
|
-
* type: "states",
|
|
18
|
-
* states: ["AA"]
|
|
19
|
-
* }
|
|
20
|
-
* },
|
|
21
|
-
* contractStatus: "pending",
|
|
22
|
-
* authorizedSignatory: {
|
|
23
|
-
* type: "set",
|
|
24
|
-
* firstName: "string",
|
|
25
|
-
* lastName: "string",
|
|
26
|
-
* title: "string",
|
|
27
|
-
* email: "string",
|
|
28
|
-
* phone: "string",
|
|
29
|
-
* fax: "string"
|
|
30
|
-
* },
|
|
31
|
-
* commercialInsuranceTypes: {
|
|
32
|
-
* type: "allApply"
|
|
33
|
-
* },
|
|
34
|
-
* medicareInsuranceTypes: {
|
|
35
|
-
* type: "allApply"
|
|
36
|
-
* },
|
|
37
|
-
* medicaidInsuranceTypes: {
|
|
38
|
-
* type: "allApply"
|
|
39
|
-
* }
|
|
40
|
-
* }
|
|
7
|
+
* {}
|
|
41
8
|
*/
|
|
42
9
|
export interface ContractUpdate {
|
|
43
10
|
/**
|
|
44
11
|
* A rendering provider isn't contracted directly with the payer but can render
|
|
45
12
|
* services under the contract held by the contracting provider.
|
|
46
13
|
* Max items is 100.
|
|
47
|
-
*
|
|
48
14
|
*/
|
|
49
15
|
renderingProviderIds?: Set<CandidApi.contracts.v2.RenderingProviderid>;
|
|
50
16
|
/** The starting day upon which the contract is effective */
|
|
@@ -54,7 +20,6 @@ export interface ContractUpdate {
|
|
|
54
20
|
/**
|
|
55
21
|
* If present, the contract's rendering providers will be patched to this exact
|
|
56
22
|
* value, overriding what was set before.
|
|
57
|
-
*
|
|
58
23
|
*/
|
|
59
24
|
regions?: CandidApi.contracts.v2.RegionsUpdate;
|
|
60
25
|
contractStatus?: CandidApi.contracts.v2.ContractStatus;
|