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
|
@@ -0,0 +1,44 @@
|
|
|
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.ChargeCaptureBundleErrorResolution = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../core"));
|
|
41
|
+
exports.ChargeCaptureBundleErrorResolution = core.serialization.object({
|
|
42
|
+
resolvedBy: core.serialization.property("resolved_by", core.serialization.string().optional()),
|
|
43
|
+
resolutionReason: core.serialization.property("resolution_reason", core.serialization.string().optional()),
|
|
44
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ChargeCaptureBundleErrorResolution } from "./ChargeCaptureBundleErrorResolution";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ChargeCaptureBundleErrorResolution = void 0;
|
|
4
|
+
var ChargeCaptureBundleErrorResolution_1 = require("./ChargeCaptureBundleErrorResolution");
|
|
5
|
+
Object.defineProperty(exports, "ChargeCaptureBundleErrorResolution", { enumerable: true, get: function () { return ChargeCaptureBundleErrorResolution_1.ChargeCaptureBundleErrorResolution; } });
|
|
@@ -0,0 +1,20 @@
|
|
|
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 { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
|
|
8
|
+
import { UnauthorizedErrorMessage } from "../../../../commons/types/UnauthorizedErrorMessage";
|
|
9
|
+
export declare const Error: core.serialization.Schema<serializers.chargeCaptureBundles.v1.resolveChargeCreationError.Error.Raw, CandidApi.chargeCaptureBundles.v1.resolveChargeCreationError.Error>;
|
|
10
|
+
export declare namespace Error {
|
|
11
|
+
type Raw = Error.EntityNotFoundError | Error.UnauthorizedError;
|
|
12
|
+
interface EntityNotFoundError {
|
|
13
|
+
errorName: "EntityNotFoundError";
|
|
14
|
+
content: EntityNotFoundErrorMessage.Raw;
|
|
15
|
+
}
|
|
16
|
+
interface UnauthorizedError {
|
|
17
|
+
errorName: "UnauthorizedError";
|
|
18
|
+
content: UnauthorizedErrorMessage.Raw;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
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
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
39
|
+
var t = {};
|
|
40
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
41
|
+
t[p] = s[p];
|
|
42
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
43
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
44
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
45
|
+
t[p[i]] = s[p[i]];
|
|
46
|
+
}
|
|
47
|
+
return t;
|
|
48
|
+
};
|
|
49
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
50
|
+
exports.Error = void 0;
|
|
51
|
+
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
52
|
+
const core = __importStar(require("../../../../../../core"));
|
|
53
|
+
const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
|
|
54
|
+
const UnauthorizedErrorMessage_1 = require("../../../../commons/types/UnauthorizedErrorMessage");
|
|
55
|
+
exports.Error = core.serialization
|
|
56
|
+
.union("errorName", {
|
|
57
|
+
EntityNotFoundError: core.serialization.object({
|
|
58
|
+
content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
|
|
59
|
+
}),
|
|
60
|
+
UnauthorizedError: core.serialization.object({
|
|
61
|
+
content: UnauthorizedErrorMessage_1.UnauthorizedErrorMessage,
|
|
62
|
+
}),
|
|
63
|
+
})
|
|
64
|
+
.transform({
|
|
65
|
+
transform: (value) => {
|
|
66
|
+
switch (value.errorName) {
|
|
67
|
+
case "EntityNotFoundError":
|
|
68
|
+
return CandidApi.chargeCaptureBundles.v1.resolveChargeCreationError.Error.entityNotFoundError(value.content);
|
|
69
|
+
case "UnauthorizedError":
|
|
70
|
+
return CandidApi.chargeCaptureBundles.v1.resolveChargeCreationError.Error.unauthorizedError(value.content);
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
untransform: (_a) => {
|
|
74
|
+
var { _visit } = _a, value = __rest(_a, ["_visit"]);
|
|
75
|
+
return value;
|
|
76
|
+
},
|
|
77
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
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 { ClaimFrequencyTypeCode } from "./ClaimFrequencyTypeCode";
|
|
8
|
+
import { ClaimSubmissionPayerResponsibilityType } from "../../../../commons/types/ClaimSubmissionPayerResponsibilityType";
|
|
9
|
+
import { IntendedSubmissionMedium } from "../../../../commons/types/IntendedSubmissionMedium";
|
|
10
|
+
export declare const ClaimSubmissionRecordCreateOptional: core.serialization.ObjectSchema<serializers.claimSubmission.v1.ClaimSubmissionRecordCreateOptional.Raw, CandidApi.claimSubmission.v1.ClaimSubmissionRecordCreateOptional>;
|
|
11
|
+
export declare namespace ClaimSubmissionRecordCreateOptional {
|
|
12
|
+
interface Raw {
|
|
13
|
+
submitted_at?: string | null;
|
|
14
|
+
claim_frequency_code?: ClaimFrequencyTypeCode.Raw | null;
|
|
15
|
+
payer_responsibility?: ClaimSubmissionPayerResponsibilityType.Raw | null;
|
|
16
|
+
intended_submission_medium?: IntendedSubmissionMedium.Raw | null;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
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.ClaimSubmissionRecordCreateOptional = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../core"));
|
|
41
|
+
const ClaimFrequencyTypeCode_1 = require("./ClaimFrequencyTypeCode");
|
|
42
|
+
const ClaimSubmissionPayerResponsibilityType_1 = require("../../../../commons/types/ClaimSubmissionPayerResponsibilityType");
|
|
43
|
+
const IntendedSubmissionMedium_1 = require("../../../../commons/types/IntendedSubmissionMedium");
|
|
44
|
+
exports.ClaimSubmissionRecordCreateOptional = core.serialization.object({
|
|
45
|
+
submittedAt: core.serialization.property("submitted_at", core.serialization.date().optional()),
|
|
46
|
+
claimFrequencyCode: core.serialization.property("claim_frequency_code", ClaimFrequencyTypeCode_1.ClaimFrequencyTypeCode.optional()),
|
|
47
|
+
payerResponsibility: core.serialization.property("payer_responsibility", ClaimSubmissionPayerResponsibilityType_1.ClaimSubmissionPayerResponsibilityType.optional()),
|
|
48
|
+
intendedSubmissionMedium: core.serialization.property("intended_submission_medium", IntendedSubmissionMedium_1.IntendedSubmissionMedium.optional()),
|
|
49
|
+
});
|
|
@@ -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 { ClaimSubmissionRecordCreateOptional } from "./ClaimSubmissionRecordCreateOptional";
|
|
8
|
+
export declare const ExternalClaimSubmissionCreateOptional: core.serialization.ObjectSchema<serializers.claimSubmission.v1.ExternalClaimSubmissionCreateOptional.Raw, CandidApi.claimSubmission.v1.ExternalClaimSubmissionCreateOptional>;
|
|
9
|
+
export declare namespace ExternalClaimSubmissionCreateOptional {
|
|
10
|
+
interface Raw {
|
|
11
|
+
claim_created_at?: string | null;
|
|
12
|
+
patient_control_number?: string | null;
|
|
13
|
+
submission_records: ClaimSubmissionRecordCreateOptional.Raw[];
|
|
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.ExternalClaimSubmissionCreateOptional = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../core"));
|
|
41
|
+
const ClaimSubmissionRecordCreateOptional_1 = require("./ClaimSubmissionRecordCreateOptional");
|
|
42
|
+
exports.ExternalClaimSubmissionCreateOptional = core.serialization.object({
|
|
43
|
+
claimCreatedAt: core.serialization.property("claim_created_at", core.serialization.date().optional()),
|
|
44
|
+
patientControlNumber: core.serialization.property("patient_control_number", core.serialization.string().optional()),
|
|
45
|
+
submissionRecords: core.serialization.property("submission_records", core.serialization.list(ClaimSubmissionRecordCreateOptional_1.ClaimSubmissionRecordCreateOptional)),
|
|
46
|
+
});
|
|
@@ -16,4 +16,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./ClaimFrequencyTypeCode"), exports);
|
|
18
18
|
__exportStar(require("./ExternalClaimSubmissionCreate"), exports);
|
|
19
|
+
__exportStar(require("./ExternalClaimSubmissionCreateOptional"), exports);
|
|
19
20
|
__exportStar(require("./ClaimSubmissionRecordCreate"), exports);
|
|
21
|
+
__exportStar(require("./ClaimSubmissionRecordCreateOptional"), exports);
|
|
@@ -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 { PhoneNumberType } from "./PhoneNumberType";
|
|
8
|
+
export declare const PhoneNumberOptional: core.serialization.ObjectSchema<serializers.PhoneNumberOptional.Raw, CandidApi.PhoneNumberOptional>;
|
|
9
|
+
export declare namespace PhoneNumberOptional {
|
|
10
|
+
interface Raw {
|
|
11
|
+
number?: string | null;
|
|
12
|
+
type?: PhoneNumberType.Raw | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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.PhoneNumberOptional = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const PhoneNumberType_1 = require("./PhoneNumberType");
|
|
42
|
+
exports.PhoneNumberOptional = core.serialization.object({
|
|
43
|
+
number: core.serialization.string().optional(),
|
|
44
|
+
type: PhoneNumberType_1.PhoneNumberType.optional(),
|
|
45
|
+
});
|
|
@@ -6,5 +6,5 @@ import * as CandidApi from "../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
7
|
export declare const ProcedureModifier: core.serialization.Schema<serializers.ProcedureModifier.Raw, CandidApi.ProcedureModifier>;
|
|
8
8
|
export declare namespace ProcedureModifier {
|
|
9
|
-
type Raw = "AV" | "AU" | "AW" | "22" | "23" | "24" | "25" | "26" | "27" | "32" | "33" | "47" | "50" | "51" | "52" | "53" | "54" | "55" | "56" | "57" | "58" | "59" | "62" | "63" | "66" | "74" | "76" | "77" | "78" | "79" | "80" | "81" | "82" | "90" | "91" | "92" | "93" | "95" | "96" | "97" | "99" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "A7" | "A8" | "A9" | "AA" | "AB" | "AD" | "AE" | "AF" | "AG" | "AH" | "AI" | "AJ" | "AK" | "AM" | "AO" | "AP" | "AQ" | "AR" | "AS" | "AT" | "AZ" | "BA" | "BL" | "BO" | "BP" | "BR" | "BU" | "CA" | "CB" | "CC" | "CD" | "CE" | "CF" | "CG" | "CH" | "CI" | "CJ" | "CK" | "CL" | "CM" | "CN" | "CR" | "CS" | "CT" | "CO" | "CQ" | "DA" | "E1" | "E2" | "E3" | "E4" | "EA" | "EB" | "EC" | "ED" | "EE" | "EJ" | "EM" | "EP" | "ER" | "ET" | "EX" | "EY" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "FA" | "FB" | "FC" | "FP" | "FQ" | "FR" | "FS" | "FT" | "FX" | "FY" | "G0" | "G1" | "G2" | "G3" | "G4" | "G5" | "G6" | "G7" | "G8" | "G9" | "GA" | "GB" | "GC" | "GE" | "GF" | "GG" | "GH" | "GJ" | "GK" | "GL" | "GM" | "GN" | "GO" | "GP" | "GQ" | "GR" | "GS" | "GT" | "GU" | "GV" | "GW" | "GX" | "GY" | "GZ" | "HA" | "HB" | "HC" | "HD" | "HE" | "HF" | "HG" | "HH" | "HI" | "HJ" | "HK" | "HL" | "HM" | "HN" | "HO" | "HP" | "HQ" | "HR" | "HS" | "HT" | "HU" | "HV" | "HW" | "HX" | "HY" | "HZ" | "J1" | "J2" | "J3" | "J4" | "J5" | "JA" | "JB" | "JC" | "JD" | "JE" | "JG" | "JW" | "JZ" | "K0" | "K1" | "K2" | "K3" | "K4" | "KA" | "KB" | "KC" | "KD" | "KE" | "KF" | "KG" | "KH" | "KI" | "KJ" | "KK" | "KL" | "KM" | "KN" | "KO" | "KP" | "KQ" | "KR" | "KS" | "KT" | "KU" | "KV" | "KW" | "KX" | "KY" | "KZ" | "LC" | "LD" | "LL" | "LM" | "LR" | "LS" | "LT" | "LU" | "M2" | "MA" | "MB" | "MC" | "MD" | "ME" | "MF" | "MG" | "MH" | "MS" | "N1" | "N2" | "N3" | "NB" | "NR" | "NU" | "P1" | "P2" | "P3" | "P4" | "P5" | "P6" | "PA" | "PB" | "PC" | "PD" | "PI" | "PL" | "PM" | "PN" | "PO" | "PS" | "PT" | "Q0" | "Q1" | "Q2" | "Q3" | "Q4" | "Q5" | "Q6" | "Q7" | "Q8" | "Q9" | "QA" | "QB" | "QC" | "QD" | "QE" | "QF" | "QG" | "QH" | "QJ" | "QK" | "QL" | "QM" | "QN" | "QP" | "QQ" | "QR" | "QS" | "QT" | "QW" | "QX" | "QY" | "QZ" | "RA" | "RB" | "RC" | "RD" | "RE" | "RI" | "RR" | "RT" | "SA" | "SB" | "SC" | "SD" | "SE" | "SF" | "SG" | "SH" | "SJ" | "SL" | "SM" | "SN" | "SQ" | "SS" | "ST" | "SU" | "SV" | "SW" | "SY" | "T1" | "T2" | "T3" | "T4" | "T5" | "T6" | "T7" | "T8" | "T9" | "TA" | "TB" | "TC" | "TD" | "TE" | "TF" | "TG" | "TH" | "TJ" | "TK" | "TL" | "TM" | "TN" | "TP" | "TQ" | "TR" | "TS" | "TT" | "TU" | "TV" | "TW" | "U1" | "U2" | "U3" | "U4" | "U5" | "U6" | "U7" | "U8" | "U9" | "UA" | "UB" | "UC" | "UD" | "UE" | "UF" | "UG" | "UH" | "UJ" | "UK" | "UN" | "UP" | "UQ" | "UR" | "US" | "V1" | "V2" | "V3" | "W1" | "W2" | "W3" | "XE" | "XP" | "XS" | "XU";
|
|
9
|
+
type Raw = "AV" | "AU" | "AW" | "22" | "23" | "24" | "25" | "26" | "27" | "32" | "33" | "47" | "50" | "51" | "52" | "53" | "54" | "55" | "56" | "57" | "58" | "59" | "62" | "63" | "66" | "74" | "76" | "77" | "78" | "79" | "80" | "81" | "82" | "90" | "91" | "92" | "93" | "95" | "96" | "97" | "99" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "A7" | "A8" | "A9" | "AA" | "AB" | "AD" | "AE" | "AF" | "AG" | "AH" | "AI" | "AJ" | "AK" | "AM" | "AO" | "AP" | "AQ" | "AR" | "AS" | "AT" | "AZ" | "BA" | "BL" | "BO" | "BP" | "BR" | "BU" | "CA" | "CB" | "CC" | "CD" | "CE" | "CF" | "CG" | "CH" | "CI" | "CJ" | "CK" | "CL" | "CM" | "CN" | "CR" | "CS" | "CT" | "CO" | "CQ" | "DA" | "E1" | "E2" | "E3" | "E4" | "EA" | "EB" | "EC" | "ED" | "EE" | "EJ" | "EM" | "EP" | "ER" | "ET" | "EX" | "EY" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "FA" | "FB" | "FC" | "FP" | "FQ" | "FR" | "FS" | "FT" | "FX" | "FY" | "G0" | "G1" | "G2" | "G3" | "G4" | "G5" | "G6" | "G7" | "G8" | "G9" | "GA" | "GB" | "GC" | "GE" | "GF" | "GG" | "GH" | "GJ" | "GK" | "GL" | "GM" | "GN" | "GO" | "GP" | "GQ" | "GR" | "GS" | "GT" | "GU" | "GV" | "GW" | "GX" | "GY" | "GZ" | "HA" | "HB" | "HC" | "HD" | "HE" | "HF" | "HG" | "HH" | "HI" | "HJ" | "HK" | "HL" | "HM" | "HN" | "HO" | "HP" | "HQ" | "HR" | "HS" | "HT" | "HU" | "HV" | "HW" | "HX" | "HY" | "HZ" | "J1" | "J2" | "J3" | "J4" | "J5" | "JA" | "JB" | "JC" | "JD" | "JE" | "JG" | "JW" | "JZ" | "K0" | "K1" | "K2" | "K3" | "K4" | "KA" | "KB" | "KC" | "KD" | "KE" | "KF" | "KG" | "KH" | "KI" | "KJ" | "KK" | "KL" | "KM" | "KN" | "KO" | "KP" | "KQ" | "KR" | "KS" | "KT" | "KU" | "KV" | "KW" | "KX" | "KY" | "KZ" | "LC" | "LD" | "LL" | "LM" | "LR" | "LS" | "LT" | "LU" | "M2" | "MA" | "MB" | "MC" | "MD" | "ME" | "MF" | "MG" | "MH" | "MS" | "N1" | "N2" | "N3" | "NB" | "NR" | "NU" | "P1" | "P2" | "P3" | "P4" | "P5" | "P6" | "PA" | "PB" | "PC" | "PD" | "PI" | "PL" | "PM" | "PN" | "PO" | "PS" | "PT" | "Q0" | "Q1" | "Q2" | "Q3" | "Q4" | "Q5" | "Q6" | "Q7" | "Q8" | "Q9" | "QA" | "QB" | "QC" | "QD" | "QE" | "QF" | "QG" | "QH" | "QJ" | "QK" | "QL" | "QM" | "QN" | "QP" | "QQ" | "QR" | "QS" | "QT" | "QW" | "QX" | "QY" | "QZ" | "RA" | "RB" | "RC" | "RD" | "RE" | "RI" | "RR" | "RT" | "SA" | "SB" | "SC" | "SD" | "SE" | "SF" | "SG" | "SH" | "SJ" | "SL" | "SM" | "SN" | "SQ" | "SS" | "ST" | "SU" | "SV" | "SW" | "SY" | "T1" | "T2" | "T3" | "T4" | "T5" | "T6" | "T7" | "T8" | "T9" | "TA" | "TB" | "TC" | "TD" | "TE" | "TF" | "TG" | "TH" | "TJ" | "TK" | "TL" | "TM" | "TN" | "TP" | "TQ" | "TR" | "TS" | "TT" | "TU" | "TV" | "TW" | "U1" | "U2" | "U3" | "U4" | "U5" | "U6" | "U7" | "U8" | "U9" | "UA" | "UB" | "UC" | "UD" | "UE" | "UF" | "UG" | "UH" | "UJ" | "UK" | "UN" | "UP" | "UQ" | "UR" | "US" | "V1" | "V2" | "V3" | "W1" | "W2" | "W3" | "X4" | "XE" | "XP" | "XS" | "XU" | "XY";
|
|
10
10
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
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 { StreetAddressOptionalBase } from "./StreetAddressOptionalBase";
|
|
8
|
+
export declare const StreetAddressLongZipOptional: core.serialization.ObjectSchema<serializers.StreetAddressLongZipOptional.Raw, CandidApi.StreetAddressLongZipOptional>;
|
|
9
|
+
export declare namespace StreetAddressLongZipOptional {
|
|
10
|
+
interface Raw extends StreetAddressOptionalBase.Raw {
|
|
11
|
+
zip_plus_four_code?: string | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -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.StreetAddressLongZipOptional = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const StreetAddressOptionalBase_1 = require("./StreetAddressOptionalBase");
|
|
42
|
+
exports.StreetAddressLongZipOptional = core.serialization
|
|
43
|
+
.object({
|
|
44
|
+
zipPlusFourCode: core.serialization.property("zip_plus_four_code", core.serialization.string().optional()),
|
|
45
|
+
})
|
|
46
|
+
.extend(StreetAddressOptionalBase_1.StreetAddressOptionalBase);
|
|
@@ -40,6 +40,7 @@ export * from "./StreetAddressOptionalBase";
|
|
|
40
40
|
export * from "./StreetAddressShortZipOptional";
|
|
41
41
|
export * from "./StreetAddressShortZip";
|
|
42
42
|
export * from "./StreetAddressLongZip";
|
|
43
|
+
export * from "./StreetAddressLongZipOptional";
|
|
43
44
|
export * from "./Regions";
|
|
44
45
|
export * from "./RegionStates";
|
|
45
46
|
export * from "./RegionNational";
|
|
@@ -64,6 +65,7 @@ export * from "./RequestValidationError";
|
|
|
64
65
|
export * from "./UpdatesDisabledDueToExternalSystemIntegrationErrorMessage";
|
|
65
66
|
export * from "./OrganizationNotAuthorizedErrorMessage";
|
|
66
67
|
export * from "./PhoneNumber";
|
|
68
|
+
export * from "./PhoneNumberOptional";
|
|
67
69
|
export * from "./PhoneNumberType";
|
|
68
70
|
export * from "./Email";
|
|
69
71
|
export * from "./DelayReasonCode";
|
|
@@ -56,6 +56,7 @@ __exportStar(require("./StreetAddressOptionalBase"), exports);
|
|
|
56
56
|
__exportStar(require("./StreetAddressShortZipOptional"), exports);
|
|
57
57
|
__exportStar(require("./StreetAddressShortZip"), exports);
|
|
58
58
|
__exportStar(require("./StreetAddressLongZip"), exports);
|
|
59
|
+
__exportStar(require("./StreetAddressLongZipOptional"), exports);
|
|
59
60
|
__exportStar(require("./Regions"), exports);
|
|
60
61
|
__exportStar(require("./RegionStates"), exports);
|
|
61
62
|
__exportStar(require("./RegionNational"), exports);
|
|
@@ -80,6 +81,7 @@ __exportStar(require("./RequestValidationError"), exports);
|
|
|
80
81
|
__exportStar(require("./UpdatesDisabledDueToExternalSystemIntegrationErrorMessage"), exports);
|
|
81
82
|
__exportStar(require("./OrganizationNotAuthorizedErrorMessage"), exports);
|
|
82
83
|
__exportStar(require("./PhoneNumber"), exports);
|
|
84
|
+
__exportStar(require("./PhoneNumberOptional"), exports);
|
|
83
85
|
__exportStar(require("./PhoneNumberType"), exports);
|
|
84
86
|
__exportStar(require("./Email"), exports);
|
|
85
87
|
__exportStar(require("./DelayReasonCode"), exports);
|
|
@@ -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 { SchemaId } from "../../../../commons/types/SchemaId";
|
|
8
|
+
export declare const SchemaInstanceOptional: core.serialization.ObjectSchema<serializers.customSchemas.v1.SchemaInstanceOptional.Raw, CandidApi.customSchemas.v1.SchemaInstanceOptional>;
|
|
9
|
+
export declare namespace SchemaInstanceOptional {
|
|
10
|
+
interface Raw {
|
|
11
|
+
schema_id?: SchemaId.Raw | null;
|
|
12
|
+
content?: Record<string, unknown> | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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.SchemaInstanceOptional = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../core"));
|
|
41
|
+
const SchemaId_1 = require("../../../../commons/types/SchemaId");
|
|
42
|
+
exports.SchemaInstanceOptional = core.serialization.object({
|
|
43
|
+
schemaId: core.serialization.property("schema_id", SchemaId_1.SchemaId.optional()),
|
|
44
|
+
content: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
45
|
+
});
|
|
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./Schema"), exports);
|
|
18
18
|
__exportStar(require("./SchemaInstance"), exports);
|
|
19
|
+
__exportStar(require("./SchemaInstanceOptional"), exports);
|
|
19
20
|
__exportStar(require("./SchemaField"), exports);
|
|
20
21
|
__exportStar(require("./SchemaGetMultiResponse"), exports);
|
|
21
22
|
__exportStar(require("./SchemaWithNameAlreadyExistsError"), exports);
|
|
@@ -5,11 +5,13 @@ import * as serializers from "../../../../index";
|
|
|
5
5
|
import * as CandidApi from "../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../core";
|
|
7
7
|
import { DiagnosisTypeCode } from "../../types/DiagnosisTypeCode";
|
|
8
|
+
import { YesNoIndicator } from "../../../yesNoIndicator/types/YesNoIndicator";
|
|
8
9
|
export declare const DiagnosisUpdate: core.serialization.Schema<serializers.DiagnosisUpdate.Raw, CandidApi.DiagnosisUpdate>;
|
|
9
10
|
export declare namespace DiagnosisUpdate {
|
|
10
11
|
interface Raw {
|
|
11
12
|
name?: string | null;
|
|
12
13
|
code_type?: DiagnosisTypeCode.Raw | null;
|
|
13
14
|
code?: string | null;
|
|
15
|
+
present_on_admission_indicator?: YesNoIndicator.Raw | null;
|
|
14
16
|
}
|
|
15
17
|
}
|
|
@@ -39,8 +39,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.DiagnosisUpdate = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../../core"));
|
|
41
41
|
const DiagnosisTypeCode_1 = require("../../types/DiagnosisTypeCode");
|
|
42
|
+
const YesNoIndicator_1 = require("../../../yesNoIndicator/types/YesNoIndicator");
|
|
42
43
|
exports.DiagnosisUpdate = core.serialization.object({
|
|
43
44
|
name: core.serialization.string().optional(),
|
|
44
45
|
codeType: core.serialization.property("code_type", DiagnosisTypeCode_1.DiagnosisTypeCode.optional()),
|
|
45
46
|
code: core.serialization.string().optional(),
|
|
47
|
+
presentOnAdmissionIndicator: core.serialization.property("present_on_admission_indicator", YesNoIndicator_1.YesNoIndicator.optional()),
|
|
46
48
|
});
|