candidhealth 1.15.0 → 1.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.d.ts +3 -0
- package/Client.js +59 -54
- package/api/resources/commons/types/BadRequestErrorMessage.d.ts +3 -0
- package/api/resources/commons/types/BadRequestErrorMessage.js +3 -0
- package/api/resources/commons/types/InternalErrorMessage.d.ts +3 -0
- package/api/resources/commons/types/InternalErrorMessage.js +3 -0
- package/api/resources/commons/types/index.d.ts +2 -0
- package/api/resources/commons/types/index.js +2 -0
- 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/api/resources/contracts/resources/v3/client/get.js +66 -0
- 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/api/resources/contracts/resources/v3/client/index.js +47 -0
- package/api/resources/contracts/resources/v3/client/requests/ContractServiceFacilityCreate.d.ts +10 -0
- package/api/resources/contracts/resources/v3/client/requests/ContractServiceFacilityCreate.js +3 -0
- package/api/resources/contracts/resources/v3/client/requests/ContractServiceFacilityUpdate.d.ts +10 -0
- package/api/resources/contracts/resources/v3/client/requests/ContractServiceFacilityUpdate.js +3 -0
- package/api/resources/contracts/resources/v3/client/requests/GetMultiContractsRequest.d.ts +23 -0
- package/api/resources/contracts/resources/v3/client/requests/GetMultiContractsRequest.js +3 -0
- package/api/resources/contracts/resources/v3/client/requests/index.d.ts +3 -0
- package/api/resources/contracts/resources/v3/client/requests/index.js +2 -0
- package/api/resources/contracts/resources/v3/client/update.d.ts +31 -0
- package/api/resources/contracts/resources/v3/client/update.js +77 -0
- 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/index.d.ts +2 -0
- package/api/resources/contracts/resources/v3/index.js +18 -0
- package/api/resources/contracts/resources/v3/types/Contract.d.ts +10 -0
- package/api/resources/contracts/resources/v3/types/Contract.js +3 -0
- package/api/resources/contracts/resources/v3/types/ContractBase.d.ts +20 -0
- package/api/resources/contracts/resources/v3/types/ContractBase.js +3 -0
- package/api/resources/contracts/resources/v3/types/ContractCreate.d.ts +9 -0
- package/api/resources/contracts/resources/v3/types/ContractCreate.js +3 -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/api/resources/contracts/resources/v3/types/ContractId.js +7 -0
- 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/events/client/Client.d.ts +14 -0
- package/api/resources/events/client/Client.js +15 -0
- package/api/resources/events/client/index.d.ts +1 -0
- package/api/resources/events/client/index.js +2 -0
- package/api/resources/events/index.d.ts +2 -0
- package/api/resources/events/index.js +18 -0
- package/api/resources/events/resources/index.d.ts +1 -0
- package/api/resources/events/resources/index.js +37 -0
- package/api/resources/events/resources/v1/client/Client.d.ts +35 -0
- package/api/resources/events/resources/v1/client/Client.js +227 -0
- package/api/resources/events/resources/v1/client/get.d.ts +37 -0
- package/api/resources/events/resources/v1/client/get.js +88 -0
- package/api/resources/events/resources/v1/client/index.d.ts +3 -0
- package/api/resources/events/resources/v1/client/index.js +42 -0
- package/api/resources/events/resources/v1/client/requests/GetEventScanRequest.d.ts +16 -0
- package/api/resources/events/resources/v1/client/requests/GetEventScanRequest.js +3 -0
- package/api/resources/events/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/events/resources/v1/client/requests/index.js +2 -0
- package/api/resources/events/resources/v1/client/scan.d.ts +31 -0
- package/api/resources/events/resources/v1/client/scan.js +77 -0
- package/api/resources/events/resources/v1/index.d.ts +2 -0
- package/api/resources/events/resources/v1/index.js +18 -0
- package/api/resources/events/resources/v1/types/Event.d.ts +9 -0
- package/api/resources/events/resources/v1/types/Event.js +3 -0
- package/api/resources/events/resources/v1/types/EventId.d.ts +5 -0
- package/api/resources/events/resources/v1/types/EventId.js +7 -0
- package/api/resources/events/resources/v1/types/EventScanPage.d.ts +5 -0
- package/api/resources/events/resources/v1/types/EventScanPage.js +3 -0
- package/api/resources/events/resources/v1/types/index.d.ts +3 -0
- package/api/resources/events/resources/v1/types/index.js +19 -0
- 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 -0
- package/api/resources/index.js +3 -2
- package/api/resources/patientAr/resources/v1/client/Client.d.ts +0 -4
- package/api/resources/patientAr/resources/v1/client/Client.js +0 -4
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +59 -54
- package/dist/api/resources/commons/types/BadRequestErrorMessage.d.ts +3 -0
- package/dist/api/resources/commons/types/BadRequestErrorMessage.js +3 -0
- package/dist/api/resources/commons/types/InternalErrorMessage.d.ts +3 -0
- package/dist/api/resources/commons/types/InternalErrorMessage.js +3 -0
- package/dist/api/resources/commons/types/index.d.ts +2 -0
- package/dist/api/resources/commons/types/index.js +2 -0
- package/dist/api/resources/contracts/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/dist/api/resources/contracts/resources/v3/client/get.js +66 -0
- 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/requests/index.js +2 -0
- package/dist/api/resources/contracts/resources/v3/client/update.d.ts +31 -0
- package/dist/api/resources/contracts/resources/v3/client/update.js +77 -0
- 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/index.d.ts +2 -0
- package/dist/api/resources/contracts/resources/v3/index.js +18 -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/dist/api/resources/contracts/resources/v3/types/ContractId.js +7 -0
- 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/events/client/Client.d.ts +14 -0
- package/dist/api/resources/events/client/Client.js +15 -0
- package/dist/api/resources/events/client/index.d.ts +1 -0
- package/dist/api/resources/events/client/index.js +2 -0
- package/dist/api/resources/events/index.d.ts +2 -0
- package/dist/api/resources/events/index.js +18 -0
- package/dist/api/resources/events/resources/index.d.ts +1 -0
- package/dist/api/resources/events/resources/index.js +37 -0
- package/dist/api/resources/events/resources/v1/client/Client.d.ts +35 -0
- package/dist/api/resources/events/resources/v1/client/Client.js +227 -0
- package/dist/api/resources/events/resources/v1/client/get.d.ts +37 -0
- package/dist/api/resources/events/resources/v1/client/get.js +88 -0
- package/dist/api/resources/events/resources/v1/client/index.d.ts +3 -0
- package/dist/api/resources/events/resources/v1/client/index.js +42 -0
- package/dist/api/resources/events/resources/v1/client/requests/GetEventScanRequest.d.ts +16 -0
- package/dist/api/resources/events/resources/v1/client/requests/GetEventScanRequest.js +3 -0
- package/dist/api/resources/events/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/api/resources/events/resources/v1/client/requests/index.js +2 -0
- package/dist/api/resources/events/resources/v1/client/scan.d.ts +31 -0
- package/dist/api/resources/events/resources/v1/client/scan.js +77 -0
- package/dist/api/resources/events/resources/v1/index.d.ts +2 -0
- package/dist/api/resources/events/resources/v1/index.js +18 -0
- package/dist/api/resources/events/resources/v1/types/Event.d.ts +9 -0
- package/dist/api/resources/events/resources/v1/types/Event.js +3 -0
- package/dist/api/resources/events/resources/v1/types/EventId.d.ts +5 -0
- package/dist/api/resources/events/resources/v1/types/EventId.js +7 -0
- package/dist/api/resources/events/resources/v1/types/EventScanPage.d.ts +5 -0
- package/dist/api/resources/events/resources/v1/types/EventScanPage.js +3 -0
- package/dist/api/resources/events/resources/v1/types/index.d.ts +3 -0
- package/dist/api/resources/events/resources/v1/types/index.js +19 -0
- 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 -0
- package/dist/api/resources/index.js +3 -2
- package/dist/api/resources/patientAr/resources/v1/client/Client.d.ts +0 -4
- package/dist/api/resources/patientAr/resources/v1/client/Client.js +0 -4
- package/dist/serialization/resources/commons/types/BadRequestErrorMessage.d.ts +9 -0
- package/dist/serialization/resources/commons/types/BadRequestErrorMessage.js +41 -0
- package/dist/serialization/resources/commons/types/InternalErrorMessage.d.ts +9 -0
- package/dist/serialization/resources/commons/types/InternalErrorMessage.js +41 -0
- package/dist/serialization/resources/commons/types/index.d.ts +2 -0
- package/dist/serialization/resources/commons/types/index.js +2 -0
- package/dist/serialization/resources/contracts/resources/index.d.ts +1 -0
- package/dist/serialization/resources/contracts/resources/index.js +2 -1
- package/dist/serialization/resources/contracts/resources/v3/client/createContractServiceFacility.d.ts +12 -0
- package/dist/serialization/resources/contracts/resources/v3/client/createContractServiceFacility.js +69 -0
- 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/contracts/resources/v3/client/get.d.ts +12 -0
- package/dist/serialization/resources/contracts/resources/v3/client/get.js +69 -0
- package/dist/serialization/resources/contracts/resources/v3/client/index.d.ts +6 -0
- package/dist/serialization/resources/contracts/resources/v3/client/index.js +45 -0
- 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/dist/serialization/resources/contracts/resources/v3/client/updateContractServiceFacility.d.ts +12 -0
- package/dist/serialization/resources/contracts/resources/v3/client/updateContractServiceFacility.js +69 -0
- package/dist/serialization/resources/contracts/resources/v3/index.d.ts +2 -0
- package/dist/serialization/resources/contracts/resources/v3/index.js +18 -0
- package/dist/serialization/resources/contracts/resources/v3/types/Contract.d.ts +16 -0
- package/dist/serialization/resources/contracts/resources/v3/types/Contract.js +50 -0
- 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/contracts/resources/v3/types/ContractId.js +43 -0
- 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/contracts/resources/v3/types/ContractType.js +39 -0
- 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/dist/serialization/resources/contracts/resources/v3/types/ContractsPage.js +45 -0
- 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/dist/serialization/resources/contracts/resources/v3/types/RenderingProviderid.js +43 -0
- 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/events/index.d.ts +1 -0
- package/dist/serialization/resources/events/index.js +17 -0
- package/dist/serialization/resources/events/resources/index.d.ts +1 -0
- package/dist/serialization/resources/events/resources/index.js +37 -0
- package/dist/serialization/resources/events/resources/v1/client/get.d.ts +22 -0
- package/dist/serialization/resources/events/resources/v1/client/get.js +81 -0
- package/dist/serialization/resources/events/resources/v1/client/index.d.ts +2 -0
- package/dist/serialization/resources/events/resources/v1/client/index.js +38 -0
- package/dist/serialization/resources/events/resources/v1/client/scan.d.ts +17 -0
- package/dist/serialization/resources/events/resources/v1/client/scan.js +75 -0
- package/dist/serialization/resources/events/resources/v1/index.d.ts +2 -0
- package/dist/serialization/resources/events/resources/v1/index.js +18 -0
- package/dist/serialization/resources/events/resources/v1/types/Event.d.ts +15 -0
- package/dist/serialization/resources/events/resources/v1/types/Event.js +47 -0
- package/dist/serialization/resources/events/resources/v1/types/EventId.d.ts +7 -0
- package/dist/serialization/resources/events/resources/v1/types/EventId.js +43 -0
- package/dist/serialization/resources/events/resources/v1/types/EventScanPage.d.ts +12 -0
- package/dist/serialization/resources/events/resources/v1/types/EventScanPage.js +44 -0
- package/dist/serialization/resources/events/resources/v1/types/index.d.ts +3 -0
- package/dist/serialization/resources/events/resources/v1/types/index.js +19 -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 -0
- package/dist/serialization/resources/index.js +3 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +574 -22
- package/serialization/resources/commons/types/BadRequestErrorMessage.d.ts +9 -0
- package/serialization/resources/commons/types/BadRequestErrorMessage.js +41 -0
- package/serialization/resources/commons/types/InternalErrorMessage.d.ts +9 -0
- package/serialization/resources/commons/types/InternalErrorMessage.js +41 -0
- package/serialization/resources/commons/types/index.d.ts +2 -0
- package/serialization/resources/commons/types/index.js +2 -0
- package/serialization/resources/contracts/resources/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/contracts/resources/v3/client/get.d.ts +12 -0
- package/serialization/resources/contracts/resources/v3/client/get.js +69 -0
- package/serialization/resources/contracts/resources/v3/client/index.d.ts +6 -0
- package/serialization/resources/contracts/resources/v3/client/index.js +45 -0
- 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/index.d.ts +2 -0
- package/serialization/resources/contracts/resources/v3/index.js +18 -0
- package/serialization/resources/contracts/resources/v3/types/Contract.d.ts +16 -0
- package/serialization/resources/contracts/resources/v3/types/Contract.js +50 -0
- 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/serialization/resources/contracts/resources/v3/types/ContractType.js +39 -0
- 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/serialization/resources/contracts/resources/v3/types/ContractsPage.js +45 -0
- 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/events/index.d.ts +1 -0
- package/serialization/resources/events/index.js +17 -0
- package/serialization/resources/events/resources/index.d.ts +1 -0
- package/serialization/resources/events/resources/index.js +37 -0
- package/serialization/resources/events/resources/v1/client/get.d.ts +22 -0
- package/serialization/resources/events/resources/v1/client/get.js +81 -0
- package/serialization/resources/events/resources/v1/client/index.d.ts +2 -0
- package/serialization/resources/events/resources/v1/client/index.js +38 -0
- package/serialization/resources/events/resources/v1/client/scan.d.ts +17 -0
- package/serialization/resources/events/resources/v1/client/scan.js +75 -0
- package/serialization/resources/events/resources/v1/index.d.ts +2 -0
- package/serialization/resources/events/resources/v1/index.js +18 -0
- package/serialization/resources/events/resources/v1/types/Event.d.ts +15 -0
- package/serialization/resources/events/resources/v1/types/Event.js +47 -0
- package/serialization/resources/events/resources/v1/types/EventId.d.ts +7 -0
- package/serialization/resources/events/resources/v1/types/EventId.js +43 -0
- package/serialization/resources/events/resources/v1/types/EventScanPage.d.ts +12 -0
- package/serialization/resources/events/resources/v1/types/EventScanPage.js +44 -0
- package/serialization/resources/events/resources/v1/types/index.d.ts +3 -0
- package/serialization/resources/events/resources/v1/types/index.js +19 -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 -0
- package/serialization/resources/index.js +3 -2
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/Client.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ import { EncounterAttachments } from "./api/resources/encounterAttachments/clien
|
|
|
11
11
|
import { EncounterProviders } from "./api/resources/encounterProviders/client/Client";
|
|
12
12
|
import { EncounterSupplementalInformation } from "./api/resources/encounterSupplementalInformation/client/Client";
|
|
13
13
|
import { Encounters } from "./api/resources/encounters/client/Client";
|
|
14
|
+
import { Events } from "./api/resources/events/client/Client";
|
|
14
15
|
import { ExpectedNetworkStatus } from "./api/resources/expectedNetworkStatus/client/Client";
|
|
15
16
|
import { Exports } from "./api/resources/exports/client/Client";
|
|
16
17
|
import { ExternalPaymentAccountConfig } from "./api/resources/externalPaymentAccountConfig/client/Client";
|
|
@@ -62,6 +63,7 @@ export declare class CandidApiClient {
|
|
|
62
63
|
protected _encounterProviders: EncounterProviders | undefined;
|
|
63
64
|
protected _encounterSupplementalInformation: EncounterSupplementalInformation | undefined;
|
|
64
65
|
protected _encounters: Encounters | undefined;
|
|
66
|
+
protected _events: Events | undefined;
|
|
65
67
|
protected _expectedNetworkStatus: ExpectedNetworkStatus | undefined;
|
|
66
68
|
protected _exports: Exports | undefined;
|
|
67
69
|
protected _externalPaymentAccountConfig: ExternalPaymentAccountConfig | undefined;
|
|
@@ -102,6 +104,7 @@ export declare class CandidApiClient {
|
|
|
102
104
|
get encounterProviders(): EncounterProviders;
|
|
103
105
|
get encounterSupplementalInformation(): EncounterSupplementalInformation;
|
|
104
106
|
get encounters(): Encounters;
|
|
107
|
+
get events(): Events;
|
|
105
108
|
get expectedNetworkStatus(): ExpectedNetworkStatus;
|
|
106
109
|
get exports(): Exports;
|
|
107
110
|
get externalPaymentAccountConfig(): ExternalPaymentAccountConfig;
|
package/Client.js
CHANGED
|
@@ -58,32 +58,33 @@ const Client_11 = require("./api/resources/encounterAttachments/client/Client");
|
|
|
58
58
|
const Client_12 = require("./api/resources/encounterProviders/client/Client");
|
|
59
59
|
const Client_13 = require("./api/resources/encounterSupplementalInformation/client/Client");
|
|
60
60
|
const Client_14 = require("./api/resources/encounters/client/Client");
|
|
61
|
-
const Client_15 = require("./api/resources/
|
|
62
|
-
const Client_16 = require("./api/resources/
|
|
63
|
-
const Client_17 = require("./api/resources/
|
|
64
|
-
const Client_18 = require("./api/resources/
|
|
65
|
-
const Client_19 = require("./api/resources/
|
|
66
|
-
const Client_20 = require("./api/resources/
|
|
67
|
-
const Client_21 = require("./api/resources/
|
|
68
|
-
const Client_22 = require("./api/resources/
|
|
69
|
-
const Client_23 = require("./api/resources/
|
|
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/
|
|
61
|
+
const Client_15 = require("./api/resources/events/client/Client");
|
|
62
|
+
const Client_16 = require("./api/resources/expectedNetworkStatus/client/Client");
|
|
63
|
+
const Client_17 = require("./api/resources/exports/client/Client");
|
|
64
|
+
const Client_18 = require("./api/resources/externalPaymentAccountConfig/client/Client");
|
|
65
|
+
const Client_19 = require("./api/resources/feeSchedules/client/Client");
|
|
66
|
+
const Client_20 = require("./api/resources/guarantor/client/Client");
|
|
67
|
+
const Client_21 = require("./api/resources/healthCareCodeInformation/client/Client");
|
|
68
|
+
const Client_22 = require("./api/resources/importInvoice/client/Client");
|
|
69
|
+
const Client_23 = require("./api/resources/insuranceAdjudications/client/Client");
|
|
70
|
+
const Client_24 = require("./api/resources/insurancePayments/client/Client");
|
|
71
|
+
const Client_25 = require("./api/resources/insuranceRefunds/client/Client");
|
|
72
|
+
const Client_26 = require("./api/resources/medicationDispense/client/Client");
|
|
73
|
+
const Client_27 = require("./api/resources/nonInsurancePayerPayments/client/Client");
|
|
74
|
+
const Client_28 = require("./api/resources/nonInsurancePayerRefunds/client/Client");
|
|
75
|
+
const Client_29 = require("./api/resources/nonInsurancePayers/client/Client");
|
|
76
|
+
const Client_30 = require("./api/resources/organizationProviders/client/Client");
|
|
77
|
+
const Client_31 = require("./api/resources/organizationServiceFacilities/client/Client");
|
|
78
|
+
const Client_32 = require("./api/resources/patientAr/client/Client");
|
|
79
|
+
const Client_33 = require("./api/resources/patientPayments/client/Client");
|
|
80
|
+
const Client_34 = require("./api/resources/patientRefunds/client/Client");
|
|
81
|
+
const Client_35 = require("./api/resources/payerPlanGroups/client/Client");
|
|
82
|
+
const Client_36 = require("./api/resources/payers/client/Client");
|
|
83
|
+
const Client_37 = require("./api/resources/preEncounter/client/Client");
|
|
84
|
+
const Client_38 = require("./api/resources/serviceLines/client/Client");
|
|
85
|
+
const Client_39 = require("./api/resources/superbills/client/Client");
|
|
86
|
+
const Client_40 = require("./api/resources/tasks/client/Client");
|
|
87
|
+
const Client_41 = require("./api/resources/writeOffs/client/Client");
|
|
87
88
|
const core = __importStar(require("./core"));
|
|
88
89
|
const headers_1 = require("./core/headers");
|
|
89
90
|
class CandidApiClient {
|
|
@@ -91,8 +92,8 @@ class CandidApiClient {
|
|
|
91
92
|
this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_1.mergeHeaders)({
|
|
92
93
|
"X-Fern-Language": "JavaScript",
|
|
93
94
|
"X-Fern-SDK-Name": "candidhealth",
|
|
94
|
-
"X-Fern-SDK-Version": "1.
|
|
95
|
-
"User-Agent": "candidhealth/1.
|
|
95
|
+
"X-Fern-SDK-Version": "1.17.0",
|
|
96
|
+
"User-Agent": "candidhealth/1.17.0",
|
|
96
97
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
97
98
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
98
99
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -150,109 +151,113 @@ class CandidApiClient {
|
|
|
150
151
|
var _a;
|
|
151
152
|
return ((_a = this._encounters) !== null && _a !== void 0 ? _a : (this._encounters = new Client_14.Encounters(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
152
153
|
}
|
|
154
|
+
get events() {
|
|
155
|
+
var _a;
|
|
156
|
+
return ((_a = this._events) !== null && _a !== void 0 ? _a : (this._events = new Client_15.Events(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
157
|
+
}
|
|
153
158
|
get expectedNetworkStatus() {
|
|
154
159
|
var _a;
|
|
155
|
-
return ((_a = this._expectedNetworkStatus) !== null && _a !== void 0 ? _a : (this._expectedNetworkStatus = new
|
|
160
|
+
return ((_a = this._expectedNetworkStatus) !== null && _a !== void 0 ? _a : (this._expectedNetworkStatus = new Client_16.ExpectedNetworkStatus(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
156
161
|
}
|
|
157
162
|
get exports() {
|
|
158
163
|
var _a;
|
|
159
|
-
return ((_a = this._exports) !== null && _a !== void 0 ? _a : (this._exports = new
|
|
164
|
+
return ((_a = this._exports) !== null && _a !== void 0 ? _a : (this._exports = new Client_17.Exports(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
160
165
|
}
|
|
161
166
|
get externalPaymentAccountConfig() {
|
|
162
167
|
var _a;
|
|
163
|
-
return ((_a = this._externalPaymentAccountConfig) !== null && _a !== void 0 ? _a : (this._externalPaymentAccountConfig = new
|
|
168
|
+
return ((_a = this._externalPaymentAccountConfig) !== null && _a !== void 0 ? _a : (this._externalPaymentAccountConfig = new Client_18.ExternalPaymentAccountConfig(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
164
169
|
}
|
|
165
170
|
get feeSchedules() {
|
|
166
171
|
var _a;
|
|
167
|
-
return ((_a = this._feeSchedules) !== null && _a !== void 0 ? _a : (this._feeSchedules = new
|
|
172
|
+
return ((_a = this._feeSchedules) !== null && _a !== void 0 ? _a : (this._feeSchedules = new Client_19.FeeSchedules(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
168
173
|
}
|
|
169
174
|
get guarantor() {
|
|
170
175
|
var _a;
|
|
171
|
-
return ((_a = this._guarantor) !== null && _a !== void 0 ? _a : (this._guarantor = new
|
|
176
|
+
return ((_a = this._guarantor) !== null && _a !== void 0 ? _a : (this._guarantor = new Client_20.Guarantor(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
172
177
|
}
|
|
173
178
|
get healthCareCodeInformation() {
|
|
174
179
|
var _a;
|
|
175
|
-
return ((_a = this._healthCareCodeInformation) !== null && _a !== void 0 ? _a : (this._healthCareCodeInformation = new
|
|
180
|
+
return ((_a = this._healthCareCodeInformation) !== null && _a !== void 0 ? _a : (this._healthCareCodeInformation = new Client_21.HealthCareCodeInformation(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
176
181
|
}
|
|
177
182
|
get importInvoice() {
|
|
178
183
|
var _a;
|
|
179
|
-
return ((_a = this._importInvoice) !== null && _a !== void 0 ? _a : (this._importInvoice = new
|
|
184
|
+
return ((_a = this._importInvoice) !== null && _a !== void 0 ? _a : (this._importInvoice = new Client_22.ImportInvoice(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
180
185
|
}
|
|
181
186
|
get insuranceAdjudications() {
|
|
182
187
|
var _a;
|
|
183
|
-
return ((_a = this._insuranceAdjudications) !== null && _a !== void 0 ? _a : (this._insuranceAdjudications = new
|
|
188
|
+
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(); }) }))));
|
|
184
189
|
}
|
|
185
190
|
get insurancePayments() {
|
|
186
191
|
var _a;
|
|
187
|
-
return ((_a = this._insurancePayments) !== null && _a !== void 0 ? _a : (this._insurancePayments = new
|
|
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(); }) }))));
|
|
188
193
|
}
|
|
189
194
|
get insuranceRefunds() {
|
|
190
195
|
var _a;
|
|
191
|
-
return ((_a = this._insuranceRefunds) !== null && _a !== void 0 ? _a : (this._insuranceRefunds = new
|
|
196
|
+
return ((_a = this._insuranceRefunds) !== null && _a !== void 0 ? _a : (this._insuranceRefunds = new Client_25.InsuranceRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
192
197
|
}
|
|
193
198
|
get medicationDispense() {
|
|
194
199
|
var _a;
|
|
195
|
-
return ((_a = this._medicationDispense) !== null && _a !== void 0 ? _a : (this._medicationDispense = new
|
|
200
|
+
return ((_a = this._medicationDispense) !== null && _a !== void 0 ? _a : (this._medicationDispense = new Client_26.MedicationDispense(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
196
201
|
}
|
|
197
202
|
get nonInsurancePayerPayments() {
|
|
198
203
|
var _a;
|
|
199
|
-
return ((_a = this._nonInsurancePayerPayments) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerPayments = new
|
|
204
|
+
return ((_a = this._nonInsurancePayerPayments) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerPayments = new Client_27.NonInsurancePayerPayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
200
205
|
}
|
|
201
206
|
get nonInsurancePayerRefunds() {
|
|
202
207
|
var _a;
|
|
203
|
-
return ((_a = this._nonInsurancePayerRefunds) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerRefunds = new
|
|
208
|
+
return ((_a = this._nonInsurancePayerRefunds) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerRefunds = new Client_28.NonInsurancePayerRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
204
209
|
}
|
|
205
210
|
get nonInsurancePayers() {
|
|
206
211
|
var _a;
|
|
207
|
-
return ((_a = this._nonInsurancePayers) !== null && _a !== void 0 ? _a : (this._nonInsurancePayers = new
|
|
212
|
+
return ((_a = this._nonInsurancePayers) !== null && _a !== void 0 ? _a : (this._nonInsurancePayers = new Client_29.NonInsurancePayers(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
208
213
|
}
|
|
209
214
|
get organizationProviders() {
|
|
210
215
|
var _a;
|
|
211
|
-
return ((_a = this._organizationProviders) !== null && _a !== void 0 ? _a : (this._organizationProviders = new
|
|
216
|
+
return ((_a = this._organizationProviders) !== null && _a !== void 0 ? _a : (this._organizationProviders = new Client_30.OrganizationProviders(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
212
217
|
}
|
|
213
218
|
get organizationServiceFacilities() {
|
|
214
219
|
var _a;
|
|
215
|
-
return ((_a = this._organizationServiceFacilities) !== null && _a !== void 0 ? _a : (this._organizationServiceFacilities = new
|
|
220
|
+
return ((_a = this._organizationServiceFacilities) !== null && _a !== void 0 ? _a : (this._organizationServiceFacilities = new Client_31.OrganizationServiceFacilities(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
216
221
|
}
|
|
217
222
|
get patientAr() {
|
|
218
223
|
var _a;
|
|
219
|
-
return ((_a = this._patientAr) !== null && _a !== void 0 ? _a : (this._patientAr = new
|
|
224
|
+
return ((_a = this._patientAr) !== null && _a !== void 0 ? _a : (this._patientAr = new Client_32.PatientAr(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
220
225
|
}
|
|
221
226
|
get patientPayments() {
|
|
222
227
|
var _a;
|
|
223
|
-
return ((_a = this._patientPayments) !== null && _a !== void 0 ? _a : (this._patientPayments = new
|
|
228
|
+
return ((_a = this._patientPayments) !== null && _a !== void 0 ? _a : (this._patientPayments = new Client_33.PatientPayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
224
229
|
}
|
|
225
230
|
get patientRefunds() {
|
|
226
231
|
var _a;
|
|
227
|
-
return ((_a = this._patientRefunds) !== null && _a !== void 0 ? _a : (this._patientRefunds = new
|
|
232
|
+
return ((_a = this._patientRefunds) !== null && _a !== void 0 ? _a : (this._patientRefunds = new Client_34.PatientRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
228
233
|
}
|
|
229
234
|
get payerPlanGroups() {
|
|
230
235
|
var _a;
|
|
231
|
-
return ((_a = this._payerPlanGroups) !== null && _a !== void 0 ? _a : (this._payerPlanGroups = new
|
|
236
|
+
return ((_a = this._payerPlanGroups) !== null && _a !== void 0 ? _a : (this._payerPlanGroups = new Client_35.PayerPlanGroups(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
232
237
|
}
|
|
233
238
|
get payers() {
|
|
234
239
|
var _a;
|
|
235
|
-
return ((_a = this._payers) !== null && _a !== void 0 ? _a : (this._payers = new
|
|
240
|
+
return ((_a = this._payers) !== null && _a !== void 0 ? _a : (this._payers = new Client_36.Payers(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
236
241
|
}
|
|
237
242
|
get serviceLines() {
|
|
238
243
|
var _a;
|
|
239
|
-
return ((_a = this._serviceLines) !== null && _a !== void 0 ? _a : (this._serviceLines = new
|
|
244
|
+
return ((_a = this._serviceLines) !== null && _a !== void 0 ? _a : (this._serviceLines = new Client_38.ServiceLines(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
240
245
|
}
|
|
241
246
|
get superbills() {
|
|
242
247
|
var _a;
|
|
243
|
-
return ((_a = this._superbills) !== null && _a !== void 0 ? _a : (this._superbills = new
|
|
248
|
+
return ((_a = this._superbills) !== null && _a !== void 0 ? _a : (this._superbills = new Client_39.Superbills(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
244
249
|
}
|
|
245
250
|
get tasks() {
|
|
246
251
|
var _a;
|
|
247
|
-
return ((_a = this._tasks) !== null && _a !== void 0 ? _a : (this._tasks = new
|
|
252
|
+
return ((_a = this._tasks) !== null && _a !== void 0 ? _a : (this._tasks = new Client_40.Tasks(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
248
253
|
}
|
|
249
254
|
get writeOffs() {
|
|
250
255
|
var _a;
|
|
251
|
-
return ((_a = this._writeOffs) !== null && _a !== void 0 ? _a : (this._writeOffs = new
|
|
256
|
+
return ((_a = this._writeOffs) !== null && _a !== void 0 ? _a : (this._writeOffs = new Client_41.WriteOffs(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
252
257
|
}
|
|
253
258
|
get preEncounter() {
|
|
254
259
|
var _a;
|
|
255
|
-
return ((_a = this._preEncounter) !== null && _a !== void 0 ? _a : (this._preEncounter = new
|
|
260
|
+
return ((_a = this._preEncounter) !== null && _a !== void 0 ? _a : (this._preEncounter = new Client_37.PreEncounter(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
256
261
|
}
|
|
257
262
|
get diagnoses() {
|
|
258
263
|
var _a;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./AdjustmentId";
|
|
2
2
|
export * from "./AppointmentId";
|
|
3
|
+
export * from "./BadRequestErrorMessage";
|
|
3
4
|
export * from "./BillingProviderCommercialLicenseType";
|
|
4
5
|
export * from "./ChargeCaptureClaimCreationId";
|
|
5
6
|
export * from "./ChargeCaptureId";
|
|
@@ -25,6 +26,7 @@ export * from "./FacilityTypeCode";
|
|
|
25
26
|
export * from "./HttpServiceUnavailableErrorMessage";
|
|
26
27
|
export * from "./InsuranceTypeCode";
|
|
27
28
|
export * from "./IntendedSubmissionMedium";
|
|
29
|
+
export * from "./InternalErrorMessage";
|
|
28
30
|
export * from "./InvoiceId";
|
|
29
31
|
export * from "./LinkUrl";
|
|
30
32
|
export * from "./NetworkType";
|
|
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./AdjustmentId"), exports);
|
|
18
18
|
__exportStar(require("./AppointmentId"), exports);
|
|
19
|
+
__exportStar(require("./BadRequestErrorMessage"), exports);
|
|
19
20
|
__exportStar(require("./BillingProviderCommercialLicenseType"), exports);
|
|
20
21
|
__exportStar(require("./ChargeCaptureClaimCreationId"), exports);
|
|
21
22
|
__exportStar(require("./ChargeCaptureId"), exports);
|
|
@@ -41,6 +42,7 @@ __exportStar(require("./FacilityTypeCode"), exports);
|
|
|
41
42
|
__exportStar(require("./HttpServiceUnavailableErrorMessage"), exports);
|
|
42
43
|
__exportStar(require("./InsuranceTypeCode"), exports);
|
|
43
44
|
__exportStar(require("./IntendedSubmissionMedium"), exports);
|
|
45
|
+
__exportStar(require("./InternalErrorMessage"), exports);
|
|
44
46
|
__exportStar(require("./InvoiceId"), exports);
|
|
45
47
|
__exportStar(require("./LinkUrl"), exports);
|
|
46
48
|
__exportStar(require("./NetworkType"), exports);
|
|
@@ -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
|
+
}
|