candidhealth 0.24.2 → 0.24.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.d.ts +3 -0
- package/Client.js +45 -40
- 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/client/index.js +2 -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/customSchemas/resources/v1/client/index.d.ts +5 -0
- package/api/resources/customSchemas/resources/v1/client/index.js +34 -0
- package/api/resources/customSchemas/resources/v1/client/requests/SchemaCreate.d.ts +20 -0
- package/api/resources/customSchemas/resources/v1/client/requests/SchemaCreate.js +5 -0
- package/api/resources/customSchemas/resources/v1/client/requests/SchemaUpdate.d.ts +21 -0
- package/api/resources/customSchemas/resources/v1/client/requests/SchemaUpdate.js +5 -0
- package/api/resources/customSchemas/resources/v1/client/requests/index.d.ts +2 -0
- package/api/resources/customSchemas/resources/v1/client/requests/index.js +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/index.d.ts +2 -0
- package/api/resources/customSchemas/resources/v1/index.js +18 -0
- package/api/resources/customSchemas/resources/v1/types/KeyWithNameAlreadyExistsError.d.ts +8 -0
- package/api/resources/customSchemas/resources/v1/types/KeyWithNameAlreadyExistsError.js +5 -0
- package/api/resources/customSchemas/resources/v1/types/Schema.d.ts +10 -0
- package/api/resources/customSchemas/resources/v1/types/Schema.js +5 -0
- package/api/resources/customSchemas/resources/v1/types/SchemaField.d.ts +8 -0
- package/api/resources/customSchemas/resources/v1/types/SchemaField.js +5 -0
- package/api/resources/customSchemas/resources/v1/types/SchemaGetMultiResponse.d.ts +7 -0
- package/api/resources/customSchemas/resources/v1/types/SchemaGetMultiResponse.js +5 -0
- package/api/resources/customSchemas/resources/v1/types/SchemaInstance.d.ts +22 -0
- package/api/resources/customSchemas/resources/v1/types/SchemaInstance.js +5 -0
- package/api/resources/customSchemas/resources/v1/types/SchemaValidationError.d.ts +13 -0
- package/api/resources/customSchemas/resources/v1/types/SchemaValidationError.js +5 -0
- package/api/resources/customSchemas/resources/v1/types/SchemaValidationFailure.d.ts +7 -0
- package/api/resources/customSchemas/resources/v1/types/SchemaValidationFailure.js +5 -0
- package/api/resources/customSchemas/resources/v1/types/SchemaWithNameAlreadyExistsError.d.ts +8 -0
- package/api/resources/customSchemas/resources/v1/types/SchemaWithNameAlreadyExistsError.js +5 -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/KeyDoesNotExistError.js +5 -0
- package/api/resources/encounters/resources/v4/types/MultipleInstancesForSchemaError.d.ts +7 -0
- package/api/resources/encounters/resources/v4/types/MultipleInstancesForSchemaError.js +5 -0
- package/api/resources/encounters/resources/v4/types/SchemaDoesNotExistError.d.ts +7 -0
- package/api/resources/encounters/resources/v4/types/SchemaDoesNotExistError.js +5 -0
- package/api/resources/encounters/resources/v4/types/SchemaInstanceValidationError.d.ts +22 -0
- package/api/resources/encounters/resources/v4/types/SchemaInstanceValidationError.js +5 -0
- package/api/resources/encounters/resources/v4/types/SchemaInstanceValidationFailure.d.ts +7 -0
- package/api/resources/encounters/resources/v4/types/SchemaInstanceValidationFailure.js +5 -0
- package/api/resources/encounters/resources/v4/types/SchemaUnauthorizedAccessError.d.ts +7 -0
- package/api/resources/encounters/resources/v4/types/SchemaUnauthorizedAccessError.js +5 -0
- package/api/resources/encounters/resources/v4/types/ValueDoesNotMatchKeyTypeError.d.ts +10 -0
- package/api/resources/encounters/resources/v4/types/ValueDoesNotMatchKeyTypeError.js +5 -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 +1 -0
- package/api/resources/index.js +2 -1
- 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/coverages/resources/v1/resources/coverages/client/Client.js +6 -6
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/Client.js +7 -7
- 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 +3 -0
- package/dist/Client.js +45 -40
- 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/customSchemas/resources/v1/client/index.d.ts +5 -0
- package/dist/api/resources/customSchemas/resources/v1/client/index.js +34 -0
- 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/index.d.ts +2 -0
- package/dist/api/resources/customSchemas/resources/v1/index.js +18 -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 +1 -0
- package/dist/api/resources/index.js +2 -1
- 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/coverages/resources/v1/resources/coverages/client/Client.js +6 -6
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/Client.js +7 -7
- 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/dist/serialization/resources/customSchemas/resources/v1/client/index.js +34 -0
- 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/index.d.ts +2 -0
- package/dist/serialization/resources/customSchemas/resources/v1/index.js +18 -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 +1 -0
- package/dist/serialization/resources/index.js +2 -1
- package/package.json +1 -1
- package/reference.md +295 -0
- 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/serialization/resources/customSchemas/resources/v1/client/index.js +34 -0
- 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/index.d.ts +2 -0
- package/serialization/resources/customSchemas/resources/v1/index.js +18 -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 +1 -0
- package/serialization/resources/index.js +2 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../../../../index";
|
|
5
5
|
import * as core from "../../../../../../core";
|
|
6
|
-
export declare type Error = CandidApi.encounters.v4.update.Error.EncounterExternalIdUniquenessError | CandidApi.encounters.v4.update.Error.EntityNotFoundError | CandidApi.encounters.v4.update.Error.UnauthorizedError | CandidApi.encounters.v4.update.Error.HttpRequestValidationsError | CandidApi.encounters.v4.update.Error._Unknown;
|
|
6
|
+
export declare type Error = CandidApi.encounters.v4.update.Error.EncounterExternalIdUniquenessError | CandidApi.encounters.v4.update.Error.EntityNotFoundError | CandidApi.encounters.v4.update.Error.UnauthorizedError | CandidApi.encounters.v4.update.Error.HttpRequestValidationsError | CandidApi.encounters.v4.update.Error.SchemaInstanceValidationHttpFailure | CandidApi.encounters.v4.update.Error._Unknown;
|
|
7
7
|
export declare namespace Error {
|
|
8
8
|
interface EncounterExternalIdUniquenessError extends _Utils {
|
|
9
9
|
errorName: "EncounterExternalIdUniquenessError";
|
|
@@ -21,6 +21,10 @@ export declare namespace Error {
|
|
|
21
21
|
errorName: "HttpRequestValidationsError";
|
|
22
22
|
content: CandidApi.RequestValidationError[];
|
|
23
23
|
}
|
|
24
|
+
interface SchemaInstanceValidationHttpFailure extends _Utils {
|
|
25
|
+
errorName: "SchemaInstanceValidationHttpFailure";
|
|
26
|
+
content: CandidApi.encounters.v4.SchemaInstanceValidationFailure;
|
|
27
|
+
}
|
|
24
28
|
interface _Unknown extends _Utils {
|
|
25
29
|
errorName: void;
|
|
26
30
|
content: core.Fetcher.Error;
|
|
@@ -33,6 +37,7 @@ export declare namespace Error {
|
|
|
33
37
|
entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
|
|
34
38
|
unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => _Result;
|
|
35
39
|
httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => _Result;
|
|
40
|
+
schemaInstanceValidationHttpFailure: (value: CandidApi.encounters.v4.SchemaInstanceValidationFailure) => _Result;
|
|
36
41
|
_other: (value: core.Fetcher.Error) => _Result;
|
|
37
42
|
}
|
|
38
43
|
}
|
|
@@ -41,6 +46,7 @@ export declare const Error: {
|
|
|
41
46
|
readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.encounters.v4.update.Error.EntityNotFoundError;
|
|
42
47
|
readonly unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => CandidApi.encounters.v4.update.Error.UnauthorizedError;
|
|
43
48
|
readonly httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => CandidApi.encounters.v4.update.Error.HttpRequestValidationsError;
|
|
49
|
+
readonly schemaInstanceValidationHttpFailure: (value: CandidApi.encounters.v4.SchemaInstanceValidationFailure) => CandidApi.encounters.v4.update.Error.SchemaInstanceValidationHttpFailure;
|
|
44
50
|
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.encounters.v4.update.Error._Unknown;
|
|
45
51
|
readonly _visit: <_Result>(value: CandidApi.encounters.v4.update.Error, visitor: CandidApi.encounters.v4.update.Error._Visitor<_Result>) => _Result;
|
|
46
52
|
};
|
|
@@ -65,6 +65,15 @@ exports.Error = {
|
|
|
65
65
|
},
|
|
66
66
|
};
|
|
67
67
|
},
|
|
68
|
+
schemaInstanceValidationHttpFailure: (value) => {
|
|
69
|
+
return {
|
|
70
|
+
content: value,
|
|
71
|
+
errorName: "SchemaInstanceValidationHttpFailure",
|
|
72
|
+
_visit: function (visitor) {
|
|
73
|
+
return CandidApi.encounters.v4.update.Error._visit(this, visitor);
|
|
74
|
+
},
|
|
75
|
+
};
|
|
76
|
+
},
|
|
68
77
|
_unknown: (fetcherError) => {
|
|
69
78
|
return {
|
|
70
79
|
errorName: undefined,
|
|
@@ -84,6 +93,8 @@ exports.Error = {
|
|
|
84
93
|
return visitor.unauthorizedError(value.content);
|
|
85
94
|
case "HttpRequestValidationsError":
|
|
86
95
|
return visitor.httpRequestValidationsError(value.content);
|
|
96
|
+
case "SchemaInstanceValidationHttpFailure":
|
|
97
|
+
return visitor.schemaInstanceValidationHttpFailure(value.content);
|
|
87
98
|
default:
|
|
88
99
|
return visitor._other(value);
|
|
89
100
|
}
|
|
@@ -374,7 +374,16 @@ import * as CandidApi from "../../../../../index";
|
|
|
374
374
|
* serviceAuthorizationExceptionCode: CandidApi.encounters.v4.ServiceAuthorizationExceptionCode.C1,
|
|
375
375
|
* admissionDate: "2023-01-01",
|
|
376
376
|
* dischargeDate: "2023-01-05",
|
|
377
|
-
* onsetOfCurrentIllnessOrSymptomDate: "2023-01-01"
|
|
377
|
+
* onsetOfCurrentIllnessOrSymptomDate: "2023-01-01",
|
|
378
|
+
* schemaInstances: [{
|
|
379
|
+
* schemaId: CandidApi.SchemaId("ec096b13-f80a-471d-aaeb-54b021c9d582"),
|
|
380
|
+
* content: {
|
|
381
|
+
* "provider_category": "internist",
|
|
382
|
+
* "is_urgent_care": true,
|
|
383
|
+
* "bmi": 24.2,
|
|
384
|
+
* "age": 38
|
|
385
|
+
* }
|
|
386
|
+
* }]
|
|
378
387
|
* }
|
|
379
388
|
*/
|
|
380
389
|
export interface Encounter extends CandidApi.encounters.v4.EncounterBase {
|
|
@@ -455,4 +464,9 @@ export interface Encounter extends CandidApi.encounters.v4.EncounterBase {
|
|
|
455
464
|
* For Encounters created with an external_claim_submission object, this will be EncounterSubmissionOriginType.EXTERNAL.
|
|
456
465
|
*/
|
|
457
466
|
submissionOrigin: CandidApi.encounters.v4.EncounterSubmissionOriginType;
|
|
467
|
+
/**
|
|
468
|
+
* Key-value pairs that must adhere to a schema created via the Custom Schema API. Multiple schema
|
|
469
|
+
* instances cannot be created for the same schema on an encounter.
|
|
470
|
+
*/
|
|
471
|
+
schemaInstances: CandidApi.customSchemas.v1.SchemaInstance[];
|
|
458
472
|
}
|
|
@@ -375,7 +375,16 @@ import * as CandidApi from "../../../../../index";
|
|
|
375
375
|
* serviceAuthorizationExceptionCode: CandidApi.encounters.v4.ServiceAuthorizationExceptionCode.C1,
|
|
376
376
|
* admissionDate: "2023-01-01",
|
|
377
377
|
* dischargeDate: "2023-01-05",
|
|
378
|
-
* onsetOfCurrentIllnessOrSymptomDate: "2023-01-01"
|
|
378
|
+
* onsetOfCurrentIllnessOrSymptomDate: "2023-01-01",
|
|
379
|
+
* schemaInstances: [{
|
|
380
|
+
* schemaId: CandidApi.SchemaId("ec096b13-f80a-471d-aaeb-54b021c9d582"),
|
|
381
|
+
* content: {
|
|
382
|
+
* "provider_category": "internist",
|
|
383
|
+
* "is_urgent_care": true,
|
|
384
|
+
* "bmi": 24.2,
|
|
385
|
+
* "age": 38
|
|
386
|
+
* }
|
|
387
|
+
* }]
|
|
379
388
|
* }]
|
|
380
389
|
* }
|
|
381
390
|
*/
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
export declare type SchemaInstanceValidationError = CandidApi.encounters.v4.SchemaInstanceValidationError.MultipleInstancesForSchema | CandidApi.encounters.v4.SchemaInstanceValidationError.ValueDoesNotMatchKeyType | CandidApi.encounters.v4.SchemaInstanceValidationError.KeyDoesNotExist | CandidApi.encounters.v4.SchemaInstanceValidationError.SchemaDoesNotExist | CandidApi.encounters.v4.SchemaInstanceValidationError.SchemaUnauthorizedAccess;
|
|
6
|
+
export declare namespace SchemaInstanceValidationError {
|
|
7
|
+
interface MultipleInstancesForSchema extends CandidApi.encounters.v4.MultipleInstancesForSchemaError {
|
|
8
|
+
type: "multiple_instances_for_schema";
|
|
9
|
+
}
|
|
10
|
+
interface ValueDoesNotMatchKeyType extends CandidApi.encounters.v4.ValueDoesNotMatchKeyTypeError {
|
|
11
|
+
type: "value_does_not_match_key_type";
|
|
12
|
+
}
|
|
13
|
+
interface KeyDoesNotExist extends CandidApi.encounters.v4.KeyDoesNotExistError {
|
|
14
|
+
type: "key_does_not_exist";
|
|
15
|
+
}
|
|
16
|
+
interface SchemaDoesNotExist extends CandidApi.encounters.v4.SchemaDoesNotExistError {
|
|
17
|
+
type: "schema_does_not_exist";
|
|
18
|
+
}
|
|
19
|
+
interface SchemaUnauthorizedAccess extends CandidApi.encounters.v4.SchemaUnauthorizedAccessError {
|
|
20
|
+
type: "schema_unauthorized_access";
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
export interface ValueDoesNotMatchKeyTypeError {
|
|
6
|
+
schemaId: CandidApi.SchemaId;
|
|
7
|
+
key: string;
|
|
8
|
+
expectedValueType: CandidApi.Primitive;
|
|
9
|
+
value?: unknown;
|
|
10
|
+
}
|
|
@@ -32,3 +32,10 @@ export * from "./EncounterPatientControlNumberUniquenessErrorType";
|
|
|
32
32
|
export * from "./EncounterGuarantorMissingContactInfoErrorType";
|
|
33
33
|
export * from "./CashPayPayerErrorMessage";
|
|
34
34
|
export * from "./ServiceAuthorizationExceptionCode";
|
|
35
|
+
export * from "./SchemaInstanceValidationFailure";
|
|
36
|
+
export * from "./KeyDoesNotExistError";
|
|
37
|
+
export * from "./SchemaDoesNotExistError";
|
|
38
|
+
export * from "./SchemaUnauthorizedAccessError";
|
|
39
|
+
export * from "./ValueDoesNotMatchKeyTypeError";
|
|
40
|
+
export * from "./MultipleInstancesForSchemaError";
|
|
41
|
+
export * from "./SchemaInstanceValidationError";
|
|
@@ -48,3 +48,10 @@ __exportStar(require("./EncounterPatientControlNumberUniquenessErrorType"), expo
|
|
|
48
48
|
__exportStar(require("./EncounterGuarantorMissingContactInfoErrorType"), exports);
|
|
49
49
|
__exportStar(require("./CashPayPayerErrorMessage"), exports);
|
|
50
50
|
__exportStar(require("./ServiceAuthorizationExceptionCode"), exports);
|
|
51
|
+
__exportStar(require("./SchemaInstanceValidationFailure"), exports);
|
|
52
|
+
__exportStar(require("./KeyDoesNotExistError"), exports);
|
|
53
|
+
__exportStar(require("./SchemaDoesNotExistError"), exports);
|
|
54
|
+
__exportStar(require("./SchemaUnauthorizedAccessError"), exports);
|
|
55
|
+
__exportStar(require("./ValueDoesNotMatchKeyTypeError"), exports);
|
|
56
|
+
__exportStar(require("./MultipleInstancesForSchemaError"), exports);
|
|
57
|
+
__exportStar(require("./SchemaInstanceValidationError"), exports);
|
|
@@ -79,7 +79,7 @@ class V1 {
|
|
|
79
79
|
Authorization: yield this._getAuthorizationHeader(),
|
|
80
80
|
"X-Fern-Language": "JavaScript",
|
|
81
81
|
"X-Fern-SDK-Name": "candidhealth",
|
|
82
|
-
"X-Fern-SDK-Version": "0.24.
|
|
82
|
+
"X-Fern-SDK-Version": "0.24.3",
|
|
83
83
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
84
84
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
85
85
|
},
|
|
@@ -86,7 +86,7 @@ class V2 {
|
|
|
86
86
|
Authorization: yield this._getAuthorizationHeader(),
|
|
87
87
|
"X-Fern-Language": "JavaScript",
|
|
88
88
|
"X-Fern-SDK-Name": "candidhealth",
|
|
89
|
-
"X-Fern-SDK-Version": "0.24.
|
|
89
|
+
"X-Fern-SDK-Version": "0.24.3",
|
|
90
90
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
91
91
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
92
92
|
},
|
|
@@ -169,7 +169,7 @@ class V2 {
|
|
|
169
169
|
Authorization: yield this._getAuthorizationHeader(),
|
|
170
170
|
"X-Fern-Language": "JavaScript",
|
|
171
171
|
"X-Fern-SDK-Name": "candidhealth",
|
|
172
|
-
"X-Fern-SDK-Version": "0.24.
|
|
172
|
+
"X-Fern-SDK-Version": "0.24.3",
|
|
173
173
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
174
174
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
175
175
|
},
|
|
@@ -86,7 +86,7 @@ class V3 {
|
|
|
86
86
|
Authorization: yield this._getAuthorizationHeader(),
|
|
87
87
|
"X-Fern-Language": "JavaScript",
|
|
88
88
|
"X-Fern-SDK-Name": "candidhealth",
|
|
89
|
-
"X-Fern-SDK-Version": "0.24.
|
|
89
|
+
"X-Fern-SDK-Version": "0.24.3",
|
|
90
90
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
91
91
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
92
92
|
},
|
|
@@ -82,7 +82,7 @@ class V1 {
|
|
|
82
82
|
Authorization: yield this._getAuthorizationHeader(),
|
|
83
83
|
"X-Fern-Language": "JavaScript",
|
|
84
84
|
"X-Fern-SDK-Name": "candidhealth",
|
|
85
|
-
"X-Fern-SDK-Version": "0.24.
|
|
85
|
+
"X-Fern-SDK-Version": "0.24.3",
|
|
86
86
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
87
87
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
88
88
|
},
|
|
@@ -68,7 +68,7 @@ class V3 {
|
|
|
68
68
|
Authorization: yield this._getAuthorizationHeader(),
|
|
69
69
|
"X-Fern-Language": "JavaScript",
|
|
70
70
|
"X-Fern-SDK-Name": "candidhealth",
|
|
71
|
-
"X-Fern-SDK-Version": "0.24.
|
|
71
|
+
"X-Fern-SDK-Version": "0.24.3",
|
|
72
72
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
73
73
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
74
74
|
},
|
|
@@ -131,7 +131,7 @@ class V3 {
|
|
|
131
131
|
Authorization: yield this._getAuthorizationHeader(),
|
|
132
132
|
"X-Fern-Language": "JavaScript",
|
|
133
133
|
"X-Fern-SDK-Name": "candidhealth",
|
|
134
|
-
"X-Fern-SDK-Version": "0.24.
|
|
134
|
+
"X-Fern-SDK-Version": "0.24.3",
|
|
135
135
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
136
136
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
137
137
|
},
|
|
@@ -274,7 +274,7 @@ class V3 {
|
|
|
274
274
|
Authorization: yield this._getAuthorizationHeader(),
|
|
275
275
|
"X-Fern-Language": "JavaScript",
|
|
276
276
|
"X-Fern-SDK-Name": "candidhealth",
|
|
277
|
-
"X-Fern-SDK-Version": "0.24.
|
|
277
|
+
"X-Fern-SDK-Version": "0.24.3",
|
|
278
278
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
279
279
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
280
280
|
},
|
|
@@ -401,7 +401,7 @@ class V3 {
|
|
|
401
401
|
Authorization: yield this._getAuthorizationHeader(),
|
|
402
402
|
"X-Fern-Language": "JavaScript",
|
|
403
403
|
"X-Fern-SDK-Name": "candidhealth",
|
|
404
|
-
"X-Fern-SDK-Version": "0.24.
|
|
404
|
+
"X-Fern-SDK-Version": "0.24.3",
|
|
405
405
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
406
406
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
407
407
|
},
|
|
@@ -449,7 +449,7 @@ class V3 {
|
|
|
449
449
|
Authorization: yield this._getAuthorizationHeader(),
|
|
450
450
|
"X-Fern-Language": "JavaScript",
|
|
451
451
|
"X-Fern-SDK-Name": "candidhealth",
|
|
452
|
-
"X-Fern-SDK-Version": "0.24.
|
|
452
|
+
"X-Fern-SDK-Version": "0.24.3",
|
|
453
453
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
454
454
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
455
455
|
},
|
|
@@ -531,7 +531,7 @@ class V3 {
|
|
|
531
531
|
Authorization: yield this._getAuthorizationHeader(),
|
|
532
532
|
"X-Fern-Language": "JavaScript",
|
|
533
533
|
"X-Fern-SDK-Name": "candidhealth",
|
|
534
|
-
"X-Fern-SDK-Version": "0.24.
|
|
534
|
+
"X-Fern-SDK-Version": "0.24.3",
|
|
535
535
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
536
536
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
537
537
|
},
|
|
@@ -596,7 +596,7 @@ class V3 {
|
|
|
596
596
|
Authorization: yield this._getAuthorizationHeader(),
|
|
597
597
|
"X-Fern-Language": "JavaScript",
|
|
598
598
|
"X-Fern-SDK-Name": "candidhealth",
|
|
599
|
-
"X-Fern-SDK-Version": "0.24.
|
|
599
|
+
"X-Fern-SDK-Version": "0.24.3",
|
|
600
600
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
601
601
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
602
602
|
},
|
|
@@ -652,7 +652,7 @@ class V3 {
|
|
|
652
652
|
Authorization: yield this._getAuthorizationHeader(),
|
|
653
653
|
"X-Fern-Language": "JavaScript",
|
|
654
654
|
"X-Fern-SDK-Name": "candidhealth",
|
|
655
|
-
"X-Fern-SDK-Version": "0.24.
|
|
655
|
+
"X-Fern-SDK-Version": "0.24.3",
|
|
656
656
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
657
657
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
658
658
|
},
|
|
@@ -709,7 +709,7 @@ class V3 {
|
|
|
709
709
|
Authorization: yield this._getAuthorizationHeader(),
|
|
710
710
|
"X-Fern-Language": "JavaScript",
|
|
711
711
|
"X-Fern-SDK-Name": "candidhealth",
|
|
712
|
-
"X-Fern-SDK-Version": "0.24.
|
|
712
|
+
"X-Fern-SDK-Version": "0.24.3",
|
|
713
713
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
714
714
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
715
715
|
},
|
|
@@ -762,7 +762,7 @@ class V3 {
|
|
|
762
762
|
Authorization: yield this._getAuthorizationHeader(),
|
|
763
763
|
"X-Fern-Language": "JavaScript",
|
|
764
764
|
"X-Fern-SDK-Name": "candidhealth",
|
|
765
|
-
"X-Fern-SDK-Version": "0.24.
|
|
765
|
+
"X-Fern-SDK-Version": "0.24.3",
|
|
766
766
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
767
767
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
768
768
|
},
|
|
@@ -89,7 +89,7 @@ class V1 {
|
|
|
89
89
|
Authorization: yield this._getAuthorizationHeader(),
|
|
90
90
|
"X-Fern-Language": "JavaScript",
|
|
91
91
|
"X-Fern-SDK-Name": "candidhealth",
|
|
92
|
-
"X-Fern-SDK-Version": "0.24.
|
|
92
|
+
"X-Fern-SDK-Version": "0.24.3",
|
|
93
93
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
94
94
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
95
95
|
},
|
|
@@ -152,7 +152,7 @@ class V1 {
|
|
|
152
152
|
Authorization: yield this._getAuthorizationHeader(),
|
|
153
153
|
"X-Fern-Language": "JavaScript",
|
|
154
154
|
"X-Fern-SDK-Name": "candidhealth",
|
|
155
|
-
"X-Fern-SDK-Version": "0.24.
|
|
155
|
+
"X-Fern-SDK-Version": "0.24.3",
|
|
156
156
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
157
157
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
158
158
|
},
|
|
@@ -220,7 +220,7 @@ class V1 {
|
|
|
220
220
|
Authorization: yield this._getAuthorizationHeader(),
|
|
221
221
|
"X-Fern-Language": "JavaScript",
|
|
222
222
|
"X-Fern-SDK-Name": "candidhealth",
|
|
223
|
-
"X-Fern-SDK-Version": "0.24.
|
|
223
|
+
"X-Fern-SDK-Version": "0.24.3",
|
|
224
224
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
225
225
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
226
226
|
},
|
|
@@ -78,7 +78,7 @@ class V1 {
|
|
|
78
78
|
Authorization: yield this._getAuthorizationHeader(),
|
|
79
79
|
"X-Fern-Language": "JavaScript",
|
|
80
80
|
"X-Fern-SDK-Name": "candidhealth",
|
|
81
|
-
"X-Fern-SDK-Version": "0.24.
|
|
81
|
+
"X-Fern-SDK-Version": "0.24.3",
|
|
82
82
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
83
83
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
84
84
|
},
|
|
@@ -176,7 +176,7 @@ class V1 {
|
|
|
176
176
|
Authorization: yield this._getAuthorizationHeader(),
|
|
177
177
|
"X-Fern-Language": "JavaScript",
|
|
178
178
|
"X-Fern-SDK-Name": "candidhealth",
|
|
179
|
-
"X-Fern-SDK-Version": "0.24.
|
|
179
|
+
"X-Fern-SDK-Version": "0.24.3",
|
|
180
180
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
181
181
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
182
182
|
},
|
|
@@ -224,7 +224,7 @@ class V1 {
|
|
|
224
224
|
Authorization: yield this._getAuthorizationHeader(),
|
|
225
225
|
"X-Fern-Language": "JavaScript",
|
|
226
226
|
"X-Fern-SDK-Name": "candidhealth",
|
|
227
|
-
"X-Fern-SDK-Version": "0.24.
|
|
227
|
+
"X-Fern-SDK-Version": "0.24.3",
|
|
228
228
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
229
229
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
230
230
|
},
|
|
@@ -295,7 +295,7 @@ class V1 {
|
|
|
295
295
|
Authorization: yield this._getAuthorizationHeader(),
|
|
296
296
|
"X-Fern-Language": "JavaScript",
|
|
297
297
|
"X-Fern-SDK-Name": "candidhealth",
|
|
298
|
-
"X-Fern-SDK-Version": "0.24.
|
|
298
|
+
"X-Fern-SDK-Version": "0.24.3",
|
|
299
299
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
300
300
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
301
301
|
},
|
package/api/resources/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export * as auth from "./auth";
|
|
|
2
2
|
export * as billingNotes from "./billingNotes";
|
|
3
3
|
export * as claimSubmission from "./claimSubmission";
|
|
4
4
|
export * as contracts from "./contracts";
|
|
5
|
+
export * as customSchemas from "./customSchemas";
|
|
5
6
|
export * as encounterProviders from "./encounterProviders";
|
|
6
7
|
export * as encounters from "./encounters";
|
|
7
8
|
export * as expectedNetworkStatus from "./expectedNetworkStatus";
|
package/api/resources/index.js
CHANGED
|
@@ -26,11 +26,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
26
26
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.eligibility = exports.preEncounter = exports.tags = exports.serviceFacility = exports.paymentAccountConfigs = exports.individual = exports.identifiers = exports.financials = exports.era = exports.eraCommons = exports.diagnoses = exports.commons = exports.claims = exports.x12 = exports.writeOffs = exports.tasks = exports.serviceLines = exports.remits = exports.payers = exports.patientRefunds = exports.patientPayments = exports.organizationProviders = exports.organizationServiceFacilities = exports.invoices = exports.insuranceRefunds = exports.insurancePayments = exports.insuranceCards = exports.insuranceAdjudications = exports.importInvoice = exports.guarantor = exports.feeSchedules = exports.externalPaymentAccountConfig = exports.exports = exports.expectedNetworkStatus = exports.encounters = exports.encounterProviders = exports.contracts = exports.claimSubmission = exports.billingNotes = exports.auth = void 0;
|
|
29
|
+
exports.eligibility = exports.preEncounter = exports.tags = exports.serviceFacility = exports.paymentAccountConfigs = exports.individual = exports.identifiers = exports.financials = exports.era = exports.eraCommons = exports.diagnoses = exports.commons = exports.claims = exports.x12 = exports.writeOffs = exports.tasks = exports.serviceLines = exports.remits = exports.payers = exports.patientRefunds = exports.patientPayments = exports.organizationProviders = exports.organizationServiceFacilities = exports.invoices = exports.insuranceRefunds = exports.insurancePayments = exports.insuranceCards = exports.insuranceAdjudications = exports.importInvoice = exports.guarantor = exports.feeSchedules = exports.externalPaymentAccountConfig = exports.exports = exports.expectedNetworkStatus = exports.encounters = exports.encounterProviders = exports.customSchemas = exports.contracts = exports.claimSubmission = exports.billingNotes = exports.auth = void 0;
|
|
30
30
|
exports.auth = __importStar(require("./auth"));
|
|
31
31
|
exports.billingNotes = __importStar(require("./billingNotes"));
|
|
32
32
|
exports.claimSubmission = __importStar(require("./claimSubmission"));
|
|
33
33
|
exports.contracts = __importStar(require("./contracts"));
|
|
34
|
+
exports.customSchemas = __importStar(require("./customSchemas"));
|
|
34
35
|
exports.encounterProviders = __importStar(require("./encounterProviders"));
|
|
35
36
|
exports.encounters = __importStar(require("./encounters"));
|
|
36
37
|
exports.expectedNetworkStatus = __importStar(require("./expectedNetworkStatus"));
|
|
@@ -68,7 +68,7 @@ class V1 {
|
|
|
68
68
|
Authorization: yield this._getAuthorizationHeader(),
|
|
69
69
|
"X-Fern-Language": "JavaScript",
|
|
70
70
|
"X-Fern-SDK-Name": "candidhealth",
|
|
71
|
-
"X-Fern-SDK-Version": "0.24.
|
|
71
|
+
"X-Fern-SDK-Version": "0.24.3",
|
|
72
72
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
73
73
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
74
74
|
},
|
|
@@ -127,7 +127,7 @@ class V1 {
|
|
|
127
127
|
Authorization: yield this._getAuthorizationHeader(),
|
|
128
128
|
"X-Fern-Language": "JavaScript",
|
|
129
129
|
"X-Fern-SDK-Name": "candidhealth",
|
|
130
|
-
"X-Fern-SDK-Version": "0.24.
|
|
130
|
+
"X-Fern-SDK-Version": "0.24.3",
|
|
131
131
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
132
132
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
133
133
|
},
|
|
@@ -191,7 +191,7 @@ class V1 {
|
|
|
191
191
|
Authorization: yield this._getAuthorizationHeader(),
|
|
192
192
|
"X-Fern-Language": "JavaScript",
|
|
193
193
|
"X-Fern-SDK-Name": "candidhealth",
|
|
194
|
-
"X-Fern-SDK-Version": "0.24.
|
|
194
|
+
"X-Fern-SDK-Version": "0.24.3",
|
|
195
195
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
196
196
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
197
197
|
},
|
|
@@ -103,7 +103,7 @@ class V1 {
|
|
|
103
103
|
Authorization: yield this._getAuthorizationHeader(),
|
|
104
104
|
"X-Fern-Language": "JavaScript",
|
|
105
105
|
"X-Fern-SDK-Name": "candidhealth",
|
|
106
|
-
"X-Fern-SDK-Version": "0.24.
|
|
106
|
+
"X-Fern-SDK-Version": "0.24.3",
|
|
107
107
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
108
108
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
109
109
|
},
|
|
@@ -167,7 +167,7 @@ class V1 {
|
|
|
167
167
|
Authorization: yield this._getAuthorizationHeader(),
|
|
168
168
|
"X-Fern-Language": "JavaScript",
|
|
169
169
|
"X-Fern-SDK-Name": "candidhealth",
|
|
170
|
-
"X-Fern-SDK-Version": "0.24.
|
|
170
|
+
"X-Fern-SDK-Version": "0.24.3",
|
|
171
171
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
172
172
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
173
173
|
},
|
|
@@ -239,7 +239,7 @@ class V1 {
|
|
|
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.3",
|
|
243
243
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
244
244
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
245
245
|
},
|
|
@@ -313,7 +313,7 @@ class V1 {
|
|
|
313
313
|
Authorization: yield this._getAuthorizationHeader(),
|
|
314
314
|
"X-Fern-Language": "JavaScript",
|
|
315
315
|
"X-Fern-SDK-Name": "candidhealth",
|
|
316
|
-
"X-Fern-SDK-Version": "0.24.
|
|
316
|
+
"X-Fern-SDK-Version": "0.24.3",
|
|
317
317
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
318
318
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
319
319
|
},
|
|
@@ -381,7 +381,7 @@ class V1 {
|
|
|
381
381
|
Authorization: yield this._getAuthorizationHeader(),
|
|
382
382
|
"X-Fern-Language": "JavaScript",
|
|
383
383
|
"X-Fern-SDK-Name": "candidhealth",
|
|
384
|
-
"X-Fern-SDK-Version": "0.24.
|
|
384
|
+
"X-Fern-SDK-Version": "0.24.3",
|
|
385
385
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
386
386
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
387
387
|
},
|
|
@@ -104,7 +104,7 @@ class V1 {
|
|
|
104
104
|
Authorization: yield this._getAuthorizationHeader(),
|
|
105
105
|
"X-Fern-Language": "JavaScript",
|
|
106
106
|
"X-Fern-SDK-Name": "candidhealth",
|
|
107
|
-
"X-Fern-SDK-Version": "0.24.
|
|
107
|
+
"X-Fern-SDK-Version": "0.24.3",
|
|
108
108
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
109
109
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
110
110
|
},
|
|
@@ -168,7 +168,7 @@ class V1 {
|
|
|
168
168
|
Authorization: yield this._getAuthorizationHeader(),
|
|
169
169
|
"X-Fern-Language": "JavaScript",
|
|
170
170
|
"X-Fern-SDK-Name": "candidhealth",
|
|
171
|
-
"X-Fern-SDK-Version": "0.24.
|
|
171
|
+
"X-Fern-SDK-Version": "0.24.3",
|
|
172
172
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
173
173
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
174
174
|
},
|
|
@@ -241,7 +241,7 @@ class V1 {
|
|
|
241
241
|
Authorization: yield this._getAuthorizationHeader(),
|
|
242
242
|
"X-Fern-Language": "JavaScript",
|
|
243
243
|
"X-Fern-SDK-Name": "candidhealth",
|
|
244
|
-
"X-Fern-SDK-Version": "0.24.
|
|
244
|
+
"X-Fern-SDK-Version": "0.24.3",
|
|
245
245
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
246
246
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
247
247
|
},
|
|
@@ -319,7 +319,7 @@ class V1 {
|
|
|
319
319
|
Authorization: yield this._getAuthorizationHeader(),
|
|
320
320
|
"X-Fern-Language": "JavaScript",
|
|
321
321
|
"X-Fern-SDK-Name": "candidhealth",
|
|
322
|
-
"X-Fern-SDK-Version": "0.24.
|
|
322
|
+
"X-Fern-SDK-Version": "0.24.3",
|
|
323
323
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
324
324
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
325
325
|
},
|
|
@@ -387,7 +387,7 @@ class V1 {
|
|
|
387
387
|
Authorization: yield this._getAuthorizationHeader(),
|
|
388
388
|
"X-Fern-Language": "JavaScript",
|
|
389
389
|
"X-Fern-SDK-Name": "candidhealth",
|
|
390
|
-
"X-Fern-SDK-Version": "0.24.
|
|
390
|
+
"X-Fern-SDK-Version": "0.24.3",
|
|
391
391
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
392
392
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
393
393
|
},
|