candidhealth 1.17.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/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/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/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/{insurancePayments → relatedCausesInformation}/resources/v1/index.js +0 -1
- 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/RelatedCausesInformationCreate.d.ts +3 -0
- package/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.d.ts +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/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/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/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/{insurancePayments → relatedCausesInformation}/resources/v1/index.js +0 -1
- 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/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/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/{insurancePayments/resources/v1/types/InsurancePaymentId.js → encounterProviders/resources/v2/types/ProviderSecondaryIdentification.js} +3 -5
- 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/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/{serialization/resources/insurancePayments → dist/serialization/resources/relatedCausesInformation}/resources/v1/index.js +0 -1
- package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesCode.d.ts +7 -0
- package/dist/serialization/resources/{insurancePayments/resources/v1/types/InsurancePaymentSortField.js → 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/{insurancePayments/resources/v1/types/InsurancePaymentsPage.js → relatedCausesInformation/resources/v1/types/RelatedCausesInformation.js} +7 -8
- 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 +48 -129
- 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/{insurancePayments/resources/v1/types/InsurancePaymentId.js → encounterProviders/resources/v2/types/ProviderSecondaryIdentification.js} +3 -5
- 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/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/{dist/serialization/resources/insurancePayments → serialization/resources/relatedCausesInformation}/resources/v1/index.js +0 -1
- package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesCode.d.ts +7 -0
- package/serialization/resources/{insurancePayments/resources/v1/types/InsurancePaymentSortField.js → relatedCausesInformation/resources/v1/types/RelatedCausesCode.js} +2 -2
- 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/client/index.js +0 -2
- 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/get.js +0 -77
- package/api/resources/insurancePayments/resources/v1/client/getMulti.d.ts +0 -31
- package/api/resources/insurancePayments/resources/v1/client/getMulti.js +0 -77
- package/api/resources/insurancePayments/resources/v1/client/index.d.ts +0 -3
- package/api/resources/insurancePayments/resources/v1/client/index.js +0 -42
- 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/client/requests/index.js +0 -2
- package/api/resources/insurancePayments/resources/v1/index.d.ts +0 -2
- 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/InsurancePaymentId.js +0 -7
- 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/get.js +0 -77
- package/dist/api/resources/insurancePayments/resources/v1/client/getMulti.d.ts +0 -31
- package/dist/api/resources/insurancePayments/resources/v1/client/getMulti.js +0 -77
- package/dist/api/resources/insurancePayments/resources/v1/client/index.d.ts +0 -3
- package/dist/api/resources/insurancePayments/resources/v1/client/index.js +0 -42
- 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/index.d.ts +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/InsurancePaymentId.js +0 -7
- 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/get.d.ts +0 -17
- package/dist/serialization/resources/insurancePayments/resources/v1/client/get.js +0 -75
- package/dist/serialization/resources/insurancePayments/resources/v1/client/getMulti.d.ts +0 -17
- package/dist/serialization/resources/insurancePayments/resources/v1/client/getMulti.js +0 -75
- package/dist/serialization/resources/insurancePayments/resources/v1/client/index.d.ts +0 -2
- package/dist/serialization/resources/insurancePayments/resources/v1/client/index.js +0 -38
- package/dist/serialization/resources/insurancePayments/resources/v1/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/InsurancePayment.js +0 -49
- 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/get.d.ts +0 -17
- package/serialization/resources/insurancePayments/resources/v1/client/get.js +0 -75
- package/serialization/resources/insurancePayments/resources/v1/client/getMulti.d.ts +0 -17
- package/serialization/resources/insurancePayments/resources/v1/client/getMulti.js +0 -75
- package/serialization/resources/insurancePayments/resources/v1/client/index.d.ts +0 -2
- package/serialization/resources/insurancePayments/resources/v1/client/index.js +0 -38
- package/serialization/resources/insurancePayments/resources/v1/index.d.ts +0 -2
- package/serialization/resources/insurancePayments/resources/v1/types/InsurancePayment.d.ts +0 -17
- package/serialization/resources/insurancePayments/resources/v1/types/InsurancePayment.js +0 -49
- 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/InsurancePaymentsPage.js +0 -45
- 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 → encounterProviders/resources/v2/types/ProviderSecondaryIdentification.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/types/InsurancePayment.js → relatedCausesInformation/resources/v1/types/RelatedCausesInformation.js} +0 -0
- /package/api/resources/{insurancePayments/resources/v1/types/InsurancePaymentsPage.js → relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.js} +0 -0
- /package/{dist/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.js → api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.js} +0 -0
- /package/dist/api/resources/{insurancePayments/resources/v1/types/InsurancePayment.js → encounterProviders/resources/v2/types/ProviderSecondaryIdentification.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/api/resources/{insurancePayments/resources/v1/types/InsurancePaymentsPage.js → relatedCausesInformation/resources/v1/types/RelatedCausesInformation.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 → relatedCausesInformation}/resources/index.d.ts +0 -0
- /package/serialization/resources/{insurancePayments → relatedCausesInformation}/resources/index.js +0 -0
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
-
if (k2 === undefined) k2 = k;
|
|
5
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
-
}
|
|
9
|
-
Object.defineProperty(o, k2, desc);
|
|
10
|
-
}) : (function(o, m, k, k2) {
|
|
11
|
-
if (k2 === undefined) k2 = k;
|
|
12
|
-
o[k2] = m[k];
|
|
13
|
-
}));
|
|
14
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
-
}) : function(o, v) {
|
|
17
|
-
o["default"] = v;
|
|
18
|
-
});
|
|
19
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
-
var ownKeys = function(o) {
|
|
21
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
-
var ar = [];
|
|
23
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
-
return ar;
|
|
25
|
-
};
|
|
26
|
-
return ownKeys(o);
|
|
27
|
-
};
|
|
28
|
-
return function (mod) {
|
|
29
|
-
if (mod && mod.__esModule) return mod;
|
|
30
|
-
var result = {};
|
|
31
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
-
__setModuleDefault(result, mod);
|
|
33
|
-
return result;
|
|
34
|
-
};
|
|
35
|
-
})();
|
|
36
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.Error = void 0;
|
|
38
|
-
const CandidApi = __importStar(require("../../../../../index"));
|
|
39
|
-
exports.Error = {
|
|
40
|
-
entityNotFoundError: (value) => {
|
|
41
|
-
return {
|
|
42
|
-
content: value,
|
|
43
|
-
errorName: "EntityNotFoundError",
|
|
44
|
-
_visit: function (visitor) {
|
|
45
|
-
return CandidApi.insurancePayments.v1.get.Error._visit(this, visitor);
|
|
46
|
-
},
|
|
47
|
-
};
|
|
48
|
-
},
|
|
49
|
-
unauthorizedError: (value) => {
|
|
50
|
-
return {
|
|
51
|
-
content: value,
|
|
52
|
-
errorName: "UnauthorizedError",
|
|
53
|
-
_visit: function (visitor) {
|
|
54
|
-
return CandidApi.insurancePayments.v1.get.Error._visit(this, visitor);
|
|
55
|
-
},
|
|
56
|
-
};
|
|
57
|
-
},
|
|
58
|
-
_unknown: (fetcherError) => {
|
|
59
|
-
return {
|
|
60
|
-
errorName: undefined,
|
|
61
|
-
content: fetcherError,
|
|
62
|
-
_visit: function (visitor) {
|
|
63
|
-
return CandidApi.insurancePayments.v1.get.Error._visit(this, visitor);
|
|
64
|
-
},
|
|
65
|
-
};
|
|
66
|
-
},
|
|
67
|
-
_visit: (value, visitor) => {
|
|
68
|
-
switch (value.errorName) {
|
|
69
|
-
case "EntityNotFoundError":
|
|
70
|
-
return visitor.entityNotFoundError(value.content);
|
|
71
|
-
case "UnauthorizedError":
|
|
72
|
-
return visitor.unauthorizedError(value.content);
|
|
73
|
-
default:
|
|
74
|
-
return visitor._other(value);
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import type * as core from "../../../../../../core";
|
|
2
|
-
import * as CandidApi from "../../../../../index";
|
|
3
|
-
export type Error = CandidApi.insurancePayments.v1.getMulti.Error.UnauthorizedError | CandidApi.insurancePayments.v1.getMulti.Error.UnprocessableEntityError | CandidApi.insurancePayments.v1.getMulti.Error._Unknown;
|
|
4
|
-
export declare namespace Error {
|
|
5
|
-
interface UnauthorizedError extends _Utils {
|
|
6
|
-
errorName: "UnauthorizedError";
|
|
7
|
-
content: CandidApi.UnauthorizedErrorMessage;
|
|
8
|
-
}
|
|
9
|
-
interface UnprocessableEntityError extends _Utils {
|
|
10
|
-
errorName: "UnprocessableEntityError";
|
|
11
|
-
content: CandidApi.UnprocessableEntityErrorMessage;
|
|
12
|
-
}
|
|
13
|
-
interface _Unknown extends _Utils {
|
|
14
|
-
errorName: void;
|
|
15
|
-
content: core.Fetcher.Error;
|
|
16
|
-
}
|
|
17
|
-
interface _Utils {
|
|
18
|
-
_visit: <_Result>(visitor: CandidApi.insurancePayments.v1.getMulti.Error._Visitor<_Result>) => _Result;
|
|
19
|
-
}
|
|
20
|
-
interface _Visitor<_Result> {
|
|
21
|
-
unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => _Result;
|
|
22
|
-
unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => _Result;
|
|
23
|
-
_other: (value: core.Fetcher.Error) => _Result;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
export declare const Error: {
|
|
27
|
-
readonly unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => CandidApi.insurancePayments.v1.getMulti.Error.UnauthorizedError;
|
|
28
|
-
readonly unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => CandidApi.insurancePayments.v1.getMulti.Error.UnprocessableEntityError;
|
|
29
|
-
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.insurancePayments.v1.getMulti.Error._Unknown;
|
|
30
|
-
readonly _visit: <_Result>(value: CandidApi.insurancePayments.v1.getMulti.Error, visitor: CandidApi.insurancePayments.v1.getMulti.Error._Visitor<_Result>) => _Result;
|
|
31
|
-
};
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
-
if (k2 === undefined) k2 = k;
|
|
5
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
-
}
|
|
9
|
-
Object.defineProperty(o, k2, desc);
|
|
10
|
-
}) : (function(o, m, k, k2) {
|
|
11
|
-
if (k2 === undefined) k2 = k;
|
|
12
|
-
o[k2] = m[k];
|
|
13
|
-
}));
|
|
14
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
-
}) : function(o, v) {
|
|
17
|
-
o["default"] = v;
|
|
18
|
-
});
|
|
19
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
-
var ownKeys = function(o) {
|
|
21
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
-
var ar = [];
|
|
23
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
-
return ar;
|
|
25
|
-
};
|
|
26
|
-
return ownKeys(o);
|
|
27
|
-
};
|
|
28
|
-
return function (mod) {
|
|
29
|
-
if (mod && mod.__esModule) return mod;
|
|
30
|
-
var result = {};
|
|
31
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
-
__setModuleDefault(result, mod);
|
|
33
|
-
return result;
|
|
34
|
-
};
|
|
35
|
-
})();
|
|
36
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.Error = void 0;
|
|
38
|
-
const CandidApi = __importStar(require("../../../../../index"));
|
|
39
|
-
exports.Error = {
|
|
40
|
-
unauthorizedError: (value) => {
|
|
41
|
-
return {
|
|
42
|
-
content: value,
|
|
43
|
-
errorName: "UnauthorizedError",
|
|
44
|
-
_visit: function (visitor) {
|
|
45
|
-
return CandidApi.insurancePayments.v1.getMulti.Error._visit(this, visitor);
|
|
46
|
-
},
|
|
47
|
-
};
|
|
48
|
-
},
|
|
49
|
-
unprocessableEntityError: (value) => {
|
|
50
|
-
return {
|
|
51
|
-
content: value,
|
|
52
|
-
errorName: "UnprocessableEntityError",
|
|
53
|
-
_visit: function (visitor) {
|
|
54
|
-
return CandidApi.insurancePayments.v1.getMulti.Error._visit(this, visitor);
|
|
55
|
-
},
|
|
56
|
-
};
|
|
57
|
-
},
|
|
58
|
-
_unknown: (fetcherError) => {
|
|
59
|
-
return {
|
|
60
|
-
errorName: undefined,
|
|
61
|
-
content: fetcherError,
|
|
62
|
-
_visit: function (visitor) {
|
|
63
|
-
return CandidApi.insurancePayments.v1.getMulti.Error._visit(this, visitor);
|
|
64
|
-
},
|
|
65
|
-
};
|
|
66
|
-
},
|
|
67
|
-
_visit: (value, visitor) => {
|
|
68
|
-
switch (value.errorName) {
|
|
69
|
-
case "UnauthorizedError":
|
|
70
|
-
return visitor.unauthorizedError(value.content);
|
|
71
|
-
case "UnprocessableEntityError":
|
|
72
|
-
return visitor.unprocessableEntityError(value.content);
|
|
73
|
-
default:
|
|
74
|
-
return visitor._other(value);
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
};
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
36
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
|
-
};
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.getMulti = exports.get = void 0;
|
|
40
|
-
exports.get = __importStar(require("./get"));
|
|
41
|
-
exports.getMulti = __importStar(require("./getMulti"));
|
|
42
|
-
__exportStar(require("./requests"), exports);
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type * as CandidApi from "../../../../../../index";
|
|
2
|
-
/**
|
|
3
|
-
* @example
|
|
4
|
-
* {}
|
|
5
|
-
*/
|
|
6
|
-
export interface GetMultiInsurancePaymentRequest {
|
|
7
|
-
/** Defaults to 100. The value must be greater than 0 and less than 1000. */
|
|
8
|
-
limit?: number;
|
|
9
|
-
payerUuid?: CandidApi.payers.v3.PayerUuid;
|
|
10
|
-
claimId?: CandidApi.ClaimId;
|
|
11
|
-
serviceLineId?: CandidApi.ServiceLineId;
|
|
12
|
-
billingProviderId?: CandidApi.ProviderId;
|
|
13
|
-
/** Defaults to payment_timestamp */
|
|
14
|
-
sort?: CandidApi.insurancePayments.v1.InsurancePaymentSortField;
|
|
15
|
-
/** Sort direction. Defaults to descending order if not provided. */
|
|
16
|
-
sortDirection?: CandidApi.SortDirection;
|
|
17
|
-
pageToken?: CandidApi.PageToken;
|
|
18
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { GetMultiInsurancePaymentRequest } from "./GetMultiInsurancePaymentRequest";
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type * as CandidApi from "../../../../../index";
|
|
2
|
-
export interface InsurancePayment {
|
|
3
|
-
insurancePaymentId: CandidApi.insurancePayments.v1.InsurancePaymentId;
|
|
4
|
-
payer: CandidApi.payers.v3.Payer;
|
|
5
|
-
amountCents: number;
|
|
6
|
-
paymentTimestamp?: Date;
|
|
7
|
-
paymentNote?: string;
|
|
8
|
-
allocations: CandidApi.Allocation[];
|
|
9
|
-
}
|
package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export declare const InsurancePaymentSortField: {
|
|
2
|
-
readonly AmountCents: "amount_cents";
|
|
3
|
-
readonly PaymentTimestamp: "payment_timestamp";
|
|
4
|
-
readonly PaymentNote: "payment_note";
|
|
5
|
-
};
|
|
6
|
-
export type InsurancePaymentSortField = (typeof InsurancePaymentSortField)[keyof typeof InsurancePaymentSortField];
|
package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.InsurancePaymentSortField = void 0;
|
|
5
|
-
exports.InsurancePaymentSortField = {
|
|
6
|
-
AmountCents: "amount_cents",
|
|
7
|
-
PaymentTimestamp: "payment_timestamp",
|
|
8
|
-
PaymentNote: "payment_note",
|
|
9
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
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("./InsurancePayment"), exports);
|
|
18
|
-
__exportStar(require("./InsurancePaymentId"), exports);
|
|
19
|
-
__exportStar(require("./InsurancePaymentSortField"), exports);
|
|
20
|
-
__exportStar(require("./InsurancePaymentsPage"), exports);
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as CandidApi from "../../../../../../api/index";
|
|
2
|
-
import * as core from "../../../../../../core";
|
|
3
|
-
import type * as serializers from "../../../../../index";
|
|
4
|
-
import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
|
|
5
|
-
import { UnauthorizedErrorMessage } from "../../../../commons/types/UnauthorizedErrorMessage";
|
|
6
|
-
export declare const Error: core.serialization.Schema<serializers.insurancePayments.v1.get.Error.Raw, CandidApi.insurancePayments.v1.get.Error>;
|
|
7
|
-
export declare namespace Error {
|
|
8
|
-
type Raw = Error.EntityNotFoundError | Error.UnauthorizedError;
|
|
9
|
-
interface EntityNotFoundError {
|
|
10
|
-
errorName: "EntityNotFoundError";
|
|
11
|
-
content: EntityNotFoundErrorMessage.Raw;
|
|
12
|
-
}
|
|
13
|
-
interface UnauthorizedError {
|
|
14
|
-
errorName: "UnauthorizedError";
|
|
15
|
-
content: UnauthorizedErrorMessage.Raw;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
@@ -1,75 +0,0 @@
|
|
|
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 EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
|
|
52
|
-
const UnauthorizedErrorMessage_1 = require("../../../../commons/types/UnauthorizedErrorMessage");
|
|
53
|
-
exports.Error = core.serialization
|
|
54
|
-
.union("errorName", {
|
|
55
|
-
EntityNotFoundError: core.serialization.object({
|
|
56
|
-
content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
|
|
57
|
-
}),
|
|
58
|
-
UnauthorizedError: core.serialization.object({
|
|
59
|
-
content: UnauthorizedErrorMessage_1.UnauthorizedErrorMessage,
|
|
60
|
-
}),
|
|
61
|
-
})
|
|
62
|
-
.transform({
|
|
63
|
-
transform: (value) => {
|
|
64
|
-
switch (value.errorName) {
|
|
65
|
-
case "EntityNotFoundError":
|
|
66
|
-
return CandidApi.insurancePayments.v1.get.Error.entityNotFoundError(value.content);
|
|
67
|
-
case "UnauthorizedError":
|
|
68
|
-
return CandidApi.insurancePayments.v1.get.Error.unauthorizedError(value.content);
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
untransform: (_a) => {
|
|
72
|
-
var { _visit } = _a, value = __rest(_a, ["_visit"]);
|
|
73
|
-
return value;
|
|
74
|
-
},
|
|
75
|
-
});
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as CandidApi from "../../../../../../api/index";
|
|
2
|
-
import * as core from "../../../../../../core";
|
|
3
|
-
import type * as serializers from "../../../../../index";
|
|
4
|
-
import { UnauthorizedErrorMessage } from "../../../../commons/types/UnauthorizedErrorMessage";
|
|
5
|
-
import { UnprocessableEntityErrorMessage } from "../../../../commons/types/UnprocessableEntityErrorMessage";
|
|
6
|
-
export declare const Error: core.serialization.Schema<serializers.insurancePayments.v1.getMulti.Error.Raw, CandidApi.insurancePayments.v1.getMulti.Error>;
|
|
7
|
-
export declare namespace Error {
|
|
8
|
-
type Raw = Error.UnauthorizedError | Error.UnprocessableEntityError;
|
|
9
|
-
interface UnauthorizedError {
|
|
10
|
-
errorName: "UnauthorizedError";
|
|
11
|
-
content: UnauthorizedErrorMessage.Raw;
|
|
12
|
-
}
|
|
13
|
-
interface UnprocessableEntityError {
|
|
14
|
-
errorName: "UnprocessableEntityError";
|
|
15
|
-
content: UnprocessableEntityErrorMessage.Raw;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
@@ -1,75 +0,0 @@
|
|
|
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 UnauthorizedErrorMessage_1 = require("../../../../commons/types/UnauthorizedErrorMessage");
|
|
52
|
-
const UnprocessableEntityErrorMessage_1 = require("../../../../commons/types/UnprocessableEntityErrorMessage");
|
|
53
|
-
exports.Error = core.serialization
|
|
54
|
-
.union("errorName", {
|
|
55
|
-
UnauthorizedError: core.serialization.object({
|
|
56
|
-
content: UnauthorizedErrorMessage_1.UnauthorizedErrorMessage,
|
|
57
|
-
}),
|
|
58
|
-
UnprocessableEntityError: core.serialization.object({
|
|
59
|
-
content: UnprocessableEntityErrorMessage_1.UnprocessableEntityErrorMessage,
|
|
60
|
-
}),
|
|
61
|
-
})
|
|
62
|
-
.transform({
|
|
63
|
-
transform: (value) => {
|
|
64
|
-
switch (value.errorName) {
|
|
65
|
-
case "UnauthorizedError":
|
|
66
|
-
return CandidApi.insurancePayments.v1.getMulti.Error.unauthorizedError(value.content);
|
|
67
|
-
case "UnprocessableEntityError":
|
|
68
|
-
return CandidApi.insurancePayments.v1.getMulti.Error.unprocessableEntityError(value.content);
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
untransform: (_a) => {
|
|
72
|
-
var { _visit } = _a, value = __rest(_a, ["_visit"]);
|
|
73
|
-
return value;
|
|
74
|
-
},
|
|
75
|
-
});
|
|
@@ -1,38 +0,0 @@
|
|
|
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.getMulti = exports.get = void 0;
|
|
37
|
-
exports.get = __importStar(require("./get"));
|
|
38
|
-
exports.getMulti = __importStar(require("./getMulti"));
|
package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePayment.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type * as CandidApi from "../../../../../../api/index";
|
|
2
|
-
import * as core from "../../../../../../core";
|
|
3
|
-
import type * as serializers from "../../../../../index";
|
|
4
|
-
import { Allocation } from "../../../../financials/types/Allocation";
|
|
5
|
-
import { Payer } from "../../../../payers/resources/v3/types/Payer";
|
|
6
|
-
import { InsurancePaymentId } from "./InsurancePaymentId";
|
|
7
|
-
export declare const InsurancePayment: core.serialization.ObjectSchema<serializers.insurancePayments.v1.InsurancePayment.Raw, CandidApi.insurancePayments.v1.InsurancePayment>;
|
|
8
|
-
export declare namespace InsurancePayment {
|
|
9
|
-
interface Raw {
|
|
10
|
-
insurance_payment_id: InsurancePaymentId.Raw;
|
|
11
|
-
payer: Payer.Raw;
|
|
12
|
-
amount_cents: number;
|
|
13
|
-
payment_timestamp?: string | null;
|
|
14
|
-
payment_note?: string | null;
|
|
15
|
-
allocations: Allocation.Raw[];
|
|
16
|
-
}
|
|
17
|
-
}
|
package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePayment.js
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
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.InsurancePayment = void 0;
|
|
38
|
-
const core = __importStar(require("../../../../../../core"));
|
|
39
|
-
const Allocation_1 = require("../../../../financials/types/Allocation");
|
|
40
|
-
const Payer_1 = require("../../../../payers/resources/v3/types/Payer");
|
|
41
|
-
const InsurancePaymentId_1 = require("./InsurancePaymentId");
|
|
42
|
-
exports.InsurancePayment = core.serialization.object({
|
|
43
|
-
insurancePaymentId: core.serialization.property("insurance_payment_id", InsurancePaymentId_1.InsurancePaymentId),
|
|
44
|
-
payer: Payer_1.Payer,
|
|
45
|
-
amountCents: core.serialization.property("amount_cents", core.serialization.number()),
|
|
46
|
-
paymentTimestamp: core.serialization.property("payment_timestamp", core.serialization.date().optional()),
|
|
47
|
-
paymentNote: core.serialization.property("payment_note", core.serialization.string().optional()),
|
|
48
|
-
allocations: core.serialization.list(Allocation_1.Allocation),
|
|
49
|
-
});
|