candidhealth 0.34.0 → 0.34.2
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 +0 -9
- package/Client.js +6 -21
- package/README.md +1 -1
- package/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- 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/encounterProviders/resources/v2/types/RenderingProvider.d.ts +1 -1
- package/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdate.d.ts +13 -0
- package/api/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
- package/api/resources/encounterProviders/resources/v2/types/index.js +1 -0
- package/api/resources/encounters/resources/v4/client/Client.d.ts +130 -6
- package/api/resources/encounters/resources/v4/client/Client.js +137 -11
- package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +7 -1
- package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +11 -0
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +3 -8
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +3 -2
- package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +170 -1
- package/api/resources/encounters/resources/v4/client/update.d.ts +7 -1
- package/api/resources/encounters/resources/v4/client/update.js +11 -0
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +0 -2
- package/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +2 -0
- package/api/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +6 -0
- package/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/api/resources/encounters/resources/v4/types/index.js +1 -0
- 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.js +10 -10
- package/api/resources/guarantor/resources/v1/client/Client.d.ts +1 -1
- package/api/resources/guarantor/resources/v1/client/Client.js +4 -4
- package/api/resources/guarantor/resources/v1/client/index.d.ts +0 -1
- package/api/resources/guarantor/resources/v1/client/index.js +0 -4
- package/api/resources/guarantor/resources/v1/types/GuarantorUpdate.d.ts +17 -0
- package/api/resources/guarantor/resources/v1/types/index.d.ts +1 -0
- package/api/resources/guarantor/resources/v1/types/index.js +1 -0
- package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/api/resources/index.d.ts +0 -4
- package/api/resources/index.js +1 -5
- package/api/resources/individual/types/PatientUpdate.d.ts +21 -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.js +3 -3
- package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
- 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/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/payers/resources/v3/types/Payer.d.ts +13 -1
- package/api/resources/payers/resources/v3/types/PayerPage.d.ts +5 -1
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +72 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +77 -5
- package/api/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.d.ts +2 -0
- package/api/resources/preEncounter/resources/common/types/AdditionalPayerInformation.d.ts +9 -0
- package/api/resources/preEncounter/resources/common/types/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/common/types/index.js +1 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +46 -8
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +54 -16
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.d.ts +12 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.js +14 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageDetails.d.ts +11 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.d.ts +9 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.js +11 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValueUnit.d.ts +9 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValueUnit.js +11 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts +1 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/LatestEligibilityCheck.d.ts +12 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.d.ts +2 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverage.d.ts +2 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverage.d.ts +2 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +5 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/index.js +5 -0
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +272 -66
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +280 -74
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +136 -33
- package/api/resources/preEncounter/resources/patients/resources/v1/types/Authorization.d.ts +15 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/AuthorizationUnit.d.ts +7 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/AuthorizationUnit.js +9 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/Referral.d.ts +10 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +3 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +3 -0
- package/api/resources/serviceFacility/client/Client.d.ts +2 -3
- package/api/resources/serviceFacility/client/Client.js +3 -4
- package/api/resources/serviceFacility/client/index.d.ts +0 -1
- package/api/resources/serviceFacility/client/index.js +0 -4
- package/api/resources/serviceFacility/{client/requests → types}/EncounterServiceFacilityUpdate.d.ts +3 -8
- 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.js +3 -3
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/Client.d.ts +0 -9
- package/dist/Client.js +6 -21
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- 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/encounterProviders/resources/v2/types/RenderingProvider.d.ts +1 -1
- package/dist/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdate.d.ts +13 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/index.js +1 -0
- package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +130 -6
- package/dist/api/resources/encounters/resources/v4/client/Client.js +137 -11
- package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +7 -1
- package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +11 -0
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +3 -8
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +3 -2
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +170 -1
- package/dist/api/resources/encounters/resources/v4/client/update.d.ts +7 -1
- package/dist/api/resources/encounters/resources/v4/client/update.js +11 -0
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +0 -2
- package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +2 -0
- package/dist/api/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +6 -0
- package/dist/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/dist/api/resources/encounters/resources/v4/types/index.js +1 -0
- 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.js +10 -10
- package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +1 -1
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/guarantor/resources/v1/client/index.d.ts +0 -1
- package/dist/api/resources/guarantor/resources/v1/client/index.js +0 -4
- package/dist/api/resources/guarantor/resources/v1/types/GuarantorUpdate.d.ts +17 -0
- package/dist/api/resources/guarantor/resources/v1/types/index.d.ts +1 -0
- package/dist/api/resources/guarantor/resources/v1/types/index.js +1 -0
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/index.d.ts +0 -4
- package/dist/api/resources/index.js +1 -5
- package/dist/api/resources/individual/types/PatientUpdate.d.ts +21 -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.js +3 -3
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
- 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/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/payers/resources/v3/types/Payer.d.ts +13 -1
- package/dist/api/resources/payers/resources/v3/types/PayerPage.d.ts +5 -1
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +72 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +77 -5
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/common/types/AdditionalPayerInformation.d.ts +9 -0
- package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/common/types/index.js +1 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +46 -8
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +54 -16
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.d.ts +12 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.js +14 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageDetails.d.ts +11 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.d.ts +9 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.js +11 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValueUnit.d.ts +9 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValueUnit.js +11 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/LatestEligibilityCheck.d.ts +12 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverage.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverage.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +5 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/index.js +5 -0
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +272 -66
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +280 -74
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +136 -33
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Authorization.d.ts +15 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/AuthorizationUnit.d.ts +7 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/AuthorizationUnit.js +9 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Referral.d.ts +10 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +3 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +3 -0
- package/dist/api/resources/serviceFacility/client/Client.d.ts +2 -3
- package/dist/api/resources/serviceFacility/client/Client.js +3 -4
- package/dist/api/resources/serviceFacility/client/index.d.ts +0 -1
- package/dist/api/resources/serviceFacility/client/index.js +0 -4
- package/dist/api/resources/serviceFacility/{client/requests → types}/EncounterServiceFacilityUpdate.d.ts +3 -8
- 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.js +3 -3
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProvider.d.ts +1 -1
- package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProvider.js +1 -1
- package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdate.d.ts +16 -0
- package/dist/serialization/resources/{thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundsPage.js → encounterProviders/resources/v2/types/RenderingProviderUpdate.js} +8 -6
- package/dist/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/index.js +1 -0
- package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +6 -1
- package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +6 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +0 -1
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +0 -1
- 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/client/update.d.ts +6 -1
- package/dist/serialization/resources/encounters/resources/v4/client/update.js +6 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +0 -1
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +0 -1
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.js +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +12 -0
- package/dist/serialization/resources/{thirdPartyPayers/resources/v1/types/ToggleThirdPartyPayerEnablementRequest.js → encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js} +3 -3
- package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/index.js +1 -0
- package/dist/serialization/resources/guarantor/resources/v1/client/index.d.ts +0 -1
- package/dist/serialization/resources/guarantor/resources/v1/client/index.js +0 -4
- package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorUpdate.d.ts +23 -0
- package/dist/serialization/resources/guarantor/resources/v1/{client/requests → types}/GuarantorUpdate.js +4 -4
- package/dist/serialization/resources/guarantor/resources/v1/types/index.d.ts +1 -0
- package/dist/serialization/resources/guarantor/resources/v1/types/index.js +1 -0
- package/dist/serialization/resources/index.d.ts +0 -4
- package/dist/serialization/resources/index.js +1 -5
- package/dist/serialization/resources/individual/types/PatientUpdate.d.ts +27 -0
- package/dist/serialization/resources/individual/types/PatientUpdate.js +48 -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/payers/resources/v3/types/Payer.d.ts +4 -0
- package/dist/serialization/resources/payers/resources/v3/types/Payer.js +4 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.js +2 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/AdditionalPayerInformation.d.ts +15 -0
- package/dist/serialization/resources/{thirdPartyPayers/resources/v1/types/ThirdPartyPayer.js → preEncounter/resources/common/types/AdditionalPayerInformation.js} +6 -8
- package/dist/serialization/resources/preEncounter/resources/common/types/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/index.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.d.ts +10 -0
- package/dist/serialization/resources/{thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentSortField.js → preEncounter/resources/coverages/resources/v1/types/BenefitType.js} +10 -3
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageDetails.d.ts +19 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageDetails.js +40 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.d.ts +10 -0
- package/dist/serialization/resources/{thirdPartyPayers/resources/v1/types/ThirdPartyPayerSortField.js → preEncounter/resources/coverages/resources/v1/types/CoverageLevel.js} +3 -3
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValueUnit.d.ts +10 -0
- package/{serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerSortField.js → dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValueUnit.js} +3 -3
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.js +2 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/LatestEligibilityCheck.d.ts +15 -0
- package/dist/serialization/resources/{thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundId.js → preEncounter/resources/coverages/resources/v1/types/LatestEligibilityCheck.js} +7 -6
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.js +2 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverage.d.ts +3 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverage.js +3 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverage.d.ts +3 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverage.js +3 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +5 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.js +5 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Authorization.d.ts +24 -0
- package/dist/serialization/resources/{thirdPartyPayerPayments/resources/v1/client/requests/UpdateThirdPartyPayerPaymentRequest.js → preEncounter/resources/patients/resources/v1/types/Authorization.js} +16 -8
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/AuthorizationUnit.d.ts +10 -0
- package/{serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundSortField.js → dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/AuthorizationUnit.js} +3 -3
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +4 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +4 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Referral.d.ts +17 -0
- package/dist/serialization/resources/{thirdPartyPayers/resources/v1/types/CreateThirdPartyPayerRequest.js → preEncounter/resources/patients/resources/v1/types/Referral.js} +9 -6
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +3 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +3 -0
- package/dist/serialization/resources/serviceFacility/index.d.ts +0 -1
- package/dist/serialization/resources/serviceFacility/index.js +0 -1
- package/dist/serialization/resources/serviceFacility/{client/requests → types}/EncounterServiceFacilityUpdate.d.ts +5 -5
- package/dist/serialization/resources/serviceFacility/{client/requests → types}/EncounterServiceFacilityUpdate.js +2 -2
- package/dist/serialization/resources/serviceFacility/types/index.d.ts +1 -0
- package/dist/serialization/resources/serviceFacility/types/index.js +1 -0
- package/package.json +1 -1
- package/reference.md +589 -1153
- package/serialization/resources/encounterProviders/resources/v2/types/RenderingProvider.d.ts +1 -1
- package/serialization/resources/encounterProviders/resources/v2/types/RenderingProvider.js +1 -1
- package/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdate.d.ts +16 -0
- package/serialization/resources/{thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundsPage.js → encounterProviders/resources/v2/types/RenderingProviderUpdate.js} +8 -6
- package/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
- package/serialization/resources/encounterProviders/resources/v2/types/index.js +1 -0
- package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +6 -1
- package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +6 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +0 -1
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +0 -1
- 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/client/update.d.ts +6 -1
- package/serialization/resources/encounters/resources/v4/client/update.js +6 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +0 -1
- package/serialization/resources/encounters/resources/v4/types/Encounter.js +0 -1
- package/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +1 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterBase.js +1 -0
- package/serialization/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +12 -0
- package/serialization/resources/{thirdPartyPayers/resources/v1/types/ToggleThirdPartyPayerEnablementRequest.js → encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js} +3 -3
- package/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/serialization/resources/encounters/resources/v4/types/index.js +1 -0
- package/serialization/resources/guarantor/resources/v1/client/index.d.ts +0 -1
- package/serialization/resources/guarantor/resources/v1/client/index.js +0 -4
- package/serialization/resources/guarantor/resources/v1/types/GuarantorUpdate.d.ts +23 -0
- package/serialization/resources/guarantor/resources/v1/{client/requests → types}/GuarantorUpdate.js +4 -4
- package/serialization/resources/guarantor/resources/v1/types/index.d.ts +1 -0
- package/serialization/resources/guarantor/resources/v1/types/index.js +1 -0
- package/serialization/resources/index.d.ts +0 -4
- package/serialization/resources/index.js +1 -5
- package/serialization/resources/individual/types/PatientUpdate.d.ts +27 -0
- package/serialization/resources/individual/types/PatientUpdate.js +48 -0
- package/serialization/resources/individual/types/index.d.ts +1 -0
- package/serialization/resources/individual/types/index.js +1 -0
- package/serialization/resources/payers/resources/v3/types/Payer.d.ts +4 -0
- package/serialization/resources/payers/resources/v3/types/Payer.js +4 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.js +2 -0
- package/serialization/resources/preEncounter/resources/common/types/AdditionalPayerInformation.d.ts +15 -0
- package/serialization/resources/preEncounter/resources/common/types/AdditionalPayerInformation.js +36 -0
- package/serialization/resources/preEncounter/resources/common/types/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/common/types/index.js +1 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.js +38 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageDetails.d.ts +19 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageDetails.js +40 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.d.ts +10 -0
- package/{dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundSortField.js → serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.js} +3 -3
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValueUnit.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValueUnit.js +31 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.js +2 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/LatestEligibilityCheck.d.ts +15 -0
- package/{dist/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentId.js → serialization/resources/preEncounter/resources/coverages/resources/v1/types/LatestEligibilityCheck.js} +7 -6
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.js +2 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverage.d.ts +3 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverage.js +3 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverage.d.ts +3 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ServiceCoverage.js +3 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +5 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.js +5 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Authorization.d.ts +24 -0
- package/{dist/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentCreate.js → serialization/resources/preEncounter/resources/patients/resources/v1/types/Authorization.js} +16 -13
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/AuthorizationUnit.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/AuthorizationUnit.js +31 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +4 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +4 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Referral.d.ts +17 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Referral.js +38 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +3 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +3 -0
- package/serialization/resources/serviceFacility/index.d.ts +0 -1
- package/serialization/resources/serviceFacility/index.js +0 -1
- package/serialization/resources/serviceFacility/{client/requests → types}/EncounterServiceFacilityUpdate.d.ts +5 -5
- package/serialization/resources/serviceFacility/{client/requests → types}/EncounterServiceFacilityUpdate.js +2 -2
- package/serialization/resources/serviceFacility/types/index.d.ts +1 -0
- package/serialization/resources/serviceFacility/types/index.js +1 -0
- package/api/resources/guarantor/resources/v1/client/requests/GuarantorUpdate.d.ts +0 -44
- package/api/resources/guarantor/resources/v1/client/requests/index.d.ts +0 -1
- package/api/resources/guarantor/resources/v1/client/requests/index.js +0 -2
- package/api/resources/serviceFacility/client/requests/index.d.ts +0 -1
- package/api/resources/serviceFacility/client/requests/index.js +0 -2
- package/api/resources/thirdPartyPayerPayments/client/Client.d.ts +0 -26
- package/api/resources/thirdPartyPayerPayments/client/Client.js +0 -17
- package/api/resources/thirdPartyPayerPayments/client/index.d.ts +0 -1
- package/api/resources/thirdPartyPayerPayments/client/index.js +0 -2
- package/api/resources/thirdPartyPayerPayments/index.d.ts +0 -2
- package/api/resources/thirdPartyPayerPayments/index.js +0 -18
- package/api/resources/thirdPartyPayerPayments/resources/index.d.ts +0 -1
- package/api/resources/thirdPartyPayerPayments/resources/index.js +0 -27
- package/api/resources/thirdPartyPayerPayments/resources/v1/client/Client.d.ts +0 -104
- package/api/resources/thirdPartyPayerPayments/resources/v1/client/Client.js +0 -428
- package/api/resources/thirdPartyPayerPayments/resources/v1/client/create.d.ts +0 -34
- package/api/resources/thirdPartyPayerPayments/resources/v1/client/create.js +0 -69
- package/api/resources/thirdPartyPayerPayments/resources/v1/client/delete.d.ts +0 -34
- package/api/resources/thirdPartyPayerPayments/resources/v1/client/delete.js +0 -69
- package/api/resources/thirdPartyPayerPayments/resources/v1/client/get.d.ts +0 -28
- package/api/resources/thirdPartyPayerPayments/resources/v1/client/get.js +0 -58
- package/api/resources/thirdPartyPayerPayments/resources/v1/client/getMulti.d.ts +0 -28
- package/api/resources/thirdPartyPayerPayments/resources/v1/client/getMulti.js +0 -58
- package/api/resources/thirdPartyPayerPayments/resources/v1/client/index.d.ts +0 -6
- package/api/resources/thirdPartyPayerPayments/resources/v1/client/index.js +0 -35
- package/api/resources/thirdPartyPayerPayments/resources/v1/client/requests/GetMultiThirdPartyPayerPaymentRequest.d.ts +0 -34
- package/api/resources/thirdPartyPayerPayments/resources/v1/client/requests/UpdateThirdPartyPayerPaymentRequest.d.ts +0 -23
- package/api/resources/thirdPartyPayerPayments/resources/v1/client/requests/index.d.ts +0 -2
- package/api/resources/thirdPartyPayerPayments/resources/v1/client/requests/index.js +0 -2
- package/api/resources/thirdPartyPayerPayments/resources/v1/client/update.d.ts +0 -34
- package/api/resources/thirdPartyPayerPayments/resources/v1/client/update.js +0 -69
- package/api/resources/thirdPartyPayerPayments/resources/v1/index.d.ts +0 -2
- package/api/resources/thirdPartyPayerPayments/resources/v1/index.js +0 -18
- package/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPayment.d.ts +0 -14
- package/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentCreate.d.ts +0 -13
- package/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentId.d.ts +0 -8
- package/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentId.js +0 -10
- package/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentSortField.d.ts +0 -8
- package/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentSortField.js +0 -10
- package/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentsPage.d.ts +0 -7
- package/api/resources/thirdPartyPayerPayments/resources/v1/types/index.d.ts +0 -5
- package/api/resources/thirdPartyPayerPayments/resources/v1/types/index.js +0 -21
- package/api/resources/thirdPartyPayerRefunds/client/Client.d.ts +0 -26
- package/api/resources/thirdPartyPayerRefunds/client/Client.js +0 -17
- package/api/resources/thirdPartyPayerRefunds/client/index.d.ts +0 -1
- package/api/resources/thirdPartyPayerRefunds/client/index.js +0 -2
- package/api/resources/thirdPartyPayerRefunds/index.d.ts +0 -2
- package/api/resources/thirdPartyPayerRefunds/index.js +0 -18
- package/api/resources/thirdPartyPayerRefunds/resources/index.d.ts +0 -1
- package/api/resources/thirdPartyPayerRefunds/resources/index.js +0 -27
- package/api/resources/thirdPartyPayerRefunds/resources/v1/client/Client.d.ts +0 -115
- package/api/resources/thirdPartyPayerRefunds/resources/v1/client/Client.js +0 -439
- package/api/resources/thirdPartyPayerRefunds/resources/v1/client/create.d.ts +0 -34
- package/api/resources/thirdPartyPayerRefunds/resources/v1/client/create.js +0 -69
- package/api/resources/thirdPartyPayerRefunds/resources/v1/client/delete.d.ts +0 -34
- package/api/resources/thirdPartyPayerRefunds/resources/v1/client/delete.js +0 -69
- package/api/resources/thirdPartyPayerRefunds/resources/v1/client/get.d.ts +0 -28
- package/api/resources/thirdPartyPayerRefunds/resources/v1/client/get.js +0 -58
- package/api/resources/thirdPartyPayerRefunds/resources/v1/client/getMulti.d.ts +0 -28
- package/api/resources/thirdPartyPayerRefunds/resources/v1/client/getMulti.js +0 -58
- package/api/resources/thirdPartyPayerRefunds/resources/v1/client/index.d.ts +0 -6
- package/api/resources/thirdPartyPayerRefunds/resources/v1/client/index.js +0 -35
- package/api/resources/thirdPartyPayerRefunds/resources/v1/client/requests/GetMultiThirdPartyPayerRefundsRequest.d.ts +0 -34
- package/api/resources/thirdPartyPayerRefunds/resources/v1/client/requests/ThirdPartyPayerRefundUpdate.d.ts +0 -28
- package/api/resources/thirdPartyPayerRefunds/resources/v1/client/requests/index.d.ts +0 -2
- package/api/resources/thirdPartyPayerRefunds/resources/v1/client/requests/index.js +0 -2
- package/api/resources/thirdPartyPayerRefunds/resources/v1/client/update.d.ts +0 -34
- package/api/resources/thirdPartyPayerRefunds/resources/v1/client/update.js +0 -69
- package/api/resources/thirdPartyPayerRefunds/resources/v1/index.d.ts +0 -2
- package/api/resources/thirdPartyPayerRefunds/resources/v1/index.js +0 -18
- package/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefund.d.ts +0 -14
- package/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundCreate.d.ts +0 -13
- package/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundId.d.ts +0 -8
- package/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundId.js +0 -10
- package/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundSortField.d.ts +0 -8
- package/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundSortField.js +0 -10
- package/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundsPage.d.ts +0 -7
- package/api/resources/thirdPartyPayerRefunds/resources/v1/types/index.d.ts +0 -5
- package/api/resources/thirdPartyPayerRefunds/resources/v1/types/index.js +0 -21
- package/api/resources/thirdPartyPayers/client/Client.d.ts +0 -26
- package/api/resources/thirdPartyPayers/client/Client.js +0 -17
- package/api/resources/thirdPartyPayers/client/index.d.ts +0 -1
- package/api/resources/thirdPartyPayers/client/index.js +0 -2
- package/api/resources/thirdPartyPayers/index.d.ts +0 -2
- package/api/resources/thirdPartyPayers/index.js +0 -18
- package/api/resources/thirdPartyPayers/resources/index.d.ts +0 -1
- package/api/resources/thirdPartyPayers/resources/index.js +0 -27
- package/api/resources/thirdPartyPayers/resources/v1/client/Client.d.ts +0 -97
- package/api/resources/thirdPartyPayers/resources/v1/client/Client.js +0 -469
- package/api/resources/thirdPartyPayers/resources/v1/client/create.d.ts +0 -34
- package/api/resources/thirdPartyPayers/resources/v1/client/create.js +0 -69
- package/api/resources/thirdPartyPayers/resources/v1/client/delete.d.ts +0 -28
- package/api/resources/thirdPartyPayers/resources/v1/client/delete.js +0 -58
- package/api/resources/thirdPartyPayers/resources/v1/client/get.d.ts +0 -28
- package/api/resources/thirdPartyPayers/resources/v1/client/get.js +0 -58
- package/api/resources/thirdPartyPayers/resources/v1/client/getMulti.d.ts +0 -28
- package/api/resources/thirdPartyPayers/resources/v1/client/getMulti.js +0 -58
- package/api/resources/thirdPartyPayers/resources/v1/client/index.d.ts +0 -7
- package/api/resources/thirdPartyPayers/resources/v1/client/index.js +0 -36
- package/api/resources/thirdPartyPayers/resources/v1/client/requests/GetMultiThirdPartyPayersRequest.d.ts +0 -28
- package/api/resources/thirdPartyPayers/resources/v1/client/requests/index.d.ts +0 -1
- package/api/resources/thirdPartyPayers/resources/v1/client/requests/index.js +0 -2
- package/api/resources/thirdPartyPayers/resources/v1/client/toggleEnablement.d.ts +0 -28
- package/api/resources/thirdPartyPayers/resources/v1/client/toggleEnablement.js +0 -58
- package/api/resources/thirdPartyPayers/resources/v1/client/update.d.ts +0 -34
- package/api/resources/thirdPartyPayers/resources/v1/client/update.js +0 -69
- package/api/resources/thirdPartyPayers/resources/v1/index.d.ts +0 -2
- package/api/resources/thirdPartyPayers/resources/v1/index.js +0 -18
- package/api/resources/thirdPartyPayers/resources/v1/types/CreateThirdPartyPayerRequest.d.ts +0 -11
- package/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayer.d.ts +0 -11
- package/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerCategoryUpdate.d.ts +0 -17
- package/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerDescriptionUpdate.d.ts +0 -17
- package/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerId.d.ts +0 -8
- package/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerId.js +0 -10
- package/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerPage.d.ts +0 -7
- package/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerSortField.d.ts +0 -10
- package/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerSortField.js +0 -12
- package/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerUpdateRequest.d.ts +0 -10
- package/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerUpdateRequest.js +0 -5
- package/api/resources/thirdPartyPayers/resources/v1/types/ToggleThirdPartyPayerEnablementRequest.d.ts +0 -6
- package/api/resources/thirdPartyPayers/resources/v1/types/ToggleThirdPartyPayerEnablementRequest.js +0 -5
- package/api/resources/thirdPartyPayers/resources/v1/types/index.d.ts +0 -9
- package/api/resources/thirdPartyPayers/resources/v1/types/index.js +0 -25
- package/dist/api/resources/guarantor/resources/v1/client/requests/GuarantorUpdate.d.ts +0 -44
- package/dist/api/resources/guarantor/resources/v1/client/requests/index.d.ts +0 -1
- package/dist/api/resources/guarantor/resources/v1/client/requests/index.js +0 -2
- package/dist/api/resources/serviceFacility/client/requests/index.d.ts +0 -1
- package/dist/api/resources/serviceFacility/client/requests/index.js +0 -2
- package/dist/api/resources/thirdPartyPayerPayments/client/Client.d.ts +0 -26
- package/dist/api/resources/thirdPartyPayerPayments/client/Client.js +0 -17
- package/dist/api/resources/thirdPartyPayerPayments/client/index.d.ts +0 -1
- package/dist/api/resources/thirdPartyPayerPayments/client/index.js +0 -2
- package/dist/api/resources/thirdPartyPayerPayments/index.d.ts +0 -2
- package/dist/api/resources/thirdPartyPayerPayments/index.js +0 -18
- package/dist/api/resources/thirdPartyPayerPayments/resources/index.d.ts +0 -1
- package/dist/api/resources/thirdPartyPayerPayments/resources/index.js +0 -27
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/Client.d.ts +0 -104
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/Client.js +0 -428
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/create.d.ts +0 -34
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/create.js +0 -69
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/delete.d.ts +0 -34
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/delete.js +0 -69
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/get.d.ts +0 -28
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/get.js +0 -58
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/getMulti.d.ts +0 -28
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/getMulti.js +0 -58
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/index.d.ts +0 -6
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/index.js +0 -35
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/requests/GetMultiThirdPartyPayerPaymentRequest.d.ts +0 -34
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/requests/GetMultiThirdPartyPayerPaymentRequest.js +0 -5
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/requests/UpdateThirdPartyPayerPaymentRequest.d.ts +0 -23
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/requests/UpdateThirdPartyPayerPaymentRequest.js +0 -5
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/requests/index.d.ts +0 -2
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/requests/index.js +0 -2
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/update.d.ts +0 -34
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/update.js +0 -69
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/index.d.ts +0 -2
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/index.js +0 -18
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPayment.d.ts +0 -14
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPayment.js +0 -5
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentCreate.d.ts +0 -13
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentCreate.js +0 -5
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentId.d.ts +0 -8
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentId.js +0 -10
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentSortField.d.ts +0 -8
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentSortField.js +0 -10
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentsPage.d.ts +0 -7
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentsPage.js +0 -5
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/types/index.d.ts +0 -5
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/types/index.js +0 -21
- package/dist/api/resources/thirdPartyPayerRefunds/client/Client.d.ts +0 -26
- package/dist/api/resources/thirdPartyPayerRefunds/client/Client.js +0 -17
- package/dist/api/resources/thirdPartyPayerRefunds/client/index.d.ts +0 -1
- package/dist/api/resources/thirdPartyPayerRefunds/client/index.js +0 -2
- package/dist/api/resources/thirdPartyPayerRefunds/index.d.ts +0 -2
- package/dist/api/resources/thirdPartyPayerRefunds/index.js +0 -18
- package/dist/api/resources/thirdPartyPayerRefunds/resources/index.d.ts +0 -1
- package/dist/api/resources/thirdPartyPayerRefunds/resources/index.js +0 -27
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/Client.d.ts +0 -115
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/Client.js +0 -439
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/create.d.ts +0 -34
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/create.js +0 -69
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/delete.d.ts +0 -34
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/delete.js +0 -69
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/get.d.ts +0 -28
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/get.js +0 -58
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/getMulti.d.ts +0 -28
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/getMulti.js +0 -58
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/index.d.ts +0 -6
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/index.js +0 -35
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/requests/GetMultiThirdPartyPayerRefundsRequest.d.ts +0 -34
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/requests/GetMultiThirdPartyPayerRefundsRequest.js +0 -5
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/requests/ThirdPartyPayerRefundUpdate.d.ts +0 -28
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/requests/ThirdPartyPayerRefundUpdate.js +0 -5
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/requests/index.d.ts +0 -2
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/requests/index.js +0 -2
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/update.d.ts +0 -34
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/update.js +0 -69
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/index.d.ts +0 -2
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/index.js +0 -18
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefund.d.ts +0 -14
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefund.js +0 -5
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundCreate.d.ts +0 -13
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundCreate.js +0 -5
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundId.d.ts +0 -8
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundId.js +0 -10
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundSortField.d.ts +0 -8
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundSortField.js +0 -10
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundsPage.d.ts +0 -7
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundsPage.js +0 -5
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/types/index.d.ts +0 -5
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/types/index.js +0 -21
- package/dist/api/resources/thirdPartyPayers/client/Client.d.ts +0 -26
- package/dist/api/resources/thirdPartyPayers/client/Client.js +0 -17
- package/dist/api/resources/thirdPartyPayers/client/index.d.ts +0 -1
- package/dist/api/resources/thirdPartyPayers/client/index.js +0 -2
- package/dist/api/resources/thirdPartyPayers/index.d.ts +0 -2
- package/dist/api/resources/thirdPartyPayers/index.js +0 -18
- package/dist/api/resources/thirdPartyPayers/resources/index.d.ts +0 -1
- package/dist/api/resources/thirdPartyPayers/resources/index.js +0 -27
- package/dist/api/resources/thirdPartyPayers/resources/v1/client/Client.d.ts +0 -97
- package/dist/api/resources/thirdPartyPayers/resources/v1/client/Client.js +0 -469
- package/dist/api/resources/thirdPartyPayers/resources/v1/client/create.d.ts +0 -34
- package/dist/api/resources/thirdPartyPayers/resources/v1/client/create.js +0 -69
- package/dist/api/resources/thirdPartyPayers/resources/v1/client/delete.d.ts +0 -28
- package/dist/api/resources/thirdPartyPayers/resources/v1/client/delete.js +0 -58
- package/dist/api/resources/thirdPartyPayers/resources/v1/client/get.d.ts +0 -28
- package/dist/api/resources/thirdPartyPayers/resources/v1/client/get.js +0 -58
- package/dist/api/resources/thirdPartyPayers/resources/v1/client/getMulti.d.ts +0 -28
- package/dist/api/resources/thirdPartyPayers/resources/v1/client/getMulti.js +0 -58
- package/dist/api/resources/thirdPartyPayers/resources/v1/client/index.d.ts +0 -7
- package/dist/api/resources/thirdPartyPayers/resources/v1/client/index.js +0 -36
- package/dist/api/resources/thirdPartyPayers/resources/v1/client/requests/GetMultiThirdPartyPayersRequest.d.ts +0 -28
- package/dist/api/resources/thirdPartyPayers/resources/v1/client/requests/GetMultiThirdPartyPayersRequest.js +0 -5
- package/dist/api/resources/thirdPartyPayers/resources/v1/client/requests/index.d.ts +0 -1
- package/dist/api/resources/thirdPartyPayers/resources/v1/client/requests/index.js +0 -2
- package/dist/api/resources/thirdPartyPayers/resources/v1/client/toggleEnablement.d.ts +0 -28
- package/dist/api/resources/thirdPartyPayers/resources/v1/client/toggleEnablement.js +0 -58
- package/dist/api/resources/thirdPartyPayers/resources/v1/client/update.d.ts +0 -34
- package/dist/api/resources/thirdPartyPayers/resources/v1/client/update.js +0 -69
- package/dist/api/resources/thirdPartyPayers/resources/v1/index.d.ts +0 -2
- package/dist/api/resources/thirdPartyPayers/resources/v1/index.js +0 -18
- package/dist/api/resources/thirdPartyPayers/resources/v1/types/CreateThirdPartyPayerRequest.d.ts +0 -11
- package/dist/api/resources/thirdPartyPayers/resources/v1/types/CreateThirdPartyPayerRequest.js +0 -5
- package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayer.d.ts +0 -11
- package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayer.js +0 -5
- package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerCategoryUpdate.d.ts +0 -17
- package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerCategoryUpdate.js +0 -5
- package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerDescriptionUpdate.d.ts +0 -17
- package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerDescriptionUpdate.js +0 -5
- package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerId.d.ts +0 -8
- package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerId.js +0 -10
- package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerPage.d.ts +0 -7
- package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerPage.js +0 -5
- package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerSortField.d.ts +0 -10
- package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerSortField.js +0 -12
- package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerUpdateRequest.d.ts +0 -10
- package/dist/api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerUpdateRequest.js +0 -5
- package/dist/api/resources/thirdPartyPayers/resources/v1/types/ToggleThirdPartyPayerEnablementRequest.d.ts +0 -6
- package/dist/api/resources/thirdPartyPayers/resources/v1/types/ToggleThirdPartyPayerEnablementRequest.js +0 -5
- package/dist/api/resources/thirdPartyPayers/resources/v1/types/index.d.ts +0 -9
- package/dist/api/resources/thirdPartyPayers/resources/v1/types/index.js +0 -25
- package/dist/serialization/resources/guarantor/resources/v1/client/requests/GuarantorUpdate.d.ts +0 -23
- package/dist/serialization/resources/guarantor/resources/v1/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/guarantor/resources/v1/client/requests/index.js +0 -5
- package/dist/serialization/resources/serviceFacility/client/index.d.ts +0 -1
- package/dist/serialization/resources/serviceFacility/client/index.js +0 -17
- package/dist/serialization/resources/serviceFacility/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/serviceFacility/client/requests/index.js +0 -5
- package/dist/serialization/resources/thirdPartyPayerPayments/index.d.ts +0 -1
- package/dist/serialization/resources/thirdPartyPayerPayments/index.js +0 -17
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/index.d.ts +0 -1
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/index.js +0 -27
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/create.d.ts +0 -20
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/create.js +0 -67
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/delete.d.ts +0 -20
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/delete.js +0 -67
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/get.d.ts +0 -15
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/get.js +0 -61
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/getMulti.d.ts +0 -15
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/getMulti.js +0 -61
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/index.d.ts +0 -6
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/index.js +0 -35
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/requests/UpdateThirdPartyPayerPaymentRequest.d.ts +0 -16
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/requests/index.js +0 -5
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/update.d.ts +0 -20
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/client/update.js +0 -67
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/index.d.ts +0 -2
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/index.js +0 -18
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPayment.d.ts +0 -23
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPayment.js +0 -44
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentCreate.d.ts +0 -21
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentId.d.ts +0 -10
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentSortField.d.ts +0 -10
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentsPage.d.ts +0 -14
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentsPage.js +0 -37
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/types/index.d.ts +0 -5
- package/dist/serialization/resources/thirdPartyPayerPayments/resources/v1/types/index.js +0 -21
- package/dist/serialization/resources/thirdPartyPayerRefunds/index.d.ts +0 -1
- package/dist/serialization/resources/thirdPartyPayerRefunds/index.js +0 -17
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/index.d.ts +0 -1
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/index.js +0 -27
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/create.d.ts +0 -20
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/create.js +0 -67
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/delete.d.ts +0 -20
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/delete.js +0 -67
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/get.d.ts +0 -15
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/get.js +0 -61
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/getMulti.d.ts +0 -15
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/getMulti.js +0 -61
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/index.d.ts +0 -6
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/index.js +0 -35
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/requests/ThirdPartyPayerRefundUpdate.d.ts +0 -18
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/requests/ThirdPartyPayerRefundUpdate.js +0 -39
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/requests/index.js +0 -5
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/update.d.ts +0 -20
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/update.js +0 -67
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/index.d.ts +0 -2
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/index.js +0 -18
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefund.d.ts +0 -24
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefund.js +0 -45
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundCreate.d.ts +0 -22
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundCreate.js +0 -43
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundId.d.ts +0 -10
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundSortField.d.ts +0 -10
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundsPage.d.ts +0 -14
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/index.d.ts +0 -5
- package/dist/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/index.js +0 -21
- package/dist/serialization/resources/thirdPartyPayers/index.d.ts +0 -1
- package/dist/serialization/resources/thirdPartyPayers/index.js +0 -17
- package/dist/serialization/resources/thirdPartyPayers/resources/index.d.ts +0 -1
- package/dist/serialization/resources/thirdPartyPayers/resources/index.js +0 -27
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/create.d.ts +0 -20
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/create.js +0 -67
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/delete.d.ts +0 -15
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/delete.js +0 -61
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/get.d.ts +0 -15
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/get.js +0 -61
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/getMulti.d.ts +0 -15
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/getMulti.js +0 -61
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/index.d.ts +0 -6
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/index.js +0 -32
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/toggleEnablement.d.ts +0 -15
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/toggleEnablement.js +0 -61
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/update.d.ts +0 -20
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/client/update.js +0 -67
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/index.d.ts +0 -2
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/index.js +0 -18
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/CreateThirdPartyPayerRequest.d.ts +0 -14
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayer.d.ts +0 -17
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerCategoryUpdate.d.ts +0 -17
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerCategoryUpdate.js +0 -41
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerDescriptionUpdate.d.ts +0 -17
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerDescriptionUpdate.js +0 -41
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerId.d.ts +0 -10
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerId.js +0 -35
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerPage.d.ts +0 -14
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerPage.js +0 -37
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerSortField.d.ts +0 -10
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerUpdateRequest.d.ts +0 -16
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerUpdateRequest.js +0 -37
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/ToggleThirdPartyPayerEnablementRequest.d.ts +0 -12
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/index.d.ts +0 -9
- package/dist/serialization/resources/thirdPartyPayers/resources/v1/types/index.js +0 -25
- package/serialization/resources/guarantor/resources/v1/client/requests/GuarantorUpdate.d.ts +0 -23
- package/serialization/resources/guarantor/resources/v1/client/requests/index.d.ts +0 -1
- package/serialization/resources/guarantor/resources/v1/client/requests/index.js +0 -5
- package/serialization/resources/serviceFacility/client/index.d.ts +0 -1
- package/serialization/resources/serviceFacility/client/index.js +0 -17
- package/serialization/resources/serviceFacility/client/requests/index.d.ts +0 -1
- package/serialization/resources/serviceFacility/client/requests/index.js +0 -5
- package/serialization/resources/thirdPartyPayerPayments/index.d.ts +0 -1
- package/serialization/resources/thirdPartyPayerPayments/index.js +0 -17
- package/serialization/resources/thirdPartyPayerPayments/resources/index.d.ts +0 -1
- package/serialization/resources/thirdPartyPayerPayments/resources/index.js +0 -27
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/create.d.ts +0 -20
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/create.js +0 -67
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/delete.d.ts +0 -20
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/delete.js +0 -67
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/get.d.ts +0 -15
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/get.js +0 -61
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/getMulti.d.ts +0 -15
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/getMulti.js +0 -61
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/index.d.ts +0 -6
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/index.js +0 -35
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/requests/UpdateThirdPartyPayerPaymentRequest.d.ts +0 -16
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/requests/UpdateThirdPartyPayerPaymentRequest.js +0 -37
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/requests/index.d.ts +0 -1
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/requests/index.js +0 -5
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/update.d.ts +0 -20
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/client/update.js +0 -67
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/index.d.ts +0 -2
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/index.js +0 -18
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPayment.d.ts +0 -23
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPayment.js +0 -44
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentCreate.d.ts +0 -21
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentCreate.js +0 -42
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentId.d.ts +0 -10
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentId.js +0 -35
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentSortField.d.ts +0 -10
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentSortField.js +0 -31
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentsPage.d.ts +0 -14
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentsPage.js +0 -37
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/types/index.d.ts +0 -5
- package/serialization/resources/thirdPartyPayerPayments/resources/v1/types/index.js +0 -21
- package/serialization/resources/thirdPartyPayerRefunds/index.d.ts +0 -1
- package/serialization/resources/thirdPartyPayerRefunds/index.js +0 -17
- package/serialization/resources/thirdPartyPayerRefunds/resources/index.d.ts +0 -1
- package/serialization/resources/thirdPartyPayerRefunds/resources/index.js +0 -27
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/create.d.ts +0 -20
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/create.js +0 -67
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/delete.d.ts +0 -20
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/delete.js +0 -67
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/get.d.ts +0 -15
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/get.js +0 -61
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/getMulti.d.ts +0 -15
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/getMulti.js +0 -61
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/index.d.ts +0 -6
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/index.js +0 -35
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/requests/ThirdPartyPayerRefundUpdate.d.ts +0 -18
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/requests/ThirdPartyPayerRefundUpdate.js +0 -39
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/requests/index.d.ts +0 -1
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/requests/index.js +0 -5
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/update.d.ts +0 -20
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/client/update.js +0 -67
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/index.d.ts +0 -2
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/index.js +0 -18
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefund.d.ts +0 -24
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefund.js +0 -45
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundCreate.d.ts +0 -22
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundCreate.js +0 -43
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundId.d.ts +0 -10
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundId.js +0 -35
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundSortField.d.ts +0 -10
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundsPage.d.ts +0 -14
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/index.d.ts +0 -5
- package/serialization/resources/thirdPartyPayerRefunds/resources/v1/types/index.js +0 -21
- package/serialization/resources/thirdPartyPayers/index.d.ts +0 -1
- package/serialization/resources/thirdPartyPayers/index.js +0 -17
- package/serialization/resources/thirdPartyPayers/resources/index.d.ts +0 -1
- package/serialization/resources/thirdPartyPayers/resources/index.js +0 -27
- package/serialization/resources/thirdPartyPayers/resources/v1/client/create.d.ts +0 -20
- package/serialization/resources/thirdPartyPayers/resources/v1/client/create.js +0 -67
- package/serialization/resources/thirdPartyPayers/resources/v1/client/delete.d.ts +0 -15
- package/serialization/resources/thirdPartyPayers/resources/v1/client/delete.js +0 -61
- package/serialization/resources/thirdPartyPayers/resources/v1/client/get.d.ts +0 -15
- package/serialization/resources/thirdPartyPayers/resources/v1/client/get.js +0 -61
- package/serialization/resources/thirdPartyPayers/resources/v1/client/getMulti.d.ts +0 -15
- package/serialization/resources/thirdPartyPayers/resources/v1/client/getMulti.js +0 -61
- package/serialization/resources/thirdPartyPayers/resources/v1/client/index.d.ts +0 -6
- package/serialization/resources/thirdPartyPayers/resources/v1/client/index.js +0 -32
- package/serialization/resources/thirdPartyPayers/resources/v1/client/toggleEnablement.d.ts +0 -15
- package/serialization/resources/thirdPartyPayers/resources/v1/client/toggleEnablement.js +0 -61
- package/serialization/resources/thirdPartyPayers/resources/v1/client/update.d.ts +0 -20
- package/serialization/resources/thirdPartyPayers/resources/v1/client/update.js +0 -67
- package/serialization/resources/thirdPartyPayers/resources/v1/index.d.ts +0 -2
- package/serialization/resources/thirdPartyPayers/resources/v1/index.js +0 -18
- package/serialization/resources/thirdPartyPayers/resources/v1/types/CreateThirdPartyPayerRequest.d.ts +0 -14
- package/serialization/resources/thirdPartyPayers/resources/v1/types/CreateThirdPartyPayerRequest.js +0 -35
- package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayer.d.ts +0 -17
- package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayer.js +0 -38
- package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerCategoryUpdate.d.ts +0 -17
- package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerCategoryUpdate.js +0 -41
- package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerDescriptionUpdate.d.ts +0 -17
- package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerDescriptionUpdate.js +0 -41
- package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerId.d.ts +0 -10
- package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerId.js +0 -35
- package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerPage.d.ts +0 -14
- package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerPage.js +0 -37
- package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerSortField.d.ts +0 -10
- package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerUpdateRequest.d.ts +0 -16
- package/serialization/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerUpdateRequest.js +0 -37
- package/serialization/resources/thirdPartyPayers/resources/v1/types/ToggleThirdPartyPayerEnablementRequest.d.ts +0 -12
- package/serialization/resources/thirdPartyPayers/resources/v1/types/index.d.ts +0 -9
- package/serialization/resources/thirdPartyPayers/resources/v1/types/index.js +0 -25
- /package/api/resources/{guarantor/resources/v1/client/requests/GuarantorUpdate.js → encounterProviders/resources/v2/types/RenderingProviderUpdate.js} +0 -0
- /package/api/resources/{serviceFacility/client/requests/EncounterServiceFacilityUpdate.js → encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js} +0 -0
- /package/{dist/api/resources/guarantor/resources/v1/client/requests → api/resources/guarantor/resources/v1/types}/GuarantorUpdate.js +0 -0
- /package/api/resources/{thirdPartyPayerPayments/resources/v1/client/requests/GetMultiThirdPartyPayerPaymentRequest.js → individual/types/PatientUpdate.js} +0 -0
- /package/api/resources/{thirdPartyPayerPayments/resources/v1/client/requests/UpdateThirdPartyPayerPaymentRequest.js → preEncounter/resources/common/types/AdditionalPayerInformation.js} +0 -0
- /package/api/resources/{thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPayment.js → preEncounter/resources/coverages/resources/v1/types/CoverageDetails.js} +0 -0
- /package/api/resources/{thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentCreate.js → preEncounter/resources/coverages/resources/v1/types/LatestEligibilityCheck.js} +0 -0
- /package/api/resources/{thirdPartyPayerPayments/resources/v1/types/ThirdPartyPayerPaymentsPage.js → preEncounter/resources/patients/resources/v1/types/Authorization.js} +0 -0
- /package/api/resources/{thirdPartyPayerRefunds/resources/v1/client/requests/GetMultiThirdPartyPayerRefundsRequest.js → preEncounter/resources/patients/resources/v1/types/Referral.js} +0 -0
- /package/{dist/api/resources/serviceFacility/client/requests → api/resources/serviceFacility/types}/EncounterServiceFacilityUpdate.js +0 -0
- /package/{api/resources/thirdPartyPayerRefunds/resources/v1/client/requests/ThirdPartyPayerRefundUpdate.js → dist/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdate.js} +0 -0
- /package/{api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefund.js → dist/api/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js} +0 -0
- /package/{api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundCreate.js → dist/api/resources/guarantor/resources/v1/types/GuarantorUpdate.js} +0 -0
- /package/{api/resources/thirdPartyPayerRefunds/resources/v1/types/ThirdPartyPayerRefundsPage.js → dist/api/resources/individual/types/PatientUpdate.js} +0 -0
- /package/{api/resources/thirdPartyPayers/resources/v1/client/requests/GetMultiThirdPartyPayersRequest.js → dist/api/resources/preEncounter/resources/common/types/AdditionalPayerInformation.js} +0 -0
- /package/{api/resources/thirdPartyPayers/resources/v1/types/CreateThirdPartyPayerRequest.js → dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageDetails.js} +0 -0
- /package/{api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayer.js → dist/api/resources/preEncounter/resources/coverages/resources/v1/types/LatestEligibilityCheck.js} +0 -0
- /package/{api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerCategoryUpdate.js → dist/api/resources/preEncounter/resources/patients/resources/v1/types/Authorization.js} +0 -0
- /package/{api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerDescriptionUpdate.js → dist/api/resources/preEncounter/resources/patients/resources/v1/types/Referral.js} +0 -0
- /package/{api/resources/thirdPartyPayers/resources/v1/types/ThirdPartyPayerPage.js → dist/api/resources/serviceFacility/types/EncounterServiceFacilityUpdate.js} +0 -0
|
@@ -1,469 +0,0 @@
|
|
|
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 (mod) {
|
|
22
|
-
if (mod && mod.__esModule) return mod;
|
|
23
|
-
var result = {};
|
|
24
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
-
__setModuleDefault(result, mod);
|
|
26
|
-
return result;
|
|
27
|
-
};
|
|
28
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
-
});
|
|
36
|
-
};
|
|
37
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
38
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
39
|
-
};
|
|
40
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
41
|
-
exports.V1 = void 0;
|
|
42
|
-
const environments = __importStar(require("../../../../../../environments"));
|
|
43
|
-
const core = __importStar(require("../../../../../../core"));
|
|
44
|
-
const CandidApi = __importStar(require("../../../../../index"));
|
|
45
|
-
const serializers = __importStar(require("../../../../../../serialization/index"));
|
|
46
|
-
const url_join_1 = __importDefault(require("url-join"));
|
|
47
|
-
class V1 {
|
|
48
|
-
constructor(_options = {}) {
|
|
49
|
-
this._options = _options;
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* @param {CandidApi.thirdPartyPayers.v1.CreateThirdPartyPayerRequest} request
|
|
53
|
-
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
54
|
-
*
|
|
55
|
-
* @example
|
|
56
|
-
* await client.thirdPartyPayers.v1.create({
|
|
57
|
-
* name: "string",
|
|
58
|
-
* description: "string",
|
|
59
|
-
* category: "string"
|
|
60
|
-
* })
|
|
61
|
-
*/
|
|
62
|
-
create(request, requestOptions) {
|
|
63
|
-
var _a, _b;
|
|
64
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
65
|
-
const _response = yield core.fetcher({
|
|
66
|
-
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
67
|
-
.candidApi, "/api/third-party-payers/v1"),
|
|
68
|
-
method: "POST",
|
|
69
|
-
headers: {
|
|
70
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
71
|
-
"X-Fern-Language": "JavaScript",
|
|
72
|
-
"X-Fern-SDK-Name": "candidhealth",
|
|
73
|
-
"X-Fern-SDK-Version": "0.34.0",
|
|
74
|
-
"X-Fern-Runtime": core.RUNTIME.type,
|
|
75
|
-
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
76
|
-
},
|
|
77
|
-
contentType: "application/json",
|
|
78
|
-
requestType: "json",
|
|
79
|
-
body: serializers.thirdPartyPayers.v1.CreateThirdPartyPayerRequest.jsonOrThrow(request, {
|
|
80
|
-
unrecognizedObjectKeys: "strip",
|
|
81
|
-
}),
|
|
82
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
83
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
84
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
85
|
-
});
|
|
86
|
-
if (_response.ok) {
|
|
87
|
-
return {
|
|
88
|
-
ok: true,
|
|
89
|
-
body: serializers.thirdPartyPayers.v1.ThirdPartyPayer.parseOrThrow(_response.body, {
|
|
90
|
-
unrecognizedObjectKeys: "passthrough",
|
|
91
|
-
allowUnrecognizedUnionMembers: true,
|
|
92
|
-
allowUnrecognizedEnumValues: true,
|
|
93
|
-
breadcrumbsPrefix: ["response"],
|
|
94
|
-
}),
|
|
95
|
-
};
|
|
96
|
-
}
|
|
97
|
-
if (_response.error.reason === "status-code") {
|
|
98
|
-
switch ((_b = _response.error.body) === null || _b === void 0 ? void 0 : _b.errorName) {
|
|
99
|
-
case "EntityNotFoundError":
|
|
100
|
-
case "EntityConflictError":
|
|
101
|
-
return {
|
|
102
|
-
ok: false,
|
|
103
|
-
error: serializers.thirdPartyPayers.v1.create.Error.parseOrThrow(_response.error.body, {
|
|
104
|
-
unrecognizedObjectKeys: "passthrough",
|
|
105
|
-
allowUnrecognizedUnionMembers: true,
|
|
106
|
-
allowUnrecognizedEnumValues: true,
|
|
107
|
-
breadcrumbsPrefix: ["response"],
|
|
108
|
-
}),
|
|
109
|
-
};
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
return {
|
|
113
|
-
ok: false,
|
|
114
|
-
error: CandidApi.thirdPartyPayers.v1.create.Error._unknown(_response.error),
|
|
115
|
-
};
|
|
116
|
-
});
|
|
117
|
-
}
|
|
118
|
-
/**
|
|
119
|
-
* @param {CandidApi.thirdPartyPayers.v1.ThirdPartyPayerId} thirdPartyPayerId
|
|
120
|
-
* @param {CandidApi.thirdPartyPayers.v1.ToggleThirdPartyPayerEnablementRequest} request
|
|
121
|
-
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
122
|
-
*
|
|
123
|
-
* @example
|
|
124
|
-
* await client.thirdPartyPayers.v1.toggleEnablement(CandidApi.thirdPartyPayers.v1.ThirdPartyPayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
125
|
-
* enabled: true
|
|
126
|
-
* })
|
|
127
|
-
*/
|
|
128
|
-
toggleEnablement(thirdPartyPayerId, request, requestOptions) {
|
|
129
|
-
var _a, _b;
|
|
130
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
131
|
-
const _response = yield core.fetcher({
|
|
132
|
-
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
133
|
-
.candidApi, `/api/third-party-payers/v1/${encodeURIComponent(serializers.thirdPartyPayers.v1.ThirdPartyPayerId.jsonOrThrow(thirdPartyPayerId))}/toggle_enablement`),
|
|
134
|
-
method: "PATCH",
|
|
135
|
-
headers: {
|
|
136
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
137
|
-
"X-Fern-Language": "JavaScript",
|
|
138
|
-
"X-Fern-SDK-Name": "candidhealth",
|
|
139
|
-
"X-Fern-SDK-Version": "0.34.0",
|
|
140
|
-
"X-Fern-Runtime": core.RUNTIME.type,
|
|
141
|
-
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
142
|
-
},
|
|
143
|
-
contentType: "application/json",
|
|
144
|
-
requestType: "json",
|
|
145
|
-
body: serializers.thirdPartyPayers.v1.ToggleThirdPartyPayerEnablementRequest.jsonOrThrow(request, {
|
|
146
|
-
unrecognizedObjectKeys: "strip",
|
|
147
|
-
}),
|
|
148
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
149
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
150
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
151
|
-
});
|
|
152
|
-
if (_response.ok) {
|
|
153
|
-
return {
|
|
154
|
-
ok: true,
|
|
155
|
-
body: serializers.thirdPartyPayers.v1.ThirdPartyPayer.parseOrThrow(_response.body, {
|
|
156
|
-
unrecognizedObjectKeys: "passthrough",
|
|
157
|
-
allowUnrecognizedUnionMembers: true,
|
|
158
|
-
allowUnrecognizedEnumValues: true,
|
|
159
|
-
breadcrumbsPrefix: ["response"],
|
|
160
|
-
}),
|
|
161
|
-
};
|
|
162
|
-
}
|
|
163
|
-
if (_response.error.reason === "status-code") {
|
|
164
|
-
switch ((_b = _response.error.body) === null || _b === void 0 ? void 0 : _b.errorName) {
|
|
165
|
-
case "EntityNotFoundError":
|
|
166
|
-
return {
|
|
167
|
-
ok: false,
|
|
168
|
-
error: serializers.thirdPartyPayers.v1.toggleEnablement.Error.parseOrThrow(_response.error.body, {
|
|
169
|
-
unrecognizedObjectKeys: "passthrough",
|
|
170
|
-
allowUnrecognizedUnionMembers: true,
|
|
171
|
-
allowUnrecognizedEnumValues: true,
|
|
172
|
-
breadcrumbsPrefix: ["response"],
|
|
173
|
-
}),
|
|
174
|
-
};
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
return {
|
|
178
|
-
ok: false,
|
|
179
|
-
error: CandidApi.thirdPartyPayers.v1.toggleEnablement.Error._unknown(_response.error),
|
|
180
|
-
};
|
|
181
|
-
});
|
|
182
|
-
}
|
|
183
|
-
/**
|
|
184
|
-
* @param {CandidApi.thirdPartyPayers.v1.GetMultiThirdPartyPayersRequest} request
|
|
185
|
-
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
186
|
-
*
|
|
187
|
-
* @example
|
|
188
|
-
* await client.thirdPartyPayers.v1.getMulti({
|
|
189
|
-
* name: "string",
|
|
190
|
-
* category: "string",
|
|
191
|
-
* enabled: true,
|
|
192
|
-
* sort: CandidApi.thirdPartyPayers.v1.ThirdPartyPayerSortField.Name,
|
|
193
|
-
* sortDirection: CandidApi.SortDirection.Asc,
|
|
194
|
-
* limit: 1,
|
|
195
|
-
* pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9")
|
|
196
|
-
* })
|
|
197
|
-
*/
|
|
198
|
-
getMulti(request = {}, requestOptions) {
|
|
199
|
-
var _a, _b;
|
|
200
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
201
|
-
const { name, category, enabled, sort, sortDirection, limit, pageToken } = request;
|
|
202
|
-
const _queryParams = {};
|
|
203
|
-
if (name != null) {
|
|
204
|
-
_queryParams["name"] = name;
|
|
205
|
-
}
|
|
206
|
-
if (category != null) {
|
|
207
|
-
_queryParams["category"] = category;
|
|
208
|
-
}
|
|
209
|
-
if (enabled != null) {
|
|
210
|
-
_queryParams["enabled"] = enabled.toString();
|
|
211
|
-
}
|
|
212
|
-
if (sort != null) {
|
|
213
|
-
_queryParams["sort"] = sort;
|
|
214
|
-
}
|
|
215
|
-
if (sortDirection != null) {
|
|
216
|
-
_queryParams["sort_direction"] = sortDirection;
|
|
217
|
-
}
|
|
218
|
-
if (limit != null) {
|
|
219
|
-
_queryParams["limit"] = limit.toString();
|
|
220
|
-
}
|
|
221
|
-
if (pageToken != null) {
|
|
222
|
-
_queryParams["page_token"] = pageToken;
|
|
223
|
-
}
|
|
224
|
-
const _response = yield core.fetcher({
|
|
225
|
-
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
226
|
-
.candidApi, "/api/third-party-payers/v1"),
|
|
227
|
-
method: "GET",
|
|
228
|
-
headers: {
|
|
229
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
230
|
-
"X-Fern-Language": "JavaScript",
|
|
231
|
-
"X-Fern-SDK-Name": "candidhealth",
|
|
232
|
-
"X-Fern-SDK-Version": "0.34.0",
|
|
233
|
-
"X-Fern-Runtime": core.RUNTIME.type,
|
|
234
|
-
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
235
|
-
},
|
|
236
|
-
contentType: "application/json",
|
|
237
|
-
queryParameters: _queryParams,
|
|
238
|
-
requestType: "json",
|
|
239
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
240
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
241
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
242
|
-
});
|
|
243
|
-
if (_response.ok) {
|
|
244
|
-
return {
|
|
245
|
-
ok: true,
|
|
246
|
-
body: serializers.thirdPartyPayers.v1.ThirdPartyPayerPage.parseOrThrow(_response.body, {
|
|
247
|
-
unrecognizedObjectKeys: "passthrough",
|
|
248
|
-
allowUnrecognizedUnionMembers: true,
|
|
249
|
-
allowUnrecognizedEnumValues: true,
|
|
250
|
-
breadcrumbsPrefix: ["response"],
|
|
251
|
-
}),
|
|
252
|
-
};
|
|
253
|
-
}
|
|
254
|
-
if (_response.error.reason === "status-code") {
|
|
255
|
-
switch ((_b = _response.error.body) === null || _b === void 0 ? void 0 : _b.errorName) {
|
|
256
|
-
case "UnprocessableEntityError":
|
|
257
|
-
return {
|
|
258
|
-
ok: false,
|
|
259
|
-
error: serializers.thirdPartyPayers.v1.getMulti.Error.parseOrThrow(_response.error.body, {
|
|
260
|
-
unrecognizedObjectKeys: "passthrough",
|
|
261
|
-
allowUnrecognizedUnionMembers: true,
|
|
262
|
-
allowUnrecognizedEnumValues: true,
|
|
263
|
-
breadcrumbsPrefix: ["response"],
|
|
264
|
-
}),
|
|
265
|
-
};
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
return {
|
|
269
|
-
ok: false,
|
|
270
|
-
error: CandidApi.thirdPartyPayers.v1.getMulti.Error._unknown(_response.error),
|
|
271
|
-
};
|
|
272
|
-
});
|
|
273
|
-
}
|
|
274
|
-
/**
|
|
275
|
-
* @param {CandidApi.thirdPartyPayers.v1.ThirdPartyPayerId} thirdPartyPayerId
|
|
276
|
-
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
277
|
-
*
|
|
278
|
-
* @example
|
|
279
|
-
* await client.thirdPartyPayers.v1.get(CandidApi.thirdPartyPayers.v1.ThirdPartyPayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
|
|
280
|
-
*/
|
|
281
|
-
get(thirdPartyPayerId, requestOptions) {
|
|
282
|
-
var _a, _b;
|
|
283
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
284
|
-
const _response = yield core.fetcher({
|
|
285
|
-
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
286
|
-
.candidApi, `/api/third-party-payers/v1/${encodeURIComponent(serializers.thirdPartyPayers.v1.ThirdPartyPayerId.jsonOrThrow(thirdPartyPayerId))}`),
|
|
287
|
-
method: "GET",
|
|
288
|
-
headers: {
|
|
289
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
290
|
-
"X-Fern-Language": "JavaScript",
|
|
291
|
-
"X-Fern-SDK-Name": "candidhealth",
|
|
292
|
-
"X-Fern-SDK-Version": "0.34.0",
|
|
293
|
-
"X-Fern-Runtime": core.RUNTIME.type,
|
|
294
|
-
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
295
|
-
},
|
|
296
|
-
contentType: "application/json",
|
|
297
|
-
requestType: "json",
|
|
298
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
299
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
300
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
301
|
-
});
|
|
302
|
-
if (_response.ok) {
|
|
303
|
-
return {
|
|
304
|
-
ok: true,
|
|
305
|
-
body: serializers.thirdPartyPayers.v1.ThirdPartyPayer.parseOrThrow(_response.body, {
|
|
306
|
-
unrecognizedObjectKeys: "passthrough",
|
|
307
|
-
allowUnrecognizedUnionMembers: true,
|
|
308
|
-
allowUnrecognizedEnumValues: true,
|
|
309
|
-
breadcrumbsPrefix: ["response"],
|
|
310
|
-
}),
|
|
311
|
-
};
|
|
312
|
-
}
|
|
313
|
-
if (_response.error.reason === "status-code") {
|
|
314
|
-
switch ((_b = _response.error.body) === null || _b === void 0 ? void 0 : _b.errorName) {
|
|
315
|
-
case "EntityNotFoundError":
|
|
316
|
-
return {
|
|
317
|
-
ok: false,
|
|
318
|
-
error: serializers.thirdPartyPayers.v1.get.Error.parseOrThrow(_response.error.body, {
|
|
319
|
-
unrecognizedObjectKeys: "passthrough",
|
|
320
|
-
allowUnrecognizedUnionMembers: true,
|
|
321
|
-
allowUnrecognizedEnumValues: true,
|
|
322
|
-
breadcrumbsPrefix: ["response"],
|
|
323
|
-
}),
|
|
324
|
-
};
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
return {
|
|
328
|
-
ok: false,
|
|
329
|
-
error: CandidApi.thirdPartyPayers.v1.get.Error._unknown(_response.error),
|
|
330
|
-
};
|
|
331
|
-
});
|
|
332
|
-
}
|
|
333
|
-
/**
|
|
334
|
-
* @param {CandidApi.thirdPartyPayers.v1.ThirdPartyPayerId} thirdPartyPayerId
|
|
335
|
-
* @param {CandidApi.thirdPartyPayers.v1.ThirdPartyPayerUpdateRequest} request
|
|
336
|
-
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
337
|
-
*
|
|
338
|
-
* @example
|
|
339
|
-
* await client.thirdPartyPayers.v1.update(CandidApi.thirdPartyPayers.v1.ThirdPartyPayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
340
|
-
* name: "string",
|
|
341
|
-
* description: {
|
|
342
|
-
* type: "remove"
|
|
343
|
-
* },
|
|
344
|
-
* category: {
|
|
345
|
-
* type: "remove"
|
|
346
|
-
* }
|
|
347
|
-
* })
|
|
348
|
-
*/
|
|
349
|
-
update(thirdPartyPayerId, request, requestOptions) {
|
|
350
|
-
var _a, _b;
|
|
351
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
352
|
-
const _response = yield core.fetcher({
|
|
353
|
-
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
354
|
-
.candidApi, `/api/third-party-payers/v1/${encodeURIComponent(serializers.thirdPartyPayers.v1.ThirdPartyPayerId.jsonOrThrow(thirdPartyPayerId))}`),
|
|
355
|
-
method: "PATCH",
|
|
356
|
-
headers: {
|
|
357
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
358
|
-
"X-Fern-Language": "JavaScript",
|
|
359
|
-
"X-Fern-SDK-Name": "candidhealth",
|
|
360
|
-
"X-Fern-SDK-Version": "0.34.0",
|
|
361
|
-
"X-Fern-Runtime": core.RUNTIME.type,
|
|
362
|
-
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
363
|
-
},
|
|
364
|
-
contentType: "application/json",
|
|
365
|
-
requestType: "json",
|
|
366
|
-
body: serializers.thirdPartyPayers.v1.ThirdPartyPayerUpdateRequest.jsonOrThrow(request, {
|
|
367
|
-
unrecognizedObjectKeys: "strip",
|
|
368
|
-
}),
|
|
369
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
370
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
371
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
372
|
-
});
|
|
373
|
-
if (_response.ok) {
|
|
374
|
-
return {
|
|
375
|
-
ok: true,
|
|
376
|
-
body: serializers.thirdPartyPayers.v1.ThirdPartyPayer.parseOrThrow(_response.body, {
|
|
377
|
-
unrecognizedObjectKeys: "passthrough",
|
|
378
|
-
allowUnrecognizedUnionMembers: true,
|
|
379
|
-
allowUnrecognizedEnumValues: true,
|
|
380
|
-
breadcrumbsPrefix: ["response"],
|
|
381
|
-
}),
|
|
382
|
-
};
|
|
383
|
-
}
|
|
384
|
-
if (_response.error.reason === "status-code") {
|
|
385
|
-
switch ((_b = _response.error.body) === null || _b === void 0 ? void 0 : _b.errorName) {
|
|
386
|
-
case "EntityNotFoundError":
|
|
387
|
-
case "EntityConflictError":
|
|
388
|
-
return {
|
|
389
|
-
ok: false,
|
|
390
|
-
error: serializers.thirdPartyPayers.v1.update.Error.parseOrThrow(_response.error.body, {
|
|
391
|
-
unrecognizedObjectKeys: "passthrough",
|
|
392
|
-
allowUnrecognizedUnionMembers: true,
|
|
393
|
-
allowUnrecognizedEnumValues: true,
|
|
394
|
-
breadcrumbsPrefix: ["response"],
|
|
395
|
-
}),
|
|
396
|
-
};
|
|
397
|
-
}
|
|
398
|
-
}
|
|
399
|
-
return {
|
|
400
|
-
ok: false,
|
|
401
|
-
error: CandidApi.thirdPartyPayers.v1.update.Error._unknown(_response.error),
|
|
402
|
-
};
|
|
403
|
-
});
|
|
404
|
-
}
|
|
405
|
-
/**
|
|
406
|
-
* @param {CandidApi.thirdPartyPayers.v1.ThirdPartyPayerId} thirdPartyPayerId
|
|
407
|
-
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
408
|
-
*
|
|
409
|
-
* @example
|
|
410
|
-
* await client.thirdPartyPayers.v1.delete(CandidApi.thirdPartyPayers.v1.ThirdPartyPayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
|
|
411
|
-
*/
|
|
412
|
-
delete(thirdPartyPayerId, requestOptions) {
|
|
413
|
-
var _a, _b;
|
|
414
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
415
|
-
const _response = yield core.fetcher({
|
|
416
|
-
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
417
|
-
.candidApi, `/api/third-party-payers/v1/${encodeURIComponent(serializers.thirdPartyPayers.v1.ThirdPartyPayerId.jsonOrThrow(thirdPartyPayerId))}`),
|
|
418
|
-
method: "DELETE",
|
|
419
|
-
headers: {
|
|
420
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
421
|
-
"X-Fern-Language": "JavaScript",
|
|
422
|
-
"X-Fern-SDK-Name": "candidhealth",
|
|
423
|
-
"X-Fern-SDK-Version": "0.34.0",
|
|
424
|
-
"X-Fern-Runtime": core.RUNTIME.type,
|
|
425
|
-
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
426
|
-
},
|
|
427
|
-
contentType: "application/json",
|
|
428
|
-
requestType: "json",
|
|
429
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
430
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
431
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
432
|
-
});
|
|
433
|
-
if (_response.ok) {
|
|
434
|
-
return {
|
|
435
|
-
ok: true,
|
|
436
|
-
body: undefined,
|
|
437
|
-
};
|
|
438
|
-
}
|
|
439
|
-
if (_response.error.reason === "status-code") {
|
|
440
|
-
switch ((_b = _response.error.body) === null || _b === void 0 ? void 0 : _b.errorName) {
|
|
441
|
-
case "EntityNotFoundError":
|
|
442
|
-
return {
|
|
443
|
-
ok: false,
|
|
444
|
-
error: serializers.thirdPartyPayers.v1.delete.Error.parseOrThrow(_response.error.body, {
|
|
445
|
-
unrecognizedObjectKeys: "passthrough",
|
|
446
|
-
allowUnrecognizedUnionMembers: true,
|
|
447
|
-
allowUnrecognizedEnumValues: true,
|
|
448
|
-
breadcrumbsPrefix: ["response"],
|
|
449
|
-
}),
|
|
450
|
-
};
|
|
451
|
-
}
|
|
452
|
-
}
|
|
453
|
-
return {
|
|
454
|
-
ok: false,
|
|
455
|
-
error: CandidApi.thirdPartyPayers.v1.delete.Error._unknown(_response.error),
|
|
456
|
-
};
|
|
457
|
-
});
|
|
458
|
-
}
|
|
459
|
-
_getAuthorizationHeader() {
|
|
460
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
461
|
-
const bearer = yield core.Supplier.get(this._options.token);
|
|
462
|
-
if (bearer != null) {
|
|
463
|
-
return `Bearer ${bearer}`;
|
|
464
|
-
}
|
|
465
|
-
return undefined;
|
|
466
|
-
});
|
|
467
|
-
}
|
|
468
|
-
}
|
|
469
|
-
exports.V1 = V1;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as CandidApi from "../../../../../index";
|
|
5
|
-
import * as core from "../../../../../../core";
|
|
6
|
-
export declare type Error = CandidApi.thirdPartyPayers.v1.create.Error.EntityNotFoundError | CandidApi.thirdPartyPayers.v1.create.Error.EntityConflictError | CandidApi.thirdPartyPayers.v1.create.Error._Unknown;
|
|
7
|
-
export declare namespace Error {
|
|
8
|
-
interface EntityNotFoundError extends _Utils {
|
|
9
|
-
errorName: "EntityNotFoundError";
|
|
10
|
-
content: CandidApi.EntityNotFoundErrorMessage;
|
|
11
|
-
}
|
|
12
|
-
interface EntityConflictError extends _Utils {
|
|
13
|
-
errorName: "EntityConflictError";
|
|
14
|
-
content: CandidApi.EntityConflictErrorMessage;
|
|
15
|
-
}
|
|
16
|
-
interface _Unknown extends _Utils {
|
|
17
|
-
errorName: void;
|
|
18
|
-
content: core.Fetcher.Error;
|
|
19
|
-
}
|
|
20
|
-
interface _Utils {
|
|
21
|
-
_visit: <_Result>(visitor: CandidApi.thirdPartyPayers.v1.create.Error._Visitor<_Result>) => _Result;
|
|
22
|
-
}
|
|
23
|
-
interface _Visitor<_Result> {
|
|
24
|
-
entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
|
|
25
|
-
entityConflictError: (value: CandidApi.EntityConflictErrorMessage) => _Result;
|
|
26
|
-
_other: (value: core.Fetcher.Error) => _Result;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
export declare const Error: {
|
|
30
|
-
readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.thirdPartyPayers.v1.create.Error.EntityNotFoundError;
|
|
31
|
-
readonly entityConflictError: (value: CandidApi.EntityConflictErrorMessage) => CandidApi.thirdPartyPayers.v1.create.Error.EntityConflictError;
|
|
32
|
-
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.thirdPartyPayers.v1.create.Error._Unknown;
|
|
33
|
-
readonly _visit: <_Result>(value: CandidApi.thirdPartyPayers.v1.create.Error, visitor: CandidApi.thirdPartyPayers.v1.create.Error._Visitor<_Result>) => _Result;
|
|
34
|
-
};
|
|
@@ -1,69 +0,0 @@
|
|
|
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 (mod) {
|
|
22
|
-
if (mod && mod.__esModule) return mod;
|
|
23
|
-
var result = {};
|
|
24
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
-
__setModuleDefault(result, mod);
|
|
26
|
-
return result;
|
|
27
|
-
};
|
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.Error = void 0;
|
|
30
|
-
const CandidApi = __importStar(require("../../../../../index"));
|
|
31
|
-
exports.Error = {
|
|
32
|
-
entityNotFoundError: (value) => {
|
|
33
|
-
return {
|
|
34
|
-
content: value,
|
|
35
|
-
errorName: "EntityNotFoundError",
|
|
36
|
-
_visit: function (visitor) {
|
|
37
|
-
return CandidApi.thirdPartyPayers.v1.create.Error._visit(this, visitor);
|
|
38
|
-
},
|
|
39
|
-
};
|
|
40
|
-
},
|
|
41
|
-
entityConflictError: (value) => {
|
|
42
|
-
return {
|
|
43
|
-
content: value,
|
|
44
|
-
errorName: "EntityConflictError",
|
|
45
|
-
_visit: function (visitor) {
|
|
46
|
-
return CandidApi.thirdPartyPayers.v1.create.Error._visit(this, visitor);
|
|
47
|
-
},
|
|
48
|
-
};
|
|
49
|
-
},
|
|
50
|
-
_unknown: (fetcherError) => {
|
|
51
|
-
return {
|
|
52
|
-
errorName: undefined,
|
|
53
|
-
content: fetcherError,
|
|
54
|
-
_visit: function (visitor) {
|
|
55
|
-
return CandidApi.thirdPartyPayers.v1.create.Error._visit(this, visitor);
|
|
56
|
-
},
|
|
57
|
-
};
|
|
58
|
-
},
|
|
59
|
-
_visit: (value, visitor) => {
|
|
60
|
-
switch (value.errorName) {
|
|
61
|
-
case "EntityNotFoundError":
|
|
62
|
-
return visitor.entityNotFoundError(value.content);
|
|
63
|
-
case "EntityConflictError":
|
|
64
|
-
return visitor.entityConflictError(value.content);
|
|
65
|
-
default:
|
|
66
|
-
return visitor._other(value);
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as CandidApi from "../../../../../index";
|
|
5
|
-
import * as core from "../../../../../../core";
|
|
6
|
-
export declare type Error = CandidApi.thirdPartyPayers.v1.delete.Error.EntityNotFoundError | CandidApi.thirdPartyPayers.v1.delete.Error._Unknown;
|
|
7
|
-
export declare namespace Error {
|
|
8
|
-
interface EntityNotFoundError extends _Utils {
|
|
9
|
-
errorName: "EntityNotFoundError";
|
|
10
|
-
content: CandidApi.EntityNotFoundErrorMessage;
|
|
11
|
-
}
|
|
12
|
-
interface _Unknown extends _Utils {
|
|
13
|
-
errorName: void;
|
|
14
|
-
content: core.Fetcher.Error;
|
|
15
|
-
}
|
|
16
|
-
interface _Utils {
|
|
17
|
-
_visit: <_Result>(visitor: CandidApi.thirdPartyPayers.v1.delete.Error._Visitor<_Result>) => _Result;
|
|
18
|
-
}
|
|
19
|
-
interface _Visitor<_Result> {
|
|
20
|
-
entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
|
|
21
|
-
_other: (value: core.Fetcher.Error) => _Result;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
export declare const Error: {
|
|
25
|
-
readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.thirdPartyPayers.v1.delete.Error.EntityNotFoundError;
|
|
26
|
-
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.thirdPartyPayers.v1.delete.Error._Unknown;
|
|
27
|
-
readonly _visit: <_Result>(value: CandidApi.thirdPartyPayers.v1.delete.Error, visitor: CandidApi.thirdPartyPayers.v1.delete.Error._Visitor<_Result>) => _Result;
|
|
28
|
-
};
|
|
@@ -1,58 +0,0 @@
|
|
|
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 (mod) {
|
|
22
|
-
if (mod && mod.__esModule) return mod;
|
|
23
|
-
var result = {};
|
|
24
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
-
__setModuleDefault(result, mod);
|
|
26
|
-
return result;
|
|
27
|
-
};
|
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.Error = void 0;
|
|
30
|
-
const CandidApi = __importStar(require("../../../../../index"));
|
|
31
|
-
exports.Error = {
|
|
32
|
-
entityNotFoundError: (value) => {
|
|
33
|
-
return {
|
|
34
|
-
content: value,
|
|
35
|
-
errorName: "EntityNotFoundError",
|
|
36
|
-
_visit: function (visitor) {
|
|
37
|
-
return CandidApi.thirdPartyPayers.v1.delete.Error._visit(this, visitor);
|
|
38
|
-
},
|
|
39
|
-
};
|
|
40
|
-
},
|
|
41
|
-
_unknown: (fetcherError) => {
|
|
42
|
-
return {
|
|
43
|
-
errorName: undefined,
|
|
44
|
-
content: fetcherError,
|
|
45
|
-
_visit: function (visitor) {
|
|
46
|
-
return CandidApi.thirdPartyPayers.v1.delete.Error._visit(this, visitor);
|
|
47
|
-
},
|
|
48
|
-
};
|
|
49
|
-
},
|
|
50
|
-
_visit: (value, visitor) => {
|
|
51
|
-
switch (value.errorName) {
|
|
52
|
-
case "EntityNotFoundError":
|
|
53
|
-
return visitor.entityNotFoundError(value.content);
|
|
54
|
-
default:
|
|
55
|
-
return visitor._other(value);
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
};
|