candidhealth 0.35.1 → 0.35.3
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/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/credentialing/resources/v2/client/Client.d.ts +1 -0
- package/api/resources/credentialing/resources/v2/client/Client.js +11 -6
- package/api/resources/credentialing/resources/v2/client/getAll.d.ts +7 -1
- package/api/resources/credentialing/resources/v2/client/getAll.js +11 -0
- package/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +7 -2
- package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/api/resources/diagnoses/client/Client.js +3 -3
- package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/api/resources/encounters/resources/v4/client/Client.js +5 -5
- 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/importInvoice/resources/v1/client/Client.js +4 -4
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- 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/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/preEncounter/client/Client.d.ts +6 -0
- package/api/resources/preEncounter/client/Client.js +12 -2
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/create.d.ts +3 -3
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.d.ts +3 -3
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/get.d.ts +3 -3
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.d.ts +3 -3
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/update.d.ts +3 -3
- package/api/resources/preEncounter/resources/appointments/resources/v1/types/Appointment.d.ts +1 -10
- package/api/resources/preEncounter/resources/common/types/BaseModel.d.ts +15 -0
- package/api/resources/preEncounter/resources/common/types/{ErrorBase.d.ts → ErrorBase4Xx.d.ts} +2 -1
- package/api/resources/preEncounter/resources/common/types/NoteId.d.ts +11 -0
- package/api/resources/preEncounter/resources/common/types/NoteId.js +10 -0
- package/api/resources/preEncounter/resources/common/types/TagId.d.ts +11 -0
- package/api/resources/preEncounter/resources/common/types/TagId.js +10 -0
- package/api/resources/preEncounter/resources/common/types/VersionConflictErrorBody.d.ts +2 -3
- package/api/resources/preEncounter/resources/common/types/index.d.ts +4 -2
- package/api/resources/preEncounter/resources/common/types/index.js +4 -2
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.d.ts +3 -3
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/update.d.ts +3 -3
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/Coverage.d.ts +1 -10
- package/api/resources/preEncounter/resources/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/index.js +3 -1
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/lists/resources/v1/client/getPatientList.d.ts +3 -3
- package/api/resources/preEncounter/resources/lists/resources/v1/types/FilterQueryString.d.ts +1 -1
- package/api/resources/preEncounter/resources/notes/client/Client.d.ts +26 -0
- package/api/resources/preEncounter/resources/notes/client/Client.js +17 -0
- package/api/resources/preEncounter/resources/notes/client/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/notes/client/index.js +2 -0
- package/api/resources/preEncounter/resources/notes/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/notes/index.js +18 -0
- package/api/resources/preEncounter/resources/notes/resources/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/notes/resources/index.js +27 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.d.ts +76 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +261 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/client/create.d.ts +22 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/client/create.js +47 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/client/deactivate.d.ts +22 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/client/deactivate.js +47 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/client/get.d.ts +22 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/client/get.js +47 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/client/index.d.ts +4 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/client/index.js +30 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/client/update.d.ts +22 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/client/update.js +47 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/index.js +18 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/types/MutableNote.d.ts +11 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/types/Note.d.ts +11 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/types/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/notes/resources/v1/types/index.js +18 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +10 -4
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +20 -16
- package/api/resources/preEncounter/resources/patients/resources/v1/client/create.d.ts +1 -7
- package/api/resources/preEncounter/resources/patients/resources/v1/client/create.js +0 -11
- package/api/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.d.ts +6 -12
- package/api/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.js +4 -15
- package/api/resources/preEncounter/resources/patients/resources/v1/client/deactivate.d.ts +3 -3
- package/api/resources/preEncounter/resources/patients/resources/v1/client/get.d.ts +3 -3
- package/api/resources/preEncounter/resources/patients/resources/v1/client/getHistory.d.ts +3 -3
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +3 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +3 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/client/update.d.ts +3 -3
- package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/Patient.d.ts +1 -10
- package/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +0 -3
- package/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +0 -3
- package/api/resources/preEncounter/resources/tags/client/Client.d.ts +26 -0
- package/api/resources/preEncounter/resources/tags/client/Client.js +17 -0
- package/api/resources/preEncounter/resources/tags/client/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/tags/client/index.js +2 -0
- package/api/resources/preEncounter/resources/tags/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/tags/index.js +18 -0
- package/api/resources/preEncounter/resources/tags/resources/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/tags/resources/index.js +27 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.d.ts +85 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +312 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/create.d.ts +22 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/create.js +47 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/deactivate.d.ts +22 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/deactivate.js +47 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/get.d.ts +22 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/get.js +47 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/getAll.d.ts +22 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/getAll.js +47 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/index.d.ts +6 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/index.js +35 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/requests/GetAllTagsRequest.d.ts +15 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/requests/index.js +2 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/update.d.ts +22 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/update.js +47 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/index.js +18 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.d.ts +9 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/types/Tag.d.ts +10 -0
- package/api/resources/preEncounter/resources/{patients/resources/v1/types/InvalidMrnErrorBody.d.ts → tags/resources/v1/types/TagPage.d.ts} +2 -2
- package/api/resources/preEncounter/resources/tags/resources/v1/types/index.d.ts +3 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/types/index.js +19 -0
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/api/resources/x12/resources/v1/types/Rarc.d.ts +2 -1
- package/api/resources/x12/resources/v1/types/Rarc.js +1 -0
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/credentialing/resources/v2/client/Client.d.ts +1 -0
- package/dist/api/resources/credentialing/resources/v2/client/Client.js +11 -6
- package/dist/api/resources/credentialing/resources/v2/client/getAll.d.ts +7 -1
- package/dist/api/resources/credentialing/resources/v2/client/getAll.js +11 -0
- package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +7 -2
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/diagnoses/client/Client.js +3 -3
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/dist/api/resources/encounters/resources/v4/client/Client.js +5 -5
- 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/importInvoice/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- 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/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/client/Client.d.ts +6 -0
- package/dist/api/resources/preEncounter/client/Client.js +12 -2
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/create.d.ts +3 -3
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.d.ts +3 -3
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/get.d.ts +3 -3
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.d.ts +3 -3
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/update.d.ts +3 -3
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/Appointment.d.ts +1 -10
- package/dist/api/resources/preEncounter/resources/common/types/BaseModel.d.ts +15 -0
- package/dist/api/resources/preEncounter/resources/common/types/{ErrorBase.d.ts → ErrorBase4Xx.d.ts} +2 -1
- package/dist/api/resources/preEncounter/resources/common/types/NoteId.d.ts +11 -0
- package/dist/api/resources/preEncounter/resources/common/types/NoteId.js +10 -0
- package/dist/api/resources/preEncounter/resources/common/types/TagId.d.ts +11 -0
- package/dist/api/resources/preEncounter/resources/common/types/TagId.js +10 -0
- package/dist/api/resources/preEncounter/resources/common/types/VersionConflictErrorBody.d.ts +2 -3
- package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +4 -2
- package/dist/api/resources/preEncounter/resources/common/types/index.js +4 -2
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.d.ts +3 -3
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/update.d.ts +3 -3
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/Coverage.d.ts +1 -10
- package/dist/api/resources/preEncounter/resources/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/index.js +3 -1
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/getPatientList.d.ts +3 -3
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/FilterQueryString.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/notes/client/Client.d.ts +26 -0
- package/dist/api/resources/preEncounter/resources/notes/client/Client.js +17 -0
- package/dist/api/resources/preEncounter/resources/notes/client/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/notes/client/index.js +2 -0
- package/dist/api/resources/preEncounter/resources/notes/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/notes/index.js +18 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/index.js +27 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.d.ts +76 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +261 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/create.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/create.js +47 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/deactivate.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/deactivate.js +47 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/get.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/get.js +47 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/index.d.ts +4 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/index.js +30 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/update.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/update.js +47 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/index.js +18 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/types/MutableNote.d.ts +11 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/types/MutableNote.js +5 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/types/Note.d.ts +11 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/types/Note.js +5 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/types/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/types/index.js +18 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +10 -4
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +20 -16
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/create.d.ts +1 -7
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/create.js +0 -11
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.d.ts +6 -12
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.js +4 -15
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/deactivate.d.ts +3 -3
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/get.d.ts +3 -3
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/getHistory.d.ts +3 -3
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +3 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +3 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/update.d.ts +3 -3
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Patient.d.ts +1 -10
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +0 -3
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +0 -3
- package/dist/api/resources/preEncounter/resources/tags/client/Client.d.ts +26 -0
- package/dist/api/resources/preEncounter/resources/tags/client/Client.js +17 -0
- package/dist/api/resources/preEncounter/resources/tags/client/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/tags/client/index.js +2 -0
- package/dist/api/resources/preEncounter/resources/tags/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/tags/index.js +18 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/index.js +27 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.d.ts +85 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +312 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/create.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/create.js +47 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/deactivate.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/deactivate.js +47 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/get.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/get.js +47 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/getAll.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/getAll.js +47 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/index.d.ts +6 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/index.js +35 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/requests/GetAllTagsRequest.d.ts +15 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/requests/GetAllTagsRequest.js +5 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/requests/index.js +2 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/update.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/update.js +47 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/index.js +18 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.d.ts +9 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.js +5 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/types/Tag.d.ts +10 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/types/Tag.js +5 -0
- package/dist/api/resources/preEncounter/resources/{patients/resources/v1/types/InvalidMrnErrorBody.d.ts → tags/resources/v1/types/TagPage.d.ts} +2 -2
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/types/TagPage.js +5 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/types/index.d.ts +3 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/types/index.js +19 -0
- 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/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/x12/resources/v1/types/Rarc.d.ts +2 -1
- package/dist/api/resources/x12/resources/v1/types/Rarc.js +1 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/getAll.d.ts +6 -1
- package/dist/serialization/resources/credentialing/resources/v2/client/getAll.js +6 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/create.d.ts +2 -2
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/create.js +2 -2
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.d.ts +2 -2
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.js +2 -2
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/get.d.ts +2 -2
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/get.js +2 -2
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.d.ts +2 -2
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.js +2 -2
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/update.d.ts +2 -2
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/update.js +2 -2
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Appointment.d.ts +2 -8
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Appointment.js +2 -7
- package/dist/serialization/resources/preEncounter/resources/common/types/BaseModel.d.ts +18 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/BaseModel.js +39 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/{ErrorBase.d.ts → ErrorBase4Xx.d.ts} +3 -2
- package/dist/serialization/resources/preEncounter/resources/common/types/{ErrorBase.js → ErrorBase4Xx.js} +3 -2
- package/dist/serialization/resources/preEncounter/resources/common/types/NoteId.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/NoteId.js +35 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/TagId.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/{NotFoundErrorBody.js → TagId.js} +6 -7
- package/dist/serialization/resources/preEncounter/resources/common/types/VersionConflictErrorBody.d.ts +3 -4
- package/dist/serialization/resources/preEncounter/resources/common/types/VersionConflictErrorBody.js +3 -4
- package/dist/serialization/resources/preEncounter/resources/common/types/index.d.ts +4 -2
- package/dist/serialization/resources/preEncounter/resources/common/types/index.js +4 -2
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.d.ts +2 -2
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.js +2 -2
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/update.d.ts +2 -2
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/update.js +2 -2
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Coverage.d.ts +2 -8
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Coverage.js +2 -7
- package/dist/serialization/resources/preEncounter/resources/index.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/index.js +3 -1
- package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/client/getPatientList.d.ts +2 -2
- package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/client/getPatientList.js +2 -2
- package/dist/serialization/resources/preEncounter/resources/notes/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/notes/index.js +17 -0
- package/dist/serialization/resources/preEncounter/resources/notes/resources/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/notes/resources/index.js +27 -0
- package/dist/serialization/resources/preEncounter/resources/notes/resources/v1/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/notes/resources/v1/index.js +17 -0
- package/dist/serialization/resources/preEncounter/resources/notes/resources/v1/types/MutableNote.d.ts +14 -0
- package/{serialization/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatient.js → dist/serialization/resources/preEncounter/resources/notes/resources/v1/types/MutableNote.js} +5 -5
- package/dist/serialization/resources/preEncounter/resources/notes/resources/v1/types/Note.d.ts +16 -0
- package/dist/serialization/resources/preEncounter/resources/notes/resources/v1/types/Note.js +40 -0
- package/dist/serialization/resources/preEncounter/resources/notes/resources/v1/types/index.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/notes/resources/v1/types/index.js +18 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/create.d.ts +1 -6
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/create.js +0 -6
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.d.ts +5 -10
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.js +5 -11
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/deactivate.d.ts +2 -2
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/deactivate.js +2 -2
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/get.d.ts +2 -2
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/get.js +2 -2
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/getHistory.d.ts +2 -2
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/getHistory.js +2 -2
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/update.d.ts +2 -2
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/update.js +2 -2
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +4 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +4 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Patient.d.ts +2 -8
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Patient.js +2 -7
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +0 -3
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +0 -3
- package/dist/serialization/resources/preEncounter/resources/tags/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/tags/index.js +17 -0
- package/dist/serialization/resources/preEncounter/resources/tags/resources/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/tags/resources/index.js +27 -0
- package/dist/serialization/resources/preEncounter/resources/tags/resources/v1/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/tags/resources/v1/index.js +17 -0
- package/dist/serialization/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.d.ts +12 -0
- package/dist/serialization/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.js +33 -0
- package/dist/serialization/resources/preEncounter/resources/tags/resources/v1/types/Tag.d.ts +15 -0
- package/dist/serialization/resources/preEncounter/resources/tags/resources/v1/types/Tag.js +39 -0
- package/dist/serialization/resources/preEncounter/resources/tags/resources/v1/types/TagPage.d.ts +14 -0
- package/dist/serialization/resources/preEncounter/resources/{patients/resources/v1/types/InvalidMrnErrorBody.js → tags/resources/v1/types/TagPage.js} +6 -5
- package/dist/serialization/resources/preEncounter/resources/tags/resources/v1/types/index.d.ts +3 -0
- package/dist/serialization/resources/preEncounter/resources/tags/resources/v1/types/index.js +19 -0
- package/dist/serialization/resources/x12/resources/v1/types/Rarc.d.ts +1 -1
- package/dist/serialization/resources/x12/resources/v1/types/Rarc.js +1 -0
- package/package.json +1 -1
- package/reference.md +1227 -586
- package/serialization/resources/credentialing/resources/v2/client/getAll.d.ts +6 -1
- package/serialization/resources/credentialing/resources/v2/client/getAll.js +6 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/create.d.ts +2 -2
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/create.js +2 -2
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.d.ts +2 -2
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.js +2 -2
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/get.d.ts +2 -2
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/get.js +2 -2
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.d.ts +2 -2
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.js +2 -2
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/update.d.ts +2 -2
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/update.js +2 -2
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Appointment.d.ts +2 -8
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Appointment.js +2 -7
- package/serialization/resources/preEncounter/resources/common/types/BaseModel.d.ts +18 -0
- package/serialization/resources/preEncounter/resources/common/types/BaseModel.js +39 -0
- package/serialization/resources/preEncounter/resources/common/types/{ErrorBase.d.ts → ErrorBase4Xx.d.ts} +3 -2
- package/serialization/resources/preEncounter/resources/common/types/{ErrorBase.js → ErrorBase4Xx.js} +3 -2
- package/serialization/resources/preEncounter/resources/common/types/NoteId.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/common/types/NoteId.js +35 -0
- package/serialization/resources/preEncounter/resources/common/types/TagId.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/common/types/{NotFoundErrorBody.js → TagId.js} +6 -7
- package/serialization/resources/preEncounter/resources/common/types/VersionConflictErrorBody.d.ts +3 -4
- package/serialization/resources/preEncounter/resources/common/types/VersionConflictErrorBody.js +3 -4
- package/serialization/resources/preEncounter/resources/common/types/index.d.ts +4 -2
- package/serialization/resources/preEncounter/resources/common/types/index.js +4 -2
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.d.ts +2 -2
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.js +2 -2
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/update.d.ts +2 -2
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/update.js +2 -2
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Coverage.d.ts +2 -8
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Coverage.js +2 -7
- package/serialization/resources/preEncounter/resources/index.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/index.js +3 -1
- package/serialization/resources/preEncounter/resources/lists/resources/v1/client/getPatientList.d.ts +2 -2
- package/serialization/resources/preEncounter/resources/lists/resources/v1/client/getPatientList.js +2 -2
- package/serialization/resources/preEncounter/resources/notes/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/notes/index.js +17 -0
- package/serialization/resources/preEncounter/resources/notes/resources/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/notes/resources/index.js +27 -0
- package/serialization/resources/preEncounter/resources/notes/resources/v1/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/notes/resources/v1/index.js +17 -0
- package/serialization/resources/preEncounter/resources/notes/resources/v1/types/MutableNote.d.ts +14 -0
- package/{dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatient.js → serialization/resources/preEncounter/resources/notes/resources/v1/types/MutableNote.js} +5 -5
- package/serialization/resources/preEncounter/resources/notes/resources/v1/types/Note.d.ts +16 -0
- package/serialization/resources/preEncounter/resources/notes/resources/v1/types/Note.js +40 -0
- package/serialization/resources/preEncounter/resources/notes/resources/v1/types/index.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/notes/resources/v1/types/index.js +18 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/create.d.ts +1 -6
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/create.js +0 -6
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.d.ts +5 -10
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.js +5 -11
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/deactivate.d.ts +2 -2
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/deactivate.js +2 -2
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/get.d.ts +2 -2
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/get.js +2 -2
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/getHistory.d.ts +2 -2
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/getHistory.js +2 -2
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/update.d.ts +2 -2
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/update.js +2 -2
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +4 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +4 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Patient.d.ts +2 -8
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Patient.js +2 -7
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +0 -3
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +0 -3
- package/serialization/resources/preEncounter/resources/tags/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/tags/index.js +17 -0
- package/serialization/resources/preEncounter/resources/tags/resources/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/tags/resources/index.js +27 -0
- package/serialization/resources/preEncounter/resources/tags/resources/v1/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/tags/resources/v1/index.js +17 -0
- package/serialization/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.d.ts +12 -0
- package/serialization/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.js +33 -0
- package/serialization/resources/preEncounter/resources/tags/resources/v1/types/Tag.d.ts +15 -0
- package/serialization/resources/preEncounter/resources/tags/resources/v1/types/Tag.js +39 -0
- package/serialization/resources/preEncounter/resources/tags/resources/v1/types/TagPage.d.ts +14 -0
- package/serialization/resources/preEncounter/resources/{patients/resources/v1/types/InvalidMrnErrorBody.js → tags/resources/v1/types/TagPage.js} +6 -5
- package/serialization/resources/preEncounter/resources/tags/resources/v1/types/index.d.ts +3 -0
- package/serialization/resources/preEncounter/resources/tags/resources/v1/types/index.js +19 -0
- package/serialization/resources/x12/resources/v1/types/Rarc.d.ts +1 -1
- package/serialization/resources/x12/resources/v1/types/Rarc.js +1 -0
- package/api/resources/preEncounter/resources/common/types/NotFoundErrorBody.d.ts +0 -7
- package/api/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatient.d.ts +0 -8
- package/api/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatientsErrorBody.d.ts +0 -8
- package/dist/api/resources/preEncounter/resources/common/types/NotFoundErrorBody.d.ts +0 -7
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatient.d.ts +0 -8
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatientsErrorBody.d.ts +0 -8
- package/dist/serialization/resources/preEncounter/resources/common/types/NotFoundErrorBody.d.ts +0 -13
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.d.ts +0 -13
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatient.d.ts +0 -14
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatientsErrorBody.d.ts +0 -15
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatientsErrorBody.js +0 -38
- package/serialization/resources/preEncounter/resources/common/types/NotFoundErrorBody.d.ts +0 -13
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.d.ts +0 -13
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatient.d.ts +0 -14
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatientsErrorBody.d.ts +0 -15
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatientsErrorBody.js +0 -38
- /package/api/resources/preEncounter/resources/common/types/{ErrorBase.js → BaseModel.js} +0 -0
- /package/api/resources/preEncounter/resources/common/types/{NotFoundErrorBody.js → ErrorBase4Xx.js} +0 -0
- /package/api/resources/preEncounter/resources/{patients/resources/v1/types/InvalidMrnErrorBody.js → notes/resources/v1/types/MutableNote.js} +0 -0
- /package/api/resources/preEncounter/resources/{patients/resources/v1/types/PotentialDuplicatePatient.js → notes/resources/v1/types/Note.js} +0 -0
- /package/api/resources/preEncounter/resources/{patients/resources/v1/types/PotentialDuplicatePatientsErrorBody.js → tags/resources/v1/client/requests/GetAllTagsRequest.js} +0 -0
- /package/{dist/api/resources/preEncounter/resources/common/types/ErrorBase.js → api/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.js} +0 -0
- /package/{dist/api/resources/preEncounter/resources/common/types/NotFoundErrorBody.js → api/resources/preEncounter/resources/tags/resources/v1/types/Tag.js} +0 -0
- /package/{dist/api/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.js → api/resources/preEncounter/resources/tags/resources/v1/types/TagPage.js} +0 -0
- /package/dist/api/resources/preEncounter/resources/{patients/resources/v1/types/PotentialDuplicatePatient.js → common/types/BaseModel.js} +0 -0
- /package/dist/api/resources/preEncounter/resources/{patients/resources/v1/types/PotentialDuplicatePatientsErrorBody.js → common/types/ErrorBase4Xx.js} +0 -0
|
@@ -5,11 +5,16 @@ import * as serializers from "../../../../../index";
|
|
|
5
5
|
import * as CandidApi from "../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
7
|
import { UnauthorizedErrorMessage } from "../../../../commons/types/UnauthorizedErrorMessage";
|
|
8
|
+
import { UnprocessableEntityErrorMessage } from "../../../../commons/types/UnprocessableEntityErrorMessage";
|
|
8
9
|
export declare const Error: core.serialization.Schema<serializers.credentialing.v2.getAll.Error.Raw, CandidApi.credentialing.v2.getAll.Error>;
|
|
9
10
|
export declare namespace Error {
|
|
10
|
-
type Raw = Error.UnauthorizedError;
|
|
11
|
+
type Raw = Error.UnauthorizedError | Error.UnprocessableEntityError;
|
|
11
12
|
interface UnauthorizedError {
|
|
12
13
|
errorName: "UnauthorizedError";
|
|
13
14
|
content: UnauthorizedErrorMessage.Raw;
|
|
14
15
|
}
|
|
16
|
+
interface UnprocessableEntityError {
|
|
17
|
+
errorName: "UnprocessableEntityError";
|
|
18
|
+
content: UnprocessableEntityErrorMessage.Raw;
|
|
19
|
+
}
|
|
15
20
|
}
|
|
@@ -41,17 +41,23 @@ exports.Error = void 0;
|
|
|
41
41
|
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
42
42
|
const core = __importStar(require("../../../../../../core"));
|
|
43
43
|
const UnauthorizedErrorMessage_1 = require("../../../../commons/types/UnauthorizedErrorMessage");
|
|
44
|
+
const UnprocessableEntityErrorMessage_1 = require("../../../../commons/types/UnprocessableEntityErrorMessage");
|
|
44
45
|
exports.Error = core.serialization
|
|
45
46
|
.union("errorName", {
|
|
46
47
|
UnauthorizedError: core.serialization.object({
|
|
47
48
|
content: UnauthorizedErrorMessage_1.UnauthorizedErrorMessage,
|
|
48
49
|
}),
|
|
50
|
+
UnprocessableEntityError: core.serialization.object({
|
|
51
|
+
content: UnprocessableEntityErrorMessage_1.UnprocessableEntityErrorMessage,
|
|
52
|
+
}),
|
|
49
53
|
})
|
|
50
54
|
.transform({
|
|
51
55
|
transform: (value) => {
|
|
52
56
|
switch (value.errorName) {
|
|
53
57
|
case "UnauthorizedError":
|
|
54
58
|
return CandidApi.credentialing.v2.getAll.Error.unauthorizedError(value.content);
|
|
59
|
+
case "UnprocessableEntityError":
|
|
60
|
+
return CandidApi.credentialing.v2.getAll.Error.unprocessableEntityError(value.content);
|
|
55
61
|
}
|
|
56
62
|
},
|
|
57
63
|
untransform: (_a) => {
|
package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/create.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import * as serializers from "../../../../../../../index";
|
|
|
5
5
|
import * as CandidApi from "../../../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../../../core";
|
|
7
7
|
import { VersionConflictErrorBody } from "../../../../common/types/VersionConflictErrorBody";
|
|
8
|
-
import {
|
|
8
|
+
import { ErrorBase4Xx } from "../../../../common/types/ErrorBase4Xx";
|
|
9
9
|
export declare const Error: core.serialization.Schema<serializers.preEncounter.appointments.v1.create.Error.Raw, CandidApi.preEncounter.appointments.v1.create.Error>;
|
|
10
10
|
export declare namespace Error {
|
|
11
11
|
type Raw = Error.VersionConflictError | Error.NotFoundError;
|
|
@@ -15,6 +15,6 @@ export declare namespace Error {
|
|
|
15
15
|
}
|
|
16
16
|
interface NotFoundError {
|
|
17
17
|
errorName: "NotFoundError";
|
|
18
|
-
content:
|
|
18
|
+
content: ErrorBase4Xx.Raw;
|
|
19
19
|
}
|
|
20
20
|
}
|
package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/create.js
CHANGED
|
@@ -41,14 +41,14 @@ exports.Error = void 0;
|
|
|
41
41
|
const CandidApi = __importStar(require("../../../../../../../../api/index"));
|
|
42
42
|
const core = __importStar(require("../../../../../../../../core"));
|
|
43
43
|
const VersionConflictErrorBody_1 = require("../../../../common/types/VersionConflictErrorBody");
|
|
44
|
-
const
|
|
44
|
+
const ErrorBase4Xx_1 = require("../../../../common/types/ErrorBase4Xx");
|
|
45
45
|
exports.Error = core.serialization
|
|
46
46
|
.union("errorName", {
|
|
47
47
|
VersionConflictError: core.serialization.object({
|
|
48
48
|
content: VersionConflictErrorBody_1.VersionConflictErrorBody,
|
|
49
49
|
}),
|
|
50
50
|
NotFoundError: core.serialization.object({
|
|
51
|
-
content:
|
|
51
|
+
content: ErrorBase4Xx_1.ErrorBase4Xx,
|
|
52
52
|
}),
|
|
53
53
|
})
|
|
54
54
|
.transform({
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
import * as serializers from "../../../../../../../index";
|
|
5
5
|
import * as CandidApi from "../../../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../../../core";
|
|
7
|
-
import {
|
|
7
|
+
import { ErrorBase4Xx } from "../../../../common/types/ErrorBase4Xx";
|
|
8
8
|
import { VersionConflictErrorBody } from "../../../../common/types/VersionConflictErrorBody";
|
|
9
9
|
export declare const Error: core.serialization.Schema<serializers.preEncounter.appointments.v1.deactivate.Error.Raw, CandidApi.preEncounter.appointments.v1.deactivate.Error>;
|
|
10
10
|
export declare namespace Error {
|
|
11
11
|
type Raw = Error.NotFoundError | Error.VersionConflictError;
|
|
12
12
|
interface NotFoundError {
|
|
13
13
|
errorName: "NotFoundError";
|
|
14
|
-
content:
|
|
14
|
+
content: ErrorBase4Xx.Raw;
|
|
15
15
|
}
|
|
16
16
|
interface VersionConflictError {
|
|
17
17
|
errorName: "VersionConflictError";
|
|
@@ -40,12 +40,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
40
40
|
exports.Error = void 0;
|
|
41
41
|
const CandidApi = __importStar(require("../../../../../../../../api/index"));
|
|
42
42
|
const core = __importStar(require("../../../../../../../../core"));
|
|
43
|
-
const
|
|
43
|
+
const ErrorBase4Xx_1 = require("../../../../common/types/ErrorBase4Xx");
|
|
44
44
|
const VersionConflictErrorBody_1 = require("../../../../common/types/VersionConflictErrorBody");
|
|
45
45
|
exports.Error = core.serialization
|
|
46
46
|
.union("errorName", {
|
|
47
47
|
NotFoundError: core.serialization.object({
|
|
48
|
-
content:
|
|
48
|
+
content: ErrorBase4Xx_1.ErrorBase4Xx,
|
|
49
49
|
}),
|
|
50
50
|
VersionConflictError: core.serialization.object({
|
|
51
51
|
content: VersionConflictErrorBody_1.VersionConflictErrorBody,
|
package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/get.d.ts
CHANGED
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
import * as serializers from "../../../../../../../index";
|
|
5
5
|
import * as CandidApi from "../../../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../../../core";
|
|
7
|
-
import {
|
|
7
|
+
import { ErrorBase4Xx } from "../../../../common/types/ErrorBase4Xx";
|
|
8
8
|
export declare const Error: core.serialization.Schema<serializers.preEncounter.appointments.v1.get.Error.Raw, CandidApi.preEncounter.appointments.v1.get.Error>;
|
|
9
9
|
export declare namespace Error {
|
|
10
10
|
type Raw = Error.NotFoundError;
|
|
11
11
|
interface NotFoundError {
|
|
12
12
|
errorName: "NotFoundError";
|
|
13
|
-
content:
|
|
13
|
+
content: ErrorBase4Xx.Raw;
|
|
14
14
|
}
|
|
15
15
|
}
|
package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/get.js
CHANGED
|
@@ -40,11 +40,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
40
40
|
exports.Error = void 0;
|
|
41
41
|
const CandidApi = __importStar(require("../../../../../../../../api/index"));
|
|
42
42
|
const core = __importStar(require("../../../../../../../../core"));
|
|
43
|
-
const
|
|
43
|
+
const ErrorBase4Xx_1 = require("../../../../common/types/ErrorBase4Xx");
|
|
44
44
|
exports.Error = core.serialization
|
|
45
45
|
.union("errorName", {
|
|
46
46
|
NotFoundError: core.serialization.object({
|
|
47
|
-
content:
|
|
47
|
+
content: ErrorBase4Xx_1.ErrorBase4Xx,
|
|
48
48
|
}),
|
|
49
49
|
})
|
|
50
50
|
.transform({
|
|
@@ -5,7 +5,7 @@ import * as serializers from "../../../../../../../index";
|
|
|
5
5
|
import * as CandidApi from "../../../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../../../core";
|
|
7
7
|
import { Appointment } from "../types/Appointment";
|
|
8
|
-
import {
|
|
8
|
+
import { ErrorBase4Xx } from "../../../../common/types/ErrorBase4Xx";
|
|
9
9
|
export declare const Response: core.serialization.Schema<serializers.preEncounter.appointments.v1.getHistory.Response.Raw, CandidApi.preEncounter.appointments.v1.Appointment[]>;
|
|
10
10
|
export declare namespace Response {
|
|
11
11
|
type Raw = Appointment.Raw[];
|
|
@@ -15,6 +15,6 @@ export declare namespace Error {
|
|
|
15
15
|
type Raw = Error.NotFoundError;
|
|
16
16
|
interface NotFoundError {
|
|
17
17
|
errorName: "NotFoundError";
|
|
18
|
-
content:
|
|
18
|
+
content: ErrorBase4Xx.Raw;
|
|
19
19
|
}
|
|
20
20
|
}
|
|
@@ -41,12 +41,12 @@ exports.Error = exports.Response = void 0;
|
|
|
41
41
|
const CandidApi = __importStar(require("../../../../../../../../api/index"));
|
|
42
42
|
const core = __importStar(require("../../../../../../../../core"));
|
|
43
43
|
const Appointment_1 = require("../types/Appointment");
|
|
44
|
-
const
|
|
44
|
+
const ErrorBase4Xx_1 = require("../../../../common/types/ErrorBase4Xx");
|
|
45
45
|
exports.Response = core.serialization.list(Appointment_1.Appointment);
|
|
46
46
|
exports.Error = core.serialization
|
|
47
47
|
.union("errorName", {
|
|
48
48
|
NotFoundError: core.serialization.object({
|
|
49
|
-
content:
|
|
49
|
+
content: ErrorBase4Xx_1.ErrorBase4Xx,
|
|
50
50
|
}),
|
|
51
51
|
})
|
|
52
52
|
.transform({
|
package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/update.d.ts
CHANGED
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
import * as serializers from "../../../../../../../index";
|
|
5
5
|
import * as CandidApi from "../../../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../../../core";
|
|
7
|
-
import {
|
|
7
|
+
import { ErrorBase4Xx } from "../../../../common/types/ErrorBase4Xx";
|
|
8
8
|
import { VersionConflictErrorBody } from "../../../../common/types/VersionConflictErrorBody";
|
|
9
9
|
export declare const Error: core.serialization.Schema<serializers.preEncounter.appointments.v1.update.Error.Raw, CandidApi.preEncounter.appointments.v1.update.Error>;
|
|
10
10
|
export declare namespace Error {
|
|
11
11
|
type Raw = Error.NotFoundError | Error.VersionConflictError;
|
|
12
12
|
interface NotFoundError {
|
|
13
13
|
errorName: "NotFoundError";
|
|
14
|
-
content:
|
|
14
|
+
content: ErrorBase4Xx.Raw;
|
|
15
15
|
}
|
|
16
16
|
interface VersionConflictError {
|
|
17
17
|
errorName: "VersionConflictError";
|
package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/update.js
CHANGED
|
@@ -40,12 +40,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
40
40
|
exports.Error = void 0;
|
|
41
41
|
const CandidApi = __importStar(require("../../../../../../../../api/index"));
|
|
42
42
|
const core = __importStar(require("../../../../../../../../core"));
|
|
43
|
-
const
|
|
43
|
+
const ErrorBase4Xx_1 = require("../../../../common/types/ErrorBase4Xx");
|
|
44
44
|
const VersionConflictErrorBody_1 = require("../../../../common/types/VersionConflictErrorBody");
|
|
45
45
|
exports.Error = core.serialization
|
|
46
46
|
.union("errorName", {
|
|
47
47
|
NotFoundError: core.serialization.object({
|
|
48
|
-
content:
|
|
48
|
+
content: ErrorBase4Xx_1.ErrorBase4Xx,
|
|
49
49
|
}),
|
|
50
50
|
VersionConflictError: core.serialization.object({
|
|
51
51
|
content: VersionConflictErrorBody_1.VersionConflictErrorBody,
|
|
@@ -5,17 +5,11 @@ import * as serializers from "../../../../../../../index";
|
|
|
5
5
|
import * as CandidApi from "../../../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../../../core";
|
|
7
7
|
import { AppointmentId } from "../../../../common/types/AppointmentId";
|
|
8
|
-
import {
|
|
9
|
-
import { UserId } from "../../../../common/types/UserId";
|
|
8
|
+
import { BaseModel } from "../../../../common/types/BaseModel";
|
|
10
9
|
import { MutableAppointment } from "./MutableAppointment";
|
|
11
10
|
export declare const Appointment: core.serialization.ObjectSchema<serializers.preEncounter.appointments.v1.Appointment.Raw, CandidApi.preEncounter.appointments.v1.Appointment>;
|
|
12
11
|
export declare namespace Appointment {
|
|
13
|
-
interface Raw extends MutableAppointment.Raw {
|
|
12
|
+
interface Raw extends BaseModel.Raw, MutableAppointment.Raw {
|
|
14
13
|
id: AppointmentId.Raw;
|
|
15
|
-
organization_id: OrganizationId.Raw;
|
|
16
|
-
deactivated: boolean;
|
|
17
|
-
version: number;
|
|
18
|
-
updated_at: string;
|
|
19
|
-
updating_user_id: UserId.Raw;
|
|
20
14
|
}
|
|
21
15
|
}
|
|
@@ -29,16 +29,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.Appointment = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../../../../core"));
|
|
31
31
|
const AppointmentId_1 = require("../../../../common/types/AppointmentId");
|
|
32
|
-
const
|
|
33
|
-
const UserId_1 = require("../../../../common/types/UserId");
|
|
32
|
+
const BaseModel_1 = require("../../../../common/types/BaseModel");
|
|
34
33
|
const MutableAppointment_1 = require("./MutableAppointment");
|
|
35
34
|
exports.Appointment = core.serialization
|
|
36
35
|
.object({
|
|
37
36
|
id: AppointmentId_1.AppointmentId,
|
|
38
|
-
organizationId: core.serialization.property("organization_id", OrganizationId_1.OrganizationId),
|
|
39
|
-
deactivated: core.serialization.boolean(),
|
|
40
|
-
version: core.serialization.number(),
|
|
41
|
-
updatedAt: core.serialization.property("updated_at", core.serialization.date()),
|
|
42
|
-
updatingUserId: core.serialization.property("updating_user_id", UserId_1.UserId),
|
|
43
37
|
})
|
|
38
|
+
.extend(BaseModel_1.BaseModel)
|
|
44
39
|
.extend(MutableAppointment_1.MutableAppointment);
|
|
@@ -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 { OrganizationId } from "./OrganizationId";
|
|
8
|
+
import { UserId } from "./UserId";
|
|
9
|
+
export declare const BaseModel: core.serialization.ObjectSchema<serializers.preEncounter.BaseModel.Raw, CandidApi.preEncounter.BaseModel>;
|
|
10
|
+
export declare namespace BaseModel {
|
|
11
|
+
interface Raw {
|
|
12
|
+
organization_id: OrganizationId.Raw;
|
|
13
|
+
deactivated: boolean;
|
|
14
|
+
version: number;
|
|
15
|
+
updated_at: string;
|
|
16
|
+
updating_user_id: UserId.Raw;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.BaseModel = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
const OrganizationId_1 = require("./OrganizationId");
|
|
32
|
+
const UserId_1 = require("./UserId");
|
|
33
|
+
exports.BaseModel = core.serialization.object({
|
|
34
|
+
organizationId: core.serialization.property("organization_id", OrganizationId_1.OrganizationId),
|
|
35
|
+
deactivated: core.serialization.boolean(),
|
|
36
|
+
version: core.serialization.number(),
|
|
37
|
+
updatedAt: core.serialization.property("updated_at", core.serialization.date()),
|
|
38
|
+
updatingUserId: core.serialization.property("updating_user_id", UserId_1.UserId),
|
|
39
|
+
});
|
|
@@ -4,9 +4,10 @@
|
|
|
4
4
|
import * as serializers from "../../../../../index";
|
|
5
5
|
import * as CandidApi from "../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
|
-
export declare const
|
|
8
|
-
export declare namespace
|
|
7
|
+
export declare const ErrorBase4Xx: core.serialization.ObjectSchema<serializers.preEncounter.ErrorBase4Xx.Raw, CandidApi.preEncounter.ErrorBase4Xx>;
|
|
8
|
+
export declare namespace ErrorBase4Xx {
|
|
9
9
|
interface Raw {
|
|
10
10
|
message: string;
|
|
11
|
+
data?: unknown | null;
|
|
11
12
|
}
|
|
12
13
|
}
|
package/serialization/resources/preEncounter/resources/common/types/{ErrorBase.js → ErrorBase4Xx.js}
RENAMED
|
@@ -26,8 +26,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.ErrorBase4Xx = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../../core"));
|
|
31
|
-
exports.
|
|
31
|
+
exports.ErrorBase4Xx = core.serialization.object({
|
|
32
32
|
message: core.serialization.string(),
|
|
33
|
+
data: core.serialization.unknown().optional(),
|
|
33
34
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
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
|
+
export declare const NoteId: core.serialization.Schema<serializers.preEncounter.NoteId.Raw, CandidApi.preEncounter.NoteId>;
|
|
8
|
+
export declare namespace NoteId {
|
|
9
|
+
type Raw = string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.NoteId = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
31
|
+
const core = __importStar(require("../../../../../../core"));
|
|
32
|
+
exports.NoteId = core.serialization.string().transform({
|
|
33
|
+
transform: CandidApi.preEncounter.NoteId,
|
|
34
|
+
untransform: (value) => value,
|
|
35
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
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
|
+
export declare const TagId: core.serialization.Schema<serializers.preEncounter.TagId.Raw, CandidApi.preEncounter.TagId>;
|
|
8
|
+
export declare namespace TagId {
|
|
9
|
+
type Raw = string;
|
|
10
|
+
}
|
|
@@ -26,11 +26,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.TagId = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
30
31
|
const core = __importStar(require("../../../../../../core"));
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
})
|
|
36
|
-
.extend(ErrorBase_1.ErrorBase);
|
|
32
|
+
exports.TagId = core.serialization.string().transform({
|
|
33
|
+
transform: CandidApi.preEncounter.TagId,
|
|
34
|
+
untransform: (value) => value,
|
|
35
|
+
});
|
package/serialization/resources/preEncounter/resources/common/types/VersionConflictErrorBody.d.ts
CHANGED
|
@@ -4,11 +4,10 @@
|
|
|
4
4
|
import * as serializers from "../../../../../index";
|
|
5
5
|
import * as CandidApi from "../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
|
-
import {
|
|
7
|
+
import { ErrorBase4Xx } from "./ErrorBase4Xx";
|
|
8
8
|
export declare const VersionConflictErrorBody: core.serialization.ObjectSchema<serializers.preEncounter.VersionConflictErrorBody.Raw, CandidApi.preEncounter.VersionConflictErrorBody>;
|
|
9
9
|
export declare namespace VersionConflictErrorBody {
|
|
10
|
-
interface Raw extends
|
|
11
|
-
|
|
12
|
-
latest_version: number;
|
|
10
|
+
interface Raw extends ErrorBase4Xx.Raw {
|
|
11
|
+
latest_version?: number | null;
|
|
13
12
|
}
|
|
14
13
|
}
|
package/serialization/resources/preEncounter/resources/common/types/VersionConflictErrorBody.js
CHANGED
|
@@ -28,10 +28,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.VersionConflictErrorBody = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../../core"));
|
|
31
|
-
const
|
|
31
|
+
const ErrorBase4Xx_1 = require("./ErrorBase4Xx");
|
|
32
32
|
exports.VersionConflictErrorBody = core.serialization
|
|
33
33
|
.object({
|
|
34
|
-
|
|
35
|
-
latestVersion: core.serialization.property("latest_version", core.serialization.number()),
|
|
34
|
+
latestVersion: core.serialization.property("latest_version", core.serialization.number().optional()),
|
|
36
35
|
})
|
|
37
|
-
.extend(
|
|
36
|
+
.extend(ErrorBase4Xx_1.ErrorBase4Xx);
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
export * from "./OrganizationId";
|
|
2
2
|
export * from "./UserId";
|
|
3
|
+
export * from "./BaseModel";
|
|
3
4
|
export * from "./PayerId";
|
|
4
5
|
export * from "./PatientId";
|
|
5
6
|
export * from "./CoverageId";
|
|
6
7
|
export * from "./AppointmentId";
|
|
8
|
+
export * from "./NoteId";
|
|
9
|
+
export * from "./TagId";
|
|
7
10
|
export * from "./CanonicalProviderId";
|
|
8
11
|
export * from "./CanonicalNonInsurancePayerAssociation";
|
|
9
12
|
export * from "./CanonicalNonInsurancePayerId";
|
|
@@ -23,8 +26,7 @@ export * from "./ContactPointUse";
|
|
|
23
26
|
export * from "./ContactPoint";
|
|
24
27
|
export * from "./PageToken";
|
|
25
28
|
export * from "./ResourcePage";
|
|
26
|
-
export * from "./
|
|
27
|
-
export * from "./NotFoundErrorBody";
|
|
29
|
+
export * from "./ErrorBase4Xx";
|
|
28
30
|
export * from "./VersionConflictErrorBody";
|
|
29
31
|
export * from "./AdditionalPayerInformation";
|
|
30
32
|
export * from "./ExternalProviderType";
|
|
@@ -16,10 +16,13 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./OrganizationId"), exports);
|
|
18
18
|
__exportStar(require("./UserId"), exports);
|
|
19
|
+
__exportStar(require("./BaseModel"), exports);
|
|
19
20
|
__exportStar(require("./PayerId"), exports);
|
|
20
21
|
__exportStar(require("./PatientId"), exports);
|
|
21
22
|
__exportStar(require("./CoverageId"), exports);
|
|
22
23
|
__exportStar(require("./AppointmentId"), exports);
|
|
24
|
+
__exportStar(require("./NoteId"), exports);
|
|
25
|
+
__exportStar(require("./TagId"), exports);
|
|
23
26
|
__exportStar(require("./CanonicalProviderId"), exports);
|
|
24
27
|
__exportStar(require("./CanonicalNonInsurancePayerAssociation"), exports);
|
|
25
28
|
__exportStar(require("./CanonicalNonInsurancePayerId"), exports);
|
|
@@ -39,8 +42,7 @@ __exportStar(require("./ContactPointUse"), exports);
|
|
|
39
42
|
__exportStar(require("./ContactPoint"), exports);
|
|
40
43
|
__exportStar(require("./PageToken"), exports);
|
|
41
44
|
__exportStar(require("./ResourcePage"), exports);
|
|
42
|
-
__exportStar(require("./
|
|
43
|
-
__exportStar(require("./NotFoundErrorBody"), exports);
|
|
45
|
+
__exportStar(require("./ErrorBase4Xx"), exports);
|
|
44
46
|
__exportStar(require("./VersionConflictErrorBody"), exports);
|
|
45
47
|
__exportStar(require("./AdditionalPayerInformation"), exports);
|
|
46
48
|
__exportStar(require("./ExternalProviderType"), exports);
|
package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import * as serializers from "../../../../../../../index";
|
|
|
5
5
|
import * as CandidApi from "../../../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../../../core";
|
|
7
7
|
import { Coverage } from "../types/Coverage";
|
|
8
|
-
import {
|
|
8
|
+
import { ErrorBase4Xx } from "../../../../common/types/ErrorBase4Xx";
|
|
9
9
|
export declare const Response: core.serialization.Schema<serializers.preEncounter.coverages.v1.getHistory.Response.Raw, CandidApi.preEncounter.coverages.v1.Coverage[]>;
|
|
10
10
|
export declare namespace Response {
|
|
11
11
|
type Raw = Coverage.Raw[];
|
|
@@ -15,6 +15,6 @@ export declare namespace Error {
|
|
|
15
15
|
type Raw = Error.NotFoundError;
|
|
16
16
|
interface NotFoundError {
|
|
17
17
|
errorName: "NotFoundError";
|
|
18
|
-
content:
|
|
18
|
+
content: ErrorBase4Xx.Raw;
|
|
19
19
|
}
|
|
20
20
|
}
|
package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.js
CHANGED
|
@@ -41,12 +41,12 @@ exports.Error = exports.Response = void 0;
|
|
|
41
41
|
const CandidApi = __importStar(require("../../../../../../../../api/index"));
|
|
42
42
|
const core = __importStar(require("../../../../../../../../core"));
|
|
43
43
|
const Coverage_1 = require("../types/Coverage");
|
|
44
|
-
const
|
|
44
|
+
const ErrorBase4Xx_1 = require("../../../../common/types/ErrorBase4Xx");
|
|
45
45
|
exports.Response = core.serialization.list(Coverage_1.Coverage);
|
|
46
46
|
exports.Error = core.serialization
|
|
47
47
|
.union("errorName", {
|
|
48
48
|
NotFoundError: core.serialization.object({
|
|
49
|
-
content:
|
|
49
|
+
content: ErrorBase4Xx_1.ErrorBase4Xx,
|
|
50
50
|
}),
|
|
51
51
|
})
|
|
52
52
|
.transform({
|
package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/update.d.ts
CHANGED
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
import * as serializers from "../../../../../../../index";
|
|
5
5
|
import * as CandidApi from "../../../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../../../core";
|
|
7
|
-
import {
|
|
7
|
+
import { ErrorBase4Xx } from "../../../../common/types/ErrorBase4Xx";
|
|
8
8
|
import { VersionConflictErrorBody } from "../../../../common/types/VersionConflictErrorBody";
|
|
9
9
|
export declare const Error: core.serialization.Schema<serializers.preEncounter.coverages.v1.update.Error.Raw, CandidApi.preEncounter.coverages.v1.update.Error>;
|
|
10
10
|
export declare namespace Error {
|
|
11
11
|
type Raw = Error.NotFoundError | Error.VersionConflictError;
|
|
12
12
|
interface NotFoundError {
|
|
13
13
|
errorName: "NotFoundError";
|
|
14
|
-
content:
|
|
14
|
+
content: ErrorBase4Xx.Raw;
|
|
15
15
|
}
|
|
16
16
|
interface VersionConflictError {
|
|
17
17
|
errorName: "VersionConflictError";
|
package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/update.js
CHANGED
|
@@ -40,12 +40,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
40
40
|
exports.Error = void 0;
|
|
41
41
|
const CandidApi = __importStar(require("../../../../../../../../api/index"));
|
|
42
42
|
const core = __importStar(require("../../../../../../../../core"));
|
|
43
|
-
const
|
|
43
|
+
const ErrorBase4Xx_1 = require("../../../../common/types/ErrorBase4Xx");
|
|
44
44
|
const VersionConflictErrorBody_1 = require("../../../../common/types/VersionConflictErrorBody");
|
|
45
45
|
exports.Error = core.serialization
|
|
46
46
|
.union("errorName", {
|
|
47
47
|
NotFoundError: core.serialization.object({
|
|
48
|
-
content:
|
|
48
|
+
content: ErrorBase4Xx_1.ErrorBase4Xx,
|
|
49
49
|
}),
|
|
50
50
|
VersionConflictError: core.serialization.object({
|
|
51
51
|
content: VersionConflictErrorBody_1.VersionConflictErrorBody,
|
package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Coverage.d.ts
CHANGED
|
@@ -5,17 +5,11 @@ import * as serializers from "../../../../../../../index";
|
|
|
5
5
|
import * as CandidApi from "../../../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../../../core";
|
|
7
7
|
import { CoverageId } from "../../../../common/types/CoverageId";
|
|
8
|
-
import {
|
|
9
|
-
import { UserId } from "../../../../common/types/UserId";
|
|
8
|
+
import { BaseModel } from "../../../../common/types/BaseModel";
|
|
10
9
|
import { MutableCoverage } from "./MutableCoverage";
|
|
11
10
|
export declare const Coverage: core.serialization.ObjectSchema<serializers.preEncounter.coverages.v1.Coverage.Raw, CandidApi.preEncounter.coverages.v1.Coverage>;
|
|
12
11
|
export declare namespace Coverage {
|
|
13
|
-
interface Raw extends MutableCoverage.Raw {
|
|
12
|
+
interface Raw extends BaseModel.Raw, MutableCoverage.Raw {
|
|
14
13
|
id: CoverageId.Raw;
|
|
15
|
-
organization_id: OrganizationId.Raw;
|
|
16
|
-
deactivated: boolean;
|
|
17
|
-
version: number;
|
|
18
|
-
updated_at: string;
|
|
19
|
-
updating_user_id: UserId.Raw;
|
|
20
14
|
}
|
|
21
15
|
}
|
package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Coverage.js
CHANGED
|
@@ -29,16 +29,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.Coverage = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../../../../core"));
|
|
31
31
|
const CoverageId_1 = require("../../../../common/types/CoverageId");
|
|
32
|
-
const
|
|
33
|
-
const UserId_1 = require("../../../../common/types/UserId");
|
|
32
|
+
const BaseModel_1 = require("../../../../common/types/BaseModel");
|
|
34
33
|
const MutableCoverage_1 = require("./MutableCoverage");
|
|
35
34
|
exports.Coverage = core.serialization
|
|
36
35
|
.object({
|
|
37
36
|
id: CoverageId_1.CoverageId,
|
|
38
|
-
organizationId: core.serialization.property("organization_id", OrganizationId_1.OrganizationId),
|
|
39
|
-
deactivated: core.serialization.boolean(),
|
|
40
|
-
version: core.serialization.number(),
|
|
41
|
-
updatedAt: core.serialization.property("updated_at", core.serialization.date()),
|
|
42
|
-
updatingUserId: core.serialization.property("updating_user_id", UserId_1.UserId),
|
|
43
37
|
})
|
|
38
|
+
.extend(BaseModel_1.BaseModel)
|
|
44
39
|
.extend(MutableCoverage_1.MutableCoverage);
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export * as appointments from "./appointments";
|
|
2
2
|
export * as coverages from "./coverages";
|
|
3
3
|
export * as lists from "./lists";
|
|
4
|
+
export * as notes from "./notes";
|
|
4
5
|
export * as patients from "./patients";
|
|
6
|
+
export * as tags from "./tags";
|
|
5
7
|
export * as common from "./common";
|
|
6
8
|
export * from "./common/types";
|