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
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.Error = void 0;
|
|
38
|
+
const CandidApi = __importStar(require("../../../../../index"));
|
|
39
|
+
exports.Error = {
|
|
40
|
+
_unknown: (fetcherError) => {
|
|
41
|
+
return {
|
|
42
|
+
errorName: undefined,
|
|
43
|
+
content: fetcherError,
|
|
44
|
+
_visit: function (visitor) {
|
|
45
|
+
return CandidApi.contracts.v3.create.Error._visit(this, visitor);
|
|
46
|
+
},
|
|
47
|
+
};
|
|
48
|
+
},
|
|
49
|
+
_visit: (value, visitor) => {
|
|
50
|
+
switch (value.errorName) {
|
|
51
|
+
default:
|
|
52
|
+
return visitor._other(value);
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type * as core from "../../../../../../core";
|
|
2
|
+
import * as CandidApi from "../../../../../index";
|
|
3
|
+
export type Error = CandidApi.contracts.v3.createContractServiceFacility.Error.UnprocessableEntityError | CandidApi.contracts.v3.createContractServiceFacility.Error._Unknown;
|
|
4
|
+
export declare namespace Error {
|
|
5
|
+
interface UnprocessableEntityError extends _Utils {
|
|
6
|
+
errorName: "UnprocessableEntityError";
|
|
7
|
+
content: CandidApi.UnprocessableEntityErrorMessage;
|
|
8
|
+
}
|
|
9
|
+
interface _Unknown extends _Utils {
|
|
10
|
+
errorName: void;
|
|
11
|
+
content: core.Fetcher.Error;
|
|
12
|
+
}
|
|
13
|
+
interface _Utils {
|
|
14
|
+
_visit: <_Result>(visitor: CandidApi.contracts.v3.createContractServiceFacility.Error._Visitor<_Result>) => _Result;
|
|
15
|
+
}
|
|
16
|
+
interface _Visitor<_Result> {
|
|
17
|
+
unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => _Result;
|
|
18
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
export declare const Error: {
|
|
22
|
+
readonly unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => CandidApi.contracts.v3.createContractServiceFacility.Error.UnprocessableEntityError;
|
|
23
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.contracts.v3.createContractServiceFacility.Error._Unknown;
|
|
24
|
+
readonly _visit: <_Result>(value: CandidApi.contracts.v3.createContractServiceFacility.Error, visitor: CandidApi.contracts.v3.createContractServiceFacility.Error._Visitor<_Result>) => _Result;
|
|
25
|
+
};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.Error = void 0;
|
|
38
|
+
const CandidApi = __importStar(require("../../../../../index"));
|
|
39
|
+
exports.Error = {
|
|
40
|
+
unprocessableEntityError: (value) => {
|
|
41
|
+
return {
|
|
42
|
+
content: value,
|
|
43
|
+
errorName: "UnprocessableEntityError",
|
|
44
|
+
_visit: function (visitor) {
|
|
45
|
+
return CandidApi.contracts.v3.createContractServiceFacility.Error._visit(this, visitor);
|
|
46
|
+
},
|
|
47
|
+
};
|
|
48
|
+
},
|
|
49
|
+
_unknown: (fetcherError) => {
|
|
50
|
+
return {
|
|
51
|
+
errorName: undefined,
|
|
52
|
+
content: fetcherError,
|
|
53
|
+
_visit: function (visitor) {
|
|
54
|
+
return CandidApi.contracts.v3.createContractServiceFacility.Error._visit(this, visitor);
|
|
55
|
+
},
|
|
56
|
+
};
|
|
57
|
+
},
|
|
58
|
+
_visit: (value, visitor) => {
|
|
59
|
+
switch (value.errorName) {
|
|
60
|
+
case "UnprocessableEntityError":
|
|
61
|
+
return visitor.unprocessableEntityError(value.content);
|
|
62
|
+
default:
|
|
63
|
+
return visitor._other(value);
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type * as core from "../../../../../../core";
|
|
2
|
+
import * as CandidApi from "../../../../../index";
|
|
3
|
+
export type Error = CandidApi.contracts.v3.delete.Error.ContractIsLinkedToFeeScheduleHttpError | CandidApi.contracts.v3.delete.Error._Unknown;
|
|
4
|
+
export declare namespace Error {
|
|
5
|
+
interface ContractIsLinkedToFeeScheduleHttpError extends _Utils {
|
|
6
|
+
errorName: "ContractIsLinkedToFeeScheduleHttpError";
|
|
7
|
+
content: CandidApi.contracts.v2.ContractIsLinkedToFeeScheduleError;
|
|
8
|
+
}
|
|
9
|
+
interface _Unknown extends _Utils {
|
|
10
|
+
errorName: void;
|
|
11
|
+
content: core.Fetcher.Error;
|
|
12
|
+
}
|
|
13
|
+
interface _Utils {
|
|
14
|
+
_visit: <_Result>(visitor: CandidApi.contracts.v3.delete.Error._Visitor<_Result>) => _Result;
|
|
15
|
+
}
|
|
16
|
+
interface _Visitor<_Result> {
|
|
17
|
+
contractIsLinkedToFeeScheduleHttpError: (value: CandidApi.contracts.v2.ContractIsLinkedToFeeScheduleError) => _Result;
|
|
18
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
export declare const Error: {
|
|
22
|
+
readonly contractIsLinkedToFeeScheduleHttpError: (value: CandidApi.contracts.v2.ContractIsLinkedToFeeScheduleError) => CandidApi.contracts.v3.delete.Error.ContractIsLinkedToFeeScheduleHttpError;
|
|
23
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.contracts.v3.delete.Error._Unknown;
|
|
24
|
+
readonly _visit: <_Result>(value: CandidApi.contracts.v3.delete.Error, visitor: CandidApi.contracts.v3.delete.Error._Visitor<_Result>) => _Result;
|
|
25
|
+
};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.Error = void 0;
|
|
38
|
+
const CandidApi = __importStar(require("../../../../../index"));
|
|
39
|
+
exports.Error = {
|
|
40
|
+
contractIsLinkedToFeeScheduleHttpError: (value) => {
|
|
41
|
+
return {
|
|
42
|
+
content: value,
|
|
43
|
+
errorName: "ContractIsLinkedToFeeScheduleHttpError",
|
|
44
|
+
_visit: function (visitor) {
|
|
45
|
+
return CandidApi.contracts.v3.delete.Error._visit(this, visitor);
|
|
46
|
+
},
|
|
47
|
+
};
|
|
48
|
+
},
|
|
49
|
+
_unknown: (fetcherError) => {
|
|
50
|
+
return {
|
|
51
|
+
errorName: undefined,
|
|
52
|
+
content: fetcherError,
|
|
53
|
+
_visit: function (visitor) {
|
|
54
|
+
return CandidApi.contracts.v3.delete.Error._visit(this, visitor);
|
|
55
|
+
},
|
|
56
|
+
};
|
|
57
|
+
},
|
|
58
|
+
_visit: (value, visitor) => {
|
|
59
|
+
switch (value.errorName) {
|
|
60
|
+
case "ContractIsLinkedToFeeScheduleHttpError":
|
|
61
|
+
return visitor.contractIsLinkedToFeeScheduleHttpError(value.content);
|
|
62
|
+
default:
|
|
63
|
+
return visitor._other(value);
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type * as core from "../../../../../../core";
|
|
2
|
+
import * as CandidApi from "../../../../../index";
|
|
3
|
+
export type Error = CandidApi.contracts.v3.get.Error.EntityNotFoundError | CandidApi.contracts.v3.get.Error._Unknown;
|
|
4
|
+
export declare namespace Error {
|
|
5
|
+
interface EntityNotFoundError extends _Utils {
|
|
6
|
+
errorName: "EntityNotFoundError";
|
|
7
|
+
content: CandidApi.EntityNotFoundErrorMessage;
|
|
8
|
+
}
|
|
9
|
+
interface _Unknown extends _Utils {
|
|
10
|
+
errorName: void;
|
|
11
|
+
content: core.Fetcher.Error;
|
|
12
|
+
}
|
|
13
|
+
interface _Utils {
|
|
14
|
+
_visit: <_Result>(visitor: CandidApi.contracts.v3.get.Error._Visitor<_Result>) => _Result;
|
|
15
|
+
}
|
|
16
|
+
interface _Visitor<_Result> {
|
|
17
|
+
entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
|
|
18
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
export declare const Error: {
|
|
22
|
+
readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.contracts.v3.get.Error.EntityNotFoundError;
|
|
23
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.contracts.v3.get.Error._Unknown;
|
|
24
|
+
readonly _visit: <_Result>(value: CandidApi.contracts.v3.get.Error, visitor: CandidApi.contracts.v3.get.Error._Visitor<_Result>) => _Result;
|
|
25
|
+
};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.Error = void 0;
|
|
38
|
+
const CandidApi = __importStar(require("../../../../../index"));
|
|
39
|
+
exports.Error = {
|
|
40
|
+
entityNotFoundError: (value) => {
|
|
41
|
+
return {
|
|
42
|
+
content: value,
|
|
43
|
+
errorName: "EntityNotFoundError",
|
|
44
|
+
_visit: function (visitor) {
|
|
45
|
+
return CandidApi.contracts.v3.get.Error._visit(this, visitor);
|
|
46
|
+
},
|
|
47
|
+
};
|
|
48
|
+
},
|
|
49
|
+
_unknown: (fetcherError) => {
|
|
50
|
+
return {
|
|
51
|
+
errorName: undefined,
|
|
52
|
+
content: fetcherError,
|
|
53
|
+
_visit: function (visitor) {
|
|
54
|
+
return CandidApi.contracts.v3.get.Error._visit(this, visitor);
|
|
55
|
+
},
|
|
56
|
+
};
|
|
57
|
+
},
|
|
58
|
+
_visit: (value, visitor) => {
|
|
59
|
+
switch (value.errorName) {
|
|
60
|
+
case "EntityNotFoundError":
|
|
61
|
+
return visitor.entityNotFoundError(value.content);
|
|
62
|
+
default:
|
|
63
|
+
return visitor._other(value);
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type * as core from "../../../../../../core";
|
|
2
|
+
import * as CandidApi from "../../../../../index";
|
|
3
|
+
export type Error = CandidApi.contracts.v3.getMulti.Error._Unknown;
|
|
4
|
+
export declare namespace Error {
|
|
5
|
+
interface _Unknown extends _Utils {
|
|
6
|
+
errorName: void;
|
|
7
|
+
content: core.Fetcher.Error;
|
|
8
|
+
}
|
|
9
|
+
interface _Utils {
|
|
10
|
+
_visit: <_Result>(visitor: CandidApi.contracts.v3.getMulti.Error._Visitor<_Result>) => _Result;
|
|
11
|
+
}
|
|
12
|
+
interface _Visitor<_Result> {
|
|
13
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export declare const Error: {
|
|
17
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.contracts.v3.getMulti.Error._Unknown;
|
|
18
|
+
readonly _visit: <_Result>(value: CandidApi.contracts.v3.getMulti.Error, visitor: CandidApi.contracts.v3.getMulti.Error._Visitor<_Result>) => _Result;
|
|
19
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.Error = void 0;
|
|
38
|
+
const CandidApi = __importStar(require("../../../../../index"));
|
|
39
|
+
exports.Error = {
|
|
40
|
+
_unknown: (fetcherError) => {
|
|
41
|
+
return {
|
|
42
|
+
errorName: undefined,
|
|
43
|
+
content: fetcherError,
|
|
44
|
+
_visit: function (visitor) {
|
|
45
|
+
return CandidApi.contracts.v3.getMulti.Error._visit(this, visitor);
|
|
46
|
+
},
|
|
47
|
+
};
|
|
48
|
+
},
|
|
49
|
+
_visit: (value, visitor) => {
|
|
50
|
+
switch (value.errorName) {
|
|
51
|
+
default:
|
|
52
|
+
return visitor._other(value);
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * as create from "./create";
|
|
2
|
+
export * as createContractServiceFacility from "./createContractServiceFacility";
|
|
3
|
+
export * as delete from "./delete";
|
|
4
|
+
export * as get from "./get";
|
|
5
|
+
export * as getMulti from "./getMulti";
|
|
6
|
+
export * from "./requests";
|
|
7
|
+
export * as update from "./update";
|
|
8
|
+
export * as updateContractServiceFacility from "./updateContractServiceFacility";
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
36
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
|
+
};
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.updateContractServiceFacility = exports.update = exports.getMulti = exports.get = exports.delete = exports.createContractServiceFacility = exports.create = void 0;
|
|
40
|
+
exports.create = __importStar(require("./create"));
|
|
41
|
+
exports.createContractServiceFacility = __importStar(require("./createContractServiceFacility"));
|
|
42
|
+
exports.delete = __importStar(require("./delete"));
|
|
43
|
+
exports.get = __importStar(require("./get"));
|
|
44
|
+
exports.getMulti = __importStar(require("./getMulti"));
|
|
45
|
+
__exportStar(require("./requests"), exports);
|
|
46
|
+
exports.update = __importStar(require("./update"));
|
|
47
|
+
exports.updateContractServiceFacility = __importStar(require("./updateContractServiceFacility"));
|
package/api/resources/contracts/resources/v3/client/requests/ContractServiceFacilityCreate.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as CandidApi from "../../../../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* serviceFacilityId: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
|
|
6
|
+
* providerIds: new Set(["d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"])
|
|
7
|
+
* }
|
|
8
|
+
*/
|
|
9
|
+
export interface ContractServiceFacilityCreate extends CandidApi.contracts.v3.ContractServiceFacilityBase {
|
|
10
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type * as CandidApi from "../../../../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {}
|
|
5
|
+
*/
|
|
6
|
+
export interface GetMultiContractsRequest {
|
|
7
|
+
pageToken?: CandidApi.PageToken;
|
|
8
|
+
/** Max number of contracts returned. Defaults to 1000. Max is 1000. */
|
|
9
|
+
limit?: number;
|
|
10
|
+
/** The type of contract */
|
|
11
|
+
type?: CandidApi.contracts.v3.ContractType;
|
|
12
|
+
contractingProviderId?: CandidApi.contracts.v3.ContractingProviderId;
|
|
13
|
+
renderingProviderIds?: CandidApi.contracts.v3.RenderingProviderid | CandidApi.contracts.v3.RenderingProviderid[];
|
|
14
|
+
/** Filter to contracts that include any of the included payer names. */
|
|
15
|
+
payerNames?: string | string[];
|
|
16
|
+
states?: CandidApi.State | CandidApi.State[];
|
|
17
|
+
/** The status of the contract. Defaults to `pending` */
|
|
18
|
+
contractStatus?: CandidApi.contracts.v2.ContractStatus;
|
|
19
|
+
/** Potentially sort by a contract related attribute. Defaults to created_at */
|
|
20
|
+
sort?: CandidApi.contracts.v2.ContractSortField;
|
|
21
|
+
/** Direction of sort, defaulting to desc */
|
|
22
|
+
sortDirection?: CandidApi.SortDirection;
|
|
23
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type * as core from "../../../../../../core";
|
|
2
|
+
import * as CandidApi from "../../../../../index";
|
|
3
|
+
export type Error = CandidApi.contracts.v3.update.Error.UnprocessableEntityError | CandidApi.contracts.v3.update.Error.ContractInvalidExpirationDateHttpError | CandidApi.contracts.v3.update.Error._Unknown;
|
|
4
|
+
export declare namespace Error {
|
|
5
|
+
interface UnprocessableEntityError extends _Utils {
|
|
6
|
+
errorName: "UnprocessableEntityError";
|
|
7
|
+
content: CandidApi.UnprocessableEntityErrorMessage;
|
|
8
|
+
}
|
|
9
|
+
interface ContractInvalidExpirationDateHttpError extends _Utils {
|
|
10
|
+
errorName: "ContractInvalidExpirationDateHttpError";
|
|
11
|
+
content: CandidApi.contracts.v2.ContractInvalidExpirationDateError;
|
|
12
|
+
}
|
|
13
|
+
interface _Unknown extends _Utils {
|
|
14
|
+
errorName: void;
|
|
15
|
+
content: core.Fetcher.Error;
|
|
16
|
+
}
|
|
17
|
+
interface _Utils {
|
|
18
|
+
_visit: <_Result>(visitor: CandidApi.contracts.v3.update.Error._Visitor<_Result>) => _Result;
|
|
19
|
+
}
|
|
20
|
+
interface _Visitor<_Result> {
|
|
21
|
+
unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => _Result;
|
|
22
|
+
contractInvalidExpirationDateHttpError: (value: CandidApi.contracts.v2.ContractInvalidExpirationDateError) => _Result;
|
|
23
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export declare const Error: {
|
|
27
|
+
readonly unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => CandidApi.contracts.v3.update.Error.UnprocessableEntityError;
|
|
28
|
+
readonly contractInvalidExpirationDateHttpError: (value: CandidApi.contracts.v2.ContractInvalidExpirationDateError) => CandidApi.contracts.v3.update.Error.ContractInvalidExpirationDateHttpError;
|
|
29
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.contracts.v3.update.Error._Unknown;
|
|
30
|
+
readonly _visit: <_Result>(value: CandidApi.contracts.v3.update.Error, visitor: CandidApi.contracts.v3.update.Error._Visitor<_Result>) => _Result;
|
|
31
|
+
};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.Error = void 0;
|
|
38
|
+
const CandidApi = __importStar(require("../../../../../index"));
|
|
39
|
+
exports.Error = {
|
|
40
|
+
unprocessableEntityError: (value) => {
|
|
41
|
+
return {
|
|
42
|
+
content: value,
|
|
43
|
+
errorName: "UnprocessableEntityError",
|
|
44
|
+
_visit: function (visitor) {
|
|
45
|
+
return CandidApi.contracts.v3.update.Error._visit(this, visitor);
|
|
46
|
+
},
|
|
47
|
+
};
|
|
48
|
+
},
|
|
49
|
+
contractInvalidExpirationDateHttpError: (value) => {
|
|
50
|
+
return {
|
|
51
|
+
content: value,
|
|
52
|
+
errorName: "ContractInvalidExpirationDateHttpError",
|
|
53
|
+
_visit: function (visitor) {
|
|
54
|
+
return CandidApi.contracts.v3.update.Error._visit(this, visitor);
|
|
55
|
+
},
|
|
56
|
+
};
|
|
57
|
+
},
|
|
58
|
+
_unknown: (fetcherError) => {
|
|
59
|
+
return {
|
|
60
|
+
errorName: undefined,
|
|
61
|
+
content: fetcherError,
|
|
62
|
+
_visit: function (visitor) {
|
|
63
|
+
return CandidApi.contracts.v3.update.Error._visit(this, visitor);
|
|
64
|
+
},
|
|
65
|
+
};
|
|
66
|
+
},
|
|
67
|
+
_visit: (value, visitor) => {
|
|
68
|
+
switch (value.errorName) {
|
|
69
|
+
case "UnprocessableEntityError":
|
|
70
|
+
return visitor.unprocessableEntityError(value.content);
|
|
71
|
+
case "ContractInvalidExpirationDateHttpError":
|
|
72
|
+
return visitor.contractInvalidExpirationDateHttpError(value.content);
|
|
73
|
+
default:
|
|
74
|
+
return visitor._other(value);
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
};
|