candidhealth 0.43.1 → 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/billingNotes/resources/v2/types/index.d.ts +0 -1
- package/api/resources/billingNotes/resources/v2/types/index.js +0 -1
- 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 +28 -2
- 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/commons/types/StreetAddressOptionalBase.d.ts +12 -0
- package/api/resources/commons/types/StreetAddressShortZipOptional.d.ts +19 -0
- package/api/resources/commons/types/index.d.ts +2 -0
- package/api/resources/commons/types/index.js +2 -0
- 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/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +27 -0
- package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +5 -0
- package/api/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.d.ts +14 -0
- package/api/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.js +5 -0
- package/api/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.d.ts +13 -0
- package/api/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.js +5 -0
- package/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +13 -0
- package/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +5 -0
- package/api/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.d.ts +13 -0
- package/api/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.js +5 -0
- package/api/resources/encounterProviders/resources/v2/types/index.d.ts +5 -0
- package/api/resources/encounterProviders/resources/v2/types/index.js +5 -0
- package/api/resources/encounters/resources/v4/client/Client.d.ts +49 -546
- package/api/resources/encounters/resources/v4/client/Client.js +54 -551
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +36 -405
- package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +26 -7
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +3 -1
- package/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +5 -5
- package/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +9 -33
- 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/individual/types/PatientUpdateWithOptionalAddress.d.ts +23 -0
- package/api/resources/individual/types/PatientUpdateWithOptionalAddress.js +5 -0
- package/api/resources/individual/types/index.d.ts +1 -0
- package/api/resources/individual/types/index.js +1 -0
- 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/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.d.ts +20 -0
- package/api/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.js +5 -0
- package/api/resources/serviceFacility/types/index.d.ts +1 -0
- package/api/resources/serviceFacility/types/index.js +1 -0
- 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/billingNotes/resources/v2/types/index.d.ts +0 -1
- package/dist/api/resources/billingNotes/resources/v2/types/index.js +0 -1
- 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 +28 -2
- 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/commons/types/StreetAddressOptionalBase.d.ts +12 -0
- package/dist/api/resources/commons/types/StreetAddressOptionalBase.js +5 -0
- package/dist/api/resources/commons/types/StreetAddressShortZipOptional.d.ts +19 -0
- package/dist/api/resources/commons/types/StreetAddressShortZipOptional.js +5 -0
- package/dist/api/resources/commons/types/index.d.ts +2 -0
- package/dist/api/resources/commons/types/index.js +2 -0
- 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/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +27 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +5 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.d.ts +14 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.js +5 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.d.ts +13 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.js +5 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +13 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +5 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.d.ts +13 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.js +5 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/index.d.ts +5 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/index.js +5 -0
- package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +49 -546
- package/dist/api/resources/encounters/resources/v4/client/Client.js +54 -551
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +36 -405
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +26 -7
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +3 -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 +9 -33
- 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/individual/types/PatientUpdateWithOptionalAddress.d.ts +23 -0
- package/dist/api/resources/individual/types/PatientUpdateWithOptionalAddress.js +5 -0
- package/dist/api/resources/individual/types/index.d.ts +1 -0
- package/dist/api/resources/individual/types/index.js +1 -0
- 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/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.d.ts +20 -0
- package/dist/api/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.js +5 -0
- package/dist/api/resources/serviceFacility/types/index.d.ts +1 -0
- package/dist/api/resources/serviceFacility/types/index.js +1 -0
- 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/billingNotes/resources/v2/types/index.d.ts +0 -1
- package/dist/serialization/resources/billingNotes/resources/v2/types/index.js +0 -1
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +18 -2
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +18 -2
- package/dist/serialization/resources/commons/types/StreetAddressOptionalBase.d.ts +17 -0
- package/dist/serialization/resources/commons/types/StreetAddressOptionalBase.js +48 -0
- package/dist/serialization/resources/commons/types/StreetAddressShortZipOptional.d.ts +13 -0
- package/dist/serialization/resources/commons/types/StreetAddressShortZipOptional.js +46 -0
- package/dist/serialization/resources/commons/types/index.d.ts +2 -0
- package/dist/serialization/resources/commons/types/index.js +2 -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/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +19 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +52 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.d.ts +18 -0
- package/dist/serialization/resources/{billingNotes/resources/v2/types/BillingNoteOptional.js → encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.js} +10 -11
- package/dist/serialization/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.d.ts +16 -0
- package/{serialization/resources/billingNotes/resources/v2/types/BillingNoteOptional.js → dist/serialization/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.js} +8 -11
- package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +16 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +49 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.d.ts +16 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.js +49 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +5 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/index.js +5 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +16 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +16 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +1 -16
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +1 -16
- 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/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +29 -0
- package/dist/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.js +60 -0
- package/dist/serialization/resources/individual/types/index.d.ts +1 -0
- package/dist/serialization/resources/individual/types/index.js +1 -0
- package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.d.ts +16 -0
- package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.js +47 -0
- package/dist/serialization/resources/serviceFacility/types/index.d.ts +1 -0
- package/dist/serialization/resources/serviceFacility/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 -2232
- package/serialization/resources/billingNotes/resources/v2/types/index.d.ts +0 -1
- package/serialization/resources/billingNotes/resources/v2/types/index.js +0 -1
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +18 -2
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +18 -2
- package/serialization/resources/commons/types/StreetAddressOptionalBase.d.ts +17 -0
- package/serialization/resources/commons/types/StreetAddressOptionalBase.js +48 -0
- package/serialization/resources/commons/types/StreetAddressShortZipOptional.d.ts +13 -0
- package/serialization/resources/commons/types/StreetAddressShortZipOptional.js +46 -0
- package/serialization/resources/commons/types/index.d.ts +2 -0
- package/serialization/resources/commons/types/index.js +2 -0
- 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/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +19 -0
- package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +52 -0
- package/serialization/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.d.ts +18 -0
- package/serialization/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.js +51 -0
- package/serialization/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.d.ts +16 -0
- package/serialization/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.js +49 -0
- package/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +16 -0
- package/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +49 -0
- package/serialization/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.d.ts +16 -0
- package/serialization/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.js +49 -0
- package/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +5 -0
- package/serialization/resources/encounterProviders/resources/v2/types/index.js +5 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +16 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +16 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +1 -16
- package/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +1 -16
- 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/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +29 -0
- package/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.js +60 -0
- package/serialization/resources/individual/types/index.d.ts +1 -0
- package/serialization/resources/individual/types/index.js +1 -0
- package/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.d.ts +16 -0
- package/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.js +47 -0
- package/serialization/resources/serviceFacility/types/index.d.ts +1 -0
- package/serialization/resources/serviceFacility/types/index.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/billingNotes/resources/v2/types/BillingNoteOptional.d.ts +0 -15
- package/dist/api/resources/billingNotes/resources/v2/types/BillingNoteOptional.d.ts +0 -15
- package/dist/serialization/resources/billingNotes/resources/v2/types/BillingNoteOptional.d.ts +0 -19
- package/serialization/resources/billingNotes/resources/v2/types/BillingNoteOptional.d.ts +0 -19
- /package/api/resources/{billingNotes/resources/v2/types/BillingNoteOptional.js → commons/types/StreetAddressOptionalBase.js} +0 -0
- /package/{dist/api/resources/billingNotes/resources/v2/types/BillingNoteOptional.js → api/resources/commons/types/StreetAddressShortZipOptional.js} +0 -0
|
@@ -65,19 +65,7 @@ class V1 {
|
|
|
65
65
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
66
66
|
*
|
|
67
67
|
* @example
|
|
68
|
-
* await client.payerPlanGroups.v1.getMulti(
|
|
69
|
-
* planGroupName: "string",
|
|
70
|
-
* payerUuid: CandidApi.payers.v3.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
71
|
-
* payerId: CandidApi.payers.v3.PayerId("string"),
|
|
72
|
-
* planType: "09",
|
|
73
|
-
* isActive: true,
|
|
74
|
-
* payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
75
|
-
* limit: 1,
|
|
76
|
-
* sortBySimilarity: "string",
|
|
77
|
-
* sort: "plan_group_name",
|
|
78
|
-
* sortDirection: "asc",
|
|
79
|
-
* pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9")
|
|
80
|
-
* })
|
|
68
|
+
* await client.payerPlanGroups.v1.getMulti()
|
|
81
69
|
*/
|
|
82
70
|
getMulti() {
|
|
83
71
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
@@ -151,7 +139,7 @@ class V1 {
|
|
|
151
139
|
const _response = yield core.fetcher({
|
|
152
140
|
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/payer-plan-groups/v1"),
|
|
153
141
|
method: "GET",
|
|
154
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
142
|
+
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),
|
|
155
143
|
contentType: "application/json",
|
|
156
144
|
queryParameters: _queryParams,
|
|
157
145
|
requestType: "json",
|
|
@@ -205,7 +193,7 @@ class V1 {
|
|
|
205
193
|
const _response = yield core.fetcher({
|
|
206
194
|
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/payer-plan-groups/v1/${encodeURIComponent(serializers.PayerPlanGroupId.jsonOrThrow(payerPlanGroupId))}`),
|
|
207
195
|
method: "GET",
|
|
208
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
196
|
+
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),
|
|
209
197
|
contentType: "application/json",
|
|
210
198
|
requestType: "json",
|
|
211
199
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -252,7 +240,7 @@ class V1 {
|
|
|
252
240
|
*
|
|
253
241
|
* @example
|
|
254
242
|
* await client.payerPlanGroups.v1.create({
|
|
255
|
-
* planGroupName: "
|
|
243
|
+
* planGroupName: "plan_group_name",
|
|
256
244
|
* payerUuid: CandidApi.payers.v3.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
257
245
|
* planType: "09"
|
|
258
246
|
* })
|
|
@@ -263,7 +251,7 @@ class V1 {
|
|
|
263
251
|
const _response = yield core.fetcher({
|
|
264
252
|
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/payer-plan-groups/v1"),
|
|
265
253
|
method: "POST",
|
|
266
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
254
|
+
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),
|
|
267
255
|
contentType: "application/json",
|
|
268
256
|
requestType: "json",
|
|
269
257
|
body: serializers.payerPlanGroups.v1.MutablePayerPlanGroup.jsonOrThrow(request, {
|
|
@@ -314,7 +302,7 @@ class V1 {
|
|
|
314
302
|
*
|
|
315
303
|
* @example
|
|
316
304
|
* await client.payerPlanGroups.v1.update(CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
317
|
-
* planGroupName: "
|
|
305
|
+
* planGroupName: "plan_group_name",
|
|
318
306
|
* payerUuid: CandidApi.payers.v3.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
319
307
|
* planType: "09"
|
|
320
308
|
* })
|
|
@@ -325,7 +313,7 @@ class V1 {
|
|
|
325
313
|
const _response = yield core.fetcher({
|
|
326
314
|
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/payer-plan-groups/v1/${encodeURIComponent(serializers.PayerPlanGroupId.jsonOrThrow(payerPlanGroupId))}`),
|
|
327
315
|
method: "PUT",
|
|
328
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
316
|
+
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),
|
|
329
317
|
contentType: "application/json",
|
|
330
318
|
requestType: "json",
|
|
331
319
|
body: serializers.payerPlanGroups.v1.MutablePayerPlanGroup.jsonOrThrow(request, {
|
|
@@ -383,7 +371,7 @@ class V1 {
|
|
|
383
371
|
const _response = yield core.fetcher({
|
|
384
372
|
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/payer-plan-groups/v1/${encodeURIComponent(serializers.PayerPlanGroupId.jsonOrThrow(payerPlanGroupId))}`),
|
|
385
373
|
method: "PATCH",
|
|
386
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
374
|
+
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),
|
|
387
375
|
contentType: "application/json",
|
|
388
376
|
requestType: "json",
|
|
389
377
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -4,19 +4,7 @@
|
|
|
4
4
|
import * as CandidApi from "../../../../../../index";
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
|
-
* {
|
|
8
|
-
* planGroupName: "string",
|
|
9
|
-
* payerUuid: CandidApi.payers.v3.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
10
|
-
* payerId: CandidApi.payers.v3.PayerId("string"),
|
|
11
|
-
* planType: "09",
|
|
12
|
-
* isActive: true,
|
|
13
|
-
* payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
14
|
-
* limit: 1,
|
|
15
|
-
* sortBySimilarity: "string",
|
|
16
|
-
* sort: "plan_group_name",
|
|
17
|
-
* sortDirection: "asc",
|
|
18
|
-
* pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9")
|
|
19
|
-
* }
|
|
7
|
+
* {}
|
|
20
8
|
*/
|
|
21
9
|
export interface PayerPlanGroupGetMultiRequest {
|
|
22
10
|
planGroupName?: string | string[];
|
|
@@ -71,7 +71,7 @@ class V3 {
|
|
|
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/payers/v3/${encodeURIComponent(serializers.payers.v3.PayerUuid.jsonOrThrow(payerUuid))}`),
|
|
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,
|
|
@@ -123,7 +123,7 @@ class V3 {
|
|
|
123
123
|
const _response = yield core.fetcher({
|
|
124
124
|
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/payers/v3"),
|
|
125
125
|
method: "GET",
|
|
126
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
126
|
+
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),
|
|
127
127
|
contentType: "application/json",
|
|
128
128
|
queryParameters: _queryParams,
|
|
129
129
|
requestType: "json",
|
package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts
CHANGED
|
@@ -26,49 +26,17 @@ export declare class V1 {
|
|
|
26
26
|
protected readonly _options: V1.Options;
|
|
27
27
|
constructor(_options?: V1.Options);
|
|
28
28
|
/**
|
|
29
|
-
* Adds an appointment.
|
|
29
|
+
* Adds an appointment. VersionConflictError is returned when the placer_appointment_id is already in use.
|
|
30
30
|
*
|
|
31
31
|
* @param {CandidApi.preEncounter.appointments.v1.MutableAppointment} request
|
|
32
32
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* await client.preEncounter.appointments.v1.create({
|
|
36
|
-
* patientId: CandidApi.preEncounter.PatientId("
|
|
36
|
+
* patientId: CandidApi.preEncounter.PatientId("patient_id"),
|
|
37
37
|
* startTimestamp: "2024-01-15T09:30:00Z",
|
|
38
|
-
* status: "PENDING",
|
|
39
38
|
* serviceDuration: 1,
|
|
40
|
-
* services: [{
|
|
41
|
-
* universalServiceIdentifier: "MD_Visit",
|
|
42
|
-
* startTimestamp: "2024-01-15T09:30:00Z"
|
|
43
|
-
* }],
|
|
44
|
-
* placerAppointmentId: "string",
|
|
45
|
-
* attendingDoctor: {
|
|
46
|
-
* name: {
|
|
47
|
-
* family: "string",
|
|
48
|
-
* given: ["string"],
|
|
49
|
-
* use: "USUAL",
|
|
50
|
-
* period: {},
|
|
51
|
-
* suffix: "string"
|
|
52
|
-
* },
|
|
53
|
-
* type: "PRIMARY",
|
|
54
|
-
* npi: "string",
|
|
55
|
-
* telecoms: [{
|
|
56
|
-
* value: "string",
|
|
57
|
-
* use: "HOME"
|
|
58
|
-
* }],
|
|
59
|
-
* addresses: [],
|
|
60
|
-
* period: {},
|
|
61
|
-
* canonicalId: CandidApi.preEncounter.CanonicalProviderId("string"),
|
|
62
|
-
* fax: "string"
|
|
63
|
-
* },
|
|
64
|
-
* estimatedCopayCents: 1,
|
|
65
|
-
* estimatedPatientResponsibilityCents: 1,
|
|
66
|
-
* patientDepositCents: 1,
|
|
67
|
-
* checkedInTimestamp: "2024-01-15T09:30:00Z",
|
|
68
|
-
* notes: "string",
|
|
69
|
-
* locationResourceId: "string",
|
|
70
|
-
* automatedEligibilityCheckComplete: true,
|
|
71
|
-
* workQueue: "EMERGENT_ISSUE"
|
|
39
|
+
* services: [{}, {}]
|
|
72
40
|
* })
|
|
73
41
|
*/
|
|
74
42
|
create(request: CandidApi.preEncounter.appointments.v1.MutableAppointment, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.appointments.v1.Appointment, CandidApi.preEncounter.appointments.v1.create.Error>>;
|
|
@@ -79,13 +47,7 @@ export declare class V1 {
|
|
|
79
47
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
80
48
|
*
|
|
81
49
|
* @example
|
|
82
|
-
* await client.preEncounter.appointments.v1.getVisits(
|
|
83
|
-
* pageToken: CandidApi.preEncounter.PageToken("string"),
|
|
84
|
-
* limit: 1,
|
|
85
|
-
* sortField: CandidApi.preEncounter.lists.v1.SortFieldString("string"),
|
|
86
|
-
* sortDirection: "asc",
|
|
87
|
-
* filters: CandidApi.preEncounter.lists.v1.FilterQueryString("string")
|
|
88
|
-
* })
|
|
50
|
+
* await client.preEncounter.appointments.v1.getVisits()
|
|
89
51
|
*/
|
|
90
52
|
getVisits(request?: CandidApi.preEncounter.appointments.v1.VisitsRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.appointments.v1.VisitsPage, CandidApi.preEncounter.appointments.v1.getVisits.Error>>;
|
|
91
53
|
/**
|
|
@@ -95,21 +57,21 @@ export declare class V1 {
|
|
|
95
57
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
96
58
|
*
|
|
97
59
|
* @example
|
|
98
|
-
* await client.preEncounter.appointments.v1.get(CandidApi.preEncounter.AppointmentId("
|
|
60
|
+
* await client.preEncounter.appointments.v1.get(CandidApi.preEncounter.AppointmentId("id"))
|
|
99
61
|
*/
|
|
100
62
|
get(id: CandidApi.preEncounter.AppointmentId, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.appointments.v1.Appointment, CandidApi.preEncounter.appointments.v1.get.Error>>;
|
|
101
63
|
/**
|
|
102
|
-
* Gets an appointment along with it's full history.
|
|
64
|
+
* Gets an appointment along with it's full history. The return list is ordered by version ascending.
|
|
103
65
|
*
|
|
104
66
|
* @param {CandidApi.preEncounter.AppointmentId} id
|
|
105
67
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
106
68
|
*
|
|
107
69
|
* @example
|
|
108
|
-
* await client.preEncounter.appointments.v1.getHistory(CandidApi.preEncounter.AppointmentId("
|
|
70
|
+
* await client.preEncounter.appointments.v1.getHistory(CandidApi.preEncounter.AppointmentId("id"))
|
|
109
71
|
*/
|
|
110
72
|
getHistory(id: CandidApi.preEncounter.AppointmentId, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.appointments.v1.Appointment[], CandidApi.preEncounter.appointments.v1.getHistory.Error>>;
|
|
111
73
|
/**
|
|
112
|
-
* Updates an appointment.
|
|
74
|
+
* Updates an appointment. The path must contain the most recent version to prevent race conditions. Updating historic versions is not supported.
|
|
113
75
|
*
|
|
114
76
|
* @param {CandidApi.preEncounter.AppointmentId} id
|
|
115
77
|
* @param {string} version
|
|
@@ -117,48 +79,16 @@ export declare class V1 {
|
|
|
117
79
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
118
80
|
*
|
|
119
81
|
* @example
|
|
120
|
-
* await client.preEncounter.appointments.v1.update(CandidApi.preEncounter.AppointmentId("
|
|
121
|
-
* patientId: CandidApi.preEncounter.PatientId("
|
|
82
|
+
* await client.preEncounter.appointments.v1.update(CandidApi.preEncounter.AppointmentId("id"), "version", {
|
|
83
|
+
* patientId: CandidApi.preEncounter.PatientId("patient_id"),
|
|
122
84
|
* startTimestamp: "2024-01-15T09:30:00Z",
|
|
123
|
-
* status: "PENDING",
|
|
124
85
|
* serviceDuration: 1,
|
|
125
|
-
* services: [{
|
|
126
|
-
* universalServiceIdentifier: "MD_Visit",
|
|
127
|
-
* startTimestamp: "2024-01-15T09:30:00Z"
|
|
128
|
-
* }],
|
|
129
|
-
* placerAppointmentId: "string",
|
|
130
|
-
* attendingDoctor: {
|
|
131
|
-
* name: {
|
|
132
|
-
* family: "string",
|
|
133
|
-
* given: ["string"],
|
|
134
|
-
* use: "USUAL",
|
|
135
|
-
* period: {},
|
|
136
|
-
* suffix: "string"
|
|
137
|
-
* },
|
|
138
|
-
* type: "PRIMARY",
|
|
139
|
-
* npi: "string",
|
|
140
|
-
* telecoms: [{
|
|
141
|
-
* value: "string",
|
|
142
|
-
* use: "HOME"
|
|
143
|
-
* }],
|
|
144
|
-
* addresses: [],
|
|
145
|
-
* period: {},
|
|
146
|
-
* canonicalId: CandidApi.preEncounter.CanonicalProviderId("string"),
|
|
147
|
-
* fax: "string"
|
|
148
|
-
* },
|
|
149
|
-
* estimatedCopayCents: 1,
|
|
150
|
-
* estimatedPatientResponsibilityCents: 1,
|
|
151
|
-
* patientDepositCents: 1,
|
|
152
|
-
* checkedInTimestamp: "2024-01-15T09:30:00Z",
|
|
153
|
-
* notes: "string",
|
|
154
|
-
* locationResourceId: "string",
|
|
155
|
-
* automatedEligibilityCheckComplete: true,
|
|
156
|
-
* workQueue: "EMERGENT_ISSUE"
|
|
86
|
+
* services: [{}, {}]
|
|
157
87
|
* })
|
|
158
88
|
*/
|
|
159
89
|
update(id: CandidApi.preEncounter.AppointmentId, version: string, request: CandidApi.preEncounter.appointments.v1.MutableAppointment, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.appointments.v1.Appointment, CandidApi.preEncounter.appointments.v1.update.Error>>;
|
|
160
90
|
/**
|
|
161
|
-
* Scans up to 100 appointment updates.
|
|
91
|
+
* Scans up to 100 appointment updates. The since query parameter is inclusive, and the result list is ordered by updatedAt ascending.
|
|
162
92
|
*
|
|
163
93
|
* @param {CandidApi.preEncounter.appointments.v1.AppointmentScanRequest} request
|
|
164
94
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -170,14 +100,14 @@ export declare class V1 {
|
|
|
170
100
|
*/
|
|
171
101
|
scan(request: CandidApi.preEncounter.appointments.v1.AppointmentScanRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.appointments.v1.Appointment[], CandidApi.preEncounter.appointments.v1.scan.Error>>;
|
|
172
102
|
/**
|
|
173
|
-
* Sets an appointment as deactivated.
|
|
103
|
+
* Sets an appointment as deactivated. The path must contain the most recent version to prevent race conditions. Deactivating historic versions is not supported. Subsequent updates via PUT to the appointment will "reactivate" the appointment and set the deactivated flag to false.
|
|
174
104
|
*
|
|
175
105
|
* @param {CandidApi.preEncounter.AppointmentId} id
|
|
176
106
|
* @param {string} version
|
|
177
107
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
178
108
|
*
|
|
179
109
|
* @example
|
|
180
|
-
* await client.preEncounter.appointments.v1.deactivate(CandidApi.preEncounter.AppointmentId("
|
|
110
|
+
* await client.preEncounter.appointments.v1.deactivate(CandidApi.preEncounter.AppointmentId("id"), "version")
|
|
181
111
|
*/
|
|
182
112
|
deactivate(id: CandidApi.preEncounter.AppointmentId, version: string, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<void, CandidApi.preEncounter.appointments.v1.deactivate.Error>>;
|
|
183
113
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js
CHANGED
|
@@ -59,49 +59,17 @@ class V1 {
|
|
|
59
59
|
this._options = _options;
|
|
60
60
|
}
|
|
61
61
|
/**
|
|
62
|
-
* Adds an appointment.
|
|
62
|
+
* Adds an appointment. VersionConflictError is returned when the placer_appointment_id is already in use.
|
|
63
63
|
*
|
|
64
64
|
* @param {CandidApi.preEncounter.appointments.v1.MutableAppointment} request
|
|
65
65
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
66
66
|
*
|
|
67
67
|
* @example
|
|
68
68
|
* await client.preEncounter.appointments.v1.create({
|
|
69
|
-
* patientId: CandidApi.preEncounter.PatientId("
|
|
69
|
+
* patientId: CandidApi.preEncounter.PatientId("patient_id"),
|
|
70
70
|
* startTimestamp: "2024-01-15T09:30:00Z",
|
|
71
|
-
* status: "PENDING",
|
|
72
71
|
* serviceDuration: 1,
|
|
73
|
-
* services: [{
|
|
74
|
-
* universalServiceIdentifier: "MD_Visit",
|
|
75
|
-
* startTimestamp: "2024-01-15T09:30:00Z"
|
|
76
|
-
* }],
|
|
77
|
-
* placerAppointmentId: "string",
|
|
78
|
-
* attendingDoctor: {
|
|
79
|
-
* name: {
|
|
80
|
-
* family: "string",
|
|
81
|
-
* given: ["string"],
|
|
82
|
-
* use: "USUAL",
|
|
83
|
-
* period: {},
|
|
84
|
-
* suffix: "string"
|
|
85
|
-
* },
|
|
86
|
-
* type: "PRIMARY",
|
|
87
|
-
* npi: "string",
|
|
88
|
-
* telecoms: [{
|
|
89
|
-
* value: "string",
|
|
90
|
-
* use: "HOME"
|
|
91
|
-
* }],
|
|
92
|
-
* addresses: [],
|
|
93
|
-
* period: {},
|
|
94
|
-
* canonicalId: CandidApi.preEncounter.CanonicalProviderId("string"),
|
|
95
|
-
* fax: "string"
|
|
96
|
-
* },
|
|
97
|
-
* estimatedCopayCents: 1,
|
|
98
|
-
* estimatedPatientResponsibilityCents: 1,
|
|
99
|
-
* patientDepositCents: 1,
|
|
100
|
-
* checkedInTimestamp: "2024-01-15T09:30:00Z",
|
|
101
|
-
* notes: "string",
|
|
102
|
-
* locationResourceId: "string",
|
|
103
|
-
* automatedEligibilityCheckComplete: true,
|
|
104
|
-
* workQueue: "EMERGENT_ISSUE"
|
|
72
|
+
* services: [{}, {}]
|
|
105
73
|
* })
|
|
106
74
|
*/
|
|
107
75
|
create(request, requestOptions) {
|
|
@@ -110,7 +78,7 @@ class V1 {
|
|
|
110
78
|
const _response = yield core.fetcher({
|
|
111
79
|
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).preEncounter, "/appointments/v1"),
|
|
112
80
|
method: "POST",
|
|
113
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
81
|
+
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),
|
|
114
82
|
contentType: "application/json",
|
|
115
83
|
requestType: "json",
|
|
116
84
|
body: serializers.preEncounter.appointments.v1.MutableAppointment.jsonOrThrow(request, {
|
|
@@ -159,13 +127,7 @@ class V1 {
|
|
|
159
127
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
160
128
|
*
|
|
161
129
|
* @example
|
|
162
|
-
* await client.preEncounter.appointments.v1.getVisits(
|
|
163
|
-
* pageToken: CandidApi.preEncounter.PageToken("string"),
|
|
164
|
-
* limit: 1,
|
|
165
|
-
* sortField: CandidApi.preEncounter.lists.v1.SortFieldString("string"),
|
|
166
|
-
* sortDirection: "asc",
|
|
167
|
-
* filters: CandidApi.preEncounter.lists.v1.FilterQueryString("string")
|
|
168
|
-
* })
|
|
130
|
+
* await client.preEncounter.appointments.v1.getVisits()
|
|
169
131
|
*/
|
|
170
132
|
getVisits() {
|
|
171
133
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
@@ -192,7 +154,7 @@ class V1 {
|
|
|
192
154
|
const _response = yield core.fetcher({
|
|
193
155
|
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).preEncounter, "/appointments/v1/visits"),
|
|
194
156
|
method: "GET",
|
|
195
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
157
|
+
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),
|
|
196
158
|
contentType: "application/json",
|
|
197
159
|
queryParameters: _queryParams,
|
|
198
160
|
requestType: "json",
|
|
@@ -238,7 +200,7 @@ class V1 {
|
|
|
238
200
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
239
201
|
*
|
|
240
202
|
* @example
|
|
241
|
-
* await client.preEncounter.appointments.v1.get(CandidApi.preEncounter.AppointmentId("
|
|
203
|
+
* await client.preEncounter.appointments.v1.get(CandidApi.preEncounter.AppointmentId("id"))
|
|
242
204
|
*/
|
|
243
205
|
get(id, requestOptions) {
|
|
244
206
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -246,7 +208,7 @@ class V1 {
|
|
|
246
208
|
const _response = yield core.fetcher({
|
|
247
209
|
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).preEncounter, `/appointments/v1/${encodeURIComponent(serializers.preEncounter.AppointmentId.jsonOrThrow(id))}`),
|
|
248
210
|
method: "GET",
|
|
249
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
211
|
+
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),
|
|
250
212
|
contentType: "application/json",
|
|
251
213
|
requestType: "json",
|
|
252
214
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -285,13 +247,13 @@ class V1 {
|
|
|
285
247
|
});
|
|
286
248
|
}
|
|
287
249
|
/**
|
|
288
|
-
* Gets an appointment along with it's full history.
|
|
250
|
+
* Gets an appointment along with it's full history. The return list is ordered by version ascending.
|
|
289
251
|
*
|
|
290
252
|
* @param {CandidApi.preEncounter.AppointmentId} id
|
|
291
253
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
292
254
|
*
|
|
293
255
|
* @example
|
|
294
|
-
* await client.preEncounter.appointments.v1.getHistory(CandidApi.preEncounter.AppointmentId("
|
|
256
|
+
* await client.preEncounter.appointments.v1.getHistory(CandidApi.preEncounter.AppointmentId("id"))
|
|
295
257
|
*/
|
|
296
258
|
getHistory(id, requestOptions) {
|
|
297
259
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -299,7 +261,7 @@ class V1 {
|
|
|
299
261
|
const _response = yield core.fetcher({
|
|
300
262
|
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).preEncounter, `/appointments/v1/${encodeURIComponent(serializers.preEncounter.AppointmentId.jsonOrThrow(id))}/history`),
|
|
301
263
|
method: "GET",
|
|
302
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
264
|
+
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),
|
|
303
265
|
contentType: "application/json",
|
|
304
266
|
requestType: "json",
|
|
305
267
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -338,7 +300,7 @@ class V1 {
|
|
|
338
300
|
});
|
|
339
301
|
}
|
|
340
302
|
/**
|
|
341
|
-
* Updates an appointment.
|
|
303
|
+
* Updates an appointment. The path must contain the most recent version to prevent race conditions. Updating historic versions is not supported.
|
|
342
304
|
*
|
|
343
305
|
* @param {CandidApi.preEncounter.AppointmentId} id
|
|
344
306
|
* @param {string} version
|
|
@@ -346,43 +308,11 @@ class V1 {
|
|
|
346
308
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
347
309
|
*
|
|
348
310
|
* @example
|
|
349
|
-
* await client.preEncounter.appointments.v1.update(CandidApi.preEncounter.AppointmentId("
|
|
350
|
-
* patientId: CandidApi.preEncounter.PatientId("
|
|
311
|
+
* await client.preEncounter.appointments.v1.update(CandidApi.preEncounter.AppointmentId("id"), "version", {
|
|
312
|
+
* patientId: CandidApi.preEncounter.PatientId("patient_id"),
|
|
351
313
|
* startTimestamp: "2024-01-15T09:30:00Z",
|
|
352
|
-
* status: "PENDING",
|
|
353
314
|
* serviceDuration: 1,
|
|
354
|
-
* services: [{
|
|
355
|
-
* universalServiceIdentifier: "MD_Visit",
|
|
356
|
-
* startTimestamp: "2024-01-15T09:30:00Z"
|
|
357
|
-
* }],
|
|
358
|
-
* placerAppointmentId: "string",
|
|
359
|
-
* attendingDoctor: {
|
|
360
|
-
* name: {
|
|
361
|
-
* family: "string",
|
|
362
|
-
* given: ["string"],
|
|
363
|
-
* use: "USUAL",
|
|
364
|
-
* period: {},
|
|
365
|
-
* suffix: "string"
|
|
366
|
-
* },
|
|
367
|
-
* type: "PRIMARY",
|
|
368
|
-
* npi: "string",
|
|
369
|
-
* telecoms: [{
|
|
370
|
-
* value: "string",
|
|
371
|
-
* use: "HOME"
|
|
372
|
-
* }],
|
|
373
|
-
* addresses: [],
|
|
374
|
-
* period: {},
|
|
375
|
-
* canonicalId: CandidApi.preEncounter.CanonicalProviderId("string"),
|
|
376
|
-
* fax: "string"
|
|
377
|
-
* },
|
|
378
|
-
* estimatedCopayCents: 1,
|
|
379
|
-
* estimatedPatientResponsibilityCents: 1,
|
|
380
|
-
* patientDepositCents: 1,
|
|
381
|
-
* checkedInTimestamp: "2024-01-15T09:30:00Z",
|
|
382
|
-
* notes: "string",
|
|
383
|
-
* locationResourceId: "string",
|
|
384
|
-
* automatedEligibilityCheckComplete: true,
|
|
385
|
-
* workQueue: "EMERGENT_ISSUE"
|
|
315
|
+
* services: [{}, {}]
|
|
386
316
|
* })
|
|
387
317
|
*/
|
|
388
318
|
update(id, version, request, requestOptions) {
|
|
@@ -391,7 +321,7 @@ class V1 {
|
|
|
391
321
|
const _response = yield core.fetcher({
|
|
392
322
|
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).preEncounter, `/appointments/v1/${encodeURIComponent(serializers.preEncounter.AppointmentId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
|
|
393
323
|
method: "PUT",
|
|
394
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
324
|
+
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),
|
|
395
325
|
contentType: "application/json",
|
|
396
326
|
requestType: "json",
|
|
397
327
|
body: serializers.preEncounter.appointments.v1.MutableAppointment.jsonOrThrow(request, {
|
|
@@ -434,7 +364,7 @@ class V1 {
|
|
|
434
364
|
});
|
|
435
365
|
}
|
|
436
366
|
/**
|
|
437
|
-
* Scans up to 100 appointment updates.
|
|
367
|
+
* Scans up to 100 appointment updates. The since query parameter is inclusive, and the result list is ordered by updatedAt ascending.
|
|
438
368
|
*
|
|
439
369
|
* @param {CandidApi.preEncounter.appointments.v1.AppointmentScanRequest} request
|
|
440
370
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -453,7 +383,7 @@ class V1 {
|
|
|
453
383
|
const _response = yield core.fetcher({
|
|
454
384
|
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).preEncounter, "/appointments/v1/updates/scan"),
|
|
455
385
|
method: "GET",
|
|
456
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
386
|
+
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),
|
|
457
387
|
contentType: "application/json",
|
|
458
388
|
queryParameters: _queryParams,
|
|
459
389
|
requestType: "json",
|
|
@@ -479,14 +409,14 @@ class V1 {
|
|
|
479
409
|
});
|
|
480
410
|
}
|
|
481
411
|
/**
|
|
482
|
-
* Sets an appointment as deactivated.
|
|
412
|
+
* Sets an appointment as deactivated. The path must contain the most recent version to prevent race conditions. Deactivating historic versions is not supported. Subsequent updates via PUT to the appointment will "reactivate" the appointment and set the deactivated flag to false.
|
|
483
413
|
*
|
|
484
414
|
* @param {CandidApi.preEncounter.AppointmentId} id
|
|
485
415
|
* @param {string} version
|
|
486
416
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
487
417
|
*
|
|
488
418
|
* @example
|
|
489
|
-
* await client.preEncounter.appointments.v1.deactivate(CandidApi.preEncounter.AppointmentId("
|
|
419
|
+
* await client.preEncounter.appointments.v1.deactivate(CandidApi.preEncounter.AppointmentId("id"), "version")
|
|
490
420
|
*/
|
|
491
421
|
deactivate(id, version, requestOptions) {
|
|
492
422
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -494,7 +424,7 @@ class V1 {
|
|
|
494
424
|
const _response = yield core.fetcher({
|
|
495
425
|
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).preEncounter, `/appointments/v1/${encodeURIComponent(serializers.preEncounter.AppointmentId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
|
|
496
426
|
method: "DELETE",
|
|
497
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
427
|
+
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),
|
|
498
428
|
contentType: "application/json",
|
|
499
429
|
requestType: "json",
|
|
500
430
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -4,13 +4,7 @@
|
|
|
4
4
|
import * as CandidApi from "../../../../../../../../index";
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
|
-
* {
|
|
8
|
-
* pageToken: CandidApi.preEncounter.PageToken("string"),
|
|
9
|
-
* limit: 1,
|
|
10
|
-
* sortField: CandidApi.preEncounter.lists.v1.SortFieldString("string"),
|
|
11
|
-
* sortDirection: "asc",
|
|
12
|
-
* filters: CandidApi.preEncounter.lists.v1.FilterQueryString("string")
|
|
13
|
-
* }
|
|
7
|
+
* {}
|
|
14
8
|
*/
|
|
15
9
|
export interface VisitsRequest {
|
|
16
10
|
pageToken?: CandidApi.preEncounter.PageToken;
|
|
@@ -5,9 +5,9 @@ import * as CandidApi from "../../../../../index";
|
|
|
5
5
|
export interface BaseModel {
|
|
6
6
|
/** The organization that owns this object. */
|
|
7
7
|
organizationId: CandidApi.preEncounter.OrganizationId;
|
|
8
|
-
/** True if the object is deactivated.
|
|
8
|
+
/** True if the object is deactivated. Deactivated objects are not returned in search results but are returned in all other endpoints including scan. */
|
|
9
9
|
deactivated: boolean;
|
|
10
|
-
/** The version of the object.
|
|
10
|
+
/** The version of the object. Any update to any property of an object object will create a new version. */
|
|
11
11
|
version: number;
|
|
12
12
|
updatedAt: Date;
|
|
13
13
|
/** The user ID of the user who last updated the object. */
|