candidhealth 0.9.0 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.d.ts +3 -0
- package/Client.js +7 -2
- 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/TaskAssignmentId.d.ts +8 -0
- package/api/resources/commons/types/TaskAssignmentId.js +10 -0
- package/api/resources/commons/types/TaskId.d.ts +8 -0
- package/api/resources/commons/types/TaskId.js +10 -0
- package/api/resources/commons/types/TaskNoteId.d.ts +8 -0
- package/api/resources/commons/types/TaskNoteId.js +10 -0
- package/api/resources/commons/types/UnprocessableEntityErrorMessage.d.ts +6 -0
- package/api/resources/commons/types/UnprocessableEntityErrorMessage.js +5 -0
- package/api/resources/commons/types/UserId.d.ts +8 -0
- package/api/resources/commons/types/UserId.js +10 -0
- package/api/resources/commons/types/index.d.ts +5 -0
- package/api/resources/commons/types/index.js +5 -0
- package/api/resources/eligibility/resources/v2/client/Client.js +1 -1
- package/api/resources/encounters/resources/v4/client/Client.js +4 -4
- 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/guarantor/resources/v1/client/Client.js +3 -3
- 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/insuranceRefunds/resources/v1/client/Client.js +3 -3
- package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +1 -0
- package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +1 -0
- 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 +3 -3
- package/api/resources/patientRefunds/resources/v1/client/Client.js +3 -3
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/payers/resources/v3/types/PayerId.d.ts +8 -0
- package/api/resources/payers/resources/v3/types/PayerId.js +10 -0
- package/api/resources/payers/resources/v3/types/index.d.ts +1 -0
- package/api/resources/payers/resources/v3/types/index.js +1 -0
- package/api/resources/tasks/client/Client.d.ts +18 -0
- package/api/resources/tasks/client/Client.js +18 -0
- package/api/resources/tasks/client/index.d.ts +1 -0
- package/api/resources/tasks/client/index.js +2 -0
- package/api/resources/tasks/index.d.ts +2 -0
- package/api/resources/tasks/index.js +18 -0
- package/api/resources/tasks/resources/commons/index.d.ts +1 -0
- package/api/resources/tasks/resources/commons/index.js +17 -0
- package/api/resources/tasks/resources/commons/types/TaskCategory.d.ts +45 -0
- package/api/resources/tasks/resources/commons/types/TaskCategory.js +47 -0
- package/api/resources/tasks/resources/commons/types/TaskStatus.d.ts +13 -0
- package/api/resources/tasks/resources/commons/types/TaskStatus.js +15 -0
- package/api/resources/tasks/resources/commons/types/TaskType.d.ts +18 -0
- package/api/resources/tasks/resources/commons/types/TaskType.js +20 -0
- package/api/resources/tasks/resources/commons/types/index.d.ts +3 -0
- package/api/resources/tasks/resources/commons/types/index.js +19 -0
- package/api/resources/tasks/resources/index.d.ts +3 -0
- package/api/resources/tasks/resources/index.js +32 -0
- package/api/resources/tasks/resources/v3/client/Client.d.ts +42 -0
- package/api/resources/tasks/resources/v3/client/Client.js +306 -0
- package/api/resources/tasks/resources/v3/client/create.d.ts +22 -0
- package/api/resources/tasks/resources/v3/client/create.js +47 -0
- package/api/resources/tasks/resources/v3/client/get.d.ts +34 -0
- package/api/resources/tasks/resources/v3/client/get.js +69 -0
- package/api/resources/tasks/resources/v3/client/getActions.d.ts +22 -0
- package/api/resources/tasks/resources/v3/client/getActions.js +47 -0
- package/api/resources/tasks/resources/v3/client/getMulti.d.ts +31 -0
- package/api/resources/tasks/resources/v3/client/getMulti.js +58 -0
- package/api/resources/tasks/resources/v3/client/index.d.ts +6 -0
- package/api/resources/tasks/resources/v3/client/index.js +35 -0
- package/api/resources/tasks/resources/v3/client/requests/GetAllTasksRequest.d.ts +49 -0
- package/api/resources/tasks/resources/v3/client/requests/GetAllTasksRequest.js +5 -0
- package/api/resources/tasks/resources/v3/client/requests/index.d.ts +1 -0
- package/api/resources/tasks/resources/v3/client/requests/index.js +2 -0
- package/api/resources/tasks/resources/v3/client/update.d.ts +40 -0
- package/api/resources/tasks/resources/v3/client/update.js +80 -0
- package/api/resources/tasks/resources/v3/index.d.ts +2 -0
- package/api/resources/tasks/resources/v3/index.js +18 -0
- package/api/resources/tasks/resources/v3/types/Task.d.ts +26 -0
- package/api/resources/tasks/resources/v3/types/Task.js +5 -0
- package/api/resources/tasks/resources/v3/types/TaskAction.d.ts +8 -0
- package/api/resources/tasks/resources/v3/types/TaskAction.js +5 -0
- package/api/resources/tasks/resources/v3/types/TaskActionExecutionMethod.d.ts +10 -0
- package/api/resources/tasks/resources/v3/types/TaskActionExecutionMethod.js +5 -0
- package/api/resources/tasks/resources/v3/types/TaskActions.d.ts +7 -0
- package/api/resources/tasks/resources/v3/types/TaskActions.js +5 -0
- package/api/resources/tasks/resources/v3/types/TaskAssignment.d.ts +8 -0
- package/api/resources/tasks/resources/v3/types/TaskAssignment.js +5 -0
- package/api/resources/tasks/resources/v3/types/TaskCreateV3.d.ts +13 -0
- package/api/resources/tasks/resources/v3/types/TaskCreateV3.js +5 -0
- package/api/resources/tasks/resources/v3/types/TaskNote.d.ts +11 -0
- package/api/resources/tasks/resources/v3/types/TaskNote.js +5 -0
- package/api/resources/tasks/resources/v3/types/TaskPage.d.ts +7 -0
- package/api/resources/tasks/resources/v3/types/TaskPage.js +5 -0
- package/api/resources/tasks/resources/v3/types/TaskSortOptions.d.ts +28 -0
- package/api/resources/tasks/resources/v3/types/TaskSortOptions.js +30 -0
- package/api/resources/tasks/resources/v3/types/TaskUpdateV3.d.ts +9 -0
- package/api/resources/tasks/resources/v3/types/TaskUpdateV3.js +5 -0
- package/api/resources/tasks/resources/v3/types/TaskUpdatedToDeprecatedStatusErrorType.d.ts +7 -0
- package/api/resources/tasks/resources/v3/types/TaskUpdatedToDeprecatedStatusErrorType.js +5 -0
- package/api/resources/tasks/resources/v3/types/index.d.ts +11 -0
- package/api/resources/tasks/resources/v3/types/index.js +27 -0
- package/api/resources/writeOffs/resources/v1/client/Client.js +3 -3
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +7 -2
- 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/TaskAssignmentId.d.ts +8 -0
- package/dist/api/resources/commons/types/TaskAssignmentId.js +10 -0
- package/dist/api/resources/commons/types/TaskId.d.ts +8 -0
- package/dist/api/resources/commons/types/TaskId.js +10 -0
- package/dist/api/resources/commons/types/TaskNoteId.d.ts +8 -0
- package/dist/api/resources/commons/types/TaskNoteId.js +10 -0
- package/dist/api/resources/commons/types/UnprocessableEntityErrorMessage.d.ts +6 -0
- package/dist/api/resources/commons/types/UnprocessableEntityErrorMessage.js +5 -0
- package/dist/api/resources/commons/types/UserId.d.ts +8 -0
- package/dist/api/resources/commons/types/UserId.js +10 -0
- package/dist/api/resources/commons/types/index.d.ts +5 -0
- package/dist/api/resources/commons/types/index.js +5 -0
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
- 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/guarantor/resources/v1/client/Client.js +3 -3
- 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/insuranceRefunds/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +1 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +1 -0
- 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 +3 -3
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/payers/resources/v3/types/PayerId.d.ts +8 -0
- package/dist/api/resources/payers/resources/v3/types/PayerId.js +10 -0
- package/dist/api/resources/payers/resources/v3/types/index.d.ts +1 -0
- package/dist/api/resources/payers/resources/v3/types/index.js +1 -0
- package/dist/api/resources/tasks/client/Client.d.ts +18 -0
- package/dist/api/resources/tasks/client/Client.js +18 -0
- package/dist/api/resources/tasks/client/index.d.ts +1 -0
- package/dist/api/resources/tasks/client/index.js +2 -0
- package/dist/api/resources/tasks/index.d.ts +2 -0
- package/dist/api/resources/tasks/index.js +18 -0
- package/dist/api/resources/tasks/resources/commons/index.d.ts +1 -0
- package/dist/api/resources/tasks/resources/commons/index.js +17 -0
- package/dist/api/resources/tasks/resources/commons/types/TaskCategory.d.ts +45 -0
- package/dist/api/resources/tasks/resources/commons/types/TaskCategory.js +47 -0
- package/dist/api/resources/tasks/resources/commons/types/TaskStatus.d.ts +13 -0
- package/dist/api/resources/tasks/resources/commons/types/TaskStatus.js +15 -0
- package/dist/api/resources/tasks/resources/commons/types/TaskType.d.ts +18 -0
- package/dist/api/resources/tasks/resources/commons/types/TaskType.js +20 -0
- package/dist/api/resources/tasks/resources/commons/types/index.d.ts +3 -0
- package/dist/api/resources/tasks/resources/commons/types/index.js +19 -0
- package/dist/api/resources/tasks/resources/index.d.ts +3 -0
- package/dist/api/resources/tasks/resources/index.js +32 -0
- package/dist/api/resources/tasks/resources/v3/client/Client.d.ts +42 -0
- package/dist/api/resources/tasks/resources/v3/client/Client.js +306 -0
- package/dist/api/resources/tasks/resources/v3/client/create.d.ts +22 -0
- package/dist/api/resources/tasks/resources/v3/client/create.js +47 -0
- package/dist/api/resources/tasks/resources/v3/client/get.d.ts +34 -0
- package/dist/api/resources/tasks/resources/v3/client/get.js +69 -0
- package/dist/api/resources/tasks/resources/v3/client/getActions.d.ts +22 -0
- package/dist/api/resources/tasks/resources/v3/client/getActions.js +47 -0
- package/dist/api/resources/tasks/resources/v3/client/getMulti.d.ts +31 -0
- package/dist/api/resources/tasks/resources/v3/client/getMulti.js +58 -0
- package/dist/api/resources/tasks/resources/v3/client/index.d.ts +6 -0
- package/dist/api/resources/tasks/resources/v3/client/index.js +35 -0
- package/dist/api/resources/tasks/resources/v3/client/requests/GetAllTasksRequest.d.ts +49 -0
- package/dist/api/resources/tasks/resources/v3/client/requests/GetAllTasksRequest.js +5 -0
- package/dist/api/resources/tasks/resources/v3/client/requests/index.d.ts +1 -0
- package/dist/api/resources/tasks/resources/v3/client/requests/index.js +2 -0
- package/dist/api/resources/tasks/resources/v3/client/update.d.ts +40 -0
- package/dist/api/resources/tasks/resources/v3/client/update.js +80 -0
- package/dist/api/resources/tasks/resources/v3/index.d.ts +2 -0
- package/dist/api/resources/tasks/resources/v3/index.js +18 -0
- package/dist/api/resources/tasks/resources/v3/types/Task.d.ts +26 -0
- package/dist/api/resources/tasks/resources/v3/types/Task.js +5 -0
- package/dist/api/resources/tasks/resources/v3/types/TaskAction.d.ts +8 -0
- package/dist/api/resources/tasks/resources/v3/types/TaskAction.js +5 -0
- package/dist/api/resources/tasks/resources/v3/types/TaskActionExecutionMethod.d.ts +10 -0
- package/dist/api/resources/tasks/resources/v3/types/TaskActionExecutionMethod.js +5 -0
- package/dist/api/resources/tasks/resources/v3/types/TaskActions.d.ts +7 -0
- package/dist/api/resources/tasks/resources/v3/types/TaskActions.js +5 -0
- package/dist/api/resources/tasks/resources/v3/types/TaskAssignment.d.ts +8 -0
- package/dist/api/resources/tasks/resources/v3/types/TaskAssignment.js +5 -0
- package/dist/api/resources/tasks/resources/v3/types/TaskCreateV3.d.ts +13 -0
- package/dist/api/resources/tasks/resources/v3/types/TaskCreateV3.js +5 -0
- package/dist/api/resources/tasks/resources/v3/types/TaskNote.d.ts +11 -0
- package/dist/api/resources/tasks/resources/v3/types/TaskNote.js +5 -0
- package/dist/api/resources/tasks/resources/v3/types/TaskPage.d.ts +7 -0
- package/dist/api/resources/tasks/resources/v3/types/TaskPage.js +5 -0
- package/dist/api/resources/tasks/resources/v3/types/TaskSortOptions.d.ts +28 -0
- package/dist/api/resources/tasks/resources/v3/types/TaskSortOptions.js +30 -0
- package/dist/api/resources/tasks/resources/v3/types/TaskUpdateV3.d.ts +9 -0
- package/dist/api/resources/tasks/resources/v3/types/TaskUpdateV3.js +5 -0
- package/dist/api/resources/tasks/resources/v3/types/TaskUpdatedToDeprecatedStatusErrorType.d.ts +7 -0
- package/dist/api/resources/tasks/resources/v3/types/TaskUpdatedToDeprecatedStatusErrorType.js +5 -0
- package/dist/api/resources/tasks/resources/v3/types/index.d.ts +11 -0
- package/dist/api/resources/tasks/resources/v3/types/index.js +27 -0
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +3 -3
- package/dist/serialization/resources/commons/types/TaskAssignmentId.d.ts +10 -0
- package/dist/serialization/resources/commons/types/TaskAssignmentId.js +35 -0
- package/dist/serialization/resources/commons/types/TaskId.d.ts +10 -0
- package/dist/serialization/resources/commons/types/TaskId.js +37 -0
- package/dist/serialization/resources/commons/types/TaskNoteId.d.ts +10 -0
- package/dist/serialization/resources/commons/types/TaskNoteId.js +35 -0
- package/dist/serialization/resources/commons/types/UnprocessableEntityErrorMessage.d.ts +12 -0
- package/dist/serialization/resources/commons/types/UnprocessableEntityErrorMessage.js +33 -0
- package/dist/serialization/resources/commons/types/UserId.d.ts +10 -0
- package/dist/serialization/resources/commons/types/UserId.js +37 -0
- package/dist/serialization/resources/commons/types/index.d.ts +5 -0
- package/dist/serialization/resources/commons/types/index.js +5 -0
- package/dist/serialization/resources/index.d.ts +1 -0
- package/dist/serialization/resources/index.js +2 -1
- package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +1 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.js +1 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +1 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.js +1 -0
- package/dist/serialization/resources/payers/resources/v3/types/PayerId.d.ts +10 -0
- package/dist/serialization/resources/payers/resources/v3/types/PayerId.js +35 -0
- package/dist/serialization/resources/payers/resources/v3/types/index.d.ts +1 -0
- package/dist/serialization/resources/payers/resources/v3/types/index.js +1 -0
- package/dist/serialization/resources/tasks/index.d.ts +1 -0
- package/dist/serialization/resources/tasks/index.js +17 -0
- package/dist/serialization/resources/tasks/resources/commons/index.d.ts +1 -0
- package/dist/serialization/resources/tasks/resources/commons/index.js +17 -0
- package/dist/serialization/resources/tasks/resources/commons/types/TaskCategory.d.ts +10 -0
- package/dist/serialization/resources/tasks/resources/commons/types/TaskCategory.js +71 -0
- package/dist/serialization/resources/tasks/resources/commons/types/TaskStatus.d.ts +10 -0
- package/dist/serialization/resources/tasks/resources/commons/types/TaskStatus.js +39 -0
- package/dist/serialization/resources/tasks/resources/commons/types/TaskType.d.ts +10 -0
- package/dist/serialization/resources/tasks/resources/commons/types/TaskType.js +44 -0
- package/dist/serialization/resources/tasks/resources/commons/types/index.d.ts +3 -0
- package/dist/serialization/resources/tasks/resources/commons/types/index.js +19 -0
- package/dist/serialization/resources/tasks/resources/index.d.ts +3 -0
- package/dist/serialization/resources/tasks/resources/index.js +32 -0
- package/dist/serialization/resources/tasks/resources/v3/client/get.d.ts +18 -0
- package/dist/serialization/resources/tasks/resources/v3/client/get.js +51 -0
- package/dist/serialization/resources/tasks/resources/v3/client/getMulti.d.ts +14 -0
- package/dist/serialization/resources/tasks/resources/v3/client/getMulti.js +46 -0
- package/dist/serialization/resources/tasks/resources/v3/client/index.d.ts +3 -0
- package/dist/serialization/resources/tasks/resources/v3/client/index.js +29 -0
- package/dist/serialization/resources/tasks/resources/v3/client/update.d.ts +22 -0
- package/dist/serialization/resources/tasks/resources/v3/client/update.js +56 -0
- package/dist/serialization/resources/tasks/resources/v3/index.d.ts +2 -0
- package/dist/serialization/resources/tasks/resources/v3/index.js +18 -0
- package/dist/serialization/resources/tasks/resources/v3/types/Task.d.ts +29 -0
- package/dist/serialization/resources/tasks/resources/v3/types/Task.js +50 -0
- package/dist/serialization/resources/tasks/resources/v3/types/TaskAction.d.ts +13 -0
- package/dist/serialization/resources/tasks/resources/v3/types/TaskAction.js +34 -0
- package/dist/serialization/resources/tasks/resources/v3/types/TaskActionExecutionMethod.d.ts +13 -0
- package/dist/serialization/resources/tasks/resources/v3/types/TaskActionExecutionMethod.js +38 -0
- package/dist/serialization/resources/tasks/resources/v3/types/TaskActions.d.ts +12 -0
- package/dist/serialization/resources/tasks/resources/v3/types/TaskActions.js +33 -0
- package/dist/serialization/resources/tasks/resources/v3/types/TaskAssignment.d.ts +13 -0
- package/dist/serialization/resources/tasks/resources/v3/types/TaskAssignment.js +34 -0
- package/dist/serialization/resources/tasks/resources/v3/types/TaskCreateV3.d.ts +18 -0
- package/dist/serialization/resources/tasks/resources/v3/types/TaskCreateV3.js +39 -0
- package/dist/serialization/resources/tasks/resources/v3/types/TaskNote.d.ts +16 -0
- package/dist/serialization/resources/tasks/resources/v3/types/TaskNote.js +37 -0
- package/dist/serialization/resources/tasks/resources/v3/types/TaskPage.d.ts +12 -0
- package/dist/serialization/resources/tasks/resources/v3/types/TaskPage.js +35 -0
- package/dist/serialization/resources/tasks/resources/v3/types/TaskSortOptions.d.ts +10 -0
- package/dist/serialization/resources/tasks/resources/v3/types/TaskSortOptions.js +54 -0
- package/dist/serialization/resources/tasks/resources/v3/types/TaskUpdateV3.d.ts +14 -0
- package/dist/serialization/resources/tasks/resources/v3/types/TaskUpdateV3.js +35 -0
- package/dist/serialization/resources/tasks/resources/v3/types/TaskUpdatedToDeprecatedStatusErrorType.d.ts +12 -0
- package/dist/serialization/resources/tasks/resources/v3/types/TaskUpdatedToDeprecatedStatusErrorType.js +33 -0
- package/dist/serialization/resources/tasks/resources/v3/types/index.d.ts +11 -0
- package/dist/serialization/resources/tasks/resources/v3/types/index.js +27 -0
- package/package.json +1 -1
- package/serialization/resources/commons/types/TaskAssignmentId.d.ts +10 -0
- package/serialization/resources/commons/types/TaskAssignmentId.js +35 -0
- package/serialization/resources/commons/types/TaskId.d.ts +10 -0
- package/serialization/resources/commons/types/TaskId.js +37 -0
- package/serialization/resources/commons/types/TaskNoteId.d.ts +10 -0
- package/serialization/resources/commons/types/TaskNoteId.js +35 -0
- package/serialization/resources/commons/types/UnprocessableEntityErrorMessage.d.ts +12 -0
- package/serialization/resources/commons/types/UnprocessableEntityErrorMessage.js +33 -0
- package/serialization/resources/commons/types/UserId.d.ts +10 -0
- package/serialization/resources/commons/types/UserId.js +37 -0
- package/serialization/resources/commons/types/index.d.ts +5 -0
- package/serialization/resources/commons/types/index.js +5 -0
- package/serialization/resources/index.d.ts +1 -0
- package/serialization/resources/index.js +2 -1
- package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +1 -0
- package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.js +1 -0
- package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +1 -0
- package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.js +1 -0
- package/serialization/resources/payers/resources/v3/types/PayerId.d.ts +10 -0
- package/serialization/resources/payers/resources/v3/types/PayerId.js +35 -0
- package/serialization/resources/payers/resources/v3/types/index.d.ts +1 -0
- package/serialization/resources/payers/resources/v3/types/index.js +1 -0
- package/serialization/resources/tasks/index.d.ts +1 -0
- package/serialization/resources/tasks/index.js +17 -0
- package/serialization/resources/tasks/resources/commons/index.d.ts +1 -0
- package/serialization/resources/tasks/resources/commons/index.js +17 -0
- package/serialization/resources/tasks/resources/commons/types/TaskCategory.d.ts +10 -0
- package/serialization/resources/tasks/resources/commons/types/TaskCategory.js +71 -0
- package/serialization/resources/tasks/resources/commons/types/TaskStatus.d.ts +10 -0
- package/serialization/resources/tasks/resources/commons/types/TaskStatus.js +39 -0
- package/serialization/resources/tasks/resources/commons/types/TaskType.d.ts +10 -0
- package/serialization/resources/tasks/resources/commons/types/TaskType.js +44 -0
- package/serialization/resources/tasks/resources/commons/types/index.d.ts +3 -0
- package/serialization/resources/tasks/resources/commons/types/index.js +19 -0
- package/serialization/resources/tasks/resources/index.d.ts +3 -0
- package/serialization/resources/tasks/resources/index.js +32 -0
- package/serialization/resources/tasks/resources/v3/client/get.d.ts +18 -0
- package/serialization/resources/tasks/resources/v3/client/get.js +51 -0
- package/serialization/resources/tasks/resources/v3/client/getMulti.d.ts +14 -0
- package/serialization/resources/tasks/resources/v3/client/getMulti.js +46 -0
- package/serialization/resources/tasks/resources/v3/client/index.d.ts +3 -0
- package/serialization/resources/tasks/resources/v3/client/index.js +29 -0
- package/serialization/resources/tasks/resources/v3/client/update.d.ts +22 -0
- package/serialization/resources/tasks/resources/v3/client/update.js +56 -0
- package/serialization/resources/tasks/resources/v3/index.d.ts +2 -0
- package/serialization/resources/tasks/resources/v3/index.js +18 -0
- package/serialization/resources/tasks/resources/v3/types/Task.d.ts +29 -0
- package/serialization/resources/tasks/resources/v3/types/Task.js +50 -0
- package/serialization/resources/tasks/resources/v3/types/TaskAction.d.ts +13 -0
- package/serialization/resources/tasks/resources/v3/types/TaskAction.js +34 -0
- package/serialization/resources/tasks/resources/v3/types/TaskActionExecutionMethod.d.ts +13 -0
- package/serialization/resources/tasks/resources/v3/types/TaskActionExecutionMethod.js +38 -0
- package/serialization/resources/tasks/resources/v3/types/TaskActions.d.ts +12 -0
- package/serialization/resources/tasks/resources/v3/types/TaskActions.js +33 -0
- package/serialization/resources/tasks/resources/v3/types/TaskAssignment.d.ts +13 -0
- package/serialization/resources/tasks/resources/v3/types/TaskAssignment.js +34 -0
- package/serialization/resources/tasks/resources/v3/types/TaskCreateV3.d.ts +18 -0
- package/serialization/resources/tasks/resources/v3/types/TaskCreateV3.js +39 -0
- package/serialization/resources/tasks/resources/v3/types/TaskNote.d.ts +16 -0
- package/serialization/resources/tasks/resources/v3/types/TaskNote.js +37 -0
- package/serialization/resources/tasks/resources/v3/types/TaskPage.d.ts +12 -0
- package/serialization/resources/tasks/resources/v3/types/TaskPage.js +35 -0
- package/serialization/resources/tasks/resources/v3/types/TaskSortOptions.d.ts +10 -0
- package/serialization/resources/tasks/resources/v3/types/TaskSortOptions.js +54 -0
- package/serialization/resources/tasks/resources/v3/types/TaskUpdateV3.d.ts +14 -0
- package/serialization/resources/tasks/resources/v3/types/TaskUpdateV3.js +35 -0
- package/serialization/resources/tasks/resources/v3/types/TaskUpdatedToDeprecatedStatusErrorType.d.ts +12 -0
- package/serialization/resources/tasks/resources/v3/types/TaskUpdatedToDeprecatedStatusErrorType.js +33 -0
- package/serialization/resources/tasks/resources/v3/types/index.d.ts +11 -0
- package/serialization/resources/tasks/resources/v3/types/index.js +27 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
18
|
+
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../..";
|
|
5
|
+
import * as CandidApi from "../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const Task: core.serialization.ObjectSchema<serializers.tasks.v3.Task.Raw, CandidApi.tasks.v3.Task>;
|
|
8
|
+
export declare namespace Task {
|
|
9
|
+
interface Raw {
|
|
10
|
+
task_id: serializers.TaskId.Raw;
|
|
11
|
+
encounter_id: serializers.EncounterId.Raw;
|
|
12
|
+
task_type: serializers.tasks.TaskType.Raw;
|
|
13
|
+
description: string;
|
|
14
|
+
blocks_claim_submission: boolean;
|
|
15
|
+
external_id: string;
|
|
16
|
+
patient_name: string;
|
|
17
|
+
patient_external_id: string;
|
|
18
|
+
payer_name?: string | null;
|
|
19
|
+
payer_id?: string | null;
|
|
20
|
+
status: serializers.tasks.TaskStatus.Raw;
|
|
21
|
+
notes: serializers.tasks.v3.TaskNote.Raw[];
|
|
22
|
+
created_at: string;
|
|
23
|
+
updated_at: string;
|
|
24
|
+
agg_updated_at: string;
|
|
25
|
+
date_of_service: string;
|
|
26
|
+
assignments: serializers.tasks.v3.TaskAssignment.Raw[];
|
|
27
|
+
category?: serializers.tasks.TaskCategory.Raw | null;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Task = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
exports.Task = core.serialization.object({
|
|
32
|
+
taskId: core.serialization.property("task_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).TaskId)),
|
|
33
|
+
encounterId: core.serialization.property("encounter_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).EncounterId)),
|
|
34
|
+
taskType: core.serialization.property("task_type", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).tasks.TaskType)),
|
|
35
|
+
description: core.serialization.string(),
|
|
36
|
+
blocksClaimSubmission: core.serialization.property("blocks_claim_submission", core.serialization.boolean()),
|
|
37
|
+
externalId: core.serialization.property("external_id", core.serialization.string()),
|
|
38
|
+
patientName: core.serialization.property("patient_name", core.serialization.string()),
|
|
39
|
+
patientExternalId: core.serialization.property("patient_external_id", core.serialization.string()),
|
|
40
|
+
payerName: core.serialization.property("payer_name", core.serialization.string().optional()),
|
|
41
|
+
payerId: core.serialization.property("payer_id", core.serialization.string().optional()),
|
|
42
|
+
status: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).tasks.TaskStatus),
|
|
43
|
+
notes: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).tasks.v3.TaskNote)),
|
|
44
|
+
createdAt: core.serialization.property("created_at", core.serialization.date()),
|
|
45
|
+
updatedAt: core.serialization.property("updated_at", core.serialization.date()),
|
|
46
|
+
aggUpdatedAt: core.serialization.property("agg_updated_at", core.serialization.date()),
|
|
47
|
+
dateOfService: core.serialization.property("date_of_service", core.serialization.string()),
|
|
48
|
+
assignments: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).tasks.v3.TaskAssignment)),
|
|
49
|
+
category: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).tasks.TaskCategory).optional(),
|
|
50
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../..";
|
|
5
|
+
import * as CandidApi from "../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const TaskAction: core.serialization.ObjectSchema<serializers.tasks.v3.TaskAction.Raw, CandidApi.tasks.v3.TaskAction>;
|
|
8
|
+
export declare namespace TaskAction {
|
|
9
|
+
interface Raw {
|
|
10
|
+
display_name: string;
|
|
11
|
+
execution_method: serializers.tasks.v3.TaskActionExecutionMethod.Raw;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.TaskAction = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
exports.TaskAction = core.serialization.object({
|
|
32
|
+
displayName: core.serialization.property("display_name", core.serialization.string()),
|
|
33
|
+
executionMethod: core.serialization.property("execution_method", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).tasks.v3.TaskActionExecutionMethod)),
|
|
34
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../..";
|
|
5
|
+
import * as CandidApi from "../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const TaskActionExecutionMethod: core.serialization.Schema<serializers.tasks.v3.TaskActionExecutionMethod.Raw, CandidApi.tasks.v3.TaskActionExecutionMethod>;
|
|
8
|
+
export declare namespace TaskActionExecutionMethod {
|
|
9
|
+
type Raw = TaskActionExecutionMethod.CloseTask;
|
|
10
|
+
interface CloseTask {
|
|
11
|
+
type: "close_task";
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.TaskActionExecutionMethod = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
exports.TaskActionExecutionMethod = core.serialization
|
|
32
|
+
.union("type", {
|
|
33
|
+
close_task: core.serialization.object({}),
|
|
34
|
+
})
|
|
35
|
+
.transform({
|
|
36
|
+
transform: (value) => value,
|
|
37
|
+
untransform: (value) => value,
|
|
38
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../..";
|
|
5
|
+
import * as CandidApi from "../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const TaskActions: core.serialization.ObjectSchema<serializers.tasks.v3.TaskActions.Raw, CandidApi.tasks.v3.TaskActions>;
|
|
8
|
+
export declare namespace TaskActions {
|
|
9
|
+
interface Raw {
|
|
10
|
+
actions: serializers.tasks.v3.TaskAction.Raw[];
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.TaskActions = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
exports.TaskActions = core.serialization.object({
|
|
32
|
+
actions: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).tasks.v3.TaskAction)),
|
|
33
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../..";
|
|
5
|
+
import * as CandidApi from "../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const TaskAssignment: core.serialization.ObjectSchema<serializers.tasks.v3.TaskAssignment.Raw, CandidApi.tasks.v3.TaskAssignment>;
|
|
8
|
+
export declare namespace TaskAssignment {
|
|
9
|
+
interface Raw {
|
|
10
|
+
task_assignment_id: serializers.TaskAssignmentId.Raw;
|
|
11
|
+
assignee_user_id?: serializers.UserId.Raw | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.TaskAssignment = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
exports.TaskAssignment = core.serialization.object({
|
|
32
|
+
taskAssignmentId: core.serialization.property("task_assignment_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).TaskAssignmentId)),
|
|
33
|
+
assigneeUserId: core.serialization.property("assignee_user_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).UserId).optional()),
|
|
34
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../..";
|
|
5
|
+
import * as CandidApi from "../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const TaskCreateV3: core.serialization.ObjectSchema<serializers.tasks.v3.TaskCreateV3.Raw, CandidApi.tasks.v3.TaskCreateV3>;
|
|
8
|
+
export declare namespace TaskCreateV3 {
|
|
9
|
+
interface Raw {
|
|
10
|
+
encounter_id: serializers.EncounterId.Raw;
|
|
11
|
+
task_type: serializers.tasks.TaskType.Raw;
|
|
12
|
+
description: string;
|
|
13
|
+
blocks_claim_submission?: boolean | null;
|
|
14
|
+
assignee_user_id?: serializers.UserId.Raw | null;
|
|
15
|
+
category?: serializers.tasks.TaskCategory.Raw | null;
|
|
16
|
+
work_queue_id: serializers.WorkQueueId.Raw;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.TaskCreateV3 = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
exports.TaskCreateV3 = core.serialization.object({
|
|
32
|
+
encounterId: core.serialization.property("encounter_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).EncounterId)),
|
|
33
|
+
taskType: core.serialization.property("task_type", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).tasks.TaskType)),
|
|
34
|
+
description: core.serialization.string(),
|
|
35
|
+
blocksClaimSubmission: core.serialization.property("blocks_claim_submission", core.serialization.boolean().optional()),
|
|
36
|
+
assigneeUserId: core.serialization.property("assignee_user_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).UserId).optional()),
|
|
37
|
+
category: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).tasks.TaskCategory).optional(),
|
|
38
|
+
workQueueId: core.serialization.property("work_queue_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).WorkQueueId)),
|
|
39
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../..";
|
|
5
|
+
import * as CandidApi from "../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const TaskNote: core.serialization.ObjectSchema<serializers.tasks.v3.TaskNote.Raw, CandidApi.tasks.v3.TaskNote>;
|
|
8
|
+
export declare namespace TaskNote {
|
|
9
|
+
interface Raw {
|
|
10
|
+
task_note_id: serializers.TaskNoteId.Raw;
|
|
11
|
+
text: string;
|
|
12
|
+
created_at: string;
|
|
13
|
+
author_name: string;
|
|
14
|
+
author_organization_name: string;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.TaskNote = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
exports.TaskNote = core.serialization.object({
|
|
32
|
+
taskNoteId: core.serialization.property("task_note_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).TaskNoteId)),
|
|
33
|
+
text: core.serialization.string(),
|
|
34
|
+
createdAt: core.serialization.property("created_at", core.serialization.date()),
|
|
35
|
+
authorName: core.serialization.property("author_name", core.serialization.string()),
|
|
36
|
+
authorOrganizationName: core.serialization.property("author_organization_name", core.serialization.string()),
|
|
37
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../..";
|
|
5
|
+
import * as CandidApi from "../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const TaskPage: core.serialization.ObjectSchema<serializers.tasks.v3.TaskPage.Raw, CandidApi.tasks.v3.TaskPage>;
|
|
8
|
+
export declare namespace TaskPage {
|
|
9
|
+
interface Raw extends serializers.ResourcePage.Raw {
|
|
10
|
+
items: serializers.tasks.v3.Task.Raw[];
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.TaskPage = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
exports.TaskPage = core.serialization
|
|
32
|
+
.object({
|
|
33
|
+
items: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).tasks.v3.Task)),
|
|
34
|
+
})
|
|
35
|
+
.extend(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ResourcePage));
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../..";
|
|
5
|
+
import * as CandidApi from "../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const TaskSortOptions: core.serialization.Schema<serializers.tasks.v3.TaskSortOptions.Raw, CandidApi.tasks.v3.TaskSortOptions>;
|
|
8
|
+
export declare namespace TaskSortOptions {
|
|
9
|
+
type Raw = "updated_at:asc" | "updated_at:desc" | "patient_name:asc" | "patient_name:desc" | "patient_external_id:asc" | "patient_external_id:desc" | "payer_name:asc" | "payer_name:desc" | "payer_id:asc" | "payer_id:desc" | "status:asc" | "status:desc" | "task_type:asc" | "task_type:desc" | "category:asc" | "category:desc" | "agg_updated_at:asc" | "agg_updated_at:desc" | "date_of_service:asc" | "date_of_service:desc" | "blocks_claim_submission:asc" | "blocks_claim_submission:desc";
|
|
10
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.TaskSortOptions = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
exports.TaskSortOptions = core.serialization.enum_([
|
|
32
|
+
"updated_at:asc",
|
|
33
|
+
"updated_at:desc",
|
|
34
|
+
"patient_name:asc",
|
|
35
|
+
"patient_name:desc",
|
|
36
|
+
"patient_external_id:asc",
|
|
37
|
+
"patient_external_id:desc",
|
|
38
|
+
"payer_name:asc",
|
|
39
|
+
"payer_name:desc",
|
|
40
|
+
"payer_id:asc",
|
|
41
|
+
"payer_id:desc",
|
|
42
|
+
"status:asc",
|
|
43
|
+
"status:desc",
|
|
44
|
+
"task_type:asc",
|
|
45
|
+
"task_type:desc",
|
|
46
|
+
"category:asc",
|
|
47
|
+
"category:desc",
|
|
48
|
+
"agg_updated_at:asc",
|
|
49
|
+
"agg_updated_at:desc",
|
|
50
|
+
"date_of_service:asc",
|
|
51
|
+
"date_of_service:desc",
|
|
52
|
+
"blocks_claim_submission:asc",
|
|
53
|
+
"blocks_claim_submission:desc",
|
|
54
|
+
]);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../..";
|
|
5
|
+
import * as CandidApi from "../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const TaskUpdateV3: core.serialization.ObjectSchema<serializers.tasks.v3.TaskUpdateV3.Raw, CandidApi.tasks.v3.TaskUpdateV3>;
|
|
8
|
+
export declare namespace TaskUpdateV3 {
|
|
9
|
+
interface Raw {
|
|
10
|
+
status?: serializers.tasks.TaskStatus.Raw | null;
|
|
11
|
+
assignee_user_id?: serializers.UserId.Raw | null;
|
|
12
|
+
blocks_claim_submission?: boolean | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.TaskUpdateV3 = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
exports.TaskUpdateV3 = core.serialization.object({
|
|
32
|
+
status: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).tasks.TaskStatus).optional(),
|
|
33
|
+
assigneeUserId: core.serialization.property("assignee_user_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).UserId).optional()),
|
|
34
|
+
blocksClaimSubmission: core.serialization.property("blocks_claim_submission", core.serialization.boolean().optional()),
|
|
35
|
+
});
|
package/serialization/resources/tasks/resources/v3/types/TaskUpdatedToDeprecatedStatusErrorType.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../..";
|
|
5
|
+
import * as CandidApi from "../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const TaskUpdatedToDeprecatedStatusErrorType: core.serialization.ObjectSchema<serializers.tasks.v3.TaskUpdatedToDeprecatedStatusErrorType.Raw, CandidApi.tasks.v3.TaskUpdatedToDeprecatedStatusErrorType>;
|
|
8
|
+
export declare namespace TaskUpdatedToDeprecatedStatusErrorType {
|
|
9
|
+
interface Raw {
|
|
10
|
+
deprecated_status?: serializers.tasks.TaskStatus.Raw | null;
|
|
11
|
+
}
|
|
12
|
+
}
|
package/serialization/resources/tasks/resources/v3/types/TaskUpdatedToDeprecatedStatusErrorType.js
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.TaskUpdatedToDeprecatedStatusErrorType = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
exports.TaskUpdatedToDeprecatedStatusErrorType = core.serialization.object({
|
|
32
|
+
deprecatedStatus: core.serialization.property("deprecated_status", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).tasks.TaskStatus).optional()),
|
|
33
|
+
});
|