candidhealth 1.16.0 → 1.17.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.d.ts +0 -3
- package/Client.js +36 -41
- package/api/resources/contracts/client/Client.d.ts +3 -0
- package/api/resources/contracts/client/Client.js +5 -0
- package/api/resources/contracts/resources/index.d.ts +1 -0
- package/api/resources/contracts/resources/index.js +2 -1
- package/api/resources/contracts/resources/v2/client/Client.d.ts +4 -0
- package/api/resources/contracts/resources/v2/client/Client.js +4 -0
- package/api/resources/contracts/resources/v3/client/Client.d.ts +109 -0
- package/api/resources/contracts/resources/v3/client/Client.js +603 -0
- package/api/resources/contracts/resources/v3/client/create.d.ts +19 -0
- package/api/resources/contracts/resources/v3/client/create.js +55 -0
- package/api/resources/contracts/resources/v3/client/createContractServiceFacility.d.ts +25 -0
- package/api/resources/contracts/resources/v3/client/createContractServiceFacility.js +66 -0
- package/api/resources/contracts/resources/v3/client/delete.d.ts +25 -0
- package/api/resources/contracts/resources/v3/client/delete.js +66 -0
- package/api/resources/contracts/resources/v3/client/get.d.ts +25 -0
- package/{dist/api/resources/insurancePayments/resources/v1 → api/resources/contracts/resources/v3}/client/get.js +2 -13
- package/api/resources/contracts/resources/v3/client/getMulti.d.ts +19 -0
- package/api/resources/contracts/resources/v3/client/getMulti.js +55 -0
- package/api/resources/contracts/resources/v3/client/index.d.ts +8 -0
- package/{serialization/resources/insurancePayments/resources/v1 → api/resources/contracts/resources/v3}/client/index.js +10 -1
- package/api/resources/contracts/resources/v3/client/requests/ContractServiceFacilityCreate.d.ts +10 -0
- package/api/resources/contracts/resources/v3/client/requests/ContractServiceFacilityUpdate.d.ts +10 -0
- package/api/resources/contracts/resources/v3/client/requests/GetMultiContractsRequest.d.ts +23 -0
- package/api/resources/contracts/resources/v3/client/requests/index.d.ts +3 -0
- package/api/resources/contracts/resources/v3/client/update.d.ts +31 -0
- package/api/resources/{insurancePayments/resources/v1/client/getMulti.js → contracts/resources/v3/client/update.js} +9 -9
- package/api/resources/contracts/resources/v3/client/updateContractServiceFacility.d.ts +25 -0
- package/api/resources/contracts/resources/v3/client/updateContractServiceFacility.js +66 -0
- package/api/resources/contracts/resources/v3/types/Contract.d.ts +10 -0
- package/api/resources/contracts/resources/v3/types/ContractBase.d.ts +20 -0
- package/api/resources/contracts/resources/v3/types/ContractCreate.d.ts +9 -0
- package/api/resources/contracts/resources/v3/types/ContractCreateUnion.d.ts +10 -0
- package/api/resources/contracts/resources/v3/types/ContractCreateUnion.js +3 -0
- package/api/resources/contracts/resources/v3/types/ContractId.d.ts +5 -0
- package/{dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentId.js → api/resources/contracts/resources/v3/types/ContractId.js} +2 -2
- package/api/resources/contracts/resources/v3/types/ContractServiceFacility.d.ts +6 -0
- package/api/resources/contracts/resources/v3/types/ContractServiceFacility.js +3 -0
- package/api/resources/contracts/resources/v3/types/ContractServiceFacilityBase.d.ts +6 -0
- package/api/resources/contracts/resources/v3/types/ContractServiceFacilityBase.js +3 -0
- package/api/resources/contracts/resources/v3/types/ContractServiceFacilityId.d.ts +5 -0
- package/api/resources/contracts/resources/v3/types/ContractServiceFacilityId.js +7 -0
- package/api/resources/contracts/resources/v3/types/ContractType.d.ts +9 -0
- package/api/resources/contracts/resources/v3/types/ContractType.js +12 -0
- package/api/resources/contracts/resources/v3/types/ContractUnion.d.ts +10 -0
- package/api/resources/contracts/resources/v3/types/ContractUnion.js +3 -0
- package/api/resources/contracts/resources/v3/types/ContractUpdate.d.ts +17 -0
- package/api/resources/contracts/resources/v3/types/ContractUpdate.js +3 -0
- package/api/resources/contracts/resources/v3/types/ContractUpdateUnion.d.ts +10 -0
- package/api/resources/contracts/resources/v3/types/ContractUpdateUnion.js +3 -0
- package/api/resources/contracts/resources/v3/types/ContractWithProvidersUnion.d.ts +10 -0
- package/api/resources/contracts/resources/v3/types/ContractWithProvidersUnion.js +3 -0
- package/api/resources/contracts/resources/v3/types/ContractingProviderId.d.ts +5 -0
- package/api/resources/contracts/resources/v3/types/ContractingProviderId.js +7 -0
- package/api/resources/contracts/resources/v3/types/ContractsPage.d.ts +4 -0
- package/api/resources/contracts/resources/v3/types/ContractsPage.js +3 -0
- package/api/resources/contracts/resources/v3/types/InstitutionalContract.d.ts +5 -0
- package/api/resources/contracts/resources/v3/types/InstitutionalContract.js +3 -0
- package/api/resources/contracts/resources/v3/types/InstitutionalContractCreate.d.ts +4 -0
- package/api/resources/contracts/resources/v3/types/InstitutionalContractCreate.js +3 -0
- package/api/resources/contracts/resources/v3/types/InstitutionalContractUpdate.d.ts +4 -0
- package/api/resources/contracts/resources/v3/types/InstitutionalContractUpdate.js +3 -0
- package/api/resources/contracts/resources/v3/types/ProfessionalContract.d.ts +5 -0
- package/api/resources/contracts/resources/v3/types/ProfessionalContract.js +3 -0
- package/api/resources/contracts/resources/v3/types/ProfessionalContractCreate.d.ts +4 -0
- package/api/resources/contracts/resources/v3/types/ProfessionalContractCreate.js +3 -0
- package/api/resources/contracts/resources/v3/types/ProfessionalContractUpdate.d.ts +4 -0
- package/api/resources/contracts/resources/v3/types/ProfessionalContractUpdate.js +3 -0
- package/api/resources/contracts/resources/v3/types/RenderingProviderid.d.ts +5 -0
- package/api/resources/contracts/resources/v3/types/RenderingProviderid.js +7 -0
- package/api/resources/contracts/resources/v3/types/index.d.ts +22 -0
- package/api/resources/contracts/resources/v3/types/index.js +38 -0
- package/api/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +6 -0
- package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +6 -0
- package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +6 -0
- package/api/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +6 -0
- package/api/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentification.d.ts +4 -0
- package/api/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentification.js +3 -0
- package/api/resources/encounterProviders/resources/v2/types/RenderingProvider.d.ts +6 -0
- package/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdate.d.ts +6 -0
- package/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +6 -0
- package/api/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
- package/api/resources/encounterProviders/resources/v2/types/index.js +1 -0
- package/api/resources/encounters/resources/v4/client/Client.d.ts +15 -0
- package/api/resources/encounters/resources/v4/client/Client.js +19 -0
- package/api/resources/encounters/resources/v4/client/create.d.ts +7 -1
- package/api/resources/encounters/resources/v4/client/create.js +11 -0
- package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +7 -1
- package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +11 -0
- package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +7 -1
- package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +11 -0
- package/api/resources/encounters/resources/v4/client/createUniversal.d.ts +7 -1
- package/api/resources/encounters/resources/v4/client/createUniversal.js +11 -0
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
- package/api/resources/encountersUniversal/types/UniversalEncounterCreateBase.d.ts +2 -0
- package/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +2 -0
- package/api/resources/encountersUniversal/types/UniversalEncounterUpdateBase.d.ts +2 -0
- package/api/resources/events/resources/v1/client/requests/GetEventScanRequest.d.ts +14 -1
- package/api/resources/feeSchedules/resources/v3/client/Client.d.ts +9 -1
- package/api/resources/feeSchedules/resources/v3/client/Client.js +9 -1
- package/api/resources/feeSchedules/resources/v3/types/PayerThreshold.d.ts +6 -1
- package/api/resources/healthCareCodeInformation/resources/v1/types/D8Date.d.ts +5 -1
- package/api/resources/healthCareCodeInformation/resources/v1/types/D8Date.js +4 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.d.ts +2 -14
- package/api/resources/index.d.ts +1 -1
- package/api/resources/index.js +2 -2
- package/api/resources/relatedCausesInformation/resources/v1/index.d.ts +1 -0
- package/api/resources/relatedCausesInformation/resources/v1/index.js +17 -0
- package/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesCode.d.ts +21 -0
- package/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesCode.js +24 -0
- package/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformation.d.ts +6 -0
- package/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformation.js +3 -0
- package/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.d.ts +3 -0
- package/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.js +3 -0
- package/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.d.ts +3 -0
- package/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.js +3 -0
- package/api/resources/relatedCausesInformation/resources/v1/types/index.d.ts +4 -0
- package/api/resources/{insurancePayments → relatedCausesInformation}/resources/v1/types/index.js +4 -4
- package/dist/Client.d.ts +0 -3
- package/dist/Client.js +36 -41
- package/dist/api/resources/contracts/client/Client.d.ts +3 -0
- package/dist/api/resources/contracts/client/Client.js +5 -0
- package/dist/api/resources/contracts/resources/index.d.ts +1 -0
- package/dist/api/resources/contracts/resources/index.js +2 -1
- package/dist/api/resources/contracts/resources/v2/client/Client.d.ts +4 -0
- package/dist/api/resources/contracts/resources/v2/client/Client.js +4 -0
- package/dist/api/resources/contracts/resources/v3/client/Client.d.ts +109 -0
- package/dist/api/resources/contracts/resources/v3/client/Client.js +603 -0
- package/dist/api/resources/contracts/resources/v3/client/create.d.ts +19 -0
- package/dist/api/resources/contracts/resources/v3/client/create.js +55 -0
- package/dist/api/resources/contracts/resources/v3/client/createContractServiceFacility.d.ts +25 -0
- package/dist/api/resources/contracts/resources/v3/client/createContractServiceFacility.js +66 -0
- package/dist/api/resources/contracts/resources/v3/client/delete.d.ts +25 -0
- package/dist/api/resources/contracts/resources/v3/client/delete.js +66 -0
- package/dist/api/resources/contracts/resources/v3/client/get.d.ts +25 -0
- package/{api/resources/insurancePayments/resources/v1 → dist/api/resources/contracts/resources/v3}/client/get.js +2 -13
- package/dist/api/resources/contracts/resources/v3/client/getMulti.d.ts +19 -0
- package/dist/api/resources/contracts/resources/v3/client/getMulti.js +55 -0
- package/dist/api/resources/contracts/resources/v3/client/index.d.ts +8 -0
- package/dist/api/resources/contracts/resources/v3/client/index.js +47 -0
- package/dist/api/resources/contracts/resources/v3/client/requests/ContractServiceFacilityCreate.d.ts +10 -0
- package/dist/api/resources/contracts/resources/v3/client/requests/ContractServiceFacilityCreate.js +3 -0
- package/dist/api/resources/contracts/resources/v3/client/requests/ContractServiceFacilityUpdate.d.ts +10 -0
- package/dist/api/resources/contracts/resources/v3/client/requests/ContractServiceFacilityUpdate.js +3 -0
- package/dist/api/resources/contracts/resources/v3/client/requests/GetMultiContractsRequest.d.ts +23 -0
- package/dist/api/resources/contracts/resources/v3/client/requests/GetMultiContractsRequest.js +3 -0
- package/dist/api/resources/contracts/resources/v3/client/requests/index.d.ts +3 -0
- package/dist/api/resources/contracts/resources/v3/client/update.d.ts +31 -0
- package/dist/api/resources/{insurancePayments/resources/v1/client/getMulti.js → contracts/resources/v3/client/update.js} +9 -9
- package/dist/api/resources/contracts/resources/v3/client/updateContractServiceFacility.d.ts +25 -0
- package/dist/api/resources/contracts/resources/v3/client/updateContractServiceFacility.js +66 -0
- package/dist/api/resources/contracts/resources/v3/types/Contract.d.ts +10 -0
- package/dist/api/resources/contracts/resources/v3/types/Contract.js +3 -0
- package/dist/api/resources/contracts/resources/v3/types/ContractBase.d.ts +20 -0
- package/dist/api/resources/contracts/resources/v3/types/ContractBase.js +3 -0
- package/dist/api/resources/contracts/resources/v3/types/ContractCreate.d.ts +9 -0
- package/dist/api/resources/contracts/resources/v3/types/ContractCreate.js +3 -0
- package/dist/api/resources/contracts/resources/v3/types/ContractCreateUnion.d.ts +10 -0
- package/dist/api/resources/contracts/resources/v3/types/ContractCreateUnion.js +3 -0
- package/dist/api/resources/contracts/resources/v3/types/ContractId.d.ts +5 -0
- package/{api/resources/insurancePayments/resources/v1/types/InsurancePaymentId.js → dist/api/resources/contracts/resources/v3/types/ContractId.js} +2 -2
- package/dist/api/resources/contracts/resources/v3/types/ContractServiceFacility.d.ts +6 -0
- package/dist/api/resources/contracts/resources/v3/types/ContractServiceFacility.js +3 -0
- package/dist/api/resources/contracts/resources/v3/types/ContractServiceFacilityBase.d.ts +6 -0
- package/dist/api/resources/contracts/resources/v3/types/ContractServiceFacilityBase.js +3 -0
- package/dist/api/resources/contracts/resources/v3/types/ContractServiceFacilityId.d.ts +5 -0
- package/dist/api/resources/contracts/resources/v3/types/ContractServiceFacilityId.js +7 -0
- package/dist/api/resources/contracts/resources/v3/types/ContractType.d.ts +9 -0
- package/dist/api/resources/contracts/resources/v3/types/ContractType.js +12 -0
- package/dist/api/resources/contracts/resources/v3/types/ContractUnion.d.ts +10 -0
- package/dist/api/resources/contracts/resources/v3/types/ContractUnion.js +3 -0
- package/dist/api/resources/contracts/resources/v3/types/ContractUpdate.d.ts +17 -0
- package/dist/api/resources/contracts/resources/v3/types/ContractUpdate.js +3 -0
- package/dist/api/resources/contracts/resources/v3/types/ContractUpdateUnion.d.ts +10 -0
- package/dist/api/resources/contracts/resources/v3/types/ContractUpdateUnion.js +3 -0
- package/dist/api/resources/contracts/resources/v3/types/ContractWithProvidersUnion.d.ts +10 -0
- package/dist/api/resources/contracts/resources/v3/types/ContractWithProvidersUnion.js +3 -0
- package/dist/api/resources/contracts/resources/v3/types/ContractingProviderId.d.ts +5 -0
- package/dist/api/resources/contracts/resources/v3/types/ContractingProviderId.js +7 -0
- package/dist/api/resources/contracts/resources/v3/types/ContractsPage.d.ts +4 -0
- package/dist/api/resources/contracts/resources/v3/types/ContractsPage.js +3 -0
- package/dist/api/resources/contracts/resources/v3/types/InstitutionalContract.d.ts +5 -0
- package/dist/api/resources/contracts/resources/v3/types/InstitutionalContract.js +3 -0
- package/dist/api/resources/contracts/resources/v3/types/InstitutionalContractCreate.d.ts +4 -0
- package/dist/api/resources/contracts/resources/v3/types/InstitutionalContractCreate.js +3 -0
- package/dist/api/resources/contracts/resources/v3/types/InstitutionalContractUpdate.d.ts +4 -0
- package/dist/api/resources/contracts/resources/v3/types/InstitutionalContractUpdate.js +3 -0
- package/dist/api/resources/contracts/resources/v3/types/ProfessionalContract.d.ts +5 -0
- package/dist/api/resources/contracts/resources/v3/types/ProfessionalContract.js +3 -0
- package/dist/api/resources/contracts/resources/v3/types/ProfessionalContractCreate.d.ts +4 -0
- package/dist/api/resources/contracts/resources/v3/types/ProfessionalContractCreate.js +3 -0
- package/dist/api/resources/contracts/resources/v3/types/ProfessionalContractUpdate.d.ts +4 -0
- package/dist/api/resources/contracts/resources/v3/types/ProfessionalContractUpdate.js +3 -0
- package/dist/api/resources/contracts/resources/v3/types/RenderingProviderid.d.ts +5 -0
- package/dist/api/resources/contracts/resources/v3/types/RenderingProviderid.js +7 -0
- package/dist/api/resources/contracts/resources/v3/types/index.d.ts +22 -0
- package/dist/api/resources/contracts/resources/v3/types/index.js +38 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +6 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +6 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +6 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +6 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentification.d.ts +4 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentification.js +3 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/RenderingProvider.d.ts +6 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdate.d.ts +6 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +6 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/index.js +1 -0
- package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +15 -0
- package/dist/api/resources/encounters/resources/v4/client/Client.js +19 -0
- package/dist/api/resources/encounters/resources/v4/client/create.d.ts +7 -1
- package/dist/api/resources/encounters/resources/v4/client/create.js +11 -0
- package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +7 -1
- package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +11 -0
- package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +7 -1
- package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +11 -0
- package/dist/api/resources/encounters/resources/v4/client/createUniversal.d.ts +7 -1
- package/dist/api/resources/encounters/resources/v4/client/createUniversal.js +11 -0
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateBase.d.ts +2 -0
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +2 -0
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterUpdateBase.d.ts +2 -0
- package/dist/api/resources/events/resources/v1/client/requests/GetEventScanRequest.d.ts +14 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.d.ts +9 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +9 -1
- package/dist/api/resources/feeSchedules/resources/v3/types/PayerThreshold.d.ts +6 -1
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/D8Date.d.ts +5 -1
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/D8Date.js +4 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.d.ts +2 -14
- package/dist/api/resources/index.d.ts +1 -1
- package/dist/api/resources/index.js +2 -2
- package/dist/api/resources/relatedCausesInformation/resources/v1/index.d.ts +1 -0
- package/dist/api/resources/relatedCausesInformation/resources/v1/index.js +17 -0
- package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesCode.d.ts +21 -0
- package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesCode.js +24 -0
- package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformation.d.ts +6 -0
- package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformation.js +3 -0
- package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.d.ts +3 -0
- package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.js +3 -0
- package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.d.ts +3 -0
- package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.js +3 -0
- package/dist/api/resources/relatedCausesInformation/resources/v1/types/index.d.ts +4 -0
- package/dist/api/resources/relatedCausesInformation/resources/v1/types/index.js +20 -0
- package/dist/serialization/resources/contracts/resources/index.d.ts +1 -0
- package/dist/serialization/resources/contracts/resources/index.js +2 -1
- package/dist/serialization/resources/{insurancePayments/resources/v1/client/getMulti.d.ts → contracts/resources/v3/client/createContractServiceFacility.d.ts} +2 -7
- package/{serialization/resources/insurancePayments/resources/v1/client/getMulti.js → dist/serialization/resources/contracts/resources/v3/client/createContractServiceFacility.js} +1 -7
- package/dist/serialization/resources/contracts/resources/v3/client/delete.d.ts +12 -0
- package/dist/serialization/resources/contracts/resources/v3/client/delete.js +69 -0
- package/dist/serialization/resources/{insurancePayments/resources/v1 → contracts/resources/v3}/client/get.d.ts +2 -7
- package/dist/serialization/resources/{insurancePayments/resources/v1 → contracts/resources/v3}/client/get.js +1 -7
- package/dist/serialization/resources/contracts/resources/v3/client/index.d.ts +6 -0
- package/{api/resources/insurancePayments/resources/v1 → dist/serialization/resources/contracts/resources/v3}/client/index.js +5 -2
- package/dist/serialization/resources/contracts/resources/v3/client/requests/ContractServiceFacilityCreate.d.ts +9 -0
- package/dist/serialization/resources/contracts/resources/v3/client/requests/ContractServiceFacilityCreate.js +40 -0
- package/dist/serialization/resources/contracts/resources/v3/client/requests/ContractServiceFacilityUpdate.d.ts +10 -0
- package/dist/serialization/resources/contracts/resources/v3/client/requests/ContractServiceFacilityUpdate.js +42 -0
- package/dist/serialization/resources/contracts/resources/v3/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/contracts/resources/v3/client/requests/index.js +7 -0
- package/dist/serialization/resources/contracts/resources/v3/client/update.d.ts +17 -0
- package/dist/serialization/resources/contracts/resources/v3/client/update.js +75 -0
- package/{serialization/resources/insurancePayments/resources/v1/client/getMulti.d.ts → dist/serialization/resources/contracts/resources/v3/client/updateContractServiceFacility.d.ts} +2 -7
- package/dist/serialization/resources/{insurancePayments/resources/v1/client/getMulti.js → contracts/resources/v3/client/updateContractServiceFacility.js} +1 -7
- package/dist/serialization/resources/contracts/resources/v3/types/Contract.d.ts +16 -0
- package/dist/serialization/resources/{insurancePayments/resources/v1/types/InsurancePayment.js → contracts/resources/v3/types/Contract.js} +11 -10
- package/dist/serialization/resources/contracts/resources/v3/types/ContractBase.d.ts +21 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ContractBase.js +53 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ContractCreate.d.ts +14 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ContractCreate.js +48 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ContractCreateUnion.d.ts +15 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ContractCreateUnion.js +49 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ContractId.d.ts +7 -0
- package/dist/serialization/resources/{insurancePayments/resources/v1/types/InsurancePaymentId.js → contracts/resources/v3/types/ContractId.js} +3 -3
- package/dist/serialization/resources/contracts/resources/v3/types/ContractServiceFacility.d.ts +13 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ContractServiceFacility.js +47 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ContractServiceFacilityBase.d.ts +10 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ContractServiceFacilityBase.js +42 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ContractServiceFacilityId.d.ts +7 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ContractServiceFacilityId.js +43 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ContractType.d.ts +7 -0
- package/dist/serialization/resources/{insurancePayments/resources/v1/types/InsurancePaymentSortField.js → contracts/resources/v3/types/ContractType.js} +2 -2
- package/dist/serialization/resources/contracts/resources/v3/types/ContractUnion.d.ts +14 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ContractUnion.js +48 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ContractUpdate.d.ts +22 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ContractUpdate.js +54 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ContractUpdateUnion.d.ts +15 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ContractUpdateUnion.js +49 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ContractWithProvidersUnion.d.ts +15 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ContractWithProvidersUnion.js +49 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ContractingProviderId.d.ts +7 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ContractingProviderId.js +43 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ContractsPage.d.ts +11 -0
- package/{serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.js → dist/serialization/resources/contracts/resources/v3/types/ContractsPage.js} +4 -4
- package/dist/serialization/resources/contracts/resources/v3/types/InstitutionalContract.d.ts +11 -0
- package/dist/serialization/resources/contracts/resources/v3/types/InstitutionalContract.js +45 -0
- package/dist/serialization/resources/contracts/resources/v3/types/InstitutionalContractCreate.d.ts +11 -0
- package/dist/serialization/resources/contracts/resources/v3/types/InstitutionalContractCreate.js +45 -0
- package/dist/serialization/resources/contracts/resources/v3/types/InstitutionalContractUpdate.d.ts +11 -0
- package/dist/serialization/resources/contracts/resources/v3/types/InstitutionalContractUpdate.js +45 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ProfessionalContract.d.ts +10 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ProfessionalContract.js +44 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ProfessionalContractCreate.d.ts +11 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ProfessionalContractCreate.js +45 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ProfessionalContractUpdate.d.ts +11 -0
- package/dist/serialization/resources/contracts/resources/v3/types/ProfessionalContractUpdate.js +45 -0
- package/dist/serialization/resources/contracts/resources/v3/types/RenderingProviderid.d.ts +7 -0
- package/{serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentId.js → dist/serialization/resources/contracts/resources/v3/types/RenderingProviderid.js} +3 -3
- package/dist/serialization/resources/contracts/resources/v3/types/index.d.ts +22 -0
- package/dist/serialization/resources/contracts/resources/v3/types/index.js +38 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProvider.js +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.js +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentification.d.ts +9 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentification.js +41 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProvider.d.ts +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProvider.js +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdate.d.ts +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdate.js +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/index.js +1 -0
- package/dist/serialization/resources/encounters/resources/v4/client/create.d.ts +6 -1
- package/dist/serialization/resources/encounters/resources/v4/client/create.js +6 -0
- package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +6 -1
- package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +6 -0
- package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +6 -1
- package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +6 -0
- package/dist/serialization/resources/encounters/resources/v4/client/createUniversal.d.ts +6 -1
- package/dist/serialization/resources/encounters/resources/v4/client/createUniversal.js +6 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +2 -0
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.d.ts +2 -0
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.js +2 -0
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +2 -0
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.js +2 -0
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.d.ts +2 -0
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.js +2 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/D8Date.d.ts +1 -1
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/D8Date.js +5 -1
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.js +2 -2
- package/dist/serialization/resources/index.d.ts +1 -1
- package/dist/serialization/resources/index.js +2 -2
- package/{api/resources/insurancePayments → dist/serialization/resources/relatedCausesInformation}/index.d.ts +0 -1
- package/{api/resources/insurancePayments → dist/serialization/resources/relatedCausesInformation}/index.js +0 -1
- package/dist/serialization/resources/relatedCausesInformation/resources/v1/index.d.ts +1 -0
- package/dist/serialization/resources/relatedCausesInformation/resources/v1/index.js +17 -0
- package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesCode.d.ts +7 -0
- package/{serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.js → dist/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesCode.js} +2 -2
- package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformation.d.ts +12 -0
- package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformation.js +44 -0
- package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.d.ts +9 -0
- package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.js +40 -0
- package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.d.ts +9 -0
- package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.js +40 -0
- package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/index.d.ts +4 -0
- package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/index.js +20 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +540 -178
- package/serialization/resources/contracts/resources/index.d.ts +1 -0
- package/serialization/resources/contracts/resources/index.js +2 -1
- package/serialization/resources/contracts/resources/v3/client/createContractServiceFacility.d.ts +12 -0
- package/serialization/resources/contracts/resources/v3/client/createContractServiceFacility.js +69 -0
- package/serialization/resources/contracts/resources/v3/client/delete.d.ts +12 -0
- package/serialization/resources/contracts/resources/v3/client/delete.js +69 -0
- package/serialization/resources/{insurancePayments/resources/v1 → contracts/resources/v3}/client/get.d.ts +2 -7
- package/serialization/resources/{insurancePayments/resources/v1 → contracts/resources/v3}/client/get.js +1 -7
- package/serialization/resources/contracts/resources/v3/client/index.d.ts +6 -0
- package/{dist/api/resources/insurancePayments/resources/v1 → serialization/resources/contracts/resources/v3}/client/index.js +5 -2
- package/serialization/resources/contracts/resources/v3/client/requests/ContractServiceFacilityCreate.d.ts +9 -0
- package/serialization/resources/contracts/resources/v3/client/requests/ContractServiceFacilityCreate.js +40 -0
- package/serialization/resources/contracts/resources/v3/client/requests/ContractServiceFacilityUpdate.d.ts +10 -0
- package/serialization/resources/contracts/resources/v3/client/requests/ContractServiceFacilityUpdate.js +42 -0
- package/serialization/resources/contracts/resources/v3/client/requests/index.d.ts +2 -0
- package/serialization/resources/contracts/resources/v3/client/requests/index.js +7 -0
- package/serialization/resources/contracts/resources/v3/client/update.d.ts +17 -0
- package/serialization/resources/contracts/resources/v3/client/update.js +75 -0
- package/serialization/resources/contracts/resources/v3/client/updateContractServiceFacility.d.ts +12 -0
- package/serialization/resources/contracts/resources/v3/client/updateContractServiceFacility.js +69 -0
- package/serialization/resources/contracts/resources/v3/types/Contract.d.ts +16 -0
- package/serialization/resources/{insurancePayments/resources/v1/types/InsurancePayment.js → contracts/resources/v3/types/Contract.js} +11 -10
- package/serialization/resources/contracts/resources/v3/types/ContractBase.d.ts +21 -0
- package/serialization/resources/contracts/resources/v3/types/ContractBase.js +53 -0
- package/serialization/resources/contracts/resources/v3/types/ContractCreate.d.ts +14 -0
- package/serialization/resources/contracts/resources/v3/types/ContractCreate.js +48 -0
- package/serialization/resources/contracts/resources/v3/types/ContractCreateUnion.d.ts +15 -0
- package/serialization/resources/contracts/resources/v3/types/ContractCreateUnion.js +49 -0
- package/serialization/resources/contracts/resources/v3/types/ContractId.d.ts +7 -0
- package/serialization/resources/contracts/resources/v3/types/ContractId.js +43 -0
- package/serialization/resources/contracts/resources/v3/types/ContractServiceFacility.d.ts +13 -0
- package/serialization/resources/contracts/resources/v3/types/ContractServiceFacility.js +47 -0
- package/serialization/resources/contracts/resources/v3/types/ContractServiceFacilityBase.d.ts +10 -0
- package/serialization/resources/contracts/resources/v3/types/ContractServiceFacilityBase.js +42 -0
- package/serialization/resources/contracts/resources/v3/types/ContractServiceFacilityId.d.ts +7 -0
- package/serialization/resources/contracts/resources/v3/types/ContractServiceFacilityId.js +43 -0
- package/serialization/resources/contracts/resources/v3/types/ContractType.d.ts +7 -0
- package/{dist/serialization/resources/insurancePayments/resources/v1/client/index.js → serialization/resources/contracts/resources/v3/types/ContractType.js} +4 -3
- package/serialization/resources/contracts/resources/v3/types/ContractUnion.d.ts +14 -0
- package/serialization/resources/contracts/resources/v3/types/ContractUnion.js +48 -0
- package/serialization/resources/contracts/resources/v3/types/ContractUpdate.d.ts +22 -0
- package/serialization/resources/contracts/resources/v3/types/ContractUpdate.js +54 -0
- package/serialization/resources/contracts/resources/v3/types/ContractUpdateUnion.d.ts +15 -0
- package/serialization/resources/contracts/resources/v3/types/ContractUpdateUnion.js +49 -0
- package/serialization/resources/contracts/resources/v3/types/ContractWithProvidersUnion.d.ts +15 -0
- package/serialization/resources/contracts/resources/v3/types/ContractWithProvidersUnion.js +49 -0
- package/serialization/resources/contracts/resources/v3/types/ContractingProviderId.d.ts +7 -0
- package/serialization/resources/contracts/resources/v3/types/ContractingProviderId.js +43 -0
- package/serialization/resources/contracts/resources/v3/types/ContractsPage.d.ts +11 -0
- package/{dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.js → serialization/resources/contracts/resources/v3/types/ContractsPage.js} +4 -4
- package/serialization/resources/contracts/resources/v3/types/InstitutionalContract.d.ts +11 -0
- package/serialization/resources/contracts/resources/v3/types/InstitutionalContract.js +45 -0
- package/serialization/resources/contracts/resources/v3/types/InstitutionalContractCreate.d.ts +11 -0
- package/serialization/resources/contracts/resources/v3/types/InstitutionalContractCreate.js +45 -0
- package/serialization/resources/contracts/resources/v3/types/InstitutionalContractUpdate.d.ts +11 -0
- package/serialization/resources/contracts/resources/v3/types/InstitutionalContractUpdate.js +45 -0
- package/serialization/resources/contracts/resources/v3/types/ProfessionalContract.d.ts +10 -0
- package/serialization/resources/contracts/resources/v3/types/ProfessionalContract.js +44 -0
- package/serialization/resources/contracts/resources/v3/types/ProfessionalContractCreate.d.ts +11 -0
- package/serialization/resources/contracts/resources/v3/types/ProfessionalContractCreate.js +45 -0
- package/serialization/resources/contracts/resources/v3/types/ProfessionalContractUpdate.d.ts +11 -0
- package/serialization/resources/contracts/resources/v3/types/ProfessionalContractUpdate.js +45 -0
- package/serialization/resources/contracts/resources/v3/types/RenderingProviderid.d.ts +7 -0
- package/serialization/resources/contracts/resources/v3/types/RenderingProviderid.js +43 -0
- package/serialization/resources/contracts/resources/v3/types/index.d.ts +22 -0
- package/serialization/resources/contracts/resources/v3/types/index.js +38 -0
- package/serialization/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/BillingProvider.js +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.js +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentification.d.ts +9 -0
- package/serialization/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentification.js +41 -0
- package/serialization/resources/encounterProviders/resources/v2/types/RenderingProvider.d.ts +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/RenderingProvider.js +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdate.d.ts +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdate.js +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
- package/serialization/resources/encounterProviders/resources/v2/types/index.js +1 -0
- package/serialization/resources/encounters/resources/v4/client/create.d.ts +6 -1
- package/serialization/resources/encounters/resources/v4/client/create.js +6 -0
- package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +6 -1
- package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +6 -0
- package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +6 -1
- package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +6 -0
- package/serialization/resources/encounters/resources/v4/client/createUniversal.d.ts +6 -1
- package/serialization/resources/encounters/resources/v4/client/createUniversal.js +6 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.js +2 -0
- package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.d.ts +2 -0
- package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.js +2 -0
- package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +2 -0
- package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.js +2 -0
- package/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.d.ts +2 -0
- package/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.js +2 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/D8Date.d.ts +1 -1
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/D8Date.js +5 -1
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.js +2 -2
- package/serialization/resources/index.d.ts +1 -1
- package/serialization/resources/index.js +2 -2
- package/{dist/api/resources/insurancePayments → serialization/resources/relatedCausesInformation}/index.d.ts +0 -1
- package/{dist/api/resources/insurancePayments → serialization/resources/relatedCausesInformation}/index.js +0 -1
- package/serialization/resources/relatedCausesInformation/resources/v1/index.d.ts +1 -0
- package/serialization/resources/relatedCausesInformation/resources/v1/index.js +17 -0
- package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesCode.d.ts +7 -0
- package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesCode.js +39 -0
- package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformation.d.ts +12 -0
- package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformation.js +44 -0
- package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.d.ts +9 -0
- package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.js +40 -0
- package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.d.ts +9 -0
- package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.js +40 -0
- package/serialization/resources/relatedCausesInformation/resources/v1/types/index.d.ts +4 -0
- package/serialization/resources/relatedCausesInformation/resources/v1/types/index.js +20 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/insurancePayments/client/Client.d.ts +0 -14
- package/api/resources/insurancePayments/client/Client.js +0 -15
- package/api/resources/insurancePayments/client/index.d.ts +0 -1
- package/api/resources/insurancePayments/resources/v1/client/Client.d.ts +0 -38
- package/api/resources/insurancePayments/resources/v1/client/Client.js +0 -237
- package/api/resources/insurancePayments/resources/v1/client/get.d.ts +0 -31
- package/api/resources/insurancePayments/resources/v1/client/getMulti.d.ts +0 -31
- package/api/resources/insurancePayments/resources/v1/client/index.d.ts +0 -3
- package/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.d.ts +0 -18
- package/api/resources/insurancePayments/resources/v1/client/requests/index.d.ts +0 -1
- package/api/resources/insurancePayments/resources/v1/types/InsurancePayment.d.ts +0 -9
- package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentId.d.ts +0 -5
- package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.d.ts +0 -6
- package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.js +0 -9
- package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.d.ts +0 -4
- package/api/resources/insurancePayments/resources/v1/types/index.d.ts +0 -4
- package/dist/api/resources/insurancePayments/client/Client.d.ts +0 -14
- package/dist/api/resources/insurancePayments/client/Client.js +0 -15
- package/dist/api/resources/insurancePayments/client/index.d.ts +0 -1
- package/dist/api/resources/insurancePayments/client/index.js +0 -2
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.d.ts +0 -38
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +0 -237
- package/dist/api/resources/insurancePayments/resources/v1/client/get.d.ts +0 -31
- package/dist/api/resources/insurancePayments/resources/v1/client/getMulti.d.ts +0 -31
- package/dist/api/resources/insurancePayments/resources/v1/client/index.d.ts +0 -3
- package/dist/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.d.ts +0 -18
- package/dist/api/resources/insurancePayments/resources/v1/client/requests/index.d.ts +0 -1
- package/dist/api/resources/insurancePayments/resources/v1/client/requests/index.js +0 -2
- package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePayment.d.ts +0 -9
- package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentId.d.ts +0 -5
- package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.d.ts +0 -6
- package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.js +0 -9
- package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.d.ts +0 -4
- package/dist/api/resources/insurancePayments/resources/v1/types/index.d.ts +0 -4
- package/dist/api/resources/insurancePayments/resources/v1/types/index.js +0 -20
- package/dist/serialization/resources/insurancePayments/resources/v1/client/index.d.ts +0 -2
- package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePayment.d.ts +0 -17
- package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentId.d.ts +0 -7
- package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.d.ts +0 -7
- package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.d.ts +0 -11
- package/dist/serialization/resources/insurancePayments/resources/v1/types/index.d.ts +0 -4
- package/dist/serialization/resources/insurancePayments/resources/v1/types/index.js +0 -20
- package/serialization/resources/insurancePayments/resources/v1/client/index.d.ts +0 -2
- package/serialization/resources/insurancePayments/resources/v1/types/InsurancePayment.d.ts +0 -17
- package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentId.d.ts +0 -7
- package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.d.ts +0 -7
- package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.d.ts +0 -11
- package/serialization/resources/insurancePayments/resources/v1/types/index.d.ts +0 -4
- package/serialization/resources/insurancePayments/resources/v1/types/index.js +0 -20
- /package/api/resources/{insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.js → contracts/resources/v3/client/requests/ContractServiceFacilityCreate.js} +0 -0
- /package/api/resources/{insurancePayments/resources/v1/types/InsurancePayment.js → contracts/resources/v3/client/requests/ContractServiceFacilityUpdate.js} +0 -0
- /package/api/resources/{insurancePayments/resources/v1/types/InsurancePaymentsPage.js → contracts/resources/v3/client/requests/GetMultiContractsRequest.js} +0 -0
- /package/api/resources/{insurancePayments/client → contracts/resources/v3/client/requests}/index.js +0 -0
- /package/api/resources/{insurancePayments/resources/v1 → contracts/resources/v3}/index.d.ts +0 -0
- /package/api/resources/{insurancePayments/resources/v1 → contracts/resources/v3}/index.js +0 -0
- /package/{dist/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.js → api/resources/contracts/resources/v3/types/Contract.js} +0 -0
- /package/{dist/api/resources/insurancePayments/resources/v1/types/InsurancePayment.js → api/resources/contracts/resources/v3/types/ContractBase.js} +0 -0
- /package/{dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.js → api/resources/contracts/resources/v3/types/ContractCreate.js} +0 -0
- /package/{dist/serialization/resources/insurancePayments → api/resources/relatedCausesInformation}/index.d.ts +0 -0
- /package/{dist/serialization/resources/insurancePayments → api/resources/relatedCausesInformation}/index.js +0 -0
- /package/api/resources/{insurancePayments → relatedCausesInformation}/resources/index.d.ts +0 -0
- /package/api/resources/{insurancePayments → relatedCausesInformation}/resources/index.js +0 -0
- /package/{api/resources/insurancePayments/resources/v1 → dist/api/resources/contracts/resources/v3}/client/requests/index.js +0 -0
- /package/dist/api/resources/{insurancePayments/resources/v1 → contracts/resources/v3}/index.d.ts +0 -0
- /package/dist/api/resources/{insurancePayments/resources/v1 → contracts/resources/v3}/index.js +0 -0
- /package/{serialization/resources/insurancePayments → dist/api/resources/relatedCausesInformation}/index.d.ts +0 -0
- /package/{serialization/resources/insurancePayments → dist/api/resources/relatedCausesInformation}/index.js +0 -0
- /package/dist/api/resources/{insurancePayments → relatedCausesInformation}/resources/index.d.ts +0 -0
- /package/dist/api/resources/{insurancePayments → relatedCausesInformation}/resources/index.js +0 -0
- /package/dist/serialization/resources/{insurancePayments/resources/v1 → contracts/resources/v3}/index.d.ts +0 -0
- /package/dist/serialization/resources/{insurancePayments/resources/v1 → contracts/resources/v3}/index.js +0 -0
- /package/dist/serialization/resources/{insurancePayments → relatedCausesInformation}/resources/index.d.ts +0 -0
- /package/dist/serialization/resources/{insurancePayments → relatedCausesInformation}/resources/index.js +0 -0
- /package/serialization/resources/{insurancePayments/resources/v1 → contracts/resources/v3}/index.d.ts +0 -0
- /package/serialization/resources/{insurancePayments/resources/v1 → contracts/resources/v3}/index.js +0 -0
- /package/serialization/resources/{insurancePayments → relatedCausesInformation}/resources/index.d.ts +0 -0
- /package/serialization/resources/{insurancePayments → relatedCausesInformation}/resources/index.js +0 -0
package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformation.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type * as CandidApi from "../../../../../index";
|
|
2
|
+
export interface RelatedCausesInformation {
|
|
3
|
+
relatedCausesCode1: CandidApi.relatedCausesInformation.v1.RelatedCausesCode;
|
|
4
|
+
relatedCausesCode2?: CandidApi.relatedCausesInformation.v1.RelatedCausesCode;
|
|
5
|
+
stateOrProvinceCode?: string;
|
|
6
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
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("./RelatedCausesCode"), exports);
|
|
18
|
+
__exportStar(require("./RelatedCausesInformation"), exports);
|
|
19
|
+
__exportStar(require("./RelatedCausesInformationCreate"), exports);
|
|
20
|
+
__exportStar(require("./RelatedCausesInformationUpdate"), exports);
|
|
@@ -33,5 +33,6 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.v2 = void 0;
|
|
36
|
+
exports.v3 = exports.v2 = void 0;
|
|
37
37
|
exports.v2 = __importStar(require("./v2"));
|
|
38
|
+
exports.v3 = __importStar(require("./v3"));
|
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
import * as CandidApi from "../../../../../../api/index";
|
|
2
2
|
import * as core from "../../../../../../core";
|
|
3
3
|
import type * as serializers from "../../../../../index";
|
|
4
|
-
import { UnauthorizedErrorMessage } from "../../../../commons/types/UnauthorizedErrorMessage";
|
|
5
4
|
import { UnprocessableEntityErrorMessage } from "../../../../commons/types/UnprocessableEntityErrorMessage";
|
|
6
|
-
export declare const Error: core.serialization.Schema<serializers.
|
|
5
|
+
export declare const Error: core.serialization.Schema<serializers.contracts.v3.createContractServiceFacility.Error.Raw, CandidApi.contracts.v3.createContractServiceFacility.Error>;
|
|
7
6
|
export declare namespace Error {
|
|
8
|
-
type Raw = Error.
|
|
9
|
-
interface UnauthorizedError {
|
|
10
|
-
errorName: "UnauthorizedError";
|
|
11
|
-
content: UnauthorizedErrorMessage.Raw;
|
|
12
|
-
}
|
|
7
|
+
type Raw = Error.UnprocessableEntityError;
|
|
13
8
|
interface UnprocessableEntityError {
|
|
14
9
|
errorName: "UnprocessableEntityError";
|
|
15
10
|
content: UnprocessableEntityErrorMessage.Raw;
|
|
@@ -48,13 +48,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
48
48
|
exports.Error = void 0;
|
|
49
49
|
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
50
50
|
const core = __importStar(require("../../../../../../core"));
|
|
51
|
-
const UnauthorizedErrorMessage_1 = require("../../../../commons/types/UnauthorizedErrorMessage");
|
|
52
51
|
const UnprocessableEntityErrorMessage_1 = require("../../../../commons/types/UnprocessableEntityErrorMessage");
|
|
53
52
|
exports.Error = core.serialization
|
|
54
53
|
.union("errorName", {
|
|
55
|
-
UnauthorizedError: core.serialization.object({
|
|
56
|
-
content: UnauthorizedErrorMessage_1.UnauthorizedErrorMessage,
|
|
57
|
-
}),
|
|
58
54
|
UnprocessableEntityError: core.serialization.object({
|
|
59
55
|
content: UnprocessableEntityErrorMessage_1.UnprocessableEntityErrorMessage,
|
|
60
56
|
}),
|
|
@@ -62,10 +58,8 @@ exports.Error = core.serialization
|
|
|
62
58
|
.transform({
|
|
63
59
|
transform: (value) => {
|
|
64
60
|
switch (value.errorName) {
|
|
65
|
-
case "UnauthorizedError":
|
|
66
|
-
return CandidApi.insurancePayments.v1.getMulti.Error.unauthorizedError(value.content);
|
|
67
61
|
case "UnprocessableEntityError":
|
|
68
|
-
return CandidApi.
|
|
62
|
+
return CandidApi.contracts.v3.createContractServiceFacility.Error.unprocessableEntityError(value.content);
|
|
69
63
|
}
|
|
70
64
|
},
|
|
71
65
|
untransform: (_a) => {
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../../index";
|
|
4
|
+
import { ContractIsLinkedToFeeScheduleError } from "../../v2/types/ContractIsLinkedToFeeScheduleError";
|
|
5
|
+
export declare const Error: core.serialization.Schema<serializers.contracts.v3.delete.Error.Raw, CandidApi.contracts.v3.delete.Error>;
|
|
6
|
+
export declare namespace Error {
|
|
7
|
+
type Raw = Error.ContractIsLinkedToFeeScheduleHttpError;
|
|
8
|
+
interface ContractIsLinkedToFeeScheduleHttpError {
|
|
9
|
+
errorName: "ContractIsLinkedToFeeScheduleHttpError";
|
|
10
|
+
content: ContractIsLinkedToFeeScheduleError.Raw;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
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 ContractIsLinkedToFeeScheduleError_1 = require("../../v2/types/ContractIsLinkedToFeeScheduleError");
|
|
52
|
+
exports.Error = core.serialization
|
|
53
|
+
.union("errorName", {
|
|
54
|
+
ContractIsLinkedToFeeScheduleHttpError: core.serialization.object({
|
|
55
|
+
content: ContractIsLinkedToFeeScheduleError_1.ContractIsLinkedToFeeScheduleError,
|
|
56
|
+
}),
|
|
57
|
+
})
|
|
58
|
+
.transform({
|
|
59
|
+
transform: (value) => {
|
|
60
|
+
switch (value.errorName) {
|
|
61
|
+
case "ContractIsLinkedToFeeScheduleHttpError":
|
|
62
|
+
return CandidApi.contracts.v3.delete.Error.contractIsLinkedToFeeScheduleHttpError(value.content);
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
untransform: (_a) => {
|
|
66
|
+
var { _visit } = _a, value = __rest(_a, ["_visit"]);
|
|
67
|
+
return value;
|
|
68
|
+
},
|
|
69
|
+
});
|
|
@@ -2,16 +2,11 @@ import * as CandidApi from "../../../../../../api/index";
|
|
|
2
2
|
import * as core from "../../../../../../core";
|
|
3
3
|
import type * as serializers from "../../../../../index";
|
|
4
4
|
import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
|
|
5
|
-
|
|
6
|
-
export declare const Error: core.serialization.Schema<serializers.insurancePayments.v1.get.Error.Raw, CandidApi.insurancePayments.v1.get.Error>;
|
|
5
|
+
export declare const Error: core.serialization.Schema<serializers.contracts.v3.get.Error.Raw, CandidApi.contracts.v3.get.Error>;
|
|
7
6
|
export declare namespace Error {
|
|
8
|
-
type Raw = Error.EntityNotFoundError
|
|
7
|
+
type Raw = Error.EntityNotFoundError;
|
|
9
8
|
interface EntityNotFoundError {
|
|
10
9
|
errorName: "EntityNotFoundError";
|
|
11
10
|
content: EntityNotFoundErrorMessage.Raw;
|
|
12
11
|
}
|
|
13
|
-
interface UnauthorizedError {
|
|
14
|
-
errorName: "UnauthorizedError";
|
|
15
|
-
content: UnauthorizedErrorMessage.Raw;
|
|
16
|
-
}
|
|
17
12
|
}
|
|
@@ -49,23 +49,17 @@ exports.Error = void 0;
|
|
|
49
49
|
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
50
50
|
const core = __importStar(require("../../../../../../core"));
|
|
51
51
|
const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
|
|
52
|
-
const UnauthorizedErrorMessage_1 = require("../../../../commons/types/UnauthorizedErrorMessage");
|
|
53
52
|
exports.Error = core.serialization
|
|
54
53
|
.union("errorName", {
|
|
55
54
|
EntityNotFoundError: core.serialization.object({
|
|
56
55
|
content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
|
|
57
56
|
}),
|
|
58
|
-
UnauthorizedError: core.serialization.object({
|
|
59
|
-
content: UnauthorizedErrorMessage_1.UnauthorizedErrorMessage,
|
|
60
|
-
}),
|
|
61
57
|
})
|
|
62
58
|
.transform({
|
|
63
59
|
transform: (value) => {
|
|
64
60
|
switch (value.errorName) {
|
|
65
61
|
case "EntityNotFoundError":
|
|
66
|
-
return CandidApi.
|
|
67
|
-
case "UnauthorizedError":
|
|
68
|
-
return CandidApi.insurancePayments.v1.get.Error.unauthorizedError(value.content);
|
|
62
|
+
return CandidApi.contracts.v3.get.Error.entityNotFoundError(value.content);
|
|
69
63
|
}
|
|
70
64
|
},
|
|
71
65
|
untransform: (_a) => {
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * as createContractServiceFacility from "./createContractServiceFacility";
|
|
2
|
+
export * as delete from "./delete";
|
|
3
|
+
export * as get from "./get";
|
|
4
|
+
export * from "./requests";
|
|
5
|
+
export * as update from "./update";
|
|
6
|
+
export * as updateContractServiceFacility from "./updateContractServiceFacility";
|
|
@@ -36,7 +36,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.updateContractServiceFacility = exports.update = exports.get = exports.delete = exports.createContractServiceFacility = void 0;
|
|
40
|
+
exports.createContractServiceFacility = __importStar(require("./createContractServiceFacility"));
|
|
41
|
+
exports.delete = __importStar(require("./delete"));
|
|
40
42
|
exports.get = __importStar(require("./get"));
|
|
41
|
-
exports.getMulti = __importStar(require("./getMulti"));
|
|
42
43
|
__exportStar(require("./requests"), exports);
|
|
44
|
+
exports.update = __importStar(require("./update"));
|
|
45
|
+
exports.updateContractServiceFacility = __importStar(require("./updateContractServiceFacility"));
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as CandidApi from "../../../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../../../index";
|
|
4
|
+
import { ContractServiceFacilityBase } from "../../types/ContractServiceFacilityBase";
|
|
5
|
+
export declare const ContractServiceFacilityCreate: core.serialization.Schema<serializers.contracts.v3.ContractServiceFacilityCreate.Raw, CandidApi.contracts.v3.ContractServiceFacilityCreate>;
|
|
6
|
+
export declare namespace ContractServiceFacilityCreate {
|
|
7
|
+
interface Raw extends ContractServiceFacilityBase.Raw {
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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.ContractServiceFacilityCreate = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../../../../core"));
|
|
39
|
+
const ContractServiceFacilityBase_1 = require("../../types/ContractServiceFacilityBase");
|
|
40
|
+
exports.ContractServiceFacilityCreate = core.serialization.object({}).extend(ContractServiceFacilityBase_1.ContractServiceFacilityBase);
|
|
@@ -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
|
+
export declare const ContractServiceFacilityUpdate: core.serialization.Schema<serializers.contracts.v3.ContractServiceFacilityUpdate.Raw, CandidApi.contracts.v3.ContractServiceFacilityUpdate>;
|
|
5
|
+
export declare namespace ContractServiceFacilityUpdate {
|
|
6
|
+
interface Raw {
|
|
7
|
+
service_facility_id?: string | null;
|
|
8
|
+
provider_ids?: string[] | null;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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.ContractServiceFacilityUpdate = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../../../../core"));
|
|
39
|
+
exports.ContractServiceFacilityUpdate = core.serialization.object({
|
|
40
|
+
serviceFacilityId: core.serialization.property("service_facility_id", core.serialization.string().optional()),
|
|
41
|
+
providerIds: core.serialization.property("provider_ids", core.serialization.set(core.serialization.string()).optional()),
|
|
42
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ContractServiceFacilityUpdate = exports.ContractServiceFacilityCreate = void 0;
|
|
4
|
+
var ContractServiceFacilityCreate_1 = require("./ContractServiceFacilityCreate");
|
|
5
|
+
Object.defineProperty(exports, "ContractServiceFacilityCreate", { enumerable: true, get: function () { return ContractServiceFacilityCreate_1.ContractServiceFacilityCreate; } });
|
|
6
|
+
var ContractServiceFacilityUpdate_1 = require("./ContractServiceFacilityUpdate");
|
|
7
|
+
Object.defineProperty(exports, "ContractServiceFacilityUpdate", { enumerable: true, get: function () { return ContractServiceFacilityUpdate_1.ContractServiceFacilityUpdate; } });
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../../index";
|
|
4
|
+
import { UnprocessableEntityErrorMessage } from "../../../../commons/types/UnprocessableEntityErrorMessage";
|
|
5
|
+
import { ContractInvalidExpirationDateError } from "../../v2/types/ContractInvalidExpirationDateError";
|
|
6
|
+
export declare const Error: core.serialization.Schema<serializers.contracts.v3.update.Error.Raw, CandidApi.contracts.v3.update.Error>;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
type Raw = Error.UnprocessableEntityError | Error.ContractInvalidExpirationDateHttpError;
|
|
9
|
+
interface UnprocessableEntityError {
|
|
10
|
+
errorName: "UnprocessableEntityError";
|
|
11
|
+
content: UnprocessableEntityErrorMessage.Raw;
|
|
12
|
+
}
|
|
13
|
+
interface ContractInvalidExpirationDateHttpError {
|
|
14
|
+
errorName: "ContractInvalidExpirationDateHttpError";
|
|
15
|
+
content: ContractInvalidExpirationDateError.Raw;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
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 UnprocessableEntityErrorMessage_1 = require("../../../../commons/types/UnprocessableEntityErrorMessage");
|
|
52
|
+
const ContractInvalidExpirationDateError_1 = require("../../v2/types/ContractInvalidExpirationDateError");
|
|
53
|
+
exports.Error = core.serialization
|
|
54
|
+
.union("errorName", {
|
|
55
|
+
UnprocessableEntityError: core.serialization.object({
|
|
56
|
+
content: UnprocessableEntityErrorMessage_1.UnprocessableEntityErrorMessage,
|
|
57
|
+
}),
|
|
58
|
+
ContractInvalidExpirationDateHttpError: core.serialization.object({
|
|
59
|
+
content: ContractInvalidExpirationDateError_1.ContractInvalidExpirationDateError,
|
|
60
|
+
}),
|
|
61
|
+
})
|
|
62
|
+
.transform({
|
|
63
|
+
transform: (value) => {
|
|
64
|
+
switch (value.errorName) {
|
|
65
|
+
case "UnprocessableEntityError":
|
|
66
|
+
return CandidApi.contracts.v3.update.Error.unprocessableEntityError(value.content);
|
|
67
|
+
case "ContractInvalidExpirationDateHttpError":
|
|
68
|
+
return CandidApi.contracts.v3.update.Error.contractInvalidExpirationDateHttpError(value.content);
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
untransform: (_a) => {
|
|
72
|
+
var { _visit } = _a, value = __rest(_a, ["_visit"]);
|
|
73
|
+
return value;
|
|
74
|
+
},
|
|
75
|
+
});
|
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
import * as CandidApi from "../../../../../../api/index";
|
|
2
2
|
import * as core from "../../../../../../core";
|
|
3
3
|
import type * as serializers from "../../../../../index";
|
|
4
|
-
import { UnauthorizedErrorMessage } from "../../../../commons/types/UnauthorizedErrorMessage";
|
|
5
4
|
import { UnprocessableEntityErrorMessage } from "../../../../commons/types/UnprocessableEntityErrorMessage";
|
|
6
|
-
export declare const Error: core.serialization.Schema<serializers.
|
|
5
|
+
export declare const Error: core.serialization.Schema<serializers.contracts.v3.updateContractServiceFacility.Error.Raw, CandidApi.contracts.v3.updateContractServiceFacility.Error>;
|
|
7
6
|
export declare namespace Error {
|
|
8
|
-
type Raw = Error.
|
|
9
|
-
interface UnauthorizedError {
|
|
10
|
-
errorName: "UnauthorizedError";
|
|
11
|
-
content: UnauthorizedErrorMessage.Raw;
|
|
12
|
-
}
|
|
7
|
+
type Raw = Error.UnprocessableEntityError;
|
|
13
8
|
interface UnprocessableEntityError {
|
|
14
9
|
errorName: "UnprocessableEntityError";
|
|
15
10
|
content: UnprocessableEntityErrorMessage.Raw;
|
|
@@ -48,13 +48,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
48
48
|
exports.Error = void 0;
|
|
49
49
|
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
50
50
|
const core = __importStar(require("../../../../../../core"));
|
|
51
|
-
const UnauthorizedErrorMessage_1 = require("../../../../commons/types/UnauthorizedErrorMessage");
|
|
52
51
|
const UnprocessableEntityErrorMessage_1 = require("../../../../commons/types/UnprocessableEntityErrorMessage");
|
|
53
52
|
exports.Error = core.serialization
|
|
54
53
|
.union("errorName", {
|
|
55
|
-
UnauthorizedError: core.serialization.object({
|
|
56
|
-
content: UnauthorizedErrorMessage_1.UnauthorizedErrorMessage,
|
|
57
|
-
}),
|
|
58
54
|
UnprocessableEntityError: core.serialization.object({
|
|
59
55
|
content: UnprocessableEntityErrorMessage_1.UnprocessableEntityErrorMessage,
|
|
60
56
|
}),
|
|
@@ -62,10 +58,8 @@ exports.Error = core.serialization
|
|
|
62
58
|
.transform({
|
|
63
59
|
transform: (value) => {
|
|
64
60
|
switch (value.errorName) {
|
|
65
|
-
case "UnauthorizedError":
|
|
66
|
-
return CandidApi.insurancePayments.v1.getMulti.Error.unauthorizedError(value.content);
|
|
67
61
|
case "UnprocessableEntityError":
|
|
68
|
-
return CandidApi.
|
|
62
|
+
return CandidApi.contracts.v3.updateContractServiceFacility.Error.unprocessableEntityError(value.content);
|
|
69
63
|
}
|
|
70
64
|
},
|
|
71
65
|
untransform: (_a) => {
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type * as CandidApi from "../../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../../index";
|
|
4
|
+
import { OrganizationProvider } from "../../../../organizationProviders/resources/v2/types/OrganizationProvider";
|
|
5
|
+
import { Payer } from "../../../../payers/resources/v3/types/Payer";
|
|
6
|
+
import { ContractBase } from "./ContractBase";
|
|
7
|
+
import { ContractId } from "./ContractId";
|
|
8
|
+
export declare const Contract: core.serialization.ObjectSchema<serializers.contracts.v3.Contract.Raw, CandidApi.contracts.v3.Contract>;
|
|
9
|
+
export declare namespace Contract {
|
|
10
|
+
interface Raw extends ContractBase.Raw {
|
|
11
|
+
contract_id: ContractId.Raw;
|
|
12
|
+
contracting_provider: OrganizationProvider.Raw;
|
|
13
|
+
provider_count: number;
|
|
14
|
+
payer: Payer.Raw;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -34,16 +34,17 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
};
|
|
35
35
|
})();
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.
|
|
37
|
+
exports.Contract = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../../../core"));
|
|
39
|
-
const
|
|
39
|
+
const OrganizationProvider_1 = require("../../../../organizationProviders/resources/v2/types/OrganizationProvider");
|
|
40
40
|
const Payer_1 = require("../../../../payers/resources/v3/types/Payer");
|
|
41
|
-
const
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
const ContractBase_1 = require("./ContractBase");
|
|
42
|
+
const ContractId_1 = require("./ContractId");
|
|
43
|
+
exports.Contract = core.serialization
|
|
44
|
+
.object({
|
|
45
|
+
contractId: core.serialization.property("contract_id", ContractId_1.ContractId),
|
|
46
|
+
contractingProvider: core.serialization.property("contracting_provider", OrganizationProvider_1.OrganizationProvider),
|
|
47
|
+
providerCount: core.serialization.property("provider_count", core.serialization.number()),
|
|
44
48
|
payer: Payer_1.Payer,
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
paymentNote: core.serialization.property("payment_note", core.serialization.string().optional()),
|
|
48
|
-
allocations: core.serialization.list(Allocation_1.Allocation),
|
|
49
|
-
});
|
|
49
|
+
})
|
|
50
|
+
.extend(ContractBase_1.ContractBase);
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type * as CandidApi from "../../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../../index";
|
|
4
|
+
import { Date_ } from "../../../../commons/types/Date_";
|
|
5
|
+
import { Regions } from "../../../../commons/types/Regions";
|
|
6
|
+
import { AuthorizedSignatory } from "../../v2/types/AuthorizedSignatory";
|
|
7
|
+
import { ContractStatus } from "../../v2/types/ContractStatus";
|
|
8
|
+
import { InsuranceTypes } from "../../v2/types/InsuranceTypes";
|
|
9
|
+
export declare const ContractBase: core.serialization.ObjectSchema<serializers.contracts.v3.ContractBase.Raw, CandidApi.contracts.v3.ContractBase>;
|
|
10
|
+
export declare namespace ContractBase {
|
|
11
|
+
interface Raw {
|
|
12
|
+
effective_date: Date_.Raw;
|
|
13
|
+
expiration_date?: Date_.Raw | null;
|
|
14
|
+
regions: Regions.Raw;
|
|
15
|
+
contract_status?: ContractStatus.Raw | null;
|
|
16
|
+
authorized_signatory?: AuthorizedSignatory.Raw | null;
|
|
17
|
+
commercial_insurance_types: InsuranceTypes.Raw;
|
|
18
|
+
medicare_insurance_types: InsuranceTypes.Raw;
|
|
19
|
+
medicaid_insurance_types: InsuranceTypes.Raw;
|
|
20
|
+
}
|
|
21
|
+
}
|