candidhealth 0.23.0 → 0.24.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.d.ts +4 -1
- package/README.md +134 -6
- package/api/resources/auth/client/Client.d.ts +4 -1
- package/api/resources/auth/resources/v2/client/Client.d.ts +5 -2
- package/api/resources/auth/resources/v2/client/Client.js +8 -8
- package/api/resources/billingNotes/client/Client.d.ts +4 -1
- package/api/resources/billingNotes/resources/v2/client/Client.d.ts +5 -2
- package/api/resources/billingNotes/resources/v2/client/Client.js +7 -5
- package/api/resources/contracts/client/Client.d.ts +4 -1
- package/api/resources/contracts/resources/v2/client/Client.d.ts +9 -6
- package/api/resources/contracts/resources/v2/client/Client.js +34 -28
- package/api/resources/eligibility/client/Client.d.ts +4 -1
- package/api/resources/eligibility/resources/v2/client/Client.d.ts +7 -4
- package/api/resources/eligibility/resources/v2/client/Client.js +18 -12
- package/api/resources/encounters/client/Client.d.ts +4 -1
- package/api/resources/encounters/resources/v4/client/Client.d.ts +8 -20
- package/api/resources/encounters/resources/v4/client/Client.js +28 -39
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +5 -24
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +0 -1
- package/api/resources/expectedNetworkStatus/client/Client.d.ts +4 -1
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +5 -2
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +7 -5
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +6 -3
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +16 -12
- package/api/resources/exports/client/Client.d.ts +4 -1
- package/api/resources/exports/resources/v3/client/Client.d.ts +5 -2
- package/api/resources/exports/resources/v3/client/Client.js +7 -5
- package/api/resources/externalPaymentAccountConfig/client/Client.d.ts +4 -1
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.d.ts +5 -2
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +6 -4
- package/api/resources/feeSchedules/client/Client.d.ts +4 -1
- package/api/resources/feeSchedules/resources/v3/client/Client.d.ts +14 -11
- package/api/resources/feeSchedules/resources/v3/client/Client.js +67 -49
- package/api/resources/guarantor/client/Client.d.ts +4 -1
- package/api/resources/guarantor/resources/v1/client/Client.d.ts +7 -4
- package/api/resources/guarantor/resources/v1/client/Client.js +21 -19
- package/api/resources/importInvoice/client/Client.d.ts +4 -1
- package/api/resources/importInvoice/resources/v1/client/Client.d.ts +8 -5
- package/api/resources/importInvoice/resources/v1/client/Client.js +28 -20
- package/api/resources/insuranceAdjudications/client/Client.d.ts +4 -1
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +7 -4
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +19 -13
- package/api/resources/insurancePayments/client/Client.d.ts +4 -1
- package/api/resources/insurancePayments/resources/v1/client/Client.d.ts +9 -6
- package/api/resources/insurancePayments/resources/v1/client/Client.js +36 -26
- package/api/resources/insuranceRefunds/client/Client.d.ts +4 -1
- package/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +9 -6
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +36 -26
- package/api/resources/organizationProviders/client/Client.d.ts +4 -1
- package/api/resources/organizationProviders/resources/v3/client/Client.d.ts +8 -5
- package/api/resources/organizationProviders/resources/v3/client/Client.js +29 -21
- package/api/resources/organizationServiceFacilities/client/Client.d.ts +4 -1
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.d.ts +9 -6
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +39 -25
- package/api/resources/patientPayments/client/Client.d.ts +4 -1
- package/api/resources/patientPayments/resources/v4/client/Client.d.ts +9 -6
- package/api/resources/patientPayments/resources/v4/client/Client.js +36 -26
- package/api/resources/patientRefunds/client/Client.d.ts +4 -1
- package/api/resources/patientRefunds/resources/v1/client/Client.d.ts +9 -6
- package/api/resources/patientRefunds/resources/v1/client/Client.js +36 -26
- package/api/resources/payers/client/Client.d.ts +4 -1
- package/api/resources/payers/resources/v3/client/Client.d.ts +6 -3
- package/api/resources/payers/resources/v3/client/Client.js +12 -8
- package/api/resources/preEncounter/client/Client.d.ts +4 -1
- package/api/resources/preEncounter/resources/coverages/client/Client.d.ts +7 -125
- package/api/resources/preEncounter/resources/coverages/client/Client.js +3 -424
- package/api/resources/preEncounter/resources/coverages/client/index.d.ts +1 -7
- package/api/resources/preEncounter/resources/coverages/client/index.js +0 -34
- package/api/resources/preEncounter/resources/coverages/index.d.ts +1 -1
- package/api/resources/preEncounter/resources/coverages/index.js +1 -1
- package/api/resources/preEncounter/resources/coverages/resources/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/coverages/resources/index.js +27 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +26 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +17 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/index.js +18 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/Client.d.ts +147 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/Client.js +451 -0
- package/api/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/create.d.ts +6 -6
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/create.js +2 -2
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/get.d.ts +6 -6
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/get.js +2 -2
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/getHistory.d.ts +7 -7
- package/api/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/getHistory.js +3 -3
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/getMulti.d.ts +6 -6
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/getMulti.js +2 -2
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/index.d.ts +7 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/index.js +36 -0
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/scan.d.ts +6 -6
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/scan.js +2 -2
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/update.d.ts +8 -8
- package/api/resources/preEncounter/resources/{patients → coverages/resources/v1/resources/coverages}/client/update.js +4 -4
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.js +18 -0
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/Coverage.d.ts +3 -3
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/CoverageId.d.ts +3 -3
- package/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/InsurancePlan.d.ts +2 -2
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/MutableCoverage.d.ts +5 -5
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/Subscriber.d.ts +1 -1
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/index.d.ts +3 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/index.js +32 -0
- package/api/resources/preEncounter/resources/index.d.ts +0 -4
- package/api/resources/preEncounter/resources/index.js +0 -4
- package/api/resources/preEncounter/resources/patients/client/Client.d.ts +7 -316
- package/api/resources/preEncounter/resources/patients/client/Client.js +3 -688
- package/api/resources/preEncounter/resources/patients/client/index.d.ts +1 -8
- package/api/resources/preEncounter/resources/patients/client/index.js +0 -35
- package/api/resources/preEncounter/resources/patients/index.d.ts +1 -1
- package/api/resources/preEncounter/resources/patients/index.js +1 -1
- package/api/resources/preEncounter/resources/patients/resources/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/patients/resources/index.js +27 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +26 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +17 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/index.js +18 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/index.d.ts +3 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/index.js +32 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/Client.d.ts +338 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/Client.js +716 -0
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/create.d.ts +7 -7
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/create.js +3 -3
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/deactivate.d.ts +8 -8
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/deactivate.js +4 -4
- package/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/get.d.ts +7 -7
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/get.js +3 -3
- package/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/getHistory.d.ts +7 -7
- package/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/getHistory.js +3 -3
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/index.d.ts +8 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/index.js +37 -0
- package/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/scan.d.ts +6 -6
- package/api/resources/preEncounter/resources/{coverages → patients/resources/v1/resources/patients}/client/scan.js +2 -2
- package/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/search.d.ts +6 -6
- package/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/search.js +2 -2
- package/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/update.d.ts +8 -8
- package/api/resources/preEncounter/resources/{coverages → patients/resources/v1/resources/patients}/client/update.js +4 -4
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.js +18 -0
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/types/Contact.d.ts +1 -1
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/types/ExternalProvider.d.ts +1 -1
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/types/MutablePatient.d.ts +5 -5
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/types/Patient.d.ts +3 -3
- package/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/PatientId.d.ts +3 -3
- package/api/resources/serviceFacility/client/Client.d.ts +5 -2
- package/api/resources/serviceFacility/client/Client.js +7 -7
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +11 -5
- package/api/resources/tasks/client/Client.d.ts +4 -1
- package/api/resources/tasks/resources/v3/client/Client.d.ts +9 -6
- package/api/resources/tasks/resources/v3/client/Client.js +35 -25
- package/api/resources/writeOffs/client/Client.d.ts +4 -1
- package/api/resources/writeOffs/resources/v1/client/Client.d.ts +8 -5
- package/api/resources/writeOffs/resources/v1/client/Client.js +25 -17
- package/core/fetcher/Fetcher.d.ts +3 -0
- package/core/fetcher/Fetcher.js +22 -153
- package/core/fetcher/createRequestUrl.d.ts +1 -0
- package/core/fetcher/createRequestUrl.js +13 -0
- package/core/fetcher/getFetchFn.d.ts +4 -0
- package/core/fetcher/getFetchFn.js +59 -0
- package/core/fetcher/getRequestBody.d.ts +7 -0
- package/core/fetcher/getRequestBody.js +23 -0
- package/core/fetcher/getResponseBody.d.ts +1 -0
- package/core/fetcher/getResponseBody.js +48 -0
- package/core/fetcher/makeRequest.d.ts +1 -0
- package/core/fetcher/makeRequest.js +42 -0
- package/core/fetcher/requestWithRetries.d.ts +1 -0
- package/core/fetcher/requestWithRetries.js +32 -0
- package/core/fetcher/signals.d.ts +12 -0
- package/core/fetcher/signals.js +37 -0
- package/core/runtime/runtime.d.ts +2 -1
- package/core/runtime/runtime.js +12 -1
- package/core/schemas/Schema.d.ts +7 -4
- package/core/schemas/builders/lazy/lazy.d.ts +2 -2
- package/core/schemas/builders/lazy/lazy.js +8 -19
- package/core/schemas/builders/lazy/lazyObject.js +1 -10
- package/core/schemas/builders/list/list.js +31 -44
- package/core/schemas/builders/object/object.js +90 -111
- package/core/schemas/builders/object/types.d.ts +2 -2
- package/core/schemas/builders/object-like/getObjectLikeUtils.js +3 -12
- package/core/schemas/builders/record/record.js +49 -60
- package/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +2 -2
- package/core/schemas/builders/schema-utils/getSchemaUtils.js +18 -21
- package/core/schemas/builders/set/set.js +6 -15
- package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +21 -32
- package/core/schemas/builders/union/union.js +51 -62
- package/core/schemas/utils/maybeSkipValidation.js +3 -12
- package/dist/Client.d.ts +4 -1
- package/dist/api/resources/auth/client/Client.d.ts +4 -1
- package/dist/api/resources/auth/resources/v2/client/Client.d.ts +5 -2
- package/dist/api/resources/auth/resources/v2/client/Client.js +8 -8
- package/dist/api/resources/billingNotes/client/Client.d.ts +4 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.d.ts +5 -2
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +7 -5
- package/dist/api/resources/contracts/client/Client.d.ts +4 -1
- package/dist/api/resources/contracts/resources/v2/client/Client.d.ts +9 -6
- package/dist/api/resources/contracts/resources/v2/client/Client.js +34 -28
- package/dist/api/resources/eligibility/client/Client.d.ts +4 -1
- package/dist/api/resources/eligibility/resources/v2/client/Client.d.ts +7 -4
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +18 -12
- package/dist/api/resources/encounters/client/Client.d.ts +4 -1
- package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +8 -20
- package/dist/api/resources/encounters/resources/v4/client/Client.js +28 -39
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +5 -24
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +0 -1
- package/dist/api/resources/expectedNetworkStatus/client/Client.d.ts +4 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +5 -2
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +7 -5
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +6 -3
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +16 -12
- package/dist/api/resources/exports/client/Client.d.ts +4 -1
- package/dist/api/resources/exports/resources/v3/client/Client.d.ts +5 -2
- package/dist/api/resources/exports/resources/v3/client/Client.js +7 -5
- package/dist/api/resources/externalPaymentAccountConfig/client/Client.d.ts +4 -1
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.d.ts +5 -2
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +6 -4
- package/dist/api/resources/feeSchedules/client/Client.d.ts +4 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.d.ts +14 -11
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +67 -49
- package/dist/api/resources/guarantor/client/Client.d.ts +4 -1
- package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +7 -4
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +21 -19
- package/dist/api/resources/importInvoice/client/Client.d.ts +4 -1
- package/dist/api/resources/importInvoice/resources/v1/client/Client.d.ts +8 -5
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +28 -20
- package/dist/api/resources/insuranceAdjudications/client/Client.d.ts +4 -1
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +7 -4
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +19 -13
- package/dist/api/resources/insurancePayments/client/Client.d.ts +4 -1
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.d.ts +9 -6
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +36 -26
- package/dist/api/resources/insuranceRefunds/client/Client.d.ts +4 -1
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +9 -6
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +36 -26
- package/dist/api/resources/organizationProviders/client/Client.d.ts +4 -1
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.d.ts +8 -5
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +29 -21
- package/dist/api/resources/organizationServiceFacilities/client/Client.d.ts +4 -1
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.d.ts +9 -6
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +39 -25
- package/dist/api/resources/patientPayments/client/Client.d.ts +4 -1
- package/dist/api/resources/patientPayments/resources/v4/client/Client.d.ts +9 -6
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +36 -26
- package/dist/api/resources/patientRefunds/client/Client.d.ts +4 -1
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.d.ts +9 -6
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +36 -26
- package/dist/api/resources/payers/client/Client.d.ts +4 -1
- package/dist/api/resources/payers/resources/v3/client/Client.d.ts +6 -3
- package/dist/api/resources/payers/resources/v3/client/Client.js +12 -8
- package/dist/api/resources/preEncounter/client/Client.d.ts +4 -1
- package/dist/api/resources/preEncounter/resources/coverages/client/Client.d.ts +7 -125
- package/dist/api/resources/preEncounter/resources/coverages/client/Client.js +3 -424
- package/dist/api/resources/preEncounter/resources/coverages/client/index.d.ts +1 -7
- package/dist/api/resources/preEncounter/resources/coverages/client/index.js +0 -34
- package/dist/api/resources/preEncounter/resources/coverages/index.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/coverages/index.js +1 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/index.js +27 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +26 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +17 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/index.js +2 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/index.js +18 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/Client.d.ts +147 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/Client.js +451 -0
- package/dist/api/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/create.d.ts +6 -6
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/create.js +2 -2
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/get.d.ts +6 -6
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/get.js +2 -2
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/getHistory.d.ts +7 -7
- package/dist/api/resources/preEncounter/resources/{patients → coverages/resources/v1/resources/coverages}/client/getHistory.js +3 -3
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/getMulti.d.ts +6 -6
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/getMulti.js +2 -2
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/index.d.ts +7 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/index.js +36 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/requests/index.js +2 -0
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/scan.d.ts +6 -6
- package/dist/api/resources/preEncounter/resources/{patients → coverages/resources/v1/resources/coverages}/client/scan.js +2 -2
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/update.d.ts +8 -8
- package/dist/api/resources/preEncounter/resources/{patients → coverages/resources/v1/resources/coverages}/client/update.js +4 -4
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.js +18 -0
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/Coverage.d.ts +3 -3
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/CoverageId.d.ts +3 -3
- package/dist/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/InsurancePlan.d.ts +2 -2
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/MutableCoverage.d.ts +5 -5
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/Subscriber.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/index.d.ts +3 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/index.js +32 -0
- package/dist/api/resources/preEncounter/resources/index.d.ts +0 -4
- package/dist/api/resources/preEncounter/resources/index.js +0 -4
- package/dist/api/resources/preEncounter/resources/patients/client/Client.d.ts +7 -316
- package/dist/api/resources/preEncounter/resources/patients/client/Client.js +3 -688
- package/dist/api/resources/preEncounter/resources/patients/client/index.d.ts +1 -8
- package/dist/api/resources/preEncounter/resources/patients/client/index.js +0 -35
- package/dist/api/resources/preEncounter/resources/patients/index.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/patients/index.js +1 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/index.js +27 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +26 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +17 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/index.js +18 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/index.d.ts +3 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/index.js +32 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/Client.d.ts +338 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/Client.js +716 -0
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/create.d.ts +7 -7
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/create.js +3 -3
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/deactivate.d.ts +8 -8
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/deactivate.js +4 -4
- package/dist/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/get.d.ts +7 -7
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/get.js +3 -3
- package/dist/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/getHistory.d.ts +7 -7
- package/dist/api/resources/preEncounter/resources/{coverages → patients/resources/v1/resources/patients}/client/getHistory.js +3 -3
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/index.d.ts +8 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/index.js +37 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/requests/index.js +2 -0
- package/dist/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/scan.d.ts +6 -6
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/scan.js +2 -2
- package/dist/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/search.d.ts +6 -6
- package/dist/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/search.js +2 -2
- package/dist/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/update.d.ts +8 -8
- package/dist/api/resources/preEncounter/resources/{coverages → patients/resources/v1/resources/patients}/client/update.js +4 -4
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.js +18 -0
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/types/Contact.d.ts +1 -1
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/types/ExternalProvider.d.ts +1 -1
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/types/MutablePatient.d.ts +5 -5
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/types/Patient.d.ts +3 -3
- package/dist/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/PatientId.d.ts +3 -3
- package/dist/api/resources/serviceFacility/client/Client.d.ts +5 -2
- package/dist/api/resources/serviceFacility/client/Client.js +7 -7
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +11 -5
- package/dist/api/resources/tasks/client/Client.d.ts +4 -1
- package/dist/api/resources/tasks/resources/v3/client/Client.d.ts +9 -6
- package/dist/api/resources/tasks/resources/v3/client/Client.js +35 -25
- package/dist/api/resources/writeOffs/client/Client.d.ts +4 -1
- package/dist/api/resources/writeOffs/resources/v1/client/Client.d.ts +8 -5
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +25 -17
- package/dist/core/fetcher/Fetcher.d.ts +3 -0
- package/dist/core/fetcher/Fetcher.js +22 -153
- package/dist/core/fetcher/createRequestUrl.d.ts +1 -0
- package/dist/core/fetcher/createRequestUrl.js +13 -0
- package/dist/core/fetcher/getFetchFn.d.ts +4 -0
- package/dist/core/fetcher/getFetchFn.js +59 -0
- package/dist/core/fetcher/getRequestBody.d.ts +7 -0
- package/dist/core/fetcher/getRequestBody.js +23 -0
- package/dist/core/fetcher/getResponseBody.d.ts +1 -0
- package/dist/core/fetcher/getResponseBody.js +48 -0
- package/dist/core/fetcher/makeRequest.d.ts +1 -0
- package/dist/core/fetcher/makeRequest.js +42 -0
- package/dist/core/fetcher/requestWithRetries.d.ts +1 -0
- package/dist/core/fetcher/requestWithRetries.js +32 -0
- package/dist/core/fetcher/signals.d.ts +12 -0
- package/dist/core/fetcher/signals.js +37 -0
- package/dist/core/runtime/runtime.d.ts +2 -1
- package/dist/core/runtime/runtime.js +12 -1
- package/dist/core/schemas/Schema.d.ts +7 -4
- package/dist/core/schemas/builders/lazy/lazy.d.ts +2 -2
- package/dist/core/schemas/builders/lazy/lazy.js +8 -19
- package/dist/core/schemas/builders/lazy/lazyObject.js +1 -10
- package/dist/core/schemas/builders/list/list.js +31 -44
- package/dist/core/schemas/builders/object/object.js +90 -111
- package/dist/core/schemas/builders/object/types.d.ts +2 -2
- package/dist/core/schemas/builders/object-like/getObjectLikeUtils.js +3 -12
- package/dist/core/schemas/builders/record/record.js +49 -60
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +2 -2
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.js +18 -21
- package/dist/core/schemas/builders/set/set.js +6 -15
- package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +21 -32
- package/dist/core/schemas/builders/union/union.js +51 -62
- package/dist/core/schemas/utils/maybeSkipValidation.js +3 -12
- package/dist/environments.d.ts +12 -2
- package/dist/environments.js +8 -2
- package/dist/index.d.ts +1 -1
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +0 -2
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +0 -2
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +0 -1
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +0 -1
- package/dist/serialization/resources/preEncounter/resources/common/types/Address.d.ts +1 -1
- package/dist/serialization/resources/preEncounter/resources/common/types/Address.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/common/types/VersionConflictErrorBody.d.ts +1 -1
- package/dist/serialization/resources/preEncounter/resources/common/types/VersionConflictErrorBody.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/index.d.ts +1 -2
- package/dist/serialization/resources/preEncounter/resources/coverages/index.js +1 -2
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/index.js +27 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/index.js +17 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getHistory.d.ts +20 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/getHistory.js +4 -4
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.d.ts +11 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/getMulti.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/scan.d.ts +11 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/scan.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/update.d.ts +20 -0
- package/{serialization/resources/preEncounter → dist/serialization/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/update.js +6 -6
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.js +18 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/Coverage.d.ts +21 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/Coverage.js +5 -5
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageId.d.ts +10 -0
- package/{serialization/resources/preEncounter → dist/serialization/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/CoverageId.js +3 -3
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageStatus.d.ts +10 -0
- package/{serialization/resources/preEncounter → dist/serialization/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/CoverageStatus.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageType.d.ts +10 -0
- package/{serialization/resources/preEncounter → dist/serialization/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/CoverageType.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/InsurancePlan.d.ts +22 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/InsurancePlan.js +8 -8
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/MutableCoverage.d.ts +22 -0
- package/{serialization/resources/preEncounter → dist/serialization/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/MutableCoverage.js +4 -4
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/Subscriber.d.ts +16 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/Subscriber.js +4 -4
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/index.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/index.js +31 -0
- package/dist/serialization/resources/preEncounter/resources/index.d.ts +0 -2
- package/dist/serialization/resources/preEncounter/resources/index.js +0 -2
- package/dist/serialization/resources/preEncounter/resources/patients/index.d.ts +1 -2
- package/dist/serialization/resources/preEncounter/resources/patients/index.js +1 -2
- package/dist/serialization/resources/preEncounter/resources/patients/resources/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/index.js +27 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/index.js +17 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/index.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/index.js +31 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/create.d.ts +15 -0
- package/dist/serialization/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/create.js +4 -4
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.d.ts +20 -0
- package/{serialization/resources/preEncounter → dist/serialization/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/deactivate.js +6 -6
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/get.d.ts +15 -0
- package/{serialization/resources/preEncounter → dist/serialization/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/get.js +4 -4
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/getHistory.d.ts +20 -0
- package/dist/serialization/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/getHistory.js +4 -4
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/scan.d.ts +11 -0
- package/{serialization/resources/preEncounter → dist/serialization/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/scan.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/search.d.ts +11 -0
- package/{serialization/resources/preEncounter → dist/serialization/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/search.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/update.d.ts +20 -0
- package/dist/serialization/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/update.js +6 -6
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.js +18 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Contact.d.ts +23 -0
- package/dist/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/Contact.js +7 -7
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvenance.d.ts +13 -0
- package/dist/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/ExternalProvenance.js +3 -3
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvider.d.ts +19 -0
- package/dist/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/ExternalProvider.js +5 -5
- package/dist/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/MaritalStatus.d.ts +4 -4
- package/dist/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/MaritalStatus.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MutablePatient.d.ts +35 -0
- package/{serialization/resources/preEncounter → dist/serialization/resources/preEncounter/resources/patients/resources/v1}/resources/patients/types/MutablePatient.js +15 -15
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Patient.d.ts +21 -0
- package/dist/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/Patient.js +5 -5
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/PatientId.d.ts +10 -0
- package/{serialization/resources/preEncounter → dist/serialization/resources/preEncounter/resources/patients/resources/v1}/resources/patients/types/PatientId.js +3 -3
- package/environments.d.ts +12 -2
- package/environments.js +8 -2
- package/index.d.ts +1 -1
- package/package.json +7 -2
- package/reference.md +7177 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +0 -2
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +0 -2
- package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +0 -1
- package/serialization/resources/encounters/resources/v4/types/Encounter.js +0 -1
- package/serialization/resources/preEncounter/resources/common/types/Address.d.ts +1 -1
- package/serialization/resources/preEncounter/resources/common/types/Address.js +1 -1
- package/serialization/resources/preEncounter/resources/common/types/VersionConflictErrorBody.d.ts +1 -1
- package/serialization/resources/preEncounter/resources/common/types/VersionConflictErrorBody.js +1 -1
- package/serialization/resources/preEncounter/resources/coverages/index.d.ts +1 -2
- package/serialization/resources/preEncounter/resources/coverages/index.js +1 -2
- package/serialization/resources/preEncounter/resources/coverages/resources/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/index.js +27 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/index.js +17 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getHistory.d.ts +20 -0
- package/serialization/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/getHistory.js +4 -4
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.d.ts +11 -0
- package/serialization/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/getMulti.js +1 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/scan.d.ts +11 -0
- package/serialization/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/scan.js +1 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/update.d.ts +20 -0
- package/serialization/resources/preEncounter/resources/{patients → coverages/resources/v1/resources/coverages}/client/update.js +6 -6
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.js +18 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/Coverage.d.ts +21 -0
- package/serialization/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/Coverage.js +5 -5
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageId.d.ts +10 -0
- package/{dist/serialization/resources/preEncounter → serialization/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/CoverageId.js +3 -3
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageStatus.d.ts +10 -0
- package/{dist/serialization/resources/preEncounter → serialization/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/CoverageStatus.js +1 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageType.d.ts +10 -0
- package/{dist/serialization/resources/preEncounter → serialization/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/CoverageType.js +1 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/InsurancePlan.d.ts +22 -0
- package/serialization/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/InsurancePlan.js +8 -8
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/MutableCoverage.d.ts +22 -0
- package/{dist/serialization/resources/preEncounter → serialization/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/MutableCoverage.js +4 -4
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/Subscriber.d.ts +16 -0
- package/serialization/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/Subscriber.js +4 -4
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/index.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/index.js +31 -0
- package/serialization/resources/preEncounter/resources/index.d.ts +0 -2
- package/serialization/resources/preEncounter/resources/index.js +0 -2
- package/serialization/resources/preEncounter/resources/patients/index.d.ts +1 -2
- package/serialization/resources/preEncounter/resources/patients/index.js +1 -2
- package/serialization/resources/preEncounter/resources/patients/resources/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/patients/resources/index.js +27 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/index.js +17 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/index.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/index.js +31 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/create.d.ts +15 -0
- package/serialization/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/create.js +4 -4
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.d.ts +20 -0
- package/{dist/serialization/resources/preEncounter → serialization/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/deactivate.js +6 -6
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/get.d.ts +15 -0
- package/{dist/serialization/resources/preEncounter → serialization/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/get.js +4 -4
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/getHistory.d.ts +20 -0
- package/serialization/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/getHistory.js +4 -4
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/scan.d.ts +11 -0
- package/{dist/serialization/resources/preEncounter → serialization/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/scan.js +1 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/search.d.ts +11 -0
- package/{dist/serialization/resources/preEncounter → serialization/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/search.js +1 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/update.d.ts +20 -0
- package/{dist/serialization/resources/preEncounter/resources/coverages → serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients}/client/update.js +6 -6
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.js +18 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Contact.d.ts +23 -0
- package/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/Contact.js +7 -7
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvenance.d.ts +13 -0
- package/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/ExternalProvenance.js +3 -3
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvider.d.ts +19 -0
- package/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/ExternalProvider.js +5 -5
- package/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/MaritalStatus.d.ts +4 -4
- package/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/MaritalStatus.js +1 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MutablePatient.d.ts +35 -0
- package/{dist/serialization/resources/preEncounter → serialization/resources/preEncounter/resources/patients/resources/v1}/resources/patients/types/MutablePatient.js +15 -15
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Patient.d.ts +21 -0
- package/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/Patient.js +5 -5
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/PatientId.d.ts +10 -0
- package/{dist/serialization/resources/preEncounter → serialization/resources/preEncounter/resources/patients/resources/v1}/resources/patients/types/PatientId.js +3 -3
- package/dist/serialization/resources/preEncounter/resources/coverages/client/getHistory.d.ts +0 -20
- package/dist/serialization/resources/preEncounter/resources/coverages/client/getMulti.d.ts +0 -11
- package/dist/serialization/resources/preEncounter/resources/coverages/client/scan.d.ts +0 -11
- package/dist/serialization/resources/preEncounter/resources/coverages/client/update.d.ts +0 -20
- package/dist/serialization/resources/preEncounter/resources/coverages/types/Coverage.d.ts +0 -21
- package/dist/serialization/resources/preEncounter/resources/coverages/types/CoverageId.d.ts +0 -10
- package/dist/serialization/resources/preEncounter/resources/coverages/types/CoverageStatus.d.ts +0 -10
- package/dist/serialization/resources/preEncounter/resources/coverages/types/CoverageType.d.ts +0 -10
- package/dist/serialization/resources/preEncounter/resources/coverages/types/InsurancePlan.d.ts +0 -22
- package/dist/serialization/resources/preEncounter/resources/coverages/types/MutableCoverage.d.ts +0 -22
- package/dist/serialization/resources/preEncounter/resources/coverages/types/Subscriber.d.ts +0 -16
- package/dist/serialization/resources/preEncounter/resources/patients/client/create.d.ts +0 -15
- package/dist/serialization/resources/preEncounter/resources/patients/client/deactivate.d.ts +0 -20
- package/dist/serialization/resources/preEncounter/resources/patients/client/get.d.ts +0 -15
- package/dist/serialization/resources/preEncounter/resources/patients/client/getHistory.d.ts +0 -20
- package/dist/serialization/resources/preEncounter/resources/patients/client/scan.d.ts +0 -11
- package/dist/serialization/resources/preEncounter/resources/patients/client/search.d.ts +0 -11
- package/dist/serialization/resources/preEncounter/resources/patients/client/update.d.ts +0 -20
- package/dist/serialization/resources/preEncounter/resources/patients/types/Contact.d.ts +0 -23
- package/dist/serialization/resources/preEncounter/resources/patients/types/ExternalProvenance.d.ts +0 -13
- package/dist/serialization/resources/preEncounter/resources/patients/types/ExternalProvider.d.ts +0 -19
- package/dist/serialization/resources/preEncounter/resources/patients/types/MutablePatient.d.ts +0 -35
- package/dist/serialization/resources/preEncounter/resources/patients/types/Patient.d.ts +0 -21
- package/dist/serialization/resources/preEncounter/resources/patients/types/PatientId.d.ts +0 -10
- package/serialization/resources/preEncounter/resources/coverages/client/getHistory.d.ts +0 -20
- package/serialization/resources/preEncounter/resources/coverages/client/getMulti.d.ts +0 -11
- package/serialization/resources/preEncounter/resources/coverages/client/scan.d.ts +0 -11
- package/serialization/resources/preEncounter/resources/coverages/client/update.d.ts +0 -20
- package/serialization/resources/preEncounter/resources/coverages/types/Coverage.d.ts +0 -21
- package/serialization/resources/preEncounter/resources/coverages/types/CoverageId.d.ts +0 -10
- package/serialization/resources/preEncounter/resources/coverages/types/CoverageStatus.d.ts +0 -10
- package/serialization/resources/preEncounter/resources/coverages/types/CoverageType.d.ts +0 -10
- package/serialization/resources/preEncounter/resources/coverages/types/InsurancePlan.d.ts +0 -22
- package/serialization/resources/preEncounter/resources/coverages/types/MutableCoverage.d.ts +0 -22
- package/serialization/resources/preEncounter/resources/coverages/types/Subscriber.d.ts +0 -16
- package/serialization/resources/preEncounter/resources/patients/client/create.d.ts +0 -15
- package/serialization/resources/preEncounter/resources/patients/client/deactivate.d.ts +0 -20
- package/serialization/resources/preEncounter/resources/patients/client/get.d.ts +0 -15
- package/serialization/resources/preEncounter/resources/patients/client/getHistory.d.ts +0 -20
- package/serialization/resources/preEncounter/resources/patients/client/scan.d.ts +0 -11
- package/serialization/resources/preEncounter/resources/patients/client/search.d.ts +0 -11
- package/serialization/resources/preEncounter/resources/patients/client/update.d.ts +0 -20
- package/serialization/resources/preEncounter/resources/patients/types/Contact.d.ts +0 -23
- package/serialization/resources/preEncounter/resources/patients/types/ExternalProvenance.d.ts +0 -13
- package/serialization/resources/preEncounter/resources/patients/types/ExternalProvider.d.ts +0 -19
- package/serialization/resources/preEncounter/resources/patients/types/MutablePatient.d.ts +0 -35
- package/serialization/resources/preEncounter/resources/patients/types/Patient.d.ts +0 -21
- package/serialization/resources/preEncounter/resources/patients/types/PatientId.d.ts +0 -10
- /package/api/resources/preEncounter/resources/coverages/{client/requests → resources/v1/client}/index.js +0 -0
- /package/api/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/requests/CoverageScanRequest.d.ts +0 -0
- /package/api/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/requests/CoverageScanRequest.js +0 -0
- /package/api/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/requests/GetAllCoveragesRequest.d.ts +0 -0
- /package/api/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/requests/GetAllCoveragesRequest.js +0 -0
- /package/api/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/requests/index.d.ts +0 -0
- /package/api/resources/preEncounter/resources/{patients → coverages/resources/v1/resources/coverages}/client/requests/index.js +0 -0
- /package/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/Coverage.js +0 -0
- /package/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/CoverageId.js +0 -0
- /package/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/CoverageStatus.d.ts +0 -0
- /package/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/CoverageStatus.js +0 -0
- /package/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/CoverageType.d.ts +0 -0
- /package/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/CoverageType.js +0 -0
- /package/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/InsurancePlan.js +0 -0
- /package/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/MutableCoverage.js +0 -0
- /package/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/Subscriber.js +0 -0
- /package/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/index.d.ts +0 -0
- /package/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/index.js +0 -0
- /package/{dist/api/resources/preEncounter/resources/coverages/client/requests → api/resources/preEncounter/resources/patients/resources/v1/client}/index.js +0 -0
- /package/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/requests/PatientScanRequest.d.ts +0 -0
- /package/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/requests/PatientScanRequest.js +0 -0
- /package/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/requests/PatientsSearchRequest.d.ts +0 -0
- /package/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/requests/PatientsSearchRequest.js +0 -0
- /package/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/requests/index.d.ts +0 -0
- /package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/requests/index.js +0 -0
- /package/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/Contact.js +0 -0
- /package/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/ExternalProvenance.d.ts +0 -0
- /package/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/ExternalProvenance.js +0 -0
- /package/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/ExternalProvider.js +0 -0
- /package/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/MaritalStatus.d.ts +0 -0
- /package/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/MaritalStatus.js +0 -0
- /package/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/MutablePatient.js +0 -0
- /package/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/Patient.js +0 -0
- /package/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/PatientId.js +0 -0
- /package/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/index.d.ts +0 -0
- /package/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/index.js +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/requests/CoverageScanRequest.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/requests/CoverageScanRequest.js +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/requests/GetAllCoveragesRequest.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/requests/GetAllCoveragesRequest.js +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/requests/index.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/Coverage.js +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/CoverageId.js +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/CoverageStatus.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/CoverageStatus.js +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/CoverageType.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/CoverageType.js +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/InsurancePlan.js +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/MutableCoverage.js +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/Subscriber.js +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/index.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/index.js +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/requests/PatientScanRequest.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/requests/PatientScanRequest.js +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/requests/PatientsSearchRequest.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/requests/PatientsSearchRequest.js +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/requests/index.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/Contact.js +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/ExternalProvenance.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/ExternalProvenance.js +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/ExternalProvider.js +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/MaritalStatus.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/MaritalStatus.js +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/MutablePatient.js +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/Patient.js +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/PatientId.js +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/index.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/index.js +0 -0
- /package/dist/serialization/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/index.d.ts +0 -0
- /package/dist/serialization/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/index.js +0 -0
- /package/dist/serialization/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/index.d.ts +0 -0
- /package/dist/serialization/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/index.js +0 -0
- /package/dist/serialization/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/index.d.ts +0 -0
- /package/dist/serialization/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/index.js +0 -0
- /package/dist/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/index.d.ts +0 -0
- /package/dist/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/index.js +0 -0
- /package/serialization/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/index.d.ts +0 -0
- /package/serialization/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/index.js +0 -0
- /package/serialization/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/index.d.ts +0 -0
- /package/serialization/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/index.js +0 -0
- /package/serialization/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/index.d.ts +0 -0
- /package/serialization/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/index.js +0 -0
- /package/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/index.d.ts +0 -0
- /package/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/index.js +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as CandidApi from "
|
|
5
|
-
import * as core from "
|
|
6
|
-
export declare type Error = CandidApi.preEncounter.patients.create.Error.VersionConflictError | CandidApi.preEncounter.patients.create.Error._Unknown;
|
|
4
|
+
import * as CandidApi from "../../../../../../../../../index";
|
|
5
|
+
import * as core from "../../../../../../../../../../core";
|
|
6
|
+
export declare type Error = CandidApi.preEncounter.patients.v1.patients.create.Error.VersionConflictError | CandidApi.preEncounter.patients.v1.patients.create.Error._Unknown;
|
|
7
7
|
export declare namespace Error {
|
|
8
8
|
interface VersionConflictError extends _Utils {
|
|
9
9
|
errorName: "VersionConflictError";
|
|
@@ -14,7 +14,7 @@ export declare namespace Error {
|
|
|
14
14
|
content: core.Fetcher.Error;
|
|
15
15
|
}
|
|
16
16
|
interface _Utils {
|
|
17
|
-
_visit: <_Result>(visitor: CandidApi.preEncounter.patients.create.Error._Visitor<_Result>) => _Result;
|
|
17
|
+
_visit: <_Result>(visitor: CandidApi.preEncounter.patients.v1.patients.create.Error._Visitor<_Result>) => _Result;
|
|
18
18
|
}
|
|
19
19
|
interface _Visitor<_Result> {
|
|
20
20
|
versionConflictError: (value: CandidApi.preEncounter.VersionConflictErrorBody) => _Result;
|
|
@@ -22,7 +22,7 @@ export declare namespace Error {
|
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
export declare const Error: {
|
|
25
|
-
readonly versionConflictError: (value: CandidApi.preEncounter.VersionConflictErrorBody) => CandidApi.preEncounter.patients.create.Error.VersionConflictError;
|
|
26
|
-
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.preEncounter.patients.create.Error._Unknown;
|
|
27
|
-
readonly _visit: <_Result>(value: CandidApi.preEncounter.patients.create.Error, visitor: CandidApi.preEncounter.patients.create.Error._Visitor<_Result>) => _Result;
|
|
25
|
+
readonly versionConflictError: (value: CandidApi.preEncounter.VersionConflictErrorBody) => CandidApi.preEncounter.patients.v1.patients.create.Error.VersionConflictError;
|
|
26
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.preEncounter.patients.v1.patients.create.Error._Unknown;
|
|
27
|
+
readonly _visit: <_Result>(value: CandidApi.preEncounter.patients.v1.patients.create.Error, visitor: CandidApi.preEncounter.patients.v1.patients.create.Error._Visitor<_Result>) => _Result;
|
|
28
28
|
};
|
|
@@ -27,14 +27,14 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.Error = void 0;
|
|
30
|
-
const CandidApi = __importStar(require("
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../../../../../index"));
|
|
31
31
|
exports.Error = {
|
|
32
32
|
versionConflictError: (value) => {
|
|
33
33
|
return {
|
|
34
34
|
content: value,
|
|
35
35
|
errorName: "VersionConflictError",
|
|
36
36
|
_visit: function (visitor) {
|
|
37
|
-
return CandidApi.preEncounter.patients.create.Error._visit(this, visitor);
|
|
37
|
+
return CandidApi.preEncounter.patients.v1.patients.create.Error._visit(this, visitor);
|
|
38
38
|
},
|
|
39
39
|
};
|
|
40
40
|
},
|
|
@@ -43,7 +43,7 @@ exports.Error = {
|
|
|
43
43
|
errorName: undefined,
|
|
44
44
|
content: fetcherError,
|
|
45
45
|
_visit: function (visitor) {
|
|
46
|
-
return CandidApi.preEncounter.patients.create.Error._visit(this, visitor);
|
|
46
|
+
return CandidApi.preEncounter.patients.v1.patients.create.Error._visit(this, visitor);
|
|
47
47
|
},
|
|
48
48
|
};
|
|
49
49
|
},
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as CandidApi from "
|
|
5
|
-
import * as core from "
|
|
6
|
-
export declare type Error = CandidApi.preEncounter.patients.deactivate.Error.NotFoundError | CandidApi.preEncounter.patients.deactivate.Error.VersionConflictError | CandidApi.preEncounter.patients.deactivate.Error._Unknown;
|
|
4
|
+
import * as CandidApi from "../../../../../../../../../index";
|
|
5
|
+
import * as core from "../../../../../../../../../../core";
|
|
6
|
+
export declare type Error = CandidApi.preEncounter.patients.v1.patients.deactivate.Error.NotFoundError | CandidApi.preEncounter.patients.v1.patients.deactivate.Error.VersionConflictError | CandidApi.preEncounter.patients.v1.patients.deactivate.Error._Unknown;
|
|
7
7
|
export declare namespace Error {
|
|
8
8
|
interface NotFoundError extends _Utils {
|
|
9
9
|
errorName: "NotFoundError";
|
|
@@ -18,7 +18,7 @@ export declare namespace Error {
|
|
|
18
18
|
content: core.Fetcher.Error;
|
|
19
19
|
}
|
|
20
20
|
interface _Utils {
|
|
21
|
-
_visit: <_Result>(visitor: CandidApi.preEncounter.patients.deactivate.Error._Visitor<_Result>) => _Result;
|
|
21
|
+
_visit: <_Result>(visitor: CandidApi.preEncounter.patients.v1.patients.deactivate.Error._Visitor<_Result>) => _Result;
|
|
22
22
|
}
|
|
23
23
|
interface _Visitor<_Result> {
|
|
24
24
|
notFoundError: (value: CandidApi.preEncounter.NotFoundErrorBody) => _Result;
|
|
@@ -27,8 +27,8 @@ export declare namespace Error {
|
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
export declare const Error: {
|
|
30
|
-
readonly notFoundError: (value: CandidApi.preEncounter.NotFoundErrorBody) => CandidApi.preEncounter.patients.deactivate.Error.NotFoundError;
|
|
31
|
-
readonly versionConflictError: (value: CandidApi.preEncounter.VersionConflictErrorBody) => CandidApi.preEncounter.patients.deactivate.Error.VersionConflictError;
|
|
32
|
-
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.preEncounter.patients.deactivate.Error._Unknown;
|
|
33
|
-
readonly _visit: <_Result>(value: CandidApi.preEncounter.patients.deactivate.Error, visitor: CandidApi.preEncounter.patients.deactivate.Error._Visitor<_Result>) => _Result;
|
|
30
|
+
readonly notFoundError: (value: CandidApi.preEncounter.NotFoundErrorBody) => CandidApi.preEncounter.patients.v1.patients.deactivate.Error.NotFoundError;
|
|
31
|
+
readonly versionConflictError: (value: CandidApi.preEncounter.VersionConflictErrorBody) => CandidApi.preEncounter.patients.v1.patients.deactivate.Error.VersionConflictError;
|
|
32
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.preEncounter.patients.v1.patients.deactivate.Error._Unknown;
|
|
33
|
+
readonly _visit: <_Result>(value: CandidApi.preEncounter.patients.v1.patients.deactivate.Error, visitor: CandidApi.preEncounter.patients.v1.patients.deactivate.Error._Visitor<_Result>) => _Result;
|
|
34
34
|
};
|
|
@@ -27,14 +27,14 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.Error = void 0;
|
|
30
|
-
const CandidApi = __importStar(require("
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../../../../../index"));
|
|
31
31
|
exports.Error = {
|
|
32
32
|
notFoundError: (value) => {
|
|
33
33
|
return {
|
|
34
34
|
content: value,
|
|
35
35
|
errorName: "NotFoundError",
|
|
36
36
|
_visit: function (visitor) {
|
|
37
|
-
return CandidApi.preEncounter.patients.deactivate.Error._visit(this, visitor);
|
|
37
|
+
return CandidApi.preEncounter.patients.v1.patients.deactivate.Error._visit(this, visitor);
|
|
38
38
|
},
|
|
39
39
|
};
|
|
40
40
|
},
|
|
@@ -43,7 +43,7 @@ exports.Error = {
|
|
|
43
43
|
content: value,
|
|
44
44
|
errorName: "VersionConflictError",
|
|
45
45
|
_visit: function (visitor) {
|
|
46
|
-
return CandidApi.preEncounter.patients.deactivate.Error._visit(this, visitor);
|
|
46
|
+
return CandidApi.preEncounter.patients.v1.patients.deactivate.Error._visit(this, visitor);
|
|
47
47
|
},
|
|
48
48
|
};
|
|
49
49
|
},
|
|
@@ -52,7 +52,7 @@ exports.Error = {
|
|
|
52
52
|
errorName: undefined,
|
|
53
53
|
content: fetcherError,
|
|
54
54
|
_visit: function (visitor) {
|
|
55
|
-
return CandidApi.preEncounter.patients.deactivate.Error._visit(this, visitor);
|
|
55
|
+
return CandidApi.preEncounter.patients.v1.patients.deactivate.Error._visit(this, visitor);
|
|
56
56
|
},
|
|
57
57
|
};
|
|
58
58
|
},
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as CandidApi from "
|
|
5
|
-
import * as core from "
|
|
6
|
-
export declare type Error = CandidApi.preEncounter.patients.get.Error.NotFoundError | CandidApi.preEncounter.patients.get.Error._Unknown;
|
|
4
|
+
import * as CandidApi from "../../../../../../../../../index";
|
|
5
|
+
import * as core from "../../../../../../../../../../core";
|
|
6
|
+
export declare type Error = CandidApi.preEncounter.patients.v1.patients.get.Error.NotFoundError | CandidApi.preEncounter.patients.v1.patients.get.Error._Unknown;
|
|
7
7
|
export declare namespace Error {
|
|
8
8
|
interface NotFoundError extends _Utils {
|
|
9
9
|
errorName: "NotFoundError";
|
|
@@ -14,7 +14,7 @@ export declare namespace Error {
|
|
|
14
14
|
content: core.Fetcher.Error;
|
|
15
15
|
}
|
|
16
16
|
interface _Utils {
|
|
17
|
-
_visit: <_Result>(visitor: CandidApi.preEncounter.patients.get.Error._Visitor<_Result>) => _Result;
|
|
17
|
+
_visit: <_Result>(visitor: CandidApi.preEncounter.patients.v1.patients.get.Error._Visitor<_Result>) => _Result;
|
|
18
18
|
}
|
|
19
19
|
interface _Visitor<_Result> {
|
|
20
20
|
notFoundError: (value: CandidApi.preEncounter.NotFoundErrorBody) => _Result;
|
|
@@ -22,7 +22,7 @@ export declare namespace Error {
|
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
export declare const Error: {
|
|
25
|
-
readonly notFoundError: (value: CandidApi.preEncounter.NotFoundErrorBody) => CandidApi.preEncounter.patients.get.Error.NotFoundError;
|
|
26
|
-
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.preEncounter.patients.get.Error._Unknown;
|
|
27
|
-
readonly _visit: <_Result>(value: CandidApi.preEncounter.patients.get.Error, visitor: CandidApi.preEncounter.patients.get.Error._Visitor<_Result>) => _Result;
|
|
25
|
+
readonly notFoundError: (value: CandidApi.preEncounter.NotFoundErrorBody) => CandidApi.preEncounter.patients.v1.patients.get.Error.NotFoundError;
|
|
26
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.preEncounter.patients.v1.patients.get.Error._Unknown;
|
|
27
|
+
readonly _visit: <_Result>(value: CandidApi.preEncounter.patients.v1.patients.get.Error, visitor: CandidApi.preEncounter.patients.v1.patients.get.Error._Visitor<_Result>) => _Result;
|
|
28
28
|
};
|
|
@@ -27,14 +27,14 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.Error = void 0;
|
|
30
|
-
const CandidApi = __importStar(require("
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../../../../../index"));
|
|
31
31
|
exports.Error = {
|
|
32
32
|
notFoundError: (value) => {
|
|
33
33
|
return {
|
|
34
34
|
content: value,
|
|
35
35
|
errorName: "NotFoundError",
|
|
36
36
|
_visit: function (visitor) {
|
|
37
|
-
return CandidApi.preEncounter.patients.get.Error._visit(this, visitor);
|
|
37
|
+
return CandidApi.preEncounter.patients.v1.patients.get.Error._visit(this, visitor);
|
|
38
38
|
},
|
|
39
39
|
};
|
|
40
40
|
},
|
|
@@ -43,7 +43,7 @@ exports.Error = {
|
|
|
43
43
|
errorName: undefined,
|
|
44
44
|
content: fetcherError,
|
|
45
45
|
_visit: function (visitor) {
|
|
46
|
-
return CandidApi.preEncounter.patients.get.Error._visit(this, visitor);
|
|
46
|
+
return CandidApi.preEncounter.patients.v1.patients.get.Error._visit(this, visitor);
|
|
47
47
|
},
|
|
48
48
|
};
|
|
49
49
|
},
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as CandidApi from "
|
|
5
|
-
import * as core from "
|
|
6
|
-
export declare type Error = CandidApi.preEncounter.patients.getHistory.Error.NotFoundError | CandidApi.preEncounter.patients.getHistory.Error._Unknown;
|
|
4
|
+
import * as CandidApi from "../../../../../../../../../index";
|
|
5
|
+
import * as core from "../../../../../../../../../../core";
|
|
6
|
+
export declare type Error = CandidApi.preEncounter.patients.v1.patients.getHistory.Error.NotFoundError | CandidApi.preEncounter.patients.v1.patients.getHistory.Error._Unknown;
|
|
7
7
|
export declare namespace Error {
|
|
8
8
|
interface NotFoundError extends _Utils {
|
|
9
9
|
errorName: "NotFoundError";
|
|
@@ -14,7 +14,7 @@ export declare namespace Error {
|
|
|
14
14
|
content: core.Fetcher.Error;
|
|
15
15
|
}
|
|
16
16
|
interface _Utils {
|
|
17
|
-
_visit: <_Result>(visitor: CandidApi.preEncounter.patients.getHistory.Error._Visitor<_Result>) => _Result;
|
|
17
|
+
_visit: <_Result>(visitor: CandidApi.preEncounter.patients.v1.patients.getHistory.Error._Visitor<_Result>) => _Result;
|
|
18
18
|
}
|
|
19
19
|
interface _Visitor<_Result> {
|
|
20
20
|
notFoundError: (value: CandidApi.preEncounter.NotFoundErrorBody) => _Result;
|
|
@@ -22,7 +22,7 @@ export declare namespace Error {
|
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
export declare const Error: {
|
|
25
|
-
readonly notFoundError: (value: CandidApi.preEncounter.NotFoundErrorBody) => CandidApi.preEncounter.patients.getHistory.Error.NotFoundError;
|
|
26
|
-
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.preEncounter.patients.getHistory.Error._Unknown;
|
|
27
|
-
readonly _visit: <_Result>(value: CandidApi.preEncounter.patients.getHistory.Error, visitor: CandidApi.preEncounter.patients.getHistory.Error._Visitor<_Result>) => _Result;
|
|
25
|
+
readonly notFoundError: (value: CandidApi.preEncounter.NotFoundErrorBody) => CandidApi.preEncounter.patients.v1.patients.getHistory.Error.NotFoundError;
|
|
26
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.preEncounter.patients.v1.patients.getHistory.Error._Unknown;
|
|
27
|
+
readonly _visit: <_Result>(value: CandidApi.preEncounter.patients.v1.patients.getHistory.Error, visitor: CandidApi.preEncounter.patients.v1.patients.getHistory.Error._Visitor<_Result>) => _Result;
|
|
28
28
|
};
|
|
@@ -27,14 +27,14 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.Error = void 0;
|
|
30
|
-
const CandidApi = __importStar(require("
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../../../../../index"));
|
|
31
31
|
exports.Error = {
|
|
32
32
|
notFoundError: (value) => {
|
|
33
33
|
return {
|
|
34
34
|
content: value,
|
|
35
35
|
errorName: "NotFoundError",
|
|
36
36
|
_visit: function (visitor) {
|
|
37
|
-
return CandidApi.preEncounter.
|
|
37
|
+
return CandidApi.preEncounter.patients.v1.patients.getHistory.Error._visit(this, visitor);
|
|
38
38
|
},
|
|
39
39
|
};
|
|
40
40
|
},
|
|
@@ -43,7 +43,7 @@ exports.Error = {
|
|
|
43
43
|
errorName: undefined,
|
|
44
44
|
content: fetcherError,
|
|
45
45
|
_visit: function (visitor) {
|
|
46
|
-
return CandidApi.preEncounter.
|
|
46
|
+
return CandidApi.preEncounter.patients.v1.patients.getHistory.Error._visit(this, visitor);
|
|
47
47
|
},
|
|
48
48
|
};
|
|
49
49
|
},
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from "./requests";
|
|
2
|
+
export * as create from "./create";
|
|
3
|
+
export * as get from "./get";
|
|
4
|
+
export * as getHistory from "./getHistory";
|
|
5
|
+
export * as update from "./update";
|
|
6
|
+
export * as deactivate from "./deactivate";
|
|
7
|
+
export * as search from "./search";
|
|
8
|
+
export * as scan from "./scan";
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
19
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
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.scan = exports.search = exports.deactivate = exports.update = exports.getHistory = exports.get = exports.create = void 0;
|
|
30
|
+
__exportStar(require("./requests"), exports);
|
|
31
|
+
exports.create = __importStar(require("./create"));
|
|
32
|
+
exports.get = __importStar(require("./get"));
|
|
33
|
+
exports.getHistory = __importStar(require("./getHistory"));
|
|
34
|
+
exports.update = __importStar(require("./update"));
|
|
35
|
+
exports.deactivate = __importStar(require("./deactivate"));
|
|
36
|
+
exports.search = __importStar(require("./search"));
|
|
37
|
+
exports.scan = __importStar(require("./scan"));
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as CandidApi from "
|
|
5
|
-
import * as core from "
|
|
6
|
-
export declare type Error = CandidApi.preEncounter.patients.scan.Error._Unknown;
|
|
4
|
+
import * as CandidApi from "../../../../../../../../../index";
|
|
5
|
+
import * as core from "../../../../../../../../../../core";
|
|
6
|
+
export declare type Error = CandidApi.preEncounter.patients.v1.patients.scan.Error._Unknown;
|
|
7
7
|
export declare namespace Error {
|
|
8
8
|
interface _Unknown extends _Utils {
|
|
9
9
|
errorName: void;
|
|
10
10
|
content: core.Fetcher.Error;
|
|
11
11
|
}
|
|
12
12
|
interface _Utils {
|
|
13
|
-
_visit: <_Result>(visitor: CandidApi.preEncounter.patients.scan.Error._Visitor<_Result>) => _Result;
|
|
13
|
+
_visit: <_Result>(visitor: CandidApi.preEncounter.patients.v1.patients.scan.Error._Visitor<_Result>) => _Result;
|
|
14
14
|
}
|
|
15
15
|
interface _Visitor<_Result> {
|
|
16
16
|
_other: (value: core.Fetcher.Error) => _Result;
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
export declare const Error: {
|
|
20
|
-
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.preEncounter.patients.scan.Error._Unknown;
|
|
21
|
-
readonly _visit: <_Result>(value: CandidApi.preEncounter.patients.scan.Error, visitor: CandidApi.preEncounter.patients.scan.Error._Visitor<_Result>) => _Result;
|
|
20
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.preEncounter.patients.v1.patients.scan.Error._Unknown;
|
|
21
|
+
readonly _visit: <_Result>(value: CandidApi.preEncounter.patients.v1.patients.scan.Error, visitor: CandidApi.preEncounter.patients.v1.patients.scan.Error._Visitor<_Result>) => _Result;
|
|
22
22
|
};
|
|
@@ -27,14 +27,14 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.Error = void 0;
|
|
30
|
-
const CandidApi = __importStar(require("
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../../../../../index"));
|
|
31
31
|
exports.Error = {
|
|
32
32
|
_unknown: (fetcherError) => {
|
|
33
33
|
return {
|
|
34
34
|
errorName: undefined,
|
|
35
35
|
content: fetcherError,
|
|
36
36
|
_visit: function (visitor) {
|
|
37
|
-
return CandidApi.preEncounter.patients.scan.Error._visit(this, visitor);
|
|
37
|
+
return CandidApi.preEncounter.patients.v1.patients.scan.Error._visit(this, visitor);
|
|
38
38
|
},
|
|
39
39
|
};
|
|
40
40
|
},
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as CandidApi from "
|
|
5
|
-
import * as core from "
|
|
6
|
-
export declare type Error = CandidApi.preEncounter.patients.search.Error._Unknown;
|
|
4
|
+
import * as CandidApi from "../../../../../../../../../index";
|
|
5
|
+
import * as core from "../../../../../../../../../../core";
|
|
6
|
+
export declare type Error = CandidApi.preEncounter.patients.v1.patients.search.Error._Unknown;
|
|
7
7
|
export declare namespace Error {
|
|
8
8
|
interface _Unknown extends _Utils {
|
|
9
9
|
errorName: void;
|
|
10
10
|
content: core.Fetcher.Error;
|
|
11
11
|
}
|
|
12
12
|
interface _Utils {
|
|
13
|
-
_visit: <_Result>(visitor: CandidApi.preEncounter.patients.search.Error._Visitor<_Result>) => _Result;
|
|
13
|
+
_visit: <_Result>(visitor: CandidApi.preEncounter.patients.v1.patients.search.Error._Visitor<_Result>) => _Result;
|
|
14
14
|
}
|
|
15
15
|
interface _Visitor<_Result> {
|
|
16
16
|
_other: (value: core.Fetcher.Error) => _Result;
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
export declare const Error: {
|
|
20
|
-
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.preEncounter.patients.search.Error._Unknown;
|
|
21
|
-
readonly _visit: <_Result>(value: CandidApi.preEncounter.patients.search.Error, visitor: CandidApi.preEncounter.patients.search.Error._Visitor<_Result>) => _Result;
|
|
20
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.preEncounter.patients.v1.patients.search.Error._Unknown;
|
|
21
|
+
readonly _visit: <_Result>(value: CandidApi.preEncounter.patients.v1.patients.search.Error, visitor: CandidApi.preEncounter.patients.v1.patients.search.Error._Visitor<_Result>) => _Result;
|
|
22
22
|
};
|
|
@@ -27,14 +27,14 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.Error = void 0;
|
|
30
|
-
const CandidApi = __importStar(require("
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../../../../../index"));
|
|
31
31
|
exports.Error = {
|
|
32
32
|
_unknown: (fetcherError) => {
|
|
33
33
|
return {
|
|
34
34
|
errorName: undefined,
|
|
35
35
|
content: fetcherError,
|
|
36
36
|
_visit: function (visitor) {
|
|
37
|
-
return CandidApi.preEncounter.patients.search.Error._visit(this, visitor);
|
|
37
|
+
return CandidApi.preEncounter.patients.v1.patients.search.Error._visit(this, visitor);
|
|
38
38
|
},
|
|
39
39
|
};
|
|
40
40
|
},
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as CandidApi from "
|
|
5
|
-
import * as core from "
|
|
6
|
-
export declare type Error = CandidApi.preEncounter.patients.update.Error.NotFoundError | CandidApi.preEncounter.patients.update.Error.VersionConflictError | CandidApi.preEncounter.patients.update.Error._Unknown;
|
|
4
|
+
import * as CandidApi from "../../../../../../../../../index";
|
|
5
|
+
import * as core from "../../../../../../../../../../core";
|
|
6
|
+
export declare type Error = CandidApi.preEncounter.patients.v1.patients.update.Error.NotFoundError | CandidApi.preEncounter.patients.v1.patients.update.Error.VersionConflictError | CandidApi.preEncounter.patients.v1.patients.update.Error._Unknown;
|
|
7
7
|
export declare namespace Error {
|
|
8
8
|
interface NotFoundError extends _Utils {
|
|
9
9
|
errorName: "NotFoundError";
|
|
@@ -18,7 +18,7 @@ export declare namespace Error {
|
|
|
18
18
|
content: core.Fetcher.Error;
|
|
19
19
|
}
|
|
20
20
|
interface _Utils {
|
|
21
|
-
_visit: <_Result>(visitor: CandidApi.preEncounter.patients.update.Error._Visitor<_Result>) => _Result;
|
|
21
|
+
_visit: <_Result>(visitor: CandidApi.preEncounter.patients.v1.patients.update.Error._Visitor<_Result>) => _Result;
|
|
22
22
|
}
|
|
23
23
|
interface _Visitor<_Result> {
|
|
24
24
|
notFoundError: (value: CandidApi.preEncounter.NotFoundErrorBody) => _Result;
|
|
@@ -27,8 +27,8 @@ export declare namespace Error {
|
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
export declare const Error: {
|
|
30
|
-
readonly notFoundError: (value: CandidApi.preEncounter.NotFoundErrorBody) => CandidApi.preEncounter.patients.update.Error.NotFoundError;
|
|
31
|
-
readonly versionConflictError: (value: CandidApi.preEncounter.VersionConflictErrorBody) => CandidApi.preEncounter.patients.update.Error.VersionConflictError;
|
|
32
|
-
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.preEncounter.patients.update.Error._Unknown;
|
|
33
|
-
readonly _visit: <_Result>(value: CandidApi.preEncounter.patients.update.Error, visitor: CandidApi.preEncounter.patients.update.Error._Visitor<_Result>) => _Result;
|
|
30
|
+
readonly notFoundError: (value: CandidApi.preEncounter.NotFoundErrorBody) => CandidApi.preEncounter.patients.v1.patients.update.Error.NotFoundError;
|
|
31
|
+
readonly versionConflictError: (value: CandidApi.preEncounter.VersionConflictErrorBody) => CandidApi.preEncounter.patients.v1.patients.update.Error.VersionConflictError;
|
|
32
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.preEncounter.patients.v1.patients.update.Error._Unknown;
|
|
33
|
+
readonly _visit: <_Result>(value: CandidApi.preEncounter.patients.v1.patients.update.Error, visitor: CandidApi.preEncounter.patients.v1.patients.update.Error._Visitor<_Result>) => _Result;
|
|
34
34
|
};
|
|
@@ -27,14 +27,14 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.Error = void 0;
|
|
30
|
-
const CandidApi = __importStar(require("
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../../../../../index"));
|
|
31
31
|
exports.Error = {
|
|
32
32
|
notFoundError: (value) => {
|
|
33
33
|
return {
|
|
34
34
|
content: value,
|
|
35
35
|
errorName: "NotFoundError",
|
|
36
36
|
_visit: function (visitor) {
|
|
37
|
-
return CandidApi.preEncounter.
|
|
37
|
+
return CandidApi.preEncounter.patients.v1.patients.update.Error._visit(this, visitor);
|
|
38
38
|
},
|
|
39
39
|
};
|
|
40
40
|
},
|
|
@@ -43,7 +43,7 @@ exports.Error = {
|
|
|
43
43
|
content: value,
|
|
44
44
|
errorName: "VersionConflictError",
|
|
45
45
|
_visit: function (visitor) {
|
|
46
|
-
return CandidApi.preEncounter.
|
|
46
|
+
return CandidApi.preEncounter.patients.v1.patients.update.Error._visit(this, visitor);
|
|
47
47
|
},
|
|
48
48
|
};
|
|
49
49
|
},
|
|
@@ -52,7 +52,7 @@ exports.Error = {
|
|
|
52
52
|
errorName: undefined,
|
|
53
53
|
content: fetcherError,
|
|
54
54
|
_visit: function (visitor) {
|
|
55
|
-
return CandidApi.preEncounter.
|
|
55
|
+
return CandidApi.preEncounter.patients.v1.patients.update.Error._visit(this, visitor);
|
|
56
56
|
},
|
|
57
57
|
};
|
|
58
58
|
},
|
package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
18
|
+
__exportStar(require("./client"), exports);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as CandidApi from "
|
|
4
|
+
import * as CandidApi from "../../../../../../../../../index";
|
|
5
5
|
export interface Contact {
|
|
6
6
|
relationship: CandidApi.preEncounter.Relationship[];
|
|
7
7
|
name: CandidApi.preEncounter.HumanName;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as CandidApi from "
|
|
4
|
+
import * as CandidApi from "../../../../../../../../../index";
|
|
5
5
|
export interface ExternalProvider {
|
|
6
6
|
name: CandidApi.preEncounter.HumanName;
|
|
7
7
|
telecoms: CandidApi.preEncounter.ContactPoint[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as CandidApi from "
|
|
4
|
+
import * as CandidApi from "../../../../../../../../../index";
|
|
5
5
|
/**
|
|
6
6
|
* An object representing patient demographics information.
|
|
7
7
|
*/
|
|
@@ -11,7 +11,7 @@ export interface MutablePatient {
|
|
|
11
11
|
otherNames: CandidApi.preEncounter.HumanName[];
|
|
12
12
|
gender: CandidApi.preEncounter.Gender;
|
|
13
13
|
birthDate: string;
|
|
14
|
-
maritalStatus?: CandidApi.preEncounter.MaritalStatus;
|
|
14
|
+
maritalStatus?: CandidApi.preEncounter.patients.v1.MaritalStatus;
|
|
15
15
|
/** Time of death for the patient. Leave unset if the patient is not deceased. */
|
|
16
16
|
deceased?: Date;
|
|
17
17
|
/** The number of siblings the patient was born with. Leave unset if the patient was not part of a multiple birth. */
|
|
@@ -27,8 +27,8 @@ export interface MutablePatient {
|
|
|
27
27
|
photo?: string;
|
|
28
28
|
language?: string;
|
|
29
29
|
/** Information about the upstream system that owns this patient data. Leave unset if Candid owns patient data. */
|
|
30
|
-
externalProvenance?: CandidApi.preEncounter.ExternalProvenance;
|
|
30
|
+
externalProvenance?: CandidApi.preEncounter.patients.v1.ExternalProvenance;
|
|
31
31
|
/** Contacts for the patient. */
|
|
32
|
-
contacts: CandidApi.preEncounter.Contact[];
|
|
33
|
-
generalPractitioners: CandidApi.preEncounter.ExternalProvider[];
|
|
32
|
+
contacts: CandidApi.preEncounter.patients.v1.Contact[];
|
|
33
|
+
generalPractitioners: CandidApi.preEncounter.patients.v1.ExternalProvider[];
|
|
34
34
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as CandidApi from "
|
|
4
|
+
import * as CandidApi from "../../../../../../../../../index";
|
|
5
5
|
/**
|
|
6
6
|
* A patient object with immutable server-owned properties.
|
|
7
7
|
*/
|
|
8
|
-
export interface Patient extends CandidApi.preEncounter.MutablePatient {
|
|
9
|
-
id: CandidApi.preEncounter.PatientId;
|
|
8
|
+
export interface Patient extends CandidApi.preEncounter.patients.v1.MutablePatient {
|
|
9
|
+
id: CandidApi.preEncounter.patients.v1.PatientId;
|
|
10
10
|
/** The organization that owns this patient. */
|
|
11
11
|
organizationId: CandidApi.preEncounter.OrganizationId;
|
|
12
12
|
/** True if the patient is deactivated. Deactivated patients are not returned in search results but are returned in all other endpoints including scan. */
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as CandidApi from "
|
|
4
|
+
import * as CandidApi from "../../../../../../../../../index";
|
|
5
5
|
/**
|
|
6
6
|
* The unique identifier for a Patient
|
|
7
7
|
*/
|
|
8
8
|
export declare type PatientId = string & {
|
|
9
|
-
|
|
9
|
+
preEncounter_patients_v1_PatientId: void;
|
|
10
10
|
};
|
|
11
|
-
export declare function PatientId(value: string): CandidApi.preEncounter.PatientId;
|
|
11
|
+
export declare function PatientId(value: string): CandidApi.preEncounter.patients.v1.PatientId;
|
|
@@ -6,12 +6,15 @@ import * as core from "../../../../core";
|
|
|
6
6
|
import * as CandidApi from "../../../index";
|
|
7
7
|
export declare namespace ServiceFacility {
|
|
8
8
|
interface Options {
|
|
9
|
-
environment?: core.Supplier<environments.CandidApiEnvironment |
|
|
9
|
+
environment?: core.Supplier<environments.CandidApiEnvironment | environments.CandidApiEnvironmentUrls>;
|
|
10
10
|
token?: core.Supplier<core.BearerToken | undefined>;
|
|
11
11
|
}
|
|
12
12
|
interface RequestOptions {
|
|
13
|
+
/** The maximum time to wait for a response in seconds. */
|
|
13
14
|
timeoutInSeconds?: number;
|
|
15
|
+
/** The number of times to retry the request. Defaults to 2. */
|
|
14
16
|
maxRetries?: number;
|
|
17
|
+
/** A hook to abort the request. */
|
|
15
18
|
abortSignal?: AbortSignal;
|
|
16
19
|
}
|
|
17
20
|
}
|
|
@@ -24,7 +27,7 @@ export declare class ServiceFacility {
|
|
|
24
27
|
* @param {ServiceFacility.RequestOptions} requestOptions - Request-specific configuration.
|
|
25
28
|
*
|
|
26
29
|
* @example
|
|
27
|
-
* await
|
|
30
|
+
* await client.serviceFacility.update(CandidApi.ServiceFacilityId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
28
31
|
* organizationName: "string",
|
|
29
32
|
* npi: "string",
|
|
30
33
|
* address: {
|