candidhealth 0.24.2 → 0.24.4
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 +6 -3
- package/Client.js +46 -41
- package/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/api/resources/commons/types/Primitive.d.ts +14 -0
- package/api/resources/commons/types/Primitive.js +12 -0
- package/api/resources/commons/types/SchemaId.d.ts +8 -0
- package/api/resources/commons/types/SchemaId.js +10 -0
- package/api/resources/commons/types/index.d.ts +2 -0
- package/api/resources/commons/types/index.js +2 -0
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/customSchemas/client/Client.d.ts +26 -0
- package/api/resources/customSchemas/client/Client.js +17 -0
- package/api/resources/customSchemas/client/index.d.ts +1 -0
- package/api/resources/customSchemas/index.d.ts +2 -0
- package/api/resources/customSchemas/index.js +18 -0
- package/api/resources/customSchemas/resources/index.d.ts +1 -0
- package/api/resources/customSchemas/resources/index.js +27 -0
- package/api/resources/customSchemas/resources/v1/client/Client.d.ts +80 -0
- package/api/resources/customSchemas/resources/v1/client/Client.js +325 -0
- package/api/resources/customSchemas/resources/v1/client/create.d.ts +28 -0
- package/api/resources/customSchemas/resources/v1/client/create.js +58 -0
- package/api/resources/customSchemas/resources/v1/client/get.d.ts +34 -0
- package/api/resources/customSchemas/resources/v1/client/get.js +69 -0
- package/api/resources/customSchemas/resources/v1/client/getMulti.d.ts +28 -0
- package/api/resources/customSchemas/resources/v1/client/getMulti.js +58 -0
- package/api/resources/{preEncounter/resources/coverages/resources/v1/resources/coverages → customSchemas/resources/v1}/client/index.d.ts +2 -4
- package/api/resources/{preEncounter/resources/coverages/resources/v1/resources/coverages → customSchemas/resources/v1}/client/index.js +3 -5
- package/api/resources/customSchemas/resources/v1/client/requests/SchemaCreate.d.ts +20 -0
- package/api/resources/customSchemas/resources/v1/client/requests/SchemaUpdate.d.ts +21 -0
- package/api/resources/customSchemas/resources/v1/client/requests/index.d.ts +2 -0
- package/api/resources/customSchemas/resources/v1/client/update.d.ts +40 -0
- package/api/resources/customSchemas/resources/v1/client/update.js +80 -0
- package/api/resources/customSchemas/resources/v1/types/KeyWithNameAlreadyExistsError.d.ts +8 -0
- package/api/resources/customSchemas/resources/v1/types/Schema.d.ts +10 -0
- package/api/resources/customSchemas/resources/v1/types/SchemaField.d.ts +8 -0
- package/api/resources/customSchemas/resources/v1/types/SchemaGetMultiResponse.d.ts +7 -0
- package/api/resources/customSchemas/resources/v1/types/SchemaInstance.d.ts +22 -0
- package/api/resources/customSchemas/resources/v1/types/SchemaValidationError.d.ts +13 -0
- package/api/resources/customSchemas/resources/v1/types/SchemaValidationFailure.d.ts +7 -0
- package/api/resources/customSchemas/resources/v1/types/SchemaWithNameAlreadyExistsError.d.ts +8 -0
- package/api/resources/customSchemas/resources/v1/types/index.d.ts +8 -0
- package/api/resources/customSchemas/resources/v1/types/index.js +24 -0
- package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/api/resources/encounters/resources/v4/client/Client.d.ts +19 -1
- package/api/resources/encounters/resources/v4/client/Client.js +25 -5
- package/api/resources/encounters/resources/v4/client/create.d.ts +7 -1
- package/api/resources/encounters/resources/v4/client/create.js +11 -0
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +15 -0
- package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +18 -1
- package/api/resources/encounters/resources/v4/client/update.d.ts +7 -1
- package/api/resources/encounters/resources/v4/client/update.js +11 -0
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +15 -1
- package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +10 -1
- package/api/resources/encounters/resources/v4/types/KeyDoesNotExistError.d.ts +8 -0
- package/api/resources/encounters/resources/v4/types/MultipleInstancesForSchemaError.d.ts +7 -0
- package/api/resources/encounters/resources/v4/types/SchemaDoesNotExistError.d.ts +7 -0
- package/api/resources/encounters/resources/v4/types/SchemaInstanceValidationError.d.ts +22 -0
- package/api/resources/encounters/resources/v4/types/SchemaInstanceValidationFailure.d.ts +7 -0
- package/api/resources/encounters/resources/v4/types/SchemaUnauthorizedAccessError.d.ts +7 -0
- package/api/resources/encounters/resources/v4/types/ValueDoesNotMatchKeyTypeError.d.ts +10 -0
- package/api/resources/encounters/resources/v4/types/index.d.ts +7 -0
- package/api/resources/encounters/resources/v4/types/index.js +7 -0
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/api/resources/index.d.ts +2 -1
- package/api/resources/index.js +3 -2
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/common/types/DisabilityStatus.d.ts +8 -0
- package/api/resources/preEncounter/resources/{coverages/resources/v1/resources/coverages/types/CoverageType.js → common/types/DisabilityStatus.js} +4 -4
- package/api/resources/preEncounter/resources/common/types/Ethnicity.d.ts +10 -0
- package/api/resources/preEncounter/resources/common/types/Ethnicity.js +12 -0
- package/api/resources/preEncounter/resources/common/types/Gender.d.ts +6 -3
- package/api/resources/preEncounter/resources/common/types/Gender.js +5 -2
- package/api/resources/preEncounter/resources/common/types/Race.d.ts +15 -0
- package/api/resources/preEncounter/resources/common/types/Race.js +17 -0
- package/api/resources/preEncounter/resources/common/types/Sex.d.ts +10 -0
- package/api/resources/preEncounter/resources/common/types/Sex.js +12 -0
- package/api/resources/preEncounter/resources/common/types/SexualOrientation.d.ts +13 -0
- package/api/resources/preEncounter/resources/common/types/SexualOrientation.js +15 -0
- package/api/resources/preEncounter/resources/common/types/index.d.ts +5 -0
- package/api/resources/preEncounter/resources/common/types/index.js +5 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +108 -3
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +420 -3
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/create.d.ts +22 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/create.js +47 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/get.d.ts +6 -6
- package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/client/get.js +2 -2
- package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/client/getHistory.d.ts +7 -7
- package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/coverages/resources/v1}/client/getHistory.js +3 -3
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/getMulti.d.ts +22 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/getMulti.js +47 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +7 -1
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/index.js +34 -0
- package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/client/scan.d.ts +6 -6
- package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/coverages/resources/v1}/client/scan.js +2 -2
- package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/update.d.ts +8 -8
- package/api/resources/preEncounter/resources/{patients/resources/v1/resources/patients → coverages/resources/v1}/client/update.js +4 -4
- package/api/resources/preEncounter/resources/coverages/resources/v1/index.d.ts +1 -1
- package/api/resources/preEncounter/resources/coverages/resources/v1/index.js +1 -1
- package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/types/Coverage.d.ts +1 -1
- package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/types/CoverageId.d.ts +1 -1
- package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/InsurancePlan.d.ts +2 -2
- package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/types/MutableCoverage.d.ts +1 -1
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.d.ts +82 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.js +27 -0
- package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/types/Subscriber.d.ts +1 -1
- package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/types/index.d.ts +1 -1
- package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/types/index.js +1 -1
- package/api/resources/preEncounter/resources/index.d.ts +2 -2
- package/api/resources/preEncounter/resources/index.js +3 -3
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +167 -3
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +554 -3
- package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/create.d.ts +7 -7
- package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/create.js +3 -3
- package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/patients/resources/v1}/client/deactivate.d.ts +8 -8
- package/api/resources/preEncounter/resources/patients/resources/v1/client/deactivate.js +69 -0
- package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/patients/resources/v1}/client/get.d.ts +7 -7
- package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/patients/resources/v1}/client/get.js +3 -3
- package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/getHistory.d.ts +7 -7
- package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/getHistory.js +3 -3
- package/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +8 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +35 -0
- package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/patients/resources/v1}/client/scan.d.ts +6 -6
- package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/scan.js +2 -2
- package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/search.d.ts +6 -6
- package/api/resources/preEncounter/resources/patients/resources/v1/client/search.js +47 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/update.d.ts +8 -8
- package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/patients/resources/v1}/client/update.js +4 -4
- package/api/resources/preEncounter/resources/patients/resources/v1/index.d.ts +1 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/index.js +1 -1
- package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/patients/resources/v1}/types/Contact.d.ts +1 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/types/ExternalProvenance.js +5 -0
- package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/patients/resources/v1}/types/ExternalProvider.d.ts +2 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/types/ExternalProvider.js +5 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/FilingOrder.d.ts +10 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/FilingOrder.js +5 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MutablePatient.d.ts +12 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +5 -0
- package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/patients/resources/v1}/types/Patient.d.ts +4 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/types/Patient.js +5 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/PatientId.d.ts +1 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/index.js +1 -0
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/Client.d.ts +6 -3
- package/dist/Client.js +46 -41
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/commons/types/Primitive.d.ts +14 -0
- package/dist/api/resources/commons/types/Primitive.js +12 -0
- package/dist/api/resources/commons/types/SchemaId.d.ts +8 -0
- package/dist/api/resources/commons/types/SchemaId.js +10 -0
- package/dist/api/resources/commons/types/index.d.ts +2 -0
- package/dist/api/resources/commons/types/index.js +2 -0
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/customSchemas/client/Client.d.ts +26 -0
- package/dist/api/resources/customSchemas/client/Client.js +17 -0
- package/dist/api/resources/customSchemas/client/index.d.ts +1 -0
- package/dist/api/resources/customSchemas/client/index.js +2 -0
- package/dist/api/resources/customSchemas/index.d.ts +2 -0
- package/dist/api/resources/customSchemas/index.js +18 -0
- package/dist/api/resources/customSchemas/resources/index.d.ts +1 -0
- package/dist/api/resources/customSchemas/resources/index.js +27 -0
- package/dist/api/resources/customSchemas/resources/v1/client/Client.d.ts +80 -0
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +325 -0
- package/dist/api/resources/customSchemas/resources/v1/client/create.d.ts +28 -0
- package/dist/api/resources/customSchemas/resources/v1/client/create.js +58 -0
- package/dist/api/resources/customSchemas/resources/v1/client/get.d.ts +34 -0
- package/dist/api/resources/customSchemas/resources/v1/client/get.js +69 -0
- package/dist/api/resources/customSchemas/resources/v1/client/getMulti.d.ts +28 -0
- package/dist/api/resources/customSchemas/resources/v1/client/getMulti.js +58 -0
- package/dist/api/resources/{preEncounter/resources/coverages/resources/v1/resources/coverages → customSchemas/resources/v1}/client/index.d.ts +2 -4
- package/dist/api/resources/{preEncounter/resources/coverages/resources/v1/resources/coverages → customSchemas/resources/v1}/client/index.js +3 -5
- package/dist/api/resources/customSchemas/resources/v1/client/requests/SchemaCreate.d.ts +20 -0
- package/dist/api/resources/customSchemas/resources/v1/client/requests/SchemaCreate.js +5 -0
- package/dist/api/resources/customSchemas/resources/v1/client/requests/SchemaUpdate.d.ts +21 -0
- package/dist/api/resources/customSchemas/resources/v1/client/requests/SchemaUpdate.js +5 -0
- package/dist/api/resources/customSchemas/resources/v1/client/requests/index.d.ts +2 -0
- package/dist/api/resources/customSchemas/resources/v1/client/requests/index.js +2 -0
- package/dist/api/resources/customSchemas/resources/v1/client/update.d.ts +40 -0
- package/dist/api/resources/customSchemas/resources/v1/client/update.js +80 -0
- package/dist/api/resources/customSchemas/resources/v1/types/KeyWithNameAlreadyExistsError.d.ts +8 -0
- package/dist/api/resources/customSchemas/resources/v1/types/KeyWithNameAlreadyExistsError.js +5 -0
- package/dist/api/resources/customSchemas/resources/v1/types/Schema.d.ts +10 -0
- package/dist/api/resources/customSchemas/resources/v1/types/Schema.js +5 -0
- package/dist/api/resources/customSchemas/resources/v1/types/SchemaField.d.ts +8 -0
- package/dist/api/resources/customSchemas/resources/v1/types/SchemaField.js +5 -0
- package/dist/api/resources/customSchemas/resources/v1/types/SchemaGetMultiResponse.d.ts +7 -0
- package/dist/api/resources/customSchemas/resources/v1/types/SchemaGetMultiResponse.js +5 -0
- package/dist/api/resources/customSchemas/resources/v1/types/SchemaInstance.d.ts +22 -0
- package/dist/api/resources/customSchemas/resources/v1/types/SchemaInstance.js +5 -0
- package/dist/api/resources/customSchemas/resources/v1/types/SchemaValidationError.d.ts +13 -0
- package/dist/api/resources/customSchemas/resources/v1/types/SchemaValidationError.js +5 -0
- package/dist/api/resources/customSchemas/resources/v1/types/SchemaValidationFailure.d.ts +7 -0
- package/dist/api/resources/customSchemas/resources/v1/types/SchemaValidationFailure.js +5 -0
- package/dist/api/resources/customSchemas/resources/v1/types/SchemaWithNameAlreadyExistsError.d.ts +8 -0
- package/dist/api/resources/customSchemas/resources/v1/types/SchemaWithNameAlreadyExistsError.js +5 -0
- package/dist/api/resources/customSchemas/resources/v1/types/index.d.ts +8 -0
- package/dist/api/resources/customSchemas/resources/v1/types/index.js +24 -0
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +19 -1
- package/dist/api/resources/encounters/resources/v4/client/Client.js +25 -5
- package/dist/api/resources/encounters/resources/v4/client/create.d.ts +7 -1
- package/dist/api/resources/encounters/resources/v4/client/create.js +11 -0
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +15 -0
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +18 -1
- package/dist/api/resources/encounters/resources/v4/client/update.d.ts +7 -1
- package/dist/api/resources/encounters/resources/v4/client/update.js +11 -0
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +15 -1
- package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +10 -1
- package/dist/api/resources/encounters/resources/v4/types/KeyDoesNotExistError.d.ts +8 -0
- package/dist/api/resources/encounters/resources/v4/types/KeyDoesNotExistError.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/MultipleInstancesForSchemaError.d.ts +7 -0
- package/dist/api/resources/encounters/resources/v4/types/MultipleInstancesForSchemaError.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/SchemaDoesNotExistError.d.ts +7 -0
- package/dist/api/resources/encounters/resources/v4/types/SchemaDoesNotExistError.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/SchemaInstanceValidationError.d.ts +22 -0
- package/dist/api/resources/encounters/resources/v4/types/SchemaInstanceValidationError.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/SchemaInstanceValidationFailure.d.ts +7 -0
- package/dist/api/resources/encounters/resources/v4/types/SchemaInstanceValidationFailure.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/SchemaUnauthorizedAccessError.d.ts +7 -0
- package/dist/api/resources/encounters/resources/v4/types/SchemaUnauthorizedAccessError.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/ValueDoesNotMatchKeyTypeError.d.ts +10 -0
- package/dist/api/resources/encounters/resources/v4/types/ValueDoesNotMatchKeyTypeError.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/index.d.ts +7 -0
- package/dist/api/resources/encounters/resources/v4/types/index.js +7 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/index.d.ts +2 -1
- package/dist/api/resources/index.js +3 -2
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/common/types/DisabilityStatus.d.ts +8 -0
- package/dist/api/resources/preEncounter/resources/{coverages/resources/v1/resources/coverages/types/CoverageType.js → common/types/DisabilityStatus.js} +4 -4
- package/dist/api/resources/preEncounter/resources/common/types/Ethnicity.d.ts +10 -0
- package/dist/api/resources/preEncounter/resources/common/types/Ethnicity.js +12 -0
- package/dist/api/resources/preEncounter/resources/common/types/Gender.d.ts +6 -3
- package/dist/api/resources/preEncounter/resources/common/types/Gender.js +5 -2
- package/dist/api/resources/preEncounter/resources/common/types/Race.d.ts +15 -0
- package/dist/api/resources/preEncounter/resources/common/types/Race.js +17 -0
- package/dist/api/resources/preEncounter/resources/common/types/Sex.d.ts +10 -0
- package/dist/api/resources/preEncounter/resources/common/types/Sex.js +12 -0
- package/dist/api/resources/preEncounter/resources/common/types/SexualOrientation.d.ts +13 -0
- package/dist/api/resources/preEncounter/resources/common/types/SexualOrientation.js +15 -0
- package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +5 -0
- package/dist/api/resources/preEncounter/resources/common/types/index.js +5 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +108 -3
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +420 -3
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/create.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/create.js +47 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/get.d.ts +6 -6
- package/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/api/resources/preEncounter/resources/coverages/resources/v1}/client/get.js +2 -2
- package/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/api/resources/preEncounter/resources/coverages/resources/v1}/client/getHistory.d.ts +7 -7
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.js +58 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/getMulti.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/getMulti.js +47 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +7 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/index.js +34 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageScanRequest.js +5 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/GetAllCoveragesRequest.js +5 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/index.js +2 -0
- package/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/api/resources/preEncounter/resources/coverages/resources/v1}/client/scan.d.ts +6 -6
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/scan.js +47 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/update.d.ts +8 -8
- package/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/api/resources/preEncounter/resources/coverages/resources/v1}/client/update.js +4 -4
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/index.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/index.js +1 -1
- package/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/api/resources/preEncounter/resources/coverages/resources/v1}/types/Coverage.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/Coverage.js +5 -0
- package/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/api/resources/preEncounter/resources/coverages/resources/v1}/types/CoverageId.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/InsurancePlan.d.ts +2 -2
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.js +5 -0
- package/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/api/resources/preEncounter/resources/coverages/resources/v1}/types/MutableCoverage.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.js +5 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.d.ts +82 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.js +27 -0
- package/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/api/resources/preEncounter/resources/coverages/resources/v1}/types/Subscriber.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.js +5 -0
- package/dist/{serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/types/index.d.ts +1 -1
- package/dist/{serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/types/index.js +1 -1
- package/dist/api/resources/preEncounter/resources/index.d.ts +2 -2
- package/dist/api/resources/preEncounter/resources/index.js +3 -3
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +167 -3
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +554 -3
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/create.d.ts +7 -7
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/create.js +3 -3
- package/{api/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/api/resources/preEncounter/resources/patients/resources/v1}/client/deactivate.d.ts +8 -8
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/deactivate.js +69 -0
- package/{api/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/api/resources/preEncounter/resources/patients/resources/v1}/client/get.d.ts +7 -7
- package/{api/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/api/resources/preEncounter/resources/patients/resources/v1}/client/get.js +3 -3
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/getHistory.d.ts +7 -7
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/getHistory.js +58 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +8 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +35 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientScanRequest.js +5 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequest.js +5 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/index.js +2 -0
- package/{api/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/api/resources/preEncounter/resources/patients/resources/v1}/client/scan.d.ts +6 -6
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/scan.js +47 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/search.d.ts +6 -6
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/search.js +47 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/update.d.ts +8 -8
- package/dist/api/resources/preEncounter/resources/{coverages/resources/v1/resources/coverages → patients/resources/v1}/client/update.js +4 -4
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/index.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/index.js +1 -1
- package/{api/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/api/resources/preEncounter/resources/patients/resources/v1}/types/Contact.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Contact.js +5 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/ExternalProvenance.js +5 -0
- package/{api/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/api/resources/preEncounter/resources/patients/resources/v1}/types/ExternalProvider.d.ts +2 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/ExternalProvider.js +5 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/FilingOrder.d.ts +10 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/FilingOrder.js +5 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MutablePatient.d.ts +12 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +5 -0
- package/{api/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/api/resources/preEncounter/resources/patients/resources/v1}/types/Patient.d.ts +4 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Patient.js +5 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/PatientId.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/index.js +1 -0
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/serialization/resources/commons/types/Primitive.d.ts +10 -0
- package/dist/serialization/resources/commons/types/Primitive.js +31 -0
- package/dist/serialization/resources/commons/types/SchemaId.d.ts +10 -0
- package/dist/serialization/resources/commons/types/SchemaId.js +37 -0
- package/dist/serialization/resources/commons/types/index.d.ts +2 -0
- package/dist/serialization/resources/commons/types/index.js +2 -0
- package/dist/serialization/resources/customSchemas/index.d.ts +1 -0
- package/dist/serialization/resources/customSchemas/index.js +17 -0
- package/dist/serialization/resources/customSchemas/resources/index.d.ts +1 -0
- package/dist/serialization/resources/customSchemas/resources/index.js +27 -0
- package/dist/serialization/resources/customSchemas/resources/v1/client/create.d.ts +15 -0
- package/dist/serialization/resources/customSchemas/resources/v1/client/create.js +61 -0
- package/dist/serialization/resources/customSchemas/resources/v1/client/get.d.ts +20 -0
- package/dist/serialization/resources/customSchemas/resources/v1/client/get.js +67 -0
- package/dist/serialization/resources/customSchemas/resources/v1/client/getMulti.d.ts +15 -0
- package/dist/serialization/resources/customSchemas/resources/v1/client/getMulti.js +61 -0
- package/dist/serialization/resources/customSchemas/resources/v1/client/index.d.ts +5 -0
- package/{api/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/serialization/resources/customSchemas/resources/v1}/client/index.js +7 -10
- package/dist/serialization/resources/customSchemas/resources/v1/client/requests/SchemaCreate.d.ts +15 -0
- package/dist/serialization/resources/customSchemas/resources/v1/client/requests/SchemaCreate.js +36 -0
- package/dist/serialization/resources/customSchemas/resources/v1/client/requests/SchemaUpdate.d.ts +15 -0
- package/dist/serialization/resources/customSchemas/resources/v1/client/requests/SchemaUpdate.js +36 -0
- package/dist/serialization/resources/customSchemas/resources/v1/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/customSchemas/resources/v1/client/requests/index.js +7 -0
- package/dist/serialization/resources/customSchemas/resources/v1/client/update.d.ts +25 -0
- package/dist/serialization/resources/customSchemas/resources/v1/client/update.js +73 -0
- package/dist/serialization/resources/customSchemas/resources/v1/types/KeyWithNameAlreadyExistsError.d.ts +14 -0
- package/dist/serialization/resources/customSchemas/resources/v1/types/KeyWithNameAlreadyExistsError.js +35 -0
- package/dist/serialization/resources/customSchemas/resources/v1/types/Schema.d.ts +17 -0
- package/dist/serialization/resources/customSchemas/resources/v1/types/Schema.js +38 -0
- package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaField.d.ts +14 -0
- package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaField.js +35 -0
- package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaGetMultiResponse.d.ts +13 -0
- package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaGetMultiResponse.js +34 -0
- package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaInstance.d.ts +14 -0
- package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaInstance.js +35 -0
- package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaValidationError.d.ts +18 -0
- package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaValidationError.js +41 -0
- package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaValidationFailure.d.ts +13 -0
- package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaValidationFailure.js +34 -0
- package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaWithNameAlreadyExistsError.d.ts +14 -0
- package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaWithNameAlreadyExistsError.js +35 -0
- package/dist/serialization/resources/customSchemas/resources/v1/types/index.d.ts +8 -0
- package/dist/serialization/resources/customSchemas/resources/v1/types/index.js +24 -0
- package/dist/serialization/resources/encounters/resources/v4/client/create.d.ts +6 -1
- package/dist/serialization/resources/encounters/resources/v4/client/create.js +6 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +2 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +2 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +2 -0
- package/dist/serialization/resources/encounters/resources/v4/client/update.d.ts +6 -1
- package/dist/serialization/resources/encounters/resources/v4/client/update.js +6 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +2 -0
- package/dist/serialization/resources/encounters/resources/v4/types/KeyDoesNotExistError.d.ts +14 -0
- package/dist/serialization/resources/encounters/resources/v4/types/KeyDoesNotExistError.js +35 -0
- package/dist/serialization/resources/encounters/resources/v4/types/MultipleInstancesForSchemaError.d.ts +13 -0
- package/dist/serialization/resources/encounters/resources/v4/types/MultipleInstancesForSchemaError.js +34 -0
- package/dist/serialization/resources/encounters/resources/v4/types/SchemaDoesNotExistError.d.ts +13 -0
- package/dist/serialization/resources/encounters/resources/v4/types/SchemaDoesNotExistError.js +34 -0
- package/dist/serialization/resources/encounters/resources/v4/types/SchemaInstanceValidationError.d.ts +30 -0
- package/dist/serialization/resources/encounters/resources/v4/types/SchemaInstanceValidationError.js +47 -0
- package/dist/serialization/resources/encounters/resources/v4/types/SchemaInstanceValidationFailure.d.ts +13 -0
- package/dist/serialization/resources/encounters/resources/v4/types/SchemaInstanceValidationFailure.js +34 -0
- package/dist/serialization/resources/encounters/resources/v4/types/SchemaUnauthorizedAccessError.d.ts +13 -0
- package/dist/serialization/resources/encounters/resources/v4/types/SchemaUnauthorizedAccessError.js +34 -0
- package/dist/serialization/resources/encounters/resources/v4/types/ValueDoesNotMatchKeyTypeError.d.ts +17 -0
- package/dist/serialization/resources/encounters/resources/v4/types/ValueDoesNotMatchKeyTypeError.js +38 -0
- package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +7 -0
- package/dist/serialization/resources/encounters/resources/v4/types/index.js +7 -0
- package/dist/serialization/resources/index.d.ts +2 -1
- package/dist/serialization/resources/index.js +3 -2
- package/dist/serialization/resources/preEncounter/resources/common/types/DisabilityStatus.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/DisabilityStatus.js +31 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/Ethnicity.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/Ethnicity.js +31 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/Gender.d.ts +1 -1
- package/dist/serialization/resources/preEncounter/resources/common/types/Gender.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/common/types/Race.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/Race.js +41 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/Sex.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/{coverages/resources/v1/resources/coverages/types/CoverageType.js → common/types/Sex.js} +3 -3
- package/dist/serialization/resources/preEncounter/resources/common/types/SexualOrientation.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/SexualOrientation.js +31 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/index.d.ts +5 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/index.js +5 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.d.ts +20 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/getHistory.js +4 -4
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getMulti.d.ts +11 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/getMulti.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/scan.d.ts +11 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/scan.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/update.d.ts +20 -0
- package/dist/serialization/resources/preEncounter/resources/{patients/resources/v1/resources/patients → coverages/resources/v1}/client/update.js +6 -6
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/index.d.ts +2 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/index.js +2 -1
- package/{serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/serialization/resources/preEncounter/resources/coverages/resources/v1}/types/Coverage.d.ts +5 -5
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/Coverage.js +3 -3
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/CoverageId.d.ts +3 -3
- package/{serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/serialization/resources/preEncounter/resources/coverages/resources/v1}/types/CoverageId.js +2 -2
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/CoverageStatus.d.ts +3 -3
- package/{serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/serialization/resources/preEncounter/resources/coverages/resources/v1}/types/CoverageStatus.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/InsurancePlan.d.ts +7 -7
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/InsurancePlan.js +5 -5
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/MutableCoverage.d.ts +5 -5
- package/{serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/serialization/resources/preEncounter/resources/coverages/resources/v1}/types/MutableCoverage.js +3 -3
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.js +51 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/Subscriber.d.ts +5 -5
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/Subscriber.js +3 -3
- package/{serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/serialization/resources/preEncounter/resources/coverages/resources/v1}/types/index.d.ts +1 -1
- package/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/serialization/resources/preEncounter/resources/coverages/resources/v1}/types/index.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/index.d.ts +2 -2
- package/dist/serialization/resources/preEncounter/resources/index.js +3 -3
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/create.d.ts +15 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/create.js +4 -4
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/deactivate.d.ts +20 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/deactivate.js +67 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/get.d.ts +15 -0
- package/{serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/serialization/resources/preEncounter/resources/patients/resources/v1}/client/get.js +4 -4
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/getHistory.d.ts +20 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/getHistory.js +4 -4
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/scan.d.ts +11 -0
- package/{serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/serialization/resources/preEncounter/resources/patients/resources/v1}/client/scan.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/search.d.ts +11 -0
- package/{serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/serialization/resources/preEncounter/resources/patients/resources/v1}/client/search.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/update.d.ts +20 -0
- package/{serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/serialization/resources/preEncounter/resources/patients/resources/v1}/client/update.js +6 -6
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/index.d.ts +2 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/index.js +2 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Contact.d.ts +23 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/Contact.js +7 -7
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/ExternalProvenance.d.ts +3 -3
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/ExternalProvenance.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/ExternalProvider.d.ts +20 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/ExternalProvider.js +6 -5
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/FilingOrder.d.ts +13 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/FilingOrder.js +34 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MaritalStatus.d.ts +3 -3
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MaritalStatus.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +50 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MutablePatient.js +20 -5
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/Patient.d.ts +6 -5
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/Patient.js +4 -3
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/PatientId.d.ts +3 -3
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/PatientId.js +2 -2
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/index.js +1 -0
- package/package.json +1 -1
- package/reference.md +488 -391
- package/serialization/resources/commons/types/Primitive.d.ts +10 -0
- package/serialization/resources/commons/types/Primitive.js +31 -0
- package/serialization/resources/commons/types/SchemaId.d.ts +10 -0
- package/serialization/resources/commons/types/SchemaId.js +37 -0
- package/serialization/resources/commons/types/index.d.ts +2 -0
- package/serialization/resources/commons/types/index.js +2 -0
- package/serialization/resources/customSchemas/index.d.ts +1 -0
- package/serialization/resources/customSchemas/index.js +17 -0
- package/serialization/resources/customSchemas/resources/index.d.ts +1 -0
- package/serialization/resources/customSchemas/resources/index.js +27 -0
- package/serialization/resources/customSchemas/resources/v1/client/create.d.ts +15 -0
- package/serialization/resources/customSchemas/resources/v1/client/create.js +61 -0
- package/serialization/resources/customSchemas/resources/v1/client/get.d.ts +20 -0
- package/serialization/resources/customSchemas/resources/v1/client/get.js +67 -0
- package/serialization/resources/customSchemas/resources/v1/client/getMulti.d.ts +15 -0
- package/serialization/resources/customSchemas/resources/v1/client/getMulti.js +61 -0
- package/serialization/resources/customSchemas/resources/v1/client/index.d.ts +5 -0
- package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → serialization/resources/customSchemas/resources/v1}/client/index.js +7 -10
- package/serialization/resources/customSchemas/resources/v1/client/requests/SchemaCreate.d.ts +15 -0
- package/serialization/resources/customSchemas/resources/v1/client/requests/SchemaCreate.js +36 -0
- package/serialization/resources/customSchemas/resources/v1/client/requests/SchemaUpdate.d.ts +15 -0
- package/serialization/resources/customSchemas/resources/v1/client/requests/SchemaUpdate.js +36 -0
- package/serialization/resources/customSchemas/resources/v1/client/requests/index.d.ts +2 -0
- package/serialization/resources/customSchemas/resources/v1/client/requests/index.js +7 -0
- package/serialization/resources/customSchemas/resources/v1/client/update.d.ts +25 -0
- package/serialization/resources/customSchemas/resources/v1/client/update.js +73 -0
- package/serialization/resources/customSchemas/resources/v1/types/KeyWithNameAlreadyExistsError.d.ts +14 -0
- package/serialization/resources/customSchemas/resources/v1/types/KeyWithNameAlreadyExistsError.js +35 -0
- package/serialization/resources/customSchemas/resources/v1/types/Schema.d.ts +17 -0
- package/serialization/resources/customSchemas/resources/v1/types/Schema.js +38 -0
- package/serialization/resources/customSchemas/resources/v1/types/SchemaField.d.ts +14 -0
- package/serialization/resources/customSchemas/resources/v1/types/SchemaField.js +35 -0
- package/serialization/resources/customSchemas/resources/v1/types/SchemaGetMultiResponse.d.ts +13 -0
- package/serialization/resources/customSchemas/resources/v1/types/SchemaGetMultiResponse.js +34 -0
- package/serialization/resources/customSchemas/resources/v1/types/SchemaInstance.d.ts +14 -0
- package/serialization/resources/customSchemas/resources/v1/types/SchemaInstance.js +35 -0
- package/serialization/resources/customSchemas/resources/v1/types/SchemaValidationError.d.ts +18 -0
- package/serialization/resources/customSchemas/resources/v1/types/SchemaValidationError.js +41 -0
- package/serialization/resources/customSchemas/resources/v1/types/SchemaValidationFailure.d.ts +13 -0
- package/serialization/resources/customSchemas/resources/v1/types/SchemaValidationFailure.js +34 -0
- package/serialization/resources/customSchemas/resources/v1/types/SchemaWithNameAlreadyExistsError.d.ts +14 -0
- package/serialization/resources/customSchemas/resources/v1/types/SchemaWithNameAlreadyExistsError.js +35 -0
- package/serialization/resources/customSchemas/resources/v1/types/index.d.ts +8 -0
- package/serialization/resources/customSchemas/resources/v1/types/index.js +24 -0
- package/serialization/resources/encounters/resources/v4/client/create.d.ts +6 -1
- package/serialization/resources/encounters/resources/v4/client/create.js +6 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +2 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +2 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +2 -0
- package/serialization/resources/encounters/resources/v4/client/update.d.ts +6 -1
- package/serialization/resources/encounters/resources/v4/client/update.js +6 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.js +2 -0
- package/serialization/resources/encounters/resources/v4/types/KeyDoesNotExistError.d.ts +14 -0
- package/serialization/resources/encounters/resources/v4/types/KeyDoesNotExistError.js +35 -0
- package/serialization/resources/encounters/resources/v4/types/MultipleInstancesForSchemaError.d.ts +13 -0
- package/serialization/resources/encounters/resources/v4/types/MultipleInstancesForSchemaError.js +34 -0
- package/serialization/resources/encounters/resources/v4/types/SchemaDoesNotExistError.d.ts +13 -0
- package/serialization/resources/encounters/resources/v4/types/SchemaDoesNotExistError.js +34 -0
- package/serialization/resources/encounters/resources/v4/types/SchemaInstanceValidationError.d.ts +30 -0
- package/serialization/resources/encounters/resources/v4/types/SchemaInstanceValidationError.js +47 -0
- package/serialization/resources/encounters/resources/v4/types/SchemaInstanceValidationFailure.d.ts +13 -0
- package/serialization/resources/encounters/resources/v4/types/SchemaInstanceValidationFailure.js +34 -0
- package/serialization/resources/encounters/resources/v4/types/SchemaUnauthorizedAccessError.d.ts +13 -0
- package/serialization/resources/encounters/resources/v4/types/SchemaUnauthorizedAccessError.js +34 -0
- package/serialization/resources/encounters/resources/v4/types/ValueDoesNotMatchKeyTypeError.d.ts +17 -0
- package/serialization/resources/encounters/resources/v4/types/ValueDoesNotMatchKeyTypeError.js +38 -0
- package/serialization/resources/encounters/resources/v4/types/index.d.ts +7 -0
- package/serialization/resources/encounters/resources/v4/types/index.js +7 -0
- package/serialization/resources/index.d.ts +2 -1
- package/serialization/resources/index.js +3 -2
- package/serialization/resources/preEncounter/resources/common/types/DisabilityStatus.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/common/types/DisabilityStatus.js +31 -0
- package/serialization/resources/preEncounter/resources/common/types/Ethnicity.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/common/types/Ethnicity.js +31 -0
- package/serialization/resources/preEncounter/resources/common/types/Gender.d.ts +1 -1
- package/serialization/resources/preEncounter/resources/common/types/Gender.js +1 -1
- package/serialization/resources/preEncounter/resources/common/types/Race.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/common/types/Race.js +41 -0
- package/serialization/resources/preEncounter/resources/common/types/Sex.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/{coverages/resources/v1/resources/coverages/types/CoverageType.js → common/types/Sex.js} +3 -3
- package/serialization/resources/preEncounter/resources/common/types/SexualOrientation.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/common/types/SexualOrientation.js +31 -0
- package/serialization/resources/preEncounter/resources/common/types/index.d.ts +5 -0
- package/serialization/resources/preEncounter/resources/common/types/index.js +5 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.d.ts +20 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/getHistory.js +4 -4
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getMulti.d.ts +11 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/getMulti.js +1 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/scan.d.ts +11 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/scan.js +1 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/update.d.ts +20 -0
- package/{dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → serialization/resources/preEncounter/resources/coverages/resources/v1}/client/update.js +6 -6
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/index.d.ts +2 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/index.js +2 -1
- package/{dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → serialization/resources/preEncounter/resources/coverages/resources/v1}/types/Coverage.d.ts +5 -5
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/Coverage.js +3 -3
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/CoverageId.d.ts +3 -3
- package/{dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → serialization/resources/preEncounter/resources/coverages/resources/v1}/types/CoverageId.js +2 -2
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/CoverageStatus.d.ts +3 -3
- package/{dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → serialization/resources/preEncounter/resources/coverages/resources/v1}/types/CoverageStatus.js +1 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/InsurancePlan.d.ts +7 -7
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/InsurancePlan.js +5 -5
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/MutableCoverage.d.ts +5 -5
- package/{dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → serialization/resources/preEncounter/resources/coverages/resources/v1}/types/MutableCoverage.js +3 -3
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.js +51 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/Subscriber.d.ts +5 -5
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/Subscriber.js +3 -3
- package/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → serialization/resources/preEncounter/resources/coverages/resources/v1}/types/index.d.ts +1 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/index.js +1 -1
- package/serialization/resources/preEncounter/resources/index.d.ts +2 -2
- package/serialization/resources/preEncounter/resources/index.js +3 -3
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/create.d.ts +15 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/create.js +4 -4
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/deactivate.d.ts +20 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/deactivate.js +67 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/get.d.ts +15 -0
- package/{dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients → serialization/resources/preEncounter/resources/patients/resources/v1}/client/get.js +4 -4
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/getHistory.d.ts +20 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/getHistory.js +4 -4
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/scan.d.ts +11 -0
- package/{dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients → serialization/resources/preEncounter/resources/patients/resources/v1}/client/scan.js +1 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/search.d.ts +11 -0
- package/{dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients → serialization/resources/preEncounter/resources/patients/resources/v1}/client/search.js +1 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/update.d.ts +20 -0
- package/serialization/resources/preEncounter/resources/{coverages/resources/v1/resources/coverages → patients/resources/v1}/client/update.js +6 -6
- package/serialization/resources/preEncounter/resources/patients/resources/v1/index.d.ts +2 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/index.js +2 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Contact.d.ts +23 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/Contact.js +7 -7
- package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/ExternalProvenance.d.ts +3 -3
- package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/ExternalProvenance.js +1 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/ExternalProvider.d.ts +20 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/ExternalProvider.js +6 -5
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/FilingOrder.d.ts +13 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/FilingOrder.js +34 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MaritalStatus.d.ts +3 -3
- package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MaritalStatus.js +1 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +50 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MutablePatient.js +20 -5
- package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/Patient.d.ts +6 -5
- package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/Patient.js +4 -3
- package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/PatientId.d.ts +3 -3
- package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/PatientId.js +2 -2
- package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/index.js +1 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/Client.d.ts +0 -147
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/Client.js +0 -451
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/create.d.ts +0 -22
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/create.js +0 -47
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getHistory.js +0 -58
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.d.ts +0 -22
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.js +0 -47
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/scan.js +0 -47
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageType.d.ts +0 -8
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/index.d.ts +0 -3
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/index.js +0 -32
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/index.d.ts +0 -3
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/index.js +0 -32
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/Client.d.ts +0 -338
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/Client.js +0 -716
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.js +0 -69
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/index.d.ts +0 -8
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/search.js +0 -47
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/Client.d.ts +0 -147
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/Client.js +0 -451
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/create.d.ts +0 -22
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/create.js +0 -47
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getHistory.js +0 -58
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.d.ts +0 -22
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.js +0 -47
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/scan.js +0 -47
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageType.d.ts +0 -8
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/index.d.ts +0 -3
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/index.js +0 -32
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/index.d.ts +0 -3
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/index.js +0 -32
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/Client.d.ts +0 -338
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/Client.js +0 -716
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.js +0 -69
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/index.d.ts +0 -8
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/search.js +0 -47
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getHistory.d.ts +0 -20
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.d.ts +0 -11
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/scan.d.ts +0 -11
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/update.d.ts +0 -20
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.d.ts +0 -2
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.js +0 -18
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageType.d.ts +0 -10
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/index.d.ts +0 -2
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/index.js +0 -31
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/index.d.ts +0 -2
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/index.js +0 -31
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/create.d.ts +0 -15
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.d.ts +0 -20
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.js +0 -67
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/get.d.ts +0 -15
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/getHistory.d.ts +0 -20
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/scan.d.ts +0 -11
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/search.d.ts +0 -11
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/update.d.ts +0 -20
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.d.ts +0 -2
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.js +0 -18
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Contact.d.ts +0 -23
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvider.d.ts +0 -19
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MutablePatient.d.ts +0 -35
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getHistory.d.ts +0 -20
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.d.ts +0 -11
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/scan.d.ts +0 -11
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/update.d.ts +0 -20
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.d.ts +0 -2
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.js +0 -18
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageType.d.ts +0 -10
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/index.d.ts +0 -2
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/index.js +0 -31
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/index.d.ts +0 -2
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/index.js +0 -31
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/create.d.ts +0 -15
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.d.ts +0 -20
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.js +0 -67
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/get.d.ts +0 -15
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/getHistory.d.ts +0 -20
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/scan.d.ts +0 -11
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/search.d.ts +0 -11
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/update.d.ts +0 -20
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.d.ts +0 -2
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.js +0 -18
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Contact.d.ts +0 -23
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvider.d.ts +0 -19
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MutablePatient.d.ts +0 -35
- /package/api/resources/{preEncounter/resources/coverages/resources/v1/resources/coverages/client/requests → customSchemas/client}/index.js +0 -0
- /package/api/resources/{preEncounter/resources/coverages/resources/v1/resources/coverages/client/requests/CoverageScanRequest.js → customSchemas/resources/v1/client/requests/SchemaCreate.js} +0 -0
- /package/api/resources/{preEncounter/resources/coverages/resources/v1/resources/coverages/client/requests/GetAllCoveragesRequest.js → customSchemas/resources/v1/client/requests/SchemaUpdate.js} +0 -0
- /package/api/resources/{preEncounter/resources/patients/resources/v1/resources/patients → customSchemas/resources/v1}/client/requests/index.js +0 -0
- /package/api/resources/{preEncounter/resources/coverages/resources/v1/resources/coverages → customSchemas/resources/v1}/index.d.ts +0 -0
- /package/api/resources/{preEncounter/resources/coverages/resources/v1/resources/coverages → customSchemas/resources/v1}/index.js +0 -0
- /package/api/resources/{preEncounter/resources/coverages/resources/v1/resources/coverages/types/Coverage.js → customSchemas/resources/v1/types/KeyWithNameAlreadyExistsError.js} +0 -0
- /package/api/resources/{preEncounter/resources/coverages/resources/v1/resources/coverages/types/InsurancePlan.js → customSchemas/resources/v1/types/Schema.js} +0 -0
- /package/api/resources/{preEncounter/resources/coverages/resources/v1/resources/coverages/types/MutableCoverage.js → customSchemas/resources/v1/types/SchemaField.js} +0 -0
- /package/api/resources/{preEncounter/resources/coverages/resources/v1/resources/coverages/types/Subscriber.js → customSchemas/resources/v1/types/SchemaGetMultiResponse.js} +0 -0
- /package/api/resources/{preEncounter/resources/patients/resources/v1/resources/patients/client/requests/PatientScanRequest.js → customSchemas/resources/v1/types/SchemaInstance.js} +0 -0
- /package/api/resources/{preEncounter/resources/patients/resources/v1/resources/patients/client/requests/PatientsSearchRequest.js → customSchemas/resources/v1/types/SchemaValidationError.js} +0 -0
- /package/api/resources/{preEncounter/resources/patients/resources/v1/resources/patients/types/Contact.js → customSchemas/resources/v1/types/SchemaValidationFailure.js} +0 -0
- /package/api/resources/{preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvenance.js → customSchemas/resources/v1/types/SchemaWithNameAlreadyExistsError.js} +0 -0
- /package/api/resources/{preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvider.js → encounters/resources/v4/types/KeyDoesNotExistError.js} +0 -0
- /package/api/resources/{preEncounter/resources/patients/resources/v1/resources/patients/types/MutablePatient.js → encounters/resources/v4/types/MultipleInstancesForSchemaError.js} +0 -0
- /package/api/resources/{preEncounter/resources/patients/resources/v1/resources/patients/types/Patient.js → encounters/resources/v4/types/SchemaDoesNotExistError.js} +0 -0
- /package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/requests/CoverageScanRequest.js → api/resources/encounters/resources/v4/types/SchemaInstanceValidationError.js} +0 -0
- /package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/requests/GetAllCoveragesRequest.js → api/resources/encounters/resources/v4/types/SchemaInstanceValidationFailure.js} +0 -0
- /package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/Coverage.js → api/resources/encounters/resources/v4/types/SchemaUnauthorizedAccessError.js} +0 -0
- /package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/InsurancePlan.js → api/resources/encounters/resources/v4/types/ValueDoesNotMatchKeyTypeError.js} +0 -0
- /package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/requests/CoverageScanRequest.d.ts +0 -0
- /package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/MutableCoverage.js → api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageScanRequest.js} +0 -0
- /package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/requests/GetAllCoveragesRequest.d.ts +0 -0
- /package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/Subscriber.js → api/resources/preEncounter/resources/coverages/resources/v1/client/requests/GetAllCoveragesRequest.js} +0 -0
- /package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/requests/index.d.ts +0 -0
- /package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/client/requests/index.js +0 -0
- /package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/requests/PatientScanRequest.js → api/resources/preEncounter/resources/coverages/resources/v1/types/Coverage.js} +0 -0
- /package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/CoverageId.js +0 -0
- /package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/CoverageStatus.d.ts +0 -0
- /package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/CoverageStatus.js +0 -0
- /package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/requests/PatientsSearchRequest.js → api/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.js} +0 -0
- /package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Contact.js → api/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.js} +0 -0
- /package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvenance.js → api/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.js} +0 -0
- /package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/requests/PatientScanRequest.d.ts +0 -0
- /package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvider.js → api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientScanRequest.js} +0 -0
- /package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/requests/PatientsSearchRequest.d.ts +0 -0
- /package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MutablePatient.js → api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequest.js} +0 -0
- /package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/requests/index.d.ts +0 -0
- /package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/patients/resources/v1}/client/requests/index.js +0 -0
- /package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Patient.js → api/resources/preEncounter/resources/patients/resources/v1/types/Contact.js} +0 -0
- /package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/ExternalProvenance.d.ts +0 -0
- /package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MaritalStatus.d.ts +0 -0
- /package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MaritalStatus.js +0 -0
- /package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/PatientId.js +0 -0
- /package/{api/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/api/resources/customSchemas/resources/v1}/index.d.ts +0 -0
- /package/{api/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/api/resources/customSchemas/resources/v1}/index.js +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/requests/CoverageScanRequest.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/requests/GetAllCoveragesRequest.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/requests/index.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/CoverageId.js +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/CoverageStatus.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/CoverageStatus.js +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/requests/PatientScanRequest.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/requests/PatientsSearchRequest.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/requests/index.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/ExternalProvenance.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MaritalStatus.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MaritalStatus.js +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/PatientId.js +0 -0
- /package/dist/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → serialization/resources/customSchemas/resources/v1}/index.d.ts +0 -0
- /package/dist/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → serialization/resources/customSchemas/resources/v1}/index.js +0 -0
- /package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/index.d.ts +0 -0
- /package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/index.js +0 -0
- /package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/index.d.ts +0 -0
- /package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/index.js +0 -0
- /package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → serialization/resources/customSchemas/resources/v1}/index.d.ts +0 -0
- /package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → serialization/resources/customSchemas/resources/v1}/index.js +0 -0
- /package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/index.d.ts +0 -0
- /package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/index.js +0 -0
- /package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/index.d.ts +0 -0
- /package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/index.js +0 -0
|
@@ -66,7 +66,7 @@ class V3 {
|
|
|
66
66
|
Authorization: yield this._getAuthorizationHeader(),
|
|
67
67
|
"X-Fern-Language": "JavaScript",
|
|
68
68
|
"X-Fern-SDK-Name": "candidhealth",
|
|
69
|
-
"X-Fern-SDK-Version": "0.24.
|
|
69
|
+
"X-Fern-SDK-Version": "0.24.4",
|
|
70
70
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
71
71
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
72
72
|
},
|
|
@@ -166,7 +166,7 @@ class V3 {
|
|
|
166
166
|
Authorization: yield this._getAuthorizationHeader(),
|
|
167
167
|
"X-Fern-Language": "JavaScript",
|
|
168
168
|
"X-Fern-SDK-Name": "candidhealth",
|
|
169
|
-
"X-Fern-SDK-Version": "0.24.
|
|
169
|
+
"X-Fern-SDK-Version": "0.24.4",
|
|
170
170
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
171
171
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
172
172
|
},
|
|
@@ -226,7 +226,7 @@ class V3 {
|
|
|
226
226
|
Authorization: yield this._getAuthorizationHeader(),
|
|
227
227
|
"X-Fern-Language": "JavaScript",
|
|
228
228
|
"X-Fern-SDK-Name": "candidhealth",
|
|
229
|
-
"X-Fern-SDK-Version": "0.24.
|
|
229
|
+
"X-Fern-SDK-Version": "0.24.4",
|
|
230
230
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
231
231
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
232
232
|
},
|
|
@@ -294,7 +294,7 @@ class V3 {
|
|
|
294
294
|
Authorization: yield this._getAuthorizationHeader(),
|
|
295
295
|
"X-Fern-Language": "JavaScript",
|
|
296
296
|
"X-Fern-SDK-Name": "candidhealth",
|
|
297
|
-
"X-Fern-SDK-Version": "0.24.
|
|
297
|
+
"X-Fern-SDK-Version": "0.24.4",
|
|
298
298
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
299
299
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
300
300
|
},
|
|
@@ -345,7 +345,7 @@ class V3 {
|
|
|
345
345
|
Authorization: yield this._getAuthorizationHeader(),
|
|
346
346
|
"X-Fern-Language": "JavaScript",
|
|
347
347
|
"X-Fern-SDK-Name": "candidhealth",
|
|
348
|
-
"X-Fern-SDK-Version": "0.24.
|
|
348
|
+
"X-Fern-SDK-Version": "0.24.4",
|
|
349
349
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
350
350
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
351
351
|
},
|
|
@@ -116,7 +116,7 @@ class V1 {
|
|
|
116
116
|
Authorization: yield this._getAuthorizationHeader(),
|
|
117
117
|
"X-Fern-Language": "JavaScript",
|
|
118
118
|
"X-Fern-SDK-Name": "candidhealth",
|
|
119
|
-
"X-Fern-SDK-Version": "0.24.
|
|
119
|
+
"X-Fern-SDK-Version": "0.24.4",
|
|
120
120
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
121
121
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
122
122
|
},
|
|
@@ -164,7 +164,7 @@ class V1 {
|
|
|
164
164
|
Authorization: yield this._getAuthorizationHeader(),
|
|
165
165
|
"X-Fern-Language": "JavaScript",
|
|
166
166
|
"X-Fern-SDK-Name": "candidhealth",
|
|
167
|
-
"X-Fern-SDK-Version": "0.24.
|
|
167
|
+
"X-Fern-SDK-Version": "0.24.4",
|
|
168
168
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
169
169
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
170
170
|
},
|
|
@@ -221,7 +221,7 @@ class V1 {
|
|
|
221
221
|
Authorization: yield this._getAuthorizationHeader(),
|
|
222
222
|
"X-Fern-Language": "JavaScript",
|
|
223
223
|
"X-Fern-SDK-Name": "candidhealth",
|
|
224
|
-
"X-Fern-SDK-Version": "0.24.
|
|
224
|
+
"X-Fern-SDK-Version": "0.24.4",
|
|
225
225
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
226
226
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
227
227
|
},
|
|
@@ -271,7 +271,7 @@ class V1 {
|
|
|
271
271
|
Authorization: yield this._getAuthorizationHeader(),
|
|
272
272
|
"X-Fern-Language": "JavaScript",
|
|
273
273
|
"X-Fern-SDK-Name": "candidhealth",
|
|
274
|
-
"X-Fern-SDK-Version": "0.24.
|
|
274
|
+
"X-Fern-SDK-Version": "0.24.4",
|
|
275
275
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
276
276
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
277
277
|
},
|
package/dist/Client.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import * as core from "./core";
|
|
|
6
6
|
import { Auth } from "./api/resources/auth/client/Client";
|
|
7
7
|
import { BillingNotes } from "./api/resources/billingNotes/client/Client";
|
|
8
8
|
import { Contracts } from "./api/resources/contracts/client/Client";
|
|
9
|
+
import { CustomSchemas } from "./api/resources/customSchemas/client/Client";
|
|
9
10
|
import { Eligibility } from "./api/resources/eligibility/client/Client";
|
|
10
11
|
import { Encounters } from "./api/resources/encounters/client/Client";
|
|
11
12
|
import { ExpectedNetworkStatus } from "./api/resources/expectedNetworkStatus/client/Client";
|
|
@@ -24,8 +25,8 @@ import { PatientRefunds } from "./api/resources/patientRefunds/client/Client";
|
|
|
24
25
|
import { Payers } from "./api/resources/payers/client/Client";
|
|
25
26
|
import { Tasks } from "./api/resources/tasks/client/Client";
|
|
26
27
|
import { WriteOffs } from "./api/resources/writeOffs/client/Client";
|
|
27
|
-
import { ServiceFacility } from "./api/resources/serviceFacility/client/Client";
|
|
28
28
|
import { PreEncounter } from "./api/resources/preEncounter/client/Client";
|
|
29
|
+
import { ServiceFacility } from "./api/resources/serviceFacility/client/Client";
|
|
29
30
|
export declare namespace CandidApiClient {
|
|
30
31
|
interface Options {
|
|
31
32
|
environment?: core.Supplier<environments.CandidApiEnvironment | environments.CandidApiEnvironmentUrls>;
|
|
@@ -51,6 +52,8 @@ export declare class CandidApiClient {
|
|
|
51
52
|
get billingNotes(): BillingNotes;
|
|
52
53
|
protected _contracts: Contracts | undefined;
|
|
53
54
|
get contracts(): Contracts;
|
|
55
|
+
protected _customSchemas: CustomSchemas | undefined;
|
|
56
|
+
get customSchemas(): CustomSchemas;
|
|
54
57
|
protected _eligibility: Eligibility | undefined;
|
|
55
58
|
get eligibility(): Eligibility;
|
|
56
59
|
protected _encounters: Encounters | undefined;
|
|
@@ -87,8 +90,8 @@ export declare class CandidApiClient {
|
|
|
87
90
|
get tasks(): Tasks;
|
|
88
91
|
protected _writeOffs: WriteOffs | undefined;
|
|
89
92
|
get writeOffs(): WriteOffs;
|
|
90
|
-
protected _serviceFacility: ServiceFacility | undefined;
|
|
91
|
-
get serviceFacility(): ServiceFacility;
|
|
92
93
|
protected _preEncounter: PreEncounter | undefined;
|
|
93
94
|
get preEncounter(): PreEncounter;
|
|
95
|
+
protected _serviceFacility: ServiceFacility | undefined;
|
|
96
|
+
get serviceFacility(): ServiceFacility;
|
|
94
97
|
}
|
package/dist/Client.js
CHANGED
|
@@ -41,26 +41,27 @@ const Client_1 = require("./api/resources/auth/resources/v2/client/Client");
|
|
|
41
41
|
const Client_2 = require("./api/resources/auth/client/Client");
|
|
42
42
|
const Client_3 = require("./api/resources/billingNotes/client/Client");
|
|
43
43
|
const Client_4 = require("./api/resources/contracts/client/Client");
|
|
44
|
-
const Client_5 = require("./api/resources/
|
|
45
|
-
const Client_6 = require("./api/resources/
|
|
46
|
-
const Client_7 = require("./api/resources/
|
|
47
|
-
const Client_8 = require("./api/resources/
|
|
48
|
-
const Client_9 = require("./api/resources/
|
|
49
|
-
const Client_10 = require("./api/resources/
|
|
50
|
-
const Client_11 = require("./api/resources/
|
|
51
|
-
const Client_12 = require("./api/resources/
|
|
52
|
-
const Client_13 = require("./api/resources/
|
|
53
|
-
const Client_14 = require("./api/resources/
|
|
54
|
-
const Client_15 = require("./api/resources/
|
|
55
|
-
const Client_16 = require("./api/resources/
|
|
56
|
-
const Client_17 = require("./api/resources/
|
|
57
|
-
const Client_18 = require("./api/resources/
|
|
58
|
-
const Client_19 = require("./api/resources/
|
|
59
|
-
const Client_20 = require("./api/resources/
|
|
60
|
-
const Client_21 = require("./api/resources/
|
|
61
|
-
const Client_22 = require("./api/resources/
|
|
62
|
-
const Client_23 = require("./api/resources/
|
|
44
|
+
const Client_5 = require("./api/resources/customSchemas/client/Client");
|
|
45
|
+
const Client_6 = require("./api/resources/eligibility/client/Client");
|
|
46
|
+
const Client_7 = require("./api/resources/encounters/client/Client");
|
|
47
|
+
const Client_8 = require("./api/resources/expectedNetworkStatus/client/Client");
|
|
48
|
+
const Client_9 = require("./api/resources/exports/client/Client");
|
|
49
|
+
const Client_10 = require("./api/resources/externalPaymentAccountConfig/client/Client");
|
|
50
|
+
const Client_11 = require("./api/resources/feeSchedules/client/Client");
|
|
51
|
+
const Client_12 = require("./api/resources/guarantor/client/Client");
|
|
52
|
+
const Client_13 = require("./api/resources/importInvoice/client/Client");
|
|
53
|
+
const Client_14 = require("./api/resources/insuranceAdjudications/client/Client");
|
|
54
|
+
const Client_15 = require("./api/resources/insurancePayments/client/Client");
|
|
55
|
+
const Client_16 = require("./api/resources/insuranceRefunds/client/Client");
|
|
56
|
+
const Client_17 = require("./api/resources/organizationServiceFacilities/client/Client");
|
|
57
|
+
const Client_18 = require("./api/resources/organizationProviders/client/Client");
|
|
58
|
+
const Client_19 = require("./api/resources/patientPayments/client/Client");
|
|
59
|
+
const Client_20 = require("./api/resources/patientRefunds/client/Client");
|
|
60
|
+
const Client_21 = require("./api/resources/payers/client/Client");
|
|
61
|
+
const Client_22 = require("./api/resources/tasks/client/Client");
|
|
62
|
+
const Client_23 = require("./api/resources/writeOffs/client/Client");
|
|
63
63
|
const Client_24 = require("./api/resources/preEncounter/client/Client");
|
|
64
|
+
const Client_25 = require("./api/resources/serviceFacility/client/Client");
|
|
64
65
|
class CandidApiClient {
|
|
65
66
|
constructor(_options) {
|
|
66
67
|
this._options = _options;
|
|
@@ -84,85 +85,89 @@ class CandidApiClient {
|
|
|
84
85
|
var _a;
|
|
85
86
|
return ((_a = this._contracts) !== null && _a !== void 0 ? _a : (this._contracts = new Client_4.Contracts(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
86
87
|
}
|
|
88
|
+
get customSchemas() {
|
|
89
|
+
var _a;
|
|
90
|
+
return ((_a = this._customSchemas) !== null && _a !== void 0 ? _a : (this._customSchemas = new Client_5.CustomSchemas(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
91
|
+
}
|
|
87
92
|
get eligibility() {
|
|
88
93
|
var _a;
|
|
89
|
-
return ((_a = this._eligibility) !== null && _a !== void 0 ? _a : (this._eligibility = new
|
|
94
|
+
return ((_a = this._eligibility) !== null && _a !== void 0 ? _a : (this._eligibility = new Client_6.Eligibility(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
90
95
|
}
|
|
91
96
|
get encounters() {
|
|
92
97
|
var _a;
|
|
93
|
-
return ((_a = this._encounters) !== null && _a !== void 0 ? _a : (this._encounters = new
|
|
98
|
+
return ((_a = this._encounters) !== null && _a !== void 0 ? _a : (this._encounters = new Client_7.Encounters(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
94
99
|
}
|
|
95
100
|
get expectedNetworkStatus() {
|
|
96
101
|
var _a;
|
|
97
|
-
return ((_a = this._expectedNetworkStatus) !== null && _a !== void 0 ? _a : (this._expectedNetworkStatus = new
|
|
102
|
+
return ((_a = this._expectedNetworkStatus) !== null && _a !== void 0 ? _a : (this._expectedNetworkStatus = new Client_8.ExpectedNetworkStatus(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
98
103
|
}
|
|
99
104
|
get exports() {
|
|
100
105
|
var _a;
|
|
101
|
-
return ((_a = this._exports) !== null && _a !== void 0 ? _a : (this._exports = new
|
|
106
|
+
return ((_a = this._exports) !== null && _a !== void 0 ? _a : (this._exports = new Client_9.Exports(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
102
107
|
}
|
|
103
108
|
get externalPaymentAccountConfig() {
|
|
104
109
|
var _a;
|
|
105
|
-
return ((_a = this._externalPaymentAccountConfig) !== null && _a !== void 0 ? _a : (this._externalPaymentAccountConfig = new
|
|
110
|
+
return ((_a = this._externalPaymentAccountConfig) !== null && _a !== void 0 ? _a : (this._externalPaymentAccountConfig = new Client_10.ExternalPaymentAccountConfig(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
106
111
|
}
|
|
107
112
|
get feeSchedules() {
|
|
108
113
|
var _a;
|
|
109
|
-
return ((_a = this._feeSchedules) !== null && _a !== void 0 ? _a : (this._feeSchedules = new
|
|
114
|
+
return ((_a = this._feeSchedules) !== null && _a !== void 0 ? _a : (this._feeSchedules = new Client_11.FeeSchedules(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
110
115
|
}
|
|
111
116
|
get guarantor() {
|
|
112
117
|
var _a;
|
|
113
|
-
return ((_a = this._guarantor) !== null && _a !== void 0 ? _a : (this._guarantor = new
|
|
118
|
+
return ((_a = this._guarantor) !== null && _a !== void 0 ? _a : (this._guarantor = new Client_12.Guarantor(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
114
119
|
}
|
|
115
120
|
get importInvoice() {
|
|
116
121
|
var _a;
|
|
117
|
-
return ((_a = this._importInvoice) !== null && _a !== void 0 ? _a : (this._importInvoice = new
|
|
122
|
+
return ((_a = this._importInvoice) !== null && _a !== void 0 ? _a : (this._importInvoice = new Client_13.ImportInvoice(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
118
123
|
}
|
|
119
124
|
get insuranceAdjudications() {
|
|
120
125
|
var _a;
|
|
121
|
-
return ((_a = this._insuranceAdjudications) !== null && _a !== void 0 ? _a : (this._insuranceAdjudications = new
|
|
126
|
+
return ((_a = this._insuranceAdjudications) !== null && _a !== void 0 ? _a : (this._insuranceAdjudications = new Client_14.InsuranceAdjudications(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
122
127
|
}
|
|
123
128
|
get insurancePayments() {
|
|
124
129
|
var _a;
|
|
125
|
-
return ((_a = this._insurancePayments) !== null && _a !== void 0 ? _a : (this._insurancePayments = new
|
|
130
|
+
return ((_a = this._insurancePayments) !== null && _a !== void 0 ? _a : (this._insurancePayments = new Client_15.InsurancePayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
126
131
|
}
|
|
127
132
|
get insuranceRefunds() {
|
|
128
133
|
var _a;
|
|
129
|
-
return ((_a = this._insuranceRefunds) !== null && _a !== void 0 ? _a : (this._insuranceRefunds = new
|
|
134
|
+
return ((_a = this._insuranceRefunds) !== null && _a !== void 0 ? _a : (this._insuranceRefunds = new Client_16.InsuranceRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
130
135
|
}
|
|
131
136
|
get organizationServiceFacilities() {
|
|
132
137
|
var _a;
|
|
133
|
-
return ((_a = this._organizationServiceFacilities) !== null && _a !== void 0 ? _a : (this._organizationServiceFacilities = new
|
|
138
|
+
return ((_a = this._organizationServiceFacilities) !== null && _a !== void 0 ? _a : (this._organizationServiceFacilities = new Client_17.OrganizationServiceFacilities(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
134
139
|
}
|
|
135
140
|
get organizationProviders() {
|
|
136
141
|
var _a;
|
|
137
|
-
return ((_a = this._organizationProviders) !== null && _a !== void 0 ? _a : (this._organizationProviders = new
|
|
142
|
+
return ((_a = this._organizationProviders) !== null && _a !== void 0 ? _a : (this._organizationProviders = new Client_18.OrganizationProviders(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
138
143
|
}
|
|
139
144
|
get patientPayments() {
|
|
140
145
|
var _a;
|
|
141
|
-
return ((_a = this._patientPayments) !== null && _a !== void 0 ? _a : (this._patientPayments = new
|
|
146
|
+
return ((_a = this._patientPayments) !== null && _a !== void 0 ? _a : (this._patientPayments = new Client_19.PatientPayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
142
147
|
}
|
|
143
148
|
get patientRefunds() {
|
|
144
149
|
var _a;
|
|
145
|
-
return ((_a = this._patientRefunds) !== null && _a !== void 0 ? _a : (this._patientRefunds = new
|
|
150
|
+
return ((_a = this._patientRefunds) !== null && _a !== void 0 ? _a : (this._patientRefunds = new Client_20.PatientRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
146
151
|
}
|
|
147
152
|
get payers() {
|
|
148
153
|
var _a;
|
|
149
|
-
return ((_a = this._payers) !== null && _a !== void 0 ? _a : (this._payers = new
|
|
154
|
+
return ((_a = this._payers) !== null && _a !== void 0 ? _a : (this._payers = new Client_21.Payers(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
150
155
|
}
|
|
151
156
|
get tasks() {
|
|
152
157
|
var _a;
|
|
153
|
-
return ((_a = this._tasks) !== null && _a !== void 0 ? _a : (this._tasks = new
|
|
158
|
+
return ((_a = this._tasks) !== null && _a !== void 0 ? _a : (this._tasks = new Client_22.Tasks(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
154
159
|
}
|
|
155
160
|
get writeOffs() {
|
|
156
161
|
var _a;
|
|
157
|
-
return ((_a = this._writeOffs) !== null && _a !== void 0 ? _a : (this._writeOffs = new
|
|
158
|
-
}
|
|
159
|
-
get serviceFacility() {
|
|
160
|
-
var _a;
|
|
161
|
-
return ((_a = this._serviceFacility) !== null && _a !== void 0 ? _a : (this._serviceFacility = new Client_23.ServiceFacility(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
162
|
+
return ((_a = this._writeOffs) !== null && _a !== void 0 ? _a : (this._writeOffs = new Client_23.WriteOffs(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
162
163
|
}
|
|
163
164
|
get preEncounter() {
|
|
164
165
|
var _a;
|
|
165
166
|
return ((_a = this._preEncounter) !== null && _a !== void 0 ? _a : (this._preEncounter = new Client_24.PreEncounter(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
166
167
|
}
|
|
168
|
+
get serviceFacility() {
|
|
169
|
+
var _a;
|
|
170
|
+
return ((_a = this._serviceFacility) !== null && _a !== void 0 ? _a : (this._serviceFacility = new Client_25.ServiceFacility(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
171
|
+
}
|
|
167
172
|
}
|
|
168
173
|
exports.CandidApiClient = CandidApiClient;
|
|
@@ -87,7 +87,7 @@ class V2 {
|
|
|
87
87
|
Authorization: yield this._getAuthorizationHeader(),
|
|
88
88
|
"X-Fern-Language": "JavaScript",
|
|
89
89
|
"X-Fern-SDK-Name": "candidhealth",
|
|
90
|
-
"X-Fern-SDK-Version": "0.24.
|
|
90
|
+
"X-Fern-SDK-Version": "0.24.4",
|
|
91
91
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
92
92
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
93
93
|
},
|
|
@@ -69,7 +69,7 @@ class V2 {
|
|
|
69
69
|
Authorization: yield this._getAuthorizationHeader(),
|
|
70
70
|
"X-Fern-Language": "JavaScript",
|
|
71
71
|
"X-Fern-SDK-Name": "candidhealth",
|
|
72
|
-
"X-Fern-SDK-Version": "0.24.
|
|
72
|
+
"X-Fern-SDK-Version": "0.24.4",
|
|
73
73
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
74
74
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
75
75
|
},
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* The BOOLEAN and STRING primitives respectively map to the `boolean` and `string` JSON data types.
|
|
6
|
+
* The DOUBLE and INTEGER primitives must be written as a JSON `number` type.
|
|
7
|
+
*/
|
|
8
|
+
export declare type Primitive = "BOOLEAN" | "DOUBLE" | "INTEGER" | "STRING";
|
|
9
|
+
export declare const Primitive: {
|
|
10
|
+
readonly Boolean: "BOOLEAN";
|
|
11
|
+
readonly Double: "DOUBLE";
|
|
12
|
+
readonly Integer: "INTEGER";
|
|
13
|
+
readonly String: "STRING";
|
|
14
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.Primitive = void 0;
|
|
7
|
+
exports.Primitive = {
|
|
8
|
+
Boolean: "BOOLEAN",
|
|
9
|
+
Double: "DOUBLE",
|
|
10
|
+
Integer: "INTEGER",
|
|
11
|
+
String: "STRING",
|
|
12
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.SchemaId = void 0;
|
|
7
|
+
function SchemaId(value) {
|
|
8
|
+
return value;
|
|
9
|
+
}
|
|
10
|
+
exports.SchemaId = SchemaId;
|
|
@@ -14,6 +14,8 @@ export * from "./TaskNoteId";
|
|
|
14
14
|
export * from "./ProviderId";
|
|
15
15
|
export * from "./InvoiceId";
|
|
16
16
|
export * from "./RateId";
|
|
17
|
+
export * from "./SchemaId";
|
|
18
|
+
export * from "./Primitive";
|
|
17
19
|
export * from "./LinkUrl";
|
|
18
20
|
export * from "./PageToken";
|
|
19
21
|
export * from "./SortDirection";
|
|
@@ -30,6 +30,8 @@ __exportStar(require("./TaskNoteId"), exports);
|
|
|
30
30
|
__exportStar(require("./ProviderId"), exports);
|
|
31
31
|
__exportStar(require("./InvoiceId"), exports);
|
|
32
32
|
__exportStar(require("./RateId"), exports);
|
|
33
|
+
__exportStar(require("./SchemaId"), exports);
|
|
34
|
+
__exportStar(require("./Primitive"), exports);
|
|
33
35
|
__exportStar(require("./LinkUrl"), exports);
|
|
34
36
|
__exportStar(require("./PageToken"), exports);
|
|
35
37
|
__exportStar(require("./SortDirection"), exports);
|
|
@@ -66,7 +66,7 @@ class V2 {
|
|
|
66
66
|
Authorization: yield this._getAuthorizationHeader(),
|
|
67
67
|
"X-Fern-Language": "JavaScript",
|
|
68
68
|
"X-Fern-SDK-Name": "candidhealth",
|
|
69
|
-
"X-Fern-SDK-Version": "0.24.
|
|
69
|
+
"X-Fern-SDK-Version": "0.24.4",
|
|
70
70
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
71
71
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
72
72
|
},
|
|
@@ -171,7 +171,7 @@ class V2 {
|
|
|
171
171
|
Authorization: yield this._getAuthorizationHeader(),
|
|
172
172
|
"X-Fern-Language": "JavaScript",
|
|
173
173
|
"X-Fern-SDK-Name": "candidhealth",
|
|
174
|
-
"X-Fern-SDK-Version": "0.24.
|
|
174
|
+
"X-Fern-SDK-Version": "0.24.4",
|
|
175
175
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
176
176
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
177
177
|
},
|
|
@@ -239,7 +239,7 @@ class V2 {
|
|
|
239
239
|
Authorization: yield this._getAuthorizationHeader(),
|
|
240
240
|
"X-Fern-Language": "JavaScript",
|
|
241
241
|
"X-Fern-SDK-Name": "candidhealth",
|
|
242
|
-
"X-Fern-SDK-Version": "0.24.
|
|
242
|
+
"X-Fern-SDK-Version": "0.24.4",
|
|
243
243
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
244
244
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
245
245
|
},
|
|
@@ -285,7 +285,7 @@ class V2 {
|
|
|
285
285
|
Authorization: yield this._getAuthorizationHeader(),
|
|
286
286
|
"X-Fern-Language": "JavaScript",
|
|
287
287
|
"X-Fern-SDK-Name": "candidhealth",
|
|
288
|
-
"X-Fern-SDK-Version": "0.24.
|
|
288
|
+
"X-Fern-SDK-Version": "0.24.4",
|
|
289
289
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
290
290
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
291
291
|
},
|
|
@@ -373,7 +373,7 @@ class V2 {
|
|
|
373
373
|
Authorization: yield this._getAuthorizationHeader(),
|
|
374
374
|
"X-Fern-Language": "JavaScript",
|
|
375
375
|
"X-Fern-SDK-Name": "candidhealth",
|
|
376
|
-
"X-Fern-SDK-Version": "0.24.
|
|
376
|
+
"X-Fern-SDK-Version": "0.24.4",
|
|
377
377
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
378
378
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
379
379
|
},
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as environments from "../../../../environments";
|
|
5
|
+
import * as core from "../../../../core";
|
|
6
|
+
import { V1 } from "../resources/v1/client/Client";
|
|
7
|
+
export declare namespace CustomSchemas {
|
|
8
|
+
interface Options {
|
|
9
|
+
environment?: core.Supplier<environments.CandidApiEnvironment | environments.CandidApiEnvironmentUrls>;
|
|
10
|
+
token?: core.Supplier<core.BearerToken | undefined>;
|
|
11
|
+
}
|
|
12
|
+
interface RequestOptions {
|
|
13
|
+
/** The maximum time to wait for a response in seconds. */
|
|
14
|
+
timeoutInSeconds?: number;
|
|
15
|
+
/** The number of times to retry the request. Defaults to 2. */
|
|
16
|
+
maxRetries?: number;
|
|
17
|
+
/** A hook to abort the request. */
|
|
18
|
+
abortSignal?: AbortSignal;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
export declare class CustomSchemas {
|
|
22
|
+
protected readonly _options: CustomSchemas.Options;
|
|
23
|
+
constructor(_options?: CustomSchemas.Options);
|
|
24
|
+
protected _v1: V1 | undefined;
|
|
25
|
+
get v1(): V1;
|
|
26
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.CustomSchemas = void 0;
|
|
7
|
+
const Client_1 = require("../resources/v1/client/Client");
|
|
8
|
+
class CustomSchemas {
|
|
9
|
+
constructor(_options = {}) {
|
|
10
|
+
this._options = _options;
|
|
11
|
+
}
|
|
12
|
+
get v1() {
|
|
13
|
+
var _a;
|
|
14
|
+
return ((_a = this._v1) !== null && _a !== void 0 ? _a : (this._v1 = new Client_1.V1(this._options)));
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.CustomSchemas = CustomSchemas;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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("./resources"), exports);
|
|
18
|
+
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as v1 from "./v1";
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.v1 = void 0;
|
|
27
|
+
exports.v1 = __importStar(require("./v1"));
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as environments from "../../../../../../environments";
|
|
5
|
+
import * as core from "../../../../../../core";
|
|
6
|
+
import * as CandidApi from "../../../../../index";
|
|
7
|
+
export declare namespace V1 {
|
|
8
|
+
interface Options {
|
|
9
|
+
environment?: core.Supplier<environments.CandidApiEnvironment | environments.CandidApiEnvironmentUrls>;
|
|
10
|
+
token?: core.Supplier<core.BearerToken | undefined>;
|
|
11
|
+
}
|
|
12
|
+
interface RequestOptions {
|
|
13
|
+
/** The maximum time to wait for a response in seconds. */
|
|
14
|
+
timeoutInSeconds?: number;
|
|
15
|
+
/** The number of times to retry the request. Defaults to 2. */
|
|
16
|
+
maxRetries?: number;
|
|
17
|
+
/** A hook to abort the request. */
|
|
18
|
+
abortSignal?: AbortSignal;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
export declare class V1 {
|
|
22
|
+
protected readonly _options: V1.Options;
|
|
23
|
+
constructor(_options?: V1.Options);
|
|
24
|
+
/**
|
|
25
|
+
* Returns all custom schemas.
|
|
26
|
+
*
|
|
27
|
+
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* await client.customSchemas.v1.getMulti()
|
|
31
|
+
*/
|
|
32
|
+
getMulti(requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.customSchemas.v1.SchemaGetMultiResponse, CandidApi.customSchemas.v1.getMulti.Error>>;
|
|
33
|
+
/**
|
|
34
|
+
* Return a custom schema with a given ID.
|
|
35
|
+
*
|
|
36
|
+
* @param {CandidApi.SchemaId} schemaId
|
|
37
|
+
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* await client.customSchemas.v1.get(CandidApi.SchemaId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
|
|
41
|
+
*/
|
|
42
|
+
get(schemaId: CandidApi.SchemaId, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.customSchemas.v1.Schema, CandidApi.customSchemas.v1.get.Error>>;
|
|
43
|
+
/**
|
|
44
|
+
* Create a custom schema. Schema keys can be referenced as inputs in user-configurable rules in the Rules
|
|
45
|
+
* Engine, and key-value pairs can be attached to claims via the Encounters API.
|
|
46
|
+
*
|
|
47
|
+
* @param {CandidApi.customSchemas.v1.SchemaCreate} request
|
|
48
|
+
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* await client.customSchemas.v1.create({
|
|
52
|
+
* name: "string",
|
|
53
|
+
* description: "string",
|
|
54
|
+
* fields: [{
|
|
55
|
+
* key: "string",
|
|
56
|
+
* type: CandidApi.Primitive.Boolean
|
|
57
|
+
* }]
|
|
58
|
+
* })
|
|
59
|
+
*/
|
|
60
|
+
create(request: CandidApi.customSchemas.v1.SchemaCreate, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.customSchemas.v1.Schema, CandidApi.customSchemas.v1.create.Error>>;
|
|
61
|
+
/**
|
|
62
|
+
* Update the name, description, or keys on a preexisting schema.
|
|
63
|
+
*
|
|
64
|
+
* @param {CandidApi.SchemaId} schemaId
|
|
65
|
+
* @param {CandidApi.customSchemas.v1.SchemaUpdate} request
|
|
66
|
+
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
67
|
+
*
|
|
68
|
+
* @example
|
|
69
|
+
* await client.customSchemas.v1.update(CandidApi.SchemaId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
70
|
+
* name: "string",
|
|
71
|
+
* description: "string",
|
|
72
|
+
* fieldsToAdd: [{
|
|
73
|
+
* key: "string",
|
|
74
|
+
* type: CandidApi.Primitive.Boolean
|
|
75
|
+
* }]
|
|
76
|
+
* })
|
|
77
|
+
*/
|
|
78
|
+
update(schemaId: CandidApi.SchemaId, request?: CandidApi.customSchemas.v1.SchemaUpdate, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.customSchemas.v1.Schema, CandidApi.customSchemas.v1.update.Error>>;
|
|
79
|
+
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
80
|
+
}
|