candidhealth 1.16.0 → 1.17.1
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 -3
- package/Client.js +36 -41
- package/api/resources/contracts/client/Client.d.ts +3 -0
- package/api/resources/contracts/client/Client.js +5 -0
- package/api/resources/contracts/resources/index.d.ts +1 -0
- package/api/resources/contracts/resources/index.js +2 -1
- package/api/resources/contracts/resources/v2/client/Client.d.ts +4 -0
- package/api/resources/contracts/resources/v2/client/Client.js +4 -0
- package/api/resources/contracts/resources/v3/client/Client.d.ts +109 -0
- package/api/resources/contracts/resources/v3/client/Client.js +603 -0
- package/api/resources/contracts/resources/v3/client/create.d.ts +19 -0
- package/api/resources/contracts/resources/v3/client/create.js +55 -0
- package/api/resources/contracts/resources/v3/client/createContractServiceFacility.d.ts +25 -0
- package/api/resources/contracts/resources/v3/client/createContractServiceFacility.js +66 -0
- package/api/resources/contracts/resources/v3/client/delete.d.ts +25 -0
- package/api/resources/contracts/resources/v3/client/delete.js +66 -0
- package/api/resources/contracts/resources/v3/client/get.d.ts +25 -0
- package/{dist/api/resources/insurancePayments/resources/v1 → api/resources/contracts/resources/v3}/client/get.js +2 -13
- package/api/resources/contracts/resources/v3/client/getMulti.d.ts +19 -0
- package/api/resources/contracts/resources/v3/client/getMulti.js +55 -0
- package/api/resources/contracts/resources/v3/client/index.d.ts +8 -0
- package/{serialization/resources/insurancePayments/resources/v1 → api/resources/contracts/resources/v3}/client/index.js +10 -1
- package/api/resources/contracts/resources/v3/client/requests/ContractServiceFacilityCreate.d.ts +10 -0
- package/api/resources/contracts/resources/v3/client/requests/ContractServiceFacilityUpdate.d.ts +10 -0
- package/api/resources/contracts/resources/v3/client/requests/GetMultiContractsRequest.d.ts +23 -0
- package/api/resources/contracts/resources/v3/client/requests/index.d.ts +3 -0
- package/api/resources/contracts/resources/v3/client/update.d.ts +31 -0
- package/api/resources/{insurancePayments/resources/v1/client/getMulti.js → contracts/resources/v3/client/update.js} +9 -9
- package/api/resources/contracts/resources/v3/client/updateContractServiceFacility.d.ts +25 -0
- package/api/resources/contracts/resources/v3/client/updateContractServiceFacility.js +66 -0
- package/api/resources/contracts/resources/v3/types/Contract.d.ts +10 -0
- package/api/resources/contracts/resources/v3/types/ContractBase.d.ts +20 -0
- package/api/resources/contracts/resources/v3/types/ContractCreate.d.ts +9 -0
- package/api/resources/contracts/resources/v3/types/ContractCreateUnion.d.ts +10 -0
- package/api/resources/contracts/resources/v3/types/ContractCreateUnion.js +3 -0
- package/api/resources/contracts/resources/v3/types/ContractId.d.ts +5 -0
- package/{dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentId.js → api/resources/contracts/resources/v3/types/ContractId.js} +2 -2
- package/api/resources/contracts/resources/v3/types/ContractServiceFacility.d.ts +6 -0
- package/api/resources/contracts/resources/v3/types/ContractServiceFacility.js +3 -0
- package/api/resources/contracts/resources/v3/types/ContractServiceFacilityBase.d.ts +6 -0
- package/api/resources/contracts/resources/v3/types/ContractServiceFacilityBase.js +3 -0
- package/api/resources/contracts/resources/v3/types/ContractServiceFacilityId.d.ts +5 -0
- package/api/resources/contracts/resources/v3/types/ContractServiceFacilityId.js +7 -0
- package/api/resources/contracts/resources/v3/types/ContractType.d.ts +9 -0
- package/api/resources/contracts/resources/v3/types/ContractType.js +12 -0
- package/api/resources/contracts/resources/v3/types/ContractUnion.d.ts +10 -0
- package/api/resources/contracts/resources/v3/types/ContractUnion.js +3 -0
- package/api/resources/contracts/resources/v3/types/ContractUpdate.d.ts +17 -0
- package/api/resources/contracts/resources/v3/types/ContractUpdate.js +3 -0
- package/api/resources/contracts/resources/v3/types/ContractUpdateUnion.d.ts +10 -0
- package/api/resources/contracts/resources/v3/types/ContractUpdateUnion.js +3 -0
- package/api/resources/contracts/resources/v3/types/ContractWithProvidersUnion.d.ts +10 -0
- package/api/resources/contracts/resources/v3/types/ContractWithProvidersUnion.js +3 -0
- package/api/resources/contracts/resources/v3/types/ContractingProviderId.d.ts +5 -0
- package/api/resources/contracts/resources/v3/types/ContractingProviderId.js +7 -0
- package/api/resources/contracts/resources/v3/types/ContractsPage.d.ts +4 -0
- package/api/resources/contracts/resources/v3/types/ContractsPage.js +3 -0
- package/api/resources/contracts/resources/v3/types/InstitutionalContract.d.ts +5 -0
- package/api/resources/contracts/resources/v3/types/InstitutionalContract.js +3 -0
- package/api/resources/contracts/resources/v3/types/InstitutionalContractCreate.d.ts +4 -0
- package/api/resources/contracts/resources/v3/types/InstitutionalContractCreate.js +3 -0
- package/api/resources/contracts/resources/v3/types/InstitutionalContractUpdate.d.ts +4 -0
- package/api/resources/contracts/resources/v3/types/InstitutionalContractUpdate.js +3 -0
- package/api/resources/contracts/resources/v3/types/ProfessionalContract.d.ts +5 -0
- package/api/resources/contracts/resources/v3/types/ProfessionalContract.js +3 -0
- package/api/resources/contracts/resources/v3/types/ProfessionalContractCreate.d.ts +4 -0
- package/api/resources/contracts/resources/v3/types/ProfessionalContractCreate.js +3 -0
- package/api/resources/contracts/resources/v3/types/ProfessionalContractUpdate.d.ts +4 -0
- package/api/resources/contracts/resources/v3/types/ProfessionalContractUpdate.js +3 -0
- package/api/resources/contracts/resources/v3/types/RenderingProviderid.d.ts +5 -0
- package/api/resources/contracts/resources/v3/types/RenderingProviderid.js +7 -0
- package/api/resources/contracts/resources/v3/types/index.d.ts +22 -0
- package/api/resources/contracts/resources/v3/types/index.js +38 -0
- package/api/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +6 -0
- package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +6 -0
- package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +6 -0
- package/api/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +6 -0
- package/api/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentification.d.ts +4 -0
- package/api/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentification.js +3 -0
- package/api/resources/encounterProviders/resources/v2/types/RenderingProvider.d.ts +6 -0
- package/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdate.d.ts +6 -0
- package/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +6 -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 +15 -0
- package/api/resources/encounters/resources/v4/client/Client.js +19 -0
- package/api/resources/encounters/resources/v4/client/create.d.ts +7 -1
- package/api/resources/encounters/resources/v4/client/create.js +11 -0
- 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/createFromPreEncounterPatientUniversal.d.ts +7 -1
- package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +11 -0
- package/api/resources/encounters/resources/v4/client/createUniversal.d.ts +7 -1
- package/api/resources/encounters/resources/v4/client/createUniversal.js +11 -0
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
- package/api/resources/encountersUniversal/types/UniversalEncounterCreateBase.d.ts +2 -0
- package/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +2 -0
- package/api/resources/encountersUniversal/types/UniversalEncounterUpdateBase.d.ts +2 -0
- package/api/resources/events/resources/v1/client/requests/GetEventScanRequest.d.ts +14 -1
- package/api/resources/feeSchedules/resources/v3/client/Client.d.ts +9 -1
- package/api/resources/feeSchedules/resources/v3/client/Client.js +9 -1
- package/api/resources/feeSchedules/resources/v3/types/PayerThreshold.d.ts +6 -1
- package/api/resources/healthCareCodeInformation/resources/v1/types/D8Date.d.ts +5 -1
- package/api/resources/healthCareCodeInformation/resources/v1/types/D8Date.js +4 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.d.ts +2 -14
- package/api/resources/index.d.ts +1 -1
- package/api/resources/index.js +2 -2
- package/api/resources/relatedCausesInformation/resources/v1/index.d.ts +1 -0
- package/api/resources/relatedCausesInformation/resources/v1/index.js +17 -0
- package/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesCode.d.ts +21 -0
- package/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesCode.js +24 -0
- package/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformation.d.ts +6 -0
- package/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformation.js +3 -0
- package/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.d.ts +3 -0
- package/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.js +3 -0
- package/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.d.ts +3 -0
- package/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.js +3 -0
- package/api/resources/relatedCausesInformation/resources/v1/types/index.d.ts +4 -0
- package/api/resources/{insurancePayments → relatedCausesInformation}/resources/v1/types/index.js +4 -4
- package/dist/Client.d.ts +0 -3
- package/dist/Client.js +36 -41
- package/dist/api/resources/contracts/client/Client.d.ts +3 -0
- package/dist/api/resources/contracts/client/Client.js +5 -0
- package/dist/api/resources/contracts/resources/index.d.ts +1 -0
- package/dist/api/resources/contracts/resources/index.js +2 -1
- package/dist/api/resources/contracts/resources/v2/client/Client.d.ts +4 -0
- package/dist/api/resources/contracts/resources/v2/client/Client.js +4 -0
- package/dist/api/resources/contracts/resources/v3/client/Client.d.ts +109 -0
- package/dist/api/resources/contracts/resources/v3/client/Client.js +603 -0
- package/dist/api/resources/contracts/resources/v3/client/create.d.ts +19 -0
- package/dist/api/resources/contracts/resources/v3/client/create.js +55 -0
- package/dist/api/resources/contracts/resources/v3/client/createContractServiceFacility.d.ts +25 -0
- package/dist/api/resources/contracts/resources/v3/client/createContractServiceFacility.js +66 -0
- package/dist/api/resources/contracts/resources/v3/client/delete.d.ts +25 -0
- package/dist/api/resources/contracts/resources/v3/client/delete.js +66 -0
- package/dist/api/resources/contracts/resources/v3/client/get.d.ts +25 -0
- package/{api/resources/insurancePayments/resources/v1 → dist/api/resources/contracts/resources/v3}/client/get.js +2 -13
- package/dist/api/resources/contracts/resources/v3/client/getMulti.d.ts +19 -0
- package/dist/api/resources/contracts/resources/v3/client/getMulti.js +55 -0
- package/dist/api/resources/contracts/resources/v3/client/index.d.ts +8 -0
- package/dist/api/resources/contracts/resources/v3/client/index.js +47 -0
- package/dist/api/resources/contracts/resources/v3/client/requests/ContractServiceFacilityCreate.d.ts +10 -0
- package/dist/api/resources/contracts/resources/v3/client/requests/ContractServiceFacilityCreate.js +3 -0
- package/dist/api/resources/contracts/resources/v3/client/requests/ContractServiceFacilityUpdate.d.ts +10 -0
- package/dist/api/resources/contracts/resources/v3/client/requests/ContractServiceFacilityUpdate.js +3 -0
- package/dist/api/resources/contracts/resources/v3/client/requests/GetMultiContractsRequest.d.ts +23 -0
- package/dist/api/resources/contracts/resources/v3/client/requests/GetMultiContractsRequest.js +3 -0
- package/dist/api/resources/contracts/resources/v3/client/requests/index.d.ts +3 -0
- package/dist/api/resources/contracts/resources/v3/client/update.d.ts +31 -0
- package/dist/api/resources/{insurancePayments/resources/v1/client/getMulti.js → contracts/resources/v3/client/update.js} +9 -9
- package/dist/api/resources/contracts/resources/v3/client/updateContractServiceFacility.d.ts +25 -0
- package/dist/api/resources/contracts/resources/v3/client/updateContractServiceFacility.js +66 -0
- package/dist/api/resources/contracts/resources/v3/types/Contract.d.ts +10 -0
- package/dist/api/resources/contracts/resources/v3/types/Contract.js +3 -0
- package/dist/api/resources/contracts/resources/v3/types/ContractBase.d.ts +20 -0
- package/dist/api/resources/contracts/resources/v3/types/ContractBase.js +3 -0
- package/dist/api/resources/contracts/resources/v3/types/ContractCreate.d.ts +9 -0
- package/dist/api/resources/contracts/resources/v3/types/ContractCreate.js +3 -0
- package/dist/api/resources/contracts/resources/v3/types/ContractCreateUnion.d.ts +10 -0
- package/dist/api/resources/contracts/resources/v3/types/ContractCreateUnion.js +3 -0
- package/dist/api/resources/contracts/resources/v3/types/ContractId.d.ts +5 -0
- package/{api/resources/insurancePayments/resources/v1/types/InsurancePaymentId.js → dist/api/resources/contracts/resources/v3/types/ContractId.js} +2 -2
- package/dist/api/resources/contracts/resources/v3/types/ContractServiceFacility.d.ts +6 -0
- package/dist/api/resources/contracts/resources/v3/types/ContractServiceFacility.js +3 -0
- package/dist/api/resources/contracts/resources/v3/types/ContractServiceFacilityBase.d.ts +6 -0
- package/dist/api/resources/contracts/resources/v3/types/ContractServiceFacilityBase.js +3 -0
- package/dist/api/resources/contracts/resources/v3/types/ContractServiceFacilityId.d.ts +5 -0
- package/dist/api/resources/contracts/resources/v3/types/ContractServiceFacilityId.js +7 -0
- package/dist/api/resources/contracts/resources/v3/types/ContractType.d.ts +9 -0
- package/dist/api/resources/contracts/resources/v3/types/ContractType.js +12 -0
- package/dist/api/resources/contracts/resources/v3/types/ContractUnion.d.ts +10 -0
- package/dist/api/resources/contracts/resources/v3/types/ContractUnion.js +3 -0
- package/dist/api/resources/contracts/resources/v3/types/ContractUpdate.d.ts +17 -0
- package/dist/api/resources/contracts/resources/v3/types/ContractUpdate.js +3 -0
- package/dist/api/resources/contracts/resources/v3/types/ContractUpdateUnion.d.ts +10 -0
- package/dist/api/resources/contracts/resources/v3/types/ContractUpdateUnion.js +3 -0
- package/dist/api/resources/contracts/resources/v3/types/ContractWithProvidersUnion.d.ts +10 -0
- package/dist/api/resources/contracts/resources/v3/types/ContractWithProvidersUnion.js +3 -0
- package/dist/api/resources/contracts/resources/v3/types/ContractingProviderId.d.ts +5 -0
- package/dist/api/resources/contracts/resources/v3/types/ContractingProviderId.js +7 -0
- package/dist/api/resources/contracts/resources/v3/types/ContractsPage.d.ts +4 -0
- package/dist/api/resources/contracts/resources/v3/types/ContractsPage.js +3 -0
- package/dist/api/resources/contracts/resources/v3/types/InstitutionalContract.d.ts +5 -0
- package/dist/api/resources/contracts/resources/v3/types/InstitutionalContract.js +3 -0
- package/dist/api/resources/contracts/resources/v3/types/InstitutionalContractCreate.d.ts +4 -0
- package/dist/api/resources/contracts/resources/v3/types/InstitutionalContractCreate.js +3 -0
- package/dist/api/resources/contracts/resources/v3/types/InstitutionalContractUpdate.d.ts +4 -0
- package/dist/api/resources/contracts/resources/v3/types/InstitutionalContractUpdate.js +3 -0
- package/dist/api/resources/contracts/resources/v3/types/ProfessionalContract.d.ts +5 -0
- package/dist/api/resources/contracts/resources/v3/types/ProfessionalContract.js +3 -0
- package/dist/api/resources/contracts/resources/v3/types/ProfessionalContractCreate.d.ts +4 -0
- package/dist/api/resources/contracts/resources/v3/types/ProfessionalContractCreate.js +3 -0
- package/dist/api/resources/contracts/resources/v3/types/ProfessionalContractUpdate.d.ts +4 -0
- package/dist/api/resources/contracts/resources/v3/types/ProfessionalContractUpdate.js +3 -0
- package/dist/api/resources/contracts/resources/v3/types/RenderingProviderid.d.ts +5 -0
- package/dist/api/resources/contracts/resources/v3/types/RenderingProviderid.js +7 -0
- package/dist/api/resources/contracts/resources/v3/types/index.d.ts +22 -0
- package/dist/api/resources/contracts/resources/v3/types/index.js +38 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +6 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +6 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +6 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +6 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentification.d.ts +4 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentification.js +3 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/RenderingProvider.d.ts +6 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdate.d.ts +6 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +6 -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 +15 -0
- package/dist/api/resources/encounters/resources/v4/client/Client.js +19 -0
- package/dist/api/resources/encounters/resources/v4/client/create.d.ts +7 -1
- package/dist/api/resources/encounters/resources/v4/client/create.js +11 -0
- 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/createFromPreEncounterPatientUniversal.d.ts +7 -1
- package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +11 -0
- package/dist/api/resources/encounters/resources/v4/client/createUniversal.d.ts +7 -1
- package/dist/api/resources/encounters/resources/v4/client/createUniversal.js +11 -0
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateBase.d.ts +2 -0
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +2 -0
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterUpdateBase.d.ts +2 -0
- package/dist/api/resources/events/resources/v1/client/requests/GetEventScanRequest.d.ts +14 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.d.ts +9 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +9 -1
- package/dist/api/resources/feeSchedules/resources/v3/types/PayerThreshold.d.ts +6 -1
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/D8Date.d.ts +5 -1
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/D8Date.js +4 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.d.ts +2 -14
- package/dist/api/resources/index.d.ts +1 -1
- package/dist/api/resources/index.js +2 -2
- package/dist/api/resources/relatedCausesInformation/resources/v1/index.d.ts +1 -0
- package/dist/api/resources/relatedCausesInformation/resources/v1/index.js +17 -0
- package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesCode.d.ts +21 -0
- package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesCode.js +24 -0
- package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformation.d.ts +6 -0
- package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformation.js +3 -0
- package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.d.ts +3 -0
- package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.js +3 -0
- package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.d.ts +3 -0
- package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.js +3 -0
- package/dist/api/resources/relatedCausesInformation/resources/v1/types/index.d.ts +4 -0
- package/dist/api/resources/relatedCausesInformation/resources/v1/types/index.js +20 -0
- package/dist/serialization/resources/contracts/resources/index.d.ts +1 -0
- package/dist/serialization/resources/contracts/resources/index.js +2 -1
- package/dist/serialization/resources/{insurancePayments/resources/v1/client/getMulti.d.ts → contracts/resources/v3/client/createContractServiceFacility.d.ts} +2 -7
- package/{serialization/resources/insurancePayments/resources/v1/client/getMulti.js → dist/serialization/resources/contracts/resources/v3/client/createContractServiceFacility.js} +1 -7
- package/dist/serialization/resources/contracts/resources/v3/client/delete.d.ts +12 -0
- package/dist/serialization/resources/contracts/resources/v3/client/delete.js +69 -0
- package/dist/serialization/resources/{insurancePayments/resources/v1 → contracts/resources/v3}/client/get.d.ts +2 -7
- package/dist/serialization/resources/{insurancePayments/resources/v1 → contracts/resources/v3}/client/get.js +1 -7
- package/dist/serialization/resources/contracts/resources/v3/client/index.d.ts +6 -0
- package/{api/resources/insurancePayments/resources/v1 → dist/serialization/resources/contracts/resources/v3}/client/index.js +5 -2
- package/dist/serialization/resources/contracts/resources/v3/client/requests/ContractServiceFacilityCreate.d.ts +9 -0
- package/dist/serialization/resources/contracts/resources/v3/client/requests/ContractServiceFacilityCreate.js +40 -0
- package/dist/serialization/resources/contracts/resources/v3/client/requests/ContractServiceFacilityUpdate.d.ts +10 -0
- package/dist/serialization/resources/contracts/resources/v3/client/requests/ContractServiceFacilityUpdate.js +42 -0
- package/dist/serialization/resources/contracts/resources/v3/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/contracts/resources/v3/client/requests/index.js +7 -0
- package/dist/serialization/resources/contracts/resources/v3/client/update.d.ts +17 -0
- package/dist/serialization/resources/contracts/resources/v3/client/update.js +75 -0
- package/{serialization/resources/insurancePayments/resources/v1/client/getMulti.d.ts → dist/serialization/resources/contracts/resources/v3/client/updateContractServiceFacility.d.ts} +2 -7
- package/dist/serialization/resources/{insurancePayments/resources/v1/client/getMulti.js → contracts/resources/v3/client/updateContractServiceFacility.js} +1 -7
- package/dist/serialization/resources/contracts/resources/v3/types/Contract.d.ts +16 -0
- package/dist/serialization/resources/{insurancePayments/resources/v1/types/InsurancePayment.js → contracts/resources/v3/types/Contract.js} +11 -10
- package/dist/serialization/resources/contracts/resources/v3/types/ContractBase.d.ts +21 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ContractBase.js +53 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ContractCreate.d.ts +14 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ContractCreate.js +48 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ContractCreateUnion.d.ts +15 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ContractCreateUnion.js +49 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ContractId.d.ts +7 -0
- package/dist/serialization/resources/{insurancePayments/resources/v1/types/InsurancePaymentId.js → contracts/resources/v3/types/ContractId.js} +3 -3
- package/dist/serialization/resources/contracts/resources/v3/types/ContractServiceFacility.d.ts +13 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ContractServiceFacility.js +47 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ContractServiceFacilityBase.d.ts +10 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ContractServiceFacilityBase.js +42 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ContractServiceFacilityId.d.ts +7 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ContractServiceFacilityId.js +43 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ContractType.d.ts +7 -0
- package/dist/serialization/resources/{insurancePayments/resources/v1/types/InsurancePaymentSortField.js → contracts/resources/v3/types/ContractType.js} +2 -2
- package/dist/serialization/resources/contracts/resources/v3/types/ContractUnion.d.ts +14 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ContractUnion.js +48 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ContractUpdate.d.ts +22 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ContractUpdate.js +54 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ContractUpdateUnion.d.ts +15 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ContractUpdateUnion.js +49 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ContractWithProvidersUnion.d.ts +15 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ContractWithProvidersUnion.js +49 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ContractingProviderId.d.ts +7 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ContractingProviderId.js +43 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ContractsPage.d.ts +11 -0
- package/{serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.js → dist/serialization/resources/contracts/resources/v3/types/ContractsPage.js} +4 -4
- package/dist/serialization/resources/contracts/resources/v3/types/InstitutionalContract.d.ts +11 -0
- package/dist/serialization/resources/contracts/resources/v3/types/InstitutionalContract.js +45 -0
- package/dist/serialization/resources/contracts/resources/v3/types/InstitutionalContractCreate.d.ts +11 -0
- package/dist/serialization/resources/contracts/resources/v3/types/InstitutionalContractCreate.js +45 -0
- package/dist/serialization/resources/contracts/resources/v3/types/InstitutionalContractUpdate.d.ts +11 -0
- package/dist/serialization/resources/contracts/resources/v3/types/InstitutionalContractUpdate.js +45 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ProfessionalContract.d.ts +10 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ProfessionalContract.js +44 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ProfessionalContractCreate.d.ts +11 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ProfessionalContractCreate.js +45 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ProfessionalContractUpdate.d.ts +11 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ProfessionalContractUpdate.js +45 -0
- package/dist/serialization/resources/contracts/resources/v3/types/RenderingProviderid.d.ts +7 -0
- package/{serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentId.js → dist/serialization/resources/contracts/resources/v3/types/RenderingProviderid.js} +3 -3
- package/dist/serialization/resources/contracts/resources/v3/types/index.d.ts +22 -0
- package/dist/serialization/resources/contracts/resources/v3/types/index.js +38 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProvider.js +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.js +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentification.d.ts +9 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentification.js +41 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProvider.d.ts +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProvider.js +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdate.d.ts +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdate.js +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +2 -0
- 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/create.d.ts +6 -1
- package/dist/serialization/resources/encounters/resources/v4/client/create.js +6 -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/createFromPreEncounterPatientUniversal.d.ts +6 -1
- package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +6 -0
- package/dist/serialization/resources/encounters/resources/v4/client/createUniversal.d.ts +6 -1
- package/dist/serialization/resources/encounters/resources/v4/client/createUniversal.js +6 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +2 -0
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.d.ts +2 -0
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.js +2 -0
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +2 -0
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.js +2 -0
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.d.ts +2 -0
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.js +2 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/D8Date.d.ts +1 -1
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/D8Date.js +5 -1
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.js +2 -2
- package/dist/serialization/resources/index.d.ts +1 -1
- package/dist/serialization/resources/index.js +2 -2
- package/{api/resources/insurancePayments → dist/serialization/resources/relatedCausesInformation}/index.d.ts +0 -1
- package/{api/resources/insurancePayments → dist/serialization/resources/relatedCausesInformation}/index.js +0 -1
- package/dist/serialization/resources/relatedCausesInformation/resources/v1/index.d.ts +1 -0
- package/dist/serialization/resources/relatedCausesInformation/resources/v1/index.js +17 -0
- package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesCode.d.ts +7 -0
- package/{serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.js → dist/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesCode.js} +2 -2
- package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformation.d.ts +12 -0
- package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformation.js +44 -0
- package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.d.ts +9 -0
- package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.js +40 -0
- package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.d.ts +9 -0
- package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.js +40 -0
- package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/index.d.ts +4 -0
- package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/index.js +20 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +540 -178
- package/serialization/resources/contracts/resources/index.d.ts +1 -0
- package/serialization/resources/contracts/resources/index.js +2 -1
- package/serialization/resources/contracts/resources/v3/client/createContractServiceFacility.d.ts +12 -0
- package/serialization/resources/contracts/resources/v3/client/createContractServiceFacility.js +69 -0
- package/serialization/resources/contracts/resources/v3/client/delete.d.ts +12 -0
- package/serialization/resources/contracts/resources/v3/client/delete.js +69 -0
- package/serialization/resources/{insurancePayments/resources/v1 → contracts/resources/v3}/client/get.d.ts +2 -7
- package/serialization/resources/{insurancePayments/resources/v1 → contracts/resources/v3}/client/get.js +1 -7
- package/serialization/resources/contracts/resources/v3/client/index.d.ts +6 -0
- package/{dist/api/resources/insurancePayments/resources/v1 → serialization/resources/contracts/resources/v3}/client/index.js +5 -2
- package/serialization/resources/contracts/resources/v3/client/requests/ContractServiceFacilityCreate.d.ts +9 -0
- package/serialization/resources/contracts/resources/v3/client/requests/ContractServiceFacilityCreate.js +40 -0
- package/serialization/resources/contracts/resources/v3/client/requests/ContractServiceFacilityUpdate.d.ts +10 -0
- package/serialization/resources/contracts/resources/v3/client/requests/ContractServiceFacilityUpdate.js +42 -0
- package/serialization/resources/contracts/resources/v3/client/requests/index.d.ts +2 -0
- package/serialization/resources/contracts/resources/v3/client/requests/index.js +7 -0
- package/serialization/resources/contracts/resources/v3/client/update.d.ts +17 -0
- package/serialization/resources/contracts/resources/v3/client/update.js +75 -0
- package/serialization/resources/contracts/resources/v3/client/updateContractServiceFacility.d.ts +12 -0
- package/serialization/resources/contracts/resources/v3/client/updateContractServiceFacility.js +69 -0
- package/serialization/resources/contracts/resources/v3/types/Contract.d.ts +16 -0
- package/serialization/resources/{insurancePayments/resources/v1/types/InsurancePayment.js → contracts/resources/v3/types/Contract.js} +11 -10
- package/serialization/resources/contracts/resources/v3/types/ContractBase.d.ts +21 -0
- package/serialization/resources/contracts/resources/v3/types/ContractBase.js +53 -0
- package/serialization/resources/contracts/resources/v3/types/ContractCreate.d.ts +14 -0
- package/serialization/resources/contracts/resources/v3/types/ContractCreate.js +48 -0
- package/serialization/resources/contracts/resources/v3/types/ContractCreateUnion.d.ts +15 -0
- package/serialization/resources/contracts/resources/v3/types/ContractCreateUnion.js +49 -0
- package/serialization/resources/contracts/resources/v3/types/ContractId.d.ts +7 -0
- package/serialization/resources/contracts/resources/v3/types/ContractId.js +43 -0
- package/serialization/resources/contracts/resources/v3/types/ContractServiceFacility.d.ts +13 -0
- package/serialization/resources/contracts/resources/v3/types/ContractServiceFacility.js +47 -0
- package/serialization/resources/contracts/resources/v3/types/ContractServiceFacilityBase.d.ts +10 -0
- package/serialization/resources/contracts/resources/v3/types/ContractServiceFacilityBase.js +42 -0
- package/serialization/resources/contracts/resources/v3/types/ContractServiceFacilityId.d.ts +7 -0
- package/serialization/resources/contracts/resources/v3/types/ContractServiceFacilityId.js +43 -0
- package/serialization/resources/contracts/resources/v3/types/ContractType.d.ts +7 -0
- package/{dist/serialization/resources/insurancePayments/resources/v1/client/index.js → serialization/resources/contracts/resources/v3/types/ContractType.js} +4 -3
- package/serialization/resources/contracts/resources/v3/types/ContractUnion.d.ts +14 -0
- package/serialization/resources/contracts/resources/v3/types/ContractUnion.js +48 -0
- package/serialization/resources/contracts/resources/v3/types/ContractUpdate.d.ts +22 -0
- package/serialization/resources/contracts/resources/v3/types/ContractUpdate.js +54 -0
- package/serialization/resources/contracts/resources/v3/types/ContractUpdateUnion.d.ts +15 -0
- package/serialization/resources/contracts/resources/v3/types/ContractUpdateUnion.js +49 -0
- package/serialization/resources/contracts/resources/v3/types/ContractWithProvidersUnion.d.ts +15 -0
- package/serialization/resources/contracts/resources/v3/types/ContractWithProvidersUnion.js +49 -0
- package/serialization/resources/contracts/resources/v3/types/ContractingProviderId.d.ts +7 -0
- package/serialization/resources/contracts/resources/v3/types/ContractingProviderId.js +43 -0
- package/serialization/resources/contracts/resources/v3/types/ContractsPage.d.ts +11 -0
- package/{dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.js → serialization/resources/contracts/resources/v3/types/ContractsPage.js} +4 -4
- package/serialization/resources/contracts/resources/v3/types/InstitutionalContract.d.ts +11 -0
- package/serialization/resources/contracts/resources/v3/types/InstitutionalContract.js +45 -0
- package/serialization/resources/contracts/resources/v3/types/InstitutionalContractCreate.d.ts +11 -0
- package/serialization/resources/contracts/resources/v3/types/InstitutionalContractCreate.js +45 -0
- package/serialization/resources/contracts/resources/v3/types/InstitutionalContractUpdate.d.ts +11 -0
- package/serialization/resources/contracts/resources/v3/types/InstitutionalContractUpdate.js +45 -0
- package/serialization/resources/contracts/resources/v3/types/ProfessionalContract.d.ts +10 -0
- package/serialization/resources/contracts/resources/v3/types/ProfessionalContract.js +44 -0
- package/serialization/resources/contracts/resources/v3/types/ProfessionalContractCreate.d.ts +11 -0
- package/serialization/resources/contracts/resources/v3/types/ProfessionalContractCreate.js +45 -0
- package/serialization/resources/contracts/resources/v3/types/ProfessionalContractUpdate.d.ts +11 -0
- package/serialization/resources/contracts/resources/v3/types/ProfessionalContractUpdate.js +45 -0
- package/serialization/resources/contracts/resources/v3/types/RenderingProviderid.d.ts +7 -0
- package/serialization/resources/contracts/resources/v3/types/RenderingProviderid.js +43 -0
- package/serialization/resources/contracts/resources/v3/types/index.d.ts +22 -0
- package/serialization/resources/contracts/resources/v3/types/index.js +38 -0
- package/serialization/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/BillingProvider.js +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.js +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentification.d.ts +9 -0
- package/serialization/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentification.js +41 -0
- package/serialization/resources/encounterProviders/resources/v2/types/RenderingProvider.d.ts +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/RenderingProvider.js +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdate.d.ts +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdate.js +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +2 -0
- 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/create.d.ts +6 -1
- package/serialization/resources/encounters/resources/v4/client/create.js +6 -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/createFromPreEncounterPatientUniversal.d.ts +6 -1
- package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +6 -0
- package/serialization/resources/encounters/resources/v4/client/createUniversal.d.ts +6 -1
- package/serialization/resources/encounters/resources/v4/client/createUniversal.js +6 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.js +2 -0
- package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.d.ts +2 -0
- package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.js +2 -0
- package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +2 -0
- package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.js +2 -0
- package/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.d.ts +2 -0
- package/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.js +2 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/D8Date.d.ts +1 -1
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/D8Date.js +5 -1
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.js +2 -2
- package/serialization/resources/index.d.ts +1 -1
- package/serialization/resources/index.js +2 -2
- package/{dist/api/resources/insurancePayments → serialization/resources/relatedCausesInformation}/index.d.ts +0 -1
- package/{dist/api/resources/insurancePayments → serialization/resources/relatedCausesInformation}/index.js +0 -1
- package/serialization/resources/relatedCausesInformation/resources/v1/index.d.ts +1 -0
- package/serialization/resources/relatedCausesInformation/resources/v1/index.js +17 -0
- package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesCode.d.ts +7 -0
- package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesCode.js +39 -0
- package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformation.d.ts +12 -0
- package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformation.js +44 -0
- package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.d.ts +9 -0
- package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.js +40 -0
- package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.d.ts +9 -0
- package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.js +40 -0
- package/serialization/resources/relatedCausesInformation/resources/v1/types/index.d.ts +4 -0
- package/serialization/resources/relatedCausesInformation/resources/v1/types/index.js +20 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/insurancePayments/client/Client.d.ts +0 -14
- package/api/resources/insurancePayments/client/Client.js +0 -15
- package/api/resources/insurancePayments/client/index.d.ts +0 -1
- package/api/resources/insurancePayments/resources/v1/client/Client.d.ts +0 -38
- package/api/resources/insurancePayments/resources/v1/client/Client.js +0 -237
- package/api/resources/insurancePayments/resources/v1/client/get.d.ts +0 -31
- package/api/resources/insurancePayments/resources/v1/client/getMulti.d.ts +0 -31
- package/api/resources/insurancePayments/resources/v1/client/index.d.ts +0 -3
- package/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.d.ts +0 -18
- package/api/resources/insurancePayments/resources/v1/client/requests/index.d.ts +0 -1
- package/api/resources/insurancePayments/resources/v1/types/InsurancePayment.d.ts +0 -9
- package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentId.d.ts +0 -5
- package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.d.ts +0 -6
- package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.js +0 -9
- package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.d.ts +0 -4
- package/api/resources/insurancePayments/resources/v1/types/index.d.ts +0 -4
- package/dist/api/resources/insurancePayments/client/Client.d.ts +0 -14
- package/dist/api/resources/insurancePayments/client/Client.js +0 -15
- package/dist/api/resources/insurancePayments/client/index.d.ts +0 -1
- package/dist/api/resources/insurancePayments/client/index.js +0 -2
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.d.ts +0 -38
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +0 -237
- package/dist/api/resources/insurancePayments/resources/v1/client/get.d.ts +0 -31
- package/dist/api/resources/insurancePayments/resources/v1/client/getMulti.d.ts +0 -31
- package/dist/api/resources/insurancePayments/resources/v1/client/index.d.ts +0 -3
- package/dist/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.d.ts +0 -18
- package/dist/api/resources/insurancePayments/resources/v1/client/requests/index.d.ts +0 -1
- package/dist/api/resources/insurancePayments/resources/v1/client/requests/index.js +0 -2
- package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePayment.d.ts +0 -9
- package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentId.d.ts +0 -5
- package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.d.ts +0 -6
- package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.js +0 -9
- package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.d.ts +0 -4
- package/dist/api/resources/insurancePayments/resources/v1/types/index.d.ts +0 -4
- package/dist/api/resources/insurancePayments/resources/v1/types/index.js +0 -20
- package/dist/serialization/resources/insurancePayments/resources/v1/client/index.d.ts +0 -2
- package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePayment.d.ts +0 -17
- package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentId.d.ts +0 -7
- package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.d.ts +0 -7
- package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.d.ts +0 -11
- package/dist/serialization/resources/insurancePayments/resources/v1/types/index.d.ts +0 -4
- package/dist/serialization/resources/insurancePayments/resources/v1/types/index.js +0 -20
- package/serialization/resources/insurancePayments/resources/v1/client/index.d.ts +0 -2
- package/serialization/resources/insurancePayments/resources/v1/types/InsurancePayment.d.ts +0 -17
- package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentId.d.ts +0 -7
- package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.d.ts +0 -7
- package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.d.ts +0 -11
- package/serialization/resources/insurancePayments/resources/v1/types/index.d.ts +0 -4
- package/serialization/resources/insurancePayments/resources/v1/types/index.js +0 -20
- /package/api/resources/{insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.js → contracts/resources/v3/client/requests/ContractServiceFacilityCreate.js} +0 -0
- /package/api/resources/{insurancePayments/resources/v1/types/InsurancePayment.js → contracts/resources/v3/client/requests/ContractServiceFacilityUpdate.js} +0 -0
- /package/api/resources/{insurancePayments/resources/v1/types/InsurancePaymentsPage.js → contracts/resources/v3/client/requests/GetMultiContractsRequest.js} +0 -0
- /package/api/resources/{insurancePayments/client → contracts/resources/v3/client/requests}/index.js +0 -0
- /package/api/resources/{insurancePayments/resources/v1 → contracts/resources/v3}/index.d.ts +0 -0
- /package/api/resources/{insurancePayments/resources/v1 → contracts/resources/v3}/index.js +0 -0
- /package/{dist/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.js → api/resources/contracts/resources/v3/types/Contract.js} +0 -0
- /package/{dist/api/resources/insurancePayments/resources/v1/types/InsurancePayment.js → api/resources/contracts/resources/v3/types/ContractBase.js} +0 -0
- /package/{dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.js → api/resources/contracts/resources/v3/types/ContractCreate.js} +0 -0
- /package/{dist/serialization/resources/insurancePayments → api/resources/relatedCausesInformation}/index.d.ts +0 -0
- /package/{dist/serialization/resources/insurancePayments → api/resources/relatedCausesInformation}/index.js +0 -0
- /package/api/resources/{insurancePayments → relatedCausesInformation}/resources/index.d.ts +0 -0
- /package/api/resources/{insurancePayments → relatedCausesInformation}/resources/index.js +0 -0
- /package/{api/resources/insurancePayments/resources/v1 → dist/api/resources/contracts/resources/v3}/client/requests/index.js +0 -0
- /package/dist/api/resources/{insurancePayments/resources/v1 → contracts/resources/v3}/index.d.ts +0 -0
- /package/dist/api/resources/{insurancePayments/resources/v1 → contracts/resources/v3}/index.js +0 -0
- /package/{serialization/resources/insurancePayments → dist/api/resources/relatedCausesInformation}/index.d.ts +0 -0
- /package/{serialization/resources/insurancePayments → dist/api/resources/relatedCausesInformation}/index.js +0 -0
- /package/dist/api/resources/{insurancePayments → relatedCausesInformation}/resources/index.d.ts +0 -0
- /package/dist/api/resources/{insurancePayments → relatedCausesInformation}/resources/index.js +0 -0
- /package/dist/serialization/resources/{insurancePayments/resources/v1 → contracts/resources/v3}/index.d.ts +0 -0
- /package/dist/serialization/resources/{insurancePayments/resources/v1 → contracts/resources/v3}/index.js +0 -0
- /package/dist/serialization/resources/{insurancePayments → relatedCausesInformation}/resources/index.d.ts +0 -0
- /package/dist/serialization/resources/{insurancePayments → relatedCausesInformation}/resources/index.js +0 -0
- /package/serialization/resources/{insurancePayments/resources/v1 → contracts/resources/v3}/index.d.ts +0 -0
- /package/serialization/resources/{insurancePayments/resources/v1 → contracts/resources/v3}/index.js +0 -0
- /package/serialization/resources/{insurancePayments → relatedCausesInformation}/resources/index.d.ts +0 -0
- /package/serialization/resources/{insurancePayments → relatedCausesInformation}/resources/index.js +0 -0
package/Client.d.ts
CHANGED
|
@@ -20,7 +20,6 @@ import { Guarantor } from "./api/resources/guarantor/client/Client";
|
|
|
20
20
|
import { HealthCareCodeInformation } from "./api/resources/healthCareCodeInformation/client/Client";
|
|
21
21
|
import { ImportInvoice } from "./api/resources/importInvoice/client/Client";
|
|
22
22
|
import { InsuranceAdjudications } from "./api/resources/insuranceAdjudications/client/Client";
|
|
23
|
-
import { InsurancePayments } from "./api/resources/insurancePayments/client/Client";
|
|
24
23
|
import { InsuranceRefunds } from "./api/resources/insuranceRefunds/client/Client";
|
|
25
24
|
import { MedicationDispense } from "./api/resources/medicationDispense/client/Client";
|
|
26
25
|
import { NonInsurancePayerPayments } from "./api/resources/nonInsurancePayerPayments/client/Client";
|
|
@@ -72,7 +71,6 @@ export declare class CandidApiClient {
|
|
|
72
71
|
protected _healthCareCodeInformation: HealthCareCodeInformation | undefined;
|
|
73
72
|
protected _importInvoice: ImportInvoice | undefined;
|
|
74
73
|
protected _insuranceAdjudications: InsuranceAdjudications | undefined;
|
|
75
|
-
protected _insurancePayments: InsurancePayments | undefined;
|
|
76
74
|
protected _insuranceRefunds: InsuranceRefunds | undefined;
|
|
77
75
|
protected _medicationDispense: MedicationDispense | undefined;
|
|
78
76
|
protected _nonInsurancePayerPayments: NonInsurancePayerPayments | undefined;
|
|
@@ -113,7 +111,6 @@ export declare class CandidApiClient {
|
|
|
113
111
|
get healthCareCodeInformation(): HealthCareCodeInformation;
|
|
114
112
|
get importInvoice(): ImportInvoice;
|
|
115
113
|
get insuranceAdjudications(): InsuranceAdjudications;
|
|
116
|
-
get insurancePayments(): InsurancePayments;
|
|
117
114
|
get insuranceRefunds(): InsuranceRefunds;
|
|
118
115
|
get medicationDispense(): MedicationDispense;
|
|
119
116
|
get nonInsurancePayerPayments(): NonInsurancePayerPayments;
|
package/Client.js
CHANGED
|
@@ -67,24 +67,23 @@ const Client_20 = require("./api/resources/guarantor/client/Client");
|
|
|
67
67
|
const Client_21 = require("./api/resources/healthCareCodeInformation/client/Client");
|
|
68
68
|
const Client_22 = require("./api/resources/importInvoice/client/Client");
|
|
69
69
|
const Client_23 = require("./api/resources/insuranceAdjudications/client/Client");
|
|
70
|
-
const Client_24 = require("./api/resources/
|
|
71
|
-
const Client_25 = require("./api/resources/
|
|
72
|
-
const Client_26 = require("./api/resources/
|
|
73
|
-
const Client_27 = require("./api/resources/
|
|
74
|
-
const Client_28 = require("./api/resources/
|
|
75
|
-
const Client_29 = require("./api/resources/
|
|
76
|
-
const Client_30 = require("./api/resources/
|
|
77
|
-
const Client_31 = require("./api/resources/
|
|
78
|
-
const Client_32 = require("./api/resources/
|
|
79
|
-
const Client_33 = require("./api/resources/
|
|
80
|
-
const Client_34 = require("./api/resources/
|
|
81
|
-
const Client_35 = require("./api/resources/
|
|
82
|
-
const Client_36 = require("./api/resources/
|
|
83
|
-
const Client_37 = require("./api/resources/
|
|
84
|
-
const Client_38 = require("./api/resources/
|
|
85
|
-
const Client_39 = require("./api/resources/
|
|
86
|
-
const Client_40 = require("./api/resources/
|
|
87
|
-
const Client_41 = require("./api/resources/writeOffs/client/Client");
|
|
70
|
+
const Client_24 = require("./api/resources/insuranceRefunds/client/Client");
|
|
71
|
+
const Client_25 = require("./api/resources/medicationDispense/client/Client");
|
|
72
|
+
const Client_26 = require("./api/resources/nonInsurancePayerPayments/client/Client");
|
|
73
|
+
const Client_27 = require("./api/resources/nonInsurancePayerRefunds/client/Client");
|
|
74
|
+
const Client_28 = require("./api/resources/nonInsurancePayers/client/Client");
|
|
75
|
+
const Client_29 = require("./api/resources/organizationProviders/client/Client");
|
|
76
|
+
const Client_30 = require("./api/resources/organizationServiceFacilities/client/Client");
|
|
77
|
+
const Client_31 = require("./api/resources/patientAr/client/Client");
|
|
78
|
+
const Client_32 = require("./api/resources/patientPayments/client/Client");
|
|
79
|
+
const Client_33 = require("./api/resources/patientRefunds/client/Client");
|
|
80
|
+
const Client_34 = require("./api/resources/payerPlanGroups/client/Client");
|
|
81
|
+
const Client_35 = require("./api/resources/payers/client/Client");
|
|
82
|
+
const Client_36 = require("./api/resources/preEncounter/client/Client");
|
|
83
|
+
const Client_37 = require("./api/resources/serviceLines/client/Client");
|
|
84
|
+
const Client_38 = require("./api/resources/superbills/client/Client");
|
|
85
|
+
const Client_39 = require("./api/resources/tasks/client/Client");
|
|
86
|
+
const Client_40 = require("./api/resources/writeOffs/client/Client");
|
|
88
87
|
const core = __importStar(require("./core"));
|
|
89
88
|
const headers_1 = require("./core/headers");
|
|
90
89
|
class CandidApiClient {
|
|
@@ -92,8 +91,8 @@ class CandidApiClient {
|
|
|
92
91
|
this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_1.mergeHeaders)({
|
|
93
92
|
"X-Fern-Language": "JavaScript",
|
|
94
93
|
"X-Fern-SDK-Name": "candidhealth",
|
|
95
|
-
"X-Fern-SDK-Version": "1.
|
|
96
|
-
"User-Agent": "candidhealth/1.
|
|
94
|
+
"X-Fern-SDK-Version": "1.17.1",
|
|
95
|
+
"User-Agent": "candidhealth/1.17.1",
|
|
97
96
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
98
97
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
99
98
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -187,77 +186,73 @@ class CandidApiClient {
|
|
|
187
186
|
var _a;
|
|
188
187
|
return ((_a = this._insuranceAdjudications) !== null && _a !== void 0 ? _a : (this._insuranceAdjudications = new Client_23.InsuranceAdjudications(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
189
188
|
}
|
|
190
|
-
get insurancePayments() {
|
|
191
|
-
var _a;
|
|
192
|
-
return ((_a = this._insurancePayments) !== null && _a !== void 0 ? _a : (this._insurancePayments = new Client_24.InsurancePayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
193
|
-
}
|
|
194
189
|
get insuranceRefunds() {
|
|
195
190
|
var _a;
|
|
196
|
-
return ((_a = this._insuranceRefunds) !== null && _a !== void 0 ? _a : (this._insuranceRefunds = new
|
|
191
|
+
return ((_a = this._insuranceRefunds) !== null && _a !== void 0 ? _a : (this._insuranceRefunds = new Client_24.InsuranceRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
197
192
|
}
|
|
198
193
|
get medicationDispense() {
|
|
199
194
|
var _a;
|
|
200
|
-
return ((_a = this._medicationDispense) !== null && _a !== void 0 ? _a : (this._medicationDispense = new
|
|
195
|
+
return ((_a = this._medicationDispense) !== null && _a !== void 0 ? _a : (this._medicationDispense = new Client_25.MedicationDispense(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
201
196
|
}
|
|
202
197
|
get nonInsurancePayerPayments() {
|
|
203
198
|
var _a;
|
|
204
|
-
return ((_a = this._nonInsurancePayerPayments) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerPayments = new
|
|
199
|
+
return ((_a = this._nonInsurancePayerPayments) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerPayments = new Client_26.NonInsurancePayerPayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
205
200
|
}
|
|
206
201
|
get nonInsurancePayerRefunds() {
|
|
207
202
|
var _a;
|
|
208
|
-
return ((_a = this._nonInsurancePayerRefunds) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerRefunds = new
|
|
203
|
+
return ((_a = this._nonInsurancePayerRefunds) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerRefunds = new Client_27.NonInsurancePayerRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
209
204
|
}
|
|
210
205
|
get nonInsurancePayers() {
|
|
211
206
|
var _a;
|
|
212
|
-
return ((_a = this._nonInsurancePayers) !== null && _a !== void 0 ? _a : (this._nonInsurancePayers = new
|
|
207
|
+
return ((_a = this._nonInsurancePayers) !== null && _a !== void 0 ? _a : (this._nonInsurancePayers = new Client_28.NonInsurancePayers(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
213
208
|
}
|
|
214
209
|
get organizationProviders() {
|
|
215
210
|
var _a;
|
|
216
|
-
return ((_a = this._organizationProviders) !== null && _a !== void 0 ? _a : (this._organizationProviders = new
|
|
211
|
+
return ((_a = this._organizationProviders) !== null && _a !== void 0 ? _a : (this._organizationProviders = new Client_29.OrganizationProviders(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
217
212
|
}
|
|
218
213
|
get organizationServiceFacilities() {
|
|
219
214
|
var _a;
|
|
220
|
-
return ((_a = this._organizationServiceFacilities) !== null && _a !== void 0 ? _a : (this._organizationServiceFacilities = new
|
|
215
|
+
return ((_a = this._organizationServiceFacilities) !== null && _a !== void 0 ? _a : (this._organizationServiceFacilities = new Client_30.OrganizationServiceFacilities(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
221
216
|
}
|
|
222
217
|
get patientAr() {
|
|
223
218
|
var _a;
|
|
224
|
-
return ((_a = this._patientAr) !== null && _a !== void 0 ? _a : (this._patientAr = new
|
|
219
|
+
return ((_a = this._patientAr) !== null && _a !== void 0 ? _a : (this._patientAr = new Client_31.PatientAr(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
225
220
|
}
|
|
226
221
|
get patientPayments() {
|
|
227
222
|
var _a;
|
|
228
|
-
return ((_a = this._patientPayments) !== null && _a !== void 0 ? _a : (this._patientPayments = new
|
|
223
|
+
return ((_a = this._patientPayments) !== null && _a !== void 0 ? _a : (this._patientPayments = new Client_32.PatientPayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
229
224
|
}
|
|
230
225
|
get patientRefunds() {
|
|
231
226
|
var _a;
|
|
232
|
-
return ((_a = this._patientRefunds) !== null && _a !== void 0 ? _a : (this._patientRefunds = new
|
|
227
|
+
return ((_a = this._patientRefunds) !== null && _a !== void 0 ? _a : (this._patientRefunds = new Client_33.PatientRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
233
228
|
}
|
|
234
229
|
get payerPlanGroups() {
|
|
235
230
|
var _a;
|
|
236
|
-
return ((_a = this._payerPlanGroups) !== null && _a !== void 0 ? _a : (this._payerPlanGroups = new
|
|
231
|
+
return ((_a = this._payerPlanGroups) !== null && _a !== void 0 ? _a : (this._payerPlanGroups = new Client_34.PayerPlanGroups(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
237
232
|
}
|
|
238
233
|
get payers() {
|
|
239
234
|
var _a;
|
|
240
|
-
return ((_a = this._payers) !== null && _a !== void 0 ? _a : (this._payers = new
|
|
235
|
+
return ((_a = this._payers) !== null && _a !== void 0 ? _a : (this._payers = new Client_35.Payers(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
241
236
|
}
|
|
242
237
|
get serviceLines() {
|
|
243
238
|
var _a;
|
|
244
|
-
return ((_a = this._serviceLines) !== null && _a !== void 0 ? _a : (this._serviceLines = new
|
|
239
|
+
return ((_a = this._serviceLines) !== null && _a !== void 0 ? _a : (this._serviceLines = new Client_37.ServiceLines(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
245
240
|
}
|
|
246
241
|
get superbills() {
|
|
247
242
|
var _a;
|
|
248
|
-
return ((_a = this._superbills) !== null && _a !== void 0 ? _a : (this._superbills = new
|
|
243
|
+
return ((_a = this._superbills) !== null && _a !== void 0 ? _a : (this._superbills = new Client_38.Superbills(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
249
244
|
}
|
|
250
245
|
get tasks() {
|
|
251
246
|
var _a;
|
|
252
|
-
return ((_a = this._tasks) !== null && _a !== void 0 ? _a : (this._tasks = new
|
|
247
|
+
return ((_a = this._tasks) !== null && _a !== void 0 ? _a : (this._tasks = new Client_39.Tasks(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
253
248
|
}
|
|
254
249
|
get writeOffs() {
|
|
255
250
|
var _a;
|
|
256
|
-
return ((_a = this._writeOffs) !== null && _a !== void 0 ? _a : (this._writeOffs = new
|
|
251
|
+
return ((_a = this._writeOffs) !== null && _a !== void 0 ? _a : (this._writeOffs = new Client_40.WriteOffs(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
257
252
|
}
|
|
258
253
|
get preEncounter() {
|
|
259
254
|
var _a;
|
|
260
|
-
return ((_a = this._preEncounter) !== null && _a !== void 0 ? _a : (this._preEncounter = new
|
|
255
|
+
return ((_a = this._preEncounter) !== null && _a !== void 0 ? _a : (this._preEncounter = new Client_36.PreEncounter(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
261
256
|
}
|
|
262
257
|
get diagnoses() {
|
|
263
258
|
var _a;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { BaseClientOptions } from "../../../../BaseClient";
|
|
2
2
|
import type * as core from "../../../../core";
|
|
3
3
|
import { V2 } from "../resources/v2/client/Client";
|
|
4
|
+
import { V3 } from "../resources/v3/client/Client";
|
|
4
5
|
export declare namespace Contracts {
|
|
5
6
|
interface Options extends BaseClientOptions {
|
|
6
7
|
token?: core.Supplier<core.BearerToken | undefined>;
|
|
@@ -9,6 +10,8 @@ export declare namespace Contracts {
|
|
|
9
10
|
export declare class Contracts {
|
|
10
11
|
protected readonly _options: Contracts.Options;
|
|
11
12
|
protected _v2: V2 | undefined;
|
|
13
|
+
protected _v3: V3 | undefined;
|
|
12
14
|
constructor(_options?: Contracts.Options);
|
|
13
15
|
get v2(): V2;
|
|
16
|
+
get v3(): V3;
|
|
14
17
|
}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.Contracts = void 0;
|
|
5
5
|
const Client_1 = require("../resources/v2/client/Client");
|
|
6
|
+
const Client_2 = require("../resources/v3/client/Client");
|
|
6
7
|
class Contracts {
|
|
7
8
|
constructor(_options = {}) {
|
|
8
9
|
this._options = _options;
|
|
@@ -11,5 +12,9 @@ class Contracts {
|
|
|
11
12
|
var _a;
|
|
12
13
|
return ((_a = this._v2) !== null && _a !== void 0 ? _a : (this._v2 = new Client_1.V2(this._options)));
|
|
13
14
|
}
|
|
15
|
+
get v3() {
|
|
16
|
+
var _a;
|
|
17
|
+
return ((_a = this._v3) !== null && _a !== void 0 ? _a : (this._v3 = new Client_2.V3(this._options)));
|
|
18
|
+
}
|
|
14
19
|
}
|
|
15
20
|
exports.Contracts = Contracts;
|
|
@@ -33,5 +33,6 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.v2 = void 0;
|
|
36
|
+
exports.v3 = exports.v2 = void 0;
|
|
37
37
|
exports.v2 = __importStar(require("./v2"));
|
|
38
|
+
exports.v3 = __importStar(require("./v3"));
|
|
@@ -12,6 +12,8 @@ export declare class V2 {
|
|
|
12
12
|
protected readonly _options: V2.Options;
|
|
13
13
|
constructor(_options?: V2.Options);
|
|
14
14
|
/**
|
|
15
|
+
* This API provides access to Professional Contracts. For Professional and Institutional Contracts use Contracts V3.
|
|
16
|
+
*
|
|
15
17
|
* @param {CandidApi.contracts.v2.ContractId} contractId
|
|
16
18
|
* @param {V2.RequestOptions} requestOptions - Request-specific configuration.
|
|
17
19
|
*
|
|
@@ -21,6 +23,8 @@ export declare class V2 {
|
|
|
21
23
|
get(contractId: CandidApi.contracts.v2.ContractId, requestOptions?: V2.RequestOptions): core.HttpResponsePromise<core.APIResponse<CandidApi.contracts.v2.ContractWithProviders, CandidApi.contracts.v2.get.Error>>;
|
|
22
24
|
private __get;
|
|
23
25
|
/**
|
|
26
|
+
* This API provides access to Professional Contracts. For Professional and Institutional Contracts use Contracts V3.
|
|
27
|
+
*
|
|
24
28
|
* @param {CandidApi.contracts.v2.GetMultiContractsRequest} request
|
|
25
29
|
* @param {V2.RequestOptions} requestOptions - Request-specific configuration.
|
|
26
30
|
*
|
|
@@ -54,6 +54,8 @@ class V2 {
|
|
|
54
54
|
this._options = _options;
|
|
55
55
|
}
|
|
56
56
|
/**
|
|
57
|
+
* This API provides access to Professional Contracts. For Professional and Institutional Contracts use Contracts V3.
|
|
58
|
+
*
|
|
57
59
|
* @param {CandidApi.contracts.v2.ContractId} contractId
|
|
58
60
|
* @param {V2.RequestOptions} requestOptions - Request-specific configuration.
|
|
59
61
|
*
|
|
@@ -121,6 +123,8 @@ class V2 {
|
|
|
121
123
|
});
|
|
122
124
|
}
|
|
123
125
|
/**
|
|
126
|
+
* This API provides access to Professional Contracts. For Professional and Institutional Contracts use Contracts V3.
|
|
127
|
+
*
|
|
124
128
|
* @param {CandidApi.contracts.v2.GetMultiContractsRequest} request
|
|
125
129
|
* @param {V2.RequestOptions} requestOptions - Request-specific configuration.
|
|
126
130
|
*
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient";
|
|
2
|
+
import * as core from "../../../../../../core";
|
|
3
|
+
import * as CandidApi from "../../../../../index";
|
|
4
|
+
export declare namespace V3 {
|
|
5
|
+
interface Options extends BaseClientOptions {
|
|
6
|
+
token?: core.Supplier<core.BearerToken | undefined>;
|
|
7
|
+
}
|
|
8
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
export declare class V3 {
|
|
12
|
+
protected readonly _options: V3.Options;
|
|
13
|
+
constructor(_options?: V3.Options);
|
|
14
|
+
/**
|
|
15
|
+
* @param {CandidApi.contracts.v3.ContractId} contractId
|
|
16
|
+
* @param {V3.RequestOptions} requestOptions - Request-specific configuration.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* await client.contracts.v3.get(CandidApi.contracts.v3.ContractId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
|
|
20
|
+
*/
|
|
21
|
+
get(contractId: CandidApi.contracts.v3.ContractId, requestOptions?: V3.RequestOptions): core.HttpResponsePromise<core.APIResponse<CandidApi.contracts.v3.ContractWithProvidersUnion, CandidApi.contracts.v3.get.Error>>;
|
|
22
|
+
private __get;
|
|
23
|
+
/**
|
|
24
|
+
* @param {CandidApi.contracts.v3.GetMultiContractsRequest} request
|
|
25
|
+
* @param {V3.RequestOptions} requestOptions - Request-specific configuration.
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* await client.contracts.v3.getMulti()
|
|
29
|
+
*/
|
|
30
|
+
getMulti(request?: CandidApi.contracts.v3.GetMultiContractsRequest, requestOptions?: V3.RequestOptions): core.HttpResponsePromise<core.APIResponse<CandidApi.contracts.v3.ContractsPage, CandidApi.contracts.v3.getMulti.Error>>;
|
|
31
|
+
private __getMulti;
|
|
32
|
+
/**
|
|
33
|
+
* Creates a new contract within the user's current organization
|
|
34
|
+
*
|
|
35
|
+
* @param {CandidApi.contracts.v3.ContractCreateUnion} request
|
|
36
|
+
* @param {V3.RequestOptions} requestOptions - Request-specific configuration.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* await client.contracts.v3.create({
|
|
40
|
+
* type: "professional",
|
|
41
|
+
* renderingProviderIds: new Set([CandidApi.contracts.v3.RenderingProviderid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]),
|
|
42
|
+
* contractType: "professional",
|
|
43
|
+
* contractingProviderId: CandidApi.contracts.v3.ContractingProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
44
|
+
* payerUuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
|
45
|
+
* effectiveDate: CandidApi.Date_("effective_date"),
|
|
46
|
+
* regions: {
|
|
47
|
+
* type: "states",
|
|
48
|
+
* states: ["AA", "AA"]
|
|
49
|
+
* },
|
|
50
|
+
* commercialInsuranceTypes: {
|
|
51
|
+
* type: "allApply"
|
|
52
|
+
* },
|
|
53
|
+
* medicareInsuranceTypes: {
|
|
54
|
+
* type: "allApply"
|
|
55
|
+
* },
|
|
56
|
+
* medicaidInsuranceTypes: {
|
|
57
|
+
* type: "allApply"
|
|
58
|
+
* }
|
|
59
|
+
* })
|
|
60
|
+
*/
|
|
61
|
+
create(request: CandidApi.contracts.v3.ContractCreateUnion, requestOptions?: V3.RequestOptions): core.HttpResponsePromise<core.APIResponse<CandidApi.contracts.v3.ContractWithProvidersUnion, CandidApi.contracts.v3.create.Error>>;
|
|
62
|
+
private __create;
|
|
63
|
+
/**
|
|
64
|
+
* @param {CandidApi.contracts.v3.ContractId} contractId
|
|
65
|
+
* @param {V3.RequestOptions} requestOptions - Request-specific configuration.
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* await client.contracts.v3.delete(CandidApi.contracts.v3.ContractId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
|
|
69
|
+
*/
|
|
70
|
+
delete(contractId: CandidApi.contracts.v3.ContractId, requestOptions?: V3.RequestOptions): core.HttpResponsePromise<core.APIResponse<void, CandidApi.contracts.v3.delete.Error>>;
|
|
71
|
+
private __delete;
|
|
72
|
+
/**
|
|
73
|
+
* @param {CandidApi.contracts.v3.ContractId} contractId
|
|
74
|
+
* @param {CandidApi.contracts.v3.ContractUpdateUnion} request
|
|
75
|
+
* @param {V3.RequestOptions} requestOptions - Request-specific configuration.
|
|
76
|
+
*
|
|
77
|
+
* @example
|
|
78
|
+
* await client.contracts.v3.update(CandidApi.contracts.v3.ContractId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
79
|
+
* type: "professional"
|
|
80
|
+
* })
|
|
81
|
+
*/
|
|
82
|
+
update(contractId: CandidApi.contracts.v3.ContractId, request: CandidApi.contracts.v3.ContractUpdateUnion, requestOptions?: V3.RequestOptions): core.HttpResponsePromise<core.APIResponse<CandidApi.contracts.v3.ContractWithProvidersUnion, CandidApi.contracts.v3.update.Error>>;
|
|
83
|
+
private __update;
|
|
84
|
+
/**
|
|
85
|
+
* @param {CandidApi.contracts.v3.ContractId} contractId
|
|
86
|
+
* @param {CandidApi.contracts.v3.ContractServiceFacilityCreate} request
|
|
87
|
+
* @param {V3.RequestOptions} requestOptions - Request-specific configuration.
|
|
88
|
+
*
|
|
89
|
+
* @example
|
|
90
|
+
* await client.contracts.v3.createContractServiceFacility(CandidApi.contracts.v3.ContractId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
91
|
+
* serviceFacilityId: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
|
92
|
+
* providerIds: new Set(["d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"])
|
|
93
|
+
* })
|
|
94
|
+
*/
|
|
95
|
+
createContractServiceFacility(contractId: CandidApi.contracts.v3.ContractId, request: CandidApi.contracts.v3.ContractServiceFacilityCreate, requestOptions?: V3.RequestOptions): core.HttpResponsePromise<core.APIResponse<CandidApi.contracts.v3.ContractServiceFacility, CandidApi.contracts.v3.createContractServiceFacility.Error>>;
|
|
96
|
+
private __createContractServiceFacility;
|
|
97
|
+
/**
|
|
98
|
+
* @param {CandidApi.contracts.v3.ContractId} contractId
|
|
99
|
+
* @param {CandidApi.contracts.v3.ContractServiceFacilityId} contractServiceFacilityId
|
|
100
|
+
* @param {CandidApi.contracts.v3.ContractServiceFacilityUpdate} request
|
|
101
|
+
* @param {V3.RequestOptions} requestOptions - Request-specific configuration.
|
|
102
|
+
*
|
|
103
|
+
* @example
|
|
104
|
+
* await client.contracts.v3.updateContractServiceFacility(CandidApi.contracts.v3.ContractId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), CandidApi.contracts.v3.ContractServiceFacilityId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
|
|
105
|
+
*/
|
|
106
|
+
updateContractServiceFacility(contractId: CandidApi.contracts.v3.ContractId, contractServiceFacilityId: CandidApi.contracts.v3.ContractServiceFacilityId, request?: CandidApi.contracts.v3.ContractServiceFacilityUpdate, requestOptions?: V3.RequestOptions): core.HttpResponsePromise<core.APIResponse<CandidApi.contracts.v3.ContractServiceFacility, CandidApi.contracts.v3.updateContractServiceFacility.Error>>;
|
|
107
|
+
private __updateContractServiceFacility;
|
|
108
|
+
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
109
|
+
}
|