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
|
@@ -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;
|
package/dist/api/resources/contracts/resources/v2/client/requests/GetMultiContractsRequest.d.ts
CHANGED
|
@@ -4,15 +4,7 @@
|
|
|
4
4
|
import * as CandidApi from "../../../../../../index";
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
|
-
* {
|
|
8
|
-
* pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
|
|
9
|
-
* limit: 1,
|
|
10
|
-
* contractingProviderId: CandidApi.contracts.v2.ContractingProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
11
|
-
* renderingProviderIds: CandidApi.contracts.v2.RenderingProviderid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
12
|
-
* payerNames: "string",
|
|
13
|
-
* states: "AA",
|
|
14
|
-
* contractStatus: "pending"
|
|
15
|
-
* }
|
|
7
|
+
* {}
|
|
16
8
|
*/
|
|
17
9
|
export interface GetMultiContractsRequest {
|
|
18
10
|
pageToken?: CandidApi.PageToken;
|
|
@@ -31,4 +23,12 @@ export interface GetMultiContractsRequest {
|
|
|
31
23
|
* The status of the contract. Defaults to `pending`
|
|
32
24
|
*/
|
|
33
25
|
contractStatus?: CandidApi.contracts.v2.ContractStatus;
|
|
26
|
+
/**
|
|
27
|
+
* Potentially sort by a contract related attribute. Defaults to created_at
|
|
28
|
+
*/
|
|
29
|
+
sort?: CandidApi.contracts.v2.ContractSortField;
|
|
30
|
+
/**
|
|
31
|
+
* Direction of sort, defaulting to desc
|
|
32
|
+
*/
|
|
33
|
+
sortDirection?: CandidApi.SortDirection;
|
|
34
34
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type ContractSortField = "created_at" | "payer_name" | "payer_id" | "billing_provider_name" | "effective_date" | "contract_status";
|
|
5
|
+
export declare const ContractSortField: {
|
|
6
|
+
readonly CreatedAt: "created_at";
|
|
7
|
+
readonly PayerName: "payer_name";
|
|
8
|
+
readonly PayerId: "payer_id";
|
|
9
|
+
readonly BillingProviderName: "billing_provider_name";
|
|
10
|
+
readonly EffectiveDate: "effective_date";
|
|
11
|
+
readonly ContractStatus: "contract_status";
|
|
12
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.ContractSortField = void 0;
|
|
7
|
+
exports.ContractSortField = {
|
|
8
|
+
CreatedAt: "created_at",
|
|
9
|
+
PayerName: "payer_name",
|
|
10
|
+
PayerId: "payer_id",
|
|
11
|
+
BillingProviderName: "billing_provider_name",
|
|
12
|
+
EffectiveDate: "effective_date",
|
|
13
|
+
ContractStatus: "contract_status",
|
|
14
|
+
};
|
|
@@ -28,4 +28,5 @@ __exportStar(require("./Contract"), exports);
|
|
|
28
28
|
__exportStar(require("./ContractWithProviders"), exports);
|
|
29
29
|
__exportStar(require("./ContractsPage"), exports);
|
|
30
30
|
__exportStar(require("./ContractStatus"), exports);
|
|
31
|
+
__exportStar(require("./ContractSortField"), exports);
|
|
31
32
|
__exportStar(require("./AuthorizedSignatory"), exports);
|
|
@@ -34,14 +34,10 @@ export declare class V2 {
|
|
|
34
34
|
* renderingProviderId: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
|
35
35
|
* contractingProviderId: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
|
36
36
|
* payerUuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
|
37
|
-
* startDate: "2023-01-15",
|
|
38
|
-
* endDate: "2023-01-15",
|
|
39
37
|
* regions: {
|
|
40
38
|
* type: "states",
|
|
41
|
-
* states: ["AA"]
|
|
42
|
-
* }
|
|
43
|
-
* submittedDate: "2023-01-15",
|
|
44
|
-
* payerLoadedDate: "2023-01-15"
|
|
39
|
+
* states: ["AA", "AA"]
|
|
40
|
+
* }
|
|
45
41
|
* })
|
|
46
42
|
*/
|
|
47
43
|
create(request: CandidApi.credentialing.v2.ProviderCredentialingSpanCreate, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.credentialing.v2.ProviderCredentialingSpan, CandidApi.credentialing.v2.create.Error>>;
|
|
@@ -58,14 +54,7 @@ export declare class V2 {
|
|
|
58
54
|
* @param {V2.RequestOptions} requestOptions - Request-specific configuration.
|
|
59
55
|
*
|
|
60
56
|
* @example
|
|
61
|
-
* await client.credentialing.v2.getAll(
|
|
62
|
-
* limit: 1,
|
|
63
|
-
* pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
|
|
64
|
-
* payerUuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
|
65
|
-
* providerId: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
|
66
|
-
* asRenderingProvider: true,
|
|
67
|
-
* asContractingProvider: true
|
|
68
|
-
* })
|
|
57
|
+
* await client.credentialing.v2.getAll()
|
|
69
58
|
*/
|
|
70
59
|
getAll(request?: CandidApi.credentialing.v2.GetAllProviderCredentialingSpansRequest, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.credentialing.v2.ProviderCredentialingSpanPage, CandidApi.credentialing.v2.getAll.Error>>;
|
|
71
60
|
/**
|
|
@@ -84,18 +73,7 @@ export declare class V2 {
|
|
|
84
73
|
* @param {V2.RequestOptions} requestOptions - Request-specific configuration.
|
|
85
74
|
*
|
|
86
75
|
* @example
|
|
87
|
-
* await client.credentialing.v2.update(CandidApi.ProviderCredentialingSpanId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
88
|
-
* contractingProviderId: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
|
89
|
-
* payerUuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
|
90
|
-
* startDate: "2023-01-15",
|
|
91
|
-
* endDate: "2023-01-15",
|
|
92
|
-
* regions: {
|
|
93
|
-
* type: "states",
|
|
94
|
-
* states: ["AA"]
|
|
95
|
-
* },
|
|
96
|
-
* submittedDate: "2023-01-15",
|
|
97
|
-
* payerLoadedDate: "2023-01-15"
|
|
98
|
-
* })
|
|
76
|
+
* await client.credentialing.v2.update(CandidApi.ProviderCredentialingSpanId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
|
|
99
77
|
*/
|
|
100
78
|
update(providerCredentialingId: CandidApi.ProviderCredentialingSpanId, request?: CandidApi.credentialing.v2.ProviderCredentialingSpanUpdate, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.credentialing.v2.ProviderCredentialingSpan, CandidApi.credentialing.v2.update.Error>>;
|
|
101
79
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
@@ -67,14 +67,10 @@ class V2 {
|
|
|
67
67
|
* renderingProviderId: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
|
68
68
|
* contractingProviderId: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
|
69
69
|
* payerUuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
|
70
|
-
* startDate: "2023-01-15",
|
|
71
|
-
* endDate: "2023-01-15",
|
|
72
70
|
* regions: {
|
|
73
71
|
* type: "states",
|
|
74
|
-
* states: ["AA"]
|
|
75
|
-
* }
|
|
76
|
-
* submittedDate: "2023-01-15",
|
|
77
|
-
* payerLoadedDate: "2023-01-15"
|
|
72
|
+
* states: ["AA", "AA"]
|
|
73
|
+
* }
|
|
78
74
|
* })
|
|
79
75
|
*/
|
|
80
76
|
create(request, requestOptions) {
|
|
@@ -83,7 +79,7 @@ class V2 {
|
|
|
83
79
|
const _response = yield core.fetcher({
|
|
84
80
|
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/provider-credentialing-span/v2"),
|
|
85
81
|
method: "POST",
|
|
86
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
82
|
+
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),
|
|
87
83
|
contentType: "application/json",
|
|
88
84
|
requestType: "json",
|
|
89
85
|
body: serializers.credentialing.v2.ProviderCredentialingSpanCreate.jsonOrThrow(request, {
|
|
@@ -138,7 +134,7 @@ class V2 {
|
|
|
138
134
|
const _response = yield core.fetcher({
|
|
139
135
|
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/provider-credentialing-span/v2/${encodeURIComponent(serializers.ProviderCredentialingSpanId.jsonOrThrow(providerCredentialingId))}`),
|
|
140
136
|
method: "GET",
|
|
141
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
137
|
+
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),
|
|
142
138
|
contentType: "application/json",
|
|
143
139
|
requestType: "json",
|
|
144
140
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -182,14 +178,7 @@ class V2 {
|
|
|
182
178
|
* @param {V2.RequestOptions} requestOptions - Request-specific configuration.
|
|
183
179
|
*
|
|
184
180
|
* @example
|
|
185
|
-
* await client.credentialing.v2.getAll(
|
|
186
|
-
* limit: 1,
|
|
187
|
-
* pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
|
|
188
|
-
* payerUuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
|
189
|
-
* providerId: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
|
190
|
-
* asRenderingProvider: true,
|
|
191
|
-
* asContractingProvider: true
|
|
192
|
-
* })
|
|
181
|
+
* await client.credentialing.v2.getAll()
|
|
193
182
|
*/
|
|
194
183
|
getAll() {
|
|
195
184
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
@@ -217,7 +206,7 @@ class V2 {
|
|
|
217
206
|
const _response = yield core.fetcher({
|
|
218
207
|
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/provider-credentialing-span/v2"),
|
|
219
208
|
method: "GET",
|
|
220
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
209
|
+
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),
|
|
221
210
|
contentType: "application/json",
|
|
222
211
|
queryParameters: _queryParams,
|
|
223
212
|
requestType: "json",
|
|
@@ -272,7 +261,7 @@ class V2 {
|
|
|
272
261
|
const _response = yield core.fetcher({
|
|
273
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).candidApi, `/api/provider-credentialing-span/v2/${encodeURIComponent(serializers.ProviderCredentialingSpanId.jsonOrThrow(providerCredentialingId))}`),
|
|
274
263
|
method: "DELETE",
|
|
275
|
-
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),
|
|
276
265
|
contentType: "application/json",
|
|
277
266
|
requestType: "json",
|
|
278
267
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -312,18 +301,7 @@ class V2 {
|
|
|
312
301
|
* @param {V2.RequestOptions} requestOptions - Request-specific configuration.
|
|
313
302
|
*
|
|
314
303
|
* @example
|
|
315
|
-
* await client.credentialing.v2.update(CandidApi.ProviderCredentialingSpanId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
316
|
-
* contractingProviderId: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
|
317
|
-
* payerUuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
|
318
|
-
* startDate: "2023-01-15",
|
|
319
|
-
* endDate: "2023-01-15",
|
|
320
|
-
* regions: {
|
|
321
|
-
* type: "states",
|
|
322
|
-
* states: ["AA"]
|
|
323
|
-
* },
|
|
324
|
-
* submittedDate: "2023-01-15",
|
|
325
|
-
* payerLoadedDate: "2023-01-15"
|
|
326
|
-
* })
|
|
304
|
+
* await client.credentialing.v2.update(CandidApi.ProviderCredentialingSpanId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
|
|
327
305
|
*/
|
|
328
306
|
update(providerCredentialingId_1) {
|
|
329
307
|
return __awaiter(this, arguments, void 0, function* (providerCredentialingId, request = {}, requestOptions) {
|
|
@@ -331,7 +309,7 @@ class V2 {
|
|
|
331
309
|
const _response = yield core.fetcher({
|
|
332
310
|
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/provider-credentialing-span/v2/${encodeURIComponent(serializers.ProviderCredentialingSpanId.jsonOrThrow(providerCredentialingId))}`),
|
|
333
311
|
method: "PATCH",
|
|
334
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
312
|
+
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),
|
|
335
313
|
contentType: "application/json",
|
|
336
314
|
requestType: "json",
|
|
337
315
|
body: serializers.credentialing.v2.ProviderCredentialingSpanUpdate.jsonOrThrow(request, {
|
|
@@ -4,14 +4,7 @@
|
|
|
4
4
|
import * as CandidApi from "../../../../../../index";
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
|
-
* {
|
|
8
|
-
* limit: 1,
|
|
9
|
-
* pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
|
|
10
|
-
* payerUuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
|
11
|
-
* providerId: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
|
12
|
-
* asRenderingProvider: true,
|
|
13
|
-
* asContractingProvider: true
|
|
14
|
-
* }
|
|
7
|
+
* {}
|
|
15
8
|
*/
|
|
16
9
|
export interface GetAllProviderCredentialingSpansRequest {
|
|
17
10
|
/**
|
|
@@ -8,23 +8,16 @@ import * as CandidApi from "../../../../../../index";
|
|
|
8
8
|
* renderingProviderId: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
|
9
9
|
* contractingProviderId: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
|
10
10
|
* payerUuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
|
11
|
-
* startDate: "2023-01-15",
|
|
12
|
-
* endDate: "2023-01-15",
|
|
13
11
|
* regions: {
|
|
14
12
|
* type: "states",
|
|
15
|
-
* states: ["AA"]
|
|
16
|
-
* }
|
|
17
|
-
* submittedDate: "2023-01-15",
|
|
18
|
-
* payerLoadedDate: "2023-01-15"
|
|
13
|
+
* states: ["AA", "AA"]
|
|
14
|
+
* }
|
|
19
15
|
* }
|
|
20
16
|
*/
|
|
21
17
|
export interface ProviderCredentialingSpanCreate {
|
|
22
18
|
/** The ID of the rendering provider covered by the credentialing span. */
|
|
23
19
|
renderingProviderId: string;
|
|
24
|
-
/**
|
|
25
|
-
* The ID of the practice location at which the rendering provider is covered by the credentialing span.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
20
|
+
/** The ID of the practice location at which the rendering provider is covered by the credentialing span. */
|
|
28
21
|
contractingProviderId: string;
|
|
29
22
|
/** The ID of the payer covered by the credentialing span. */
|
|
30
23
|
payerUuid: string;
|
|
@@ -32,10 +25,7 @@ export interface ProviderCredentialingSpanCreate {
|
|
|
32
25
|
startDate?: string;
|
|
33
26
|
/** End date of the credentialing span. */
|
|
34
27
|
endDate?: string;
|
|
35
|
-
/**
|
|
36
|
-
* The states covered by the credentialing span. A span may be national and cover all states.
|
|
37
|
-
*
|
|
38
|
-
*/
|
|
28
|
+
/** The states covered by the credentialing span. A span may be national and cover all states. */
|
|
39
29
|
regions: CandidApi.Regions;
|
|
40
30
|
/** Date that the credential paperwork was submitted. */
|
|
41
31
|
submittedDate?: string;
|
|
@@ -4,24 +4,10 @@
|
|
|
4
4
|
import * as CandidApi from "../../../../../../index";
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
|
-
* {
|
|
8
|
-
* contractingProviderId: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
|
9
|
-
* payerUuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
|
10
|
-
* startDate: "2023-01-15",
|
|
11
|
-
* endDate: "2023-01-15",
|
|
12
|
-
* regions: {
|
|
13
|
-
* type: "states",
|
|
14
|
-
* states: ["AA"]
|
|
15
|
-
* },
|
|
16
|
-
* submittedDate: "2023-01-15",
|
|
17
|
-
* payerLoadedDate: "2023-01-15"
|
|
18
|
-
* }
|
|
7
|
+
* {}
|
|
19
8
|
*/
|
|
20
9
|
export interface ProviderCredentialingSpanUpdate {
|
|
21
|
-
/**
|
|
22
|
-
* The ID of the practice location at which the rendering provider is covered by the credentialing span.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
10
|
+
/** The ID of the practice location at which the rendering provider is covered by the credentialing span. */
|
|
25
11
|
contractingProviderId?: string;
|
|
26
12
|
/** The ID of the payer doing the credentialing. */
|
|
27
13
|
payerUuid?: string;
|
|
@@ -29,10 +15,7 @@ export interface ProviderCredentialingSpanUpdate {
|
|
|
29
15
|
startDate?: string;
|
|
30
16
|
/** End date of the credentialing span. */
|
|
31
17
|
endDate?: string;
|
|
32
|
-
/**
|
|
33
|
-
* The states covered by the credentialing span. A span may be national and cover all states.
|
|
34
|
-
*
|
|
35
|
-
*/
|
|
18
|
+
/** The states covered by the credentialing span. A span may be national and cover all states. */
|
|
36
19
|
regions?: CandidApi.Regions;
|
|
37
20
|
/** Date that the credential paperwork was submitted. */
|
|
38
21
|
submittedDate?: string;
|
|
@@ -72,7 +72,7 @@ class V1 {
|
|
|
72
72
|
const _response = yield core.fetcher({
|
|
73
73
|
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/custom-schemas/v1"),
|
|
74
74
|
method: "GET",
|
|
75
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
75
|
+
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),
|
|
76
76
|
contentType: "application/json",
|
|
77
77
|
requestType: "json",
|
|
78
78
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -125,7 +125,7 @@ class V1 {
|
|
|
125
125
|
const _response = yield core.fetcher({
|
|
126
126
|
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/custom-schemas/v1/${encodeURIComponent(serializers.SchemaId.jsonOrThrow(schemaId))}`),
|
|
127
127
|
method: "GET",
|
|
128
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
128
|
+
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),
|
|
129
129
|
contentType: "application/json",
|
|
130
130
|
requestType: "json",
|
|
131
131
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -196,7 +196,7 @@ class V1 {
|
|
|
196
196
|
const _response = yield core.fetcher({
|
|
197
197
|
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/custom-schemas/v1"),
|
|
198
198
|
method: "POST",
|
|
199
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
199
|
+
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),
|
|
200
200
|
contentType: "application/json",
|
|
201
201
|
requestType: "json",
|
|
202
202
|
body: serializers.customSchemas.v1.SchemaCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -258,7 +258,7 @@ class V1 {
|
|
|
258
258
|
const _response = yield core.fetcher({
|
|
259
259
|
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/custom-schemas/v1/${encodeURIComponent(serializers.SchemaId.jsonOrThrow(schemaId))}`),
|
|
260
260
|
method: "PATCH",
|
|
261
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
261
|
+
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),
|
|
262
262
|
contentType: "application/json",
|
|
263
263
|
requestType: "json",
|
|
264
264
|
body: serializers.customSchemas.v1.SchemaUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|