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,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
26
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.commons = exports.v3 = void 0;
|
|
30
|
+
exports.v3 = __importStar(require("./v3"));
|
|
31
|
+
exports.commons = __importStar(require("./commons"));
|
|
32
|
+
__exportStar(require("./commons/types"), exports);
|
|
@@ -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 Error: core.serialization.Schema<serializers.tasks.v3.get.Error.Raw, CandidApi.tasks.v3.get.Error>;
|
|
8
|
+
export declare namespace Error {
|
|
9
|
+
type Raw = Error.EntityNotFoundError | Error.UnauthorizedError;
|
|
10
|
+
interface EntityNotFoundError {
|
|
11
|
+
errorName: "EntityNotFoundError";
|
|
12
|
+
content: serializers.EntityNotFoundErrorMessage.Raw;
|
|
13
|
+
}
|
|
14
|
+
interface UnauthorizedError {
|
|
15
|
+
errorName: "UnauthorizedError";
|
|
16
|
+
content: serializers.UnauthorizedErrorMessage.Raw;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../../api"));
|
|
31
|
+
const core = __importStar(require("../../../../../../core"));
|
|
32
|
+
exports.Error = core.serialization
|
|
33
|
+
.union("errorName", {
|
|
34
|
+
EntityNotFoundError: core.serialization.object({
|
|
35
|
+
content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).EntityNotFoundErrorMessage),
|
|
36
|
+
}),
|
|
37
|
+
UnauthorizedError: core.serialization.object({
|
|
38
|
+
content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).UnauthorizedErrorMessage),
|
|
39
|
+
}),
|
|
40
|
+
})
|
|
41
|
+
.transform({
|
|
42
|
+
transform: (value) => {
|
|
43
|
+
switch (value.errorName) {
|
|
44
|
+
case "EntityNotFoundError":
|
|
45
|
+
return CandidApi.tasks.v3.get.Error.entityNotFoundError(value.content);
|
|
46
|
+
case "UnauthorizedError":
|
|
47
|
+
return CandidApi.tasks.v3.get.Error.unauthorizedError(value.content);
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
untransform: ({ _visit, ...value }) => value,
|
|
51
|
+
});
|
|
@@ -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 Error: core.serialization.Schema<serializers.tasks.v3.getMulti.Error.Raw, CandidApi.tasks.v3.getMulti.Error>;
|
|
8
|
+
export declare namespace Error {
|
|
9
|
+
type Raw = Error.UnprocessableEntityError;
|
|
10
|
+
interface UnprocessableEntityError {
|
|
11
|
+
errorName: "UnprocessableEntityError";
|
|
12
|
+
content: serializers.UnprocessableEntityErrorMessage.Raw;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../../api"));
|
|
31
|
+
const core = __importStar(require("../../../../../../core"));
|
|
32
|
+
exports.Error = core.serialization
|
|
33
|
+
.union("errorName", {
|
|
34
|
+
UnprocessableEntityError: core.serialization.object({
|
|
35
|
+
content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).UnprocessableEntityErrorMessage),
|
|
36
|
+
}),
|
|
37
|
+
})
|
|
38
|
+
.transform({
|
|
39
|
+
transform: (value) => {
|
|
40
|
+
switch (value.errorName) {
|
|
41
|
+
case "UnprocessableEntityError":
|
|
42
|
+
return CandidApi.tasks.v3.getMulti.Error.unprocessableEntityError(value.content);
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
untransform: ({ _visit, ...value }) => value,
|
|
46
|
+
});
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.update = exports.get = exports.getMulti = void 0;
|
|
27
|
+
exports.getMulti = __importStar(require("./getMulti"));
|
|
28
|
+
exports.get = __importStar(require("./get"));
|
|
29
|
+
exports.update = __importStar(require("./update"));
|
|
@@ -0,0 +1,22 @@
|
|
|
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 Error: core.serialization.Schema<serializers.tasks.v3.update.Error.Raw, CandidApi.tasks.v3.update.Error>;
|
|
8
|
+
export declare namespace Error {
|
|
9
|
+
type Raw = Error.EntityNotFoundError | Error.UnauthorizedError | Error.TaskUpdatedToDeprecatedStatusError;
|
|
10
|
+
interface EntityNotFoundError {
|
|
11
|
+
errorName: "EntityNotFoundError";
|
|
12
|
+
content: serializers.EntityNotFoundErrorMessage.Raw;
|
|
13
|
+
}
|
|
14
|
+
interface UnauthorizedError {
|
|
15
|
+
errorName: "UnauthorizedError";
|
|
16
|
+
content: serializers.UnauthorizedErrorMessage.Raw;
|
|
17
|
+
}
|
|
18
|
+
interface TaskUpdatedToDeprecatedStatusError {
|
|
19
|
+
errorName: "TaskUpdatedToDeprecatedStatusError";
|
|
20
|
+
content: serializers.tasks.v3.TaskUpdatedToDeprecatedStatusErrorType.Raw;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../../api"));
|
|
31
|
+
const core = __importStar(require("../../../../../../core"));
|
|
32
|
+
exports.Error = core.serialization
|
|
33
|
+
.union("errorName", {
|
|
34
|
+
EntityNotFoundError: core.serialization.object({
|
|
35
|
+
content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).EntityNotFoundErrorMessage),
|
|
36
|
+
}),
|
|
37
|
+
UnauthorizedError: core.serialization.object({
|
|
38
|
+
content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).UnauthorizedErrorMessage),
|
|
39
|
+
}),
|
|
40
|
+
TaskUpdatedToDeprecatedStatusError: core.serialization.object({
|
|
41
|
+
content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).tasks.v3.TaskUpdatedToDeprecatedStatusErrorType),
|
|
42
|
+
}),
|
|
43
|
+
})
|
|
44
|
+
.transform({
|
|
45
|
+
transform: (value) => {
|
|
46
|
+
switch (value.errorName) {
|
|
47
|
+
case "EntityNotFoundError":
|
|
48
|
+
return CandidApi.tasks.v3.update.Error.entityNotFoundError(value.content);
|
|
49
|
+
case "UnauthorizedError":
|
|
50
|
+
return CandidApi.tasks.v3.update.Error.unauthorizedError(value.content);
|
|
51
|
+
case "TaskUpdatedToDeprecatedStatusError":
|
|
52
|
+
return CandidApi.tasks.v3.update.Error.taskUpdatedToDeprecatedStatusError(value.content);
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
untransform: ({ _visit, ...value }) => value,
|
|
56
|
+
});
|
|
@@ -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
|
+
});
|