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,45 @@
|
|
|
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.InstitutionalContract = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../../../core"));
|
|
39
|
+
const Contract_1 = require("./Contract");
|
|
40
|
+
const ContractServiceFacility_1 = require("./ContractServiceFacility");
|
|
41
|
+
exports.InstitutionalContract = core.serialization
|
|
42
|
+
.object({
|
|
43
|
+
contractServiceFacilities: core.serialization.property("contract_service_facilities", core.serialization.list(ContractServiceFacility_1.ContractServiceFacility)),
|
|
44
|
+
})
|
|
45
|
+
.extend(Contract_1.Contract);
|
package/dist/serialization/resources/contracts/resources/v3/types/InstitutionalContractCreate.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as CandidApi from "../../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../../index";
|
|
4
|
+
import { ContractCreate } from "./ContractCreate";
|
|
5
|
+
import { ContractServiceFacilityBase } from "./ContractServiceFacilityBase";
|
|
6
|
+
export declare const InstitutionalContractCreate: core.serialization.ObjectSchema<serializers.contracts.v3.InstitutionalContractCreate.Raw, CandidApi.contracts.v3.InstitutionalContractCreate>;
|
|
7
|
+
export declare namespace InstitutionalContractCreate {
|
|
8
|
+
interface Raw extends ContractCreate.Raw {
|
|
9
|
+
contract_service_facilities: ContractServiceFacilityBase.Raw[];
|
|
10
|
+
}
|
|
11
|
+
}
|
package/dist/serialization/resources/contracts/resources/v3/types/InstitutionalContractCreate.js
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
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.InstitutionalContractCreate = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../../../core"));
|
|
39
|
+
const ContractCreate_1 = require("./ContractCreate");
|
|
40
|
+
const ContractServiceFacilityBase_1 = require("./ContractServiceFacilityBase");
|
|
41
|
+
exports.InstitutionalContractCreate = core.serialization
|
|
42
|
+
.object({
|
|
43
|
+
contractServiceFacilities: core.serialization.property("contract_service_facilities", core.serialization.list(ContractServiceFacilityBase_1.ContractServiceFacilityBase)),
|
|
44
|
+
})
|
|
45
|
+
.extend(ContractCreate_1.ContractCreate);
|
package/dist/serialization/resources/contracts/resources/v3/types/InstitutionalContractUpdate.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as CandidApi from "../../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../../index";
|
|
4
|
+
import { ContractServiceFacilityId } from "./ContractServiceFacilityId";
|
|
5
|
+
import { ContractUpdate } from "./ContractUpdate";
|
|
6
|
+
export declare const InstitutionalContractUpdate: core.serialization.ObjectSchema<serializers.contracts.v3.InstitutionalContractUpdate.Raw, CandidApi.contracts.v3.InstitutionalContractUpdate>;
|
|
7
|
+
export declare namespace InstitutionalContractUpdate {
|
|
8
|
+
interface Raw extends ContractUpdate.Raw {
|
|
9
|
+
contract_service_facility_ids?: ContractServiceFacilityId.Raw[] | null;
|
|
10
|
+
}
|
|
11
|
+
}
|
package/dist/serialization/resources/contracts/resources/v3/types/InstitutionalContractUpdate.js
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
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.InstitutionalContractUpdate = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../../../core"));
|
|
39
|
+
const ContractServiceFacilityId_1 = require("./ContractServiceFacilityId");
|
|
40
|
+
const ContractUpdate_1 = require("./ContractUpdate");
|
|
41
|
+
exports.InstitutionalContractUpdate = core.serialization
|
|
42
|
+
.object({
|
|
43
|
+
contractServiceFacilityIds: core.serialization.property("contract_service_facility_ids", core.serialization.set(ContractServiceFacilityId_1.ContractServiceFacilityId).optional()),
|
|
44
|
+
})
|
|
45
|
+
.extend(ContractUpdate_1.ContractUpdate);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as CandidApi from "../../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../../index";
|
|
4
|
+
import { Contract } from "./Contract";
|
|
5
|
+
export declare const ProfessionalContract: core.serialization.ObjectSchema<serializers.contracts.v3.ProfessionalContract.Raw, CandidApi.contracts.v3.ProfessionalContract>;
|
|
6
|
+
export declare namespace ProfessionalContract {
|
|
7
|
+
interface Raw extends Contract.Raw {
|
|
8
|
+
rendering_provider_ids: string[];
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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.ProfessionalContract = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../../../core"));
|
|
39
|
+
const Contract_1 = require("./Contract");
|
|
40
|
+
exports.ProfessionalContract = core.serialization
|
|
41
|
+
.object({
|
|
42
|
+
renderingProviderIds: core.serialization.property("rendering_provider_ids", core.serialization.set(core.serialization.string())),
|
|
43
|
+
})
|
|
44
|
+
.extend(Contract_1.Contract);
|
package/dist/serialization/resources/contracts/resources/v3/types/ProfessionalContractCreate.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as CandidApi from "../../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../../index";
|
|
4
|
+
import { ContractCreate } from "./ContractCreate";
|
|
5
|
+
import { RenderingProviderid } from "./RenderingProviderid";
|
|
6
|
+
export declare const ProfessionalContractCreate: core.serialization.ObjectSchema<serializers.contracts.v3.ProfessionalContractCreate.Raw, CandidApi.contracts.v3.ProfessionalContractCreate>;
|
|
7
|
+
export declare namespace ProfessionalContractCreate {
|
|
8
|
+
interface Raw extends ContractCreate.Raw {
|
|
9
|
+
rendering_provider_ids: RenderingProviderid.Raw[];
|
|
10
|
+
}
|
|
11
|
+
}
|
package/dist/serialization/resources/contracts/resources/v3/types/ProfessionalContractCreate.js
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
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.ProfessionalContractCreate = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../../../core"));
|
|
39
|
+
const ContractCreate_1 = require("./ContractCreate");
|
|
40
|
+
const RenderingProviderid_1 = require("./RenderingProviderid");
|
|
41
|
+
exports.ProfessionalContractCreate = core.serialization
|
|
42
|
+
.object({
|
|
43
|
+
renderingProviderIds: core.serialization.property("rendering_provider_ids", core.serialization.set(RenderingProviderid_1.RenderingProviderid)),
|
|
44
|
+
})
|
|
45
|
+
.extend(ContractCreate_1.ContractCreate);
|
package/dist/serialization/resources/contracts/resources/v3/types/ProfessionalContractUpdate.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as CandidApi from "../../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../../index";
|
|
4
|
+
import { ContractUpdate } from "./ContractUpdate";
|
|
5
|
+
import { RenderingProviderid } from "./RenderingProviderid";
|
|
6
|
+
export declare const ProfessionalContractUpdate: core.serialization.ObjectSchema<serializers.contracts.v3.ProfessionalContractUpdate.Raw, CandidApi.contracts.v3.ProfessionalContractUpdate>;
|
|
7
|
+
export declare namespace ProfessionalContractUpdate {
|
|
8
|
+
interface Raw extends ContractUpdate.Raw {
|
|
9
|
+
rendering_provider_ids?: RenderingProviderid.Raw[] | null;
|
|
10
|
+
}
|
|
11
|
+
}
|
package/dist/serialization/resources/contracts/resources/v3/types/ProfessionalContractUpdate.js
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
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.ProfessionalContractUpdate = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../../../core"));
|
|
39
|
+
const ContractUpdate_1 = require("./ContractUpdate");
|
|
40
|
+
const RenderingProviderid_1 = require("./RenderingProviderid");
|
|
41
|
+
exports.ProfessionalContractUpdate = core.serialization
|
|
42
|
+
.object({
|
|
43
|
+
renderingProviderIds: core.serialization.property("rendering_provider_ids", core.serialization.set(RenderingProviderid_1.RenderingProviderid).optional()),
|
|
44
|
+
})
|
|
45
|
+
.extend(ContractUpdate_1.ContractUpdate);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../../index";
|
|
4
|
+
export declare const RenderingProviderid: core.serialization.Schema<serializers.contracts.v3.RenderingProviderid.Raw, CandidApi.contracts.v3.RenderingProviderid>;
|
|
5
|
+
export declare namespace RenderingProviderid {
|
|
6
|
+
type Raw = string;
|
|
7
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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.RenderingProviderid = void 0;
|
|
38
|
+
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
39
|
+
const core = __importStar(require("../../../../../../core"));
|
|
40
|
+
exports.RenderingProviderid = core.serialization.string().transform({
|
|
41
|
+
transform: CandidApi.contracts.v3.RenderingProviderid,
|
|
42
|
+
untransform: (value) => value,
|
|
43
|
+
});
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export * from "./Contract";
|
|
2
|
+
export * from "./ContractBase";
|
|
3
|
+
export * from "./ContractCreate";
|
|
4
|
+
export * from "./ContractCreateUnion";
|
|
5
|
+
export * from "./ContractId";
|
|
6
|
+
export * from "./ContractingProviderId";
|
|
7
|
+
export * from "./ContractServiceFacility";
|
|
8
|
+
export * from "./ContractServiceFacilityBase";
|
|
9
|
+
export * from "./ContractServiceFacilityId";
|
|
10
|
+
export * from "./ContractsPage";
|
|
11
|
+
export * from "./ContractType";
|
|
12
|
+
export * from "./ContractUnion";
|
|
13
|
+
export * from "./ContractUpdate";
|
|
14
|
+
export * from "./ContractUpdateUnion";
|
|
15
|
+
export * from "./ContractWithProvidersUnion";
|
|
16
|
+
export * from "./InstitutionalContract";
|
|
17
|
+
export * from "./InstitutionalContractCreate";
|
|
18
|
+
export * from "./InstitutionalContractUpdate";
|
|
19
|
+
export * from "./ProfessionalContract";
|
|
20
|
+
export * from "./ProfessionalContractCreate";
|
|
21
|
+
export * from "./ProfessionalContractUpdate";
|
|
22
|
+
export * from "./RenderingProviderid";
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./Contract"), exports);
|
|
18
|
+
__exportStar(require("./ContractBase"), exports);
|
|
19
|
+
__exportStar(require("./ContractCreate"), exports);
|
|
20
|
+
__exportStar(require("./ContractCreateUnion"), exports);
|
|
21
|
+
__exportStar(require("./ContractId"), exports);
|
|
22
|
+
__exportStar(require("./ContractingProviderId"), exports);
|
|
23
|
+
__exportStar(require("./ContractServiceFacility"), exports);
|
|
24
|
+
__exportStar(require("./ContractServiceFacilityBase"), exports);
|
|
25
|
+
__exportStar(require("./ContractServiceFacilityId"), exports);
|
|
26
|
+
__exportStar(require("./ContractsPage"), exports);
|
|
27
|
+
__exportStar(require("./ContractType"), exports);
|
|
28
|
+
__exportStar(require("./ContractUnion"), exports);
|
|
29
|
+
__exportStar(require("./ContractUpdate"), exports);
|
|
30
|
+
__exportStar(require("./ContractUpdateUnion"), exports);
|
|
31
|
+
__exportStar(require("./ContractWithProvidersUnion"), exports);
|
|
32
|
+
__exportStar(require("./InstitutionalContract"), exports);
|
|
33
|
+
__exportStar(require("./InstitutionalContractCreate"), exports);
|
|
34
|
+
__exportStar(require("./InstitutionalContractUpdate"), exports);
|
|
35
|
+
__exportStar(require("./ProfessionalContract"), exports);
|
|
36
|
+
__exportStar(require("./ProfessionalContractCreate"), exports);
|
|
37
|
+
__exportStar(require("./ProfessionalContractUpdate"), exports);
|
|
38
|
+
__exportStar(require("./RenderingProviderid"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./resources";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./resources"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as v1 from "./v1";
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.v1 = void 0;
|
|
37
|
+
exports.v1 = __importStar(require("./v1"));
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../../index";
|
|
4
|
+
import { BadRequestErrorMessage } from "../../../../commons/types/BadRequestErrorMessage";
|
|
5
|
+
import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
|
|
6
|
+
import { InternalErrorMessage } from "../../../../commons/types/InternalErrorMessage";
|
|
7
|
+
export declare const Error: core.serialization.Schema<serializers.events.v1.get.Error.Raw, CandidApi.events.v1.get.Error>;
|
|
8
|
+
export declare namespace Error {
|
|
9
|
+
type Raw = Error.BadRequestError | Error.InternalError | Error.EntityNotFoundError;
|
|
10
|
+
interface BadRequestError {
|
|
11
|
+
errorName: "BadRequestError";
|
|
12
|
+
content: BadRequestErrorMessage.Raw;
|
|
13
|
+
}
|
|
14
|
+
interface InternalError {
|
|
15
|
+
errorName: "InternalError";
|
|
16
|
+
content: InternalErrorMessage.Raw;
|
|
17
|
+
}
|
|
18
|
+
interface EntityNotFoundError {
|
|
19
|
+
errorName: "EntityNotFoundError";
|
|
20
|
+
content: EntityNotFoundErrorMessage.Raw;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
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
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
37
|
+
var t = {};
|
|
38
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
39
|
+
t[p] = s[p];
|
|
40
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
41
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
42
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
43
|
+
t[p[i]] = s[p[i]];
|
|
44
|
+
}
|
|
45
|
+
return t;
|
|
46
|
+
};
|
|
47
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48
|
+
exports.Error = void 0;
|
|
49
|
+
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
50
|
+
const core = __importStar(require("../../../../../../core"));
|
|
51
|
+
const BadRequestErrorMessage_1 = require("../../../../commons/types/BadRequestErrorMessage");
|
|
52
|
+
const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
|
|
53
|
+
const InternalErrorMessage_1 = require("../../../../commons/types/InternalErrorMessage");
|
|
54
|
+
exports.Error = core.serialization
|
|
55
|
+
.union("errorName", {
|
|
56
|
+
BadRequestError: core.serialization.object({
|
|
57
|
+
content: BadRequestErrorMessage_1.BadRequestErrorMessage,
|
|
58
|
+
}),
|
|
59
|
+
InternalError: core.serialization.object({
|
|
60
|
+
content: InternalErrorMessage_1.InternalErrorMessage,
|
|
61
|
+
}),
|
|
62
|
+
EntityNotFoundError: core.serialization.object({
|
|
63
|
+
content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
|
|
64
|
+
}),
|
|
65
|
+
})
|
|
66
|
+
.transform({
|
|
67
|
+
transform: (value) => {
|
|
68
|
+
switch (value.errorName) {
|
|
69
|
+
case "BadRequestError":
|
|
70
|
+
return CandidApi.events.v1.get.Error.badRequestError(value.content);
|
|
71
|
+
case "InternalError":
|
|
72
|
+
return CandidApi.events.v1.get.Error.internalError(value.content);
|
|
73
|
+
case "EntityNotFoundError":
|
|
74
|
+
return CandidApi.events.v1.get.Error.entityNotFoundError(value.content);
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
untransform: (_a) => {
|
|
78
|
+
var { _visit } = _a, value = __rest(_a, ["_visit"]);
|
|
79
|
+
return value;
|
|
80
|
+
},
|
|
81
|
+
});
|