candidhealth 1.0.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.js +2 -2
- package/README.md +1 -1
- package/api/resources/auth/client/Client.d.ts +3 -3
- package/api/resources/auth/client/Client.js +3 -3
- package/api/resources/auth/resources/{v2 → default}/client/Client.d.ts +23 -9
- package/{dist/api/resources/auth/resources/v2 → api/resources/auth/resources/default}/client/Client.js +29 -12
- package/api/resources/auth/resources/default/client/getToken.d.ts +34 -0
- package/{dist/api/resources/auth/resources/v2 → api/resources/auth/resources/default}/client/getToken.js +13 -2
- package/api/resources/auth/resources/default/types/InvalidContentTypeErrorType.d.ts +6 -0
- package/{dist/api/resources/auth/resources/v2 → api/resources/auth/resources/default}/types/index.d.ts +1 -0
- package/{dist/serialization/resources/auth/resources/v2 → api/resources/auth/resources/default}/types/index.js +1 -0
- package/api/resources/auth/resources/index.d.ts +1 -1
- package/api/resources/auth/resources/index.js +2 -2
- package/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
- package/api/resources/billingNotes/resources/v2/types/BillingNoteBaseOptional.d.ts +7 -0
- package/api/resources/billingNotes/resources/v2/types/index.d.ts +1 -0
- package/api/resources/billingNotes/resources/v2/types/index.js +1 -0
- package/api/resources/chargeCapture/resources/v1/client/Client.js +5 -5
- package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +4 -0
- package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +4 -0
- package/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +2 -0
- package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +1 -52
- package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureError.d.ts +6 -0
- package/api/resources/chargeCapture/resources/v1/types/index.d.ts +1 -1
- package/api/resources/chargeCapture/resources/v1/types/index.js +1 -1
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +9 -0
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +55 -3
- package/api/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +1 -0
- package/api/resources/chargeCaptureBundles/resources/v1/client/index.js +2 -1
- package/api/resources/chargeCaptureBundles/resources/v1/client/requests/ChargeCaptureBundleErrorResolution.d.ts +13 -0
- package/api/resources/chargeCaptureBundles/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/chargeCaptureBundles/resources/v1/client/resolveChargeCreationError.d.ts +34 -0
- package/api/resources/chargeCaptureBundles/resources/v1/client/resolveChargeCreationError.js +79 -0
- package/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.d.ts +34 -0
- package/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.js +5 -0
- package/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreateOptional.d.ts +43 -0
- package/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreateOptional.js +5 -0
- package/api/resources/claimSubmission/resources/v1/types/index.d.ts +2 -0
- package/api/resources/claimSubmission/resources/v1/types/index.js +2 -0
- package/api/resources/commons/types/PhoneNumberOptional.d.ts +15 -0
- package/api/resources/commons/types/PhoneNumberOptional.js +5 -0
- package/api/resources/commons/types/ProcedureModifier.d.ts +9 -1
- package/api/resources/commons/types/ProcedureModifier.js +2 -0
- package/api/resources/commons/types/StreetAddressLongZipOptional.d.ts +19 -0
- package/api/resources/commons/types/StreetAddressLongZipOptional.js +5 -0
- package/api/resources/commons/types/index.d.ts +2 -0
- package/api/resources/commons/types/index.js +2 -0
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
- package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/api/resources/customSchemas/resources/v1/types/SchemaInstanceOptional.d.ts +22 -0
- package/api/resources/customSchemas/resources/v1/types/SchemaInstanceOptional.js +5 -0
- package/api/resources/customSchemas/resources/v1/types/index.d.ts +1 -0
- package/api/resources/customSchemas/resources/v1/types/index.js +1 -0
- package/api/resources/diagnoses/client/Client.js +3 -3
- package/api/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +7 -0
- package/api/resources/diagnoses/types/DiagnosisCreate.d.ts +7 -0
- package/api/resources/diagnoses/types/DiagnosisCreateOptional.d.ts +28 -0
- package/api/resources/diagnoses/types/DiagnosisCreateOptional.js +5 -0
- package/api/resources/diagnoses/types/index.d.ts +1 -0
- package/api/resources/diagnoses/types/index.js +1 -0
- package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -3
- package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/api/resources/encounterProviders/resources/v2/types/OrderingProviderOptional.d.ts +13 -0
- package/api/resources/encounterProviders/resources/v2/types/OrderingProviderOptional.js +5 -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.js +5 -5
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -1
- package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +26 -0
- package/api/resources/encounters/resources/v4/types/ClaimSupplementalInformationOptional.d.ts +9 -0
- package/api/resources/encounters/resources/v4/types/ClaimSupplementalInformationOptional.js +5 -0
- package/api/resources/encounters/resources/v4/types/ClinicalNoteCategoryCreateOptional.d.ts +8 -0
- package/api/resources/encounters/resources/v4/types/ClinicalNoteCategoryCreateOptional.js +5 -0
- package/api/resources/encounters/resources/v4/types/ClinicalNoteOptional.d.ts +10 -0
- package/api/resources/encounters/resources/v4/types/ClinicalNoteOptional.js +5 -0
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +3 -1
- package/api/resources/encounters/resources/v4/types/EncounterCreateFromPreEncounter.d.ts +1 -1
- package/api/resources/encounters/resources/v4/types/EncounterDeepOptional.d.ts +80 -0
- package/api/resources/encounters/resources/v4/types/EncounterDeepOptional.js +5 -0
- package/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +0 -26
- package/api/resources/encounters/resources/v4/types/EpsdtReferralOptional.d.ts +9 -0
- package/api/resources/encounters/resources/v4/types/EpsdtReferralOptional.js +5 -0
- package/api/resources/encounters/resources/v4/types/IntakeQuestionOptional.d.ts +24 -0
- package/api/resources/encounters/resources/v4/types/IntakeQuestionOptional.js +5 -0
- package/api/resources/encounters/resources/v4/types/InterventionOptional.d.ts +14 -0
- package/api/resources/encounters/resources/v4/types/InterventionOptional.js +5 -0
- package/api/resources/encounters/resources/v4/types/LabOptional.d.ts +17 -0
- package/api/resources/encounters/resources/v4/types/LabOptional.js +5 -0
- package/api/resources/encounters/resources/v4/types/MedicationOptional.d.ts +12 -0
- package/api/resources/encounters/resources/v4/types/MedicationOptional.js +5 -0
- package/api/resources/encounters/resources/v4/types/PatientHistoryCategoryOptional.d.ts +9 -0
- package/api/resources/encounters/resources/v4/types/PatientHistoryCategoryOptional.js +5 -0
- package/api/resources/encounters/resources/v4/types/index.d.ts +10 -0
- package/api/resources/encounters/resources/v4/types/index.js +10 -0
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/guarantor/resources/v1/types/GuarantorOptional.d.ts +17 -0
- package/api/resources/guarantor/resources/v1/types/GuarantorOptional.js +5 -0
- package/api/resources/guarantor/resources/v1/types/index.d.ts +1 -0
- package/api/resources/guarantor/resources/v1/types/index.js +1 -0
- package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/api/resources/index.d.ts +2 -0
- package/api/resources/index.js +3 -1
- package/api/resources/individual/types/IndividualBaseOptional.d.ts +9 -0
- package/api/resources/individual/types/IndividualBaseOptional.js +5 -0
- package/api/resources/individual/types/PatientNonInsurancePayerInfoCreateOptional.d.ts +9 -0
- package/api/resources/individual/types/PatientNonInsurancePayerInfoCreateOptional.js +5 -0
- package/api/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +2 -2
- package/api/resources/individual/types/SubscriberBaseOptional.d.ts +9 -0
- package/api/resources/individual/types/SubscriberBaseOptional.js +5 -0
- package/api/resources/individual/types/SubscriberCreateOptional.d.ts +7 -0
- package/api/resources/individual/types/SubscriberCreateOptional.js +5 -0
- package/api/resources/individual/types/index.d.ts +4 -0
- package/api/resources/individual/types/index.js +4 -0
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -0
- package/api/resources/insuranceCards/resources/v2/types/InsuranceCardCreateOptional.d.ts +14 -0
- package/api/resources/insuranceCards/resources/v2/types/InsuranceCardCreateOptional.js +5 -0
- package/api/resources/insuranceCards/resources/v2/types/index.d.ts +1 -0
- package/api/resources/insuranceCards/resources/v2/types/index.js +1 -0
- package/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
- package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +3 -3
- package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
- package/api/resources/preEncounter/resources/patients/resources/v1/types/Authorization.d.ts +2 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
- package/api/resources/serviceLines/resources/v2/types/DrugIdentificationOptional.d.ts +14 -0
- package/api/resources/serviceLines/resources/v2/types/DrugIdentificationOptional.js +5 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +50 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.js +5 -0
- package/api/resources/serviceLines/resources/v2/types/TestResultOptional.d.ts +8 -0
- package/api/resources/serviceLines/resources/v2/types/TestResultOptional.js +5 -0
- package/api/resources/serviceLines/resources/v2/types/index.d.ts +3 -0
- package/api/resources/serviceLines/resources/v2/types/index.js +3 -0
- package/api/resources/superbills/resources/v1/client/Client.js +1 -1
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
- package/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.d.ts +2 -1
- package/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.js +1 -0
- package/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +2 -1
- package/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
- package/api/resources/yesNoIndicator/index.d.ts +1 -0
- package/api/resources/yesNoIndicator/index.js +17 -0
- package/api/resources/yesNoIndicator/types/YesNoIndicator.d.ts +10 -0
- package/api/resources/yesNoIndicator/types/YesNoIndicator.js +12 -0
- package/api/resources/yesNoIndicator/types/index.d.ts +1 -0
- package/api/resources/yesNoIndicator/types/index.js +17 -0
- package/core/auth/OAuthTokenProvider.d.ts +2 -2
- package/dist/Client.js +2 -2
- package/dist/api/resources/auth/client/Client.d.ts +3 -3
- package/dist/api/resources/auth/client/Client.js +3 -3
- package/dist/api/resources/auth/resources/{v2 → default}/client/Client.d.ts +23 -9
- package/{api/resources/auth/resources/v2 → dist/api/resources/auth/resources/default}/client/Client.js +29 -12
- package/dist/api/resources/auth/resources/default/client/getToken.d.ts +34 -0
- package/{api/resources/auth/resources/v2 → dist/api/resources/auth/resources/default}/client/getToken.js +13 -2
- package/dist/api/resources/auth/resources/default/client/requests/AuthGetTokenRequest.js +5 -0
- package/dist/api/resources/auth/resources/default/types/AuthGetTokenResponse.js +5 -0
- package/dist/api/resources/auth/resources/default/types/InvalidContentTypeErrorType.d.ts +6 -0
- package/dist/api/resources/auth/resources/default/types/InvalidContentTypeErrorType.js +5 -0
- package/dist/api/resources/auth/resources/default/types/TooManyRequestsErrorType.js +5 -0
- package/dist/{serialization/resources/auth/resources/v2 → api/resources/auth/resources/default}/types/index.d.ts +1 -0
- package/{api/resources/auth/resources/v2 → dist/api/resources/auth/resources/default}/types/index.js +1 -0
- package/dist/api/resources/auth/resources/index.d.ts +1 -1
- package/dist/api/resources/auth/resources/index.js +2 -2
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/billingNotes/resources/v2/types/BillingNoteBaseOptional.d.ts +7 -0
- package/dist/api/resources/billingNotes/resources/v2/types/BillingNoteBaseOptional.js +5 -0
- package/dist/api/resources/billingNotes/resources/v2/types/index.d.ts +1 -0
- package/dist/api/resources/billingNotes/resources/v2/types/index.js +1 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +4 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +4 -0
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +2 -0
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +1 -52
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureError.d.ts +6 -0
- package/dist/api/resources/chargeCapture/resources/v1/types/index.d.ts +1 -1
- package/dist/api/resources/chargeCapture/resources/v1/types/index.js +1 -1
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +9 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +55 -3
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +1 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/index.js +2 -1
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/ChargeCaptureBundleErrorResolution.d.ts +13 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/ChargeCaptureBundleErrorResolution.js +5 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/resolveChargeCreationError.d.ts +34 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/resolveChargeCreationError.js +79 -0
- package/dist/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.d.ts +34 -0
- package/dist/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.js +5 -0
- package/dist/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreateOptional.d.ts +43 -0
- package/dist/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreateOptional.js +5 -0
- package/dist/api/resources/claimSubmission/resources/v1/types/index.d.ts +2 -0
- package/dist/api/resources/claimSubmission/resources/v1/types/index.js +2 -0
- package/dist/api/resources/commons/types/PhoneNumberOptional.d.ts +15 -0
- package/dist/api/resources/commons/types/PhoneNumberOptional.js +5 -0
- package/dist/api/resources/commons/types/ProcedureModifier.d.ts +9 -1
- package/dist/api/resources/commons/types/ProcedureModifier.js +2 -0
- package/dist/api/resources/commons/types/StreetAddressLongZipOptional.d.ts +19 -0
- package/dist/api/resources/commons/types/StreetAddressLongZipOptional.js +5 -0
- package/dist/api/resources/commons/types/index.d.ts +2 -0
- package/dist/api/resources/commons/types/index.js +2 -0
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/customSchemas/resources/v1/types/SchemaInstanceOptional.d.ts +22 -0
- package/dist/api/resources/customSchemas/resources/v1/types/SchemaInstanceOptional.js +5 -0
- package/dist/api/resources/customSchemas/resources/v1/types/index.d.ts +1 -0
- package/dist/api/resources/customSchemas/resources/v1/types/index.js +1 -0
- package/dist/api/resources/diagnoses/client/Client.js +3 -3
- package/dist/api/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +7 -0
- package/dist/api/resources/diagnoses/types/DiagnosisCreate.d.ts +7 -0
- package/dist/api/resources/diagnoses/types/DiagnosisCreateOptional.d.ts +28 -0
- package/dist/api/resources/diagnoses/types/DiagnosisCreateOptional.js +5 -0
- package/dist/api/resources/diagnoses/types/index.d.ts +1 -0
- package/dist/api/resources/diagnoses/types/index.js +1 -0
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/dist/api/resources/encounterProviders/resources/v2/types/OrderingProviderOptional.d.ts +13 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/OrderingProviderOptional.js +5 -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.js +5 -5
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -1
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +26 -0
- package/dist/api/resources/encounters/resources/v4/types/ClaimSupplementalInformationOptional.d.ts +9 -0
- package/dist/api/resources/encounters/resources/v4/types/ClaimSupplementalInformationOptional.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/ClinicalNoteCategoryCreateOptional.d.ts +8 -0
- package/dist/api/resources/encounters/resources/v4/types/ClinicalNoteCategoryCreateOptional.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/ClinicalNoteOptional.d.ts +10 -0
- package/dist/api/resources/encounters/resources/v4/types/ClinicalNoteOptional.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +3 -1
- package/dist/api/resources/encounters/resources/v4/types/EncounterCreateFromPreEncounter.d.ts +1 -1
- package/dist/api/resources/encounters/resources/v4/types/EncounterDeepOptional.d.ts +80 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterDeepOptional.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +0 -26
- package/dist/api/resources/encounters/resources/v4/types/EpsdtReferralOptional.d.ts +9 -0
- package/dist/api/resources/encounters/resources/v4/types/EpsdtReferralOptional.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/IntakeQuestionOptional.d.ts +24 -0
- package/dist/api/resources/encounters/resources/v4/types/IntakeQuestionOptional.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/InterventionOptional.d.ts +14 -0
- package/dist/api/resources/encounters/resources/v4/types/InterventionOptional.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/LabOptional.d.ts +17 -0
- package/dist/api/resources/encounters/resources/v4/types/LabOptional.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/MedicationOptional.d.ts +12 -0
- package/dist/api/resources/encounters/resources/v4/types/MedicationOptional.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/PatientHistoryCategoryOptional.d.ts +9 -0
- package/dist/api/resources/encounters/resources/v4/types/PatientHistoryCategoryOptional.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/index.d.ts +10 -0
- package/dist/api/resources/encounters/resources/v4/types/index.js +10 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/guarantor/resources/v1/types/GuarantorOptional.d.ts +17 -0
- package/dist/api/resources/guarantor/resources/v1/types/GuarantorOptional.js +5 -0
- package/dist/api/resources/guarantor/resources/v1/types/index.d.ts +1 -0
- package/dist/api/resources/guarantor/resources/v1/types/index.js +1 -0
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/index.d.ts +2 -0
- package/dist/api/resources/index.js +3 -1
- package/dist/api/resources/individual/types/IndividualBaseOptional.d.ts +9 -0
- package/dist/api/resources/individual/types/IndividualBaseOptional.js +5 -0
- package/dist/api/resources/individual/types/PatientNonInsurancePayerInfoCreateOptional.d.ts +9 -0
- package/dist/api/resources/individual/types/PatientNonInsurancePayerInfoCreateOptional.js +5 -0
- package/dist/api/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +2 -2
- package/dist/api/resources/individual/types/SubscriberBaseOptional.d.ts +9 -0
- package/dist/api/resources/individual/types/SubscriberBaseOptional.js +5 -0
- package/dist/api/resources/individual/types/SubscriberCreateOptional.d.ts +7 -0
- package/dist/api/resources/individual/types/SubscriberCreateOptional.js +5 -0
- package/dist/api/resources/individual/types/index.d.ts +4 -0
- package/dist/api/resources/individual/types/index.js +4 -0
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -0
- package/dist/api/resources/insuranceCards/resources/v2/types/InsuranceCardCreateOptional.d.ts +14 -0
- package/dist/api/resources/insuranceCards/resources/v2/types/InsuranceCardCreateOptional.js +5 -0
- package/dist/api/resources/insuranceCards/resources/v2/types/index.d.ts +1 -0
- package/dist/api/resources/insuranceCards/resources/v2/types/index.js +1 -0
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Authorization.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/serviceLines/resources/v2/types/DrugIdentificationOptional.d.ts +14 -0
- package/dist/api/resources/serviceLines/resources/v2/types/DrugIdentificationOptional.js +5 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +50 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.js +5 -0
- package/dist/api/resources/serviceLines/resources/v2/types/TestResultOptional.d.ts +8 -0
- package/dist/api/resources/serviceLines/resources/v2/types/TestResultOptional.js +5 -0
- package/dist/api/resources/serviceLines/resources/v2/types/index.d.ts +3 -0
- package/dist/api/resources/serviceLines/resources/v2/types/index.js +3 -0
- package/dist/api/resources/superbills/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.d.ts +2 -1
- package/dist/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.js +1 -0
- package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +2 -1
- package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
- package/dist/api/resources/yesNoIndicator/index.d.ts +1 -0
- package/dist/api/resources/yesNoIndicator/index.js +17 -0
- package/dist/api/resources/yesNoIndicator/types/YesNoIndicator.d.ts +10 -0
- package/dist/api/resources/yesNoIndicator/types/YesNoIndicator.js +12 -0
- package/dist/api/resources/yesNoIndicator/types/index.d.ts +1 -0
- package/dist/api/resources/yesNoIndicator/types/index.js +17 -0
- package/dist/core/auth/OAuthTokenProvider.d.ts +2 -2
- package/dist/serialization/resources/auth/resources/{v2 → default}/client/getToken.d.ts +7 -2
- package/dist/serialization/resources/auth/resources/{v2 → default}/client/getToken.js +7 -1
- package/dist/serialization/resources/auth/resources/{v2 → default}/client/requests/AuthGetTokenRequest.d.ts +1 -1
- package/{serialization/resources/auth/resources/v2 → dist/serialization/resources/auth/resources/default}/types/AuthGetTokenResponse.d.ts +1 -1
- package/dist/serialization/resources/auth/resources/default/types/InvalidContentTypeErrorType.d.ts +12 -0
- package/dist/serialization/resources/auth/resources/default/types/InvalidContentTypeErrorType.js +43 -0
- package/{serialization/resources/auth/resources/v2 → dist/serialization/resources/auth/resources/default}/types/TooManyRequestsErrorType.d.ts +1 -1
- package/{serialization/resources/auth/resources/v2 → dist/serialization/resources/auth/resources/default}/types/index.d.ts +1 -0
- package/dist/{api/resources/auth/resources/v2 → serialization/resources/auth/resources/default}/types/index.js +1 -0
- package/dist/serialization/resources/auth/resources/index.d.ts +1 -1
- package/dist/serialization/resources/auth/resources/index.js +2 -2
- package/dist/serialization/resources/billingNotes/resources/v2/types/BillingNoteBaseOptional.d.ts +12 -0
- package/dist/serialization/resources/billingNotes/resources/v2/types/BillingNoteBaseOptional.js +43 -0
- package/dist/serialization/resources/billingNotes/resources/v2/types/index.d.ts +1 -0
- package/dist/serialization/resources/billingNotes/resources/v2/types/index.js +1 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +2 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.js +2 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +2 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.js +2 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +2 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +2 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +2 -30
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +2 -33
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.d.ts +3 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.js +3 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +1 -1
- package/dist/serialization/resources/chargeCapture/resources/v1/types/index.js +1 -1
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +2 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/index.js +41 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/requests/ChargeCaptureBundleErrorResolution.d.ts +13 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/requests/ChargeCaptureBundleErrorResolution.js +44 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/requests/index.js +5 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/resolveChargeCreationError.d.ts +20 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/resolveChargeCreationError.js +77 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/index.d.ts +1 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/index.js +1 -0
- package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.d.ts +18 -0
- package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.js +49 -0
- package/dist/serialization/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreateOptional.d.ts +15 -0
- package/dist/serialization/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreateOptional.js +46 -0
- package/dist/serialization/resources/claimSubmission/resources/v1/types/index.d.ts +2 -0
- package/dist/serialization/resources/claimSubmission/resources/v1/types/index.js +2 -0
- package/dist/serialization/resources/commons/types/PhoneNumberOptional.d.ts +14 -0
- package/dist/serialization/resources/commons/types/PhoneNumberOptional.js +45 -0
- package/dist/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
- package/dist/serialization/resources/commons/types/ProcedureModifier.js +2 -0
- package/dist/serialization/resources/commons/types/StreetAddressLongZipOptional.d.ts +13 -0
- package/dist/serialization/resources/commons/types/StreetAddressLongZipOptional.js +46 -0
- package/dist/serialization/resources/commons/types/index.d.ts +2 -0
- package/dist/serialization/resources/commons/types/index.js +2 -0
- package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaInstanceOptional.d.ts +14 -0
- package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaInstanceOptional.js +45 -0
- package/dist/serialization/resources/customSchemas/resources/v1/types/index.d.ts +1 -0
- package/dist/serialization/resources/customSchemas/resources/v1/types/index.js +1 -0
- package/dist/serialization/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +2 -0
- package/dist/serialization/resources/diagnoses/client/requests/DiagnosisUpdate.js +2 -0
- package/dist/serialization/resources/diagnoses/types/DiagnosisCreate.d.ts +2 -0
- package/dist/serialization/resources/diagnoses/types/DiagnosisCreate.js +2 -0
- package/dist/serialization/resources/diagnoses/types/DiagnosisCreateOptional.d.ts +17 -0
- package/dist/serialization/resources/diagnoses/types/DiagnosisCreateOptional.js +48 -0
- package/dist/serialization/resources/diagnoses/types/index.d.ts +1 -0
- package/dist/serialization/resources/diagnoses/types/index.js +1 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/OrderingProviderOptional.d.ts +16 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/OrderingProviderOptional.js +49 -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/requests/EncounterUpdate.d.ts +16 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +16 -0
- package/dist/serialization/resources/encounters/resources/v4/types/ClaimSupplementalInformationOptional.d.ts +16 -0
- package/dist/serialization/resources/encounters/resources/v4/types/ClaimSupplementalInformationOptional.js +47 -0
- package/dist/serialization/resources/encounters/resources/v4/types/ClinicalNoteCategoryCreateOptional.d.ts +15 -0
- package/dist/serialization/resources/encounters/resources/v4/types/ClinicalNoteCategoryCreateOptional.js +46 -0
- package/dist/serialization/resources/encounters/resources/v4/types/ClinicalNoteOptional.d.ts +16 -0
- package/dist/serialization/resources/encounters/resources/v4/types/ClinicalNoteOptional.js +47 -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/encounters/resources/v4/types/EncounterDeepOptional.d.ts +56 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterDeepOptional.js +89 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +0 -16
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +0 -16
- package/dist/serialization/resources/encounters/resources/v4/types/EpsdtReferralOptional.d.ts +15 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EpsdtReferralOptional.js +46 -0
- package/dist/serialization/resources/encounters/resources/v4/types/IntakeQuestionOptional.d.ts +16 -0
- package/dist/serialization/resources/encounters/resources/v4/types/IntakeQuestionOptional.js +47 -0
- package/dist/serialization/resources/encounters/resources/v4/types/InterventionOptional.d.ts +19 -0
- package/dist/serialization/resources/encounters/resources/v4/types/InterventionOptional.js +50 -0
- package/dist/serialization/resources/encounters/resources/v4/types/LabOptional.d.ts +15 -0
- package/dist/serialization/resources/encounters/resources/v4/types/LabOptional.js +46 -0
- package/dist/serialization/resources/encounters/resources/v4/types/MedicationOptional.d.ts +18 -0
- package/dist/serialization/resources/encounters/resources/v4/types/MedicationOptional.js +49 -0
- package/dist/serialization/resources/encounters/resources/v4/types/PatientHistoryCategoryOptional.d.ts +15 -0
- package/dist/serialization/resources/encounters/resources/v4/types/PatientHistoryCategoryOptional.js +46 -0
- package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +10 -0
- package/dist/serialization/resources/encounters/resources/v4/types/index.js +10 -0
- package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorOptional.d.ts +23 -0
- package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorOptional.js +54 -0
- package/dist/serialization/resources/guarantor/resources/v1/types/index.d.ts +1 -0
- package/dist/serialization/resources/guarantor/resources/v1/types/index.js +1 -0
- package/dist/serialization/resources/index.d.ts +2 -0
- package/dist/serialization/resources/index.js +3 -1
- package/dist/serialization/resources/individual/types/IndividualBaseOptional.d.ts +15 -0
- package/dist/serialization/resources/individual/types/IndividualBaseOptional.js +46 -0
- package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreateOptional.d.ts +16 -0
- package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreateOptional.js +47 -0
- package/dist/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +4 -4
- package/dist/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.js +4 -4
- package/dist/serialization/resources/individual/types/SubscriberBaseOptional.d.ts +17 -0
- package/dist/serialization/resources/individual/types/SubscriberBaseOptional.js +50 -0
- package/dist/serialization/resources/individual/types/SubscriberCreateOptional.d.ts +14 -0
- package/dist/serialization/resources/individual/types/SubscriberCreateOptional.js +47 -0
- package/dist/serialization/resources/individual/types/index.d.ts +4 -0
- package/dist/serialization/resources/individual/types/index.js +4 -0
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -0
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +1 -0
- package/dist/serialization/resources/insuranceCards/resources/v2/types/InsuranceCardCreateOptional.d.ts +21 -0
- package/dist/serialization/resources/insuranceCards/resources/v2/types/InsuranceCardCreateOptional.js +54 -0
- package/dist/serialization/resources/insuranceCards/resources/v2/types/index.d.ts +1 -0
- package/dist/serialization/resources/insuranceCards/resources/v2/types/index.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Authorization.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Authorization.js +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/DrugIdentificationOptional.d.ts +21 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/DrugIdentificationOptional.js +52 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +33 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.js +64 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/TestResultOptional.d.ts +14 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/TestResultOptional.js +45 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/index.d.ts +3 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/index.js +3 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.d.ts +1 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.js +1 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +1 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
- package/dist/serialization/resources/yesNoIndicator/index.d.ts +1 -0
- package/dist/serialization/resources/yesNoIndicator/index.js +17 -0
- package/dist/serialization/resources/yesNoIndicator/types/YesNoIndicator.d.ts +10 -0
- package/dist/serialization/resources/yesNoIndicator/types/YesNoIndicator.js +41 -0
- package/dist/serialization/resources/yesNoIndicator/types/index.d.ts +1 -0
- package/dist/serialization/resources/yesNoIndicator/types/index.js +17 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +77 -6
- package/serialization/resources/auth/resources/{v2 → default}/client/getToken.d.ts +7 -2
- package/serialization/resources/auth/resources/{v2 → default}/client/getToken.js +7 -1
- package/serialization/resources/auth/resources/{v2 → default}/client/requests/AuthGetTokenRequest.d.ts +1 -1
- package/{dist/serialization/resources/auth/resources/v2 → serialization/resources/auth/resources/default}/types/AuthGetTokenResponse.d.ts +1 -1
- package/serialization/resources/auth/resources/default/types/InvalidContentTypeErrorType.d.ts +12 -0
- package/serialization/resources/auth/resources/default/types/InvalidContentTypeErrorType.js +43 -0
- package/{dist/serialization/resources/auth/resources/v2 → serialization/resources/auth/resources/default}/types/TooManyRequestsErrorType.d.ts +1 -1
- package/{api/resources/auth/resources/v2 → serialization/resources/auth/resources/default}/types/index.d.ts +1 -0
- package/serialization/resources/auth/resources/{v2 → default}/types/index.js +1 -0
- package/serialization/resources/auth/resources/index.d.ts +1 -1
- package/serialization/resources/auth/resources/index.js +2 -2
- package/serialization/resources/billingNotes/resources/v2/types/BillingNoteBaseOptional.d.ts +12 -0
- package/serialization/resources/billingNotes/resources/v2/types/BillingNoteBaseOptional.js +43 -0
- package/serialization/resources/billingNotes/resources/v2/types/index.d.ts +1 -0
- package/serialization/resources/billingNotes/resources/v2/types/index.js +1 -0
- package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +2 -0
- package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.js +2 -0
- package/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +2 -0
- package/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.js +2 -0
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +2 -0
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +2 -0
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +2 -30
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +2 -33
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.d.ts +3 -0
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.js +3 -0
- package/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +1 -1
- package/serialization/resources/chargeCapture/resources/v1/types/index.js +1 -1
- package/serialization/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +2 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/client/index.js +41 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/client/requests/ChargeCaptureBundleErrorResolution.d.ts +13 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/client/requests/ChargeCaptureBundleErrorResolution.js +44 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/client/requests/index.d.ts +1 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/client/requests/index.js +5 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/client/resolveChargeCreationError.d.ts +20 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/client/resolveChargeCreationError.js +77 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/index.d.ts +1 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/index.js +1 -0
- package/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.d.ts +18 -0
- package/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.js +49 -0
- package/serialization/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreateOptional.d.ts +15 -0
- package/serialization/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreateOptional.js +46 -0
- package/serialization/resources/claimSubmission/resources/v1/types/index.d.ts +2 -0
- package/serialization/resources/claimSubmission/resources/v1/types/index.js +2 -0
- package/serialization/resources/commons/types/PhoneNumberOptional.d.ts +14 -0
- package/serialization/resources/commons/types/PhoneNumberOptional.js +45 -0
- package/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
- package/serialization/resources/commons/types/ProcedureModifier.js +2 -0
- package/serialization/resources/commons/types/StreetAddressLongZipOptional.d.ts +13 -0
- package/serialization/resources/commons/types/StreetAddressLongZipOptional.js +46 -0
- package/serialization/resources/commons/types/index.d.ts +2 -0
- package/serialization/resources/commons/types/index.js +2 -0
- package/serialization/resources/customSchemas/resources/v1/types/SchemaInstanceOptional.d.ts +14 -0
- package/serialization/resources/customSchemas/resources/v1/types/SchemaInstanceOptional.js +45 -0
- package/serialization/resources/customSchemas/resources/v1/types/index.d.ts +1 -0
- package/serialization/resources/customSchemas/resources/v1/types/index.js +1 -0
- package/serialization/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +2 -0
- package/serialization/resources/diagnoses/client/requests/DiagnosisUpdate.js +2 -0
- package/serialization/resources/diagnoses/types/DiagnosisCreate.d.ts +2 -0
- package/serialization/resources/diagnoses/types/DiagnosisCreate.js +2 -0
- package/serialization/resources/diagnoses/types/DiagnosisCreateOptional.d.ts +17 -0
- package/serialization/resources/diagnoses/types/DiagnosisCreateOptional.js +48 -0
- package/serialization/resources/diagnoses/types/index.d.ts +1 -0
- package/serialization/resources/diagnoses/types/index.js +1 -0
- package/serialization/resources/encounterProviders/resources/v2/types/OrderingProviderOptional.d.ts +16 -0
- package/serialization/resources/encounterProviders/resources/v2/types/OrderingProviderOptional.js +49 -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/requests/EncounterUpdate.d.ts +16 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +16 -0
- package/serialization/resources/encounters/resources/v4/types/ClaimSupplementalInformationOptional.d.ts +16 -0
- package/serialization/resources/encounters/resources/v4/types/ClaimSupplementalInformationOptional.js +47 -0
- package/serialization/resources/encounters/resources/v4/types/ClinicalNoteCategoryCreateOptional.d.ts +15 -0
- package/serialization/resources/encounters/resources/v4/types/ClinicalNoteCategoryCreateOptional.js +46 -0
- package/serialization/resources/encounters/resources/v4/types/ClinicalNoteOptional.d.ts +16 -0
- package/serialization/resources/encounters/resources/v4/types/ClinicalNoteOptional.js +47 -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/encounters/resources/v4/types/EncounterDeepOptional.d.ts +56 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterDeepOptional.js +89 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +0 -16
- package/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +0 -16
- package/serialization/resources/encounters/resources/v4/types/EpsdtReferralOptional.d.ts +15 -0
- package/serialization/resources/encounters/resources/v4/types/EpsdtReferralOptional.js +46 -0
- package/serialization/resources/encounters/resources/v4/types/IntakeQuestionOptional.d.ts +16 -0
- package/serialization/resources/encounters/resources/v4/types/IntakeQuestionOptional.js +47 -0
- package/serialization/resources/encounters/resources/v4/types/InterventionOptional.d.ts +19 -0
- package/serialization/resources/encounters/resources/v4/types/InterventionOptional.js +50 -0
- package/serialization/resources/encounters/resources/v4/types/LabOptional.d.ts +15 -0
- package/serialization/resources/encounters/resources/v4/types/LabOptional.js +46 -0
- package/serialization/resources/encounters/resources/v4/types/MedicationOptional.d.ts +18 -0
- package/serialization/resources/encounters/resources/v4/types/MedicationOptional.js +49 -0
- package/serialization/resources/encounters/resources/v4/types/PatientHistoryCategoryOptional.d.ts +15 -0
- package/serialization/resources/encounters/resources/v4/types/PatientHistoryCategoryOptional.js +46 -0
- package/serialization/resources/encounters/resources/v4/types/index.d.ts +10 -0
- package/serialization/resources/encounters/resources/v4/types/index.js +10 -0
- package/serialization/resources/guarantor/resources/v1/types/GuarantorOptional.d.ts +23 -0
- package/serialization/resources/guarantor/resources/v1/types/GuarantorOptional.js +54 -0
- package/serialization/resources/guarantor/resources/v1/types/index.d.ts +1 -0
- package/serialization/resources/guarantor/resources/v1/types/index.js +1 -0
- package/serialization/resources/index.d.ts +2 -0
- package/serialization/resources/index.js +3 -1
- package/serialization/resources/individual/types/IndividualBaseOptional.d.ts +15 -0
- package/serialization/resources/individual/types/IndividualBaseOptional.js +46 -0
- package/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreateOptional.d.ts +16 -0
- package/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreateOptional.js +47 -0
- package/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +4 -4
- package/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.js +4 -4
- package/serialization/resources/individual/types/SubscriberBaseOptional.d.ts +17 -0
- package/serialization/resources/individual/types/SubscriberBaseOptional.js +50 -0
- package/serialization/resources/individual/types/SubscriberCreateOptional.d.ts +14 -0
- package/serialization/resources/individual/types/SubscriberCreateOptional.js +47 -0
- package/serialization/resources/individual/types/index.d.ts +4 -0
- package/serialization/resources/individual/types/index.js +4 -0
- package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -0
- package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +1 -0
- package/serialization/resources/insuranceCards/resources/v2/types/InsuranceCardCreateOptional.d.ts +21 -0
- package/serialization/resources/insuranceCards/resources/v2/types/InsuranceCardCreateOptional.js +54 -0
- package/serialization/resources/insuranceCards/resources/v2/types/index.d.ts +1 -0
- package/serialization/resources/insuranceCards/resources/v2/types/index.js +1 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Authorization.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Authorization.js +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/DrugIdentificationOptional.d.ts +21 -0
- package/serialization/resources/serviceLines/resources/v2/types/DrugIdentificationOptional.js +52 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +33 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.js +64 -0
- package/serialization/resources/serviceLines/resources/v2/types/TestResultOptional.d.ts +14 -0
- package/serialization/resources/serviceLines/resources/v2/types/TestResultOptional.js +45 -0
- package/serialization/resources/serviceLines/resources/v2/types/index.d.ts +3 -0
- package/serialization/resources/serviceLines/resources/v2/types/index.js +3 -0
- package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.d.ts +1 -1
- package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.js +1 -0
- package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +1 -1
- package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
- package/serialization/resources/yesNoIndicator/index.d.ts +1 -0
- package/serialization/resources/yesNoIndicator/index.js +17 -0
- package/serialization/resources/yesNoIndicator/types/YesNoIndicator.d.ts +10 -0
- package/serialization/resources/yesNoIndicator/types/YesNoIndicator.js +41 -0
- package/serialization/resources/yesNoIndicator/types/index.d.ts +1 -0
- package/serialization/resources/yesNoIndicator/types/index.js +17 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/auth/resources/v2/client/getToken.d.ts +0 -28
- package/dist/api/resources/auth/resources/v2/client/getToken.d.ts +0 -28
- /package/api/resources/auth/resources/{v2 → default}/client/index.d.ts +0 -0
- /package/api/resources/auth/resources/{v2 → default}/client/index.js +0 -0
- /package/api/resources/auth/resources/{v2 → default}/client/requests/AuthGetTokenRequest.d.ts +0 -0
- /package/api/resources/auth/resources/{v2 → default}/client/requests/AuthGetTokenRequest.js +0 -0
- /package/api/resources/auth/resources/{v2 → default}/client/requests/index.d.ts +0 -0
- /package/api/resources/auth/resources/{v2 → default}/client/requests/index.js +0 -0
- /package/api/resources/auth/resources/{v2 → default}/index.d.ts +0 -0
- /package/api/resources/auth/resources/{v2 → default}/index.js +0 -0
- /package/api/resources/auth/resources/{v2 → default}/types/AuthGetTokenResponse.d.ts +0 -0
- /package/api/resources/auth/resources/{v2 → default}/types/AuthGetTokenResponse.js +0 -0
- /package/api/resources/auth/resources/{v2/types/TooManyRequestsErrorType.js → default/types/InvalidContentTypeErrorType.js} +0 -0
- /package/api/resources/auth/resources/{v2 → default}/types/TooManyRequestsErrorType.d.ts +0 -0
- /package/{dist/api/resources/auth/resources/v2 → api/resources/auth/resources/default}/types/TooManyRequestsErrorType.js +0 -0
- /package/{dist/api/resources/auth/resources/v2/client/requests/AuthGetTokenRequest.js → api/resources/billingNotes/resources/v2/types/BillingNoteBaseOptional.js} +0 -0
- /package/{dist/api/resources/auth/resources/v2/types/AuthGetTokenResponse.js → api/resources/chargeCaptureBundles/resources/v1/client/requests/ChargeCaptureBundleErrorResolution.js} +0 -0
- /package/dist/api/resources/auth/resources/{v2 → default}/client/index.d.ts +0 -0
- /package/dist/api/resources/auth/resources/{v2 → default}/client/index.js +0 -0
- /package/dist/api/resources/auth/resources/{v2 → default}/client/requests/AuthGetTokenRequest.d.ts +0 -0
- /package/dist/api/resources/auth/resources/{v2 → default}/client/requests/index.d.ts +0 -0
- /package/dist/api/resources/auth/resources/{v2 → default}/client/requests/index.js +0 -0
- /package/dist/api/resources/auth/resources/{v2 → default}/index.d.ts +0 -0
- /package/dist/api/resources/auth/resources/{v2 → default}/index.js +0 -0
- /package/dist/api/resources/auth/resources/{v2 → default}/types/AuthGetTokenResponse.d.ts +0 -0
- /package/dist/api/resources/auth/resources/{v2 → default}/types/TooManyRequestsErrorType.d.ts +0 -0
- /package/dist/serialization/resources/auth/resources/{v2 → default}/client/index.d.ts +0 -0
- /package/dist/serialization/resources/auth/resources/{v2 → default}/client/index.js +0 -0
- /package/dist/serialization/resources/auth/resources/{v2 → default}/client/requests/AuthGetTokenRequest.js +0 -0
- /package/dist/serialization/resources/auth/resources/{v2 → default}/client/requests/index.d.ts +0 -0
- /package/dist/serialization/resources/auth/resources/{v2 → default}/client/requests/index.js +0 -0
- /package/dist/serialization/resources/auth/resources/{v2 → default}/index.d.ts +0 -0
- /package/dist/serialization/resources/auth/resources/{v2 → default}/index.js +0 -0
- /package/dist/serialization/resources/auth/resources/{v2 → default}/types/AuthGetTokenResponse.js +0 -0
- /package/dist/serialization/resources/auth/resources/{v2 → default}/types/TooManyRequestsErrorType.js +0 -0
- /package/serialization/resources/auth/resources/{v2 → default}/client/index.d.ts +0 -0
- /package/serialization/resources/auth/resources/{v2 → default}/client/index.js +0 -0
- /package/serialization/resources/auth/resources/{v2 → default}/client/requests/AuthGetTokenRequest.js +0 -0
- /package/serialization/resources/auth/resources/{v2 → default}/client/requests/index.d.ts +0 -0
- /package/serialization/resources/auth/resources/{v2 → default}/client/requests/index.js +0 -0
- /package/serialization/resources/auth/resources/{v2 → default}/index.d.ts +0 -0
- /package/serialization/resources/auth/resources/{v2 → default}/index.js +0 -0
- /package/serialization/resources/auth/resources/{v2 → default}/types/AuthGetTokenResponse.js +0 -0
- /package/serialization/resources/auth/resources/{v2 → default}/types/TooManyRequestsErrorType.js +0 -0
|
@@ -17,24 +17,32 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./EncounterCreateFromPreEncounter"), exports);
|
|
18
18
|
__exportStar(require("./EncounterBase"), exports);
|
|
19
19
|
__exportStar(require("./EncounterOptional"), exports);
|
|
20
|
+
__exportStar(require("./EncounterDeepOptional"), exports);
|
|
20
21
|
__exportStar(require("./Encounter"), exports);
|
|
21
22
|
__exportStar(require("./EncounterSortOptions"), exports);
|
|
22
23
|
__exportStar(require("./Medication"), exports);
|
|
24
|
+
__exportStar(require("./MedicationOptional"), exports);
|
|
23
25
|
__exportStar(require("./Vitals"), exports);
|
|
24
26
|
__exportStar(require("./VitalsUpdate"), exports);
|
|
25
27
|
__exportStar(require("./Intervention"), exports);
|
|
28
|
+
__exportStar(require("./InterventionOptional"), exports);
|
|
26
29
|
__exportStar(require("./InterventionCategory"), exports);
|
|
27
30
|
__exportStar(require("./Lab"), exports);
|
|
31
|
+
__exportStar(require("./LabOptional"), exports);
|
|
28
32
|
__exportStar(require("./LabCodeType"), exports);
|
|
29
33
|
__exportStar(require("./PatientHistoryCategory"), exports);
|
|
34
|
+
__exportStar(require("./PatientHistoryCategoryOptional"), exports);
|
|
30
35
|
__exportStar(require("./PatientHistoryCategoryEnum"), exports);
|
|
31
36
|
__exportStar(require("./IntakeQuestion"), exports);
|
|
37
|
+
__exportStar(require("./IntakeQuestionOptional"), exports);
|
|
32
38
|
__exportStar(require("./IntakeResponseAndFollowUps"), exports);
|
|
33
39
|
__exportStar(require("./IntakeFollowUp"), exports);
|
|
34
40
|
__exportStar(require("./ClinicalNoteCategoryCreate"), exports);
|
|
41
|
+
__exportStar(require("./ClinicalNoteCategoryCreateOptional"), exports);
|
|
35
42
|
__exportStar(require("./ClinicalNoteCategory"), exports);
|
|
36
43
|
__exportStar(require("./NoteCategory"), exports);
|
|
37
44
|
__exportStar(require("./ClinicalNote"), exports);
|
|
45
|
+
__exportStar(require("./ClinicalNoteOptional"), exports);
|
|
38
46
|
__exportStar(require("./ResponsiblePartyType"), exports);
|
|
39
47
|
__exportStar(require("./BillableStatusType"), exports);
|
|
40
48
|
__exportStar(require("./EncounterOwnerOfNextActionType"), exports);
|
|
@@ -42,8 +50,10 @@ __exportStar(require("./EncounterSubmissionOriginType"), exports);
|
|
|
42
50
|
__exportStar(require("./SynchronicityType"), exports);
|
|
43
51
|
__exportStar(require("./CodingAttributionType"), exports);
|
|
44
52
|
__exportStar(require("./EpsdtReferral"), exports);
|
|
53
|
+
__exportStar(require("./EpsdtReferralOptional"), exports);
|
|
45
54
|
__exportStar(require("./ReportTypeCode"), exports);
|
|
46
55
|
__exportStar(require("./ReportTransmissionCode"), exports);
|
|
56
|
+
__exportStar(require("./ClaimSupplementalInformationOptional"), exports);
|
|
47
57
|
__exportStar(require("./ClaimSupplementalInformation"), exports);
|
|
48
58
|
__exportStar(require("./EncounterPage"), exports);
|
|
49
59
|
__exportStar(require("./PriorAuthorizationNumber"), exports);
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
import { StreetAddressShortZipOptional } from "../../../../commons/types/StreetAddressShortZipOptional";
|
|
8
|
+
import { PhoneNumberOptional } from "../../../../commons/types/PhoneNumberOptional";
|
|
9
|
+
import { Email } from "../../../../commons/types/Email";
|
|
10
|
+
export declare const GuarantorOptional: core.serialization.ObjectSchema<serializers.guarantor.v1.GuarantorOptional.Raw, CandidApi.guarantor.v1.GuarantorOptional>;
|
|
11
|
+
export declare namespace GuarantorOptional {
|
|
12
|
+
interface Raw {
|
|
13
|
+
first_name?: string | null;
|
|
14
|
+
last_name?: string | null;
|
|
15
|
+
external_id?: string | null;
|
|
16
|
+
date_of_birth?: string | null;
|
|
17
|
+
address?: StreetAddressShortZipOptional.Raw | null;
|
|
18
|
+
phone_numbers?: PhoneNumberOptional.Raw[] | null;
|
|
19
|
+
phone_consent?: boolean | null;
|
|
20
|
+
email?: Email.Raw | null;
|
|
21
|
+
email_consent?: boolean | null;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.GuarantorOptional = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../core"));
|
|
41
|
+
const StreetAddressShortZipOptional_1 = require("../../../../commons/types/StreetAddressShortZipOptional");
|
|
42
|
+
const PhoneNumberOptional_1 = require("../../../../commons/types/PhoneNumberOptional");
|
|
43
|
+
const Email_1 = require("../../../../commons/types/Email");
|
|
44
|
+
exports.GuarantorOptional = core.serialization.object({
|
|
45
|
+
firstName: core.serialization.property("first_name", core.serialization.string().optional()),
|
|
46
|
+
lastName: core.serialization.property("last_name", core.serialization.string().optional()),
|
|
47
|
+
externalId: core.serialization.property("external_id", core.serialization.string().optional()),
|
|
48
|
+
dateOfBirth: core.serialization.property("date_of_birth", core.serialization.string().optional()),
|
|
49
|
+
address: StreetAddressShortZipOptional_1.StreetAddressShortZipOptional.optional(),
|
|
50
|
+
phoneNumbers: core.serialization.property("phone_numbers", core.serialization.list(PhoneNumberOptional_1.PhoneNumberOptional).optional()),
|
|
51
|
+
phoneConsent: core.serialization.property("phone_consent", core.serialization.boolean().optional()),
|
|
52
|
+
email: Email_1.Email.optional(),
|
|
53
|
+
emailConsent: core.serialization.property("email_consent", core.serialization.boolean().optional()),
|
|
54
|
+
});
|
|
@@ -19,4 +19,5 @@ __exportStar(require("./GuarantorBase"), exports);
|
|
|
19
19
|
__exportStar(require("./Guarantor"), exports);
|
|
20
20
|
__exportStar(require("./GuarantorCreate"), exports);
|
|
21
21
|
__exportStar(require("./GuarantorUpdate"), exports);
|
|
22
|
+
__exportStar(require("./GuarantorOptional"), exports);
|
|
22
23
|
__exportStar(require("./EncounterHasExistingGuarantorErrorType"), exports);
|
|
@@ -65,5 +65,7 @@ export * as serviceFacility from "./serviceFacility";
|
|
|
65
65
|
export * from "./serviceFacility/types";
|
|
66
66
|
export * as tags from "./tags";
|
|
67
67
|
export * from "./tags/types";
|
|
68
|
+
export * as yesNoIndicator from "./yesNoIndicator";
|
|
69
|
+
export * from "./yesNoIndicator/types";
|
|
68
70
|
export * as eligibility from "./eligibility";
|
|
69
71
|
export * from "./diagnoses/client/requests";
|
|
@@ -37,7 +37,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.paymentAccountConfigs = exports.individual = exports.identifiers = exports.financials = exports.era = exports.eraCommons = exports.diagnoses = exports.claims = exports.preEncounter = exports.x12 = exports.writeOffs = exports.tasks = exports.superbills = exports.serviceLines = exports.remits = exports.remitDrafts = exports.payers = exports.payerPlanGroups = exports.patientRefunds = exports.patientPayments = exports.organizationProviders = exports.organizationServiceFacilities = exports.nonInsurancePayers = exports.nonInsurancePayerRefunds = exports.nonInsurancePayerPayments = exports.medicationDispense = exports.invoices = exports.insuranceRefunds = exports.insurancePayments = exports.insuranceCards = exports.insuranceAdjudications = exports.importInvoice = exports.guarantor = exports.externalPaymentAccountConfig = exports.exports = exports.expectedNetworkStatus = exports.encounters = exports.encounterProviders = exports.encounterAttachments = exports.customSchemas = exports.credentialing = exports.contracts = exports.clinicalTrials = exports.claimSubmission = exports.chargeCapture = exports.chargeCaptureBundles = exports.billingNotes = exports.auth = exports.commons = exports.feeSchedules = void 0;
|
|
40
|
-
exports.eligibility = exports.tags = exports.serviceFacility = exports.pipelineCommons = void 0;
|
|
40
|
+
exports.eligibility = exports.yesNoIndicator = exports.tags = exports.serviceFacility = exports.pipelineCommons = void 0;
|
|
41
41
|
exports.feeSchedules = __importStar(require("./feeSchedules"));
|
|
42
42
|
exports.commons = __importStar(require("./commons"));
|
|
43
43
|
__exportStar(require("./commons/errors"), exports);
|
|
@@ -105,5 +105,7 @@ exports.serviceFacility = __importStar(require("./serviceFacility"));
|
|
|
105
105
|
__exportStar(require("./serviceFacility/types"), exports);
|
|
106
106
|
exports.tags = __importStar(require("./tags"));
|
|
107
107
|
__exportStar(require("./tags/types"), exports);
|
|
108
|
+
exports.yesNoIndicator = __importStar(require("./yesNoIndicator"));
|
|
109
|
+
__exportStar(require("./yesNoIndicator/types"), exports);
|
|
108
110
|
exports.eligibility = __importStar(require("./eligibility"));
|
|
109
111
|
__exportStar(require("./diagnoses/client/requests"), exports);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { Gender } from "./Gender";
|
|
8
|
+
export declare const IndividualBaseOptional: core.serialization.ObjectSchema<serializers.IndividualBaseOptional.Raw, CandidApi.IndividualBaseOptional>;
|
|
9
|
+
export declare namespace IndividualBaseOptional {
|
|
10
|
+
interface Raw {
|
|
11
|
+
first_name?: string | null;
|
|
12
|
+
last_name?: string | null;
|
|
13
|
+
gender?: Gender.Raw | null;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.IndividualBaseOptional = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const Gender_1 = require("./Gender");
|
|
42
|
+
exports.IndividualBaseOptional = core.serialization.object({
|
|
43
|
+
firstName: core.serialization.property("first_name", core.serialization.string().optional()),
|
|
44
|
+
lastName: core.serialization.property("last_name", core.serialization.string().optional()),
|
|
45
|
+
gender: Gender_1.Gender.optional(),
|
|
46
|
+
});
|
package/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreateOptional.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { NonInsurancePayerId } from "../../nonInsurancePayers/resources/v1/types/NonInsurancePayerId";
|
|
8
|
+
import { PatientClinicalTrialInfoCreate } from "./PatientClinicalTrialInfoCreate";
|
|
9
|
+
export declare const PatientNonInsurancePayerInfoCreateOptional: core.serialization.ObjectSchema<serializers.PatientNonInsurancePayerInfoCreateOptional.Raw, CandidApi.PatientNonInsurancePayerInfoCreateOptional>;
|
|
10
|
+
export declare namespace PatientNonInsurancePayerInfoCreateOptional {
|
|
11
|
+
interface Raw {
|
|
12
|
+
non_insurance_payer_id?: NonInsurancePayerId.Raw | null;
|
|
13
|
+
member_id?: string | null;
|
|
14
|
+
clinical_trial_info?: PatientClinicalTrialInfoCreate.Raw[] | null;
|
|
15
|
+
}
|
|
16
|
+
}
|
package/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreateOptional.js
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.PatientNonInsurancePayerInfoCreateOptional = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const NonInsurancePayerId_1 = require("../../nonInsurancePayers/resources/v1/types/NonInsurancePayerId");
|
|
42
|
+
const PatientClinicalTrialInfoCreate_1 = require("./PatientClinicalTrialInfoCreate");
|
|
43
|
+
exports.PatientNonInsurancePayerInfoCreateOptional = core.serialization.object({
|
|
44
|
+
nonInsurancePayerId: core.serialization.property("non_insurance_payer_id", NonInsurancePayerId_1.NonInsurancePayerId.optional()),
|
|
45
|
+
memberId: core.serialization.property("member_id", core.serialization.string().optional()),
|
|
46
|
+
clinicalTrialInfo: core.serialization.property("clinical_trial_info", core.serialization.list(PatientClinicalTrialInfoCreate_1.PatientClinicalTrialInfoCreate).optional()),
|
|
47
|
+
});
|
|
@@ -6,10 +6,10 @@ import * as CandidApi from "../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
7
|
import { Gender } from "./Gender";
|
|
8
8
|
import { StreetAddressShortZipOptional } from "../../commons/types/StreetAddressShortZipOptional";
|
|
9
|
-
import {
|
|
9
|
+
import { PhoneNumberOptional } from "../../commons/types/PhoneNumberOptional";
|
|
10
10
|
import { Email } from "../../commons/types/Email";
|
|
11
11
|
import { NonInsurancePayerId } from "../../nonInsurancePayers/resources/v1/types/NonInsurancePayerId";
|
|
12
|
-
import {
|
|
12
|
+
import { PatientNonInsurancePayerInfoCreateOptional } from "./PatientNonInsurancePayerInfoCreateOptional";
|
|
13
13
|
export declare const PatientUpdateWithOptionalAddress: core.serialization.ObjectSchema<serializers.PatientUpdateWithOptionalAddress.Raw, CandidApi.PatientUpdateWithOptionalAddress>;
|
|
14
14
|
export declare namespace PatientUpdateWithOptionalAddress {
|
|
15
15
|
interface Raw {
|
|
@@ -19,11 +19,11 @@ export declare namespace PatientUpdateWithOptionalAddress {
|
|
|
19
19
|
external_id?: string | null;
|
|
20
20
|
date_of_birth?: string | null;
|
|
21
21
|
address?: StreetAddressShortZipOptional.Raw | null;
|
|
22
|
-
phone_numbers?:
|
|
22
|
+
phone_numbers?: PhoneNumberOptional.Raw[] | null;
|
|
23
23
|
phone_consent?: boolean | null;
|
|
24
24
|
email?: Email.Raw | null;
|
|
25
25
|
email_consent?: boolean | null;
|
|
26
26
|
non_insurance_payers?: NonInsurancePayerId.Raw[] | null;
|
|
27
|
-
non_insurance_payers_info?:
|
|
27
|
+
non_insurance_payers_info?: PatientNonInsurancePayerInfoCreateOptional.Raw[] | null;
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -40,10 +40,10 @@ exports.PatientUpdateWithOptionalAddress = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../../../core"));
|
|
41
41
|
const Gender_1 = require("./Gender");
|
|
42
42
|
const StreetAddressShortZipOptional_1 = require("../../commons/types/StreetAddressShortZipOptional");
|
|
43
|
-
const
|
|
43
|
+
const PhoneNumberOptional_1 = require("../../commons/types/PhoneNumberOptional");
|
|
44
44
|
const Email_1 = require("../../commons/types/Email");
|
|
45
45
|
const NonInsurancePayerId_1 = require("../../nonInsurancePayers/resources/v1/types/NonInsurancePayerId");
|
|
46
|
-
const
|
|
46
|
+
const PatientNonInsurancePayerInfoCreateOptional_1 = require("./PatientNonInsurancePayerInfoCreateOptional");
|
|
47
47
|
exports.PatientUpdateWithOptionalAddress = core.serialization.object({
|
|
48
48
|
firstName: core.serialization.property("first_name", core.serialization.string().optional()),
|
|
49
49
|
lastName: core.serialization.property("last_name", core.serialization.string().optional()),
|
|
@@ -51,10 +51,10 @@ exports.PatientUpdateWithOptionalAddress = core.serialization.object({
|
|
|
51
51
|
externalId: core.serialization.property("external_id", core.serialization.string().optional()),
|
|
52
52
|
dateOfBirth: core.serialization.property("date_of_birth", core.serialization.string().optional()),
|
|
53
53
|
address: StreetAddressShortZipOptional_1.StreetAddressShortZipOptional.optional(),
|
|
54
|
-
phoneNumbers: core.serialization.property("phone_numbers", core.serialization.list(
|
|
54
|
+
phoneNumbers: core.serialization.property("phone_numbers", core.serialization.list(PhoneNumberOptional_1.PhoneNumberOptional).optional()),
|
|
55
55
|
phoneConsent: core.serialization.property("phone_consent", core.serialization.boolean().optional()),
|
|
56
56
|
email: Email_1.Email.optional(),
|
|
57
57
|
emailConsent: core.serialization.property("email_consent", core.serialization.boolean().optional()),
|
|
58
58
|
nonInsurancePayers: core.serialization.property("non_insurance_payers", core.serialization.list(NonInsurancePayerId_1.NonInsurancePayerId).optional()),
|
|
59
|
-
nonInsurancePayersInfo: core.serialization.property("non_insurance_payers_info", core.serialization.list(
|
|
59
|
+
nonInsurancePayersInfo: core.serialization.property("non_insurance_payers_info", core.serialization.list(PatientNonInsurancePayerInfoCreateOptional_1.PatientNonInsurancePayerInfoCreateOptional).optional()),
|
|
60
60
|
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { PatientRelationshipToInsuredCodeAll } from "../../commons/types/PatientRelationshipToInsuredCodeAll";
|
|
8
|
+
import { StreetAddressShortZipOptional } from "../../commons/types/StreetAddressShortZipOptional";
|
|
9
|
+
import { IndividualBaseOptional } from "./IndividualBaseOptional";
|
|
10
|
+
export declare const SubscriberBaseOptional: core.serialization.ObjectSchema<serializers.SubscriberBaseOptional.Raw, CandidApi.SubscriberBaseOptional>;
|
|
11
|
+
export declare namespace SubscriberBaseOptional {
|
|
12
|
+
interface Raw extends IndividualBaseOptional.Raw {
|
|
13
|
+
patient_relationship_to_subscriber_code?: PatientRelationshipToInsuredCodeAll.Raw | null;
|
|
14
|
+
date_of_birth?: string | null;
|
|
15
|
+
address?: StreetAddressShortZipOptional.Raw | null;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.SubscriberBaseOptional = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const PatientRelationshipToInsuredCodeAll_1 = require("../../commons/types/PatientRelationshipToInsuredCodeAll");
|
|
42
|
+
const StreetAddressShortZipOptional_1 = require("../../commons/types/StreetAddressShortZipOptional");
|
|
43
|
+
const IndividualBaseOptional_1 = require("./IndividualBaseOptional");
|
|
44
|
+
exports.SubscriberBaseOptional = core.serialization
|
|
45
|
+
.object({
|
|
46
|
+
patientRelationshipToSubscriberCode: core.serialization.property("patient_relationship_to_subscriber_code", PatientRelationshipToInsuredCodeAll_1.PatientRelationshipToInsuredCodeAll.optional()),
|
|
47
|
+
dateOfBirth: core.serialization.property("date_of_birth", core.serialization.string().optional()),
|
|
48
|
+
address: StreetAddressShortZipOptional_1.StreetAddressShortZipOptional.optional(),
|
|
49
|
+
})
|
|
50
|
+
.extend(IndividualBaseOptional_1.IndividualBaseOptional);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { InsuranceCardCreateOptional } from "../../insuranceCards/resources/v2/types/InsuranceCardCreateOptional";
|
|
8
|
+
import { SubscriberBaseOptional } from "./SubscriberBaseOptional";
|
|
9
|
+
export declare const SubscriberCreateOptional: core.serialization.ObjectSchema<serializers.SubscriberCreateOptional.Raw, CandidApi.SubscriberCreateOptional>;
|
|
10
|
+
export declare namespace SubscriberCreateOptional {
|
|
11
|
+
interface Raw extends SubscriberBaseOptional.Raw {
|
|
12
|
+
insurance_card?: InsuranceCardCreateOptional.Raw | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.SubscriberCreateOptional = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const InsuranceCardCreateOptional_1 = require("../../insuranceCards/resources/v2/types/InsuranceCardCreateOptional");
|
|
42
|
+
const SubscriberBaseOptional_1 = require("./SubscriberBaseOptional");
|
|
43
|
+
exports.SubscriberCreateOptional = core.serialization
|
|
44
|
+
.object({
|
|
45
|
+
insuranceCard: core.serialization.property("insurance_card", InsuranceCardCreateOptional_1.InsuranceCardCreateOptional.optional()),
|
|
46
|
+
})
|
|
47
|
+
.extend(SubscriberBaseOptional_1.SubscriberBaseOptional);
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
export * from "./IndividualId";
|
|
2
2
|
export * from "./IndividualBase";
|
|
3
|
+
export * from "./IndividualBaseOptional";
|
|
3
4
|
export * from "./SubscriberBase";
|
|
5
|
+
export * from "./SubscriberBaseOptional";
|
|
4
6
|
export * from "./SubscriberCreate";
|
|
7
|
+
export * from "./SubscriberCreateOptional";
|
|
5
8
|
export * from "./Subscriber";
|
|
6
9
|
export * from "./PatientNonInsurancePayerInfoCreate";
|
|
10
|
+
export * from "./PatientNonInsurancePayerInfoCreateOptional";
|
|
7
11
|
export * from "./PatientClinicalTrialInfoCreate";
|
|
8
12
|
export * from "./PatientClinicalTrialInfo";
|
|
9
13
|
export * from "./PatientNonInsurancePayerInfo";
|
|
@@ -16,10 +16,14 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./IndividualId"), exports);
|
|
18
18
|
__exportStar(require("./IndividualBase"), exports);
|
|
19
|
+
__exportStar(require("./IndividualBaseOptional"), exports);
|
|
19
20
|
__exportStar(require("./SubscriberBase"), exports);
|
|
21
|
+
__exportStar(require("./SubscriberBaseOptional"), exports);
|
|
20
22
|
__exportStar(require("./SubscriberCreate"), exports);
|
|
23
|
+
__exportStar(require("./SubscriberCreateOptional"), exports);
|
|
21
24
|
__exportStar(require("./Subscriber"), exports);
|
|
22
25
|
__exportStar(require("./PatientNonInsurancePayerInfoCreate"), exports);
|
|
26
|
+
__exportStar(require("./PatientNonInsurancePayerInfoCreateOptional"), exports);
|
|
23
27
|
__exportStar(require("./PatientClinicalTrialInfoCreate"), exports);
|
|
24
28
|
__exportStar(require("./PatientClinicalTrialInfo"), exports);
|
|
25
29
|
__exportStar(require("./PatientNonInsurancePayerInfo"), exports);
|
|
@@ -17,6 +17,7 @@ export declare namespace InsuranceAdjudicationCreate {
|
|
|
17
17
|
post_date?: string | null;
|
|
18
18
|
check_number?: string | null;
|
|
19
19
|
check_date: string;
|
|
20
|
+
check_amount_cents?: number | null;
|
|
20
21
|
note?: string | null;
|
|
21
22
|
claims: Record<ClaimId.Raw, ClaimAdjudicationCreate.Raw[]>;
|
|
22
23
|
remit_draft_id?: RemitDraftId.Raw | null;
|
|
@@ -49,6 +49,7 @@ exports.InsuranceAdjudicationCreate = core.serialization.object({
|
|
|
49
49
|
postDate: core.serialization.property("post_date", core.serialization.string().optional()),
|
|
50
50
|
checkNumber: core.serialization.property("check_number", core.serialization.string().optional()),
|
|
51
51
|
checkDate: core.serialization.property("check_date", core.serialization.string()),
|
|
52
|
+
checkAmountCents: core.serialization.property("check_amount_cents", core.serialization.number().optional()),
|
|
52
53
|
note: core.serialization.string().optional(),
|
|
53
54
|
claims: core.serialization.record(ClaimId_1.ClaimId, core.serialization.list(ClaimAdjudicationCreate_1.ClaimAdjudicationCreate)),
|
|
54
55
|
remitDraftId: core.serialization.property("remit_draft_id", RemitDraftId_1.RemitDraftId.optional()),
|
package/serialization/resources/insuranceCards/resources/v2/types/InsuranceCardCreateOptional.d.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
import { EmrPayerCrosswalk } from "../../../../commons/types/EmrPayerCrosswalk";
|
|
8
|
+
import { InsuranceCardBase } from "./InsuranceCardBase";
|
|
9
|
+
export declare const InsuranceCardCreateOptional: core.serialization.ObjectSchema<serializers.insuranceCards.v2.InsuranceCardCreateOptional.Raw, CandidApi.insuranceCards.v2.InsuranceCardCreateOptional>;
|
|
10
|
+
export declare namespace InsuranceCardCreateOptional {
|
|
11
|
+
interface Raw extends InsuranceCardBase.Raw {
|
|
12
|
+
member_id?: string | null;
|
|
13
|
+
payer_name?: string | null;
|
|
14
|
+
payer_id?: string | null;
|
|
15
|
+
rx_bin?: string | null;
|
|
16
|
+
rx_pcn?: string | null;
|
|
17
|
+
image_url_front?: string | null;
|
|
18
|
+
image_url_back?: string | null;
|
|
19
|
+
emr_payer_crosswalk?: EmrPayerCrosswalk.Raw | null;
|
|
20
|
+
}
|
|
21
|
+
}
|
package/serialization/resources/insuranceCards/resources/v2/types/InsuranceCardCreateOptional.js
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.InsuranceCardCreateOptional = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../core"));
|
|
41
|
+
const EmrPayerCrosswalk_1 = require("../../../../commons/types/EmrPayerCrosswalk");
|
|
42
|
+
const InsuranceCardBase_1 = require("./InsuranceCardBase");
|
|
43
|
+
exports.InsuranceCardCreateOptional = core.serialization
|
|
44
|
+
.object({
|
|
45
|
+
memberId: core.serialization.property("member_id", core.serialization.string().optional()),
|
|
46
|
+
payerName: core.serialization.property("payer_name", core.serialization.string().optional()),
|
|
47
|
+
payerId: core.serialization.property("payer_id", core.serialization.string().optional()),
|
|
48
|
+
rxBin: core.serialization.property("rx_bin", core.serialization.string().optional()),
|
|
49
|
+
rxPcn: core.serialization.property("rx_pcn", core.serialization.string().optional()),
|
|
50
|
+
imageUrlFront: core.serialization.property("image_url_front", core.serialization.string().optional()),
|
|
51
|
+
imageUrlBack: core.serialization.property("image_url_back", core.serialization.string().optional()),
|
|
52
|
+
emrPayerCrosswalk: core.serialization.property("emr_payer_crosswalk", EmrPayerCrosswalk_1.EmrPayerCrosswalk.optional()),
|
|
53
|
+
})
|
|
54
|
+
.extend(InsuranceCardBase_1.InsuranceCardBase);
|
|
@@ -17,4 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./InsuranceCardId"), exports);
|
|
18
18
|
__exportStar(require("./InsuranceCardBase"), exports);
|
|
19
19
|
__exportStar(require("./InsuranceCardCreate"), exports);
|
|
20
|
+
__exportStar(require("./InsuranceCardCreateOptional"), exports);
|
|
20
21
|
__exportStar(require("./InsuranceCard"), exports);
|
|
@@ -17,6 +17,7 @@ export declare namespace Authorization {
|
|
|
17
17
|
authorization_number: string;
|
|
18
18
|
cpt_code: string;
|
|
19
19
|
apply_for_all_cpt_codes?: boolean | null;
|
|
20
|
+
no_prior_authorization_required?: boolean | null;
|
|
20
21
|
units: AuthorizationUnit.Raw;
|
|
21
22
|
quantity?: number | null;
|
|
22
23
|
period?: Period.Raw | null;
|