candidhealth 0.40.2 → 0.40.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.d.ts +3 -0
- package/Client.js +19 -14
- package/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
- package/api/resources/chargeCapture/resources/v1/client/Client.d.ts +1 -0
- package/api/resources/chargeCapture/resources/v1/client/Client.js +10 -6
- package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +5 -0
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +8 -1
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +40 -4
- package/api/resources/chargeCaptureBundles/resources/v1/client/getSummary.d.ts +22 -0
- package/api/resources/chargeCaptureBundles/resources/v1/client/getSummary.js +57 -0
- package/api/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +1 -0
- package/api/resources/chargeCaptureBundles/resources/v1/client/index.js +2 -1
- package/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureBundlesRequest.d.ts +1 -1
- package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +3 -1
- package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js +2 -0
- package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +11 -0
- package/api/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +1 -0
- package/api/resources/chargeCaptureBundles/resources/v1/types/index.js +1 -0
- package/api/resources/commons/types/ProcedureModifier.d.ts +13 -1
- package/api/resources/commons/types/ProcedureModifier.js +3 -0
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
- package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/api/resources/diagnoses/client/Client.js +3 -3
- package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/api/resources/encounters/resources/v4/client/Client.js +5 -5
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/api/resources/feeSchedules/resources/v3/client/Client.d.ts +3 -3
- package/api/resources/feeSchedules/resources/v3/client/Client.js +13 -13
- package/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts +1 -1
- package/api/resources/feeSchedules/resources/v3/client/requests/GetMultiRequest.d.ts +1 -1
- package/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts +1 -1
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/api/resources/index.d.ts +1 -0
- package/api/resources/index.js +3 -1
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/api/resources/insurancePayments/resources/v1/client/Client.d.ts +0 -56
- package/api/resources/insurancePayments/resources/v1/client/Client.js +2 -194
- package/api/resources/insurancePayments/resources/v1/client/index.d.ts +0 -3
- package/api/resources/insurancePayments/resources/v1/client/index.js +1 -4
- package/api/resources/insurancePayments/resources/v1/client/requests/index.d.ts +0 -1
- package/api/resources/insurancePayments/resources/v1/types/index.d.ts +0 -1
- package/api/resources/insurancePayments/resources/v1/types/index.js +0 -1
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/medicationDispense/resources/v1/client/Client.d.ts +1 -1
- package/api/resources/medicationDispense/resources/v1/client/Client.js +2 -2
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
- package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/payerPlanGroups/client/Client.d.ts +30 -0
- package/api/resources/payerPlanGroups/client/Client.js +17 -0
- package/api/resources/payerPlanGroups/client/index.d.ts +1 -0
- package/api/resources/payerPlanGroups/client/index.js +2 -0
- package/api/resources/payerPlanGroups/index.d.ts +2 -0
- package/api/resources/payerPlanGroups/index.js +18 -0
- package/api/resources/payerPlanGroups/resources/index.d.ts +1 -0
- package/api/resources/payerPlanGroups/resources/index.js +37 -0
- package/api/resources/payerPlanGroups/resources/v1/client/Client.d.ts +100 -0
- package/api/resources/payerPlanGroups/resources/v1/client/Client.js +435 -0
- package/api/resources/payerPlanGroups/resources/v1/client/create.d.ts +34 -0
- package/api/resources/payerPlanGroups/resources/v1/client/create.js +79 -0
- package/api/resources/payerPlanGroups/resources/v1/client/deactivate.d.ts +34 -0
- package/api/resources/{insurancePayments/resources/v1/client/create.js → payerPlanGroups/resources/v1/client/deactivate.js} +3 -14
- package/api/resources/payerPlanGroups/resources/v1/client/get.d.ts +34 -0
- package/{dist/api/resources/insurancePayments/resources/v1/client/create.js → api/resources/payerPlanGroups/resources/v1/client/get.js} +3 -14
- package/api/resources/payerPlanGroups/resources/v1/client/getMulti.d.ts +28 -0
- package/api/resources/payerPlanGroups/resources/v1/client/getMulti.js +68 -0
- package/api/resources/payerPlanGroups/resources/v1/client/index.d.ts +6 -0
- package/api/resources/payerPlanGroups/resources/v1/client/index.js +45 -0
- package/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.d.ts +47 -0
- package/api/resources/payerPlanGroups/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/payerPlanGroups/resources/v1/client/requests/index.js +2 -0
- package/api/resources/payerPlanGroups/resources/v1/client/update.d.ts +40 -0
- package/api/resources/{insurancePayments → payerPlanGroups}/resources/v1/client/update.js +8 -8
- package/api/resources/payerPlanGroups/resources/v1/index.d.ts +2 -0
- package/api/resources/payerPlanGroups/resources/v1/index.js +18 -0
- package/api/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.d.ts +9 -0
- package/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.d.ts +9 -0
- package/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.d.ts +8 -0
- package/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.js +5 -0
- package/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.d.ts +7 -0
- package/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.js +5 -0
- package/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.d.ts +9 -0
- package/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.js +11 -0
- package/api/resources/payerPlanGroups/resources/v1/types/index.d.ts +5 -0
- package/api/resources/payerPlanGroups/resources/v1/types/index.js +21 -0
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +9 -9
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
- package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
- package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceLines/resources/v2/client/Client.d.ts +2 -2
- package/api/resources/serviceLines/resources/v2/client/Client.js +5 -5
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +19 -14
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +1 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +10 -6
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +5 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +8 -1
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +40 -4
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/getSummary.d.ts +22 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/getSummary.js +57 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +1 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/index.js +2 -1
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureBundlesRequest.d.ts +1 -1
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +3 -1
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js +2 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +11 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.js +5 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +1 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/index.js +1 -0
- package/dist/api/resources/commons/types/ProcedureModifier.d.ts +13 -1
- package/dist/api/resources/commons/types/ProcedureModifier.js +3 -0
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/diagnoses/client/Client.js +3 -3
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/dist/api/resources/encounters/resources/v4/client/Client.js +5 -5
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.d.ts +3 -3
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +13 -13
- package/dist/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetMultiRequest.d.ts +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts +1 -1
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/index.d.ts +1 -0
- package/dist/api/resources/index.js +3 -1
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.d.ts +0 -56
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +2 -194
- package/dist/api/resources/insurancePayments/resources/v1/client/index.d.ts +0 -3
- package/dist/api/resources/insurancePayments/resources/v1/client/index.js +1 -4
- package/dist/api/resources/insurancePayments/resources/v1/client/requests/index.d.ts +0 -1
- package/dist/api/resources/insurancePayments/resources/v1/types/index.d.ts +0 -1
- package/dist/api/resources/insurancePayments/resources/v1/types/index.js +0 -1
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.d.ts +1 -1
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +2 -2
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/payerPlanGroups/client/Client.d.ts +30 -0
- package/dist/api/resources/payerPlanGroups/client/Client.js +17 -0
- package/dist/api/resources/payerPlanGroups/client/index.d.ts +1 -0
- package/dist/api/resources/payerPlanGroups/client/index.js +2 -0
- package/dist/api/resources/payerPlanGroups/index.d.ts +2 -0
- package/dist/api/resources/payerPlanGroups/index.js +18 -0
- package/dist/api/resources/payerPlanGroups/resources/index.d.ts +1 -0
- package/dist/api/resources/payerPlanGroups/resources/index.js +37 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.d.ts +100 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +435 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/client/create.d.ts +34 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/client/create.js +79 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/client/deactivate.d.ts +34 -0
- package/{api/resources/insurancePayments/resources/v1/client/delete.js → dist/api/resources/payerPlanGroups/resources/v1/client/deactivate.js} +3 -14
- package/dist/api/resources/payerPlanGroups/resources/v1/client/get.d.ts +34 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/client/get.js +79 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/client/getMulti.d.ts +28 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/client/getMulti.js +68 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/client/index.d.ts +6 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/client/index.js +45 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.d.ts +47 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.js +5 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/client/requests/index.js +2 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/client/update.d.ts +40 -0
- package/dist/api/resources/{insurancePayments → payerPlanGroups}/resources/v1/client/update.js +8 -8
- package/dist/api/resources/payerPlanGroups/resources/v1/index.d.ts +2 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/index.js +18 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.d.ts +9 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.js +5 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.d.ts +9 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.js +5 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.d.ts +8 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.js +5 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.d.ts +7 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.js +5 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.d.ts +9 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.js +11 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/types/index.d.ts +5 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/types/index.js +21 -0
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +9 -9
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +2 -2
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +1 -1
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js +1 -1
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +14 -0
- package/dist/serialization/resources/{insurancePayments/resources/v1/types/InsurancePaymentCreate.js → chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.js} +5 -9
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +1 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/index.js +1 -0
- package/dist/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
- package/dist/serialization/resources/commons/types/ProcedureModifier.js +3 -0
- package/dist/serialization/resources/index.d.ts +1 -0
- package/dist/serialization/resources/index.js +3 -1
- package/dist/serialization/resources/insurancePayments/resources/v1/client/index.d.ts +0 -4
- package/dist/serialization/resources/insurancePayments/resources/v1/client/index.js +1 -8
- package/dist/serialization/resources/insurancePayments/resources/v1/types/index.d.ts +0 -1
- package/dist/serialization/resources/insurancePayments/resources/v1/types/index.js +0 -1
- package/dist/serialization/resources/payerPlanGroups/index.d.ts +1 -0
- package/dist/serialization/resources/payerPlanGroups/index.js +17 -0
- package/dist/serialization/resources/payerPlanGroups/resources/index.d.ts +1 -0
- package/dist/serialization/resources/payerPlanGroups/resources/index.js +37 -0
- package/dist/serialization/resources/payerPlanGroups/resources/v1/client/create.d.ts +20 -0
- package/dist/serialization/resources/payerPlanGroups/resources/v1/client/create.js +77 -0
- package/dist/serialization/resources/{insurancePayments/resources/v1/client/create.d.ts → payerPlanGroups/resources/v1/client/deactivate.d.ts} +2 -7
- package/dist/serialization/resources/{insurancePayments/resources/v1/client/create.js → payerPlanGroups/resources/v1/client/deactivate.js} +2 -8
- package/dist/serialization/resources/{insurancePayments/resources/v1/client/delete.d.ts → payerPlanGroups/resources/v1/client/get.d.ts} +2 -7
- package/dist/serialization/resources/{insurancePayments/resources/v1/client/delete.js → payerPlanGroups/resources/v1/client/get.js} +2 -8
- package/dist/serialization/resources/payerPlanGroups/resources/v1/client/getMulti.d.ts +15 -0
- package/dist/serialization/resources/payerPlanGroups/resources/v1/client/getMulti.js +71 -0
- package/dist/serialization/resources/payerPlanGroups/resources/v1/client/index.d.ts +5 -0
- package/dist/serialization/resources/payerPlanGroups/resources/v1/client/index.js +41 -0
- package/{serialization/resources/insurancePayments → dist/serialization/resources/payerPlanGroups}/resources/v1/client/update.d.ts +6 -6
- package/{serialization/resources/insurancePayments → dist/serialization/resources/payerPlanGroups}/resources/v1/client/update.js +7 -7
- package/dist/serialization/resources/payerPlanGroups/resources/v1/index.d.ts +2 -0
- package/dist/serialization/resources/payerPlanGroups/resources/v1/index.js +18 -0
- package/dist/serialization/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.d.ts +16 -0
- package/{serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.js → dist/serialization/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.js} +7 -9
- package/dist/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.d.ts +17 -0
- package/dist/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.js +50 -0
- package/dist/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.d.ts +14 -0
- package/dist/serialization/resources/{insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.js → payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.js} +6 -6
- package/dist/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.d.ts +14 -0
- package/dist/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.js +47 -0
- package/dist/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.d.ts +10 -0
- package/dist/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.js +41 -0
- package/dist/serialization/resources/payerPlanGroups/resources/v1/types/index.d.ts +5 -0
- package/dist/serialization/resources/payerPlanGroups/resources/v1/types/index.js +21 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +393 -231
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +1 -1
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js +1 -1
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +14 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.js +45 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +1 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/index.js +1 -0
- package/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
- package/serialization/resources/commons/types/ProcedureModifier.js +3 -0
- package/serialization/resources/index.d.ts +1 -0
- package/serialization/resources/index.js +3 -1
- package/serialization/resources/insurancePayments/resources/v1/client/index.d.ts +0 -4
- package/serialization/resources/insurancePayments/resources/v1/client/index.js +1 -8
- package/serialization/resources/insurancePayments/resources/v1/types/index.d.ts +0 -1
- package/serialization/resources/insurancePayments/resources/v1/types/index.js +0 -1
- package/serialization/resources/payerPlanGroups/index.d.ts +1 -0
- package/serialization/resources/payerPlanGroups/index.js +17 -0
- package/serialization/resources/payerPlanGroups/resources/index.d.ts +1 -0
- package/serialization/resources/payerPlanGroups/resources/index.js +37 -0
- package/serialization/resources/payerPlanGroups/resources/v1/client/create.d.ts +20 -0
- package/serialization/resources/payerPlanGroups/resources/v1/client/create.js +77 -0
- package/serialization/resources/{insurancePayments/resources/v1/client/create.d.ts → payerPlanGroups/resources/v1/client/deactivate.d.ts} +2 -7
- package/{dist/serialization/resources/insurancePayments/resources/v1/client/update.js → serialization/resources/payerPlanGroups/resources/v1/client/deactivate.js} +2 -8
- package/{dist/serialization/resources/insurancePayments/resources/v1/client/update.d.ts → serialization/resources/payerPlanGroups/resources/v1/client/get.d.ts} +2 -7
- package/serialization/resources/{insurancePayments/resources/v1/client/create.js → payerPlanGroups/resources/v1/client/get.js} +2 -8
- package/serialization/resources/payerPlanGroups/resources/v1/client/getMulti.d.ts +15 -0
- package/serialization/resources/payerPlanGroups/resources/v1/client/getMulti.js +71 -0
- package/serialization/resources/payerPlanGroups/resources/v1/client/index.d.ts +5 -0
- package/serialization/resources/payerPlanGroups/resources/v1/client/index.js +41 -0
- package/serialization/resources/payerPlanGroups/resources/v1/client/update.d.ts +25 -0
- package/serialization/resources/payerPlanGroups/resources/v1/client/update.js +83 -0
- package/serialization/resources/payerPlanGroups/resources/v1/index.d.ts +2 -0
- package/serialization/resources/payerPlanGroups/resources/v1/index.js +18 -0
- package/serialization/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.d.ts +16 -0
- package/serialization/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.js +47 -0
- package/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.d.ts +17 -0
- package/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.js +50 -0
- package/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.d.ts +14 -0
- package/serialization/resources/{insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.js → payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.js} +6 -6
- package/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.d.ts +14 -0
- package/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.js +47 -0
- package/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.d.ts +10 -0
- package/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.js +41 -0
- package/serialization/resources/payerPlanGroups/resources/v1/types/index.d.ts +5 -0
- package/serialization/resources/payerPlanGroups/resources/v1/types/index.js +21 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/insurancePayments/resources/v1/client/create.d.ts +0 -40
- package/api/resources/insurancePayments/resources/v1/client/delete.d.ts +0 -40
- package/api/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.d.ts +0 -18
- package/api/resources/insurancePayments/resources/v1/client/update.d.ts +0 -40
- package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.d.ts +0 -11
- package/dist/api/resources/insurancePayments/resources/v1/client/create.d.ts +0 -40
- package/dist/api/resources/insurancePayments/resources/v1/client/delete.d.ts +0 -40
- package/dist/api/resources/insurancePayments/resources/v1/client/delete.js +0 -90
- package/dist/api/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.d.ts +0 -18
- package/dist/api/resources/insurancePayments/resources/v1/client/update.d.ts +0 -40
- package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.d.ts +0 -11
- package/dist/serialization/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.d.ts +0 -14
- package/dist/serialization/resources/insurancePayments/resources/v1/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/insurancePayments/resources/v1/client/requests/index.js +0 -5
- package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.d.ts +0 -18
- package/serialization/resources/insurancePayments/resources/v1/client/delete.d.ts +0 -25
- package/serialization/resources/insurancePayments/resources/v1/client/delete.js +0 -83
- package/serialization/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.d.ts +0 -14
- package/serialization/resources/insurancePayments/resources/v1/client/requests/index.d.ts +0 -1
- package/serialization/resources/insurancePayments/resources/v1/client/requests/index.js +0 -5
- package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.d.ts +0 -18
- /package/api/resources/{insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.js → chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.js} +0 -0
- /package/api/resources/{insurancePayments/resources/v1/types/InsurancePaymentCreate.js → payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.js} +0 -0
- /package/{dist/api/resources/insurancePayments/resources/v1/client/requests/InsurancePaymentUpdate.js → api/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.js} +0 -0
- /package/{dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentCreate.js → api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.js} +0 -0
|
@@ -31,7 +31,7 @@ export declare class V2 {
|
|
|
31
31
|
*
|
|
32
32
|
* @example
|
|
33
33
|
* await client.serviceLines.v2.create({
|
|
34
|
-
* modifiers: ["
|
|
34
|
+
* modifiers: ["AV"],
|
|
35
35
|
* chargeAmountCents: 1,
|
|
36
36
|
* diagnosisIdZero: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
37
37
|
* diagnosisIdOne: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
@@ -90,7 +90,7 @@ export declare class V2 {
|
|
|
90
90
|
* @example
|
|
91
91
|
* await client.serviceLines.v2.update(CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
92
92
|
* editReason: "string",
|
|
93
|
-
* modifiers: ["
|
|
93
|
+
* modifiers: ["AV"],
|
|
94
94
|
* chargeAmountCents: 1,
|
|
95
95
|
* diagnosisIdZero: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
96
96
|
* diagnosisIdOne: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
@@ -64,7 +64,7 @@ class V2 {
|
|
|
64
64
|
*
|
|
65
65
|
* @example
|
|
66
66
|
* await client.serviceLines.v2.create({
|
|
67
|
-
* modifiers: ["
|
|
67
|
+
* modifiers: ["AV"],
|
|
68
68
|
* chargeAmountCents: 1,
|
|
69
69
|
* diagnosisIdZero: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
70
70
|
* diagnosisIdOne: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
@@ -120,7 +120,7 @@ class V2 {
|
|
|
120
120
|
const _response = yield core.fetcher({
|
|
121
121
|
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/service-lines/v2"),
|
|
122
122
|
method: "POST",
|
|
123
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.
|
|
123
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
124
124
|
contentType: "application/json",
|
|
125
125
|
requestType: "json",
|
|
126
126
|
body: serializers.serviceLines.v2.ServiceLineCreateStandalone.jsonOrThrow(request, {
|
|
@@ -169,7 +169,7 @@ class V2 {
|
|
|
169
169
|
* @example
|
|
170
170
|
* await client.serviceLines.v2.update(CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
171
171
|
* editReason: "string",
|
|
172
|
-
* modifiers: ["
|
|
172
|
+
* modifiers: ["AV"],
|
|
173
173
|
* chargeAmountCents: 1,
|
|
174
174
|
* diagnosisIdZero: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
175
175
|
* diagnosisIdOne: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
@@ -209,7 +209,7 @@ class V2 {
|
|
|
209
209
|
const _response = yield core.fetcher({
|
|
210
210
|
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/service-lines/v2/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}`),
|
|
211
211
|
method: "PATCH",
|
|
212
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.
|
|
212
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
213
213
|
contentType: "application/json",
|
|
214
214
|
requestType: "json",
|
|
215
215
|
body: serializers.serviceLines.v2.ServiceLineUpdate.jsonOrThrow(request, {
|
|
@@ -265,7 +265,7 @@ class V2 {
|
|
|
265
265
|
const _response = yield core.fetcher({
|
|
266
266
|
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/service-lines/v2/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}`),
|
|
267
267
|
method: "DELETE",
|
|
268
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.
|
|
268
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
269
269
|
contentType: "application/json",
|
|
270
270
|
requestType: "json",
|
|
271
271
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -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/tasks/v3/${encodeURIComponent(serializers.TaskId.jsonOrThrow(taskId))}/actions`),
|
|
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.40.
|
|
74
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "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,
|
|
@@ -169,7 +169,7 @@ class V3 {
|
|
|
169
169
|
const _response = yield core.fetcher({
|
|
170
170
|
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/tasks/v3"),
|
|
171
171
|
method: "GET",
|
|
172
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.
|
|
172
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
173
173
|
contentType: "application/json",
|
|
174
174
|
queryParameters: _queryParams,
|
|
175
175
|
requestType: "json",
|
|
@@ -221,7 +221,7 @@ class V3 {
|
|
|
221
221
|
const _response = yield core.fetcher({
|
|
222
222
|
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/tasks/v3/${encodeURIComponent(serializers.TaskId.jsonOrThrow(taskId))}`),
|
|
223
223
|
method: "GET",
|
|
224
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.
|
|
224
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
225
225
|
contentType: "application/json",
|
|
226
226
|
requestType: "json",
|
|
227
227
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -281,7 +281,7 @@ class V3 {
|
|
|
281
281
|
const _response = yield core.fetcher({
|
|
282
282
|
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/tasks/v3"),
|
|
283
283
|
method: "POST",
|
|
284
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.
|
|
284
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
285
285
|
contentType: "application/json",
|
|
286
286
|
requestType: "json",
|
|
287
287
|
body: serializers.tasks.v3.TaskCreateV3.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -324,7 +324,7 @@ class V3 {
|
|
|
324
324
|
const _response = yield core.fetcher({
|
|
325
325
|
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/tasks/v3/${encodeURIComponent(serializers.TaskId.jsonOrThrow(taskId))}`),
|
|
326
326
|
method: "PATCH",
|
|
327
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.
|
|
327
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
328
328
|
contentType: "application/json",
|
|
329
329
|
requestType: "json",
|
|
330
330
|
body: serializers.tasks.v3.TaskUpdateV3.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -127,7 +127,7 @@ class V1 {
|
|
|
127
127
|
const _response = yield core.fetcher({
|
|
128
128
|
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/write-offs/v1"),
|
|
129
129
|
method: "GET",
|
|
130
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.
|
|
130
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
131
131
|
contentType: "application/json",
|
|
132
132
|
queryParameters: _queryParams,
|
|
133
133
|
requestType: "json",
|
|
@@ -167,7 +167,7 @@ class V1 {
|
|
|
167
167
|
const _response = yield core.fetcher({
|
|
168
168
|
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/write-offs/v1/${encodeURIComponent(serializers.writeOffs.v1.WriteOffId.jsonOrThrow(writeOffId))}`),
|
|
169
169
|
method: "GET",
|
|
170
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.
|
|
170
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
171
171
|
contentType: "application/json",
|
|
172
172
|
requestType: "json",
|
|
173
173
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -216,7 +216,7 @@ class V1 {
|
|
|
216
216
|
const _response = yield core.fetcher({
|
|
217
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/write-offs/v1"),
|
|
218
218
|
method: "POST",
|
|
219
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.
|
|
219
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
220
220
|
contentType: "application/json",
|
|
221
221
|
requestType: "json",
|
|
222
222
|
body: serializers.writeOffs.v1.CreateWriteOffsRequest.jsonOrThrow(request, {
|
|
@@ -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/write-offs/v1/${encodeURIComponent(serializers.writeOffs.v1.WriteOffId.jsonOrThrow(writeOffId))}/revert`),
|
|
260
260
|
method: "POST",
|
|
261
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.
|
|
261
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "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
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -297,7 +297,7 @@ class V1 {
|
|
|
297
297
|
const _response = yield core.fetcher({
|
|
298
298
|
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/write-offs/v1/${encodeURIComponent(serializers.AdjustmentId.jsonOrThrow(adjustmentId))}/revert`),
|
|
299
299
|
method: "POST",
|
|
300
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.
|
|
300
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
301
301
|
contentType: "application/json",
|
|
302
302
|
requestType: "json",
|
|
303
303
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -336,7 +336,7 @@ class V1 {
|
|
|
336
336
|
const _response = yield core.fetcher({
|
|
337
337
|
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/write-offs/v1/${encodeURIComponent(serializers.AdjustmentId.jsonOrThrow(adjustmentId))}/revert-era-originated`),
|
|
338
338
|
method: "POST",
|
|
339
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.
|
|
339
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.4", "User-Agent": "candidhealth/0.40.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
340
340
|
contentType: "application/json",
|
|
341
341
|
requestType: "json",
|
|
342
342
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -6,5 +6,5 @@ import * as CandidApi from "../../../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
7
|
export declare const ChargeCaptureBundleStatus: core.serialization.Schema<serializers.chargeCaptureBundles.v1.ChargeCaptureBundleStatus.Raw, CandidApi.chargeCaptureBundles.v1.ChargeCaptureBundleStatus>;
|
|
8
8
|
export declare namespace ChargeCaptureBundleStatus {
|
|
9
|
-
type Raw = "in-progress" | "in-error" | "successful" | "aborted";
|
|
9
|
+
type Raw = "not-started" | "in-progress" | "in-error" | "successful" | "successful-dry-run" | "aborted";
|
|
10
10
|
}
|
|
@@ -38,4 +38,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.ChargeCaptureBundleStatus = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../../../core"));
|
|
41
|
-
exports.ChargeCaptureBundleStatus = core.serialization.enum_(["in-progress", "in-error", "successful", "aborted"]);
|
|
41
|
+
exports.ChargeCaptureBundleStatus = core.serialization.enum_(["not-started", "in-progress", "in-error", "successful", "successful-dry-run", "aborted"]);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const ChargeCaptureBundleSummary: core.serialization.ObjectSchema<serializers.chargeCaptureBundles.v1.ChargeCaptureBundleSummary.Raw, CandidApi.chargeCaptureBundles.v1.ChargeCaptureBundleSummary>;
|
|
8
|
+
export declare namespace ChargeCaptureBundleSummary {
|
|
9
|
+
interface Raw {
|
|
10
|
+
charge_capture_unbundled_count: number;
|
|
11
|
+
charge_capture_bundles_in_error_count: number;
|
|
12
|
+
charge_capture_unresolved_change_count: number;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -36,14 +36,10 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.ChargeCaptureBundleSummary = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../../../core"));
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
amountCents: core.serialization.property("amount_cents", core.serialization.number()),
|
|
46
|
-
paymentTimestamp: core.serialization.property("payment_timestamp", core.serialization.date().optional()),
|
|
47
|
-
paymentNote: core.serialization.property("payment_note", core.serialization.string().optional()),
|
|
48
|
-
allocations: core.serialization.list(AllocationCreate_1.AllocationCreate),
|
|
41
|
+
exports.ChargeCaptureBundleSummary = core.serialization.object({
|
|
42
|
+
chargeCaptureUnbundledCount: core.serialization.property("charge_capture_unbundled_count", core.serialization.number()),
|
|
43
|
+
chargeCaptureBundlesInErrorCount: core.serialization.property("charge_capture_bundles_in_error_count", core.serialization.number()),
|
|
44
|
+
chargeCaptureUnresolvedChangeCount: core.serialization.property("charge_capture_unresolved_change_count", core.serialization.number()),
|
|
49
45
|
});
|
|
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./ChargeCaptureBundlePage"), exports);
|
|
18
18
|
__exportStar(require("./ChargeCaptureBundle"), exports);
|
|
19
|
+
__exportStar(require("./ChargeCaptureBundleSummary"), exports);
|
|
19
20
|
__exportStar(require("./ChargeBundleError"), exports);
|
|
20
21
|
__exportStar(require("./ChargeCaptureBundleStatus"), exports);
|
|
21
22
|
__exportStar(require("./ChargeCaptureBundleSortField"), exports);
|
|
@@ -6,5 +6,5 @@ import * as CandidApi from "../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
7
|
export declare const ProcedureModifier: core.serialization.Schema<serializers.ProcedureModifier.Raw, CandidApi.ProcedureModifier>;
|
|
8
8
|
export declare namespace ProcedureModifier {
|
|
9
|
-
type Raw = "22" | "23" | "24" | "25" | "26" | "27" | "32" | "33" | "47" | "50" | "51" | "52" | "53" | "54" | "55" | "56" | "57" | "58" | "59" | "62" | "63" | "66" | "74" | "76" | "77" | "78" | "79" | "80" | "81" | "82" | "90" | "91" | "92" | "93" | "95" | "96" | "97" | "99" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "A7" | "A8" | "A9" | "AA" | "AB" | "AD" | "AE" | "AF" | "AG" | "AH" | "AI" | "AJ" | "AK" | "AM" | "AO" | "AP" | "AQ" | "AR" | "AS" | "AT" | "AZ" | "BA" | "BL" | "BO" | "BP" | "BR" | "BU" | "CA" | "CB" | "CC" | "CD" | "CE" | "CF" | "CG" | "CH" | "CI" | "CJ" | "CK" | "CL" | "CM" | "CN" | "CR" | "CS" | "CT" | "CO" | "CQ" | "DA" | "E1" | "E2" | "E3" | "E4" | "EA" | "EB" | "EC" | "ED" | "EE" | "EJ" | "EM" | "EP" | "ER" | "ET" | "EX" | "EY" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "FA" | "FB" | "FC" | "FP" | "FQ" | "FR" | "FS" | "FT" | "FX" | "FY" | "G0" | "G1" | "G2" | "G3" | "G4" | "G5" | "G6" | "G7" | "G8" | "G9" | "GA" | "GB" | "GC" | "GE" | "GF" | "GG" | "GH" | "GJ" | "GK" | "GL" | "GM" | "GN" | "GO" | "GP" | "GQ" | "GR" | "GS" | "GT" | "GU" | "GV" | "GW" | "GX" | "GY" | "GZ" | "HA" | "HB" | "HC" | "HD" | "HE" | "HF" | "HG" | "HH" | "HI" | "HJ" | "HK" | "HL" | "HM" | "HN" | "HO" | "HP" | "HQ" | "HR" | "HS" | "HT" | "HU" | "HV" | "HW" | "HX" | "HY" | "HZ" | "J1" | "J2" | "J3" | "J4" | "J5" | "JA" | "JB" | "JC" | "JD" | "JE" | "JG" | "JW" | "JZ" | "K0" | "K1" | "K2" | "K3" | "K4" | "KA" | "KB" | "KC" | "KD" | "KE" | "KF" | "KG" | "KH" | "KI" | "KJ" | "KK" | "KL" | "KM" | "KN" | "KO" | "KP" | "KQ" | "KR" | "KS" | "KT" | "KU" | "KV" | "KW" | "KX" | "KY" | "KZ" | "LC" | "LD" | "LL" | "LM" | "LR" | "LS" | "LT" | "LU" | "M2" | "MA" | "MB" | "MC" | "MD" | "ME" | "MF" | "MG" | "MH" | "MS" | "N1" | "N2" | "N3" | "NB" | "NR" | "NU" | "P1" | "P2" | "P3" | "P4" | "P5" | "P6" | "PA" | "PB" | "PC" | "PD" | "PI" | "PL" | "PM" | "PN" | "PO" | "PS" | "PT" | "Q0" | "Q1" | "Q2" | "Q3" | "Q4" | "Q5" | "Q6" | "Q7" | "Q8" | "Q9" | "QA" | "QB" | "QC" | "QD" | "QE" | "QF" | "QG" | "QH" | "QJ" | "QK" | "QL" | "QM" | "QN" | "QP" | "QQ" | "QR" | "QS" | "QT" | "QW" | "QX" | "QY" | "QZ" | "RA" | "RB" | "RC" | "RD" | "RE" | "RI" | "RR" | "RT" | "SA" | "SB" | "SC" | "SD" | "SE" | "SF" | "SG" | "SH" | "SJ" | "SL" | "SM" | "SN" | "SQ" | "SS" | "ST" | "SU" | "SV" | "SW" | "SY" | "T1" | "T2" | "T3" | "T4" | "T5" | "T6" | "T7" | "T8" | "T9" | "TA" | "TB" | "TC" | "TD" | "TE" | "TF" | "TG" | "TH" | "TJ" | "TK" | "TL" | "TM" | "TN" | "TP" | "TQ" | "TR" | "TS" | "TT" | "TU" | "TV" | "TW" | "U1" | "U2" | "U3" | "U4" | "U5" | "U6" | "U7" | "U8" | "U9" | "UA" | "UB" | "UC" | "UD" | "UE" | "UF" | "UG" | "UH" | "UJ" | "UK" | "UN" | "UP" | "UQ" | "UR" | "US" | "V1" | "V2" | "V3" | "W1" | "W2" | "W3" | "XE" | "XP" | "XS" | "XU";
|
|
9
|
+
type Raw = "AV" | "AU" | "AW" | "22" | "23" | "24" | "25" | "26" | "27" | "32" | "33" | "47" | "50" | "51" | "52" | "53" | "54" | "55" | "56" | "57" | "58" | "59" | "62" | "63" | "66" | "74" | "76" | "77" | "78" | "79" | "80" | "81" | "82" | "90" | "91" | "92" | "93" | "95" | "96" | "97" | "99" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "A7" | "A8" | "A9" | "AA" | "AB" | "AD" | "AE" | "AF" | "AG" | "AH" | "AI" | "AJ" | "AK" | "AM" | "AO" | "AP" | "AQ" | "AR" | "AS" | "AT" | "AZ" | "BA" | "BL" | "BO" | "BP" | "BR" | "BU" | "CA" | "CB" | "CC" | "CD" | "CE" | "CF" | "CG" | "CH" | "CI" | "CJ" | "CK" | "CL" | "CM" | "CN" | "CR" | "CS" | "CT" | "CO" | "CQ" | "DA" | "E1" | "E2" | "E3" | "E4" | "EA" | "EB" | "EC" | "ED" | "EE" | "EJ" | "EM" | "EP" | "ER" | "ET" | "EX" | "EY" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "FA" | "FB" | "FC" | "FP" | "FQ" | "FR" | "FS" | "FT" | "FX" | "FY" | "G0" | "G1" | "G2" | "G3" | "G4" | "G5" | "G6" | "G7" | "G8" | "G9" | "GA" | "GB" | "GC" | "GE" | "GF" | "GG" | "GH" | "GJ" | "GK" | "GL" | "GM" | "GN" | "GO" | "GP" | "GQ" | "GR" | "GS" | "GT" | "GU" | "GV" | "GW" | "GX" | "GY" | "GZ" | "HA" | "HB" | "HC" | "HD" | "HE" | "HF" | "HG" | "HH" | "HI" | "HJ" | "HK" | "HL" | "HM" | "HN" | "HO" | "HP" | "HQ" | "HR" | "HS" | "HT" | "HU" | "HV" | "HW" | "HX" | "HY" | "HZ" | "J1" | "J2" | "J3" | "J4" | "J5" | "JA" | "JB" | "JC" | "JD" | "JE" | "JG" | "JW" | "JZ" | "K0" | "K1" | "K2" | "K3" | "K4" | "KA" | "KB" | "KC" | "KD" | "KE" | "KF" | "KG" | "KH" | "KI" | "KJ" | "KK" | "KL" | "KM" | "KN" | "KO" | "KP" | "KQ" | "KR" | "KS" | "KT" | "KU" | "KV" | "KW" | "KX" | "KY" | "KZ" | "LC" | "LD" | "LL" | "LM" | "LR" | "LS" | "LT" | "LU" | "M2" | "MA" | "MB" | "MC" | "MD" | "ME" | "MF" | "MG" | "MH" | "MS" | "N1" | "N2" | "N3" | "NB" | "NR" | "NU" | "P1" | "P2" | "P3" | "P4" | "P5" | "P6" | "PA" | "PB" | "PC" | "PD" | "PI" | "PL" | "PM" | "PN" | "PO" | "PS" | "PT" | "Q0" | "Q1" | "Q2" | "Q3" | "Q4" | "Q5" | "Q6" | "Q7" | "Q8" | "Q9" | "QA" | "QB" | "QC" | "QD" | "QE" | "QF" | "QG" | "QH" | "QJ" | "QK" | "QL" | "QM" | "QN" | "QP" | "QQ" | "QR" | "QS" | "QT" | "QW" | "QX" | "QY" | "QZ" | "RA" | "RB" | "RC" | "RD" | "RE" | "RI" | "RR" | "RT" | "SA" | "SB" | "SC" | "SD" | "SE" | "SF" | "SG" | "SH" | "SJ" | "SL" | "SM" | "SN" | "SQ" | "SS" | "ST" | "SU" | "SV" | "SW" | "SY" | "T1" | "T2" | "T3" | "T4" | "T5" | "T6" | "T7" | "T8" | "T9" | "TA" | "TB" | "TC" | "TD" | "TE" | "TF" | "TG" | "TH" | "TJ" | "TK" | "TL" | "TM" | "TN" | "TP" | "TQ" | "TR" | "TS" | "TT" | "TU" | "TV" | "TW" | "U1" | "U2" | "U3" | "U4" | "U5" | "U6" | "U7" | "U8" | "U9" | "UA" | "UB" | "UC" | "UD" | "UE" | "UF" | "UG" | "UH" | "UJ" | "UK" | "UN" | "UP" | "UQ" | "UR" | "US" | "V1" | "V2" | "V3" | "W1" | "W2" | "W3" | "XE" | "XP" | "XS" | "XU";
|
|
10
10
|
}
|
|
@@ -39,6 +39,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.ProcedureModifier = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../core"));
|
|
41
41
|
exports.ProcedureModifier = core.serialization.enum_([
|
|
42
|
+
"AV",
|
|
43
|
+
"AU",
|
|
44
|
+
"AW",
|
|
42
45
|
"22",
|
|
43
46
|
"23",
|
|
44
47
|
"24",
|
|
@@ -30,6 +30,7 @@ export * as organizationServiceFacilities from "./organizationServiceFacilities"
|
|
|
30
30
|
export * as organizationProviders from "./organizationProviders";
|
|
31
31
|
export * as patientPayments from "./patientPayments";
|
|
32
32
|
export * as patientRefunds from "./patientRefunds";
|
|
33
|
+
export * as payerPlanGroups from "./payerPlanGroups";
|
|
33
34
|
export * as payers from "./payers";
|
|
34
35
|
export * as remitDrafts from "./remitDrafts";
|
|
35
36
|
export * as remits from "./remits";
|
|
@@ -36,7 +36,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.tags = exports.serviceFacility = exports.paymentAccountConfigs = exports.individual = exports.identifiers = exports.financials = exports.era = exports.eraCommons = exports.diagnoses = exports.claims = exports.preEncounter = exports.x12 = exports.writeOffs = exports.tasks = exports.serviceLines = exports.remits = exports.remitDrafts = exports.payers = exports.payerPlanGroups = exports.patientRefunds = exports.patientPayments = exports.organizationProviders = exports.organizationServiceFacilities = exports.nonInsurancePayers = exports.nonInsurancePayerRefunds = exports.nonInsurancePayerPayments = exports.medicationDispense = exports.invoices = exports.insuranceRefunds = exports.insurancePayments = exports.insuranceCards = exports.insuranceAdjudications = exports.importInvoice = exports.guarantor = exports.externalPaymentAccountConfig = exports.exports = exports.expectedNetworkStatus = exports.encounters = exports.encounterProviders = exports.customSchemas = exports.credentialing = exports.contracts = exports.clinicalTrials = exports.claimSubmission = exports.chargeCapture = exports.chargeCaptureBundles = exports.billingNotes = exports.auth = exports.commons = exports.feeSchedules = void 0;
|
|
40
|
+
exports.eligibility = void 0;
|
|
40
41
|
exports.feeSchedules = __importStar(require("./feeSchedules"));
|
|
41
42
|
exports.commons = __importStar(require("./commons"));
|
|
42
43
|
__exportStar(require("./commons/errors"), exports);
|
|
@@ -69,6 +70,7 @@ exports.organizationServiceFacilities = __importStar(require("./organizationServ
|
|
|
69
70
|
exports.organizationProviders = __importStar(require("./organizationProviders"));
|
|
70
71
|
exports.patientPayments = __importStar(require("./patientPayments"));
|
|
71
72
|
exports.patientRefunds = __importStar(require("./patientRefunds"));
|
|
73
|
+
exports.payerPlanGroups = __importStar(require("./payerPlanGroups"));
|
|
72
74
|
exports.payers = __importStar(require("./payers"));
|
|
73
75
|
exports.remitDrafts = __importStar(require("./remitDrafts"));
|
|
74
76
|
exports.remits = __importStar(require("./remits"));
|
|
@@ -32,14 +32,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
32
32
|
return result;
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
36
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
|
-
};
|
|
38
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
36
|
+
exports.get = exports.getMulti = void 0;
|
|
40
37
|
exports.getMulti = __importStar(require("./getMulti"));
|
|
41
38
|
exports.get = __importStar(require("./get"));
|
|
42
|
-
exports.create = __importStar(require("./create"));
|
|
43
|
-
exports.update = __importStar(require("./update"));
|
|
44
|
-
exports.delete = __importStar(require("./delete"));
|
|
45
|
-
__exportStar(require("./requests"), exports);
|
|
@@ -16,6 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./InsurancePaymentId"), exports);
|
|
18
18
|
__exportStar(require("./InsurancePayment"), exports);
|
|
19
|
-
__exportStar(require("./InsurancePaymentCreate"), exports);
|
|
20
19
|
__exportStar(require("./InsurancePaymentsPage"), exports);
|
|
21
20
|
__exportStar(require("./InsurancePaymentSortField"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./resources";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./resources"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as v1 from "./v1";
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.v1 = void 0;
|
|
37
|
+
exports.v1 = __importStar(require("./v1"));
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
|
|
8
|
+
import { PayerPlanGroupAlreadyExistsError } from "../types/PayerPlanGroupAlreadyExistsError";
|
|
9
|
+
export declare const Error: core.serialization.Schema<serializers.payerPlanGroups.v1.create.Error.Raw, CandidApi.payerPlanGroups.v1.create.Error>;
|
|
10
|
+
export declare namespace Error {
|
|
11
|
+
type Raw = Error.EntityNotFoundError | Error.PayerPlanGroupAlreadyExistsHttpError;
|
|
12
|
+
interface EntityNotFoundError {
|
|
13
|
+
errorName: "EntityNotFoundError";
|
|
14
|
+
content: EntityNotFoundErrorMessage.Raw;
|
|
15
|
+
}
|
|
16
|
+
interface PayerPlanGroupAlreadyExistsHttpError {
|
|
17
|
+
errorName: "PayerPlanGroupAlreadyExistsHttpError";
|
|
18
|
+
content: PayerPlanGroupAlreadyExistsError.Raw;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
39
|
+
var t = {};
|
|
40
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
41
|
+
t[p] = s[p];
|
|
42
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
43
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
44
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
45
|
+
t[p[i]] = s[p[i]];
|
|
46
|
+
}
|
|
47
|
+
return t;
|
|
48
|
+
};
|
|
49
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
50
|
+
exports.Error = void 0;
|
|
51
|
+
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
52
|
+
const core = __importStar(require("../../../../../../core"));
|
|
53
|
+
const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
|
|
54
|
+
const PayerPlanGroupAlreadyExistsError_1 = require("../types/PayerPlanGroupAlreadyExistsError");
|
|
55
|
+
exports.Error = core.serialization
|
|
56
|
+
.union("errorName", {
|
|
57
|
+
EntityNotFoundError: core.serialization.object({
|
|
58
|
+
content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
|
|
59
|
+
}),
|
|
60
|
+
PayerPlanGroupAlreadyExistsHttpError: core.serialization.object({
|
|
61
|
+
content: PayerPlanGroupAlreadyExistsError_1.PayerPlanGroupAlreadyExistsError,
|
|
62
|
+
}),
|
|
63
|
+
})
|
|
64
|
+
.transform({
|
|
65
|
+
transform: (value) => {
|
|
66
|
+
switch (value.errorName) {
|
|
67
|
+
case "EntityNotFoundError":
|
|
68
|
+
return CandidApi.payerPlanGroups.v1.create.Error.entityNotFoundError(value.content);
|
|
69
|
+
case "PayerPlanGroupAlreadyExistsHttpError":
|
|
70
|
+
return CandidApi.payerPlanGroups.v1.create.Error.payerPlanGroupAlreadyExistsHttpError(value.content);
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
untransform: (_a) => {
|
|
74
|
+
var { _visit } = _a, value = __rest(_a, ["_visit"]);
|
|
75
|
+
return value;
|
|
76
|
+
},
|
|
77
|
+
});
|
|
@@ -6,10 +6,9 @@ import * as CandidApi from "../../../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
7
|
import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
|
|
8
8
|
import { UnauthorizedErrorMessage } from "../../../../commons/types/UnauthorizedErrorMessage";
|
|
9
|
-
|
|
10
|
-
export declare const Error: core.serialization.Schema<serializers.insurancePayments.v1.create.Error.Raw, CandidApi.insurancePayments.v1.create.Error>;
|
|
9
|
+
export declare const Error: core.serialization.Schema<serializers.payerPlanGroups.v1.deactivate.Error.Raw, CandidApi.payerPlanGroups.v1.deactivate.Error>;
|
|
11
10
|
export declare namespace Error {
|
|
12
|
-
type Raw = Error.EntityNotFoundError | Error.UnauthorizedError
|
|
11
|
+
type Raw = Error.EntityNotFoundError | Error.UnauthorizedError;
|
|
13
12
|
interface EntityNotFoundError {
|
|
14
13
|
errorName: "EntityNotFoundError";
|
|
15
14
|
content: EntityNotFoundErrorMessage.Raw;
|
|
@@ -18,8 +17,4 @@ export declare namespace Error {
|
|
|
18
17
|
errorName: "UnauthorizedError";
|
|
19
18
|
content: UnauthorizedErrorMessage.Raw;
|
|
20
19
|
}
|
|
21
|
-
interface UnprocessableEntityError {
|
|
22
|
-
errorName: "UnprocessableEntityError";
|
|
23
|
-
content: UnprocessableEntityErrorMessage.Raw;
|
|
24
|
-
}
|
|
25
20
|
}
|
|
@@ -52,7 +52,6 @@ const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
|
52
52
|
const core = __importStar(require("../../../../../../core"));
|
|
53
53
|
const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
|
|
54
54
|
const UnauthorizedErrorMessage_1 = require("../../../../commons/types/UnauthorizedErrorMessage");
|
|
55
|
-
const UnprocessableEntityErrorMessage_1 = require("../../../../commons/types/UnprocessableEntityErrorMessage");
|
|
56
55
|
exports.Error = core.serialization
|
|
57
56
|
.union("errorName", {
|
|
58
57
|
EntityNotFoundError: core.serialization.object({
|
|
@@ -61,19 +60,14 @@ exports.Error = core.serialization
|
|
|
61
60
|
UnauthorizedError: core.serialization.object({
|
|
62
61
|
content: UnauthorizedErrorMessage_1.UnauthorizedErrorMessage,
|
|
63
62
|
}),
|
|
64
|
-
UnprocessableEntityError: core.serialization.object({
|
|
65
|
-
content: UnprocessableEntityErrorMessage_1.UnprocessableEntityErrorMessage,
|
|
66
|
-
}),
|
|
67
63
|
})
|
|
68
64
|
.transform({
|
|
69
65
|
transform: (value) => {
|
|
70
66
|
switch (value.errorName) {
|
|
71
67
|
case "EntityNotFoundError":
|
|
72
|
-
return CandidApi.
|
|
68
|
+
return CandidApi.payerPlanGroups.v1.deactivate.Error.entityNotFoundError(value.content);
|
|
73
69
|
case "UnauthorizedError":
|
|
74
|
-
return CandidApi.
|
|
75
|
-
case "UnprocessableEntityError":
|
|
76
|
-
return CandidApi.insurancePayments.v1.create.Error.unprocessableEntityError(value.content);
|
|
70
|
+
return CandidApi.payerPlanGroups.v1.deactivate.Error.unauthorizedError(value.content);
|
|
77
71
|
}
|
|
78
72
|
},
|
|
79
73
|
untransform: (_a) => {
|